* config/rx/rx.c (add_vector_labels): New.
[official-gcc.git] / libgfortran / configure
blob9841ebc0ae324947c853a14c70261a51244f989c
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for GNU Fortran Runtime Library 0.3.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
7 # Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18 emulate sh
19 NULLCMD=:
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in #(
26 *posix*) :
27 set -o posix ;; #(
28 *) :
30 esac
34 as_nl='
36 export as_nl
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45 as_echo='print -r --'
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo='printf %s\n'
49 as_echo_n='printf %s'
50 else
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
54 else
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56 as_echo_n_body='eval
57 arg=$1;
58 case $arg in #(
59 *"$as_nl"*)
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62 esac;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
65 export as_echo_n_body
66 as_echo_n='sh -c $as_echo_n_body as_echo'
68 export as_echo_body
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
74 PATH_SEPARATOR=:
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77 PATH_SEPARATOR=';'
82 # IFS
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
87 IFS=" "" $as_nl"
89 # Find who we are. Look in the path if we contain no directory separator.
90 case $0 in #((
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
93 for as_dir in $PATH
95 IFS=$as_save_IFS
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
98 done
99 IFS=$as_save_IFS
102 esac
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x; then
106 as_myself=$0
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
110 exit 1
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\${$as_var+set} = xset \
119 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
120 done
121 PS1='$ '
122 PS2='> '
123 PS4='+ '
125 # NLS nuisances.
126 LC_ALL=C
127 export LC_ALL
128 LANGUAGE=C
129 export LANGUAGE
131 # CDPATH.
132 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134 if test "x$CONFIG_SHELL" = x; then
135 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
136 emulate sh
137 NULLCMD=:
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
141 setopt NO_GLOB_SUBST
142 else
143 case \`(set -o) 2>/dev/null\` in #(
144 *posix*) :
145 set -o posix ;; #(
146 *) :
148 esac
151 as_required="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
157 exitcode=0
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
164 else
165 exitcode=1; echo positional parameters were not saved.
167 test x\$exitcode = x0 || exit 1"
168 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172 test \$(( 1 + 1 )) = 2 || exit 1
174 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
175 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
176 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
177 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
178 PATH=/empty FPATH=/empty; export PATH FPATH
179 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
180 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
181 if (eval "$as_required") 2>/dev/null; then :
182 as_have_required=yes
183 else
184 as_have_required=no
186 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
188 else
189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
190 as_found=false
191 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
193 IFS=$as_save_IFS
194 test -z "$as_dir" && as_dir=.
195 as_found=:
196 case $as_dir in #(
198 for as_base in sh bash ksh sh5; do
199 # Try only shells that exist, to save several forks.
200 as_shell=$as_dir/$as_base
201 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
202 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
203 CONFIG_SHELL=$as_shell as_have_required=yes
204 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
205 break 2
208 done;;
209 esac
210 as_found=false
211 done
212 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
213 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
214 CONFIG_SHELL=$SHELL as_have_required=yes
215 fi; }
216 IFS=$as_save_IFS
219 if test "x$CONFIG_SHELL" != x; then :
220 # We cannot yet assume a decent shell, so we have to provide a
221 # neutralization value for shells without unset; and this also
222 # works around shells that cannot unset nonexistent variables.
223 BASH_ENV=/dev/null
224 ENV=/dev/null
225 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
226 export CONFIG_SHELL
227 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
230 if test x$as_have_required = xno; then :
231 $as_echo "$0: This script requires a shell more modern than all"
232 $as_echo "$0: the shells that I found on your system."
233 if test x${ZSH_VERSION+set} = xset ; then
234 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
235 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
236 else
237 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
238 $0: including any error possibly output before this
239 $0: message. Then install a modern shell, or manually run
240 $0: the script under such a shell if you do have one."
242 exit 1
246 SHELL=${CONFIG_SHELL-/bin/sh}
247 export SHELL
248 # Unset more variables known to interfere with behavior of common tools.
249 CLICOLOR_FORCE= GREP_OPTIONS=
250 unset CLICOLOR_FORCE GREP_OPTIONS
252 ## --------------------- ##
253 ## M4sh Shell Functions. ##
254 ## --------------------- ##
255 # as_fn_unset VAR
256 # ---------------
257 # Portably unset VAR.
258 as_fn_unset ()
260 { eval $1=; unset $1;}
262 as_unset=as_fn_unset
264 # as_fn_set_status STATUS
265 # -----------------------
266 # Set $? to STATUS, without forking.
267 as_fn_set_status ()
269 return $1
270 } # as_fn_set_status
272 # as_fn_exit STATUS
273 # -----------------
274 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
275 as_fn_exit ()
277 set +e
278 as_fn_set_status $1
279 exit $1
280 } # as_fn_exit
282 # as_fn_mkdir_p
283 # -------------
284 # Create "$as_dir" as a directory, including parents if necessary.
285 as_fn_mkdir_p ()
288 case $as_dir in #(
289 -*) as_dir=./$as_dir;;
290 esac
291 test -d "$as_dir" || eval $as_mkdir_p || {
292 as_dirs=
293 while :; do
294 case $as_dir in #(
295 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
296 *) as_qdir=$as_dir;;
297 esac
298 as_dirs="'$as_qdir' $as_dirs"
299 as_dir=`$as_dirname -- "$as_dir" ||
300 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
301 X"$as_dir" : 'X\(//\)[^/]' \| \
302 X"$as_dir" : 'X\(//\)$' \| \
303 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
304 $as_echo X"$as_dir" |
305 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
306 s//\1/
309 /^X\(\/\/\)[^/].*/{
310 s//\1/
313 /^X\(\/\/\)$/{
314 s//\1/
317 /^X\(\/\).*/{
318 s//\1/
321 s/.*/./; q'`
322 test -d "$as_dir" && break
323 done
324 test -z "$as_dirs" || eval "mkdir $as_dirs"
325 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
328 } # as_fn_mkdir_p
329 # as_fn_append VAR VALUE
330 # ----------------------
331 # Append the text in VALUE to the end of the definition contained in VAR. Take
332 # advantage of any shell optimizations that allow amortized linear growth over
333 # repeated appends, instead of the typical quadratic growth present in naive
334 # implementations.
335 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
336 eval 'as_fn_append ()
338 eval $1+=\$2
340 else
341 as_fn_append ()
343 eval $1=\$$1\$2
345 fi # as_fn_append
347 # as_fn_arith ARG...
348 # ------------------
349 # Perform arithmetic evaluation on the ARGs, and store the result in the
350 # global $as_val. Take advantage of shells that can avoid forks. The arguments
351 # must be portable across $(()) and expr.
352 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
353 eval 'as_fn_arith ()
355 as_val=$(( $* ))
357 else
358 as_fn_arith ()
360 as_val=`expr "$@" || test $? -eq 1`
362 fi # as_fn_arith
365 # as_fn_error ERROR [LINENO LOG_FD]
366 # ---------------------------------
367 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
368 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
369 # script with status $?, using 1 if that was 0.
370 as_fn_error ()
372 as_status=$?; test $as_status -eq 0 && as_status=1
373 if test "$3"; then
374 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
375 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
377 $as_echo "$as_me: error: $1" >&2
378 as_fn_exit $as_status
379 } # as_fn_error
381 if expr a : '\(a\)' >/dev/null 2>&1 &&
382 test "X`expr 00001 : '.*\(...\)'`" = X001; then
383 as_expr=expr
384 else
385 as_expr=false
388 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
389 as_basename=basename
390 else
391 as_basename=false
394 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
395 as_dirname=dirname
396 else
397 as_dirname=false
400 as_me=`$as_basename -- "$0" ||
401 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
402 X"$0" : 'X\(//\)$' \| \
403 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
404 $as_echo X/"$0" |
405 sed '/^.*\/\([^/][^/]*\)\/*$/{
406 s//\1/
409 /^X\/\(\/\/\)$/{
410 s//\1/
413 /^X\/\(\/\).*/{
414 s//\1/
417 s/.*/./; q'`
419 # Avoid depending upon Character Ranges.
420 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
421 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
422 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
423 as_cr_digits='0123456789'
424 as_cr_alnum=$as_cr_Letters$as_cr_digits
427 as_lineno_1=$LINENO as_lineno_1a=$LINENO
428 as_lineno_2=$LINENO as_lineno_2a=$LINENO
429 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
430 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
431 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
432 sed -n '
434 /[$]LINENO/=
435 ' <$as_myself |
436 sed '
437 s/[$]LINENO.*/&-/
438 t lineno
440 :lineno
442 :loop
443 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
444 t loop
445 s/-\n.*//
446 ' >$as_me.lineno &&
447 chmod +x "$as_me.lineno" ||
448 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
450 # Don't try to exec as it changes $[0], causing all sort of problems
451 # (the dirname of $[0] is not the place where we might find the
452 # original and so on. Autoconf is especially sensitive to this).
453 . "./$as_me.lineno"
454 # Exit status is that of the last command.
455 exit
458 ECHO_C= ECHO_N= ECHO_T=
459 case `echo -n x` in #(((((
460 -n*)
461 case `echo 'xy\c'` in
462 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
463 xy) ECHO_C='\c';;
464 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
465 ECHO_T=' ';;
466 esac;;
468 ECHO_N='-n';;
469 esac
471 rm -f conf$$ conf$$.exe conf$$.file
472 if test -d conf$$.dir; then
473 rm -f conf$$.dir/conf$$.file
474 else
475 rm -f conf$$.dir
476 mkdir conf$$.dir 2>/dev/null
478 if (echo >conf$$.file) 2>/dev/null; then
479 if ln -s conf$$.file conf$$ 2>/dev/null; then
480 as_ln_s='ln -s'
481 # ... but there are two gotchas:
482 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
483 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
484 # In both cases, we have to default to `cp -p'.
485 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
486 as_ln_s='cp -p'
487 elif ln conf$$.file conf$$ 2>/dev/null; then
488 as_ln_s=ln
489 else
490 as_ln_s='cp -p'
492 else
493 as_ln_s='cp -p'
495 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
496 rmdir conf$$.dir 2>/dev/null
498 if mkdir -p . 2>/dev/null; then
499 as_mkdir_p='mkdir -p "$as_dir"'
500 else
501 test -d ./-p && rmdir ./-p
502 as_mkdir_p=false
505 if test -x / >/dev/null 2>&1; then
506 as_test_x='test -x'
507 else
508 if ls -dL / >/dev/null 2>&1; then
509 as_ls_L_option=L
510 else
511 as_ls_L_option=
513 as_test_x='
514 eval sh -c '\''
515 if test -d "$1"; then
516 test -d "$1/.";
517 else
518 case $1 in #(
519 -*)set "./$1";;
520 esac;
521 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
522 ???[sx]*):;;*)false;;esac;fi
523 '\'' sh
526 as_executable_p=$as_test_x
528 # Sed expression to map a string onto a valid CPP name.
529 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
531 # Sed expression to map a string onto a valid variable name.
532 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
534 SHELL=${CONFIG_SHELL-/bin/sh}
537 exec 7<&0 </dev/null 6>&1
539 # Name of the host.
540 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
541 # so uname gets run too.
542 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
545 # Initializations.
547 ac_default_prefix=/usr/local
548 ac_clean_files=
549 ac_config_libobj_dir=.
550 LIBOBJS=
551 cross_compiling=no
552 subdirs=
553 MFLAGS=
554 MAKEFLAGS=
556 # Identity of this package.
557 PACKAGE_NAME='GNU Fortran Runtime Library'
558 PACKAGE_TARNAME='libgfortran'
559 PACKAGE_VERSION='0.3'
560 PACKAGE_STRING='GNU Fortran Runtime Library 0.3'
561 PACKAGE_BUGREPORT=''
562 PACKAGE_URL='http://www.gnu.org/software/libgfortran/'
564 # Factoring default headers for most tests.
565 ac_includes_default="\
566 #include <stdio.h>
567 #ifdef HAVE_SYS_TYPES_H
568 # include <sys/types.h>
569 #endif
570 #ifdef HAVE_SYS_STAT_H
571 # include <sys/stat.h>
572 #endif
573 #ifdef STDC_HEADERS
574 # include <stdlib.h>
575 # include <stddef.h>
576 #else
577 # ifdef HAVE_STDLIB_H
578 # include <stdlib.h>
579 # endif
580 #endif
581 #ifdef HAVE_STRING_H
582 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
583 # include <memory.h>
584 # endif
585 # include <string.h>
586 #endif
587 #ifdef HAVE_STRINGS_H
588 # include <strings.h>
589 #endif
590 #ifdef HAVE_INTTYPES_H
591 # include <inttypes.h>
592 #endif
593 #ifdef HAVE_STDINT_H
594 # include <stdint.h>
595 #endif
596 #ifdef HAVE_UNISTD_H
597 # include <unistd.h>
598 #endif"
600 ac_header_list=
601 ac_func_list=
602 ac_c_werror_flag=
603 ac_c_werror_flag=
604 ac_subst_vars='am__EXEEXT_FALSE
605 am__EXEEXT_TRUE
606 LTLIBOBJS
607 LIBOBJS
608 IEEE_FLAGS
609 FPU_HOST_HEADER
610 LIBGFOR_BUILD_QUAD_FALSE
611 LIBGFOR_BUILD_QUAD_TRUE
612 LIBQUADINCLUDE
613 LIBQUADLIB_DEP
614 LIBQUADLIB
615 LIBQUADSPEC
616 extra_ldflags_libgfortran
617 ac_ct_FC
618 FCFLAGS
620 enable_static
621 enable_shared
622 lt_host_flags
623 OTOOL64
624 OTOOL
625 LIPO
626 NMEDIT
627 DSYMUTIL
628 OBJDUMP
629 LN_S
631 ac_ct_DUMPBIN
632 DUMPBIN
634 FGREP
636 LIBTOOL
637 RANLIB
640 SECTION_FLAGS
641 LIBGFOR_USE_SYMVER_SUN_FALSE
642 LIBGFOR_USE_SYMVER_SUN_TRUE
643 LIBGFOR_USE_SYMVER_GNU_FALSE
644 LIBGFOR_USE_SYMVER_GNU_TRUE
645 LIBGFOR_USE_SYMVER_FALSE
646 LIBGFOR_USE_SYMVER_TRUE
647 AM_CFLAGS
648 AM_FCFLAGS
649 toolexeclibdir
650 toolexecdir
651 EGREP
652 GREP
654 am__fastdepCC_FALSE
655 am__fastdepCC_TRUE
656 CCDEPMODE
657 am__nodep
658 AMDEPBACKSLASH
659 AMDEP_FALSE
660 AMDEP_TRUE
661 am__quote
662 am__include
663 DEPDIR
664 OBJEXT
665 EXEEXT
666 ac_ct_CC
667 CPPFLAGS
668 LDFLAGS
669 CFLAGS
671 multi_basedir
672 MAINT
673 MAINTAINER_MODE_FALSE
674 MAINTAINER_MODE_TRUE
675 am__untar
676 am__tar
677 AMTAR
678 am__leading_dot
679 SET_MAKE
681 mkdir_p
682 MKDIR_P
683 INSTALL_STRIP_PROGRAM
684 STRIP
685 install_sh
686 MAKEINFO
687 AUTOHEADER
688 AUTOMAKE
689 AUTOCONF
690 ACLOCAL
691 VERSION
692 PACKAGE
693 CYGPATH_W
694 am__isrc
695 INSTALL_DATA
696 INSTALL_SCRIPT
697 INSTALL_PROGRAM
698 target_noncanonical
699 target_os
700 target_vendor
701 target_cpu
702 target
703 host_os
704 host_vendor
705 host_cpu
706 host
707 onestep
708 onestep_FALSE
709 onestep_TRUE
710 target_subdir
711 host_subdir
712 build_subdir
713 build_libsubdir
714 build_os
715 build_vendor
716 build_cpu
717 build
718 target_alias
719 host_alias
720 build_alias
721 LIBS
722 ECHO_T
723 ECHO_N
724 ECHO_C
725 DEFS
726 mandir
727 localedir
728 libdir
729 psdir
730 pdfdir
731 dvidir
732 htmldir
733 infodir
734 docdir
735 oldincludedir
736 includedir
737 localstatedir
738 sharedstatedir
739 sysconfdir
740 datadir
741 datarootdir
742 libexecdir
743 sbindir
744 bindir
745 program_transform_name
746 prefix
747 exec_prefix
748 PACKAGE_URL
749 PACKAGE_BUGREPORT
750 PACKAGE_STRING
751 PACKAGE_VERSION
752 PACKAGE_TARNAME
753 PACKAGE_NAME
754 PATH_SEPARATOR
755 SHELL'
756 ac_subst_files=''
757 ac_user_opts='
758 enable_option_checking
759 with_build_libsubdir
760 enable_version_specific_runtime_libs
761 enable_intermodule
762 enable_maintainer_mode
763 enable_multilib
764 enable_dependency_tracking
765 enable_symvers
766 enable_shared
767 enable_static
768 with_pic
769 enable_fast_install
770 with_gnu_ld
771 enable_libtool_lock
772 enable_largefile
773 enable_libquadmath_support
774 with_system_libunwind
776 ac_precious_vars='build_alias
777 host_alias
778 target_alias
780 CFLAGS
781 LDFLAGS
782 LIBS
783 CPPFLAGS
786 FCFLAGS'
789 # Initialize some variables set by options.
790 ac_init_help=
791 ac_init_version=false
792 ac_unrecognized_opts=
793 ac_unrecognized_sep=
794 # The variables have the same names as the options, with
795 # dashes changed to underlines.
796 cache_file=/dev/null
797 exec_prefix=NONE
798 no_create=
799 no_recursion=
800 prefix=NONE
801 program_prefix=NONE
802 program_suffix=NONE
803 program_transform_name=s,x,x,
804 silent=
805 site=
806 srcdir=
807 verbose=
808 x_includes=NONE
809 x_libraries=NONE
811 # Installation directory options.
812 # These are left unexpanded so users can "make install exec_prefix=/foo"
813 # and all the variables that are supposed to be based on exec_prefix
814 # by default will actually change.
815 # Use braces instead of parens because sh, perl, etc. also accept them.
816 # (The list follows the same order as the GNU Coding Standards.)
817 bindir='${exec_prefix}/bin'
818 sbindir='${exec_prefix}/sbin'
819 libexecdir='${exec_prefix}/libexec'
820 datarootdir='${prefix}/share'
821 datadir='${datarootdir}'
822 sysconfdir='${prefix}/etc'
823 sharedstatedir='${prefix}/com'
824 localstatedir='${prefix}/var'
825 includedir='${prefix}/include'
826 oldincludedir='/usr/include'
827 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
828 infodir='${datarootdir}/info'
829 htmldir='${docdir}'
830 dvidir='${docdir}'
831 pdfdir='${docdir}'
832 psdir='${docdir}'
833 libdir='${exec_prefix}/lib'
834 localedir='${datarootdir}/locale'
835 mandir='${datarootdir}/man'
837 ac_prev=
838 ac_dashdash=
839 for ac_option
841 # If the previous option needs an argument, assign it.
842 if test -n "$ac_prev"; then
843 eval $ac_prev=\$ac_option
844 ac_prev=
845 continue
848 case $ac_option in
849 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
850 *) ac_optarg=yes ;;
851 esac
853 # Accept the important Cygnus configure options, so we can diagnose typos.
855 case $ac_dashdash$ac_option in
857 ac_dashdash=yes ;;
859 -bindir | --bindir | --bindi | --bind | --bin | --bi)
860 ac_prev=bindir ;;
861 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
862 bindir=$ac_optarg ;;
864 -build | --build | --buil | --bui | --bu)
865 ac_prev=build_alias ;;
866 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
867 build_alias=$ac_optarg ;;
869 -cache-file | --cache-file | --cache-fil | --cache-fi \
870 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
871 ac_prev=cache_file ;;
872 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
873 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
874 cache_file=$ac_optarg ;;
876 --config-cache | -C)
877 cache_file=config.cache ;;
879 -datadir | --datadir | --datadi | --datad)
880 ac_prev=datadir ;;
881 -datadir=* | --datadir=* | --datadi=* | --datad=*)
882 datadir=$ac_optarg ;;
884 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
885 | --dataroo | --dataro | --datar)
886 ac_prev=datarootdir ;;
887 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
888 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
889 datarootdir=$ac_optarg ;;
891 -disable-* | --disable-*)
892 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
893 # Reject names that are not valid shell variable names.
894 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
895 as_fn_error "invalid feature name: $ac_useropt"
896 ac_useropt_orig=$ac_useropt
897 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
898 case $ac_user_opts in
900 "enable_$ac_useropt"
901 "*) ;;
902 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
903 ac_unrecognized_sep=', ';;
904 esac
905 eval enable_$ac_useropt=no ;;
907 -docdir | --docdir | --docdi | --doc | --do)
908 ac_prev=docdir ;;
909 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
910 docdir=$ac_optarg ;;
912 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
913 ac_prev=dvidir ;;
914 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
915 dvidir=$ac_optarg ;;
917 -enable-* | --enable-*)
918 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
919 # Reject names that are not valid shell variable names.
920 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
921 as_fn_error "invalid feature name: $ac_useropt"
922 ac_useropt_orig=$ac_useropt
923 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
924 case $ac_user_opts in
926 "enable_$ac_useropt"
927 "*) ;;
928 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
929 ac_unrecognized_sep=', ';;
930 esac
931 eval enable_$ac_useropt=\$ac_optarg ;;
933 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
934 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
935 | --exec | --exe | --ex)
936 ac_prev=exec_prefix ;;
937 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
938 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
939 | --exec=* | --exe=* | --ex=*)
940 exec_prefix=$ac_optarg ;;
942 -gas | --gas | --ga | --g)
943 # Obsolete; use --with-gas.
944 with_gas=yes ;;
946 -help | --help | --hel | --he | -h)
947 ac_init_help=long ;;
948 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
949 ac_init_help=recursive ;;
950 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
951 ac_init_help=short ;;
953 -host | --host | --hos | --ho)
954 ac_prev=host_alias ;;
955 -host=* | --host=* | --hos=* | --ho=*)
956 host_alias=$ac_optarg ;;
958 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
959 ac_prev=htmldir ;;
960 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
961 | --ht=*)
962 htmldir=$ac_optarg ;;
964 -includedir | --includedir | --includedi | --included | --include \
965 | --includ | --inclu | --incl | --inc)
966 ac_prev=includedir ;;
967 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
968 | --includ=* | --inclu=* | --incl=* | --inc=*)
969 includedir=$ac_optarg ;;
971 -infodir | --infodir | --infodi | --infod | --info | --inf)
972 ac_prev=infodir ;;
973 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
974 infodir=$ac_optarg ;;
976 -libdir | --libdir | --libdi | --libd)
977 ac_prev=libdir ;;
978 -libdir=* | --libdir=* | --libdi=* | --libd=*)
979 libdir=$ac_optarg ;;
981 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
982 | --libexe | --libex | --libe)
983 ac_prev=libexecdir ;;
984 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
985 | --libexe=* | --libex=* | --libe=*)
986 libexecdir=$ac_optarg ;;
988 -localedir | --localedir | --localedi | --localed | --locale)
989 ac_prev=localedir ;;
990 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
991 localedir=$ac_optarg ;;
993 -localstatedir | --localstatedir | --localstatedi | --localstated \
994 | --localstate | --localstat | --localsta | --localst | --locals)
995 ac_prev=localstatedir ;;
996 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
997 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
998 localstatedir=$ac_optarg ;;
1000 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1001 ac_prev=mandir ;;
1002 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1003 mandir=$ac_optarg ;;
1005 -nfp | --nfp | --nf)
1006 # Obsolete; use --without-fp.
1007 with_fp=no ;;
1009 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1010 | --no-cr | --no-c | -n)
1011 no_create=yes ;;
1013 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1014 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1015 no_recursion=yes ;;
1017 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1018 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1019 | --oldin | --oldi | --old | --ol | --o)
1020 ac_prev=oldincludedir ;;
1021 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1022 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1023 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1024 oldincludedir=$ac_optarg ;;
1026 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1027 ac_prev=prefix ;;
1028 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1029 prefix=$ac_optarg ;;
1031 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1032 | --program-pre | --program-pr | --program-p)
1033 ac_prev=program_prefix ;;
1034 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1035 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1036 program_prefix=$ac_optarg ;;
1038 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1039 | --program-suf | --program-su | --program-s)
1040 ac_prev=program_suffix ;;
1041 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1042 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1043 program_suffix=$ac_optarg ;;
1045 -program-transform-name | --program-transform-name \
1046 | --program-transform-nam | --program-transform-na \
1047 | --program-transform-n | --program-transform- \
1048 | --program-transform | --program-transfor \
1049 | --program-transfo | --program-transf \
1050 | --program-trans | --program-tran \
1051 | --progr-tra | --program-tr | --program-t)
1052 ac_prev=program_transform_name ;;
1053 -program-transform-name=* | --program-transform-name=* \
1054 | --program-transform-nam=* | --program-transform-na=* \
1055 | --program-transform-n=* | --program-transform-=* \
1056 | --program-transform=* | --program-transfor=* \
1057 | --program-transfo=* | --program-transf=* \
1058 | --program-trans=* | --program-tran=* \
1059 | --progr-tra=* | --program-tr=* | --program-t=*)
1060 program_transform_name=$ac_optarg ;;
1062 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1063 ac_prev=pdfdir ;;
1064 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1065 pdfdir=$ac_optarg ;;
1067 -psdir | --psdir | --psdi | --psd | --ps)
1068 ac_prev=psdir ;;
1069 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1070 psdir=$ac_optarg ;;
1072 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1073 | -silent | --silent | --silen | --sile | --sil)
1074 silent=yes ;;
1076 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1077 ac_prev=sbindir ;;
1078 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1079 | --sbi=* | --sb=*)
1080 sbindir=$ac_optarg ;;
1082 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1083 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1084 | --sharedst | --shareds | --shared | --share | --shar \
1085 | --sha | --sh)
1086 ac_prev=sharedstatedir ;;
1087 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1088 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1089 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1090 | --sha=* | --sh=*)
1091 sharedstatedir=$ac_optarg ;;
1093 -site | --site | --sit)
1094 ac_prev=site ;;
1095 -site=* | --site=* | --sit=*)
1096 site=$ac_optarg ;;
1098 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1099 ac_prev=srcdir ;;
1100 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1101 srcdir=$ac_optarg ;;
1103 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1104 | --syscon | --sysco | --sysc | --sys | --sy)
1105 ac_prev=sysconfdir ;;
1106 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1107 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1108 sysconfdir=$ac_optarg ;;
1110 -target | --target | --targe | --targ | --tar | --ta | --t)
1111 ac_prev=target_alias ;;
1112 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1113 target_alias=$ac_optarg ;;
1115 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1116 verbose=yes ;;
1118 -version | --version | --versio | --versi | --vers | -V)
1119 ac_init_version=: ;;
1121 -with-* | --with-*)
1122 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1123 # Reject names that are not valid shell variable names.
1124 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1125 as_fn_error "invalid package name: $ac_useropt"
1126 ac_useropt_orig=$ac_useropt
1127 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1128 case $ac_user_opts in
1130 "with_$ac_useropt"
1131 "*) ;;
1132 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1133 ac_unrecognized_sep=', ';;
1134 esac
1135 eval with_$ac_useropt=\$ac_optarg ;;
1137 -without-* | --without-*)
1138 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1139 # Reject names that are not valid shell variable names.
1140 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1141 as_fn_error "invalid package name: $ac_useropt"
1142 ac_useropt_orig=$ac_useropt
1143 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1144 case $ac_user_opts in
1146 "with_$ac_useropt"
1147 "*) ;;
1148 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1149 ac_unrecognized_sep=', ';;
1150 esac
1151 eval with_$ac_useropt=no ;;
1153 --x)
1154 # Obsolete; use --with-x.
1155 with_x=yes ;;
1157 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1158 | --x-incl | --x-inc | --x-in | --x-i)
1159 ac_prev=x_includes ;;
1160 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1161 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1162 x_includes=$ac_optarg ;;
1164 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1165 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1166 ac_prev=x_libraries ;;
1167 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1168 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1169 x_libraries=$ac_optarg ;;
1171 -*) as_fn_error "unrecognized option: \`$ac_option'
1172 Try \`$0 --help' for more information."
1175 *=*)
1176 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1177 # Reject names that are not valid shell variable names.
1178 case $ac_envvar in #(
1179 '' | [0-9]* | *[!_$as_cr_alnum]* )
1180 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1181 esac
1182 eval $ac_envvar=\$ac_optarg
1183 export $ac_envvar ;;
1186 # FIXME: should be removed in autoconf 3.0.
1187 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1188 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1189 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1190 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1193 esac
1194 done
1196 if test -n "$ac_prev"; then
1197 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1198 as_fn_error "missing argument to $ac_option"
1201 if test -n "$ac_unrecognized_opts"; then
1202 case $enable_option_checking in
1203 no) ;;
1204 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1205 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1206 esac
1209 # Check all directory arguments for consistency.
1210 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1211 datadir sysconfdir sharedstatedir localstatedir includedir \
1212 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1213 libdir localedir mandir
1215 eval ac_val=\$$ac_var
1216 # Remove trailing slashes.
1217 case $ac_val in
1218 */ )
1219 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1220 eval $ac_var=\$ac_val;;
1221 esac
1222 # Be sure to have absolute directory names.
1223 case $ac_val in
1224 [\\/$]* | ?:[\\/]* ) continue;;
1225 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1226 esac
1227 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1228 done
1230 # There might be people who depend on the old broken behavior: `$host'
1231 # used to hold the argument of --host etc.
1232 # FIXME: To remove some day.
1233 build=$build_alias
1234 host=$host_alias
1235 target=$target_alias
1237 # FIXME: To remove some day.
1238 if test "x$host_alias" != x; then
1239 if test "x$build_alias" = x; then
1240 cross_compiling=maybe
1241 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1242 If a cross compiler is detected then cross compile mode will be used." >&2
1243 elif test "x$build_alias" != "x$host_alias"; then
1244 cross_compiling=yes
1248 ac_tool_prefix=
1249 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1251 test "$silent" = yes && exec 6>/dev/null
1254 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1255 ac_ls_di=`ls -di .` &&
1256 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1257 as_fn_error "working directory cannot be determined"
1258 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1259 as_fn_error "pwd does not report name of working directory"
1262 # Find the source files, if location was not specified.
1263 if test -z "$srcdir"; then
1264 ac_srcdir_defaulted=yes
1265 # Try the directory containing this script, then the parent directory.
1266 ac_confdir=`$as_dirname -- "$as_myself" ||
1267 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1268 X"$as_myself" : 'X\(//\)[^/]' \| \
1269 X"$as_myself" : 'X\(//\)$' \| \
1270 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1271 $as_echo X"$as_myself" |
1272 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1273 s//\1/
1276 /^X\(\/\/\)[^/].*/{
1277 s//\1/
1280 /^X\(\/\/\)$/{
1281 s//\1/
1284 /^X\(\/\).*/{
1285 s//\1/
1288 s/.*/./; q'`
1289 srcdir=$ac_confdir
1290 if test ! -r "$srcdir/$ac_unique_file"; then
1291 srcdir=..
1293 else
1294 ac_srcdir_defaulted=no
1296 if test ! -r "$srcdir/$ac_unique_file"; then
1297 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1298 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1300 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1301 ac_abs_confdir=`(
1302 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1303 pwd)`
1304 # When building in place, set srcdir=.
1305 if test "$ac_abs_confdir" = "$ac_pwd"; then
1306 srcdir=.
1308 # Remove unnecessary trailing slashes from srcdir.
1309 # Double slashes in file names in object file debugging info
1310 # mess up M-x gdb in Emacs.
1311 case $srcdir in
1312 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1313 esac
1314 for ac_var in $ac_precious_vars; do
1315 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1316 eval ac_env_${ac_var}_value=\$${ac_var}
1317 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1318 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1319 done
1322 # Report the --help message.
1324 if test "$ac_init_help" = "long"; then
1325 # Omit some internal or obsolete options to make the list less imposing.
1326 # This message is too long to be a string in the A/UX 3.1 sh.
1327 cat <<_ACEOF
1328 \`configure' configures GNU Fortran Runtime Library 0.3 to adapt to many kinds of systems.
1330 Usage: $0 [OPTION]... [VAR=VALUE]...
1332 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1333 VAR=VALUE. See below for descriptions of some of the useful variables.
1335 Defaults for the options are specified in brackets.
1337 Configuration:
1338 -h, --help display this help and exit
1339 --help=short display options specific to this package
1340 --help=recursive display the short help of all the included packages
1341 -V, --version display version information and exit
1342 -q, --quiet, --silent do not print \`checking...' messages
1343 --cache-file=FILE cache test results in FILE [disabled]
1344 -C, --config-cache alias for \`--cache-file=config.cache'
1345 -n, --no-create do not create output files
1346 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1348 Installation directories:
1349 --prefix=PREFIX install architecture-independent files in PREFIX
1350 [$ac_default_prefix]
1351 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1352 [PREFIX]
1354 By default, \`make install' will install all the files in
1355 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1356 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1357 for instance \`--prefix=\$HOME'.
1359 For better control, use the options below.
1361 Fine tuning of the installation directories:
1362 --bindir=DIR user executables [EPREFIX/bin]
1363 --sbindir=DIR system admin executables [EPREFIX/sbin]
1364 --libexecdir=DIR program executables [EPREFIX/libexec]
1365 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1366 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1367 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1368 --libdir=DIR object code libraries [EPREFIX/lib]
1369 --includedir=DIR C header files [PREFIX/include]
1370 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1371 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1372 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1373 --infodir=DIR info documentation [DATAROOTDIR/info]
1374 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1375 --mandir=DIR man documentation [DATAROOTDIR/man]
1376 --docdir=DIR documentation root [DATAROOTDIR/doc/libgfortran]
1377 --htmldir=DIR html documentation [DOCDIR]
1378 --dvidir=DIR dvi documentation [DOCDIR]
1379 --pdfdir=DIR pdf documentation [DOCDIR]
1380 --psdir=DIR ps documentation [DOCDIR]
1381 _ACEOF
1383 cat <<\_ACEOF
1385 Program names:
1386 --program-prefix=PREFIX prepend PREFIX to installed program names
1387 --program-suffix=SUFFIX append SUFFIX to installed program names
1388 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1390 System types:
1391 --build=BUILD configure for building on BUILD [guessed]
1392 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1393 --target=TARGET configure for building compilers for TARGET [HOST]
1394 _ACEOF
1397 if test -n "$ac_init_help"; then
1398 case $ac_init_help in
1399 short | recursive ) echo "Configuration of GNU Fortran Runtime Library 0.3:";;
1400 esac
1401 cat <<\_ACEOF
1403 Optional Features:
1404 --disable-option-checking ignore unrecognized --enable/--with options
1405 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1406 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1407 --enable-version-specific-runtime-libs
1408 specify that runtime libraries should be installed
1409 in a compiler-specific directory
1410 --enable-intermodule build the library in one step
1411 --enable-maintainer-mode enable make rules and dependencies not useful
1412 (and sometimes confusing) to the casual installer
1413 --enable-multilib build many library versions (default)
1414 --disable-dependency-tracking speeds up one-time build
1415 --enable-dependency-tracking do not reject slow dependency extractors
1416 --disable-symvers disable symbol versioning for libgfortran
1417 --enable-shared[=PKGS] build shared libraries [default=yes]
1418 --enable-static[=PKGS] build static libraries [default=yes]
1419 --enable-fast-install[=PKGS]
1420 optimize for fast installation [default=yes]
1421 --disable-libtool-lock avoid locking (might break parallel builds)
1422 --disable-largefile omit support for large files
1423 --disable-libquadmath-support
1424 disable libquadmath support for Fortran
1426 Optional Packages:
1427 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1428 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1429 --with-build-libsubdir=DIR Directory where to find libraries for build system
1430 --with-pic try to use only PIC/non-PIC objects [default=use
1431 both]
1432 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1433 --with-system-libunwind use installed libunwind
1435 Some influential environment variables:
1436 CC C compiler command
1437 CFLAGS C compiler flags
1438 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1439 nonstandard directory <lib dir>
1440 LIBS libraries to pass to the linker, e.g. -l<library>
1441 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1442 you have headers in a nonstandard directory <include dir>
1443 CPP C preprocessor
1444 FC Fortran compiler command
1445 FCFLAGS Fortran compiler flags
1447 Use these variables to override the choices made by `configure' or to help
1448 it to find libraries and programs with nonstandard names/locations.
1450 Report bugs to the package provider.
1451 GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
1452 General help using GNU software: <http://www.gnu.org/gethelp/>.
1453 _ACEOF
1454 ac_status=$?
1457 if test "$ac_init_help" = "recursive"; then
1458 # If there are subdirs, report their specific --help.
1459 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1460 test -d "$ac_dir" ||
1461 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1462 continue
1463 ac_builddir=.
1465 case "$ac_dir" in
1466 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1468 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1469 # A ".." for each directory in $ac_dir_suffix.
1470 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1471 case $ac_top_builddir_sub in
1472 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1473 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1474 esac ;;
1475 esac
1476 ac_abs_top_builddir=$ac_pwd
1477 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1478 # for backward compatibility:
1479 ac_top_builddir=$ac_top_build_prefix
1481 case $srcdir in
1482 .) # We are building in place.
1483 ac_srcdir=.
1484 ac_top_srcdir=$ac_top_builddir_sub
1485 ac_abs_top_srcdir=$ac_pwd ;;
1486 [\\/]* | ?:[\\/]* ) # Absolute name.
1487 ac_srcdir=$srcdir$ac_dir_suffix;
1488 ac_top_srcdir=$srcdir
1489 ac_abs_top_srcdir=$srcdir ;;
1490 *) # Relative name.
1491 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1492 ac_top_srcdir=$ac_top_build_prefix$srcdir
1493 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1494 esac
1495 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1497 cd "$ac_dir" || { ac_status=$?; continue; }
1498 # Check for guested configure.
1499 if test -f "$ac_srcdir/configure.gnu"; then
1500 echo &&
1501 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1502 elif test -f "$ac_srcdir/configure"; then
1503 echo &&
1504 $SHELL "$ac_srcdir/configure" --help=recursive
1505 else
1506 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1507 fi || ac_status=$?
1508 cd "$ac_pwd" || { ac_status=$?; break; }
1509 done
1512 test -n "$ac_init_help" && exit $ac_status
1513 if $ac_init_version; then
1514 cat <<\_ACEOF
1515 GNU Fortran Runtime Library configure 0.3
1516 generated by GNU Autoconf 2.64
1518 Copyright (C) 2009 Free Software Foundation, Inc.
1519 This configure script is free software; the Free Software Foundation
1520 gives unlimited permission to copy, distribute and modify it.
1521 _ACEOF
1522 exit
1525 ## ------------------------ ##
1526 ## Autoconf initialization. ##
1527 ## ------------------------ ##
1529 # ac_fn_c_try_compile LINENO
1530 # --------------------------
1531 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1532 ac_fn_c_try_compile ()
1534 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1535 rm -f conftest.$ac_objext
1536 if { { ac_try="$ac_compile"
1537 case "(($ac_try" in
1538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1539 *) ac_try_echo=$ac_try;;
1540 esac
1541 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1542 $as_echo "$ac_try_echo"; } >&5
1543 (eval "$ac_compile") 2>conftest.err
1544 ac_status=$?
1545 if test -s conftest.err; then
1546 grep -v '^ *+' conftest.err >conftest.er1
1547 cat conftest.er1 >&5
1548 mv -f conftest.er1 conftest.err
1550 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1551 test $ac_status = 0; } && {
1552 test -z "$ac_c_werror_flag" ||
1553 test ! -s conftest.err
1554 } && test -s conftest.$ac_objext; then :
1555 ac_retval=0
1556 else
1557 $as_echo "$as_me: failed program was:" >&5
1558 sed 's/^/| /' conftest.$ac_ext >&5
1560 ac_retval=1
1562 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1563 return $ac_retval
1565 } # ac_fn_c_try_compile
1567 # ac_fn_c_try_cpp LINENO
1568 # ----------------------
1569 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1570 ac_fn_c_try_cpp ()
1572 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1573 if { { ac_try="$ac_cpp conftest.$ac_ext"
1574 case "(($ac_try" in
1575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1576 *) ac_try_echo=$ac_try;;
1577 esac
1578 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1579 $as_echo "$ac_try_echo"; } >&5
1580 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1581 ac_status=$?
1582 if test -s conftest.err; then
1583 grep -v '^ *+' conftest.err >conftest.er1
1584 cat conftest.er1 >&5
1585 mv -f conftest.er1 conftest.err
1587 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1588 test $ac_status = 0; } >/dev/null && {
1589 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1590 test ! -s conftest.err
1591 }; then :
1592 ac_retval=0
1593 else
1594 $as_echo "$as_me: failed program was:" >&5
1595 sed 's/^/| /' conftest.$ac_ext >&5
1597 ac_retval=1
1599 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1600 return $ac_retval
1602 } # ac_fn_c_try_cpp
1604 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1605 # -------------------------------------------------------
1606 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1607 # the include files in INCLUDES and setting the cache variable VAR
1608 # accordingly.
1609 ac_fn_c_check_header_mongrel ()
1611 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1612 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1614 $as_echo_n "checking for $2... " >&6; }
1615 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1616 $as_echo_n "(cached) " >&6
1618 eval ac_res=\$$3
1619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1620 $as_echo "$ac_res" >&6; }
1621 else
1622 # Is the header compilable?
1623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1624 $as_echo_n "checking $2 usability... " >&6; }
1625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1626 /* end confdefs.h. */
1628 #include <$2>
1629 _ACEOF
1630 if ac_fn_c_try_compile "$LINENO"; then :
1631 ac_header_compiler=yes
1632 else
1633 ac_header_compiler=no
1635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1637 $as_echo "$ac_header_compiler" >&6; }
1639 # Is the header present?
1640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1641 $as_echo_n "checking $2 presence... " >&6; }
1642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1643 /* end confdefs.h. */
1644 #include <$2>
1645 _ACEOF
1646 if ac_fn_c_try_cpp "$LINENO"; then :
1647 ac_header_preproc=yes
1648 else
1649 ac_header_preproc=no
1651 rm -f conftest.err conftest.$ac_ext
1652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1653 $as_echo "$ac_header_preproc" >&6; }
1655 # So? What about this header?
1656 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1657 yes:no: )
1658 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1659 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1660 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1661 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1663 no:yes:* )
1664 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1665 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1666 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1667 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1668 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1669 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1670 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1671 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1672 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1673 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1675 esac
1676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1677 $as_echo_n "checking for $2... " >&6; }
1678 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1679 $as_echo_n "(cached) " >&6
1680 else
1681 eval "$3=\$ac_header_compiler"
1683 eval ac_res=\$$3
1684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1685 $as_echo "$ac_res" >&6; }
1687 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1689 } # ac_fn_c_check_header_mongrel
1691 # ac_fn_c_try_run LINENO
1692 # ----------------------
1693 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1694 # that executables *can* be run.
1695 ac_fn_c_try_run ()
1697 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1698 if { { ac_try="$ac_link"
1699 case "(($ac_try" in
1700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1701 *) ac_try_echo=$ac_try;;
1702 esac
1703 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1704 $as_echo "$ac_try_echo"; } >&5
1705 (eval "$ac_link") 2>&5
1706 ac_status=$?
1707 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1708 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1709 { { case "(($ac_try" in
1710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1711 *) ac_try_echo=$ac_try;;
1712 esac
1713 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1714 $as_echo "$ac_try_echo"; } >&5
1715 (eval "$ac_try") 2>&5
1716 ac_status=$?
1717 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1718 test $ac_status = 0; }; }; then :
1719 ac_retval=0
1720 else
1721 $as_echo "$as_me: program exited with status $ac_status" >&5
1722 $as_echo "$as_me: failed program was:" >&5
1723 sed 's/^/| /' conftest.$ac_ext >&5
1725 ac_retval=$ac_status
1727 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1728 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1729 return $ac_retval
1731 } # ac_fn_c_try_run
1733 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1734 # -------------------------------------------------------
1735 # Tests whether HEADER exists and can be compiled using the include files in
1736 # INCLUDES, setting the cache variable VAR accordingly.
1737 ac_fn_c_check_header_compile ()
1739 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1741 $as_echo_n "checking for $2... " >&6; }
1742 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1743 $as_echo_n "(cached) " >&6
1744 else
1745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1746 /* end confdefs.h. */
1748 #include <$2>
1749 _ACEOF
1750 if ac_fn_c_try_compile "$LINENO"; then :
1751 eval "$3=yes"
1752 else
1753 eval "$3=no"
1755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1757 eval ac_res=\$$3
1758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1759 $as_echo "$ac_res" >&6; }
1760 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1762 } # ac_fn_c_check_header_compile
1764 # ac_fn_c_try_link LINENO
1765 # -----------------------
1766 # Try to link conftest.$ac_ext, and return whether this succeeded.
1767 ac_fn_c_try_link ()
1769 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1770 rm -f conftest.$ac_objext conftest$ac_exeext
1771 if { { ac_try="$ac_link"
1772 case "(($ac_try" in
1773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1774 *) ac_try_echo=$ac_try;;
1775 esac
1776 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1777 $as_echo "$ac_try_echo"; } >&5
1778 (eval "$ac_link") 2>conftest.err
1779 ac_status=$?
1780 if test -s conftest.err; then
1781 grep -v '^ *+' conftest.err >conftest.er1
1782 cat conftest.er1 >&5
1783 mv -f conftest.er1 conftest.err
1785 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1786 test $ac_status = 0; } && {
1787 test -z "$ac_c_werror_flag" ||
1788 test ! -s conftest.err
1789 } && test -s conftest$ac_exeext && {
1790 test "$cross_compiling" = yes ||
1791 $as_test_x conftest$ac_exeext
1792 }; then :
1793 ac_retval=0
1794 else
1795 $as_echo "$as_me: failed program was:" >&5
1796 sed 's/^/| /' conftest.$ac_ext >&5
1798 ac_retval=1
1800 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1801 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1802 # interfere with the next link command; also delete a directory that is
1803 # left behind by Apple's compiler. We do this before executing the actions.
1804 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1805 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1806 return $ac_retval
1808 } # ac_fn_c_try_link
1810 # ac_fn_c_check_func LINENO FUNC VAR
1811 # ----------------------------------
1812 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1813 ac_fn_c_check_func ()
1815 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1817 $as_echo_n "checking for $2... " >&6; }
1818 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1819 $as_echo_n "(cached) " >&6
1820 else
1821 if test x$gcc_no_link = xyes; then
1822 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1825 /* end confdefs.h. */
1826 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1827 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1828 #define $2 innocuous_$2
1830 /* System header to define __stub macros and hopefully few prototypes,
1831 which can conflict with char $2 (); below.
1832 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1833 <limits.h> exists even on freestanding compilers. */
1835 #ifdef __STDC__
1836 # include <limits.h>
1837 #else
1838 # include <assert.h>
1839 #endif
1841 #undef $2
1843 /* Override any GCC internal prototype to avoid an error.
1844 Use char because int might match the return type of a GCC
1845 builtin and then its argument prototype would still apply. */
1846 #ifdef __cplusplus
1847 extern "C"
1848 #endif
1849 char $2 ();
1850 /* The GNU C library defines this for functions which it implements
1851 to always fail with ENOSYS. Some functions are actually named
1852 something starting with __ and the normal name is an alias. */
1853 #if defined __stub_$2 || defined __stub___$2
1854 choke me
1855 #endif
1858 main ()
1860 return $2 ();
1862 return 0;
1864 _ACEOF
1865 if ac_fn_c_try_link "$LINENO"; then :
1866 eval "$3=yes"
1867 else
1868 eval "$3=no"
1870 rm -f core conftest.err conftest.$ac_objext \
1871 conftest$ac_exeext conftest.$ac_ext
1873 eval ac_res=\$$3
1874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1875 $as_echo "$ac_res" >&6; }
1876 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1878 } # ac_fn_c_check_func
1880 # ac_fn_fc_try_compile LINENO
1881 # ---------------------------
1882 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1883 ac_fn_fc_try_compile ()
1885 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1886 rm -f conftest.$ac_objext
1887 if { { ac_try="$ac_compile"
1888 case "(($ac_try" in
1889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1890 *) ac_try_echo=$ac_try;;
1891 esac
1892 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1893 $as_echo "$ac_try_echo"; } >&5
1894 (eval "$ac_compile") 2>conftest.err
1895 ac_status=$?
1896 if test -s conftest.err; then
1897 grep -v '^ *+' conftest.err >conftest.er1
1898 cat conftest.er1 >&5
1899 mv -f conftest.er1 conftest.err
1901 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1902 test $ac_status = 0; } && {
1903 test -z "$ac_fc_werror_flag" ||
1904 test ! -s conftest.err
1905 } && test -s conftest.$ac_objext; then :
1906 ac_retval=0
1907 else
1908 $as_echo "$as_me: failed program was:" >&5
1909 sed 's/^/| /' conftest.$ac_ext >&5
1911 ac_retval=1
1913 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1914 return $ac_retval
1916 } # ac_fn_fc_try_compile
1918 # ac_fn_fc_try_link LINENO
1919 # ------------------------
1920 # Try to link conftest.$ac_ext, and return whether this succeeded.
1921 ac_fn_fc_try_link ()
1923 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1924 rm -f conftest.$ac_objext conftest$ac_exeext
1925 if { { ac_try="$ac_link"
1926 case "(($ac_try" in
1927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1928 *) ac_try_echo=$ac_try;;
1929 esac
1930 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1931 $as_echo "$ac_try_echo"; } >&5
1932 (eval "$ac_link") 2>conftest.err
1933 ac_status=$?
1934 if test -s conftest.err; then
1935 grep -v '^ *+' conftest.err >conftest.er1
1936 cat conftest.er1 >&5
1937 mv -f conftest.er1 conftest.err
1939 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1940 test $ac_status = 0; } && {
1941 test -z "$ac_fc_werror_flag" ||
1942 test ! -s conftest.err
1943 } && test -s conftest$ac_exeext && {
1944 test "$cross_compiling" = yes ||
1945 $as_test_x conftest$ac_exeext
1946 }; then :
1947 ac_retval=0
1948 else
1949 $as_echo "$as_me: failed program was:" >&5
1950 sed 's/^/| /' conftest.$ac_ext >&5
1952 ac_retval=1
1954 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1955 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1956 # interfere with the next link command; also delete a directory that is
1957 # left behind by Apple's compiler. We do this before executing the actions.
1958 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1959 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1960 return $ac_retval
1962 } # ac_fn_fc_try_link
1964 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1965 # -------------------------------------------
1966 # Tests whether TYPE exists after having included INCLUDES, setting cache
1967 # variable VAR accordingly.
1968 ac_fn_c_check_type ()
1970 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1972 $as_echo_n "checking for $2... " >&6; }
1973 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1974 $as_echo_n "(cached) " >&6
1975 else
1976 eval "$3=no"
1977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1978 /* end confdefs.h. */
1981 main ()
1983 if (sizeof ($2))
1984 return 0;
1986 return 0;
1988 _ACEOF
1989 if ac_fn_c_try_compile "$LINENO"; then :
1990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1991 /* end confdefs.h. */
1994 main ()
1996 if (sizeof (($2)))
1997 return 0;
1999 return 0;
2001 _ACEOF
2002 if ac_fn_c_try_compile "$LINENO"; then :
2004 else
2005 eval "$3=yes"
2007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2011 eval ac_res=\$$3
2012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2013 $as_echo "$ac_res" >&6; }
2014 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2016 } # ac_fn_c_check_type
2018 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2019 # --------------------------------------------
2020 # Tries to find the compile-time value of EXPR in a program that includes
2021 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2022 # computed
2023 ac_fn_c_compute_int ()
2025 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2026 if test "$cross_compiling" = yes; then
2027 # Depending upon the size, compute the lo and hi bounds.
2028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2029 /* end confdefs.h. */
2032 main ()
2034 static int test_array [1 - 2 * !(($2) >= 0)];
2035 test_array [0] = 0
2038 return 0;
2040 _ACEOF
2041 if ac_fn_c_try_compile "$LINENO"; then :
2042 ac_lo=0 ac_mid=0
2043 while :; do
2044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2045 /* end confdefs.h. */
2048 main ()
2050 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2051 test_array [0] = 0
2054 return 0;
2056 _ACEOF
2057 if ac_fn_c_try_compile "$LINENO"; then :
2058 ac_hi=$ac_mid; break
2059 else
2060 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2061 if test $ac_lo -le $ac_mid; then
2062 ac_lo= ac_hi=
2063 break
2065 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2068 done
2069 else
2070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2071 /* end confdefs.h. */
2074 main ()
2076 static int test_array [1 - 2 * !(($2) < 0)];
2077 test_array [0] = 0
2080 return 0;
2082 _ACEOF
2083 if ac_fn_c_try_compile "$LINENO"; then :
2084 ac_hi=-1 ac_mid=-1
2085 while :; do
2086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2087 /* end confdefs.h. */
2090 main ()
2092 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2093 test_array [0] = 0
2096 return 0;
2098 _ACEOF
2099 if ac_fn_c_try_compile "$LINENO"; then :
2100 ac_lo=$ac_mid; break
2101 else
2102 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2103 if test $ac_mid -le $ac_hi; then
2104 ac_lo= ac_hi=
2105 break
2107 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2110 done
2111 else
2112 ac_lo= ac_hi=
2114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2117 # Binary search between lo and hi bounds.
2118 while test "x$ac_lo" != "x$ac_hi"; do
2119 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2121 /* end confdefs.h. */
2124 main ()
2126 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2127 test_array [0] = 0
2130 return 0;
2132 _ACEOF
2133 if ac_fn_c_try_compile "$LINENO"; then :
2134 ac_hi=$ac_mid
2135 else
2136 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2139 done
2140 case $ac_lo in #((
2141 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2142 '') ac_retval=1 ;;
2143 esac
2144 else
2145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2146 /* end confdefs.h. */
2148 static long int longval () { return $2; }
2149 static unsigned long int ulongval () { return $2; }
2150 #include <stdio.h>
2151 #include <stdlib.h>
2153 main ()
2156 FILE *f = fopen ("conftest.val", "w");
2157 if (! f)
2158 return 1;
2159 if (($2) < 0)
2161 long int i = longval ();
2162 if (i != ($2))
2163 return 1;
2164 fprintf (f, "%ld", i);
2166 else
2168 unsigned long int i = ulongval ();
2169 if (i != ($2))
2170 return 1;
2171 fprintf (f, "%lu", i);
2173 /* Do not output a trailing newline, as this causes \r\n confusion
2174 on some platforms. */
2175 return ferror (f) || fclose (f) != 0;
2178 return 0;
2180 _ACEOF
2181 if ac_fn_c_try_run "$LINENO"; then :
2182 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2183 else
2184 ac_retval=1
2186 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2187 conftest.$ac_objext conftest.beam conftest.$ac_ext
2188 rm -f conftest.val
2191 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2192 return $ac_retval
2194 } # ac_fn_c_compute_int
2196 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2197 # ----------------------------------------------------
2198 # Tries to find if the field MEMBER exists in type AGGR, after including
2199 # INCLUDES, setting cache variable VAR accordingly.
2200 ac_fn_c_check_member ()
2202 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2204 $as_echo_n "checking for $2.$3... " >&6; }
2205 if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
2206 $as_echo_n "(cached) " >&6
2207 else
2208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2209 /* end confdefs.h. */
2212 main ()
2214 static $2 ac_aggr;
2215 if (ac_aggr.$3)
2216 return 0;
2218 return 0;
2220 _ACEOF
2221 if ac_fn_c_try_compile "$LINENO"; then :
2222 eval "$4=yes"
2223 else
2224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2225 /* end confdefs.h. */
2228 main ()
2230 static $2 ac_aggr;
2231 if (sizeof ac_aggr.$3)
2232 return 0;
2234 return 0;
2236 _ACEOF
2237 if ac_fn_c_try_compile "$LINENO"; then :
2238 eval "$4=yes"
2239 else
2240 eval "$4=no"
2242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2246 eval ac_res=\$$4
2247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2248 $as_echo "$ac_res" >&6; }
2249 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2251 } # ac_fn_c_check_member
2252 cat >config.log <<_ACEOF
2253 This file contains any messages produced by compilers while
2254 running configure, to aid debugging if configure makes a mistake.
2256 It was created by GNU Fortran Runtime Library $as_me 0.3, which was
2257 generated by GNU Autoconf 2.64. Invocation command line was
2259 $ $0 $@
2261 _ACEOF
2262 exec 5>>config.log
2264 cat <<_ASUNAME
2265 ## --------- ##
2266 ## Platform. ##
2267 ## --------- ##
2269 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2270 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2271 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2272 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2273 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2275 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2276 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2278 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2279 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2280 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2281 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2282 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2283 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2284 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2286 _ASUNAME
2288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2289 for as_dir in $PATH
2291 IFS=$as_save_IFS
2292 test -z "$as_dir" && as_dir=.
2293 $as_echo "PATH: $as_dir"
2294 done
2295 IFS=$as_save_IFS
2297 } >&5
2299 cat >&5 <<_ACEOF
2302 ## ----------- ##
2303 ## Core tests. ##
2304 ## ----------- ##
2306 _ACEOF
2309 # Keep a trace of the command line.
2310 # Strip out --no-create and --no-recursion so they do not pile up.
2311 # Strip out --silent because we don't want to record it for future runs.
2312 # Also quote any args containing shell meta-characters.
2313 # Make two passes to allow for proper duplicate-argument suppression.
2314 ac_configure_args=
2315 ac_configure_args0=
2316 ac_configure_args1=
2317 ac_must_keep_next=false
2318 for ac_pass in 1 2
2320 for ac_arg
2322 case $ac_arg in
2323 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2324 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2325 | -silent | --silent | --silen | --sile | --sil)
2326 continue ;;
2327 *\'*)
2328 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2329 esac
2330 case $ac_pass in
2331 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2333 as_fn_append ac_configure_args1 " '$ac_arg'"
2334 if test $ac_must_keep_next = true; then
2335 ac_must_keep_next=false # Got value, back to normal.
2336 else
2337 case $ac_arg in
2338 *=* | --config-cache | -C | -disable-* | --disable-* \
2339 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2340 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2341 | -with-* | --with-* | -without-* | --without-* | --x)
2342 case "$ac_configure_args0 " in
2343 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2344 esac
2346 -* ) ac_must_keep_next=true ;;
2347 esac
2349 as_fn_append ac_configure_args " '$ac_arg'"
2351 esac
2352 done
2353 done
2354 { ac_configure_args0=; unset ac_configure_args0;}
2355 { ac_configure_args1=; unset ac_configure_args1;}
2357 # When interrupted or exit'd, cleanup temporary files, and complete
2358 # config.log. We remove comments because anyway the quotes in there
2359 # would cause problems or look ugly.
2360 # WARNING: Use '\'' to represent an apostrophe within the trap.
2361 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2362 trap 'exit_status=$?
2363 # Save into config.log some information that might help in debugging.
2365 echo
2367 cat <<\_ASBOX
2368 ## ---------------- ##
2369 ## Cache variables. ##
2370 ## ---------------- ##
2371 _ASBOX
2372 echo
2373 # The following way of writing the cache mishandles newlines in values,
2375 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2376 eval ac_val=\$$ac_var
2377 case $ac_val in #(
2378 *${as_nl}*)
2379 case $ac_var in #(
2380 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2381 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2382 esac
2383 case $ac_var in #(
2384 _ | IFS | as_nl) ;; #(
2385 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2386 *) { eval $ac_var=; unset $ac_var;} ;;
2387 esac ;;
2388 esac
2389 done
2390 (set) 2>&1 |
2391 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2392 *${as_nl}ac_space=\ *)
2393 sed -n \
2394 "s/'\''/'\''\\\\'\'''\''/g;
2395 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2396 ;; #(
2398 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2400 esac |
2401 sort
2403 echo
2405 cat <<\_ASBOX
2406 ## ----------------- ##
2407 ## Output variables. ##
2408 ## ----------------- ##
2409 _ASBOX
2410 echo
2411 for ac_var in $ac_subst_vars
2413 eval ac_val=\$$ac_var
2414 case $ac_val in
2415 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2416 esac
2417 $as_echo "$ac_var='\''$ac_val'\''"
2418 done | sort
2419 echo
2421 if test -n "$ac_subst_files"; then
2422 cat <<\_ASBOX
2423 ## ------------------- ##
2424 ## File substitutions. ##
2425 ## ------------------- ##
2426 _ASBOX
2427 echo
2428 for ac_var in $ac_subst_files
2430 eval ac_val=\$$ac_var
2431 case $ac_val in
2432 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2433 esac
2434 $as_echo "$ac_var='\''$ac_val'\''"
2435 done | sort
2436 echo
2439 if test -s confdefs.h; then
2440 cat <<\_ASBOX
2441 ## ----------- ##
2442 ## confdefs.h. ##
2443 ## ----------- ##
2444 _ASBOX
2445 echo
2446 cat confdefs.h
2447 echo
2449 test "$ac_signal" != 0 &&
2450 $as_echo "$as_me: caught signal $ac_signal"
2451 $as_echo "$as_me: exit $exit_status"
2452 } >&5
2453 rm -f core *.core core.conftest.* &&
2454 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2455 exit $exit_status
2457 for ac_signal in 1 2 13 15; do
2458 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2459 done
2460 ac_signal=0
2462 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2463 rm -f -r conftest* confdefs.h
2465 $as_echo "/* confdefs.h */" > confdefs.h
2467 # Predefined preprocessor variables.
2469 cat >>confdefs.h <<_ACEOF
2470 #define PACKAGE_NAME "$PACKAGE_NAME"
2471 _ACEOF
2473 cat >>confdefs.h <<_ACEOF
2474 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2475 _ACEOF
2477 cat >>confdefs.h <<_ACEOF
2478 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2479 _ACEOF
2481 cat >>confdefs.h <<_ACEOF
2482 #define PACKAGE_STRING "$PACKAGE_STRING"
2483 _ACEOF
2485 cat >>confdefs.h <<_ACEOF
2486 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2487 _ACEOF
2489 cat >>confdefs.h <<_ACEOF
2490 #define PACKAGE_URL "$PACKAGE_URL"
2491 _ACEOF
2494 # Let the site file select an alternate cache file if it wants to.
2495 # Prefer an explicitly selected file to automatically selected ones.
2496 ac_site_file1=NONE
2497 ac_site_file2=NONE
2498 if test -n "$CONFIG_SITE"; then
2499 ac_site_file1=$CONFIG_SITE
2500 elif test "x$prefix" != xNONE; then
2501 ac_site_file1=$prefix/share/config.site
2502 ac_site_file2=$prefix/etc/config.site
2503 else
2504 ac_site_file1=$ac_default_prefix/share/config.site
2505 ac_site_file2=$ac_default_prefix/etc/config.site
2507 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2509 test "x$ac_site_file" = xNONE && continue
2510 if test -r "$ac_site_file"; then
2511 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2512 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2513 sed 's/^/| /' "$ac_site_file" >&5
2514 . "$ac_site_file"
2516 done
2518 if test -r "$cache_file"; then
2519 # Some versions of bash will fail to source /dev/null (special
2520 # files actually), so we avoid doing that.
2521 if test -f "$cache_file"; then
2522 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2523 $as_echo "$as_me: loading cache $cache_file" >&6;}
2524 case $cache_file in
2525 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2526 *) . "./$cache_file";;
2527 esac
2529 else
2530 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2531 $as_echo "$as_me: creating cache $cache_file" >&6;}
2532 >$cache_file
2535 as_fn_append ac_header_list " unistd.h"
2536 as_fn_append ac_header_list " sys/time.h"
2537 as_fn_append ac_header_list " sys/times.h"
2538 as_fn_append ac_header_list " sys/resource.h"
2539 as_fn_append ac_header_list " sys/types.h"
2540 as_fn_append ac_header_list " sys/stat.h"
2541 as_fn_append ac_header_list " sys/wait.h"
2542 as_fn_append ac_header_list " floatingpoint.h"
2543 as_fn_append ac_header_list " ieeefp.h"
2544 as_fn_append ac_header_list " fenv.h"
2545 as_fn_append ac_header_list " fptrap.h"
2546 as_fn_append ac_header_list " fpxcp.h"
2547 as_fn_append ac_header_list " pwd.h"
2548 as_fn_append ac_header_list " complex.h"
2549 as_fn_append ac_func_list " getrusage"
2550 as_fn_append ac_func_list " times"
2551 as_fn_append ac_func_list " mkstemp"
2552 as_fn_append ac_func_list " strtof"
2553 as_fn_append ac_func_list " strtold"
2554 as_fn_append ac_func_list " snprintf"
2555 as_fn_append ac_func_list " ftruncate"
2556 as_fn_append ac_func_list " chsize"
2557 as_fn_append ac_func_list " chdir"
2558 as_fn_append ac_func_list " getlogin"
2559 as_fn_append ac_func_list " gethostname"
2560 as_fn_append ac_func_list " kill"
2561 as_fn_append ac_func_list " link"
2562 as_fn_append ac_func_list " symlink"
2563 as_fn_append ac_func_list " sleep"
2564 as_fn_append ac_func_list " ttyname"
2565 as_fn_append ac_func_list " alarm"
2566 as_fn_append ac_func_list " access"
2567 as_fn_append ac_func_list " fork"
2568 as_fn_append ac_func_list " execl"
2569 as_fn_append ac_func_list " wait"
2570 as_fn_append ac_func_list " setmode"
2571 as_fn_append ac_func_list " execve"
2572 as_fn_append ac_func_list " pipe"
2573 as_fn_append ac_func_list " dup2"
2574 as_fn_append ac_func_list " close"
2575 as_fn_append ac_func_list " fcntl"
2576 as_fn_append ac_func_list " strcasestr"
2577 as_fn_append ac_func_list " getrlimit"
2578 as_fn_append ac_func_list " gettimeofday"
2579 as_fn_append ac_func_list " stat"
2580 as_fn_append ac_func_list " fstat"
2581 as_fn_append ac_func_list " lstat"
2582 as_fn_append ac_func_list " getpwuid"
2583 as_fn_append ac_func_list " vsnprintf"
2584 as_fn_append ac_func_list " dup"
2585 as_fn_append ac_func_list " getcwd"
2586 as_fn_append ac_func_list " localtime_r"
2587 as_fn_append ac_func_list " gmtime_r"
2588 as_fn_append ac_func_list " getpwuid_r"
2589 as_fn_append ac_func_list " ttyname_r"
2590 as_fn_append ac_func_list " clock_gettime"
2591 as_fn_append ac_func_list " readlink"
2592 as_fn_append ac_func_list " getgid"
2593 as_fn_append ac_func_list " getpid"
2594 as_fn_append ac_func_list " getppid"
2595 as_fn_append ac_func_list " getuid"
2596 as_fn_append ac_func_list " geteuid"
2597 as_fn_append ac_func_list " umask"
2598 as_fn_append ac_func_list " getegid"
2599 as_fn_append ac_func_list " secure_getenv"
2600 as_fn_append ac_func_list " __secure_getenv"
2601 as_fn_append ac_func_list " mkostemp"
2602 as_fn_append ac_func_list " strnlen"
2603 as_fn_append ac_func_list " strndup"
2604 as_fn_append ac_header_list " math.h"
2605 # Check that the precious variables saved in the cache have kept the same
2606 # value.
2607 ac_cache_corrupted=false
2608 for ac_var in $ac_precious_vars; do
2609 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2610 eval ac_new_set=\$ac_env_${ac_var}_set
2611 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2612 eval ac_new_val=\$ac_env_${ac_var}_value
2613 case $ac_old_set,$ac_new_set in
2614 set,)
2615 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2616 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2617 ac_cache_corrupted=: ;;
2618 ,set)
2619 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2620 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2621 ac_cache_corrupted=: ;;
2622 ,);;
2624 if test "x$ac_old_val" != "x$ac_new_val"; then
2625 # differences in whitespace do not lead to failure.
2626 ac_old_val_w=`echo x $ac_old_val`
2627 ac_new_val_w=`echo x $ac_new_val`
2628 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2629 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2630 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2631 ac_cache_corrupted=:
2632 else
2633 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2634 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2635 eval $ac_var=\$ac_old_val
2637 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2638 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2639 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2640 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2641 fi;;
2642 esac
2643 # Pass precious variables to config.status.
2644 if test "$ac_new_set" = set; then
2645 case $ac_new_val in
2646 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2647 *) ac_arg=$ac_var=$ac_new_val ;;
2648 esac
2649 case " $ac_configure_args " in
2650 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2651 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2652 esac
2654 done
2655 if $ac_cache_corrupted; then
2656 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2657 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2658 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2659 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2660 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2662 ## -------------------- ##
2663 ## Main body of script. ##
2664 ## -------------------- ##
2666 ac_ext=c
2667 ac_cpp='$CPP $CPPFLAGS'
2668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2676 ac_config_headers="$ac_config_headers config.h"
2678 ac_aux_dir=
2679 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2680 for ac_t in install-sh install.sh shtool; do
2681 if test -f "$ac_dir/$ac_t"; then
2682 ac_aux_dir=$ac_dir
2683 ac_install_sh="$ac_aux_dir/$ac_t -c"
2684 break 2
2686 done
2687 done
2688 if test -z "$ac_aux_dir"; then
2689 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2692 # These three variables are undocumented and unsupported,
2693 # and are intended to be withdrawn in a future Autoconf release.
2694 # They can cause serious problems if a builder's source tree is in a directory
2695 # whose full name contains unusual characters.
2696 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2697 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2698 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2701 # Make sure we can run config.sub.
2702 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2703 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2706 $as_echo_n "checking build system type... " >&6; }
2707 if test "${ac_cv_build+set}" = set; then :
2708 $as_echo_n "(cached) " >&6
2709 else
2710 ac_build_alias=$build_alias
2711 test "x$ac_build_alias" = x &&
2712 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2713 test "x$ac_build_alias" = x &&
2714 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2715 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2716 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2720 $as_echo "$ac_cv_build" >&6; }
2721 case $ac_cv_build in
2722 *-*-*) ;;
2723 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2724 esac
2725 build=$ac_cv_build
2726 ac_save_IFS=$IFS; IFS='-'
2727 set x $ac_cv_build
2728 shift
2729 build_cpu=$1
2730 build_vendor=$2
2731 shift; shift
2732 # Remember, the first character of IFS is used to create $*,
2733 # except with old shells:
2734 build_os=$*
2735 IFS=$ac_save_IFS
2736 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2739 case ${build_alias} in
2740 "") build_noncanonical=${build} ;;
2741 *) build_noncanonical=${build_alias} ;;
2742 esac
2744 case ${host_alias} in
2745 "") host_noncanonical=${build_noncanonical} ;;
2746 *) host_noncanonical=${host_alias} ;;
2747 esac
2749 case ${target_alias} in
2750 "") target_noncanonical=${host_noncanonical} ;;
2751 *) target_noncanonical=${target_alias} ;;
2752 esac
2755 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2756 # have matching libraries, they should use host libraries: Makefile.tpl
2757 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2758 # However, they still use the build modules, because the corresponding
2759 # host modules (e.g. bison) are only built for the host when bootstrap
2760 # finishes. So:
2761 # - build_subdir is where we find build modules, and never changes.
2762 # - build_libsubdir is where we find build libraries, and can be overridden.
2764 # Prefix 'build-' so this never conflicts with target_subdir.
2765 build_subdir="build-${build_noncanonical}"
2767 # Check whether --with-build-libsubdir was given.
2768 if test "${with_build_libsubdir+set}" = set; then :
2769 withval=$with_build_libsubdir; build_libsubdir="$withval"
2770 else
2771 build_libsubdir="$build_subdir"
2774 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2775 if ( test $srcdir = . && test -d gcc ) \
2776 || test -d $srcdir/../host-${host_noncanonical}; then
2777 host_subdir="host-${host_noncanonical}"
2778 else
2779 host_subdir=.
2781 # No prefix.
2782 target_subdir=${target_noncanonical}
2785 # -------
2786 # Options
2787 # -------
2789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2790 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2791 # Check whether --enable-version-specific-runtime-libs was given.
2792 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2793 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
2794 yes) version_specific_libs=yes ;;
2795 no) version_specific_libs=no ;;
2796 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
2797 esac
2798 else
2799 version_specific_libs=no
2802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
2803 $as_echo "$version_specific_libs" >&6; }
2805 # Build with intermodule optimisations
2806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-intermodule" >&5
2807 $as_echo_n "checking for --enable-intermodule... " >&6; }
2808 # Check whether --enable-intermodule was given.
2809 if test "${enable_intermodule+set}" = set; then :
2810 enableval=$enable_intermodule; case "$enable_intermodule" in
2811 yes) onestep="-onestep";;
2812 *) onestep="";;
2813 esac
2814 else
2815 onestep=""
2818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_intermodule" >&5
2819 $as_echo "$enable_intermodule" >&6; }
2820 if test x$onestep = x-onestep; then
2821 onestep_TRUE=
2822 onestep_FALSE='#'
2823 else
2824 onestep_TRUE='#'
2825 onestep_FALSE=
2830 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2832 # You will slowly go insane if you do not grok the following fact: when
2833 # building this library, the top-level /target/ becomes the library's /host/.
2835 # configure then causes --target to default to --host, exactly like any
2836 # other package using autoconf. Therefore, 'target' and 'host' will
2837 # always be the same. This makes sense both for native and cross compilers
2838 # just think about it for a little while. :-)
2840 # Also, if this library is being configured as part of a cross compiler, the
2841 # top-level configure script will pass the "real" host as $with_cross_host.
2843 # Do not delete or change the following two lines. For why, see
2844 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2846 $as_echo_n "checking host system type... " >&6; }
2847 if test "${ac_cv_host+set}" = set; then :
2848 $as_echo_n "(cached) " >&6
2849 else
2850 if test "x$host_alias" = x; then
2851 ac_cv_host=$ac_cv_build
2852 else
2853 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2854 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2859 $as_echo "$ac_cv_host" >&6; }
2860 case $ac_cv_host in
2861 *-*-*) ;;
2862 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2863 esac
2864 host=$ac_cv_host
2865 ac_save_IFS=$IFS; IFS='-'
2866 set x $ac_cv_host
2867 shift
2868 host_cpu=$1
2869 host_vendor=$2
2870 shift; shift
2871 # Remember, the first character of IFS is used to create $*,
2872 # except with old shells:
2873 host_os=$*
2874 IFS=$ac_save_IFS
2875 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2879 $as_echo_n "checking target system type... " >&6; }
2880 if test "${ac_cv_target+set}" = set; then :
2881 $as_echo_n "(cached) " >&6
2882 else
2883 if test "x$target_alias" = x; then
2884 ac_cv_target=$ac_cv_host
2885 else
2886 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2887 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2892 $as_echo "$ac_cv_target" >&6; }
2893 case $ac_cv_target in
2894 *-*-*) ;;
2895 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2896 esac
2897 target=$ac_cv_target
2898 ac_save_IFS=$IFS; IFS='-'
2899 set x $ac_cv_target
2900 shift
2901 target_cpu=$1
2902 target_vendor=$2
2903 shift; shift
2904 # Remember, the first character of IFS is used to create $*,
2905 # except with old shells:
2906 target_os=$*
2907 IFS=$ac_save_IFS
2908 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2911 # The aliases save the names the user supplied, while $host etc.
2912 # will get canonicalized.
2913 test -n "$target_alias" &&
2914 test "$program_prefix$program_suffix$program_transform_name" = \
2915 NONENONEs,x,x, &&
2916 program_prefix=${target_alias}-
2921 target_alias=${target_alias-$host_alias}
2924 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
2925 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
2926 # 1.9.6: minimum required version
2927 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
2928 # of other PACKAGE_* variables will, however, and there's nothing
2929 # we can do about that; they come from AC_INIT).
2930 # foreign: we don't follow the normal rules for GNU packages (no COPYING
2931 # file in the top srcdir, etc, etc), so stop complaining.
2932 # no-dist: we don't want 'dist' and related rules.
2933 # -Wall: turns on all automake warnings...
2934 # -Wno-portability: ...except this one, since GNU make is required.
2935 am__api_version='1.11'
2937 # Find a good install program. We prefer a C program (faster),
2938 # so one script is as good as another. But avoid the broken or
2939 # incompatible versions:
2940 # SysV /etc/install, /usr/sbin/install
2941 # SunOS /usr/etc/install
2942 # IRIX /sbin/install
2943 # AIX /bin/install
2944 # AmigaOS /C/install, which installs bootblocks on floppy discs
2945 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2946 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2947 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2948 # OS/2's system install, which has a completely different semantic
2949 # ./install, which can be erroneously created by make from ./install.sh.
2950 # Reject install programs that cannot install multiple files.
2951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2952 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2953 if test -z "$INSTALL"; then
2954 if test "${ac_cv_path_install+set}" = set; then :
2955 $as_echo_n "(cached) " >&6
2956 else
2957 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2958 for as_dir in $PATH
2960 IFS=$as_save_IFS
2961 test -z "$as_dir" && as_dir=.
2962 # Account for people who put trailing slashes in PATH elements.
2963 case $as_dir/ in #((
2964 ./ | .// | /[cC]/* | \
2965 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2966 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2967 /usr/ucb/* ) ;;
2969 # OSF1 and SCO ODT 3.0 have their own names for install.
2970 # Don't use installbsd from OSF since it installs stuff as root
2971 # by default.
2972 for ac_prog in ginstall scoinst install; do
2973 for ac_exec_ext in '' $ac_executable_extensions; do
2974 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2975 if test $ac_prog = install &&
2976 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2977 # AIX install. It has an incompatible calling convention.
2979 elif test $ac_prog = install &&
2980 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2981 # program-specific install script used by HP pwplus--don't use.
2983 else
2984 rm -rf conftest.one conftest.two conftest.dir
2985 echo one > conftest.one
2986 echo two > conftest.two
2987 mkdir conftest.dir
2988 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2989 test -s conftest.one && test -s conftest.two &&
2990 test -s conftest.dir/conftest.one &&
2991 test -s conftest.dir/conftest.two
2992 then
2993 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2994 break 3
2998 done
2999 done
3001 esac
3003 done
3004 IFS=$as_save_IFS
3006 rm -rf conftest.one conftest.two conftest.dir
3009 if test "${ac_cv_path_install+set}" = set; then
3010 INSTALL=$ac_cv_path_install
3011 else
3012 # As a last resort, use the slow shell script. Don't cache a
3013 # value for INSTALL within a source directory, because that will
3014 # break other packages using the cache if that directory is
3015 # removed, or if the value is a relative name.
3016 INSTALL=$ac_install_sh
3019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3020 $as_echo "$INSTALL" >&6; }
3022 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3023 # It thinks the first close brace ends the variable substitution.
3024 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3026 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3028 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3031 $as_echo_n "checking whether build environment is sane... " >&6; }
3032 # Just in case
3033 sleep 1
3034 echo timestamp > conftest.file
3035 # Reject unsafe characters in $srcdir or the absolute working directory
3036 # name. Accept space and tab only in the latter.
3037 am_lf='
3039 case `pwd` in
3040 *[\\\"\#\$\&\'\`$am_lf]*)
3041 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3042 esac
3043 case $srcdir in
3044 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3045 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3046 esac
3048 # Do `set' in a subshell so we don't clobber the current shell's
3049 # arguments. Must try -L first in case configure is actually a
3050 # symlink; some systems play weird games with the mod time of symlinks
3051 # (eg FreeBSD returns the mod time of the symlink's containing
3052 # directory).
3053 if (
3054 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3055 if test "$*" = "X"; then
3056 # -L didn't work.
3057 set X `ls -t "$srcdir/configure" conftest.file`
3059 rm -f conftest.file
3060 if test "$*" != "X $srcdir/configure conftest.file" \
3061 && test "$*" != "X conftest.file $srcdir/configure"; then
3063 # If neither matched, then we have a broken ls. This can happen
3064 # if, for instance, CONFIG_SHELL is bash and it inherits a
3065 # broken ls alias from the environment. This has actually
3066 # happened. Such a system could not be considered "sane".
3067 as_fn_error "ls -t appears to fail. Make sure there is not a broken
3068 alias in your environment" "$LINENO" 5
3071 test "$2" = conftest.file
3073 then
3074 # Ok.
3076 else
3077 as_fn_error "newly created file is older than distributed files!
3078 Check your system clock" "$LINENO" 5
3080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3081 $as_echo "yes" >&6; }
3082 test "$program_prefix" != NONE &&
3083 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3084 # Use a double $ so make ignores it.
3085 test "$program_suffix" != NONE &&
3086 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3087 # Double any \ or $.
3088 # By default was `s,x,x', remove it if useless.
3089 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3090 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3092 # expand $ac_aux_dir to an absolute path
3093 am_aux_dir=`cd $ac_aux_dir && pwd`
3095 if test x"${MISSING+set}" != xset; then
3096 case $am_aux_dir in
3097 *\ * | *\ *)
3098 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3100 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3101 esac
3103 # Use eval to expand $SHELL
3104 if eval "$MISSING --run true"; then
3105 am_missing_run="$MISSING --run "
3106 else
3107 am_missing_run=
3108 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3109 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3112 if test x"${install_sh}" != xset; then
3113 case $am_aux_dir in
3114 *\ * | *\ *)
3115 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3117 install_sh="\${SHELL} $am_aux_dir/install-sh"
3118 esac
3121 # Installed binaries are usually stripped using `strip' when the user
3122 # run `make install-strip'. However `strip' might not be the right
3123 # tool to use in cross-compilation environments, therefore Automake
3124 # will honor the `STRIP' environment variable to overrule this program.
3125 if test "$cross_compiling" != no; then
3126 if test -n "$ac_tool_prefix"; then
3127 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3128 set dummy ${ac_tool_prefix}strip; ac_word=$2
3129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3130 $as_echo_n "checking for $ac_word... " >&6; }
3131 if test "${ac_cv_prog_STRIP+set}" = set; then :
3132 $as_echo_n "(cached) " >&6
3133 else
3134 if test -n "$STRIP"; then
3135 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3136 else
3137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3138 for as_dir in $PATH
3140 IFS=$as_save_IFS
3141 test -z "$as_dir" && as_dir=.
3142 for ac_exec_ext in '' $ac_executable_extensions; do
3143 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3144 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3145 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3146 break 2
3148 done
3149 done
3150 IFS=$as_save_IFS
3154 STRIP=$ac_cv_prog_STRIP
3155 if test -n "$STRIP"; then
3156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3157 $as_echo "$STRIP" >&6; }
3158 else
3159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3160 $as_echo "no" >&6; }
3165 if test -z "$ac_cv_prog_STRIP"; then
3166 ac_ct_STRIP=$STRIP
3167 # Extract the first word of "strip", so it can be a program name with args.
3168 set dummy strip; ac_word=$2
3169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3170 $as_echo_n "checking for $ac_word... " >&6; }
3171 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3172 $as_echo_n "(cached) " >&6
3173 else
3174 if test -n "$ac_ct_STRIP"; then
3175 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3176 else
3177 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3178 for as_dir in $PATH
3180 IFS=$as_save_IFS
3181 test -z "$as_dir" && as_dir=.
3182 for ac_exec_ext in '' $ac_executable_extensions; do
3183 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3184 ac_cv_prog_ac_ct_STRIP="strip"
3185 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3186 break 2
3188 done
3189 done
3190 IFS=$as_save_IFS
3194 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3195 if test -n "$ac_ct_STRIP"; then
3196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3197 $as_echo "$ac_ct_STRIP" >&6; }
3198 else
3199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3200 $as_echo "no" >&6; }
3203 if test "x$ac_ct_STRIP" = x; then
3204 STRIP=":"
3205 else
3206 case $cross_compiling:$ac_tool_warned in
3207 yes:)
3208 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3209 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3210 ac_tool_warned=yes ;;
3211 esac
3212 STRIP=$ac_ct_STRIP
3214 else
3215 STRIP="$ac_cv_prog_STRIP"
3219 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3222 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3223 if test -z "$MKDIR_P"; then
3224 if test "${ac_cv_path_mkdir+set}" = set; then :
3225 $as_echo_n "(cached) " >&6
3226 else
3227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3228 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3230 IFS=$as_save_IFS
3231 test -z "$as_dir" && as_dir=.
3232 for ac_prog in mkdir gmkdir; do
3233 for ac_exec_ext in '' $ac_executable_extensions; do
3234 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3235 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3236 'mkdir (GNU coreutils) '* | \
3237 'mkdir (coreutils) '* | \
3238 'mkdir (fileutils) '4.1*)
3239 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3240 break 3;;
3241 esac
3242 done
3243 done
3244 done
3245 IFS=$as_save_IFS
3249 if test "${ac_cv_path_mkdir+set}" = set; then
3250 MKDIR_P="$ac_cv_path_mkdir -p"
3251 else
3252 # As a last resort, use the slow shell script. Don't cache a
3253 # value for MKDIR_P within a source directory, because that will
3254 # break other packages using the cache if that directory is
3255 # removed, or if the value is a relative name.
3256 test -d ./--version && rmdir ./--version
3257 MKDIR_P="$ac_install_sh -d"
3260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3261 $as_echo "$MKDIR_P" >&6; }
3263 mkdir_p="$MKDIR_P"
3264 case $mkdir_p in
3265 [\\/$]* | ?:[\\/]*) ;;
3266 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3267 esac
3269 for ac_prog in gawk mawk nawk awk
3271 # Extract the first word of "$ac_prog", so it can be a program name with args.
3272 set dummy $ac_prog; ac_word=$2
3273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3274 $as_echo_n "checking for $ac_word... " >&6; }
3275 if test "${ac_cv_prog_AWK+set}" = set; then :
3276 $as_echo_n "(cached) " >&6
3277 else
3278 if test -n "$AWK"; then
3279 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3280 else
3281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3282 for as_dir in $PATH
3284 IFS=$as_save_IFS
3285 test -z "$as_dir" && as_dir=.
3286 for ac_exec_ext in '' $ac_executable_extensions; do
3287 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3288 ac_cv_prog_AWK="$ac_prog"
3289 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3290 break 2
3292 done
3293 done
3294 IFS=$as_save_IFS
3298 AWK=$ac_cv_prog_AWK
3299 if test -n "$AWK"; then
3300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3301 $as_echo "$AWK" >&6; }
3302 else
3303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3304 $as_echo "no" >&6; }
3308 test -n "$AWK" && break
3309 done
3311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3312 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3313 set x ${MAKE-make}
3314 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3315 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3316 $as_echo_n "(cached) " >&6
3317 else
3318 cat >conftest.make <<\_ACEOF
3319 SHELL = /bin/sh
3320 all:
3321 @echo '@@@%%%=$(MAKE)=@@@%%%'
3322 _ACEOF
3323 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3324 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3325 *@@@%%%=?*=@@@%%%*)
3326 eval ac_cv_prog_make_${ac_make}_set=yes;;
3328 eval ac_cv_prog_make_${ac_make}_set=no;;
3329 esac
3330 rm -f conftest.make
3332 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3334 $as_echo "yes" >&6; }
3335 SET_MAKE=
3336 else
3337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3338 $as_echo "no" >&6; }
3339 SET_MAKE="MAKE=${MAKE-make}"
3342 rm -rf .tst 2>/dev/null
3343 mkdir .tst 2>/dev/null
3344 if test -d .tst; then
3345 am__leading_dot=.
3346 else
3347 am__leading_dot=_
3349 rmdir .tst 2>/dev/null
3351 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3352 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3353 # is not polluted with repeated "-I."
3354 am__isrc=' -I$(srcdir)'
3355 # test to see if srcdir already configured
3356 if test -f $srcdir/config.status; then
3357 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3361 # test whether we have cygpath
3362 if test -z "$CYGPATH_W"; then
3363 if (cygpath --version) >/dev/null 2>/dev/null; then
3364 CYGPATH_W='cygpath -w'
3365 else
3366 CYGPATH_W=echo
3371 # Define the identity of the package.
3372 PACKAGE='libgfortran'
3373 VERSION='0.3'
3376 # Some tools Automake needs.
3378 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3381 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3384 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3387 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3390 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3392 # We need awk for the "check" target. The system "awk" is bad on
3393 # some platforms.
3394 # Always define AMTAR for backward compatibility. Yes, it's still used
3395 # in the wild :-( We should find a proper way to deprecate it ...
3396 AMTAR='$${TAR-tar}'
3398 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3407 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3408 # Check whether --enable-maintainer-mode was given.
3409 if test "${enable_maintainer_mode+set}" = set; then :
3410 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3411 else
3412 USE_MAINTAINER_MODE=no
3415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3416 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3417 if test $USE_MAINTAINER_MODE = yes; then
3418 MAINTAINER_MODE_TRUE=
3419 MAINTAINER_MODE_FALSE='#'
3420 else
3421 MAINTAINER_MODE_TRUE='#'
3422 MAINTAINER_MODE_FALSE=
3425 MAINT=$MAINTAINER_MODE_TRUE
3428 # Default to --enable-multilib
3429 # Check whether --enable-multilib was given.
3430 if test "${enable_multilib+set}" = set; then :
3431 enableval=$enable_multilib; case "$enableval" in
3432 yes) multilib=yes ;;
3433 no) multilib=no ;;
3434 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
3435 esac
3436 else
3437 multilib=yes
3441 # We may get other options which we leave undocumented:
3442 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3443 # See config-ml.in if you want the gory details.
3445 if test "$srcdir" = "."; then
3446 if test "$with_target_subdir" != "."; then
3447 multi_basedir="$srcdir/$with_multisrctop../.."
3448 else
3449 multi_basedir="$srcdir/$with_multisrctop.."
3451 else
3452 multi_basedir="$srcdir/.."
3456 # Even if the default multilib is not a cross compilation,
3457 # it may be that some of the other multilibs are.
3458 if test $cross_compiling = no && test $multilib = yes \
3459 && test "x${with_multisubdir}" != x ; then
3460 cross_compiling=maybe
3463 ac_config_commands="$ac_config_commands default-1"
3466 # Handy for debugging:
3467 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3469 # Are we being configured with some form of cross compiler?
3470 # NB: We don't actually need to know this just now, but when, say, a test
3471 # suite is included, we'll have to know.
3472 if test "$build" != "$host"; then
3473 LIBGFOR_IS_NATIVE=false
3475 else
3476 LIBGFOR_IS_NATIVE=true
3479 DEPDIR="${am__leading_dot}deps"
3481 ac_config_commands="$ac_config_commands depfiles"
3484 am_make=${MAKE-make}
3485 cat > confinc << 'END'
3486 am__doit:
3487 @echo this is the am__doit target
3488 .PHONY: am__doit
3490 # If we don't find an include directive, just comment out the code.
3491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3492 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3493 am__include="#"
3494 am__quote=
3495 _am_result=none
3496 # First try GNU make style include.
3497 echo "include confinc" > confmf
3498 # Ignore all kinds of additional output from `make'.
3499 case `$am_make -s -f confmf 2> /dev/null` in #(
3500 *the\ am__doit\ target*)
3501 am__include=include
3502 am__quote=
3503 _am_result=GNU
3505 esac
3506 # Now try BSD make style include.
3507 if test "$am__include" = "#"; then
3508 echo '.include "confinc"' > confmf
3509 case `$am_make -s -f confmf 2> /dev/null` in #(
3510 *the\ am__doit\ target*)
3511 am__include=.include
3512 am__quote="\""
3513 _am_result=BSD
3515 esac
3519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3520 $as_echo "$_am_result" >&6; }
3521 rm -f confinc confmf
3523 # Check whether --enable-dependency-tracking was given.
3524 if test "${enable_dependency_tracking+set}" = set; then :
3525 enableval=$enable_dependency_tracking;
3528 if test "x$enable_dependency_tracking" != xno; then
3529 am_depcomp="$ac_aux_dir/depcomp"
3530 AMDEPBACKSLASH='\'
3531 am__nodep='_no'
3533 if test "x$enable_dependency_tracking" != xno; then
3534 AMDEP_TRUE=
3535 AMDEP_FALSE='#'
3536 else
3537 AMDEP_TRUE='#'
3538 AMDEP_FALSE=
3542 ac_ext=c
3543 ac_cpp='$CPP $CPPFLAGS'
3544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3547 if test -n "$ac_tool_prefix"; then
3548 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3549 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3551 $as_echo_n "checking for $ac_word... " >&6; }
3552 if test "${ac_cv_prog_CC+set}" = set; then :
3553 $as_echo_n "(cached) " >&6
3554 else
3555 if test -n "$CC"; then
3556 ac_cv_prog_CC="$CC" # Let the user override the test.
3557 else
3558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3559 for as_dir in $PATH
3561 IFS=$as_save_IFS
3562 test -z "$as_dir" && as_dir=.
3563 for ac_exec_ext in '' $ac_executable_extensions; do
3564 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3565 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3566 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3567 break 2
3569 done
3570 done
3571 IFS=$as_save_IFS
3575 CC=$ac_cv_prog_CC
3576 if test -n "$CC"; then
3577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3578 $as_echo "$CC" >&6; }
3579 else
3580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3581 $as_echo "no" >&6; }
3586 if test -z "$ac_cv_prog_CC"; then
3587 ac_ct_CC=$CC
3588 # Extract the first word of "gcc", so it can be a program name with args.
3589 set dummy gcc; ac_word=$2
3590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3591 $as_echo_n "checking for $ac_word... " >&6; }
3592 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3593 $as_echo_n "(cached) " >&6
3594 else
3595 if test -n "$ac_ct_CC"; then
3596 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3597 else
3598 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3599 for as_dir in $PATH
3601 IFS=$as_save_IFS
3602 test -z "$as_dir" && as_dir=.
3603 for ac_exec_ext in '' $ac_executable_extensions; do
3604 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3605 ac_cv_prog_ac_ct_CC="gcc"
3606 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3607 break 2
3609 done
3610 done
3611 IFS=$as_save_IFS
3615 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3616 if test -n "$ac_ct_CC"; then
3617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3618 $as_echo "$ac_ct_CC" >&6; }
3619 else
3620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3621 $as_echo "no" >&6; }
3624 if test "x$ac_ct_CC" = x; then
3625 CC=""
3626 else
3627 case $cross_compiling:$ac_tool_warned in
3628 yes:)
3629 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3630 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3631 ac_tool_warned=yes ;;
3632 esac
3633 CC=$ac_ct_CC
3635 else
3636 CC="$ac_cv_prog_CC"
3639 if test -z "$CC"; then
3640 if test -n "$ac_tool_prefix"; then
3641 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3642 set dummy ${ac_tool_prefix}cc; ac_word=$2
3643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3644 $as_echo_n "checking for $ac_word... " >&6; }
3645 if test "${ac_cv_prog_CC+set}" = set; then :
3646 $as_echo_n "(cached) " >&6
3647 else
3648 if test -n "$CC"; then
3649 ac_cv_prog_CC="$CC" # Let the user override the test.
3650 else
3651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3652 for as_dir in $PATH
3654 IFS=$as_save_IFS
3655 test -z "$as_dir" && as_dir=.
3656 for ac_exec_ext in '' $ac_executable_extensions; do
3657 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3658 ac_cv_prog_CC="${ac_tool_prefix}cc"
3659 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3660 break 2
3662 done
3663 done
3664 IFS=$as_save_IFS
3668 CC=$ac_cv_prog_CC
3669 if test -n "$CC"; then
3670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3671 $as_echo "$CC" >&6; }
3672 else
3673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3674 $as_echo "no" >&6; }
3680 if test -z "$CC"; then
3681 # Extract the first word of "cc", so it can be a program name with args.
3682 set dummy cc; ac_word=$2
3683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3684 $as_echo_n "checking for $ac_word... " >&6; }
3685 if test "${ac_cv_prog_CC+set}" = set; then :
3686 $as_echo_n "(cached) " >&6
3687 else
3688 if test -n "$CC"; then
3689 ac_cv_prog_CC="$CC" # Let the user override the test.
3690 else
3691 ac_prog_rejected=no
3692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3693 for as_dir in $PATH
3695 IFS=$as_save_IFS
3696 test -z "$as_dir" && as_dir=.
3697 for ac_exec_ext in '' $ac_executable_extensions; do
3698 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3699 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3700 ac_prog_rejected=yes
3701 continue
3703 ac_cv_prog_CC="cc"
3704 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3705 break 2
3707 done
3708 done
3709 IFS=$as_save_IFS
3711 if test $ac_prog_rejected = yes; then
3712 # We found a bogon in the path, so make sure we never use it.
3713 set dummy $ac_cv_prog_CC
3714 shift
3715 if test $# != 0; then
3716 # We chose a different compiler from the bogus one.
3717 # However, it has the same basename, so the bogon will be chosen
3718 # first if we set CC to just the basename; use the full file name.
3719 shift
3720 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3725 CC=$ac_cv_prog_CC
3726 if test -n "$CC"; then
3727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3728 $as_echo "$CC" >&6; }
3729 else
3730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3731 $as_echo "no" >&6; }
3736 if test -z "$CC"; then
3737 if test -n "$ac_tool_prefix"; then
3738 for ac_prog in cl.exe
3740 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3741 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3743 $as_echo_n "checking for $ac_word... " >&6; }
3744 if test "${ac_cv_prog_CC+set}" = set; then :
3745 $as_echo_n "(cached) " >&6
3746 else
3747 if test -n "$CC"; then
3748 ac_cv_prog_CC="$CC" # Let the user override the test.
3749 else
3750 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3751 for as_dir in $PATH
3753 IFS=$as_save_IFS
3754 test -z "$as_dir" && as_dir=.
3755 for ac_exec_ext in '' $ac_executable_extensions; do
3756 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3757 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3758 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3759 break 2
3761 done
3762 done
3763 IFS=$as_save_IFS
3767 CC=$ac_cv_prog_CC
3768 if test -n "$CC"; then
3769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3770 $as_echo "$CC" >&6; }
3771 else
3772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3773 $as_echo "no" >&6; }
3777 test -n "$CC" && break
3778 done
3780 if test -z "$CC"; then
3781 ac_ct_CC=$CC
3782 for ac_prog in cl.exe
3784 # Extract the first word of "$ac_prog", so it can be a program name with args.
3785 set dummy $ac_prog; ac_word=$2
3786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3787 $as_echo_n "checking for $ac_word... " >&6; }
3788 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3789 $as_echo_n "(cached) " >&6
3790 else
3791 if test -n "$ac_ct_CC"; then
3792 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3793 else
3794 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3795 for as_dir in $PATH
3797 IFS=$as_save_IFS
3798 test -z "$as_dir" && as_dir=.
3799 for ac_exec_ext in '' $ac_executable_extensions; do
3800 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3801 ac_cv_prog_ac_ct_CC="$ac_prog"
3802 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3803 break 2
3805 done
3806 done
3807 IFS=$as_save_IFS
3811 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3812 if test -n "$ac_ct_CC"; then
3813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3814 $as_echo "$ac_ct_CC" >&6; }
3815 else
3816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3817 $as_echo "no" >&6; }
3821 test -n "$ac_ct_CC" && break
3822 done
3824 if test "x$ac_ct_CC" = x; then
3825 CC=""
3826 else
3827 case $cross_compiling:$ac_tool_warned in
3828 yes:)
3829 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3830 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3831 ac_tool_warned=yes ;;
3832 esac
3833 CC=$ac_ct_CC
3840 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3841 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3842 as_fn_error "no acceptable C compiler found in \$PATH
3843 See \`config.log' for more details." "$LINENO" 5; }
3845 # Provide some information about the compiler.
3846 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3847 set X $ac_compile
3848 ac_compiler=$2
3849 for ac_option in --version -v -V -qversion; do
3850 { { ac_try="$ac_compiler $ac_option >&5"
3851 case "(($ac_try" in
3852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3853 *) ac_try_echo=$ac_try;;
3854 esac
3855 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3856 $as_echo "$ac_try_echo"; } >&5
3857 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3858 ac_status=$?
3859 if test -s conftest.err; then
3860 sed '10a\
3861 ... rest of stderr output deleted ...
3862 10q' conftest.err >conftest.er1
3863 cat conftest.er1 >&5
3864 rm -f conftest.er1 conftest.err
3866 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3867 test $ac_status = 0; }
3868 done
3870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3871 /* end confdefs.h. */
3874 main ()
3878 return 0;
3880 _ACEOF
3881 # FIXME: Cleanup?
3882 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3883 (eval $ac_link) 2>&5
3884 ac_status=$?
3885 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3886 test $ac_status = 0; }; then :
3887 gcc_no_link=no
3888 else
3889 gcc_no_link=yes
3891 if test x$gcc_no_link = xyes; then
3892 # Setting cross_compile will disable run tests; it will
3893 # also disable AC_CHECK_FILE but that's generally
3894 # correct if we can't link.
3895 cross_compiling=yes
3896 EXEEXT=
3897 else
3898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3899 /* end confdefs.h. */
3902 main ()
3906 return 0;
3908 _ACEOF
3909 ac_clean_files_save=$ac_clean_files
3910 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3911 # Try to create an executable without -o first, disregard a.out.
3912 # It will help us diagnose broken compilers, and finding out an intuition
3913 # of exeext.
3914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3915 $as_echo_n "checking for C compiler default output file name... " >&6; }
3916 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3918 # The possible output files:
3919 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3921 ac_rmfiles=
3922 for ac_file in $ac_files
3924 case $ac_file in
3925 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3926 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3927 esac
3928 done
3929 rm -f $ac_rmfiles
3931 if { { ac_try="$ac_link_default"
3932 case "(($ac_try" in
3933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3934 *) ac_try_echo=$ac_try;;
3935 esac
3936 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3937 $as_echo "$ac_try_echo"; } >&5
3938 (eval "$ac_link_default") 2>&5
3939 ac_status=$?
3940 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3941 test $ac_status = 0; }; then :
3942 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3943 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3944 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3945 # so that the user can short-circuit this test for compilers unknown to
3946 # Autoconf.
3947 for ac_file in $ac_files ''
3949 test -f "$ac_file" || continue
3950 case $ac_file in
3951 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3953 [ab].out )
3954 # We found the default executable, but exeext='' is most
3955 # certainly right.
3956 break;;
3957 *.* )
3958 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3959 then :; else
3960 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3962 # We set ac_cv_exeext here because the later test for it is not
3963 # safe: cross compilers may not add the suffix if given an `-o'
3964 # argument, so we may need to know it at that point already.
3965 # Even if this section looks crufty: it has the advantage of
3966 # actually working.
3967 break;;
3969 break;;
3970 esac
3971 done
3972 test "$ac_cv_exeext" = no && ac_cv_exeext=
3974 else
3975 ac_file=''
3977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3978 $as_echo "$ac_file" >&6; }
3979 if test -z "$ac_file"; then :
3980 $as_echo "$as_me: failed program was:" >&5
3981 sed 's/^/| /' conftest.$ac_ext >&5
3983 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3984 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3985 { as_fn_set_status 77
3986 as_fn_error "C compiler cannot create executables
3987 See \`config.log' for more details." "$LINENO" 5; }; }
3989 ac_exeext=$ac_cv_exeext
3991 # Check that the compiler produces executables we can run. If not, either
3992 # the compiler is broken, or we cross compile.
3993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3994 $as_echo_n "checking whether the C compiler works... " >&6; }
3995 # If not cross compiling, check that we can run a simple program.
3996 if test "$cross_compiling" != yes; then
3997 if { ac_try='./$ac_file'
3998 { { case "(($ac_try" in
3999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4000 *) ac_try_echo=$ac_try;;
4001 esac
4002 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4003 $as_echo "$ac_try_echo"; } >&5
4004 (eval "$ac_try") 2>&5
4005 ac_status=$?
4006 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4007 test $ac_status = 0; }; }; then
4008 cross_compiling=no
4009 else
4010 if test "$cross_compiling" = maybe; then
4011 cross_compiling=yes
4012 else
4013 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4014 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4015 as_fn_error "cannot run C compiled programs.
4016 If you meant to cross compile, use \`--host'.
4017 See \`config.log' for more details." "$LINENO" 5; }
4021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4022 $as_echo "yes" >&6; }
4024 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4025 ac_clean_files=$ac_clean_files_save
4026 # Check that the compiler produces executables we can run. If not, either
4027 # the compiler is broken, or we cross compile.
4028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4029 $as_echo_n "checking whether we are cross compiling... " >&6; }
4030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4031 $as_echo "$cross_compiling" >&6; }
4033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4034 $as_echo_n "checking for suffix of executables... " >&6; }
4035 if { { ac_try="$ac_link"
4036 case "(($ac_try" in
4037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4038 *) ac_try_echo=$ac_try;;
4039 esac
4040 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4041 $as_echo "$ac_try_echo"; } >&5
4042 (eval "$ac_link") 2>&5
4043 ac_status=$?
4044 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4045 test $ac_status = 0; }; then :
4046 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4047 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4048 # work properly (i.e., refer to `conftest.exe'), while it won't with
4049 # `rm'.
4050 for ac_file in conftest.exe conftest conftest.*; do
4051 test -f "$ac_file" || continue
4052 case $ac_file in
4053 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4054 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4055 break;;
4056 * ) break;;
4057 esac
4058 done
4059 else
4060 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4061 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4062 as_fn_error "cannot compute suffix of executables: cannot compile and link
4063 See \`config.log' for more details." "$LINENO" 5; }
4065 rm -f conftest$ac_cv_exeext
4066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4067 $as_echo "$ac_cv_exeext" >&6; }
4069 rm -f conftest.$ac_ext
4070 EXEEXT=$ac_cv_exeext
4071 ac_exeext=$EXEEXT
4073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4074 $as_echo_n "checking for suffix of object files... " >&6; }
4075 if test "${ac_cv_objext+set}" = set; then :
4076 $as_echo_n "(cached) " >&6
4077 else
4078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4079 /* end confdefs.h. */
4082 main ()
4086 return 0;
4088 _ACEOF
4089 rm -f conftest.o conftest.obj
4090 if { { ac_try="$ac_compile"
4091 case "(($ac_try" in
4092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4093 *) ac_try_echo=$ac_try;;
4094 esac
4095 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4096 $as_echo "$ac_try_echo"; } >&5
4097 (eval "$ac_compile") 2>&5
4098 ac_status=$?
4099 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4100 test $ac_status = 0; }; then :
4101 for ac_file in conftest.o conftest.obj conftest.*; do
4102 test -f "$ac_file" || continue;
4103 case $ac_file in
4104 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4105 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4106 break;;
4107 esac
4108 done
4109 else
4110 $as_echo "$as_me: failed program was:" >&5
4111 sed 's/^/| /' conftest.$ac_ext >&5
4113 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4114 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4115 as_fn_error "cannot compute suffix of object files: cannot compile
4116 See \`config.log' for more details." "$LINENO" 5; }
4118 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4121 $as_echo "$ac_cv_objext" >&6; }
4122 OBJEXT=$ac_cv_objext
4123 ac_objext=$OBJEXT
4124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4125 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4126 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4127 $as_echo_n "(cached) " >&6
4128 else
4129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4130 /* end confdefs.h. */
4133 main ()
4135 #ifndef __GNUC__
4136 choke me
4137 #endif
4140 return 0;
4142 _ACEOF
4143 if ac_fn_c_try_compile "$LINENO"; then :
4144 ac_compiler_gnu=yes
4145 else
4146 ac_compiler_gnu=no
4148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4149 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4153 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4154 if test $ac_compiler_gnu = yes; then
4155 GCC=yes
4156 else
4157 GCC=
4159 ac_test_CFLAGS=${CFLAGS+set}
4160 ac_save_CFLAGS=$CFLAGS
4161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4162 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4163 if test "${ac_cv_prog_cc_g+set}" = set; then :
4164 $as_echo_n "(cached) " >&6
4165 else
4166 ac_save_c_werror_flag=$ac_c_werror_flag
4167 ac_c_werror_flag=yes
4168 ac_cv_prog_cc_g=no
4169 CFLAGS="-g"
4170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4171 /* end confdefs.h. */
4174 main ()
4178 return 0;
4180 _ACEOF
4181 if ac_fn_c_try_compile "$LINENO"; then :
4182 ac_cv_prog_cc_g=yes
4183 else
4184 CFLAGS=""
4185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4186 /* end confdefs.h. */
4189 main ()
4193 return 0;
4195 _ACEOF
4196 if ac_fn_c_try_compile "$LINENO"; then :
4198 else
4199 ac_c_werror_flag=$ac_save_c_werror_flag
4200 CFLAGS="-g"
4201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4202 /* end confdefs.h. */
4205 main ()
4209 return 0;
4211 _ACEOF
4212 if ac_fn_c_try_compile "$LINENO"; then :
4213 ac_cv_prog_cc_g=yes
4215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4220 ac_c_werror_flag=$ac_save_c_werror_flag
4222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4223 $as_echo "$ac_cv_prog_cc_g" >&6; }
4224 if test "$ac_test_CFLAGS" = set; then
4225 CFLAGS=$ac_save_CFLAGS
4226 elif test $ac_cv_prog_cc_g = yes; then
4227 if test "$GCC" = yes; then
4228 CFLAGS="-g -O2"
4229 else
4230 CFLAGS="-g"
4232 else
4233 if test "$GCC" = yes; then
4234 CFLAGS="-O2"
4235 else
4236 CFLAGS=
4239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4240 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4241 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4242 $as_echo_n "(cached) " >&6
4243 else
4244 ac_cv_prog_cc_c89=no
4245 ac_save_CC=$CC
4246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4247 /* end confdefs.h. */
4248 #include <stdarg.h>
4249 #include <stdio.h>
4250 #include <sys/types.h>
4251 #include <sys/stat.h>
4252 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4253 struct buf { int x; };
4254 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4255 static char *e (p, i)
4256 char **p;
4257 int i;
4259 return p[i];
4261 static char *f (char * (*g) (char **, int), char **p, ...)
4263 char *s;
4264 va_list v;
4265 va_start (v,p);
4266 s = g (p, va_arg (v,int));
4267 va_end (v);
4268 return s;
4271 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4272 function prototypes and stuff, but not '\xHH' hex character constants.
4273 These don't provoke an error unfortunately, instead are silently treated
4274 as 'x'. The following induces an error, until -std is added to get
4275 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4276 array size at least. It's necessary to write '\x00'==0 to get something
4277 that's true only with -std. */
4278 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4280 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4281 inside strings and character constants. */
4282 #define FOO(x) 'x'
4283 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4285 int test (int i, double x);
4286 struct s1 {int (*f) (int a);};
4287 struct s2 {int (*f) (double a);};
4288 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4289 int argc;
4290 char **argv;
4292 main ()
4294 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4296 return 0;
4298 _ACEOF
4299 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4300 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4302 CC="$ac_save_CC $ac_arg"
4303 if ac_fn_c_try_compile "$LINENO"; then :
4304 ac_cv_prog_cc_c89=$ac_arg
4306 rm -f core conftest.err conftest.$ac_objext
4307 test "x$ac_cv_prog_cc_c89" != "xno" && break
4308 done
4309 rm -f conftest.$ac_ext
4310 CC=$ac_save_CC
4313 # AC_CACHE_VAL
4314 case "x$ac_cv_prog_cc_c89" in
4316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4317 $as_echo "none needed" >&6; } ;;
4318 xno)
4319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4320 $as_echo "unsupported" >&6; } ;;
4322 CC="$CC $ac_cv_prog_cc_c89"
4323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4324 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4325 esac
4326 if test "x$ac_cv_prog_cc_c89" != xno; then :
4330 ac_ext=c
4331 ac_cpp='$CPP $CPPFLAGS'
4332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4336 depcc="$CC" am_compiler_list=
4338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4339 $as_echo_n "checking dependency style of $depcc... " >&6; }
4340 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4341 $as_echo_n "(cached) " >&6
4342 else
4343 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4344 # We make a subdir and do the tests there. Otherwise we can end up
4345 # making bogus files that we don't know about and never remove. For
4346 # instance it was reported that on HP-UX the gcc test will end up
4347 # making a dummy file named `D' -- because `-MD' means `put the output
4348 # in D'.
4349 rm -rf conftest.dir
4350 mkdir conftest.dir
4351 # Copy depcomp to subdir because otherwise we won't find it if we're
4352 # using a relative directory.
4353 cp "$am_depcomp" conftest.dir
4354 cd conftest.dir
4355 # We will build objects and dependencies in a subdirectory because
4356 # it helps to detect inapplicable dependency modes. For instance
4357 # both Tru64's cc and ICC support -MD to output dependencies as a
4358 # side effect of compilation, but ICC will put the dependencies in
4359 # the current directory while Tru64 will put them in the object
4360 # directory.
4361 mkdir sub
4363 am_cv_CC_dependencies_compiler_type=none
4364 if test "$am_compiler_list" = ""; then
4365 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4367 am__universal=false
4368 case " $depcc " in #(
4369 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4370 esac
4372 for depmode in $am_compiler_list; do
4373 # Setup a source with many dependencies, because some compilers
4374 # like to wrap large dependency lists on column 80 (with \), and
4375 # we should not choose a depcomp mode which is confused by this.
4377 # We need to recreate these files for each test, as the compiler may
4378 # overwrite some of them when testing with obscure command lines.
4379 # This happens at least with the AIX C compiler.
4380 : > sub/conftest.c
4381 for i in 1 2 3 4 5 6; do
4382 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4383 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4384 # Solaris 8's {/usr,}/bin/sh.
4385 touch sub/conftst$i.h
4386 done
4387 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4389 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4390 # mode. It turns out that the SunPro C++ compiler does not properly
4391 # handle `-M -o', and we need to detect this. Also, some Intel
4392 # versions had trouble with output in subdirs
4393 am__obj=sub/conftest.${OBJEXT-o}
4394 am__minus_obj="-o $am__obj"
4395 case $depmode in
4396 gcc)
4397 # This depmode causes a compiler race in universal mode.
4398 test "$am__universal" = false || continue
4400 nosideeffect)
4401 # after this tag, mechanisms are not by side-effect, so they'll
4402 # only be used when explicitly requested
4403 if test "x$enable_dependency_tracking" = xyes; then
4404 continue
4405 else
4406 break
4409 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4410 # This compiler won't grok `-c -o', but also, the minuso test has
4411 # not run yet. These depmodes are late enough in the game, and
4412 # so weak that their functioning should not be impacted.
4413 am__obj=conftest.${OBJEXT-o}
4414 am__minus_obj=
4416 none) break ;;
4417 esac
4418 if depmode=$depmode \
4419 source=sub/conftest.c object=$am__obj \
4420 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4421 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4422 >/dev/null 2>conftest.err &&
4423 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4424 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4425 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4426 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4427 # icc doesn't choke on unknown options, it will just issue warnings
4428 # or remarks (even with -Werror). So we grep stderr for any message
4429 # that says an option was ignored or not supported.
4430 # When given -MP, icc 7.0 and 7.1 complain thusly:
4431 # icc: Command line warning: ignoring option '-M'; no argument required
4432 # The diagnosis changed in icc 8.0:
4433 # icc: Command line remark: option '-MP' not supported
4434 if (grep 'ignoring option' conftest.err ||
4435 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4436 am_cv_CC_dependencies_compiler_type=$depmode
4437 break
4440 done
4442 cd ..
4443 rm -rf conftest.dir
4444 else
4445 am_cv_CC_dependencies_compiler_type=none
4449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4450 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4451 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4454 test "x$enable_dependency_tracking" != xno \
4455 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4456 am__fastdepCC_TRUE=
4457 am__fastdepCC_FALSE='#'
4458 else
4459 am__fastdepCC_TRUE='#'
4460 am__fastdepCC_FALSE=
4465 ac_ext=c
4466 ac_cpp='$CPP $CPPFLAGS'
4467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4471 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4472 # On Suns, sometimes $CPP names a directory.
4473 if test -n "$CPP" && test -d "$CPP"; then
4474 CPP=
4476 if test -z "$CPP"; then
4477 if test "${ac_cv_prog_CPP+set}" = set; then :
4478 $as_echo_n "(cached) " >&6
4479 else
4480 # Double quotes because CPP needs to be expanded
4481 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4483 ac_preproc_ok=false
4484 for ac_c_preproc_warn_flag in '' yes
4486 # Use a header file that comes with gcc, so configuring glibc
4487 # with a fresh cross-compiler works.
4488 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4489 # <limits.h> exists even on freestanding compilers.
4490 # On the NeXT, cc -E runs the code through the compiler's parser,
4491 # not just through cpp. "Syntax error" is here to catch this case.
4492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4493 /* end confdefs.h. */
4494 #ifdef __STDC__
4495 # include <limits.h>
4496 #else
4497 # include <assert.h>
4498 #endif
4499 Syntax error
4500 _ACEOF
4501 if ac_fn_c_try_cpp "$LINENO"; then :
4503 else
4504 # Broken: fails on valid input.
4505 continue
4507 rm -f conftest.err conftest.$ac_ext
4509 # OK, works on sane cases. Now check whether nonexistent headers
4510 # can be detected and how.
4511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4512 /* end confdefs.h. */
4513 #include <ac_nonexistent.h>
4514 _ACEOF
4515 if ac_fn_c_try_cpp "$LINENO"; then :
4516 # Broken: success on invalid input.
4517 continue
4518 else
4519 # Passes both tests.
4520 ac_preproc_ok=:
4521 break
4523 rm -f conftest.err conftest.$ac_ext
4525 done
4526 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4527 rm -f conftest.err conftest.$ac_ext
4528 if $ac_preproc_ok; then :
4529 break
4532 done
4533 ac_cv_prog_CPP=$CPP
4536 CPP=$ac_cv_prog_CPP
4537 else
4538 ac_cv_prog_CPP=$CPP
4540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4541 $as_echo "$CPP" >&6; }
4542 ac_preproc_ok=false
4543 for ac_c_preproc_warn_flag in '' yes
4545 # Use a header file that comes with gcc, so configuring glibc
4546 # with a fresh cross-compiler works.
4547 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4548 # <limits.h> exists even on freestanding compilers.
4549 # On the NeXT, cc -E runs the code through the compiler's parser,
4550 # not just through cpp. "Syntax error" is here to catch this case.
4551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4552 /* end confdefs.h. */
4553 #ifdef __STDC__
4554 # include <limits.h>
4555 #else
4556 # include <assert.h>
4557 #endif
4558 Syntax error
4559 _ACEOF
4560 if ac_fn_c_try_cpp "$LINENO"; then :
4562 else
4563 # Broken: fails on valid input.
4564 continue
4566 rm -f conftest.err conftest.$ac_ext
4568 # OK, works on sane cases. Now check whether nonexistent headers
4569 # can be detected and how.
4570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4571 /* end confdefs.h. */
4572 #include <ac_nonexistent.h>
4573 _ACEOF
4574 if ac_fn_c_try_cpp "$LINENO"; then :
4575 # Broken: success on invalid input.
4576 continue
4577 else
4578 # Passes both tests.
4579 ac_preproc_ok=:
4580 break
4582 rm -f conftest.err conftest.$ac_ext
4584 done
4585 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4586 rm -f conftest.err conftest.$ac_ext
4587 if $ac_preproc_ok; then :
4589 else
4590 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4591 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4592 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4593 See \`config.log' for more details." "$LINENO" 5; }
4596 ac_ext=c
4597 ac_cpp='$CPP $CPPFLAGS'
4598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4604 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4605 if test "${ac_cv_path_GREP+set}" = set; then :
4606 $as_echo_n "(cached) " >&6
4607 else
4608 if test -z "$GREP"; then
4609 ac_path_GREP_found=false
4610 # Loop through the user's path and test for each of PROGNAME-LIST
4611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4612 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4614 IFS=$as_save_IFS
4615 test -z "$as_dir" && as_dir=.
4616 for ac_prog in grep ggrep; do
4617 for ac_exec_ext in '' $ac_executable_extensions; do
4618 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4619 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4620 # Check for GNU ac_path_GREP and select it if it is found.
4621 # Check for GNU $ac_path_GREP
4622 case `"$ac_path_GREP" --version 2>&1` in
4623 *GNU*)
4624 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4626 ac_count=0
4627 $as_echo_n 0123456789 >"conftest.in"
4628 while :
4630 cat "conftest.in" "conftest.in" >"conftest.tmp"
4631 mv "conftest.tmp" "conftest.in"
4632 cp "conftest.in" "conftest.nl"
4633 $as_echo 'GREP' >> "conftest.nl"
4634 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4635 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4636 as_fn_arith $ac_count + 1 && ac_count=$as_val
4637 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4638 # Best one so far, save it but keep looking for a better one
4639 ac_cv_path_GREP="$ac_path_GREP"
4640 ac_path_GREP_max=$ac_count
4642 # 10*(2^10) chars as input seems more than enough
4643 test $ac_count -gt 10 && break
4644 done
4645 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4646 esac
4648 $ac_path_GREP_found && break 3
4649 done
4650 done
4651 done
4652 IFS=$as_save_IFS
4653 if test -z "$ac_cv_path_GREP"; then
4654 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4656 else
4657 ac_cv_path_GREP=$GREP
4661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4662 $as_echo "$ac_cv_path_GREP" >&6; }
4663 GREP="$ac_cv_path_GREP"
4666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4667 $as_echo_n "checking for egrep... " >&6; }
4668 if test "${ac_cv_path_EGREP+set}" = set; then :
4669 $as_echo_n "(cached) " >&6
4670 else
4671 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4672 then ac_cv_path_EGREP="$GREP -E"
4673 else
4674 if test -z "$EGREP"; then
4675 ac_path_EGREP_found=false
4676 # Loop through the user's path and test for each of PROGNAME-LIST
4677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4678 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4680 IFS=$as_save_IFS
4681 test -z "$as_dir" && as_dir=.
4682 for ac_prog in egrep; do
4683 for ac_exec_ext in '' $ac_executable_extensions; do
4684 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4685 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4686 # Check for GNU ac_path_EGREP and select it if it is found.
4687 # Check for GNU $ac_path_EGREP
4688 case `"$ac_path_EGREP" --version 2>&1` in
4689 *GNU*)
4690 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4692 ac_count=0
4693 $as_echo_n 0123456789 >"conftest.in"
4694 while :
4696 cat "conftest.in" "conftest.in" >"conftest.tmp"
4697 mv "conftest.tmp" "conftest.in"
4698 cp "conftest.in" "conftest.nl"
4699 $as_echo 'EGREP' >> "conftest.nl"
4700 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4701 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4702 as_fn_arith $ac_count + 1 && ac_count=$as_val
4703 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4704 # Best one so far, save it but keep looking for a better one
4705 ac_cv_path_EGREP="$ac_path_EGREP"
4706 ac_path_EGREP_max=$ac_count
4708 # 10*(2^10) chars as input seems more than enough
4709 test $ac_count -gt 10 && break
4710 done
4711 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4712 esac
4714 $ac_path_EGREP_found && break 3
4715 done
4716 done
4717 done
4718 IFS=$as_save_IFS
4719 if test -z "$ac_cv_path_EGREP"; then
4720 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4722 else
4723 ac_cv_path_EGREP=$EGREP
4728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4729 $as_echo "$ac_cv_path_EGREP" >&6; }
4730 EGREP="$ac_cv_path_EGREP"
4733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4734 $as_echo_n "checking for ANSI C header files... " >&6; }
4735 if test "${ac_cv_header_stdc+set}" = set; then :
4736 $as_echo_n "(cached) " >&6
4737 else
4738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4739 /* end confdefs.h. */
4740 #include <stdlib.h>
4741 #include <stdarg.h>
4742 #include <string.h>
4743 #include <float.h>
4746 main ()
4750 return 0;
4752 _ACEOF
4753 if ac_fn_c_try_compile "$LINENO"; then :
4754 ac_cv_header_stdc=yes
4755 else
4756 ac_cv_header_stdc=no
4758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4760 if test $ac_cv_header_stdc = yes; then
4761 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4763 /* end confdefs.h. */
4764 #include <string.h>
4766 _ACEOF
4767 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4768 $EGREP "memchr" >/dev/null 2>&1; then :
4770 else
4771 ac_cv_header_stdc=no
4773 rm -f conftest*
4777 if test $ac_cv_header_stdc = yes; then
4778 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4780 /* end confdefs.h. */
4781 #include <stdlib.h>
4783 _ACEOF
4784 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4785 $EGREP "free" >/dev/null 2>&1; then :
4787 else
4788 ac_cv_header_stdc=no
4790 rm -f conftest*
4794 if test $ac_cv_header_stdc = yes; then
4795 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4796 if test "$cross_compiling" = yes; then :
4798 else
4799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4800 /* end confdefs.h. */
4801 #include <ctype.h>
4802 #include <stdlib.h>
4803 #if ((' ' & 0x0FF) == 0x020)
4804 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4805 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4806 #else
4807 # define ISLOWER(c) \
4808 (('a' <= (c) && (c) <= 'i') \
4809 || ('j' <= (c) && (c) <= 'r') \
4810 || ('s' <= (c) && (c) <= 'z'))
4811 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4812 #endif
4814 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4816 main ()
4818 int i;
4819 for (i = 0; i < 256; i++)
4820 if (XOR (islower (i), ISLOWER (i))
4821 || toupper (i) != TOUPPER (i))
4822 return 2;
4823 return 0;
4825 _ACEOF
4826 if ac_fn_c_try_run "$LINENO"; then :
4828 else
4829 ac_cv_header_stdc=no
4831 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4832 conftest.$ac_objext conftest.beam conftest.$ac_ext
4837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4838 $as_echo "$ac_cv_header_stdc" >&6; }
4839 if test $ac_cv_header_stdc = yes; then
4841 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4845 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4846 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4847 inttypes.h stdint.h unistd.h
4848 do :
4849 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4850 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4852 eval as_val=\$$as_ac_Header
4853 if test "x$as_val" = x""yes; then :
4854 cat >>confdefs.h <<_ACEOF
4855 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4856 _ACEOF
4860 done
4864 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4865 if test "x$ac_cv_header_minix_config_h" = x""yes; then :
4866 MINIX=yes
4867 else
4868 MINIX=
4872 if test "$MINIX" = yes; then
4874 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4877 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4880 $as_echo "#define _MINIX 1" >>confdefs.h
4885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4886 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4887 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
4888 $as_echo_n "(cached) " >&6
4889 else
4890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4891 /* end confdefs.h. */
4893 # define __EXTENSIONS__ 1
4894 $ac_includes_default
4896 main ()
4900 return 0;
4902 _ACEOF
4903 if ac_fn_c_try_compile "$LINENO"; then :
4904 ac_cv_safe_to_define___extensions__=yes
4905 else
4906 ac_cv_safe_to_define___extensions__=no
4908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4911 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4912 test $ac_cv_safe_to_define___extensions__ = yes &&
4913 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4915 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4917 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4919 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4921 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4925 # Calculate toolexeclibdir
4926 # Also toolexecdir, though it's only used in toolexeclibdir
4927 case ${version_specific_libs} in
4928 yes)
4929 # Need the gcc compiler version to know where to install libraries
4930 # and header files if --enable-version-specific-runtime-libs option
4931 # is selected.
4932 toolexecdir='$(libdir)/gcc/$(target_alias)'
4933 toolexeclibdir='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
4936 if test -n "$with_cross_host" &&
4937 test x"$with_cross_host" != x"no"; then
4938 # Install a library built with a cross compiler in tooldir, not libdir.
4939 toolexecdir='$(exec_prefix)/$(target_alias)'
4940 toolexeclibdir='$(toolexecdir)/lib'
4941 else
4942 toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
4943 toolexeclibdir='$(libdir)'
4945 multi_os_directory=`$CC -print-multi-os-directory`
4946 case $multi_os_directory in
4947 .) ;; # Avoid trailing /.
4948 *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;
4949 esac
4951 esac
4955 # Create a spec file, so that compile/link tests don't fail
4956 test -f libgfortran.spec || touch libgfortran.spec
4958 ac_ext=c
4959 ac_cpp='$CPP $CPPFLAGS'
4960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4964 # Check the compiler.
4965 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
4966 # We must force CC to /not/ be precious variables; otherwise
4967 # the wrong, non-multilib-adjusted value will be used in multilibs.
4968 # As a side effect, we have to subst CFLAGS ourselves.
4972 ac_ext=c
4973 ac_cpp='$CPP $CPPFLAGS'
4974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4977 if test -n "$ac_tool_prefix"; then
4978 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4979 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4981 $as_echo_n "checking for $ac_word... " >&6; }
4982 if test "${ac_cv_prog_CC+set}" = set; then :
4983 $as_echo_n "(cached) " >&6
4984 else
4985 if test -n "$CC"; then
4986 ac_cv_prog_CC="$CC" # Let the user override the test.
4987 else
4988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4989 for as_dir in $PATH
4991 IFS=$as_save_IFS
4992 test -z "$as_dir" && as_dir=.
4993 for ac_exec_ext in '' $ac_executable_extensions; do
4994 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4995 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4996 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4997 break 2
4999 done
5000 done
5001 IFS=$as_save_IFS
5005 CC=$ac_cv_prog_CC
5006 if test -n "$CC"; then
5007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5008 $as_echo "$CC" >&6; }
5009 else
5010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5011 $as_echo "no" >&6; }
5016 if test -z "$ac_cv_prog_CC"; then
5017 ac_ct_CC=$CC
5018 # Extract the first word of "gcc", so it can be a program name with args.
5019 set dummy gcc; ac_word=$2
5020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5021 $as_echo_n "checking for $ac_word... " >&6; }
5022 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
5023 $as_echo_n "(cached) " >&6
5024 else
5025 if test -n "$ac_ct_CC"; then
5026 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5027 else
5028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5029 for as_dir in $PATH
5031 IFS=$as_save_IFS
5032 test -z "$as_dir" && as_dir=.
5033 for ac_exec_ext in '' $ac_executable_extensions; do
5034 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5035 ac_cv_prog_ac_ct_CC="gcc"
5036 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5037 break 2
5039 done
5040 done
5041 IFS=$as_save_IFS
5045 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5046 if test -n "$ac_ct_CC"; then
5047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5048 $as_echo "$ac_ct_CC" >&6; }
5049 else
5050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5051 $as_echo "no" >&6; }
5054 if test "x$ac_ct_CC" = x; then
5055 CC=""
5056 else
5057 case $cross_compiling:$ac_tool_warned in
5058 yes:)
5059 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5060 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5061 ac_tool_warned=yes ;;
5062 esac
5063 CC=$ac_ct_CC
5065 else
5066 CC="$ac_cv_prog_CC"
5069 if test -z "$CC"; then
5070 if test -n "$ac_tool_prefix"; then
5071 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5072 set dummy ${ac_tool_prefix}cc; ac_word=$2
5073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5074 $as_echo_n "checking for $ac_word... " >&6; }
5075 if test "${ac_cv_prog_CC+set}" = set; then :
5076 $as_echo_n "(cached) " >&6
5077 else
5078 if test -n "$CC"; then
5079 ac_cv_prog_CC="$CC" # Let the user override the test.
5080 else
5081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5082 for as_dir in $PATH
5084 IFS=$as_save_IFS
5085 test -z "$as_dir" && as_dir=.
5086 for ac_exec_ext in '' $ac_executable_extensions; do
5087 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5088 ac_cv_prog_CC="${ac_tool_prefix}cc"
5089 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5090 break 2
5092 done
5093 done
5094 IFS=$as_save_IFS
5098 CC=$ac_cv_prog_CC
5099 if test -n "$CC"; then
5100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5101 $as_echo "$CC" >&6; }
5102 else
5103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5104 $as_echo "no" >&6; }
5110 if test -z "$CC"; then
5111 # Extract the first word of "cc", so it can be a program name with args.
5112 set dummy cc; ac_word=$2
5113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5114 $as_echo_n "checking for $ac_word... " >&6; }
5115 if test "${ac_cv_prog_CC+set}" = set; then :
5116 $as_echo_n "(cached) " >&6
5117 else
5118 if test -n "$CC"; then
5119 ac_cv_prog_CC="$CC" # Let the user override the test.
5120 else
5121 ac_prog_rejected=no
5122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5123 for as_dir in $PATH
5125 IFS=$as_save_IFS
5126 test -z "$as_dir" && as_dir=.
5127 for ac_exec_ext in '' $ac_executable_extensions; do
5128 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5129 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5130 ac_prog_rejected=yes
5131 continue
5133 ac_cv_prog_CC="cc"
5134 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5135 break 2
5137 done
5138 done
5139 IFS=$as_save_IFS
5141 if test $ac_prog_rejected = yes; then
5142 # We found a bogon in the path, so make sure we never use it.
5143 set dummy $ac_cv_prog_CC
5144 shift
5145 if test $# != 0; then
5146 # We chose a different compiler from the bogus one.
5147 # However, it has the same basename, so the bogon will be chosen
5148 # first if we set CC to just the basename; use the full file name.
5149 shift
5150 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
5155 CC=$ac_cv_prog_CC
5156 if test -n "$CC"; then
5157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5158 $as_echo "$CC" >&6; }
5159 else
5160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5161 $as_echo "no" >&6; }
5166 if test -z "$CC"; then
5167 if test -n "$ac_tool_prefix"; then
5168 for ac_prog in cl.exe
5170 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5171 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5173 $as_echo_n "checking for $ac_word... " >&6; }
5174 if test "${ac_cv_prog_CC+set}" = set; then :
5175 $as_echo_n "(cached) " >&6
5176 else
5177 if test -n "$CC"; then
5178 ac_cv_prog_CC="$CC" # Let the user override the test.
5179 else
5180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5181 for as_dir in $PATH
5183 IFS=$as_save_IFS
5184 test -z "$as_dir" && as_dir=.
5185 for ac_exec_ext in '' $ac_executable_extensions; do
5186 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5187 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
5188 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5189 break 2
5191 done
5192 done
5193 IFS=$as_save_IFS
5197 CC=$ac_cv_prog_CC
5198 if test -n "$CC"; then
5199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5200 $as_echo "$CC" >&6; }
5201 else
5202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5203 $as_echo "no" >&6; }
5207 test -n "$CC" && break
5208 done
5210 if test -z "$CC"; then
5211 ac_ct_CC=$CC
5212 for ac_prog in cl.exe
5214 # Extract the first word of "$ac_prog", so it can be a program name with args.
5215 set dummy $ac_prog; ac_word=$2
5216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5217 $as_echo_n "checking for $ac_word... " >&6; }
5218 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
5219 $as_echo_n "(cached) " >&6
5220 else
5221 if test -n "$ac_ct_CC"; then
5222 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5223 else
5224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5225 for as_dir in $PATH
5227 IFS=$as_save_IFS
5228 test -z "$as_dir" && as_dir=.
5229 for ac_exec_ext in '' $ac_executable_extensions; do
5230 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5231 ac_cv_prog_ac_ct_CC="$ac_prog"
5232 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5233 break 2
5235 done
5236 done
5237 IFS=$as_save_IFS
5241 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5242 if test -n "$ac_ct_CC"; then
5243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5244 $as_echo "$ac_ct_CC" >&6; }
5245 else
5246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5247 $as_echo "no" >&6; }
5251 test -n "$ac_ct_CC" && break
5252 done
5254 if test "x$ac_ct_CC" = x; then
5255 CC=""
5256 else
5257 case $cross_compiling:$ac_tool_warned in
5258 yes:)
5259 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5260 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5261 ac_tool_warned=yes ;;
5262 esac
5263 CC=$ac_ct_CC
5270 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5271 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5272 as_fn_error "no acceptable C compiler found in \$PATH
5273 See \`config.log' for more details." "$LINENO" 5; }
5275 # Provide some information about the compiler.
5276 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5277 set X $ac_compile
5278 ac_compiler=$2
5279 for ac_option in --version -v -V -qversion; do
5280 { { ac_try="$ac_compiler $ac_option >&5"
5281 case "(($ac_try" in
5282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5283 *) ac_try_echo=$ac_try;;
5284 esac
5285 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5286 $as_echo "$ac_try_echo"; } >&5
5287 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5288 ac_status=$?
5289 if test -s conftest.err; then
5290 sed '10a\
5291 ... rest of stderr output deleted ...
5292 10q' conftest.err >conftest.er1
5293 cat conftest.er1 >&5
5294 rm -f conftest.er1 conftest.err
5296 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5297 test $ac_status = 0; }
5298 done
5300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5301 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5302 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
5303 $as_echo_n "(cached) " >&6
5304 else
5305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5306 /* end confdefs.h. */
5309 main ()
5311 #ifndef __GNUC__
5312 choke me
5313 #endif
5316 return 0;
5318 _ACEOF
5319 if ac_fn_c_try_compile "$LINENO"; then :
5320 ac_compiler_gnu=yes
5321 else
5322 ac_compiler_gnu=no
5324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5325 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5329 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5330 if test $ac_compiler_gnu = yes; then
5331 GCC=yes
5332 else
5333 GCC=
5335 ac_test_CFLAGS=${CFLAGS+set}
5336 ac_save_CFLAGS=$CFLAGS
5337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5338 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5339 if test "${ac_cv_prog_cc_g+set}" = set; then :
5340 $as_echo_n "(cached) " >&6
5341 else
5342 ac_save_c_werror_flag=$ac_c_werror_flag
5343 ac_c_werror_flag=yes
5344 ac_cv_prog_cc_g=no
5345 CFLAGS="-g"
5346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5347 /* end confdefs.h. */
5350 main ()
5354 return 0;
5356 _ACEOF
5357 if ac_fn_c_try_compile "$LINENO"; then :
5358 ac_cv_prog_cc_g=yes
5359 else
5360 CFLAGS=""
5361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5362 /* end confdefs.h. */
5365 main ()
5369 return 0;
5371 _ACEOF
5372 if ac_fn_c_try_compile "$LINENO"; then :
5374 else
5375 ac_c_werror_flag=$ac_save_c_werror_flag
5376 CFLAGS="-g"
5377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5378 /* end confdefs.h. */
5381 main ()
5385 return 0;
5387 _ACEOF
5388 if ac_fn_c_try_compile "$LINENO"; then :
5389 ac_cv_prog_cc_g=yes
5391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5396 ac_c_werror_flag=$ac_save_c_werror_flag
5398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5399 $as_echo "$ac_cv_prog_cc_g" >&6; }
5400 if test "$ac_test_CFLAGS" = set; then
5401 CFLAGS=$ac_save_CFLAGS
5402 elif test $ac_cv_prog_cc_g = yes; then
5403 if test "$GCC" = yes; then
5404 CFLAGS="-g -O2"
5405 else
5406 CFLAGS="-g"
5408 else
5409 if test "$GCC" = yes; then
5410 CFLAGS="-O2"
5411 else
5412 CFLAGS=
5415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5416 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5417 if test "${ac_cv_prog_cc_c89+set}" = set; then :
5418 $as_echo_n "(cached) " >&6
5419 else
5420 ac_cv_prog_cc_c89=no
5421 ac_save_CC=$CC
5422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5423 /* end confdefs.h. */
5424 #include <stdarg.h>
5425 #include <stdio.h>
5426 #include <sys/types.h>
5427 #include <sys/stat.h>
5428 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5429 struct buf { int x; };
5430 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5431 static char *e (p, i)
5432 char **p;
5433 int i;
5435 return p[i];
5437 static char *f (char * (*g) (char **, int), char **p, ...)
5439 char *s;
5440 va_list v;
5441 va_start (v,p);
5442 s = g (p, va_arg (v,int));
5443 va_end (v);
5444 return s;
5447 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5448 function prototypes and stuff, but not '\xHH' hex character constants.
5449 These don't provoke an error unfortunately, instead are silently treated
5450 as 'x'. The following induces an error, until -std is added to get
5451 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5452 array size at least. It's necessary to write '\x00'==0 to get something
5453 that's true only with -std. */
5454 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5456 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5457 inside strings and character constants. */
5458 #define FOO(x) 'x'
5459 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5461 int test (int i, double x);
5462 struct s1 {int (*f) (int a);};
5463 struct s2 {int (*f) (double a);};
5464 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5465 int argc;
5466 char **argv;
5468 main ()
5470 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5472 return 0;
5474 _ACEOF
5475 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5476 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5478 CC="$ac_save_CC $ac_arg"
5479 if ac_fn_c_try_compile "$LINENO"; then :
5480 ac_cv_prog_cc_c89=$ac_arg
5482 rm -f core conftest.err conftest.$ac_objext
5483 test "x$ac_cv_prog_cc_c89" != "xno" && break
5484 done
5485 rm -f conftest.$ac_ext
5486 CC=$ac_save_CC
5489 # AC_CACHE_VAL
5490 case "x$ac_cv_prog_cc_c89" in
5492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5493 $as_echo "none needed" >&6; } ;;
5494 xno)
5495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5496 $as_echo "unsupported" >&6; } ;;
5498 CC="$CC $ac_cv_prog_cc_c89"
5499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5500 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5501 esac
5502 if test "x$ac_cv_prog_cc_c89" != xno; then :
5506 ac_ext=c
5507 ac_cpp='$CPP $CPPFLAGS'
5508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5512 depcc="$CC" am_compiler_list=
5514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5515 $as_echo_n "checking dependency style of $depcc... " >&6; }
5516 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
5517 $as_echo_n "(cached) " >&6
5518 else
5519 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5520 # We make a subdir and do the tests there. Otherwise we can end up
5521 # making bogus files that we don't know about and never remove. For
5522 # instance it was reported that on HP-UX the gcc test will end up
5523 # making a dummy file named `D' -- because `-MD' means `put the output
5524 # in D'.
5525 rm -rf conftest.dir
5526 mkdir conftest.dir
5527 # Copy depcomp to subdir because otherwise we won't find it if we're
5528 # using a relative directory.
5529 cp "$am_depcomp" conftest.dir
5530 cd conftest.dir
5531 # We will build objects and dependencies in a subdirectory because
5532 # it helps to detect inapplicable dependency modes. For instance
5533 # both Tru64's cc and ICC support -MD to output dependencies as a
5534 # side effect of compilation, but ICC will put the dependencies in
5535 # the current directory while Tru64 will put them in the object
5536 # directory.
5537 mkdir sub
5539 am_cv_CC_dependencies_compiler_type=none
5540 if test "$am_compiler_list" = ""; then
5541 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5543 am__universal=false
5544 case " $depcc " in #(
5545 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5546 esac
5548 for depmode in $am_compiler_list; do
5549 # Setup a source with many dependencies, because some compilers
5550 # like to wrap large dependency lists on column 80 (with \), and
5551 # we should not choose a depcomp mode which is confused by this.
5553 # We need to recreate these files for each test, as the compiler may
5554 # overwrite some of them when testing with obscure command lines.
5555 # This happens at least with the AIX C compiler.
5556 : > sub/conftest.c
5557 for i in 1 2 3 4 5 6; do
5558 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5559 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5560 # Solaris 8's {/usr,}/bin/sh.
5561 touch sub/conftst$i.h
5562 done
5563 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5565 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5566 # mode. It turns out that the SunPro C++ compiler does not properly
5567 # handle `-M -o', and we need to detect this. Also, some Intel
5568 # versions had trouble with output in subdirs
5569 am__obj=sub/conftest.${OBJEXT-o}
5570 am__minus_obj="-o $am__obj"
5571 case $depmode in
5572 gcc)
5573 # This depmode causes a compiler race in universal mode.
5574 test "$am__universal" = false || continue
5576 nosideeffect)
5577 # after this tag, mechanisms are not by side-effect, so they'll
5578 # only be used when explicitly requested
5579 if test "x$enable_dependency_tracking" = xyes; then
5580 continue
5581 else
5582 break
5585 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5586 # This compiler won't grok `-c -o', but also, the minuso test has
5587 # not run yet. These depmodes are late enough in the game, and
5588 # so weak that their functioning should not be impacted.
5589 am__obj=conftest.${OBJEXT-o}
5590 am__minus_obj=
5592 none) break ;;
5593 esac
5594 if depmode=$depmode \
5595 source=sub/conftest.c object=$am__obj \
5596 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5597 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5598 >/dev/null 2>conftest.err &&
5599 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5600 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5601 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5602 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5603 # icc doesn't choke on unknown options, it will just issue warnings
5604 # or remarks (even with -Werror). So we grep stderr for any message
5605 # that says an option was ignored or not supported.
5606 # When given -MP, icc 7.0 and 7.1 complain thusly:
5607 # icc: Command line warning: ignoring option '-M'; no argument required
5608 # The diagnosis changed in icc 8.0:
5609 # icc: Command line remark: option '-MP' not supported
5610 if (grep 'ignoring option' conftest.err ||
5611 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5612 am_cv_CC_dependencies_compiler_type=$depmode
5613 break
5616 done
5618 cd ..
5619 rm -rf conftest.dir
5620 else
5621 am_cv_CC_dependencies_compiler_type=none
5625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5626 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5627 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5630 test "x$enable_dependency_tracking" != xno \
5631 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5632 am__fastdepCC_TRUE=
5633 am__fastdepCC_FALSE='#'
5634 else
5635 am__fastdepCC_TRUE='#'
5636 am__fastdepCC_FALSE=
5644 if test "x$CC" != xcc; then
5645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
5646 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
5647 else
5648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
5649 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
5651 set dummy $CC; ac_cc=`$as_echo "$2" |
5652 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5653 if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
5654 $as_echo_n "(cached) " >&6
5655 else
5656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5657 /* end confdefs.h. */
5660 main ()
5664 return 0;
5666 _ACEOF
5667 # Make sure it works both with $CC and with simple cc.
5668 # We do the test twice because some compilers refuse to overwrite an
5669 # existing .o file with -o, though they will create one.
5670 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5671 rm -f conftest2.*
5672 if { { case "(($ac_try" in
5673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5674 *) ac_try_echo=$ac_try;;
5675 esac
5676 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5677 $as_echo "$ac_try_echo"; } >&5
5678 (eval "$ac_try") 2>&5
5679 ac_status=$?
5680 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5681 test $ac_status = 0; } &&
5682 test -f conftest2.$ac_objext && { { case "(($ac_try" in
5683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5684 *) ac_try_echo=$ac_try;;
5685 esac
5686 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5687 $as_echo "$ac_try_echo"; } >&5
5688 (eval "$ac_try") 2>&5
5689 ac_status=$?
5690 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5691 test $ac_status = 0; };
5692 then
5693 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
5694 if test "x$CC" != xcc; then
5695 # Test first that cc exists at all.
5696 if { ac_try='cc -c conftest.$ac_ext >&5'
5697 { { case "(($ac_try" in
5698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5699 *) ac_try_echo=$ac_try;;
5700 esac
5701 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5702 $as_echo "$ac_try_echo"; } >&5
5703 (eval "$ac_try") 2>&5
5704 ac_status=$?
5705 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5706 test $ac_status = 0; }; }; then
5707 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5708 rm -f conftest2.*
5709 if { { case "(($ac_try" in
5710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5711 *) ac_try_echo=$ac_try;;
5712 esac
5713 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5714 $as_echo "$ac_try_echo"; } >&5
5715 (eval "$ac_try") 2>&5
5716 ac_status=$?
5717 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5718 test $ac_status = 0; } &&
5719 test -f conftest2.$ac_objext && { { case "(($ac_try" in
5720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5721 *) ac_try_echo=$ac_try;;
5722 esac
5723 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5724 $as_echo "$ac_try_echo"; } >&5
5725 (eval "$ac_try") 2>&5
5726 ac_status=$?
5727 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5728 test $ac_status = 0; };
5729 then
5730 # cc works too.
5732 else
5733 # cc exists but doesn't like -o.
5734 eval ac_cv_prog_cc_${ac_cc}_c_o=no
5738 else
5739 eval ac_cv_prog_cc_${ac_cc}_c_o=no
5741 rm -f core conftest*
5744 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
5745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5746 $as_echo "yes" >&6; }
5747 else
5748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5749 $as_echo "no" >&6; }
5751 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
5755 # FIXME: we rely on the cache variable name because
5756 # there is no other way.
5757 set dummy $CC
5758 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5759 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
5760 if test "$am_t" != yes; then
5761 # Losing compiler, so override with the script.
5762 # FIXME: It is wrong to rewrite CC.
5763 # But if we don't then we get into trouble of one sort or another.
5764 # A longer-term fix would be to have automake use am__CC in this case,
5765 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5766 CC="$am_aux_dir/compile $CC"
5771 # Add -Wall -fno-repack-arrays -fno-underscoring if we are using GCC.
5772 if test "x$GCC" = "xyes"; then
5773 AM_FCFLAGS="-I . -Wall -Werror -fimplicit-none -fno-repack-arrays -fno-underscoring"
5774 ## We like to use C11 and C99 routines when available. This makes
5775 ## sure that
5776 ## __STDC_VERSION__ is set such that libc includes make them available.
5777 AM_CFLAGS="-std=gnu11 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings"
5778 ## Compile the following tests with the same system header contents
5779 ## that we'll encounter when compiling our own source files.
5780 CFLAGS="-std=gnu11 $CFLAGS"
5786 # Check for symbol versioning (copied from libssp).
5787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether symbol versioning is supported" >&5
5788 $as_echo_n "checking whether symbol versioning is supported... " >&6; }
5789 # Check whether --enable-symvers was given.
5790 if test "${enable_symvers+set}" = set; then :
5791 enableval=$enable_symvers; gfortran_use_symver=$enableval
5792 else
5793 gfortran_use_symver=yes
5796 if test "x$gfortran_use_symver" != xno; then
5797 save_LDFLAGS="$LDFLAGS"
5798 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,--version-script,./conftest.map"
5799 cat > conftest.map <<EOF
5800 FOO_1.0 {
5801 global: *foo*; bar; local: *;
5804 if test x$gcc_no_link = xyes; then
5805 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
5807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5808 /* end confdefs.h. */
5809 int foo;
5811 main ()
5815 return 0;
5817 _ACEOF
5818 if ac_fn_c_try_link "$LINENO"; then :
5819 gfortran_use_symver=gnu
5820 else
5821 gfortran_use_symver=no
5823 rm -f core conftest.err conftest.$ac_objext \
5824 conftest$ac_exeext conftest.$ac_ext
5825 if test x$gfortran_use_symver = xno; then
5826 case "$target_os" in
5827 solaris2*)
5828 LDFLAGS="$save_LDFLAGS"
5829 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,-M,./conftest.map"
5830 # Sun ld cannot handle wildcards and treats all entries as undefined.
5831 cat > conftest.map <<EOF
5832 FOO_1.0 {
5833 global: foo; local: *;
5836 if test x$gcc_no_link = xyes; then
5837 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
5839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5840 /* end confdefs.h. */
5841 int foo;
5843 main ()
5847 return 0;
5849 _ACEOF
5850 if ac_fn_c_try_link "$LINENO"; then :
5851 gfortran_use_symver=sun
5852 else
5853 gfortran_use_symver=no
5855 rm -f core conftest.err conftest.$ac_objext \
5856 conftest$ac_exeext conftest.$ac_ext
5858 esac
5860 LDFLAGS="$save_LDFLAGS"
5862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gfortran_use_symver" >&5
5863 $as_echo "$gfortran_use_symver" >&6; }
5864 if test "x$gfortran_use_symver" != xno; then
5865 LIBGFOR_USE_SYMVER_TRUE=
5866 LIBGFOR_USE_SYMVER_FALSE='#'
5867 else
5868 LIBGFOR_USE_SYMVER_TRUE='#'
5869 LIBGFOR_USE_SYMVER_FALSE=
5872 if test "x$gfortran_use_symver" = xgnu; then
5873 LIBGFOR_USE_SYMVER_GNU_TRUE=
5874 LIBGFOR_USE_SYMVER_GNU_FALSE='#'
5875 else
5876 LIBGFOR_USE_SYMVER_GNU_TRUE='#'
5877 LIBGFOR_USE_SYMVER_GNU_FALSE=
5880 if test "x$gfortran_use_symver" = xsun; then
5881 LIBGFOR_USE_SYMVER_SUN_TRUE=
5882 LIBGFOR_USE_SYMVER_SUN_FALSE='#'
5883 else
5884 LIBGFOR_USE_SYMVER_SUN_TRUE='#'
5885 LIBGFOR_USE_SYMVER_SUN_FALSE=
5889 # Figure out whether the compiler supports "-ffunction-sections -fdata-sections",
5890 # similarly to how libstdc++ does it
5891 ac_test_CFLAGS="${CFLAGS+set}"
5892 ac_save_CFLAGS="$CFLAGS"
5894 # Check for -ffunction-sections -fdata-sections
5895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc that supports -ffunction-sections -fdata-sections" >&5
5896 $as_echo_n "checking for gcc that supports -ffunction-sections -fdata-sections... " >&6; }
5897 CFLAGS='-Werror -ffunction-sections -fdata-sections'
5898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5899 /* end confdefs.h. */
5902 main ()
5904 int foo;
5906 return 0;
5908 _ACEOF
5909 if ac_fn_c_try_compile "$LINENO"; then :
5910 ac_fdsections=yes
5911 else
5912 ac_fdsections=no
5914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5915 if test "$ac_test_CFLAGS" = set; then
5916 CFLAGS="$ac_save_CFLAGS"
5917 else
5918 # this is the suspicious part
5919 CFLAGS=""
5921 if test x"$ac_fdsections" = x"yes"; then
5922 SECTION_FLAGS='-ffunction-sections -fdata-sections'
5924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
5925 $as_echo "$ac_fdsections" >&6; }
5928 # Find other programs we need.
5929 if test -n "$ac_tool_prefix"; then
5930 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5931 set dummy ${ac_tool_prefix}as; ac_word=$2
5932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5933 $as_echo_n "checking for $ac_word... " >&6; }
5934 if test "${ac_cv_prog_AS+set}" = set; then :
5935 $as_echo_n "(cached) " >&6
5936 else
5937 if test -n "$AS"; then
5938 ac_cv_prog_AS="$AS" # Let the user override the test.
5939 else
5940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5941 for as_dir in $PATH
5943 IFS=$as_save_IFS
5944 test -z "$as_dir" && as_dir=.
5945 for ac_exec_ext in '' $ac_executable_extensions; do
5946 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5947 ac_cv_prog_AS="${ac_tool_prefix}as"
5948 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5949 break 2
5951 done
5952 done
5953 IFS=$as_save_IFS
5957 AS=$ac_cv_prog_AS
5958 if test -n "$AS"; then
5959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5960 $as_echo "$AS" >&6; }
5961 else
5962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5963 $as_echo "no" >&6; }
5968 if test -z "$ac_cv_prog_AS"; then
5969 ac_ct_AS=$AS
5970 # Extract the first word of "as", so it can be a program name with args.
5971 set dummy as; ac_word=$2
5972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5973 $as_echo_n "checking for $ac_word... " >&6; }
5974 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
5975 $as_echo_n "(cached) " >&6
5976 else
5977 if test -n "$ac_ct_AS"; then
5978 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5979 else
5980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5981 for as_dir in $PATH
5983 IFS=$as_save_IFS
5984 test -z "$as_dir" && as_dir=.
5985 for ac_exec_ext in '' $ac_executable_extensions; do
5986 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5987 ac_cv_prog_ac_ct_AS="as"
5988 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5989 break 2
5991 done
5992 done
5993 IFS=$as_save_IFS
5997 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5998 if test -n "$ac_ct_AS"; then
5999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
6000 $as_echo "$ac_ct_AS" >&6; }
6001 else
6002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6003 $as_echo "no" >&6; }
6006 if test "x$ac_ct_AS" = x; then
6007 AS=""
6008 else
6009 case $cross_compiling:$ac_tool_warned in
6010 yes:)
6011 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6012 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6013 ac_tool_warned=yes ;;
6014 esac
6015 AS=$ac_ct_AS
6017 else
6018 AS="$ac_cv_prog_AS"
6021 if test -n "$ac_tool_prefix"; then
6022 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6023 set dummy ${ac_tool_prefix}ar; ac_word=$2
6024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6025 $as_echo_n "checking for $ac_word... " >&6; }
6026 if test "${ac_cv_prog_AR+set}" = set; then :
6027 $as_echo_n "(cached) " >&6
6028 else
6029 if test -n "$AR"; then
6030 ac_cv_prog_AR="$AR" # Let the user override the test.
6031 else
6032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6033 for as_dir in $PATH
6035 IFS=$as_save_IFS
6036 test -z "$as_dir" && as_dir=.
6037 for ac_exec_ext in '' $ac_executable_extensions; do
6038 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6039 ac_cv_prog_AR="${ac_tool_prefix}ar"
6040 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6041 break 2
6043 done
6044 done
6045 IFS=$as_save_IFS
6049 AR=$ac_cv_prog_AR
6050 if test -n "$AR"; then
6051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6052 $as_echo "$AR" >&6; }
6053 else
6054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6055 $as_echo "no" >&6; }
6060 if test -z "$ac_cv_prog_AR"; then
6061 ac_ct_AR=$AR
6062 # Extract the first word of "ar", so it can be a program name with args.
6063 set dummy ar; ac_word=$2
6064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6065 $as_echo_n "checking for $ac_word... " >&6; }
6066 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6067 $as_echo_n "(cached) " >&6
6068 else
6069 if test -n "$ac_ct_AR"; then
6070 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6071 else
6072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6073 for as_dir in $PATH
6075 IFS=$as_save_IFS
6076 test -z "$as_dir" && as_dir=.
6077 for ac_exec_ext in '' $ac_executable_extensions; do
6078 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6079 ac_cv_prog_ac_ct_AR="ar"
6080 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6081 break 2
6083 done
6084 done
6085 IFS=$as_save_IFS
6089 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6090 if test -n "$ac_ct_AR"; then
6091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6092 $as_echo "$ac_ct_AR" >&6; }
6093 else
6094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6095 $as_echo "no" >&6; }
6098 if test "x$ac_ct_AR" = x; then
6099 AR=""
6100 else
6101 case $cross_compiling:$ac_tool_warned in
6102 yes:)
6103 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6104 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6105 ac_tool_warned=yes ;;
6106 esac
6107 AR=$ac_ct_AR
6109 else
6110 AR="$ac_cv_prog_AR"
6113 if test -n "$ac_tool_prefix"; then
6114 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6115 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6117 $as_echo_n "checking for $ac_word... " >&6; }
6118 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6119 $as_echo_n "(cached) " >&6
6120 else
6121 if test -n "$RANLIB"; then
6122 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6123 else
6124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6125 for as_dir in $PATH
6127 IFS=$as_save_IFS
6128 test -z "$as_dir" && as_dir=.
6129 for ac_exec_ext in '' $ac_executable_extensions; do
6130 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6131 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6132 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6133 break 2
6135 done
6136 done
6137 IFS=$as_save_IFS
6141 RANLIB=$ac_cv_prog_RANLIB
6142 if test -n "$RANLIB"; then
6143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6144 $as_echo "$RANLIB" >&6; }
6145 else
6146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6147 $as_echo "no" >&6; }
6152 if test -z "$ac_cv_prog_RANLIB"; then
6153 ac_ct_RANLIB=$RANLIB
6154 # Extract the first word of "ranlib", so it can be a program name with args.
6155 set dummy ranlib; ac_word=$2
6156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6157 $as_echo_n "checking for $ac_word... " >&6; }
6158 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6159 $as_echo_n "(cached) " >&6
6160 else
6161 if test -n "$ac_ct_RANLIB"; then
6162 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6163 else
6164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6165 for as_dir in $PATH
6167 IFS=$as_save_IFS
6168 test -z "$as_dir" && as_dir=.
6169 for ac_exec_ext in '' $ac_executable_extensions; do
6170 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6171 ac_cv_prog_ac_ct_RANLIB="ranlib"
6172 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6173 break 2
6175 done
6176 done
6177 IFS=$as_save_IFS
6181 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6182 if test -n "$ac_ct_RANLIB"; then
6183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6184 $as_echo "$ac_ct_RANLIB" >&6; }
6185 else
6186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6187 $as_echo "no" >&6; }
6190 if test "x$ac_ct_RANLIB" = x; then
6191 RANLIB="ranlib-not-found-in-path-error"
6192 else
6193 case $cross_compiling:$ac_tool_warned in
6194 yes:)
6195 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6196 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6197 ac_tool_warned=yes ;;
6198 esac
6199 RANLIB=$ac_ct_RANLIB
6201 else
6202 RANLIB="$ac_cv_prog_RANLIB"
6205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6206 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
6207 set x ${MAKE-make}
6208 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
6209 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
6210 $as_echo_n "(cached) " >&6
6211 else
6212 cat >conftest.make <<\_ACEOF
6213 SHELL = /bin/sh
6214 all:
6215 @echo '@@@%%%=$(MAKE)=@@@%%%'
6216 _ACEOF
6217 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
6218 case `${MAKE-make} -f conftest.make 2>/dev/null` in
6219 *@@@%%%=?*=@@@%%%*)
6220 eval ac_cv_prog_make_${ac_make}_set=yes;;
6222 eval ac_cv_prog_make_${ac_make}_set=no;;
6223 esac
6224 rm -f conftest.make
6226 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
6227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6228 $as_echo "yes" >&6; }
6229 SET_MAKE=
6230 else
6231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6232 $as_echo "no" >&6; }
6233 SET_MAKE="MAKE=${MAKE-make}"
6238 # Configure libtool
6239 #AC_MSG_NOTICE([====== Starting libtool configuration])
6240 enable_dlopen=yes
6244 case `pwd` in
6245 *\ * | *\ *)
6246 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
6247 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
6248 esac
6252 macro_version='2.2.7a'
6253 macro_revision='1.3134'
6267 ltmain="$ac_aux_dir/ltmain.sh"
6269 # Backslashify metacharacters that are still active within
6270 # double-quoted strings.
6271 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
6273 # Same as above, but do not quote variable references.
6274 double_quote_subst='s/\(["`\\]\)/\\\1/g'
6276 # Sed substitution to delay expansion of an escaped shell variable in a
6277 # double_quote_subst'ed string.
6278 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6280 # Sed substitution to delay expansion of an escaped single quote.
6281 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6283 # Sed substitution to avoid accidental globbing in evaled expressions
6284 no_glob_subst='s/\*/\\\*/g'
6286 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6287 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6288 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
6291 $as_echo_n "checking how to print strings... " >&6; }
6292 # Test print first, because it will be a builtin if present.
6293 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
6294 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
6295 ECHO='print -r --'
6296 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
6297 ECHO='printf %s\n'
6298 else
6299 # Use this function as a fallback that always works.
6300 func_fallback_echo ()
6302 eval 'cat <<_LTECHO_EOF
6304 _LTECHO_EOF'
6306 ECHO='func_fallback_echo'
6309 # func_echo_all arg...
6310 # Invoke $ECHO with all args, space-separated.
6311 func_echo_all ()
6313 $ECHO ""
6316 case "$ECHO" in
6317 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6318 $as_echo "printf" >&6; } ;;
6319 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6320 $as_echo "print -r" >&6; } ;;
6321 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6322 $as_echo "cat" >&6; } ;;
6323 esac
6338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6339 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6340 if test "${ac_cv_path_SED+set}" = set; then :
6341 $as_echo_n "(cached) " >&6
6342 else
6343 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6344 for ac_i in 1 2 3 4 5 6 7; do
6345 ac_script="$ac_script$as_nl$ac_script"
6346 done
6347 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6348 { ac_script=; unset ac_script;}
6349 if test -z "$SED"; then
6350 ac_path_SED_found=false
6351 # Loop through the user's path and test for each of PROGNAME-LIST
6352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6353 for as_dir in $PATH
6355 IFS=$as_save_IFS
6356 test -z "$as_dir" && as_dir=.
6357 for ac_prog in sed gsed; do
6358 for ac_exec_ext in '' $ac_executable_extensions; do
6359 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6360 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
6361 # Check for GNU ac_path_SED and select it if it is found.
6362 # Check for GNU $ac_path_SED
6363 case `"$ac_path_SED" --version 2>&1` in
6364 *GNU*)
6365 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6367 ac_count=0
6368 $as_echo_n 0123456789 >"conftest.in"
6369 while :
6371 cat "conftest.in" "conftest.in" >"conftest.tmp"
6372 mv "conftest.tmp" "conftest.in"
6373 cp "conftest.in" "conftest.nl"
6374 $as_echo '' >> "conftest.nl"
6375 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6376 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6377 as_fn_arith $ac_count + 1 && ac_count=$as_val
6378 if test $ac_count -gt ${ac_path_SED_max-0}; then
6379 # Best one so far, save it but keep looking for a better one
6380 ac_cv_path_SED="$ac_path_SED"
6381 ac_path_SED_max=$ac_count
6383 # 10*(2^10) chars as input seems more than enough
6384 test $ac_count -gt 10 && break
6385 done
6386 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6387 esac
6389 $ac_path_SED_found && break 3
6390 done
6391 done
6392 done
6393 IFS=$as_save_IFS
6394 if test -z "$ac_cv_path_SED"; then
6395 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
6397 else
6398 ac_cv_path_SED=$SED
6402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6403 $as_echo "$ac_cv_path_SED" >&6; }
6404 SED="$ac_cv_path_SED"
6405 rm -f conftest.sed
6407 test -z "$SED" && SED=sed
6408 Xsed="$SED -e 1s/^X//"
6420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6421 $as_echo_n "checking for fgrep... " >&6; }
6422 if test "${ac_cv_path_FGREP+set}" = set; then :
6423 $as_echo_n "(cached) " >&6
6424 else
6425 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6426 then ac_cv_path_FGREP="$GREP -F"
6427 else
6428 if test -z "$FGREP"; then
6429 ac_path_FGREP_found=false
6430 # Loop through the user's path and test for each of PROGNAME-LIST
6431 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6432 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6434 IFS=$as_save_IFS
6435 test -z "$as_dir" && as_dir=.
6436 for ac_prog in fgrep; do
6437 for ac_exec_ext in '' $ac_executable_extensions; do
6438 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6439 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
6440 # Check for GNU ac_path_FGREP and select it if it is found.
6441 # Check for GNU $ac_path_FGREP
6442 case `"$ac_path_FGREP" --version 2>&1` in
6443 *GNU*)
6444 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6446 ac_count=0
6447 $as_echo_n 0123456789 >"conftest.in"
6448 while :
6450 cat "conftest.in" "conftest.in" >"conftest.tmp"
6451 mv "conftest.tmp" "conftest.in"
6452 cp "conftest.in" "conftest.nl"
6453 $as_echo 'FGREP' >> "conftest.nl"
6454 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6455 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6456 as_fn_arith $ac_count + 1 && ac_count=$as_val
6457 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6458 # Best one so far, save it but keep looking for a better one
6459 ac_cv_path_FGREP="$ac_path_FGREP"
6460 ac_path_FGREP_max=$ac_count
6462 # 10*(2^10) chars as input seems more than enough
6463 test $ac_count -gt 10 && break
6464 done
6465 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6466 esac
6468 $ac_path_FGREP_found && break 3
6469 done
6470 done
6471 done
6472 IFS=$as_save_IFS
6473 if test -z "$ac_cv_path_FGREP"; then
6474 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6476 else
6477 ac_cv_path_FGREP=$FGREP
6482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6483 $as_echo "$ac_cv_path_FGREP" >&6; }
6484 FGREP="$ac_cv_path_FGREP"
6487 test -z "$GREP" && GREP=grep
6507 # Check whether --with-gnu-ld was given.
6508 if test "${with_gnu_ld+set}" = set; then :
6509 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6510 else
6511 with_gnu_ld=no
6514 ac_prog=ld
6515 if test "$GCC" = yes; then
6516 # Check if gcc -print-prog-name=ld gives a path.
6517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6518 $as_echo_n "checking for ld used by $CC... " >&6; }
6519 case $host in
6520 *-*-mingw*)
6521 # gcc leaves a trailing carriage return which upsets mingw
6522 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6524 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6525 esac
6526 case $ac_prog in
6527 # Accept absolute paths.
6528 [\\/]* | ?:[\\/]*)
6529 re_direlt='/[^/][^/]*/\.\./'
6530 # Canonicalize the pathname of ld
6531 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6532 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6533 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6534 done
6535 test -z "$LD" && LD="$ac_prog"
6538 # If it fails, then pretend we aren't using GCC.
6539 ac_prog=ld
6542 # If it is relative, then search for the first ld in PATH.
6543 with_gnu_ld=unknown
6545 esac
6546 elif test "$with_gnu_ld" = yes; then
6547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6548 $as_echo_n "checking for GNU ld... " >&6; }
6549 else
6550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6551 $as_echo_n "checking for non-GNU ld... " >&6; }
6553 if test "${lt_cv_path_LD+set}" = set; then :
6554 $as_echo_n "(cached) " >&6
6555 else
6556 if test -z "$LD"; then
6557 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6558 for ac_dir in $PATH; do
6559 IFS="$lt_save_ifs"
6560 test -z "$ac_dir" && ac_dir=.
6561 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6562 lt_cv_path_LD="$ac_dir/$ac_prog"
6563 # Check to see if the program is GNU ld. I'd rather use --version,
6564 # but apparently some variants of GNU ld only accept -v.
6565 # Break only if it was the GNU/non-GNU ld that we prefer.
6566 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6567 *GNU* | *'with BFD'*)
6568 test "$with_gnu_ld" != no && break
6571 test "$with_gnu_ld" != yes && break
6573 esac
6575 done
6576 IFS="$lt_save_ifs"
6577 else
6578 lt_cv_path_LD="$LD" # Let the user override the test with a path.
6582 LD="$lt_cv_path_LD"
6583 if test -n "$LD"; then
6584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6585 $as_echo "$LD" >&6; }
6586 else
6587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6588 $as_echo "no" >&6; }
6590 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
6591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6592 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6593 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
6594 $as_echo_n "(cached) " >&6
6595 else
6596 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6597 case `$LD -v 2>&1 </dev/null` in
6598 *GNU* | *'with BFD'*)
6599 lt_cv_prog_gnu_ld=yes
6602 lt_cv_prog_gnu_ld=no
6604 esac
6606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6607 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6608 with_gnu_ld=$lt_cv_prog_gnu_ld
6618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6619 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6620 if test "${lt_cv_path_NM+set}" = set; then :
6621 $as_echo_n "(cached) " >&6
6622 else
6623 if test -n "$NM"; then
6624 # Let the user override the test.
6625 lt_cv_path_NM="$NM"
6626 else
6627 lt_nm_to_check="${ac_tool_prefix}nm"
6628 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6629 lt_nm_to_check="$lt_nm_to_check nm"
6631 for lt_tmp_nm in $lt_nm_to_check; do
6632 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6633 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6634 IFS="$lt_save_ifs"
6635 test -z "$ac_dir" && ac_dir=.
6636 tmp_nm="$ac_dir/$lt_tmp_nm"
6637 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6638 # Check to see if the nm accepts a BSD-compat flag.
6639 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6640 # nm: unknown option "B" ignored
6641 # Tru64's nm complains that /dev/null is an invalid object file
6642 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6643 */dev/null* | *'Invalid file or object type'*)
6644 lt_cv_path_NM="$tmp_nm -B"
6645 break
6648 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6649 */dev/null*)
6650 lt_cv_path_NM="$tmp_nm -p"
6651 break
6654 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6655 continue # so that we can try to find one that supports BSD flags
6657 esac
6659 esac
6661 done
6662 IFS="$lt_save_ifs"
6663 done
6664 : ${lt_cv_path_NM=no}
6667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6668 $as_echo "$lt_cv_path_NM" >&6; }
6669 if test "$lt_cv_path_NM" != "no"; then
6670 NM="$lt_cv_path_NM"
6671 else
6672 # Didn't find any BSD compatible name lister, look for dumpbin.
6673 if test -n "$DUMPBIN"; then :
6674 # Let the user override the test.
6675 else
6676 if test -n "$ac_tool_prefix"; then
6677 for ac_prog in dumpbin "link -dump"
6679 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6680 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6682 $as_echo_n "checking for $ac_word... " >&6; }
6683 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
6684 $as_echo_n "(cached) " >&6
6685 else
6686 if test -n "$DUMPBIN"; then
6687 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6688 else
6689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6690 for as_dir in $PATH
6692 IFS=$as_save_IFS
6693 test -z "$as_dir" && as_dir=.
6694 for ac_exec_ext in '' $ac_executable_extensions; do
6695 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6696 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6697 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6698 break 2
6700 done
6701 done
6702 IFS=$as_save_IFS
6706 DUMPBIN=$ac_cv_prog_DUMPBIN
6707 if test -n "$DUMPBIN"; then
6708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6709 $as_echo "$DUMPBIN" >&6; }
6710 else
6711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6712 $as_echo "no" >&6; }
6716 test -n "$DUMPBIN" && break
6717 done
6719 if test -z "$DUMPBIN"; then
6720 ac_ct_DUMPBIN=$DUMPBIN
6721 for ac_prog in dumpbin "link -dump"
6723 # Extract the first word of "$ac_prog", so it can be a program name with args.
6724 set dummy $ac_prog; ac_word=$2
6725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6726 $as_echo_n "checking for $ac_word... " >&6; }
6727 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
6728 $as_echo_n "(cached) " >&6
6729 else
6730 if test -n "$ac_ct_DUMPBIN"; then
6731 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6732 else
6733 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6734 for as_dir in $PATH
6736 IFS=$as_save_IFS
6737 test -z "$as_dir" && as_dir=.
6738 for ac_exec_ext in '' $ac_executable_extensions; do
6739 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6740 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6741 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6742 break 2
6744 done
6745 done
6746 IFS=$as_save_IFS
6750 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6751 if test -n "$ac_ct_DUMPBIN"; then
6752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6753 $as_echo "$ac_ct_DUMPBIN" >&6; }
6754 else
6755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6756 $as_echo "no" >&6; }
6760 test -n "$ac_ct_DUMPBIN" && break
6761 done
6763 if test "x$ac_ct_DUMPBIN" = x; then
6764 DUMPBIN=":"
6765 else
6766 case $cross_compiling:$ac_tool_warned in
6767 yes:)
6768 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6769 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6770 ac_tool_warned=yes ;;
6771 esac
6772 DUMPBIN=$ac_ct_DUMPBIN
6776 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6777 *COFF*)
6778 DUMPBIN="$DUMPBIN -symbols"
6781 DUMPBIN=:
6783 esac
6786 if test "$DUMPBIN" != ":"; then
6787 NM="$DUMPBIN"
6790 test -z "$NM" && NM=nm
6797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6798 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6799 if test "${lt_cv_nm_interface+set}" = set; then :
6800 $as_echo_n "(cached) " >&6
6801 else
6802 lt_cv_nm_interface="BSD nm"
6803 echo "int some_variable = 0;" > conftest.$ac_ext
6804 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6805 (eval "$ac_compile" 2>conftest.err)
6806 cat conftest.err >&5
6807 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6808 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6809 cat conftest.err >&5
6810 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6811 cat conftest.out >&5
6812 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6813 lt_cv_nm_interface="MS dumpbin"
6815 rm -f conftest*
6817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6818 $as_echo "$lt_cv_nm_interface" >&6; }
6820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6821 $as_echo_n "checking whether ln -s works... " >&6; }
6822 LN_S=$as_ln_s
6823 if test "$LN_S" = "ln -s"; then
6824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6825 $as_echo "yes" >&6; }
6826 else
6827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6828 $as_echo "no, using $LN_S" >&6; }
6831 # find the maximum length of command line arguments
6832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6833 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6834 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
6835 $as_echo_n "(cached) " >&6
6836 else
6838 teststring="ABCD"
6840 case $build_os in
6841 msdosdjgpp*)
6842 # On DJGPP, this test can blow up pretty badly due to problems in libc
6843 # (any single argument exceeding 2000 bytes causes a buffer overrun
6844 # during glob expansion). Even if it were fixed, the result of this
6845 # check would be larger than it should be.
6846 lt_cv_sys_max_cmd_len=12288; # 12K is about right
6849 gnu*)
6850 # Under GNU Hurd, this test is not required because there is
6851 # no limit to the length of command line arguments.
6852 # Libtool will interpret -1 as no limit whatsoever
6853 lt_cv_sys_max_cmd_len=-1;
6856 cygwin* | mingw* | cegcc*)
6857 # On Win9x/ME, this test blows up -- it succeeds, but takes
6858 # about 5 minutes as the teststring grows exponentially.
6859 # Worse, since 9x/ME are not pre-emptively multitasking,
6860 # you end up with a "frozen" computer, even though with patience
6861 # the test eventually succeeds (with a max line length of 256k).
6862 # Instead, let's just punt: use the minimum linelength reported by
6863 # all of the supported platforms: 8192 (on NT/2K/XP).
6864 lt_cv_sys_max_cmd_len=8192;
6867 mint*)
6868 # On MiNT this can take a long time and run out of memory.
6869 lt_cv_sys_max_cmd_len=8192;
6872 amigaos*)
6873 # On AmigaOS with pdksh, this test takes hours, literally.
6874 # So we just punt and use a minimum line length of 8192.
6875 lt_cv_sys_max_cmd_len=8192;
6878 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6879 # This has been around since 386BSD, at least. Likely further.
6880 if test -x /sbin/sysctl; then
6881 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6882 elif test -x /usr/sbin/sysctl; then
6883 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6884 else
6885 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6887 # And add a safety zone
6888 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6889 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6892 interix*)
6893 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6894 lt_cv_sys_max_cmd_len=196608
6897 osf*)
6898 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6899 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6900 # nice to cause kernel panics so lets avoid the loop below.
6901 # First set a reasonable default.
6902 lt_cv_sys_max_cmd_len=16384
6904 if test -x /sbin/sysconfig; then
6905 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6906 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6907 esac
6910 sco3.2v5*)
6911 lt_cv_sys_max_cmd_len=102400
6913 sysv5* | sco5v6* | sysv4.2uw2*)
6914 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6915 if test -n "$kargmax"; then
6916 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6917 else
6918 lt_cv_sys_max_cmd_len=32768
6922 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6923 if test -n "$lt_cv_sys_max_cmd_len"; then
6924 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6925 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6926 else
6927 # Make teststring a little bigger before we do anything with it.
6928 # a 1K string should be a reasonable start.
6929 for i in 1 2 3 4 5 6 7 8 ; do
6930 teststring=$teststring$teststring
6931 done
6932 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6933 # If test is not a shell built-in, we'll probably end up computing a
6934 # maximum length that is only half of the actual maximum length, but
6935 # we can't tell.
6936 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6937 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6938 test $i != 17 # 1/2 MB should be enough
6940 i=`expr $i + 1`
6941 teststring=$teststring$teststring
6942 done
6943 # Only check the string length outside the loop.
6944 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6945 teststring=
6946 # Add a significant safety factor because C++ compilers can tack on
6947 # massive amounts of additional arguments before passing them to the
6948 # linker. It appears as though 1/2 is a usable value.
6949 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6952 esac
6956 if test -n $lt_cv_sys_max_cmd_len ; then
6957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6958 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6959 else
6960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6961 $as_echo "none" >&6; }
6963 max_cmd_len=$lt_cv_sys_max_cmd_len
6970 : ${CP="cp -f"}
6971 : ${MV="mv -f"}
6972 : ${RM="rm -f"}
6974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6975 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6976 # Try some XSI features
6977 xsi_shell=no
6978 ( _lt_dummy="a/b/c"
6979 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6980 = c,a/b,, \
6981 && eval 'test $(( 1 + 1 )) -eq 2 \
6982 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6983 && xsi_shell=yes
6984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6985 $as_echo "$xsi_shell" >&6; }
6988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6989 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6990 lt_shell_append=no
6991 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6992 >/dev/null 2>&1 \
6993 && lt_shell_append=yes
6994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6995 $as_echo "$lt_shell_append" >&6; }
6998 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6999 lt_unset=unset
7000 else
7001 lt_unset=false
7008 # test EBCDIC or ASCII
7009 case `echo X|tr X '\101'` in
7010 A) # ASCII based system
7011 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
7012 lt_SP2NL='tr \040 \012'
7013 lt_NL2SP='tr \015\012 \040\040'
7015 *) # EBCDIC based system
7016 lt_SP2NL='tr \100 \n'
7017 lt_NL2SP='tr \r\n \100\100'
7019 esac
7029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
7030 $as_echo_n "checking for $LD option to reload object files... " >&6; }
7031 if test "${lt_cv_ld_reload_flag+set}" = set; then :
7032 $as_echo_n "(cached) " >&6
7033 else
7034 lt_cv_ld_reload_flag='-r'
7036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
7037 $as_echo "$lt_cv_ld_reload_flag" >&6; }
7038 reload_flag=$lt_cv_ld_reload_flag
7039 case $reload_flag in
7040 "" | " "*) ;;
7041 *) reload_flag=" $reload_flag" ;;
7042 esac
7043 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7044 case $host_os in
7045 darwin*)
7046 if test "$GCC" = yes; then
7047 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
7048 else
7049 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7052 esac
7062 if test -n "$ac_tool_prefix"; then
7063 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7064 set dummy ${ac_tool_prefix}objdump; ac_word=$2
7065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7066 $as_echo_n "checking for $ac_word... " >&6; }
7067 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
7068 $as_echo_n "(cached) " >&6
7069 else
7070 if test -n "$OBJDUMP"; then
7071 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7072 else
7073 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7074 for as_dir in $PATH
7076 IFS=$as_save_IFS
7077 test -z "$as_dir" && as_dir=.
7078 for ac_exec_ext in '' $ac_executable_extensions; do
7079 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7080 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
7081 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7082 break 2
7084 done
7085 done
7086 IFS=$as_save_IFS
7090 OBJDUMP=$ac_cv_prog_OBJDUMP
7091 if test -n "$OBJDUMP"; then
7092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7093 $as_echo "$OBJDUMP" >&6; }
7094 else
7095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7096 $as_echo "no" >&6; }
7101 if test -z "$ac_cv_prog_OBJDUMP"; then
7102 ac_ct_OBJDUMP=$OBJDUMP
7103 # Extract the first word of "objdump", so it can be a program name with args.
7104 set dummy objdump; ac_word=$2
7105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7106 $as_echo_n "checking for $ac_word... " >&6; }
7107 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
7108 $as_echo_n "(cached) " >&6
7109 else
7110 if test -n "$ac_ct_OBJDUMP"; then
7111 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
7112 else
7113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7114 for as_dir in $PATH
7116 IFS=$as_save_IFS
7117 test -z "$as_dir" && as_dir=.
7118 for ac_exec_ext in '' $ac_executable_extensions; do
7119 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7120 ac_cv_prog_ac_ct_OBJDUMP="objdump"
7121 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7122 break 2
7124 done
7125 done
7126 IFS=$as_save_IFS
7130 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7131 if test -n "$ac_ct_OBJDUMP"; then
7132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7133 $as_echo "$ac_ct_OBJDUMP" >&6; }
7134 else
7135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7136 $as_echo "no" >&6; }
7139 if test "x$ac_ct_OBJDUMP" = x; then
7140 OBJDUMP="false"
7141 else
7142 case $cross_compiling:$ac_tool_warned in
7143 yes:)
7144 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7145 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7146 ac_tool_warned=yes ;;
7147 esac
7148 OBJDUMP=$ac_ct_OBJDUMP
7150 else
7151 OBJDUMP="$ac_cv_prog_OBJDUMP"
7154 test -z "$OBJDUMP" && OBJDUMP=objdump
7164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
7165 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
7166 if test "${lt_cv_deplibs_check_method+set}" = set; then :
7167 $as_echo_n "(cached) " >&6
7168 else
7169 lt_cv_file_magic_cmd='$MAGIC_CMD'
7170 lt_cv_file_magic_test_file=
7171 lt_cv_deplibs_check_method='unknown'
7172 # Need to set the preceding variable on all platforms that support
7173 # interlibrary dependencies.
7174 # 'none' -- dependencies not supported.
7175 # `unknown' -- same as none, but documents that we really don't know.
7176 # 'pass_all' -- all dependencies passed with no checks.
7177 # 'test_compile' -- check by making test program.
7178 # 'file_magic [[regex]]' -- check by looking for files in library path
7179 # which responds to the $file_magic_cmd with a given extended regex.
7180 # If you have `file' or equivalent on your system and you're not sure
7181 # whether `pass_all' will *always* work, you probably want this one.
7183 case $host_os in
7184 aix[4-9]*)
7185 lt_cv_deplibs_check_method=pass_all
7188 beos*)
7189 lt_cv_deplibs_check_method=pass_all
7192 bsdi[45]*)
7193 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7194 lt_cv_file_magic_cmd='/usr/bin/file -L'
7195 lt_cv_file_magic_test_file=/shlib/libc.so
7198 cygwin*)
7199 # func_win32_libid is a shell function defined in ltmain.sh
7200 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7201 lt_cv_file_magic_cmd='func_win32_libid'
7204 mingw* | pw32*)
7205 # Base MSYS/MinGW do not provide the 'file' command needed by
7206 # func_win32_libid shell function, so use a weaker test based on 'objdump',
7207 # unless we find 'file', for example because we are cross-compiling.
7208 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
7209 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
7210 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7211 lt_cv_file_magic_cmd='func_win32_libid'
7212 else
7213 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
7214 lt_cv_file_magic_cmd='$OBJDUMP -f'
7218 cegcc*)
7219 # use the weaker test based on 'objdump'. See mingw*.
7220 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7221 lt_cv_file_magic_cmd='$OBJDUMP -f'
7224 darwin* | rhapsody*)
7225 lt_cv_deplibs_check_method=pass_all
7228 freebsd* | dragonfly*)
7229 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7230 case $host_cpu in
7231 i*86 )
7232 # Not sure whether the presence of OpenBSD here was a mistake.
7233 # Let's accept both of them until this is cleared up.
7234 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7235 lt_cv_file_magic_cmd=/usr/bin/file
7236 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
7238 esac
7239 else
7240 lt_cv_deplibs_check_method=pass_all
7244 gnu*)
7245 lt_cv_deplibs_check_method=pass_all
7248 haiku*)
7249 lt_cv_deplibs_check_method=pass_all
7252 hpux10.20* | hpux11*)
7253 lt_cv_file_magic_cmd=/usr/bin/file
7254 case $host_cpu in
7255 ia64*)
7256 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7257 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
7259 hppa*64*)
7260 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]'
7261 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
7264 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7265 lt_cv_file_magic_test_file=/usr/lib/libc.sl
7267 esac
7270 interix[3-9]*)
7271 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7272 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
7275 irix5* | irix6* | nonstopux*)
7276 case $LD in
7277 *-32|*"-32 ") libmagic=32-bit;;
7278 *-n32|*"-n32 ") libmagic=N32;;
7279 *-64|*"-64 ") libmagic=64-bit;;
7280 *) libmagic=never-match;;
7281 esac
7282 lt_cv_deplibs_check_method=pass_all
7285 # This must be Linux ELF.
7286 linux* | k*bsd*-gnu | kopensolaris*-gnu)
7287 lt_cv_deplibs_check_method=pass_all
7290 netbsd*)
7291 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7292 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7293 else
7294 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7298 newos6*)
7299 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7300 lt_cv_file_magic_cmd=/usr/bin/file
7301 lt_cv_file_magic_test_file=/usr/lib/libnls.so
7304 *nto* | *qnx*)
7305 lt_cv_deplibs_check_method=pass_all
7308 openbsd*)
7309 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7310 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7311 else
7312 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7316 osf3* | osf4* | osf5*)
7317 lt_cv_deplibs_check_method=pass_all
7320 rdos*)
7321 lt_cv_deplibs_check_method=pass_all
7324 solaris*)
7325 lt_cv_deplibs_check_method=pass_all
7328 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7329 lt_cv_deplibs_check_method=pass_all
7332 sysv4 | sysv4.3*)
7333 case $host_vendor in
7334 motorola)
7335 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]'
7336 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7338 ncr)
7339 lt_cv_deplibs_check_method=pass_all
7341 sequent)
7342 lt_cv_file_magic_cmd='/bin/file'
7343 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7345 sni)
7346 lt_cv_file_magic_cmd='/bin/file'
7347 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7348 lt_cv_file_magic_test_file=/lib/libc.so
7350 siemens)
7351 lt_cv_deplibs_check_method=pass_all
7354 lt_cv_deplibs_check_method=pass_all
7356 esac
7359 tpf*)
7360 lt_cv_deplibs_check_method=pass_all
7362 esac
7365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7366 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7367 file_magic_cmd=$lt_cv_file_magic_cmd
7368 deplibs_check_method=$lt_cv_deplibs_check_method
7369 test -z "$deplibs_check_method" && deplibs_check_method=unknown
7382 if test -n "$ac_tool_prefix"; then
7383 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7384 set dummy ${ac_tool_prefix}ar; ac_word=$2
7385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7386 $as_echo_n "checking for $ac_word... " >&6; }
7387 if test "${ac_cv_prog_AR+set}" = set; then :
7388 $as_echo_n "(cached) " >&6
7389 else
7390 if test -n "$AR"; then
7391 ac_cv_prog_AR="$AR" # Let the user override the test.
7392 else
7393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7394 for as_dir in $PATH
7396 IFS=$as_save_IFS
7397 test -z "$as_dir" && as_dir=.
7398 for ac_exec_ext in '' $ac_executable_extensions; do
7399 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7400 ac_cv_prog_AR="${ac_tool_prefix}ar"
7401 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7402 break 2
7404 done
7405 done
7406 IFS=$as_save_IFS
7410 AR=$ac_cv_prog_AR
7411 if test -n "$AR"; then
7412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7413 $as_echo "$AR" >&6; }
7414 else
7415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7416 $as_echo "no" >&6; }
7421 if test -z "$ac_cv_prog_AR"; then
7422 ac_ct_AR=$AR
7423 # Extract the first word of "ar", so it can be a program name with args.
7424 set dummy ar; ac_word=$2
7425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7426 $as_echo_n "checking for $ac_word... " >&6; }
7427 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
7428 $as_echo_n "(cached) " >&6
7429 else
7430 if test -n "$ac_ct_AR"; then
7431 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7432 else
7433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7434 for as_dir in $PATH
7436 IFS=$as_save_IFS
7437 test -z "$as_dir" && as_dir=.
7438 for ac_exec_ext in '' $ac_executable_extensions; do
7439 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7440 ac_cv_prog_ac_ct_AR="ar"
7441 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7442 break 2
7444 done
7445 done
7446 IFS=$as_save_IFS
7450 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7451 if test -n "$ac_ct_AR"; then
7452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7453 $as_echo "$ac_ct_AR" >&6; }
7454 else
7455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7456 $as_echo "no" >&6; }
7459 if test "x$ac_ct_AR" = x; then
7460 AR="false"
7461 else
7462 case $cross_compiling:$ac_tool_warned in
7463 yes:)
7464 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7465 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7466 ac_tool_warned=yes ;;
7467 esac
7468 AR=$ac_ct_AR
7470 else
7471 AR="$ac_cv_prog_AR"
7474 test -z "$AR" && AR=ar
7475 test -z "$AR_FLAGS" && AR_FLAGS=cru
7487 if test -n "$ac_tool_prefix"; then
7488 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7489 set dummy ${ac_tool_prefix}strip; ac_word=$2
7490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7491 $as_echo_n "checking for $ac_word... " >&6; }
7492 if test "${ac_cv_prog_STRIP+set}" = set; then :
7493 $as_echo_n "(cached) " >&6
7494 else
7495 if test -n "$STRIP"; then
7496 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7497 else
7498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7499 for as_dir in $PATH
7501 IFS=$as_save_IFS
7502 test -z "$as_dir" && as_dir=.
7503 for ac_exec_ext in '' $ac_executable_extensions; do
7504 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7505 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7506 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7507 break 2
7509 done
7510 done
7511 IFS=$as_save_IFS
7515 STRIP=$ac_cv_prog_STRIP
7516 if test -n "$STRIP"; then
7517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7518 $as_echo "$STRIP" >&6; }
7519 else
7520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7521 $as_echo "no" >&6; }
7526 if test -z "$ac_cv_prog_STRIP"; then
7527 ac_ct_STRIP=$STRIP
7528 # Extract the first word of "strip", so it can be a program name with args.
7529 set dummy strip; ac_word=$2
7530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7531 $as_echo_n "checking for $ac_word... " >&6; }
7532 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
7533 $as_echo_n "(cached) " >&6
7534 else
7535 if test -n "$ac_ct_STRIP"; then
7536 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7537 else
7538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7539 for as_dir in $PATH
7541 IFS=$as_save_IFS
7542 test -z "$as_dir" && as_dir=.
7543 for ac_exec_ext in '' $ac_executable_extensions; do
7544 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7545 ac_cv_prog_ac_ct_STRIP="strip"
7546 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7547 break 2
7549 done
7550 done
7551 IFS=$as_save_IFS
7555 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7556 if test -n "$ac_ct_STRIP"; then
7557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7558 $as_echo "$ac_ct_STRIP" >&6; }
7559 else
7560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7561 $as_echo "no" >&6; }
7564 if test "x$ac_ct_STRIP" = x; then
7565 STRIP=":"
7566 else
7567 case $cross_compiling:$ac_tool_warned in
7568 yes:)
7569 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7570 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7571 ac_tool_warned=yes ;;
7572 esac
7573 STRIP=$ac_ct_STRIP
7575 else
7576 STRIP="$ac_cv_prog_STRIP"
7579 test -z "$STRIP" && STRIP=:
7586 if test -n "$ac_tool_prefix"; then
7587 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7588 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7590 $as_echo_n "checking for $ac_word... " >&6; }
7591 if test "${ac_cv_prog_RANLIB+set}" = set; then :
7592 $as_echo_n "(cached) " >&6
7593 else
7594 if test -n "$RANLIB"; then
7595 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7596 else
7597 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7598 for as_dir in $PATH
7600 IFS=$as_save_IFS
7601 test -z "$as_dir" && as_dir=.
7602 for ac_exec_ext in '' $ac_executable_extensions; do
7603 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7604 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7605 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7606 break 2
7608 done
7609 done
7610 IFS=$as_save_IFS
7614 RANLIB=$ac_cv_prog_RANLIB
7615 if test -n "$RANLIB"; then
7616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7617 $as_echo "$RANLIB" >&6; }
7618 else
7619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7620 $as_echo "no" >&6; }
7625 if test -z "$ac_cv_prog_RANLIB"; then
7626 ac_ct_RANLIB=$RANLIB
7627 # Extract the first word of "ranlib", so it can be a program name with args.
7628 set dummy ranlib; ac_word=$2
7629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7630 $as_echo_n "checking for $ac_word... " >&6; }
7631 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
7632 $as_echo_n "(cached) " >&6
7633 else
7634 if test -n "$ac_ct_RANLIB"; then
7635 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7636 else
7637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7638 for as_dir in $PATH
7640 IFS=$as_save_IFS
7641 test -z "$as_dir" && as_dir=.
7642 for ac_exec_ext in '' $ac_executable_extensions; do
7643 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7644 ac_cv_prog_ac_ct_RANLIB="ranlib"
7645 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7646 break 2
7648 done
7649 done
7650 IFS=$as_save_IFS
7654 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7655 if test -n "$ac_ct_RANLIB"; then
7656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7657 $as_echo "$ac_ct_RANLIB" >&6; }
7658 else
7659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7660 $as_echo "no" >&6; }
7663 if test "x$ac_ct_RANLIB" = x; then
7664 RANLIB=":"
7665 else
7666 case $cross_compiling:$ac_tool_warned in
7667 yes:)
7668 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7669 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7670 ac_tool_warned=yes ;;
7671 esac
7672 RANLIB=$ac_ct_RANLIB
7674 else
7675 RANLIB="$ac_cv_prog_RANLIB"
7678 test -z "$RANLIB" && RANLIB=:
7685 # Determine commands to create old-style static archives.
7686 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7687 old_postinstall_cmds='chmod 644 $oldlib'
7688 old_postuninstall_cmds=
7690 if test -n "$RANLIB"; then
7691 case $host_os in
7692 openbsd*)
7693 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7696 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
7698 esac
7699 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
7702 case $host_os in
7703 darwin*)
7704 lock_old_archive_extraction=yes ;;
7706 lock_old_archive_extraction=no ;;
7707 esac
7747 # If no C compiler was specified, use CC.
7748 LTCC=${LTCC-"$CC"}
7750 # If no C compiler flags were specified, use CFLAGS.
7751 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7753 # Allow CC to be a program name with arguments.
7754 compiler=$CC
7757 # Check for command to grab the raw symbol name followed by C symbol from nm.
7758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7759 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7760 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
7761 $as_echo_n "(cached) " >&6
7762 else
7764 # These are sane defaults that work on at least a few old systems.
7765 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7767 # Character class describing NM global symbol codes.
7768 symcode='[BCDEGRST]'
7770 # Regexp to match symbols that can be accessed directly from C.
7771 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7773 # Define system-specific variables.
7774 case $host_os in
7775 aix*)
7776 symcode='[BCDT]'
7778 cygwin* | mingw* | pw32* | cegcc*)
7779 symcode='[ABCDGISTW]'
7781 hpux*)
7782 if test "$host_cpu" = ia64; then
7783 symcode='[ABCDEGRST]'
7786 irix* | nonstopux*)
7787 symcode='[BCDEGRST]'
7789 osf*)
7790 symcode='[BCDEGQRST]'
7792 solaris*)
7793 symcode='[BDRT]'
7795 sco3.2v5*)
7796 symcode='[DT]'
7798 sysv4.2uw2*)
7799 symcode='[DT]'
7801 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7802 symcode='[ABDT]'
7804 sysv4)
7805 symcode='[DFNSTU]'
7807 esac
7809 # If we're using GNU nm, then use its standard symbol codes.
7810 case `$NM -V 2>&1` in
7811 *GNU* | *'with BFD'*)
7812 symcode='[ABCDGIRSTW]' ;;
7813 esac
7815 # Transform an extracted symbol line into a proper C declaration.
7816 # Some systems (esp. on ia64) link data and code symbols differently,
7817 # so use this general approach.
7818 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7820 # Transform an extracted symbol line into symbol name and symbol address
7821 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7822 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'"
7824 # Handle CRLF in mingw tool chain
7825 opt_cr=
7826 case $build_os in
7827 mingw*)
7828 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7830 esac
7832 # Try without a prefix underscore, then with it.
7833 for ac_symprfx in "" "_"; do
7835 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7836 symxfrm="\\1 $ac_symprfx\\2 \\2"
7838 # Write the raw and C identifiers.
7839 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7840 # Fake it for dumpbin and say T for any non-static function
7841 # and D for any global variable.
7842 # Also find C++ and __fastcall symbols from MSVC++,
7843 # which start with @ or ?.
7844 lt_cv_sys_global_symbol_pipe="$AWK '"\
7845 " {last_section=section; section=\$ 3};"\
7846 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7847 " \$ 0!~/External *\|/{next};"\
7848 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7849 " {if(hide[section]) next};"\
7850 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7851 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7852 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7853 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7854 " ' prfx=^$ac_symprfx"
7855 else
7856 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7859 # Check to see that the pipe works correctly.
7860 pipe_works=no
7862 rm -f conftest*
7863 cat > conftest.$ac_ext <<_LT_EOF
7864 #ifdef __cplusplus
7865 extern "C" {
7866 #endif
7867 char nm_test_var;
7868 void nm_test_func(void);
7869 void nm_test_func(void){}
7870 #ifdef __cplusplus
7872 #endif
7873 int main(){nm_test_var='a';nm_test_func();return(0);}
7874 _LT_EOF
7876 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7877 (eval $ac_compile) 2>&5
7878 ac_status=$?
7879 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7880 test $ac_status = 0; }; then
7881 # Now try to grab the symbols.
7882 nlist=conftest.nm
7883 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7884 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7885 ac_status=$?
7886 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7887 test $ac_status = 0; } && test -s "$nlist"; then
7888 # Try sorting and uniquifying the output.
7889 if sort "$nlist" | uniq > "$nlist"T; then
7890 mv -f "$nlist"T "$nlist"
7891 else
7892 rm -f "$nlist"T
7895 # Make sure that we snagged all the symbols we need.
7896 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7897 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7898 cat <<_LT_EOF > conftest.$ac_ext
7899 #ifdef __cplusplus
7900 extern "C" {
7901 #endif
7903 _LT_EOF
7904 # Now generate the symbol file.
7905 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7907 cat <<_LT_EOF >> conftest.$ac_ext
7909 /* The mapping between symbol names and symbols. */
7910 const struct {
7911 const char *name;
7912 void *address;
7914 lt__PROGRAM__LTX_preloaded_symbols[] =
7916 { "@PROGRAM@", (void *) 0 },
7917 _LT_EOF
7918 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7919 cat <<\_LT_EOF >> conftest.$ac_ext
7920 {0, (void *) 0}
7923 /* This works around a problem in FreeBSD linker */
7924 #ifdef FREEBSD_WORKAROUND
7925 static const void *lt_preloaded_setup() {
7926 return lt__PROGRAM__LTX_preloaded_symbols;
7928 #endif
7930 #ifdef __cplusplus
7932 #endif
7933 _LT_EOF
7934 # Now try linking the two files.
7935 mv conftest.$ac_objext conftstm.$ac_objext
7936 lt_save_LIBS="$LIBS"
7937 lt_save_CFLAGS="$CFLAGS"
7938 LIBS="conftstm.$ac_objext"
7939 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7940 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7941 (eval $ac_link) 2>&5
7942 ac_status=$?
7943 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7944 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7945 pipe_works=yes
7947 LIBS="$lt_save_LIBS"
7948 CFLAGS="$lt_save_CFLAGS"
7949 else
7950 echo "cannot find nm_test_func in $nlist" >&5
7952 else
7953 echo "cannot find nm_test_var in $nlist" >&5
7955 else
7956 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7958 else
7959 echo "$progname: failed program was:" >&5
7960 cat conftest.$ac_ext >&5
7962 rm -rf conftest* conftst*
7964 # Do not use the global_symbol_pipe unless it works.
7965 if test "$pipe_works" = yes; then
7966 break
7967 else
7968 lt_cv_sys_global_symbol_pipe=
7970 done
7974 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7975 lt_cv_sys_global_symbol_to_cdecl=
7977 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7979 $as_echo "failed" >&6; }
7980 else
7981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7982 $as_echo "ok" >&6; }
8006 # Check whether --enable-libtool-lock was given.
8007 if test "${enable_libtool_lock+set}" = set; then :
8008 enableval=$enable_libtool_lock;
8011 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
8013 # Some flags need to be propagated to the compiler or linker for good
8014 # libtool support.
8015 case $host in
8016 ia64-*-hpux*)
8017 # Find out which ABI we are using.
8018 echo 'int i;' > conftest.$ac_ext
8019 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8020 (eval $ac_compile) 2>&5
8021 ac_status=$?
8022 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8023 test $ac_status = 0; }; then
8024 case `/usr/bin/file conftest.$ac_objext` in
8025 *ELF-32*)
8026 HPUX_IA64_MODE="32"
8028 *ELF-64*)
8029 HPUX_IA64_MODE="64"
8031 esac
8033 rm -rf conftest*
8035 *-*-irix6*)
8036 # Find out which ABI we are using.
8037 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
8038 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8039 (eval $ac_compile) 2>&5
8040 ac_status=$?
8041 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8042 test $ac_status = 0; }; then
8043 if test "$lt_cv_prog_gnu_ld" = yes; then
8044 case `/usr/bin/file conftest.$ac_objext` in
8045 *32-bit*)
8046 LD="${LD-ld} -melf32bsmip"
8048 *N32*)
8049 LD="${LD-ld} -melf32bmipn32"
8051 *64-bit*)
8052 LD="${LD-ld} -melf64bmip"
8054 esac
8055 else
8056 case `/usr/bin/file conftest.$ac_objext` in
8057 *32-bit*)
8058 LD="${LD-ld} -32"
8060 *N32*)
8061 LD="${LD-ld} -n32"
8063 *64-bit*)
8064 LD="${LD-ld} -64"
8066 esac
8069 rm -rf conftest*
8072 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
8073 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
8074 # Find out which ABI we are using.
8075 echo 'int i;' > conftest.$ac_ext
8076 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8077 (eval $ac_compile) 2>&5
8078 ac_status=$?
8079 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8080 test $ac_status = 0; }; then
8081 case `/usr/bin/file conftest.o` in
8082 *32-bit*)
8083 case $host in
8084 x86_64-*kfreebsd*-gnu)
8085 LD="${LD-ld} -m elf_i386_fbsd"
8087 x86_64-*linux*)
8088 case `/usr/bin/file conftest.o` in
8089 *x86-64*)
8090 LD="${LD-ld} -m elf32_x86_64"
8093 LD="${LD-ld} -m elf_i386"
8095 esac
8097 powerpc64le-*linux*)
8098 LD="${LD-ld} -m elf32lppclinux"
8100 powerpc64-*linux*)
8101 LD="${LD-ld} -m elf32ppclinux"
8103 s390x-*linux*)
8104 LD="${LD-ld} -m elf_s390"
8106 sparc64-*linux*)
8107 LD="${LD-ld} -m elf32_sparc"
8109 esac
8111 *64-bit*)
8112 case $host in
8113 x86_64-*kfreebsd*-gnu)
8114 LD="${LD-ld} -m elf_x86_64_fbsd"
8116 x86_64-*linux*)
8117 LD="${LD-ld} -m elf_x86_64"
8119 powerpcle-*linux*)
8120 LD="${LD-ld} -m elf64lppc"
8122 powerpc-*linux*)
8123 LD="${LD-ld} -m elf64ppc"
8125 s390*-*linux*|s390*-*tpf*)
8126 LD="${LD-ld} -m elf64_s390"
8128 sparc*-*linux*)
8129 LD="${LD-ld} -m elf64_sparc"
8131 esac
8133 esac
8135 rm -rf conftest*
8138 *-*-sco3.2v5*)
8139 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8140 SAVE_CFLAGS="$CFLAGS"
8141 CFLAGS="$CFLAGS -belf"
8142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8143 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8144 if test "${lt_cv_cc_needs_belf+set}" = set; then :
8145 $as_echo_n "(cached) " >&6
8146 else
8147 ac_ext=c
8148 ac_cpp='$CPP $CPPFLAGS'
8149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8153 if test x$gcc_no_link = xyes; then
8154 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8157 /* end confdefs.h. */
8160 main ()
8164 return 0;
8166 _ACEOF
8167 if ac_fn_c_try_link "$LINENO"; then :
8168 lt_cv_cc_needs_belf=yes
8169 else
8170 lt_cv_cc_needs_belf=no
8172 rm -f core conftest.err conftest.$ac_objext \
8173 conftest$ac_exeext conftest.$ac_ext
8174 ac_ext=c
8175 ac_cpp='$CPP $CPPFLAGS'
8176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8182 $as_echo "$lt_cv_cc_needs_belf" >&6; }
8183 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
8184 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8185 CFLAGS="$SAVE_CFLAGS"
8188 sparc*-*solaris*)
8189 # Find out which ABI we are using.
8190 echo 'int i;' > conftest.$ac_ext
8191 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8192 (eval $ac_compile) 2>&5
8193 ac_status=$?
8194 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8195 test $ac_status = 0; }; then
8196 case `/usr/bin/file conftest.o` in
8197 *64-bit*)
8198 case $lt_cv_prog_gnu_ld in
8199 yes*) LD="${LD-ld} -m elf64_sparc" ;;
8201 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8202 LD="${LD-ld} -64"
8205 esac
8207 esac
8209 rm -rf conftest*
8211 esac
8213 need_locks="$enable_libtool_lock"
8216 case $host_os in
8217 rhapsody* | darwin*)
8218 if test -n "$ac_tool_prefix"; then
8219 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8220 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8222 $as_echo_n "checking for $ac_word... " >&6; }
8223 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
8224 $as_echo_n "(cached) " >&6
8225 else
8226 if test -n "$DSYMUTIL"; then
8227 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8228 else
8229 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8230 for as_dir in $PATH
8232 IFS=$as_save_IFS
8233 test -z "$as_dir" && as_dir=.
8234 for ac_exec_ext in '' $ac_executable_extensions; do
8235 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8236 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8237 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8238 break 2
8240 done
8241 done
8242 IFS=$as_save_IFS
8246 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8247 if test -n "$DSYMUTIL"; then
8248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8249 $as_echo "$DSYMUTIL" >&6; }
8250 else
8251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8252 $as_echo "no" >&6; }
8257 if test -z "$ac_cv_prog_DSYMUTIL"; then
8258 ac_ct_DSYMUTIL=$DSYMUTIL
8259 # Extract the first word of "dsymutil", so it can be a program name with args.
8260 set dummy dsymutil; ac_word=$2
8261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8262 $as_echo_n "checking for $ac_word... " >&6; }
8263 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
8264 $as_echo_n "(cached) " >&6
8265 else
8266 if test -n "$ac_ct_DSYMUTIL"; then
8267 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8268 else
8269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8270 for as_dir in $PATH
8272 IFS=$as_save_IFS
8273 test -z "$as_dir" && as_dir=.
8274 for ac_exec_ext in '' $ac_executable_extensions; do
8275 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8276 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8277 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8278 break 2
8280 done
8281 done
8282 IFS=$as_save_IFS
8286 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8287 if test -n "$ac_ct_DSYMUTIL"; then
8288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8289 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8290 else
8291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8292 $as_echo "no" >&6; }
8295 if test "x$ac_ct_DSYMUTIL" = x; then
8296 DSYMUTIL=":"
8297 else
8298 case $cross_compiling:$ac_tool_warned in
8299 yes:)
8300 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8301 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8302 ac_tool_warned=yes ;;
8303 esac
8304 DSYMUTIL=$ac_ct_DSYMUTIL
8306 else
8307 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8310 if test -n "$ac_tool_prefix"; then
8311 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8312 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8314 $as_echo_n "checking for $ac_word... " >&6; }
8315 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
8316 $as_echo_n "(cached) " >&6
8317 else
8318 if test -n "$NMEDIT"; then
8319 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8320 else
8321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8322 for as_dir in $PATH
8324 IFS=$as_save_IFS
8325 test -z "$as_dir" && as_dir=.
8326 for ac_exec_ext in '' $ac_executable_extensions; do
8327 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8328 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8329 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8330 break 2
8332 done
8333 done
8334 IFS=$as_save_IFS
8338 NMEDIT=$ac_cv_prog_NMEDIT
8339 if test -n "$NMEDIT"; then
8340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8341 $as_echo "$NMEDIT" >&6; }
8342 else
8343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8344 $as_echo "no" >&6; }
8349 if test -z "$ac_cv_prog_NMEDIT"; then
8350 ac_ct_NMEDIT=$NMEDIT
8351 # Extract the first word of "nmedit", so it can be a program name with args.
8352 set dummy nmedit; ac_word=$2
8353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8354 $as_echo_n "checking for $ac_word... " >&6; }
8355 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
8356 $as_echo_n "(cached) " >&6
8357 else
8358 if test -n "$ac_ct_NMEDIT"; then
8359 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8360 else
8361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8362 for as_dir in $PATH
8364 IFS=$as_save_IFS
8365 test -z "$as_dir" && as_dir=.
8366 for ac_exec_ext in '' $ac_executable_extensions; do
8367 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8368 ac_cv_prog_ac_ct_NMEDIT="nmedit"
8369 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8370 break 2
8372 done
8373 done
8374 IFS=$as_save_IFS
8378 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8379 if test -n "$ac_ct_NMEDIT"; then
8380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8381 $as_echo "$ac_ct_NMEDIT" >&6; }
8382 else
8383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8384 $as_echo "no" >&6; }
8387 if test "x$ac_ct_NMEDIT" = x; then
8388 NMEDIT=":"
8389 else
8390 case $cross_compiling:$ac_tool_warned in
8391 yes:)
8392 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8393 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8394 ac_tool_warned=yes ;;
8395 esac
8396 NMEDIT=$ac_ct_NMEDIT
8398 else
8399 NMEDIT="$ac_cv_prog_NMEDIT"
8402 if test -n "$ac_tool_prefix"; then
8403 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8404 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8406 $as_echo_n "checking for $ac_word... " >&6; }
8407 if test "${ac_cv_prog_LIPO+set}" = set; then :
8408 $as_echo_n "(cached) " >&6
8409 else
8410 if test -n "$LIPO"; then
8411 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8412 else
8413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8414 for as_dir in $PATH
8416 IFS=$as_save_IFS
8417 test -z "$as_dir" && as_dir=.
8418 for ac_exec_ext in '' $ac_executable_extensions; do
8419 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8420 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8421 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8422 break 2
8424 done
8425 done
8426 IFS=$as_save_IFS
8430 LIPO=$ac_cv_prog_LIPO
8431 if test -n "$LIPO"; then
8432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8433 $as_echo "$LIPO" >&6; }
8434 else
8435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8436 $as_echo "no" >&6; }
8441 if test -z "$ac_cv_prog_LIPO"; then
8442 ac_ct_LIPO=$LIPO
8443 # Extract the first word of "lipo", so it can be a program name with args.
8444 set dummy lipo; ac_word=$2
8445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8446 $as_echo_n "checking for $ac_word... " >&6; }
8447 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
8448 $as_echo_n "(cached) " >&6
8449 else
8450 if test -n "$ac_ct_LIPO"; then
8451 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8452 else
8453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8454 for as_dir in $PATH
8456 IFS=$as_save_IFS
8457 test -z "$as_dir" && as_dir=.
8458 for ac_exec_ext in '' $ac_executable_extensions; do
8459 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8460 ac_cv_prog_ac_ct_LIPO="lipo"
8461 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8462 break 2
8464 done
8465 done
8466 IFS=$as_save_IFS
8470 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8471 if test -n "$ac_ct_LIPO"; then
8472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8473 $as_echo "$ac_ct_LIPO" >&6; }
8474 else
8475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8476 $as_echo "no" >&6; }
8479 if test "x$ac_ct_LIPO" = x; then
8480 LIPO=":"
8481 else
8482 case $cross_compiling:$ac_tool_warned in
8483 yes:)
8484 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8485 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8486 ac_tool_warned=yes ;;
8487 esac
8488 LIPO=$ac_ct_LIPO
8490 else
8491 LIPO="$ac_cv_prog_LIPO"
8494 if test -n "$ac_tool_prefix"; then
8495 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8496 set dummy ${ac_tool_prefix}otool; ac_word=$2
8497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8498 $as_echo_n "checking for $ac_word... " >&6; }
8499 if test "${ac_cv_prog_OTOOL+set}" = set; then :
8500 $as_echo_n "(cached) " >&6
8501 else
8502 if test -n "$OTOOL"; then
8503 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8504 else
8505 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8506 for as_dir in $PATH
8508 IFS=$as_save_IFS
8509 test -z "$as_dir" && as_dir=.
8510 for ac_exec_ext in '' $ac_executable_extensions; do
8511 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8512 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8513 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8514 break 2
8516 done
8517 done
8518 IFS=$as_save_IFS
8522 OTOOL=$ac_cv_prog_OTOOL
8523 if test -n "$OTOOL"; then
8524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8525 $as_echo "$OTOOL" >&6; }
8526 else
8527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8528 $as_echo "no" >&6; }
8533 if test -z "$ac_cv_prog_OTOOL"; then
8534 ac_ct_OTOOL=$OTOOL
8535 # Extract the first word of "otool", so it can be a program name with args.
8536 set dummy otool; ac_word=$2
8537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8538 $as_echo_n "checking for $ac_word... " >&6; }
8539 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
8540 $as_echo_n "(cached) " >&6
8541 else
8542 if test -n "$ac_ct_OTOOL"; then
8543 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8544 else
8545 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8546 for as_dir in $PATH
8548 IFS=$as_save_IFS
8549 test -z "$as_dir" && as_dir=.
8550 for ac_exec_ext in '' $ac_executable_extensions; do
8551 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8552 ac_cv_prog_ac_ct_OTOOL="otool"
8553 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8554 break 2
8556 done
8557 done
8558 IFS=$as_save_IFS
8562 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8563 if test -n "$ac_ct_OTOOL"; then
8564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8565 $as_echo "$ac_ct_OTOOL" >&6; }
8566 else
8567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8568 $as_echo "no" >&6; }
8571 if test "x$ac_ct_OTOOL" = x; then
8572 OTOOL=":"
8573 else
8574 case $cross_compiling:$ac_tool_warned in
8575 yes:)
8576 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8577 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8578 ac_tool_warned=yes ;;
8579 esac
8580 OTOOL=$ac_ct_OTOOL
8582 else
8583 OTOOL="$ac_cv_prog_OTOOL"
8586 if test -n "$ac_tool_prefix"; then
8587 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8588 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8590 $as_echo_n "checking for $ac_word... " >&6; }
8591 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
8592 $as_echo_n "(cached) " >&6
8593 else
8594 if test -n "$OTOOL64"; then
8595 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8596 else
8597 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8598 for as_dir in $PATH
8600 IFS=$as_save_IFS
8601 test -z "$as_dir" && as_dir=.
8602 for ac_exec_ext in '' $ac_executable_extensions; do
8603 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8604 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8605 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8606 break 2
8608 done
8609 done
8610 IFS=$as_save_IFS
8614 OTOOL64=$ac_cv_prog_OTOOL64
8615 if test -n "$OTOOL64"; then
8616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8617 $as_echo "$OTOOL64" >&6; }
8618 else
8619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8620 $as_echo "no" >&6; }
8625 if test -z "$ac_cv_prog_OTOOL64"; then
8626 ac_ct_OTOOL64=$OTOOL64
8627 # Extract the first word of "otool64", so it can be a program name with args.
8628 set dummy otool64; ac_word=$2
8629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8630 $as_echo_n "checking for $ac_word... " >&6; }
8631 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
8632 $as_echo_n "(cached) " >&6
8633 else
8634 if test -n "$ac_ct_OTOOL64"; then
8635 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8636 else
8637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8638 for as_dir in $PATH
8640 IFS=$as_save_IFS
8641 test -z "$as_dir" && as_dir=.
8642 for ac_exec_ext in '' $ac_executable_extensions; do
8643 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8644 ac_cv_prog_ac_ct_OTOOL64="otool64"
8645 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8646 break 2
8648 done
8649 done
8650 IFS=$as_save_IFS
8654 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8655 if test -n "$ac_ct_OTOOL64"; then
8656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8657 $as_echo "$ac_ct_OTOOL64" >&6; }
8658 else
8659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8660 $as_echo "no" >&6; }
8663 if test "x$ac_ct_OTOOL64" = x; then
8664 OTOOL64=":"
8665 else
8666 case $cross_compiling:$ac_tool_warned in
8667 yes:)
8668 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8669 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8670 ac_tool_warned=yes ;;
8671 esac
8672 OTOOL64=$ac_ct_OTOOL64
8674 else
8675 OTOOL64="$ac_cv_prog_OTOOL64"
8704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8705 $as_echo_n "checking for -single_module linker flag... " >&6; }
8706 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
8707 $as_echo_n "(cached) " >&6
8708 else
8709 lt_cv_apple_cc_single_mod=no
8710 if test -z "${LT_MULTI_MODULE}"; then
8711 # By default we will add the -single_module flag. You can override
8712 # by either setting the environment variable LT_MULTI_MODULE
8713 # non-empty at configure time, or by adding -multi_module to the
8714 # link flags.
8715 rm -rf libconftest.dylib*
8716 echo "int foo(void){return 1;}" > conftest.c
8717 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8718 -dynamiclib -Wl,-single_module conftest.c" >&5
8719 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8720 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8721 _lt_result=$?
8722 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8723 lt_cv_apple_cc_single_mod=yes
8724 else
8725 cat conftest.err >&5
8727 rm -rf libconftest.dylib*
8728 rm -f conftest.*
8731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8732 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8734 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8735 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
8736 $as_echo_n "(cached) " >&6
8737 else
8738 lt_cv_ld_exported_symbols_list=no
8739 save_LDFLAGS=$LDFLAGS
8740 echo "_main" > conftest.sym
8741 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8742 if test x$gcc_no_link = xyes; then
8743 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8746 /* end confdefs.h. */
8749 main ()
8753 return 0;
8755 _ACEOF
8756 if ac_fn_c_try_link "$LINENO"; then :
8757 lt_cv_ld_exported_symbols_list=yes
8758 else
8759 lt_cv_ld_exported_symbols_list=no
8761 rm -f core conftest.err conftest.$ac_objext \
8762 conftest$ac_exeext conftest.$ac_ext
8763 LDFLAGS="$save_LDFLAGS"
8766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8767 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8769 $as_echo_n "checking for -force_load linker flag... " >&6; }
8770 if test "${lt_cv_ld_force_load+set}" = set; then :
8771 $as_echo_n "(cached) " >&6
8772 else
8773 lt_cv_ld_force_load=no
8774 cat > conftest.c << _LT_EOF
8775 int forced_loaded() { return 2;}
8776 _LT_EOF
8777 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8778 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8779 echo "$AR cru libconftest.a conftest.o" >&5
8780 $AR cru libconftest.a conftest.o 2>&5
8781 cat > conftest.c << _LT_EOF
8782 int main() { return 0;}
8783 _LT_EOF
8784 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8785 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8786 _lt_result=$?
8787 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
8788 lt_cv_ld_force_load=yes
8789 else
8790 cat conftest.err >&5
8792 rm -f conftest.err libconftest.a conftest conftest.c
8793 rm -rf conftest.dSYM
8796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8797 $as_echo "$lt_cv_ld_force_load" >&6; }
8798 case $host_os in
8799 rhapsody* | darwin1.[012])
8800 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8801 darwin1.*)
8802 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8803 darwin*) # darwin 5.x on
8804 # if running on 10.5 or later, the deployment target defaults
8805 # to the OS version, if on x86, and 10.4, the deployment
8806 # target defaults to 10.4. Don't you love it?
8807 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8808 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8809 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8810 10.[012]*)
8811 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8812 10.*)
8813 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8814 esac
8816 esac
8817 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8818 _lt_dar_single_mod='$single_module'
8820 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8821 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8822 else
8823 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8825 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8826 _lt_dsymutil='~$DSYMUTIL $lib || :'
8827 else
8828 _lt_dsymutil=
8831 esac
8833 for ac_header in dlfcn.h
8834 do :
8835 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8837 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8838 cat >>confdefs.h <<_ACEOF
8839 #define HAVE_DLFCN_H 1
8840 _ACEOF
8844 done
8850 # Set options
8855 enable_win32_dll=no
8858 # Check whether --enable-shared was given.
8859 if test "${enable_shared+set}" = set; then :
8860 enableval=$enable_shared; p=${PACKAGE-default}
8861 case $enableval in
8862 yes) enable_shared=yes ;;
8863 no) enable_shared=no ;;
8865 enable_shared=no
8866 # Look at the argument we got. We use all the common list separators.
8867 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8868 for pkg in $enableval; do
8869 IFS="$lt_save_ifs"
8870 if test "X$pkg" = "X$p"; then
8871 enable_shared=yes
8873 done
8874 IFS="$lt_save_ifs"
8876 esac
8877 else
8878 enable_shared=yes
8889 # Check whether --enable-static was given.
8890 if test "${enable_static+set}" = set; then :
8891 enableval=$enable_static; p=${PACKAGE-default}
8892 case $enableval in
8893 yes) enable_static=yes ;;
8894 no) enable_static=no ;;
8896 enable_static=no
8897 # Look at the argument we got. We use all the common list separators.
8898 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8899 for pkg in $enableval; do
8900 IFS="$lt_save_ifs"
8901 if test "X$pkg" = "X$p"; then
8902 enable_static=yes
8904 done
8905 IFS="$lt_save_ifs"
8907 esac
8908 else
8909 enable_static=yes
8921 # Check whether --with-pic was given.
8922 if test "${with_pic+set}" = set; then :
8923 withval=$with_pic; pic_mode="$withval"
8924 else
8925 pic_mode=default
8929 test -z "$pic_mode" && pic_mode=default
8937 # Check whether --enable-fast-install was given.
8938 if test "${enable_fast_install+set}" = set; then :
8939 enableval=$enable_fast_install; p=${PACKAGE-default}
8940 case $enableval in
8941 yes) enable_fast_install=yes ;;
8942 no) enable_fast_install=no ;;
8944 enable_fast_install=no
8945 # Look at the argument we got. We use all the common list separators.
8946 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8947 for pkg in $enableval; do
8948 IFS="$lt_save_ifs"
8949 if test "X$pkg" = "X$p"; then
8950 enable_fast_install=yes
8952 done
8953 IFS="$lt_save_ifs"
8955 esac
8956 else
8957 enable_fast_install=yes
8970 # This can be used to rebuild libtool when needed
8971 LIBTOOL_DEPS="$ltmain"
8973 # Always use our own libtool.
8974 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
9001 test -z "$LN_S" && LN_S="ln -s"
9016 if test -n "${ZSH_VERSION+set}" ; then
9017 setopt NO_GLOB_SUBST
9020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9021 $as_echo_n "checking for objdir... " >&6; }
9022 if test "${lt_cv_objdir+set}" = set; then :
9023 $as_echo_n "(cached) " >&6
9024 else
9025 rm -f .libs 2>/dev/null
9026 mkdir .libs 2>/dev/null
9027 if test -d .libs; then
9028 lt_cv_objdir=.libs
9029 else
9030 # MS-DOS does not allow filenames that begin with a dot.
9031 lt_cv_objdir=_libs
9033 rmdir .libs 2>/dev/null
9035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9036 $as_echo "$lt_cv_objdir" >&6; }
9037 objdir=$lt_cv_objdir
9043 cat >>confdefs.h <<_ACEOF
9044 #define LT_OBJDIR "$lt_cv_objdir/"
9045 _ACEOF
9050 case $host_os in
9051 aix3*)
9052 # AIX sometimes has problems with the GCC collect2 program. For some
9053 # reason, if we set the COLLECT_NAMES environment variable, the problems
9054 # vanish in a puff of smoke.
9055 if test "X${COLLECT_NAMES+set}" != Xset; then
9056 COLLECT_NAMES=
9057 export COLLECT_NAMES
9060 esac
9062 # Global variables:
9063 ofile=libtool
9064 can_build_shared=yes
9066 # All known linkers require a `.a' archive for static linking (except MSVC,
9067 # which needs '.lib').
9068 libext=a
9070 with_gnu_ld="$lt_cv_prog_gnu_ld"
9072 old_CC="$CC"
9073 old_CFLAGS="$CFLAGS"
9075 # Set sane defaults for various variables
9076 test -z "$CC" && CC=cc
9077 test -z "$LTCC" && LTCC=$CC
9078 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9079 test -z "$LD" && LD=ld
9080 test -z "$ac_objext" && ac_objext=o
9082 for cc_temp in $compiler""; do
9083 case $cc_temp in
9084 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
9085 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
9086 \-*) ;;
9087 *) break;;
9088 esac
9089 done
9090 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
9093 # Only perform the check for file, if the check method requires it
9094 test -z "$MAGIC_CMD" && MAGIC_CMD=file
9095 case $deplibs_check_method in
9096 file_magic*)
9097 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9099 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9100 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
9101 $as_echo_n "(cached) " >&6
9102 else
9103 case $MAGIC_CMD in
9104 [\\/*] | ?:[\\/]*)
9105 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9108 lt_save_MAGIC_CMD="$MAGIC_CMD"
9109 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9110 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9111 for ac_dir in $ac_dummy; do
9112 IFS="$lt_save_ifs"
9113 test -z "$ac_dir" && ac_dir=.
9114 if test -f $ac_dir/${ac_tool_prefix}file; then
9115 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
9116 if test -n "$file_magic_test_file"; then
9117 case $deplibs_check_method in
9118 "file_magic "*)
9119 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9120 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9121 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9122 $EGREP "$file_magic_regex" > /dev/null; then
9124 else
9125 cat <<_LT_EOF 1>&2
9127 *** Warning: the command libtool uses to detect shared libraries,
9128 *** $file_magic_cmd, produces output that libtool cannot recognize.
9129 *** The result is that libtool may fail to recognize shared libraries
9130 *** as such. This will affect the creation of libtool libraries that
9131 *** depend on shared libraries, but programs linked with such libtool
9132 *** libraries will work regardless of this problem. Nevertheless, you
9133 *** may want to report the problem to your system manager and/or to
9134 *** bug-libtool@gnu.org
9136 _LT_EOF
9137 fi ;;
9138 esac
9140 break
9142 done
9143 IFS="$lt_save_ifs"
9144 MAGIC_CMD="$lt_save_MAGIC_CMD"
9146 esac
9149 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9150 if test -n "$MAGIC_CMD"; then
9151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9152 $as_echo "$MAGIC_CMD" >&6; }
9153 else
9154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9155 $as_echo "no" >&6; }
9162 if test -z "$lt_cv_path_MAGIC_CMD"; then
9163 if test -n "$ac_tool_prefix"; then
9164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9165 $as_echo_n "checking for file... " >&6; }
9166 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
9167 $as_echo_n "(cached) " >&6
9168 else
9169 case $MAGIC_CMD in
9170 [\\/*] | ?:[\\/]*)
9171 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9174 lt_save_MAGIC_CMD="$MAGIC_CMD"
9175 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9176 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9177 for ac_dir in $ac_dummy; do
9178 IFS="$lt_save_ifs"
9179 test -z "$ac_dir" && ac_dir=.
9180 if test -f $ac_dir/file; then
9181 lt_cv_path_MAGIC_CMD="$ac_dir/file"
9182 if test -n "$file_magic_test_file"; then
9183 case $deplibs_check_method in
9184 "file_magic "*)
9185 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9186 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9187 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9188 $EGREP "$file_magic_regex" > /dev/null; then
9190 else
9191 cat <<_LT_EOF 1>&2
9193 *** Warning: the command libtool uses to detect shared libraries,
9194 *** $file_magic_cmd, produces output that libtool cannot recognize.
9195 *** The result is that libtool may fail to recognize shared libraries
9196 *** as such. This will affect the creation of libtool libraries that
9197 *** depend on shared libraries, but programs linked with such libtool
9198 *** libraries will work regardless of this problem. Nevertheless, you
9199 *** may want to report the problem to your system manager and/or to
9200 *** bug-libtool@gnu.org
9202 _LT_EOF
9203 fi ;;
9204 esac
9206 break
9208 done
9209 IFS="$lt_save_ifs"
9210 MAGIC_CMD="$lt_save_MAGIC_CMD"
9212 esac
9215 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9216 if test -n "$MAGIC_CMD"; then
9217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9218 $as_echo "$MAGIC_CMD" >&6; }
9219 else
9220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9221 $as_echo "no" >&6; }
9225 else
9226 MAGIC_CMD=:
9232 esac
9234 # Use C for the default configuration in the libtool script
9236 lt_save_CC="$CC"
9237 ac_ext=c
9238 ac_cpp='$CPP $CPPFLAGS'
9239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9244 # Source file extension for C test sources.
9245 ac_ext=c
9247 # Object file extension for compiled C test sources.
9248 objext=o
9249 objext=$objext
9251 # Code to be used in simple compile tests
9252 lt_simple_compile_test_code="int some_variable = 0;"
9254 # Code to be used in simple link tests
9255 lt_simple_link_test_code='int main(){return(0);}'
9263 # If no C compiler was specified, use CC.
9264 LTCC=${LTCC-"$CC"}
9266 # If no C compiler flags were specified, use CFLAGS.
9267 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9269 # Allow CC to be a program name with arguments.
9270 compiler=$CC
9272 # Save the default compiler, since it gets overwritten when the other
9273 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9274 compiler_DEFAULT=$CC
9276 # save warnings/boilerplate of simple test code
9277 ac_outfile=conftest.$ac_objext
9278 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9279 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9280 _lt_compiler_boilerplate=`cat conftest.err`
9281 $RM conftest*
9283 ac_outfile=conftest.$ac_objext
9284 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9285 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9286 _lt_linker_boilerplate=`cat conftest.err`
9287 $RM -r conftest*
9290 ## CAVEAT EMPTOR:
9291 ## There is no encapsulation within the following macros, do not change
9292 ## the running order or otherwise move them around unless you know exactly
9293 ## what you are doing...
9294 if test -n "$compiler"; then
9296 lt_prog_compiler_no_builtin_flag=
9298 if test "$GCC" = yes; then
9299 case $cc_basename in
9300 nvcc*)
9301 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9303 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9304 esac
9306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9307 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9308 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
9309 $as_echo_n "(cached) " >&6
9310 else
9311 lt_cv_prog_compiler_rtti_exceptions=no
9312 ac_outfile=conftest.$ac_objext
9313 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9314 lt_compiler_flag="-fno-rtti -fno-exceptions"
9315 # Insert the option either (1) after the last *FLAGS variable, or
9316 # (2) before a word containing "conftest.", or (3) at the end.
9317 # Note that $ac_compile itself does not contain backslashes and begins
9318 # with a dollar sign (not a hyphen), so the echo should work correctly.
9319 # The option is referenced via a variable to avoid confusing sed.
9320 lt_compile=`echo "$ac_compile" | $SED \
9321 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9322 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9323 -e 's:$: $lt_compiler_flag:'`
9324 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9325 (eval "$lt_compile" 2>conftest.err)
9326 ac_status=$?
9327 cat conftest.err >&5
9328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9329 if (exit $ac_status) && test -s "$ac_outfile"; then
9330 # The compiler can only warn and ignore the option if not recognized
9331 # So say no if there are warnings other than the usual output.
9332 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9333 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9334 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9335 lt_cv_prog_compiler_rtti_exceptions=yes
9338 $RM conftest*
9341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9342 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9344 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9345 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9346 else
9357 lt_prog_compiler_wl=
9358 lt_prog_compiler_pic=
9359 lt_prog_compiler_static=
9361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9362 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9364 if test "$GCC" = yes; then
9365 lt_prog_compiler_wl='-Wl,'
9366 lt_prog_compiler_static='-static'
9368 case $host_os in
9369 aix*)
9370 # All AIX code is PIC.
9371 if test "$host_cpu" = ia64; then
9372 # AIX 5 now supports IA64 processor
9373 lt_prog_compiler_static='-Bstatic'
9375 lt_prog_compiler_pic='-fPIC'
9378 amigaos*)
9379 case $host_cpu in
9380 powerpc)
9381 # see comment about AmigaOS4 .so support
9382 lt_prog_compiler_pic='-fPIC'
9384 m68k)
9385 # FIXME: we need at least 68020 code to build shared libraries, but
9386 # adding the `-m68020' flag to GCC prevents building anything better,
9387 # like `-m68040'.
9388 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9390 esac
9393 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9394 # PIC is the default for these OSes.
9397 mingw* | cygwin* | pw32* | os2* | cegcc*)
9398 # This hack is so that the source file can tell whether it is being
9399 # built for inclusion in a dll (and should export symbols for example).
9400 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9401 # (--disable-auto-import) libraries
9402 lt_prog_compiler_pic='-DDLL_EXPORT'
9405 darwin* | rhapsody*)
9406 # PIC is the default on this platform
9407 # Common symbols not allowed in MH_DYLIB files
9408 lt_prog_compiler_pic='-fno-common'
9411 haiku*)
9412 # PIC is the default for Haiku.
9413 # The "-static" flag exists, but is broken.
9414 lt_prog_compiler_static=
9417 hpux*)
9418 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9419 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9420 # sets the default TLS model and affects inlining.
9421 case $host_cpu in
9422 hppa*64*)
9423 # +Z the default
9426 lt_prog_compiler_pic='-fPIC'
9428 esac
9431 interix[3-9]*)
9432 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9433 # Instead, we relocate shared libraries at runtime.
9436 msdosdjgpp*)
9437 # Just because we use GCC doesn't mean we suddenly get shared libraries
9438 # on systems that don't support them.
9439 lt_prog_compiler_can_build_shared=no
9440 enable_shared=no
9443 *nto* | *qnx*)
9444 # QNX uses GNU C++, but need to define -shared option too, otherwise
9445 # it will coredump.
9446 lt_prog_compiler_pic='-fPIC -shared'
9449 sysv4*MP*)
9450 if test -d /usr/nec; then
9451 lt_prog_compiler_pic=-Kconform_pic
9456 lt_prog_compiler_pic='-fPIC'
9458 esac
9460 case $cc_basename in
9461 nvcc*) # Cuda Compiler Driver 2.2
9462 lt_prog_compiler_wl='-Xlinker '
9463 lt_prog_compiler_pic='-Xcompiler -fPIC'
9465 esac
9466 else
9467 # PORTME Check for flag to pass linker flags through the system compiler.
9468 case $host_os in
9469 aix*)
9470 lt_prog_compiler_wl='-Wl,'
9471 if test "$host_cpu" = ia64; then
9472 # AIX 5 now supports IA64 processor
9473 lt_prog_compiler_static='-Bstatic'
9474 else
9475 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9479 mingw* | cygwin* | pw32* | os2* | cegcc*)
9480 # This hack is so that the source file can tell whether it is being
9481 # built for inclusion in a dll (and should export symbols for example).
9482 lt_prog_compiler_pic='-DDLL_EXPORT'
9485 hpux9* | hpux10* | hpux11*)
9486 lt_prog_compiler_wl='-Wl,'
9487 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9488 # not for PA HP-UX.
9489 case $host_cpu in
9490 hppa*64*|ia64*)
9491 # +Z the default
9494 lt_prog_compiler_pic='+Z'
9496 esac
9497 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9498 lt_prog_compiler_static='${wl}-a ${wl}archive'
9501 irix5* | irix6* | nonstopux*)
9502 lt_prog_compiler_wl='-Wl,'
9503 # PIC (with -KPIC) is the default.
9504 lt_prog_compiler_static='-non_shared'
9507 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9508 case $cc_basename in
9509 # old Intel for x86_64 which still supported -KPIC.
9510 ecc*)
9511 lt_prog_compiler_wl='-Wl,'
9512 lt_prog_compiler_pic='-KPIC'
9513 lt_prog_compiler_static='-static'
9515 # icc used to be incompatible with GCC.
9516 # ICC 10 doesn't accept -KPIC any more.
9517 icc* | ifort*)
9518 lt_prog_compiler_wl='-Wl,'
9519 lt_prog_compiler_pic='-fPIC'
9520 lt_prog_compiler_static='-static'
9522 # Lahey Fortran 8.1.
9523 lf95*)
9524 lt_prog_compiler_wl='-Wl,'
9525 lt_prog_compiler_pic='--shared'
9526 lt_prog_compiler_static='--static'
9528 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9529 # Portland Group compilers (*not* the Pentium gcc compiler,
9530 # which looks to be a dead project)
9531 lt_prog_compiler_wl='-Wl,'
9532 lt_prog_compiler_pic='-fpic'
9533 lt_prog_compiler_static='-Bstatic'
9535 ccc*)
9536 lt_prog_compiler_wl='-Wl,'
9537 # All Alpha code is PIC.
9538 lt_prog_compiler_static='-non_shared'
9540 xl* | bgxl* | bgf* | mpixl*)
9541 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9542 lt_prog_compiler_wl='-Wl,'
9543 lt_prog_compiler_pic='-qpic'
9544 lt_prog_compiler_static='-qstaticlink'
9547 case `$CC -V 2>&1 | sed 5q` in
9548 *Sun\ F* | *Sun*Fortran*)
9549 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9550 lt_prog_compiler_pic='-KPIC'
9551 lt_prog_compiler_static='-Bstatic'
9552 lt_prog_compiler_wl=''
9554 *Sun\ C*)
9555 # Sun C 5.9
9556 lt_prog_compiler_pic='-KPIC'
9557 lt_prog_compiler_static='-Bstatic'
9558 lt_prog_compiler_wl='-Wl,'
9560 esac
9562 esac
9565 newsos6)
9566 lt_prog_compiler_pic='-KPIC'
9567 lt_prog_compiler_static='-Bstatic'
9570 *nto* | *qnx*)
9571 # QNX uses GNU C++, but need to define -shared option too, otherwise
9572 # it will coredump.
9573 lt_prog_compiler_pic='-fPIC -shared'
9576 osf3* | osf4* | osf5*)
9577 lt_prog_compiler_wl='-Wl,'
9578 # All OSF/1 code is PIC.
9579 lt_prog_compiler_static='-non_shared'
9582 rdos*)
9583 lt_prog_compiler_static='-non_shared'
9586 solaris*)
9587 lt_prog_compiler_pic='-KPIC'
9588 lt_prog_compiler_static='-Bstatic'
9589 case $cc_basename in
9590 f77* | f90* | f95*)
9591 lt_prog_compiler_wl='-Qoption ld ';;
9593 lt_prog_compiler_wl='-Wl,';;
9594 esac
9597 sunos4*)
9598 lt_prog_compiler_wl='-Qoption ld '
9599 lt_prog_compiler_pic='-PIC'
9600 lt_prog_compiler_static='-Bstatic'
9603 sysv4 | sysv4.2uw2* | sysv4.3*)
9604 lt_prog_compiler_wl='-Wl,'
9605 lt_prog_compiler_pic='-KPIC'
9606 lt_prog_compiler_static='-Bstatic'
9609 sysv4*MP*)
9610 if test -d /usr/nec ;then
9611 lt_prog_compiler_pic='-Kconform_pic'
9612 lt_prog_compiler_static='-Bstatic'
9616 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9617 lt_prog_compiler_wl='-Wl,'
9618 lt_prog_compiler_pic='-KPIC'
9619 lt_prog_compiler_static='-Bstatic'
9622 unicos*)
9623 lt_prog_compiler_wl='-Wl,'
9624 lt_prog_compiler_can_build_shared=no
9627 uts4*)
9628 lt_prog_compiler_pic='-pic'
9629 lt_prog_compiler_static='-Bstatic'
9633 lt_prog_compiler_can_build_shared=no
9635 esac
9638 case $host_os in
9639 # For platforms which do not support PIC, -DPIC is meaningless:
9640 *djgpp*)
9641 lt_prog_compiler_pic=
9644 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9646 esac
9647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9648 $as_echo "$lt_prog_compiler_pic" >&6; }
9656 # Check to make sure the PIC flag actually works.
9658 if test -n "$lt_prog_compiler_pic"; then
9659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9660 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9661 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
9662 $as_echo_n "(cached) " >&6
9663 else
9664 lt_cv_prog_compiler_pic_works=no
9665 ac_outfile=conftest.$ac_objext
9666 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9667 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9668 # Insert the option either (1) after the last *FLAGS variable, or
9669 # (2) before a word containing "conftest.", or (3) at the end.
9670 # Note that $ac_compile itself does not contain backslashes and begins
9671 # with a dollar sign (not a hyphen), so the echo should work correctly.
9672 # The option is referenced via a variable to avoid confusing sed.
9673 lt_compile=`echo "$ac_compile" | $SED \
9674 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9675 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9676 -e 's:$: $lt_compiler_flag:'`
9677 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9678 (eval "$lt_compile" 2>conftest.err)
9679 ac_status=$?
9680 cat conftest.err >&5
9681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9682 if (exit $ac_status) && test -s "$ac_outfile"; then
9683 # The compiler can only warn and ignore the option if not recognized
9684 # So say no if there are warnings other than the usual output.
9685 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9686 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9687 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9688 lt_cv_prog_compiler_pic_works=yes
9691 $RM conftest*
9694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9695 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9697 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9698 case $lt_prog_compiler_pic in
9699 "" | " "*) ;;
9700 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9701 esac
9702 else
9703 lt_prog_compiler_pic=
9704 lt_prog_compiler_can_build_shared=no
9715 # Check to make sure the static flag actually works.
9717 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9719 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9720 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
9721 $as_echo_n "(cached) " >&6
9722 else
9723 lt_cv_prog_compiler_static_works=no
9724 save_LDFLAGS="$LDFLAGS"
9725 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9726 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9727 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9728 # The linker can only warn and ignore the option if not recognized
9729 # So say no if there are warnings
9730 if test -s conftest.err; then
9731 # Append any errors to the config.log.
9732 cat conftest.err 1>&5
9733 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9734 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9735 if diff conftest.exp conftest.er2 >/dev/null; then
9736 lt_cv_prog_compiler_static_works=yes
9738 else
9739 lt_cv_prog_compiler_static_works=yes
9742 $RM -r conftest*
9743 LDFLAGS="$save_LDFLAGS"
9746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9747 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9749 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9751 else
9752 lt_prog_compiler_static=
9761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9762 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9763 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9764 $as_echo_n "(cached) " >&6
9765 else
9766 lt_cv_prog_compiler_c_o=no
9767 $RM -r conftest 2>/dev/null
9768 mkdir conftest
9769 cd conftest
9770 mkdir out
9771 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9773 lt_compiler_flag="-o out/conftest2.$ac_objext"
9774 # Insert the option either (1) after the last *FLAGS variable, or
9775 # (2) before a word containing "conftest.", or (3) at the end.
9776 # Note that $ac_compile itself does not contain backslashes and begins
9777 # with a dollar sign (not a hyphen), so the echo should work correctly.
9778 lt_compile=`echo "$ac_compile" | $SED \
9779 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9780 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9781 -e 's:$: $lt_compiler_flag:'`
9782 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9783 (eval "$lt_compile" 2>out/conftest.err)
9784 ac_status=$?
9785 cat out/conftest.err >&5
9786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9787 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9788 then
9789 # The compiler can only warn and ignore the option if not recognized
9790 # So say no if there are warnings
9791 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9792 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9793 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9794 lt_cv_prog_compiler_c_o=yes
9797 chmod u+w . 2>&5
9798 $RM conftest*
9799 # SGI C++ compiler will create directory out/ii_files/ for
9800 # template instantiation
9801 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9802 $RM out/* && rmdir out
9803 cd ..
9804 $RM -r conftest
9805 $RM conftest*
9808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9809 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9817 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9818 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9819 $as_echo_n "(cached) " >&6
9820 else
9821 lt_cv_prog_compiler_c_o=no
9822 $RM -r conftest 2>/dev/null
9823 mkdir conftest
9824 cd conftest
9825 mkdir out
9826 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9828 lt_compiler_flag="-o out/conftest2.$ac_objext"
9829 # Insert the option either (1) after the last *FLAGS variable, or
9830 # (2) before a word containing "conftest.", or (3) at the end.
9831 # Note that $ac_compile itself does not contain backslashes and begins
9832 # with a dollar sign (not a hyphen), so the echo should work correctly.
9833 lt_compile=`echo "$ac_compile" | $SED \
9834 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9835 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9836 -e 's:$: $lt_compiler_flag:'`
9837 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9838 (eval "$lt_compile" 2>out/conftest.err)
9839 ac_status=$?
9840 cat out/conftest.err >&5
9841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9842 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9843 then
9844 # The compiler can only warn and ignore the option if not recognized
9845 # So say no if there are warnings
9846 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9847 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9848 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9849 lt_cv_prog_compiler_c_o=yes
9852 chmod u+w . 2>&5
9853 $RM conftest*
9854 # SGI C++ compiler will create directory out/ii_files/ for
9855 # template instantiation
9856 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9857 $RM out/* && rmdir out
9858 cd ..
9859 $RM -r conftest
9860 $RM conftest*
9863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9864 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9869 hard_links="nottested"
9870 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9871 # do not overwrite the value of need_locks provided by the user
9872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9873 $as_echo_n "checking if we can lock with hard links... " >&6; }
9874 hard_links=yes
9875 $RM conftest*
9876 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9877 touch conftest.a
9878 ln conftest.a conftest.b 2>&5 || hard_links=no
9879 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9881 $as_echo "$hard_links" >&6; }
9882 if test "$hard_links" = no; then
9883 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9884 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9885 need_locks=warn
9887 else
9888 need_locks=no
9896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9897 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9899 runpath_var=
9900 allow_undefined_flag=
9901 always_export_symbols=no
9902 archive_cmds=
9903 archive_expsym_cmds=
9904 compiler_needs_object=no
9905 enable_shared_with_static_runtimes=no
9906 export_dynamic_flag_spec=
9907 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9908 hardcode_automatic=no
9909 hardcode_direct=no
9910 hardcode_direct_absolute=no
9911 hardcode_libdir_flag_spec=
9912 hardcode_libdir_flag_spec_ld=
9913 hardcode_libdir_separator=
9914 hardcode_minus_L=no
9915 hardcode_shlibpath_var=unsupported
9916 inherit_rpath=no
9917 link_all_deplibs=unknown
9918 module_cmds=
9919 module_expsym_cmds=
9920 old_archive_from_new_cmds=
9921 old_archive_from_expsyms_cmds=
9922 thread_safe_flag_spec=
9923 whole_archive_flag_spec=
9924 # include_expsyms should be a list of space-separated symbols to be *always*
9925 # included in the symbol list
9926 include_expsyms=
9927 # exclude_expsyms can be an extended regexp of symbols to exclude
9928 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9929 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9930 # as well as any symbol that contains `d'.
9931 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9932 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9933 # platforms (ab)use it in PIC code, but their linkers get confused if
9934 # the symbol is explicitly referenced. Since portable code cannot
9935 # rely on this symbol name, it's probably fine to never include it in
9936 # preloaded symbol tables.
9937 # Exclude shared library initialization/finalization symbols.
9938 extract_expsyms_cmds=
9940 case $host_os in
9941 cygwin* | mingw* | pw32* | cegcc*)
9942 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9943 # When not using gcc, we currently assume that we are using
9944 # Microsoft Visual C++.
9945 if test "$GCC" != yes; then
9946 with_gnu_ld=no
9949 interix*)
9950 # we just hope/assume this is gcc and not c89 (= MSVC++)
9951 with_gnu_ld=yes
9953 openbsd*)
9954 with_gnu_ld=no
9956 esac
9958 ld_shlibs=yes
9960 # On some targets, GNU ld is compatible enough with the native linker
9961 # that we're better off using the native interface for both.
9962 lt_use_gnu_ld_interface=no
9963 if test "$with_gnu_ld" = yes; then
9964 case $host_os in
9965 aix*)
9966 # The AIX port of GNU ld has always aspired to compatibility
9967 # with the native linker. However, as the warning in the GNU ld
9968 # block says, versions before 2.19.5* couldn't really create working
9969 # shared libraries, regardless of the interface used.
9970 case `$LD -v 2>&1` in
9971 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9972 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9973 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9975 lt_use_gnu_ld_interface=yes
9977 esac
9980 lt_use_gnu_ld_interface=yes
9982 esac
9985 if test "$lt_use_gnu_ld_interface" = yes; then
9986 # If archive_cmds runs LD, not CC, wlarc should be empty
9987 wlarc='${wl}'
9989 # Set some defaults for GNU ld with shared library support. These
9990 # are reset later if shared libraries are not supported. Putting them
9991 # here allows them to be overridden if necessary.
9992 runpath_var=LD_RUN_PATH
9993 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9994 export_dynamic_flag_spec='${wl}--export-dynamic'
9995 # ancient GNU ld didn't support --whole-archive et. al.
9996 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9997 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9998 else
9999 whole_archive_flag_spec=
10001 supports_anon_versioning=no
10002 case `$LD -v 2>&1` in
10003 *GNU\ gold*) supports_anon_versioning=yes ;;
10004 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10005 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10006 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10007 *\ 2.11.*) ;; # other 2.11 versions
10008 *) supports_anon_versioning=yes ;;
10009 esac
10011 # See if GNU ld supports shared libraries.
10012 case $host_os in
10013 aix[3-9]*)
10014 # On AIX/PPC, the GNU linker is very broken
10015 if test "$host_cpu" != ia64; then
10016 ld_shlibs=no
10017 cat <<_LT_EOF 1>&2
10019 *** Warning: the GNU linker, at least up to release 2.19, is reported
10020 *** to be unable to reliably create shared libraries on AIX.
10021 *** Therefore, libtool is disabling shared libraries support. If you
10022 *** really care for shared libraries, you may want to install binutils
10023 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10024 *** You will then need to restart the configuration process.
10026 _LT_EOF
10030 amigaos*)
10031 case $host_cpu in
10032 powerpc)
10033 # see comment about AmigaOS4 .so support
10034 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10035 archive_expsym_cmds=''
10037 m68k)
10038 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)'
10039 hardcode_libdir_flag_spec='-L$libdir'
10040 hardcode_minus_L=yes
10042 esac
10045 beos*)
10046 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10047 allow_undefined_flag=unsupported
10048 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10049 # support --undefined. This deserves some investigation. FIXME
10050 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10051 else
10052 ld_shlibs=no
10056 cygwin* | mingw* | pw32* | cegcc*)
10057 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10058 # as there is no search path for DLLs.
10059 hardcode_libdir_flag_spec='-L$libdir'
10060 export_dynamic_flag_spec='${wl}--export-all-symbols'
10061 allow_undefined_flag=unsupported
10062 always_export_symbols=no
10063 enable_shared_with_static_runtimes=yes
10064 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10066 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
10067 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10068 # If the export-symbols file already is a .def file (1st line
10069 # is EXPORTS), use it as is; otherwise, prepend...
10070 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10071 cp $export_symbols $output_objdir/$soname.def;
10072 else
10073 echo EXPORTS > $output_objdir/$soname.def;
10074 cat $export_symbols >> $output_objdir/$soname.def;
10076 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10077 else
10078 ld_shlibs=no
10082 haiku*)
10083 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10084 link_all_deplibs=yes
10087 interix[3-9]*)
10088 hardcode_direct=no
10089 hardcode_shlibpath_var=no
10090 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10091 export_dynamic_flag_spec='${wl}-E'
10092 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10093 # Instead, shared libraries are loaded at an image base (0x10000000 by
10094 # default) and relocated if they conflict, which is a slow very memory
10095 # consuming and fragmenting process. To avoid this, we pick a random,
10096 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10097 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10098 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10099 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'
10102 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
10103 tmp_diet=no
10104 if test "$host_os" = linux-dietlibc; then
10105 case $cc_basename in
10106 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
10107 esac
10109 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
10110 && test "$tmp_diet" = no
10111 then
10112 tmp_addflag=
10113 tmp_sharedflag='-shared'
10114 case $cc_basename,$host_cpu in
10115 pgcc*) # Portland Group C compiler
10116 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'
10117 tmp_addflag=' $pic_flag'
10119 pgf77* | pgf90* | pgf95* | pgfortran*)
10120 # Portland Group f77 and f90 compilers
10121 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'
10122 tmp_addflag=' $pic_flag -Mnomain' ;;
10123 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
10124 tmp_addflag=' -i_dynamic' ;;
10125 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
10126 tmp_addflag=' -i_dynamic -nofor_main' ;;
10127 ifc* | ifort*) # Intel Fortran compiler
10128 tmp_addflag=' -nofor_main' ;;
10129 lf95*) # Lahey Fortran 8.1
10130 whole_archive_flag_spec=
10131 tmp_sharedflag='--shared' ;;
10132 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10133 tmp_sharedflag='-qmkshrobj'
10134 tmp_addflag= ;;
10135 nvcc*) # Cuda Compiler Driver 2.2
10136 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'
10137 compiler_needs_object=yes
10139 esac
10140 case `$CC -V 2>&1 | sed 5q` in
10141 *Sun\ C*) # Sun C 5.9
10142 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'
10143 compiler_needs_object=yes
10144 tmp_sharedflag='-G' ;;
10145 *Sun\ F*) # Sun Fortran 8.3
10146 tmp_sharedflag='-G' ;;
10147 esac
10148 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10150 if test "x$supports_anon_versioning" = xyes; then
10151 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10152 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10153 echo "local: *; };" >> $output_objdir/$libname.ver~
10154 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10157 case $cc_basename in
10158 xlf* | bgf* | bgxlf* | mpixlf*)
10159 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10160 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10161 hardcode_libdir_flag_spec=
10162 hardcode_libdir_flag_spec_ld='-rpath $libdir'
10163 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
10164 if test "x$supports_anon_versioning" = xyes; then
10165 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10166 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10167 echo "local: *; };" >> $output_objdir/$libname.ver~
10168 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10171 esac
10172 else
10173 ld_shlibs=no
10177 netbsd*)
10178 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10179 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10180 wlarc=
10181 else
10182 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10183 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10187 solaris*)
10188 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10189 ld_shlibs=no
10190 cat <<_LT_EOF 1>&2
10192 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10193 *** create shared libraries on Solaris systems. Therefore, libtool
10194 *** is disabling shared libraries support. We urge you to upgrade GNU
10195 *** binutils to release 2.9.1 or newer. Another option is to modify
10196 *** your PATH or compiler configuration so that the native linker is
10197 *** used, and then restart.
10199 _LT_EOF
10200 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10201 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10202 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10203 else
10204 ld_shlibs=no
10208 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10209 case `$LD -v 2>&1` in
10210 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10211 ld_shlibs=no
10212 cat <<_LT_EOF 1>&2
10214 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10215 *** reliably create shared libraries on SCO systems. Therefore, libtool
10216 *** is disabling shared libraries support. We urge you to upgrade GNU
10217 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10218 *** your PATH or compiler configuration so that the native linker is
10219 *** used, and then restart.
10221 _LT_EOF
10224 # For security reasons, it is highly recommended that you always
10225 # use absolute paths for naming shared libraries, and exclude the
10226 # DT_RUNPATH tag from executables and libraries. But doing so
10227 # requires that you compile everything twice, which is a pain.
10228 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10229 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10230 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10231 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10232 else
10233 ld_shlibs=no
10236 esac
10239 sunos4*)
10240 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10241 wlarc=
10242 hardcode_direct=yes
10243 hardcode_shlibpath_var=no
10247 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10248 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10249 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10250 else
10251 ld_shlibs=no
10254 esac
10256 if test "$ld_shlibs" = no; then
10257 runpath_var=
10258 hardcode_libdir_flag_spec=
10259 export_dynamic_flag_spec=
10260 whole_archive_flag_spec=
10262 else
10263 # PORTME fill in a description of your system's linker (not GNU ld)
10264 case $host_os in
10265 aix3*)
10266 allow_undefined_flag=unsupported
10267 always_export_symbols=yes
10268 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'
10269 # Note: this linker hardcodes the directories in LIBPATH if there
10270 # are no directories specified by -L.
10271 hardcode_minus_L=yes
10272 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10273 # Neither direct hardcoding nor static linking is supported with a
10274 # broken collect2.
10275 hardcode_direct=unsupported
10279 aix[4-9]*)
10280 if test "$host_cpu" = ia64; then
10281 # On IA64, the linker does run time linking by default, so we don't
10282 # have to do anything special.
10283 aix_use_runtimelinking=no
10284 exp_sym_flag='-Bexport'
10285 no_entry_flag=""
10286 else
10287 # If we're using GNU nm, then we don't want the "-C" option.
10288 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10289 # Also, AIX nm treats weak defined symbols like other global
10290 # defined symbols, whereas GNU nm marks them as "W".
10291 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10292 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'
10293 else
10294 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'
10296 aix_use_runtimelinking=no
10298 # Test if we are trying to use run time linking or normal
10299 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10300 # need to do runtime linking.
10301 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10302 for ld_flag in $LDFLAGS; do
10303 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10304 aix_use_runtimelinking=yes
10305 break
10307 done
10309 esac
10311 exp_sym_flag='-bexport'
10312 no_entry_flag='-bnoentry'
10315 # When large executables or shared objects are built, AIX ld can
10316 # have problems creating the table of contents. If linking a library
10317 # or program results in "error TOC overflow" add -mminimal-toc to
10318 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10319 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10321 archive_cmds=''
10322 hardcode_direct=yes
10323 hardcode_direct_absolute=yes
10324 hardcode_libdir_separator=':'
10325 link_all_deplibs=yes
10326 file_list_spec='${wl}-f,'
10328 if test "$GCC" = yes; then
10329 case $host_os in aix4.[012]|aix4.[012].*)
10330 # We only want to do this on AIX 4.2 and lower, the check
10331 # below for broken collect2 doesn't work under 4.3+
10332 collect2name=`${CC} -print-prog-name=collect2`
10333 if test -f "$collect2name" &&
10334 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10335 then
10336 # We have reworked collect2
10338 else
10339 # We have old collect2
10340 hardcode_direct=unsupported
10341 # It fails to find uninstalled libraries when the uninstalled
10342 # path is not listed in the libpath. Setting hardcode_minus_L
10343 # to unsupported forces relinking
10344 hardcode_minus_L=yes
10345 hardcode_libdir_flag_spec='-L$libdir'
10346 hardcode_libdir_separator=
10349 esac
10350 shared_flag='-shared'
10351 if test "$aix_use_runtimelinking" = yes; then
10352 shared_flag="$shared_flag "'${wl}-G'
10354 else
10355 # not using gcc
10356 if test "$host_cpu" = ia64; then
10357 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10358 # chokes on -Wl,-G. The following line is correct:
10359 shared_flag='-G'
10360 else
10361 if test "$aix_use_runtimelinking" = yes; then
10362 shared_flag='${wl}-G'
10363 else
10364 shared_flag='${wl}-bM:SRE'
10369 export_dynamic_flag_spec='${wl}-bexpall'
10370 # It seems that -bexpall does not export symbols beginning with
10371 # underscore (_), so it is better to generate a list of symbols to export.
10372 always_export_symbols=yes
10373 if test "$aix_use_runtimelinking" = yes; then
10374 # Warning - without using the other runtime loading flags (-brtl),
10375 # -berok will link without error, but may produce a broken library.
10376 allow_undefined_flag='-berok'
10377 # Determine the default libpath from the value encoded in an
10378 # empty executable.
10379 if test x$gcc_no_link = xyes; then
10380 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10383 /* end confdefs.h. */
10386 main ()
10390 return 0;
10392 _ACEOF
10393 if ac_fn_c_try_link "$LINENO"; then :
10395 lt_aix_libpath_sed='
10396 /Import File Strings/,/^$/ {
10397 /^0/ {
10398 s/^0 *\(.*\)$/\1/
10402 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10403 # Check for a 64-bit object if we didn't find anything.
10404 if test -z "$aix_libpath"; then
10405 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10408 rm -f core conftest.err conftest.$ac_objext \
10409 conftest$ac_exeext conftest.$ac_ext
10410 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10412 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10413 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"
10414 else
10415 if test "$host_cpu" = ia64; then
10416 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10417 allow_undefined_flag="-z nodefs"
10418 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"
10419 else
10420 # Determine the default libpath from the value encoded in an
10421 # empty executable.
10422 if test x$gcc_no_link = xyes; then
10423 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10426 /* end confdefs.h. */
10429 main ()
10433 return 0;
10435 _ACEOF
10436 if ac_fn_c_try_link "$LINENO"; then :
10438 lt_aix_libpath_sed='
10439 /Import File Strings/,/^$/ {
10440 /^0/ {
10441 s/^0 *\(.*\)$/\1/
10445 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10446 # Check for a 64-bit object if we didn't find anything.
10447 if test -z "$aix_libpath"; then
10448 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10451 rm -f core conftest.err conftest.$ac_objext \
10452 conftest$ac_exeext conftest.$ac_ext
10453 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10455 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10456 # Warning - without using the other run time loading flags,
10457 # -berok will link without error, but may produce a broken library.
10458 no_undefined_flag=' ${wl}-bernotok'
10459 allow_undefined_flag=' ${wl}-berok'
10460 if test "$with_gnu_ld" = yes; then
10461 # We only use this code for GNU lds that support --whole-archive.
10462 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10463 else
10464 # Exported symbols can be pulled into shared objects from archives
10465 whole_archive_flag_spec='$convenience'
10467 archive_cmds_need_lc=yes
10468 # This is similar to how AIX traditionally builds its shared libraries.
10469 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'
10474 amigaos*)
10475 case $host_cpu in
10476 powerpc)
10477 # see comment about AmigaOS4 .so support
10478 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10479 archive_expsym_cmds=''
10481 m68k)
10482 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)'
10483 hardcode_libdir_flag_spec='-L$libdir'
10484 hardcode_minus_L=yes
10486 esac
10489 bsdi[45]*)
10490 export_dynamic_flag_spec=-rdynamic
10493 cygwin* | mingw* | pw32* | cegcc*)
10494 # When not using gcc, we currently assume that we are using
10495 # Microsoft Visual C++.
10496 # hardcode_libdir_flag_spec is actually meaningless, as there is
10497 # no search path for DLLs.
10498 hardcode_libdir_flag_spec=' '
10499 allow_undefined_flag=unsupported
10500 # Tell ltmain to make .lib files, not .a files.
10501 libext=lib
10502 # Tell ltmain to make .dll files, not .so files.
10503 shrext_cmds=".dll"
10504 # FIXME: Setting linknames here is a bad hack.
10505 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10506 # The linker will automatically build a .lib file if we build a DLL.
10507 old_archive_from_new_cmds='true'
10508 # FIXME: Should let the user specify the lib program.
10509 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10510 fix_srcfile_path='`cygpath -w "$srcfile"`'
10511 enable_shared_with_static_runtimes=yes
10514 darwin* | rhapsody*)
10517 archive_cmds_need_lc=no
10518 hardcode_direct=no
10519 hardcode_automatic=yes
10520 hardcode_shlibpath_var=unsupported
10521 if test "$lt_cv_ld_force_load" = "yes"; then
10522 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\"`'
10523 else
10524 whole_archive_flag_spec=''
10526 link_all_deplibs=yes
10527 allow_undefined_flag="$_lt_dar_allow_undefined"
10528 case $cc_basename in
10529 ifort*) _lt_dar_can_shared=yes ;;
10530 *) _lt_dar_can_shared=$GCC ;;
10531 esac
10532 if test "$_lt_dar_can_shared" = "yes"; then
10533 output_verbose_link_cmd=func_echo_all
10534 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10535 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10536 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}"
10537 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}"
10539 else
10540 ld_shlibs=no
10545 dgux*)
10546 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10547 hardcode_libdir_flag_spec='-L$libdir'
10548 hardcode_shlibpath_var=no
10551 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10552 # support. Future versions do this automatically, but an explicit c++rt0.o
10553 # does not break anything, and helps significantly (at the cost of a little
10554 # extra space).
10555 freebsd2.2*)
10556 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10557 hardcode_libdir_flag_spec='-R$libdir'
10558 hardcode_direct=yes
10559 hardcode_shlibpath_var=no
10562 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10563 freebsd2.*)
10564 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10565 hardcode_direct=yes
10566 hardcode_minus_L=yes
10567 hardcode_shlibpath_var=no
10570 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10571 freebsd* | dragonfly*)
10572 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10573 hardcode_libdir_flag_spec='-R$libdir'
10574 hardcode_direct=yes
10575 hardcode_shlibpath_var=no
10578 hpux9*)
10579 if test "$GCC" = yes; then
10580 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'
10581 else
10582 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'
10584 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10585 hardcode_libdir_separator=:
10586 hardcode_direct=yes
10588 # hardcode_minus_L: Not really in the search PATH,
10589 # but as the default location of the library.
10590 hardcode_minus_L=yes
10591 export_dynamic_flag_spec='${wl}-E'
10594 hpux10*)
10595 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10596 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10597 else
10598 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10600 if test "$with_gnu_ld" = no; then
10601 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10602 hardcode_libdir_flag_spec_ld='+b $libdir'
10603 hardcode_libdir_separator=:
10604 hardcode_direct=yes
10605 hardcode_direct_absolute=yes
10606 export_dynamic_flag_spec='${wl}-E'
10607 # hardcode_minus_L: Not really in the search PATH,
10608 # but as the default location of the library.
10609 hardcode_minus_L=yes
10613 hpux11*)
10614 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10615 case $host_cpu in
10616 hppa*64*)
10617 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10619 ia64*)
10620 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10623 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10625 esac
10626 else
10627 case $host_cpu in
10628 hppa*64*)
10629 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10631 ia64*)
10632 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10636 # Older versions of the 11.00 compiler do not understand -b yet
10637 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10639 $as_echo_n "checking if $CC understands -b... " >&6; }
10640 if test "${lt_cv_prog_compiler__b+set}" = set; then :
10641 $as_echo_n "(cached) " >&6
10642 else
10643 lt_cv_prog_compiler__b=no
10644 save_LDFLAGS="$LDFLAGS"
10645 LDFLAGS="$LDFLAGS -b"
10646 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10647 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10648 # The linker can only warn and ignore the option if not recognized
10649 # So say no if there are warnings
10650 if test -s conftest.err; then
10651 # Append any errors to the config.log.
10652 cat conftest.err 1>&5
10653 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10654 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10655 if diff conftest.exp conftest.er2 >/dev/null; then
10656 lt_cv_prog_compiler__b=yes
10658 else
10659 lt_cv_prog_compiler__b=yes
10662 $RM -r conftest*
10663 LDFLAGS="$save_LDFLAGS"
10666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10667 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10669 if test x"$lt_cv_prog_compiler__b" = xyes; then
10670 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10671 else
10672 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10676 esac
10678 if test "$with_gnu_ld" = no; then
10679 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10680 hardcode_libdir_separator=:
10682 case $host_cpu in
10683 hppa*64*|ia64*)
10684 hardcode_direct=no
10685 hardcode_shlibpath_var=no
10688 hardcode_direct=yes
10689 hardcode_direct_absolute=yes
10690 export_dynamic_flag_spec='${wl}-E'
10692 # hardcode_minus_L: Not really in the search PATH,
10693 # but as the default location of the library.
10694 hardcode_minus_L=yes
10696 esac
10700 irix5* | irix6* | nonstopux*)
10701 if test "$GCC" = yes; then
10702 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'
10703 # Try to use the -exported_symbol ld option, if it does not
10704 # work, assume that -exports_file does not work either and
10705 # implicitly export all symbols.
10706 save_LDFLAGS="$LDFLAGS"
10707 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10708 if test x$gcc_no_link = xyes; then
10709 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10712 /* end confdefs.h. */
10713 int foo(void) {}
10714 _ACEOF
10715 if ac_fn_c_try_link "$LINENO"; then :
10716 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'
10719 rm -f core conftest.err conftest.$ac_objext \
10720 conftest$ac_exeext conftest.$ac_ext
10721 LDFLAGS="$save_LDFLAGS"
10722 else
10723 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'
10724 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'
10726 archive_cmds_need_lc='no'
10727 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10728 hardcode_libdir_separator=:
10729 inherit_rpath=yes
10730 link_all_deplibs=yes
10733 netbsd*)
10734 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10735 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10736 else
10737 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10739 hardcode_libdir_flag_spec='-R$libdir'
10740 hardcode_direct=yes
10741 hardcode_shlibpath_var=no
10744 newsos6)
10745 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10746 hardcode_direct=yes
10747 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10748 hardcode_libdir_separator=:
10749 hardcode_shlibpath_var=no
10752 *nto* | *qnx*)
10755 openbsd*)
10756 if test -f /usr/libexec/ld.so; then
10757 hardcode_direct=yes
10758 hardcode_shlibpath_var=no
10759 hardcode_direct_absolute=yes
10760 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10761 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10762 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10763 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10764 export_dynamic_flag_spec='${wl}-E'
10765 else
10766 case $host_os in
10767 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10768 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10769 hardcode_libdir_flag_spec='-R$libdir'
10772 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10773 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10775 esac
10777 else
10778 ld_shlibs=no
10782 os2*)
10783 hardcode_libdir_flag_spec='-L$libdir'
10784 hardcode_minus_L=yes
10785 allow_undefined_flag=unsupported
10786 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'
10787 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10790 osf3*)
10791 if test "$GCC" = yes; then
10792 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10793 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'
10794 else
10795 allow_undefined_flag=' -expect_unresolved \*'
10796 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'
10798 archive_cmds_need_lc='no'
10799 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10800 hardcode_libdir_separator=:
10803 osf4* | osf5*) # as osf3* with the addition of -msym flag
10804 if test "$GCC" = yes; then
10805 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10806 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'
10807 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10808 else
10809 allow_undefined_flag=' -expect_unresolved \*'
10810 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'
10811 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~
10812 $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'
10814 # Both c and cxx compiler support -rpath directly
10815 hardcode_libdir_flag_spec='-rpath $libdir'
10817 archive_cmds_need_lc='no'
10818 hardcode_libdir_separator=:
10821 solaris*)
10822 no_undefined_flag=' -z defs'
10823 if test "$GCC" = yes; then
10824 wlarc='${wl}'
10825 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10826 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10827 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10828 else
10829 case `$CC -V 2>&1` in
10830 *"Compilers 5.0"*)
10831 wlarc=''
10832 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10833 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10834 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10837 wlarc='${wl}'
10838 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10839 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10840 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10842 esac
10844 hardcode_libdir_flag_spec='-R$libdir'
10845 hardcode_shlibpath_var=no
10846 case $host_os in
10847 solaris2.[0-5] | solaris2.[0-5].*) ;;
10849 # The compiler driver will combine and reorder linker options,
10850 # but understands `-z linker_flag'. GCC discards it without `$wl',
10851 # but is careful enough not to reorder.
10852 # Supported since Solaris 2.6 (maybe 2.5.1?)
10853 if test "$GCC" = yes; then
10854 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10855 else
10856 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10859 esac
10860 link_all_deplibs=yes
10863 sunos4*)
10864 if test "x$host_vendor" = xsequent; then
10865 # Use $CC to link under sequent, because it throws in some extra .o
10866 # files that make .init and .fini sections work.
10867 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10868 else
10869 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10871 hardcode_libdir_flag_spec='-L$libdir'
10872 hardcode_direct=yes
10873 hardcode_minus_L=yes
10874 hardcode_shlibpath_var=no
10877 sysv4)
10878 case $host_vendor in
10879 sni)
10880 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10881 hardcode_direct=yes # is this really true???
10883 siemens)
10884 ## LD is ld it makes a PLAMLIB
10885 ## CC just makes a GrossModule.
10886 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10887 reload_cmds='$CC -r -o $output$reload_objs'
10888 hardcode_direct=no
10890 motorola)
10891 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10892 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10894 esac
10895 runpath_var='LD_RUN_PATH'
10896 hardcode_shlibpath_var=no
10899 sysv4.3*)
10900 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10901 hardcode_shlibpath_var=no
10902 export_dynamic_flag_spec='-Bexport'
10905 sysv4*MP*)
10906 if test -d /usr/nec; then
10907 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10908 hardcode_shlibpath_var=no
10909 runpath_var=LD_RUN_PATH
10910 hardcode_runpath_var=yes
10911 ld_shlibs=yes
10915 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10916 no_undefined_flag='${wl}-z,text'
10917 archive_cmds_need_lc=no
10918 hardcode_shlibpath_var=no
10919 runpath_var='LD_RUN_PATH'
10921 if test "$GCC" = yes; then
10922 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10923 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10924 else
10925 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10926 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10930 sysv5* | sco3.2v5* | sco5v6*)
10931 # Note: We can NOT use -z defs as we might desire, because we do not
10932 # link with -lc, and that would cause any symbols used from libc to
10933 # always be unresolved, which means just about no library would
10934 # ever link correctly. If we're not using GNU ld we use -z text
10935 # though, which does catch some bad symbols but isn't as heavy-handed
10936 # as -z defs.
10937 no_undefined_flag='${wl}-z,text'
10938 allow_undefined_flag='${wl}-z,nodefs'
10939 archive_cmds_need_lc=no
10940 hardcode_shlibpath_var=no
10941 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10942 hardcode_libdir_separator=':'
10943 link_all_deplibs=yes
10944 export_dynamic_flag_spec='${wl}-Bexport'
10945 runpath_var='LD_RUN_PATH'
10947 if test "$GCC" = yes; then
10948 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10949 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10950 else
10951 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10952 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10956 uts4*)
10957 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10958 hardcode_libdir_flag_spec='-L$libdir'
10959 hardcode_shlibpath_var=no
10963 ld_shlibs=no
10965 esac
10967 if test x$host_vendor = xsni; then
10968 case $host in
10969 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10970 export_dynamic_flag_spec='${wl}-Blargedynsym'
10972 esac
10976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10977 $as_echo "$ld_shlibs" >&6; }
10978 test "$ld_shlibs" = no && can_build_shared=no
10980 with_gnu_ld=$with_gnu_ld
10997 # Do we need to explicitly link libc?
10999 case "x$archive_cmds_need_lc" in
11000 x|xyes)
11001 # Assume -lc should be added
11002 archive_cmds_need_lc=yes
11004 if test "$enable_shared" = yes && test "$GCC" = yes; then
11005 case $archive_cmds in
11006 *'~'*)
11007 # FIXME: we may have to deal with multi-command sequences.
11009 '$CC '*)
11010 # Test whether the compiler implicitly links with -lc since on some
11011 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11012 # to ld, don't add -lc before -lgcc.
11013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11014 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11015 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
11016 $as_echo_n "(cached) " >&6
11017 else
11018 $RM conftest*
11019 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11021 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11022 (eval $ac_compile) 2>&5
11023 ac_status=$?
11024 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11025 test $ac_status = 0; } 2>conftest.err; then
11026 soname=conftest
11027 lib=conftest
11028 libobjs=conftest.$ac_objext
11029 deplibs=
11030 wl=$lt_prog_compiler_wl
11031 pic_flag=$lt_prog_compiler_pic
11032 compiler_flags=-v
11033 linker_flags=-v
11034 verstring=
11035 output_objdir=.
11036 libname=conftest
11037 lt_save_allow_undefined_flag=$allow_undefined_flag
11038 allow_undefined_flag=
11039 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11040 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11041 ac_status=$?
11042 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11043 test $ac_status = 0; }
11044 then
11045 lt_cv_archive_cmds_need_lc=no
11046 else
11047 lt_cv_archive_cmds_need_lc=yes
11049 allow_undefined_flag=$lt_save_allow_undefined_flag
11050 else
11051 cat conftest.err 1>&5
11053 $RM conftest*
11056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11057 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11058 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
11060 esac
11063 esac
11221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11222 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11224 if test "$GCC" = yes; then
11225 case $host_os in
11226 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
11227 *) lt_awk_arg="/^libraries:/" ;;
11228 esac
11229 case $host_os in
11230 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
11231 *) lt_sed_strip_eq="s,=/,/,g" ;;
11232 esac
11233 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11234 case $lt_search_path_spec in
11235 *\;*)
11236 # if the path contains ";" then we assume it to be the separator
11237 # otherwise default to the standard path separator (i.e. ":") - it is
11238 # assumed that no part of a normal pathname contains ";" but that should
11239 # okay in the real world where ";" in dirpaths is itself problematic.
11240 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11243 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11245 esac
11246 # Ok, now we have the path, separated by spaces, we can step through it
11247 # and add multilib dir if necessary.
11248 lt_tmp_lt_search_path_spec=
11249 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11250 for lt_sys_path in $lt_search_path_spec; do
11251 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11252 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11253 else
11254 test -d "$lt_sys_path" && \
11255 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11257 done
11258 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11259 BEGIN {RS=" "; FS="/|\n";} {
11260 lt_foo="";
11261 lt_count=0;
11262 for (lt_i = NF; lt_i > 0; lt_i--) {
11263 if ($lt_i != "" && $lt_i != ".") {
11264 if ($lt_i == "..") {
11265 lt_count++;
11266 } else {
11267 if (lt_count == 0) {
11268 lt_foo="/" $lt_i lt_foo;
11269 } else {
11270 lt_count--;
11275 if (lt_foo != "") { lt_freq[lt_foo]++; }
11276 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11278 # AWK program above erroneously prepends '/' to C:/dos/paths
11279 # for these hosts.
11280 case $host_os in
11281 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11282 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11283 esac
11284 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11285 else
11286 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11288 library_names_spec=
11289 libname_spec='lib$name'
11290 soname_spec=
11291 shrext_cmds=".so"
11292 postinstall_cmds=
11293 postuninstall_cmds=
11294 finish_cmds=
11295 finish_eval=
11296 shlibpath_var=
11297 shlibpath_overrides_runpath=unknown
11298 version_type=none
11299 dynamic_linker="$host_os ld.so"
11300 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11301 need_lib_prefix=unknown
11302 hardcode_into_libs=no
11304 # when you set need_version to no, make sure it does not cause -set_version
11305 # flags to be left without arguments
11306 need_version=unknown
11308 case $host_os in
11309 aix3*)
11310 version_type=linux
11311 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11312 shlibpath_var=LIBPATH
11314 # AIX 3 has no versioning support, so we append a major version to the name.
11315 soname_spec='${libname}${release}${shared_ext}$major'
11318 aix[4-9]*)
11319 version_type=linux
11320 need_lib_prefix=no
11321 need_version=no
11322 hardcode_into_libs=yes
11323 if test "$host_cpu" = ia64; then
11324 # AIX 5 supports IA64
11325 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11326 shlibpath_var=LD_LIBRARY_PATH
11327 else
11328 # With GCC up to 2.95.x, collect2 would create an import file
11329 # for dependence libraries. The import file would start with
11330 # the line `#! .'. This would cause the generated library to
11331 # depend on `.', always an invalid library. This was fixed in
11332 # development snapshots of GCC prior to 3.0.
11333 case $host_os in
11334 aix4 | aix4.[01] | aix4.[01].*)
11335 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11336 echo ' yes '
11337 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11339 else
11340 can_build_shared=no
11343 esac
11344 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11345 # soname into executable. Probably we can add versioning support to
11346 # collect2, so additional links can be useful in future.
11347 if test "$aix_use_runtimelinking" = yes; then
11348 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11349 # instead of lib<name>.a to let people know that these are not
11350 # typical AIX shared libraries.
11351 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11352 else
11353 # We preserve .a as extension for shared libraries through AIX4.2
11354 # and later when we are not doing run time linking.
11355 library_names_spec='${libname}${release}.a $libname.a'
11356 soname_spec='${libname}${release}${shared_ext}$major'
11358 shlibpath_var=LIBPATH
11362 amigaos*)
11363 case $host_cpu in
11364 powerpc)
11365 # Since July 2007 AmigaOS4 officially supports .so libraries.
11366 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11367 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11369 m68k)
11370 library_names_spec='$libname.ixlibrary $libname.a'
11371 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11372 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'
11374 esac
11377 beos*)
11378 library_names_spec='${libname}${shared_ext}'
11379 dynamic_linker="$host_os ld.so"
11380 shlibpath_var=LIBRARY_PATH
11383 bsdi[45]*)
11384 version_type=linux
11385 need_version=no
11386 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11387 soname_spec='${libname}${release}${shared_ext}$major'
11388 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11389 shlibpath_var=LD_LIBRARY_PATH
11390 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11391 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11392 # the default ld.so.conf also contains /usr/contrib/lib and
11393 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11394 # libtool to hard-code these into programs
11397 cygwin* | mingw* | pw32* | cegcc*)
11398 version_type=windows
11399 shrext_cmds=".dll"
11400 need_version=no
11401 need_lib_prefix=no
11403 case $GCC,$host_os in
11404 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
11405 library_names_spec='$libname.dll.a'
11406 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11407 postinstall_cmds='base_file=`basename \${file}`~
11408 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11409 dldir=$destdir/`dirname \$dlpath`~
11410 test -d \$dldir || mkdir -p \$dldir~
11411 $install_prog $dir/$dlname \$dldir/$dlname~
11412 chmod a+x \$dldir/$dlname~
11413 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11414 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11416 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11417 dlpath=$dir/\$dldll~
11418 $RM \$dlpath'
11419 shlibpath_overrides_runpath=yes
11421 case $host_os in
11422 cygwin*)
11423 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11424 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11426 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11428 mingw* | cegcc*)
11429 # MinGW DLLs use traditional 'lib' prefix
11430 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11432 pw32*)
11433 # pw32 DLLs use 'pw' prefix rather than 'lib'
11434 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11436 esac
11440 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11442 esac
11443 dynamic_linker='Win32 ld.exe'
11444 # FIXME: first we should search . and the directory the executable is in
11445 shlibpath_var=PATH
11448 darwin* | rhapsody*)
11449 dynamic_linker="$host_os dyld"
11450 version_type=darwin
11451 need_lib_prefix=no
11452 need_version=no
11453 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11454 soname_spec='${libname}${release}${major}$shared_ext'
11455 shlibpath_overrides_runpath=yes
11456 shlibpath_var=DYLD_LIBRARY_PATH
11457 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11459 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11460 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11463 dgux*)
11464 version_type=linux
11465 need_lib_prefix=no
11466 need_version=no
11467 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11468 soname_spec='${libname}${release}${shared_ext}$major'
11469 shlibpath_var=LD_LIBRARY_PATH
11472 freebsd* | dragonfly*)
11473 # DragonFly does not have aout. When/if they implement a new
11474 # versioning mechanism, adjust this.
11475 if test -x /usr/bin/objformat; then
11476 objformat=`/usr/bin/objformat`
11477 else
11478 case $host_os in
11479 freebsd[23].*) objformat=aout ;;
11480 *) objformat=elf ;;
11481 esac
11483 version_type=freebsd-$objformat
11484 case $version_type in
11485 freebsd-elf*)
11486 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11487 need_version=no
11488 need_lib_prefix=no
11490 freebsd-*)
11491 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11492 need_version=yes
11494 esac
11495 shlibpath_var=LD_LIBRARY_PATH
11496 case $host_os in
11497 freebsd2.*)
11498 shlibpath_overrides_runpath=yes
11500 freebsd3.[01]* | freebsdelf3.[01]*)
11501 shlibpath_overrides_runpath=yes
11502 hardcode_into_libs=yes
11504 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11505 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11506 shlibpath_overrides_runpath=no
11507 hardcode_into_libs=yes
11509 *) # from 4.6 on, and DragonFly
11510 shlibpath_overrides_runpath=yes
11511 hardcode_into_libs=yes
11513 esac
11516 gnu*)
11517 version_type=linux
11518 need_lib_prefix=no
11519 need_version=no
11520 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11521 soname_spec='${libname}${release}${shared_ext}$major'
11522 shlibpath_var=LD_LIBRARY_PATH
11523 hardcode_into_libs=yes
11526 haiku*)
11527 version_type=linux
11528 need_lib_prefix=no
11529 need_version=no
11530 dynamic_linker="$host_os runtime_loader"
11531 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11532 soname_spec='${libname}${release}${shared_ext}$major'
11533 shlibpath_var=LIBRARY_PATH
11534 shlibpath_overrides_runpath=yes
11535 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
11536 hardcode_into_libs=yes
11539 hpux9* | hpux10* | hpux11*)
11540 # Give a soname corresponding to the major version so that dld.sl refuses to
11541 # link against other versions.
11542 version_type=sunos
11543 need_lib_prefix=no
11544 need_version=no
11545 case $host_cpu in
11546 ia64*)
11547 shrext_cmds='.so'
11548 hardcode_into_libs=yes
11549 dynamic_linker="$host_os dld.so"
11550 shlibpath_var=LD_LIBRARY_PATH
11551 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11552 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11553 soname_spec='${libname}${release}${shared_ext}$major'
11554 if test "X$HPUX_IA64_MODE" = X32; then
11555 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11556 else
11557 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11559 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11561 hppa*64*)
11562 shrext_cmds='.sl'
11563 hardcode_into_libs=yes
11564 dynamic_linker="$host_os dld.sl"
11565 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11566 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11567 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11568 soname_spec='${libname}${release}${shared_ext}$major'
11569 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11570 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11573 shrext_cmds='.sl'
11574 dynamic_linker="$host_os dld.sl"
11575 shlibpath_var=SHLIB_PATH
11576 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11577 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11578 soname_spec='${libname}${release}${shared_ext}$major'
11580 esac
11581 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11582 postinstall_cmds='chmod 555 $lib'
11583 # or fails outright, so override atomically:
11584 install_override_mode=555
11587 interix[3-9]*)
11588 version_type=linux
11589 need_lib_prefix=no
11590 need_version=no
11591 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11592 soname_spec='${libname}${release}${shared_ext}$major'
11593 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11594 shlibpath_var=LD_LIBRARY_PATH
11595 shlibpath_overrides_runpath=no
11596 hardcode_into_libs=yes
11599 irix5* | irix6* | nonstopux*)
11600 case $host_os in
11601 nonstopux*) version_type=nonstopux ;;
11603 if test "$lt_cv_prog_gnu_ld" = yes; then
11604 version_type=linux
11605 else
11606 version_type=irix
11607 fi ;;
11608 esac
11609 need_lib_prefix=no
11610 need_version=no
11611 soname_spec='${libname}${release}${shared_ext}$major'
11612 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11613 case $host_os in
11614 irix5* | nonstopux*)
11615 libsuff= shlibsuff=
11618 case $LD in # libtool.m4 will add one of these switches to LD
11619 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11620 libsuff= shlibsuff= libmagic=32-bit;;
11621 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11622 libsuff=32 shlibsuff=N32 libmagic=N32;;
11623 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11624 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11625 *) libsuff= shlibsuff= libmagic=never-match;;
11626 esac
11628 esac
11629 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11630 shlibpath_overrides_runpath=no
11631 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11632 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11633 hardcode_into_libs=yes
11636 # No shared lib support for Linux oldld, aout, or coff.
11637 linux*oldld* | linux*aout* | linux*coff*)
11638 dynamic_linker=no
11641 # This must be Linux ELF.
11642 linux* | k*bsd*-gnu | kopensolaris*-gnu)
11643 version_type=linux
11644 need_lib_prefix=no
11645 need_version=no
11646 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11647 soname_spec='${libname}${release}${shared_ext}$major'
11648 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11649 shlibpath_var=LD_LIBRARY_PATH
11650 shlibpath_overrides_runpath=no
11652 # Some binutils ld are patched to set DT_RUNPATH
11653 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
11654 $as_echo_n "(cached) " >&6
11655 else
11656 lt_cv_shlibpath_overrides_runpath=no
11657 save_LDFLAGS=$LDFLAGS
11658 save_libdir=$libdir
11659 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11660 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11661 if test x$gcc_no_link = xyes; then
11662 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11665 /* end confdefs.h. */
11668 main ()
11672 return 0;
11674 _ACEOF
11675 if ac_fn_c_try_link "$LINENO"; then :
11676 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11677 lt_cv_shlibpath_overrides_runpath=yes
11680 rm -f core conftest.err conftest.$ac_objext \
11681 conftest$ac_exeext conftest.$ac_ext
11682 LDFLAGS=$save_LDFLAGS
11683 libdir=$save_libdir
11687 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11689 # This implies no fast_install, which is unacceptable.
11690 # Some rework will be needed to allow for fast_install
11691 # before this can be enabled.
11692 hardcode_into_libs=yes
11694 # Append ld.so.conf contents to the search path
11695 if test -f /etc/ld.so.conf; then
11696 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' ' '`
11697 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11700 # We used to test for /lib/ld.so.1 and disable shared libraries on
11701 # powerpc, because MkLinux only supported shared libraries with the
11702 # GNU dynamic linker. Since this was broken with cross compilers,
11703 # most powerpc-linux boxes support dynamic linking these days and
11704 # people can always --disable-shared, the test was removed, and we
11705 # assume the GNU/Linux dynamic linker is in use.
11706 dynamic_linker='GNU/Linux ld.so'
11709 netbsd*)
11710 version_type=sunos
11711 need_lib_prefix=no
11712 need_version=no
11713 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11714 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11715 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11716 dynamic_linker='NetBSD (a.out) ld.so'
11717 else
11718 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11719 soname_spec='${libname}${release}${shared_ext}$major'
11720 dynamic_linker='NetBSD ld.elf_so'
11722 shlibpath_var=LD_LIBRARY_PATH
11723 shlibpath_overrides_runpath=yes
11724 hardcode_into_libs=yes
11727 newsos6)
11728 version_type=linux
11729 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11730 shlibpath_var=LD_LIBRARY_PATH
11731 shlibpath_overrides_runpath=yes
11734 *nto* | *qnx*)
11735 version_type=qnx
11736 need_lib_prefix=no
11737 need_version=no
11738 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11739 soname_spec='${libname}${release}${shared_ext}$major'
11740 shlibpath_var=LD_LIBRARY_PATH
11741 shlibpath_overrides_runpath=no
11742 hardcode_into_libs=yes
11743 dynamic_linker='ldqnx.so'
11746 openbsd*)
11747 version_type=sunos
11748 sys_lib_dlsearch_path_spec="/usr/lib"
11749 need_lib_prefix=no
11750 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11751 case $host_os in
11752 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11753 *) need_version=no ;;
11754 esac
11755 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11756 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11757 shlibpath_var=LD_LIBRARY_PATH
11758 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11759 case $host_os in
11760 openbsd2.[89] | openbsd2.[89].*)
11761 shlibpath_overrides_runpath=no
11764 shlibpath_overrides_runpath=yes
11766 esac
11767 else
11768 shlibpath_overrides_runpath=yes
11772 os2*)
11773 libname_spec='$name'
11774 shrext_cmds=".dll"
11775 need_lib_prefix=no
11776 library_names_spec='$libname${shared_ext} $libname.a'
11777 dynamic_linker='OS/2 ld.exe'
11778 shlibpath_var=LIBPATH
11781 osf3* | osf4* | osf5*)
11782 version_type=osf
11783 need_lib_prefix=no
11784 need_version=no
11785 soname_spec='${libname}${release}${shared_ext}$major'
11786 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11787 shlibpath_var=LD_LIBRARY_PATH
11788 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11789 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11792 rdos*)
11793 dynamic_linker=no
11796 solaris*)
11797 version_type=linux
11798 need_lib_prefix=no
11799 need_version=no
11800 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11801 soname_spec='${libname}${release}${shared_ext}$major'
11802 shlibpath_var=LD_LIBRARY_PATH
11803 shlibpath_overrides_runpath=yes
11804 hardcode_into_libs=yes
11805 # ldd complains unless libraries are executable
11806 postinstall_cmds='chmod +x $lib'
11809 sunos4*)
11810 version_type=sunos
11811 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11812 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11813 shlibpath_var=LD_LIBRARY_PATH
11814 shlibpath_overrides_runpath=yes
11815 if test "$with_gnu_ld" = yes; then
11816 need_lib_prefix=no
11818 need_version=yes
11821 sysv4 | sysv4.3*)
11822 version_type=linux
11823 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11824 soname_spec='${libname}${release}${shared_ext}$major'
11825 shlibpath_var=LD_LIBRARY_PATH
11826 case $host_vendor in
11827 sni)
11828 shlibpath_overrides_runpath=no
11829 need_lib_prefix=no
11830 runpath_var=LD_RUN_PATH
11832 siemens)
11833 need_lib_prefix=no
11835 motorola)
11836 need_lib_prefix=no
11837 need_version=no
11838 shlibpath_overrides_runpath=no
11839 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11841 esac
11844 sysv4*MP*)
11845 if test -d /usr/nec ;then
11846 version_type=linux
11847 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11848 soname_spec='$libname${shared_ext}.$major'
11849 shlibpath_var=LD_LIBRARY_PATH
11853 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11854 version_type=freebsd-elf
11855 need_lib_prefix=no
11856 need_version=no
11857 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11858 soname_spec='${libname}${release}${shared_ext}$major'
11859 shlibpath_var=LD_LIBRARY_PATH
11860 shlibpath_overrides_runpath=yes
11861 hardcode_into_libs=yes
11862 if test "$with_gnu_ld" = yes; then
11863 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11864 else
11865 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11866 case $host_os in
11867 sco3.2v5*)
11868 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11870 esac
11872 sys_lib_dlsearch_path_spec='/usr/lib'
11875 tpf*)
11876 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11877 version_type=linux
11878 need_lib_prefix=no
11879 need_version=no
11880 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11881 shlibpath_var=LD_LIBRARY_PATH
11882 shlibpath_overrides_runpath=no
11883 hardcode_into_libs=yes
11886 uts4*)
11887 version_type=linux
11888 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11889 soname_spec='${libname}${release}${shared_ext}$major'
11890 shlibpath_var=LD_LIBRARY_PATH
11894 dynamic_linker=no
11896 esac
11897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11898 $as_echo "$dynamic_linker" >&6; }
11899 test "$dynamic_linker" = no && can_build_shared=no
11901 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11902 if test "$GCC" = yes; then
11903 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11906 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11907 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11909 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11910 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
12004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12005 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12006 hardcode_action=
12007 if test -n "$hardcode_libdir_flag_spec" ||
12008 test -n "$runpath_var" ||
12009 test "X$hardcode_automatic" = "Xyes" ; then
12011 # We can hardcode non-existent directories.
12012 if test "$hardcode_direct" != no &&
12013 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12014 # have to relink, otherwise we might link with an installed library
12015 # when we should be linking with a yet-to-be-installed one
12016 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12017 test "$hardcode_minus_L" != no; then
12018 # Linking always hardcodes the temporary library directory.
12019 hardcode_action=relink
12020 else
12021 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12022 hardcode_action=immediate
12024 else
12025 # We cannot hardcode anything, or else we can only hardcode existing
12026 # directories.
12027 hardcode_action=unsupported
12029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12030 $as_echo "$hardcode_action" >&6; }
12032 if test "$hardcode_action" = relink ||
12033 test "$inherit_rpath" = yes; then
12034 # Fast installation is not supported
12035 enable_fast_install=no
12036 elif test "$shlibpath_overrides_runpath" = yes ||
12037 test "$enable_shared" = no; then
12038 # Fast installation is not necessary
12039 enable_fast_install=needless
12047 if test "x$enable_dlopen" != xyes; then
12048 enable_dlopen=unknown
12049 enable_dlopen_self=unknown
12050 enable_dlopen_self_static=unknown
12051 else
12052 lt_cv_dlopen=no
12053 lt_cv_dlopen_libs=
12055 case $host_os in
12056 beos*)
12057 lt_cv_dlopen="load_add_on"
12058 lt_cv_dlopen_libs=
12059 lt_cv_dlopen_self=yes
12062 mingw* | pw32* | cegcc*)
12063 lt_cv_dlopen="LoadLibrary"
12064 lt_cv_dlopen_libs=
12067 cygwin*)
12068 lt_cv_dlopen="dlopen"
12069 lt_cv_dlopen_libs=
12072 darwin*)
12073 # if libdl is installed we need to link against it
12074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12075 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12076 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
12077 $as_echo_n "(cached) " >&6
12078 else
12079 ac_check_lib_save_LIBS=$LIBS
12080 LIBS="-ldl $LIBS"
12081 if test x$gcc_no_link = xyes; then
12082 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12085 /* end confdefs.h. */
12087 /* Override any GCC internal prototype to avoid an error.
12088 Use char because int might match the return type of a GCC
12089 builtin and then its argument prototype would still apply. */
12090 #ifdef __cplusplus
12091 extern "C"
12092 #endif
12093 char dlopen ();
12095 main ()
12097 return dlopen ();
12099 return 0;
12101 _ACEOF
12102 if ac_fn_c_try_link "$LINENO"; then :
12103 ac_cv_lib_dl_dlopen=yes
12104 else
12105 ac_cv_lib_dl_dlopen=no
12107 rm -f core conftest.err conftest.$ac_objext \
12108 conftest$ac_exeext conftest.$ac_ext
12109 LIBS=$ac_check_lib_save_LIBS
12111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12112 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12113 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
12114 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12115 else
12117 lt_cv_dlopen="dyld"
12118 lt_cv_dlopen_libs=
12119 lt_cv_dlopen_self=yes
12126 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12127 if test "x$ac_cv_func_shl_load" = x""yes; then :
12128 lt_cv_dlopen="shl_load"
12129 else
12130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12131 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12132 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
12133 $as_echo_n "(cached) " >&6
12134 else
12135 ac_check_lib_save_LIBS=$LIBS
12136 LIBS="-ldld $LIBS"
12137 if test x$gcc_no_link = xyes; then
12138 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12141 /* end confdefs.h. */
12143 /* Override any GCC internal prototype to avoid an error.
12144 Use char because int might match the return type of a GCC
12145 builtin and then its argument prototype would still apply. */
12146 #ifdef __cplusplus
12147 extern "C"
12148 #endif
12149 char shl_load ();
12151 main ()
12153 return shl_load ();
12155 return 0;
12157 _ACEOF
12158 if ac_fn_c_try_link "$LINENO"; then :
12159 ac_cv_lib_dld_shl_load=yes
12160 else
12161 ac_cv_lib_dld_shl_load=no
12163 rm -f core conftest.err conftest.$ac_objext \
12164 conftest$ac_exeext conftest.$ac_ext
12165 LIBS=$ac_check_lib_save_LIBS
12167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12168 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12169 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
12170 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
12171 else
12172 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12173 if test "x$ac_cv_func_dlopen" = x""yes; then :
12174 lt_cv_dlopen="dlopen"
12175 else
12176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12177 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12178 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
12179 $as_echo_n "(cached) " >&6
12180 else
12181 ac_check_lib_save_LIBS=$LIBS
12182 LIBS="-ldl $LIBS"
12183 if test x$gcc_no_link = xyes; then
12184 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12187 /* end confdefs.h. */
12189 /* Override any GCC internal prototype to avoid an error.
12190 Use char because int might match the return type of a GCC
12191 builtin and then its argument prototype would still apply. */
12192 #ifdef __cplusplus
12193 extern "C"
12194 #endif
12195 char dlopen ();
12197 main ()
12199 return dlopen ();
12201 return 0;
12203 _ACEOF
12204 if ac_fn_c_try_link "$LINENO"; then :
12205 ac_cv_lib_dl_dlopen=yes
12206 else
12207 ac_cv_lib_dl_dlopen=no
12209 rm -f core conftest.err conftest.$ac_objext \
12210 conftest$ac_exeext conftest.$ac_ext
12211 LIBS=$ac_check_lib_save_LIBS
12213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12214 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12215 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
12216 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12217 else
12218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12219 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12220 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
12221 $as_echo_n "(cached) " >&6
12222 else
12223 ac_check_lib_save_LIBS=$LIBS
12224 LIBS="-lsvld $LIBS"
12225 if test x$gcc_no_link = xyes; then
12226 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12229 /* end confdefs.h. */
12231 /* Override any GCC internal prototype to avoid an error.
12232 Use char because int might match the return type of a GCC
12233 builtin and then its argument prototype would still apply. */
12234 #ifdef __cplusplus
12235 extern "C"
12236 #endif
12237 char dlopen ();
12239 main ()
12241 return dlopen ();
12243 return 0;
12245 _ACEOF
12246 if ac_fn_c_try_link "$LINENO"; then :
12247 ac_cv_lib_svld_dlopen=yes
12248 else
12249 ac_cv_lib_svld_dlopen=no
12251 rm -f core conftest.err conftest.$ac_objext \
12252 conftest$ac_exeext conftest.$ac_ext
12253 LIBS=$ac_check_lib_save_LIBS
12255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12256 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12257 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
12258 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12259 else
12260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12261 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12262 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
12263 $as_echo_n "(cached) " >&6
12264 else
12265 ac_check_lib_save_LIBS=$LIBS
12266 LIBS="-ldld $LIBS"
12267 if test x$gcc_no_link = xyes; then
12268 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12271 /* end confdefs.h. */
12273 /* Override any GCC internal prototype to avoid an error.
12274 Use char because int might match the return type of a GCC
12275 builtin and then its argument prototype would still apply. */
12276 #ifdef __cplusplus
12277 extern "C"
12278 #endif
12279 char dld_link ();
12281 main ()
12283 return dld_link ();
12285 return 0;
12287 _ACEOF
12288 if ac_fn_c_try_link "$LINENO"; then :
12289 ac_cv_lib_dld_dld_link=yes
12290 else
12291 ac_cv_lib_dld_dld_link=no
12293 rm -f core conftest.err conftest.$ac_objext \
12294 conftest$ac_exeext conftest.$ac_ext
12295 LIBS=$ac_check_lib_save_LIBS
12297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12298 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12299 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
12300 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12319 esac
12321 if test "x$lt_cv_dlopen" != xno; then
12322 enable_dlopen=yes
12323 else
12324 enable_dlopen=no
12327 case $lt_cv_dlopen in
12328 dlopen)
12329 save_CPPFLAGS="$CPPFLAGS"
12330 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12332 save_LDFLAGS="$LDFLAGS"
12333 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12335 save_LIBS="$LIBS"
12336 LIBS="$lt_cv_dlopen_libs $LIBS"
12338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12339 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12340 if test "${lt_cv_dlopen_self+set}" = set; then :
12341 $as_echo_n "(cached) " >&6
12342 else
12343 if test "$cross_compiling" = yes; then :
12344 lt_cv_dlopen_self=cross
12345 else
12346 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12347 lt_status=$lt_dlunknown
12348 cat > conftest.$ac_ext <<_LT_EOF
12349 #line 12349 "configure"
12350 #include "confdefs.h"
12352 #if HAVE_DLFCN_H
12353 #include <dlfcn.h>
12354 #endif
12356 #include <stdio.h>
12358 #ifdef RTLD_GLOBAL
12359 # define LT_DLGLOBAL RTLD_GLOBAL
12360 #else
12361 # ifdef DL_GLOBAL
12362 # define LT_DLGLOBAL DL_GLOBAL
12363 # else
12364 # define LT_DLGLOBAL 0
12365 # endif
12366 #endif
12368 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12369 find out it does not work in some platform. */
12370 #ifndef LT_DLLAZY_OR_NOW
12371 # ifdef RTLD_LAZY
12372 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12373 # else
12374 # ifdef DL_LAZY
12375 # define LT_DLLAZY_OR_NOW DL_LAZY
12376 # else
12377 # ifdef RTLD_NOW
12378 # define LT_DLLAZY_OR_NOW RTLD_NOW
12379 # else
12380 # ifdef DL_NOW
12381 # define LT_DLLAZY_OR_NOW DL_NOW
12382 # else
12383 # define LT_DLLAZY_OR_NOW 0
12384 # endif
12385 # endif
12386 # endif
12387 # endif
12388 #endif
12390 /* When -fvisbility=hidden is used, assume the code has been annotated
12391 correspondingly for the symbols needed. */
12392 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12393 void fnord () __attribute__((visibility("default")));
12394 #endif
12396 void fnord () { int i=42; }
12397 int main ()
12399 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12400 int status = $lt_dlunknown;
12402 if (self)
12404 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12405 else
12407 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12408 else puts (dlerror ());
12410 /* dlclose (self); */
12412 else
12413 puts (dlerror ());
12415 return status;
12417 _LT_EOF
12418 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12419 (eval $ac_link) 2>&5
12420 ac_status=$?
12421 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12422 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12423 (./conftest; exit; ) >&5 2>/dev/null
12424 lt_status=$?
12425 case x$lt_status in
12426 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12427 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12428 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12429 esac
12430 else :
12431 # compilation failed
12432 lt_cv_dlopen_self=no
12435 rm -fr conftest*
12439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12440 $as_echo "$lt_cv_dlopen_self" >&6; }
12442 if test "x$lt_cv_dlopen_self" = xyes; then
12443 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12445 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12446 if test "${lt_cv_dlopen_self_static+set}" = set; then :
12447 $as_echo_n "(cached) " >&6
12448 else
12449 if test "$cross_compiling" = yes; then :
12450 lt_cv_dlopen_self_static=cross
12451 else
12452 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12453 lt_status=$lt_dlunknown
12454 cat > conftest.$ac_ext <<_LT_EOF
12455 #line 12455 "configure"
12456 #include "confdefs.h"
12458 #if HAVE_DLFCN_H
12459 #include <dlfcn.h>
12460 #endif
12462 #include <stdio.h>
12464 #ifdef RTLD_GLOBAL
12465 # define LT_DLGLOBAL RTLD_GLOBAL
12466 #else
12467 # ifdef DL_GLOBAL
12468 # define LT_DLGLOBAL DL_GLOBAL
12469 # else
12470 # define LT_DLGLOBAL 0
12471 # endif
12472 #endif
12474 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12475 find out it does not work in some platform. */
12476 #ifndef LT_DLLAZY_OR_NOW
12477 # ifdef RTLD_LAZY
12478 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12479 # else
12480 # ifdef DL_LAZY
12481 # define LT_DLLAZY_OR_NOW DL_LAZY
12482 # else
12483 # ifdef RTLD_NOW
12484 # define LT_DLLAZY_OR_NOW RTLD_NOW
12485 # else
12486 # ifdef DL_NOW
12487 # define LT_DLLAZY_OR_NOW DL_NOW
12488 # else
12489 # define LT_DLLAZY_OR_NOW 0
12490 # endif
12491 # endif
12492 # endif
12493 # endif
12494 #endif
12496 /* When -fvisbility=hidden is used, assume the code has been annotated
12497 correspondingly for the symbols needed. */
12498 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12499 void fnord () __attribute__((visibility("default")));
12500 #endif
12502 void fnord () { int i=42; }
12503 int main ()
12505 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12506 int status = $lt_dlunknown;
12508 if (self)
12510 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12511 else
12513 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12514 else puts (dlerror ());
12516 /* dlclose (self); */
12518 else
12519 puts (dlerror ());
12521 return status;
12523 _LT_EOF
12524 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12525 (eval $ac_link) 2>&5
12526 ac_status=$?
12527 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12528 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12529 (./conftest; exit; ) >&5 2>/dev/null
12530 lt_status=$?
12531 case x$lt_status in
12532 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12533 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12534 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12535 esac
12536 else :
12537 # compilation failed
12538 lt_cv_dlopen_self_static=no
12541 rm -fr conftest*
12545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12546 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12549 CPPFLAGS="$save_CPPFLAGS"
12550 LDFLAGS="$save_LDFLAGS"
12551 LIBS="$save_LIBS"
12553 esac
12555 case $lt_cv_dlopen_self in
12556 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12557 *) enable_dlopen_self=unknown ;;
12558 esac
12560 case $lt_cv_dlopen_self_static in
12561 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12562 *) enable_dlopen_self_static=unknown ;;
12563 esac
12582 striplib=
12583 old_striplib=
12584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12585 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12586 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12587 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12588 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12590 $as_echo "yes" >&6; }
12591 else
12592 # FIXME - insert some real tests, host_os isn't really good enough
12593 case $host_os in
12594 darwin*)
12595 if test -n "$STRIP" ; then
12596 striplib="$STRIP -x"
12597 old_striplib="$STRIP -S"
12598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12599 $as_echo "yes" >&6; }
12600 else
12601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12602 $as_echo "no" >&6; }
12606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12607 $as_echo "no" >&6; }
12609 esac
12623 # Report which library types will actually be built
12624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12625 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12627 $as_echo "$can_build_shared" >&6; }
12629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12630 $as_echo_n "checking whether to build shared libraries... " >&6; }
12631 test "$can_build_shared" = "no" && enable_shared=no
12633 # On AIX, shared libraries and static libraries use the same namespace, and
12634 # are all built from PIC.
12635 case $host_os in
12636 aix3*)
12637 test "$enable_shared" = yes && enable_static=no
12638 if test -n "$RANLIB"; then
12639 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12640 postinstall_cmds='$RANLIB $lib'
12644 aix[4-9]*)
12645 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12646 test "$enable_shared" = yes && enable_static=no
12649 esac
12650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12651 $as_echo "$enable_shared" >&6; }
12653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12654 $as_echo_n "checking whether to build static libraries... " >&6; }
12655 # Make sure either enable_shared or enable_static is yes.
12656 test "$enable_shared" = yes || enable_static=yes
12657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12658 $as_echo "$enable_static" >&6; }
12664 ac_ext=c
12665 ac_cpp='$CPP $CPPFLAGS'
12666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12670 CC="$lt_save_CC"
12684 ac_config_commands="$ac_config_commands libtool"
12689 # Only expand once:
12695 case $host in
12696 *-cygwin* | *-mingw*)
12697 # 'host' will be top-level target in the case of a target lib,
12698 # we must compare to with_cross_host to decide if this is a native
12699 # or cross-compiler and select where to install dlls appropriately.
12700 if test -n "$with_cross_host" &&
12701 test x"$with_cross_host" != x"no"; then
12702 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
12703 else
12704 lt_host_flags='-no-undefined -bindir "$(bindir)"';
12708 lt_host_flags=
12710 esac
12716 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
12718 # We need gfortran to compile parts of the library
12719 #AC_PROG_FC(gfortran)
12720 FC="$GFORTRAN"
12721 ac_ext=${ac_fc_srcext-f}
12722 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
12723 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
12724 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
12725 if test -n "$ac_tool_prefix"; then
12726 for ac_prog in gfortran
12728 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12729 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12731 $as_echo_n "checking for $ac_word... " >&6; }
12732 if test "${ac_cv_prog_FC+set}" = set; then :
12733 $as_echo_n "(cached) " >&6
12734 else
12735 if test -n "$FC"; then
12736 ac_cv_prog_FC="$FC" # Let the user override the test.
12737 else
12738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12739 for as_dir in $PATH
12741 IFS=$as_save_IFS
12742 test -z "$as_dir" && as_dir=.
12743 for ac_exec_ext in '' $ac_executable_extensions; do
12744 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12745 ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
12746 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12747 break 2
12749 done
12750 done
12751 IFS=$as_save_IFS
12755 FC=$ac_cv_prog_FC
12756 if test -n "$FC"; then
12757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FC" >&5
12758 $as_echo "$FC" >&6; }
12759 else
12760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12761 $as_echo "no" >&6; }
12765 test -n "$FC" && break
12766 done
12768 if test -z "$FC"; then
12769 ac_ct_FC=$FC
12770 for ac_prog in gfortran
12772 # Extract the first word of "$ac_prog", so it can be a program name with args.
12773 set dummy $ac_prog; ac_word=$2
12774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12775 $as_echo_n "checking for $ac_word... " >&6; }
12776 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then :
12777 $as_echo_n "(cached) " >&6
12778 else
12779 if test -n "$ac_ct_FC"; then
12780 ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
12781 else
12782 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12783 for as_dir in $PATH
12785 IFS=$as_save_IFS
12786 test -z "$as_dir" && as_dir=.
12787 for ac_exec_ext in '' $ac_executable_extensions; do
12788 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12789 ac_cv_prog_ac_ct_FC="$ac_prog"
12790 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12791 break 2
12793 done
12794 done
12795 IFS=$as_save_IFS
12799 ac_ct_FC=$ac_cv_prog_ac_ct_FC
12800 if test -n "$ac_ct_FC"; then
12801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FC" >&5
12802 $as_echo "$ac_ct_FC" >&6; }
12803 else
12804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12805 $as_echo "no" >&6; }
12809 test -n "$ac_ct_FC" && break
12810 done
12812 if test "x$ac_ct_FC" = x; then
12813 FC=""
12814 else
12815 case $cross_compiling:$ac_tool_warned in
12816 yes:)
12817 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12818 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12819 ac_tool_warned=yes ;;
12820 esac
12821 FC=$ac_ct_FC
12826 # Provide some information about the compiler.
12827 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran compiler version" >&5
12828 set X $ac_compile
12829 ac_compiler=$2
12830 for ac_option in --version -v -V -qversion; do
12831 { { ac_try="$ac_compiler $ac_option >&5"
12832 case "(($ac_try" in
12833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12834 *) ac_try_echo=$ac_try;;
12835 esac
12836 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12837 $as_echo "$ac_try_echo"; } >&5
12838 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12839 ac_status=$?
12840 if test -s conftest.err; then
12841 sed '10a\
12842 ... rest of stderr output deleted ...
12843 10q' conftest.err >conftest.er1
12844 cat conftest.er1 >&5
12845 rm -f conftest.er1 conftest.err
12847 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12848 test $ac_status = 0; }
12849 done
12850 rm -f a.out
12852 # If we don't use `.F' as extension, the preprocessor is not run on the
12853 # input file. (Note that this only needs to work for GNU compilers.)
12854 ac_save_ext=$ac_ext
12855 ac_ext=F
12856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&5
12857 $as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; }
12858 if test "${ac_cv_fc_compiler_gnu+set}" = set; then :
12859 $as_echo_n "(cached) " >&6
12860 else
12861 cat > conftest.$ac_ext <<_ACEOF
12862 program main
12863 #ifndef __GNUC__
12864 choke me
12865 #endif
12868 _ACEOF
12869 if ac_fn_fc_try_compile "$LINENO"; then :
12870 ac_compiler_gnu=yes
12871 else
12872 ac_compiler_gnu=no
12874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12875 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
12878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_compiler_gnu" >&5
12879 $as_echo "$ac_cv_fc_compiler_gnu" >&6; }
12880 ac_ext=$ac_save_ext
12881 ac_test_FCFLAGS=${FCFLAGS+set}
12882 ac_save_FCFLAGS=$FCFLAGS
12883 FCFLAGS=
12884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5
12885 $as_echo_n "checking whether $FC accepts -g... " >&6; }
12886 if test "${ac_cv_prog_fc_g+set}" = set; then :
12887 $as_echo_n "(cached) " >&6
12888 else
12889 FCFLAGS=-g
12890 cat > conftest.$ac_ext <<_ACEOF
12891 program main
12894 _ACEOF
12895 if ac_fn_fc_try_compile "$LINENO"; then :
12896 ac_cv_prog_fc_g=yes
12897 else
12898 ac_cv_prog_fc_g=no
12900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_fc_g" >&5
12904 $as_echo "$ac_cv_prog_fc_g" >&6; }
12905 if test "$ac_test_FCFLAGS" = set; then
12906 FCFLAGS=$ac_save_FCFLAGS
12907 elif test $ac_cv_prog_fc_g = yes; then
12908 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
12909 FCFLAGS="-g -O2"
12910 else
12911 FCFLAGS="-g"
12913 else
12914 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
12915 FCFLAGS="-O2"
12916 else
12917 FCFLAGS=
12921 ac_ext=c
12922 ac_cpp='$CPP $CPPFLAGS'
12923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12927 ac_ext=${ac_fc_srcext-f}
12928 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
12929 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
12930 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
12933 if test -z "$FC" || test "X$FC" = "Xno"; then
12934 _lt_disable_FC=yes
12937 archive_cmds_need_lc_FC=no
12938 allow_undefined_flag_FC=
12939 always_export_symbols_FC=no
12940 archive_expsym_cmds_FC=
12941 export_dynamic_flag_spec_FC=
12942 hardcode_direct_FC=no
12943 hardcode_direct_absolute_FC=no
12944 hardcode_libdir_flag_spec_FC=
12945 hardcode_libdir_flag_spec_ld_FC=
12946 hardcode_libdir_separator_FC=
12947 hardcode_minus_L_FC=no
12948 hardcode_automatic_FC=no
12949 inherit_rpath_FC=no
12950 module_cmds_FC=
12951 module_expsym_cmds_FC=
12952 link_all_deplibs_FC=unknown
12953 old_archive_cmds_FC=$old_archive_cmds
12954 reload_flag_FC=$reload_flag
12955 reload_cmds_FC=$reload_cmds
12956 no_undefined_flag_FC=
12957 whole_archive_flag_spec_FC=
12958 enable_shared_with_static_runtimes_FC=no
12960 # Source file extension for fc test sources.
12961 ac_ext=${ac_fc_srcext-f}
12963 # Object file extension for compiled fc test sources.
12964 objext=o
12965 objext_FC=$objext
12967 # No sense in running all these tests if we already determined that
12968 # the FC compiler isn't working. Some variables (like enable_shared)
12969 # are currently assumed to apply to all compilers on this platform,
12970 # and will be corrupted by setting them based on a non-working compiler.
12971 if test "$_lt_disable_FC" != yes; then
12972 # Code to be used in simple compile tests
12973 lt_simple_compile_test_code="\
12974 subroutine t
12975 return
12979 # Code to be used in simple link tests
12980 lt_simple_link_test_code="\
12981 program t
12985 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12992 # If no C compiler was specified, use CC.
12993 LTCC=${LTCC-"$CC"}
12995 # If no C compiler flags were specified, use CFLAGS.
12996 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12998 # Allow CC to be a program name with arguments.
12999 compiler=$CC
13002 # save warnings/boilerplate of simple test code
13003 ac_outfile=conftest.$ac_objext
13004 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
13005 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13006 _lt_compiler_boilerplate=`cat conftest.err`
13007 $RM conftest*
13009 ac_outfile=conftest.$ac_objext
13010 echo "$lt_simple_link_test_code" >conftest.$ac_ext
13011 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13012 _lt_linker_boilerplate=`cat conftest.err`
13013 $RM -r conftest*
13016 # Allow CC to be a program name with arguments.
13017 lt_save_CC="$CC"
13018 lt_save_GCC=$GCC
13019 CC=${FC-"f95"}
13020 compiler=$CC
13021 GCC=$ac_cv_fc_compiler_gnu
13023 compiler_FC=$CC
13024 for cc_temp in $compiler""; do
13025 case $cc_temp in
13026 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
13027 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
13028 \-*) ;;
13029 *) break;;
13030 esac
13031 done
13032 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
13035 if test -n "$compiler"; then
13036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13037 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13039 $as_echo "$can_build_shared" >&6; }
13041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13042 $as_echo_n "checking whether to build shared libraries... " >&6; }
13043 test "$can_build_shared" = "no" && enable_shared=no
13045 # On AIX, shared libraries and static libraries use the same namespace, and
13046 # are all built from PIC.
13047 case $host_os in
13048 aix3*)
13049 test "$enable_shared" = yes && enable_static=no
13050 if test -n "$RANLIB"; then
13051 archive_cmds="$archive_cmds~\$RANLIB \$lib"
13052 postinstall_cmds='$RANLIB $lib'
13055 aix[4-9]*)
13056 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
13057 test "$enable_shared" = yes && enable_static=no
13060 esac
13061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13062 $as_echo "$enable_shared" >&6; }
13064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13065 $as_echo_n "checking whether to build static libraries... " >&6; }
13066 # Make sure either enable_shared or enable_static is yes.
13067 test "$enable_shared" = yes || enable_static=yes
13068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13069 $as_echo "$enable_static" >&6; }
13071 GCC_FC="$ac_cv_fc_compiler_gnu"
13072 LD_FC="$LD"
13074 ## CAVEAT EMPTOR:
13075 ## There is no encapsulation within the following macros, do not change
13076 ## the running order or otherwise move them around unless you know exactly
13077 ## what you are doing...
13078 # Dependencies to place before and after the object being linked:
13079 predep_objects_FC=
13080 postdep_objects_FC=
13081 predeps_FC=
13082 postdeps_FC=
13083 compiler_lib_search_path_FC=
13085 cat > conftest.$ac_ext <<_LT_EOF
13086 subroutine foo
13087 implicit none
13088 integer a
13090 return
13092 _LT_EOF
13094 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13095 (eval $ac_compile) 2>&5
13096 ac_status=$?
13097 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13098 test $ac_status = 0; }; then
13099 # Parse the compiler output and extract the necessary
13100 # objects, libraries and library flags.
13102 # Sentinel used to keep track of whether or not we are before
13103 # the conftest object file.
13104 pre_test_object_deps_done=no
13106 for p in `eval "$output_verbose_link_cmd"`; do
13107 case $p in
13109 -L* | -R* | -l*)
13110 # Some compilers place space between "-{L,R}" and the path.
13111 # Remove the space.
13112 if test $p = "-L" ||
13113 test $p = "-R"; then
13114 prev=$p
13115 continue
13116 else
13117 prev=
13120 if test "$pre_test_object_deps_done" = no; then
13121 case $p in
13122 -L* | -R*)
13123 # Internal compiler library paths should come after those
13124 # provided the user. The postdeps already come after the
13125 # user supplied libs so there is no need to process them.
13126 if test -z "$compiler_lib_search_path_FC"; then
13127 compiler_lib_search_path_FC="${prev}${p}"
13128 else
13129 compiler_lib_search_path_FC="${compiler_lib_search_path_FC} ${prev}${p}"
13132 # The "-l" case would never come before the object being
13133 # linked, so don't bother handling this case.
13134 esac
13135 else
13136 if test -z "$postdeps_FC"; then
13137 postdeps_FC="${prev}${p}"
13138 else
13139 postdeps_FC="${postdeps_FC} ${prev}${p}"
13144 *.$objext)
13145 # This assumes that the test object file only shows up
13146 # once in the compiler output.
13147 if test "$p" = "conftest.$objext"; then
13148 pre_test_object_deps_done=yes
13149 continue
13152 if test "$pre_test_object_deps_done" = no; then
13153 if test -z "$predep_objects_FC"; then
13154 predep_objects_FC="$p"
13155 else
13156 predep_objects_FC="$predep_objects_FC $p"
13158 else
13159 if test -z "$postdep_objects_FC"; then
13160 postdep_objects_FC="$p"
13161 else
13162 postdep_objects_FC="$postdep_objects_FC $p"
13167 *) ;; # Ignore the rest.
13169 esac
13170 done
13172 # Clean up.
13173 rm -f a.out a.exe
13174 else
13175 echo "libtool.m4: error: problem compiling FC test program"
13178 $RM -f confest.$objext
13180 # PORTME: override above test on systems where it is broken
13183 case " $postdeps_FC " in
13184 *" -lc "*) archive_cmds_need_lc_FC=no ;;
13185 esac
13186 compiler_lib_search_dirs_FC=
13187 if test -n "${compiler_lib_search_path_FC}"; then
13188 compiler_lib_search_dirs_FC=`echo " ${compiler_lib_search_path_FC}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13221 lt_prog_compiler_wl_FC=
13222 lt_prog_compiler_pic_FC=
13223 lt_prog_compiler_static_FC=
13225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13226 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13228 if test "$GCC" = yes; then
13229 lt_prog_compiler_wl_FC='-Wl,'
13230 lt_prog_compiler_static_FC='-static'
13232 case $host_os in
13233 aix*)
13234 # All AIX code is PIC.
13235 if test "$host_cpu" = ia64; then
13236 # AIX 5 now supports IA64 processor
13237 lt_prog_compiler_static_FC='-Bstatic'
13239 lt_prog_compiler_pic_FC='-fPIC'
13242 amigaos*)
13243 case $host_cpu in
13244 powerpc)
13245 # see comment about AmigaOS4 .so support
13246 lt_prog_compiler_pic_FC='-fPIC'
13248 m68k)
13249 # FIXME: we need at least 68020 code to build shared libraries, but
13250 # adding the `-m68020' flag to GCC prevents building anything better,
13251 # like `-m68040'.
13252 lt_prog_compiler_pic_FC='-m68020 -resident32 -malways-restore-a4'
13254 esac
13257 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13258 # PIC is the default for these OSes.
13261 mingw* | cygwin* | pw32* | os2* | cegcc*)
13262 # This hack is so that the source file can tell whether it is being
13263 # built for inclusion in a dll (and should export symbols for example).
13264 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13265 # (--disable-auto-import) libraries
13266 lt_prog_compiler_pic_FC='-DDLL_EXPORT'
13269 darwin* | rhapsody*)
13270 # PIC is the default on this platform
13271 # Common symbols not allowed in MH_DYLIB files
13272 lt_prog_compiler_pic_FC='-fno-common'
13275 haiku*)
13276 # PIC is the default for Haiku.
13277 # The "-static" flag exists, but is broken.
13278 lt_prog_compiler_static_FC=
13281 hpux*)
13282 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13283 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13284 # sets the default TLS model and affects inlining.
13285 case $host_cpu in
13286 hppa*64*)
13287 # +Z the default
13290 lt_prog_compiler_pic_FC='-fPIC'
13292 esac
13295 interix[3-9]*)
13296 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13297 # Instead, we relocate shared libraries at runtime.
13300 msdosdjgpp*)
13301 # Just because we use GCC doesn't mean we suddenly get shared libraries
13302 # on systems that don't support them.
13303 lt_prog_compiler_can_build_shared_FC=no
13304 enable_shared=no
13307 *nto* | *qnx*)
13308 # QNX uses GNU C++, but need to define -shared option too, otherwise
13309 # it will coredump.
13310 lt_prog_compiler_pic_FC='-fPIC -shared'
13313 sysv4*MP*)
13314 if test -d /usr/nec; then
13315 lt_prog_compiler_pic_FC=-Kconform_pic
13320 lt_prog_compiler_pic_FC='-fPIC'
13322 esac
13324 case $cc_basename in
13325 nvcc*) # Cuda Compiler Driver 2.2
13326 lt_prog_compiler_wl_FC='-Xlinker '
13327 lt_prog_compiler_pic_FC='-Xcompiler -fPIC'
13329 esac
13330 else
13331 # PORTME Check for flag to pass linker flags through the system compiler.
13332 case $host_os in
13333 aix*)
13334 lt_prog_compiler_wl_FC='-Wl,'
13335 if test "$host_cpu" = ia64; then
13336 # AIX 5 now supports IA64 processor
13337 lt_prog_compiler_static_FC='-Bstatic'
13338 else
13339 lt_prog_compiler_static_FC='-bnso -bI:/lib/syscalls.exp'
13343 mingw* | cygwin* | pw32* | os2* | cegcc*)
13344 # This hack is so that the source file can tell whether it is being
13345 # built for inclusion in a dll (and should export symbols for example).
13346 lt_prog_compiler_pic_FC='-DDLL_EXPORT'
13349 hpux9* | hpux10* | hpux11*)
13350 lt_prog_compiler_wl_FC='-Wl,'
13351 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13352 # not for PA HP-UX.
13353 case $host_cpu in
13354 hppa*64*|ia64*)
13355 # +Z the default
13358 lt_prog_compiler_pic_FC='+Z'
13360 esac
13361 # Is there a better lt_prog_compiler_static that works with the bundled CC?
13362 lt_prog_compiler_static_FC='${wl}-a ${wl}archive'
13365 irix5* | irix6* | nonstopux*)
13366 lt_prog_compiler_wl_FC='-Wl,'
13367 # PIC (with -KPIC) is the default.
13368 lt_prog_compiler_static_FC='-non_shared'
13371 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13372 case $cc_basename in
13373 # old Intel for x86_64 which still supported -KPIC.
13374 ecc*)
13375 lt_prog_compiler_wl_FC='-Wl,'
13376 lt_prog_compiler_pic_FC='-KPIC'
13377 lt_prog_compiler_static_FC='-static'
13379 # icc used to be incompatible with GCC.
13380 # ICC 10 doesn't accept -KPIC any more.
13381 icc* | ifort*)
13382 lt_prog_compiler_wl_FC='-Wl,'
13383 lt_prog_compiler_pic_FC='-fPIC'
13384 lt_prog_compiler_static_FC='-static'
13386 # Lahey Fortran 8.1.
13387 lf95*)
13388 lt_prog_compiler_wl_FC='-Wl,'
13389 lt_prog_compiler_pic_FC='--shared'
13390 lt_prog_compiler_static_FC='--static'
13392 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
13393 # Portland Group compilers (*not* the Pentium gcc compiler,
13394 # which looks to be a dead project)
13395 lt_prog_compiler_wl_FC='-Wl,'
13396 lt_prog_compiler_pic_FC='-fpic'
13397 lt_prog_compiler_static_FC='-Bstatic'
13399 ccc*)
13400 lt_prog_compiler_wl_FC='-Wl,'
13401 # All Alpha code is PIC.
13402 lt_prog_compiler_static_FC='-non_shared'
13404 xl* | bgxl* | bgf* | mpixl*)
13405 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
13406 lt_prog_compiler_wl_FC='-Wl,'
13407 lt_prog_compiler_pic_FC='-qpic'
13408 lt_prog_compiler_static_FC='-qstaticlink'
13411 case `$CC -V 2>&1 | sed 5q` in
13412 *Sun\ F* | *Sun*Fortran*)
13413 # Sun Fortran 8.3 passes all unrecognized flags to the linker
13414 lt_prog_compiler_pic_FC='-KPIC'
13415 lt_prog_compiler_static_FC='-Bstatic'
13416 lt_prog_compiler_wl_FC=''
13418 *Sun\ C*)
13419 # Sun C 5.9
13420 lt_prog_compiler_pic_FC='-KPIC'
13421 lt_prog_compiler_static_FC='-Bstatic'
13422 lt_prog_compiler_wl_FC='-Wl,'
13424 esac
13426 esac
13429 newsos6)
13430 lt_prog_compiler_pic_FC='-KPIC'
13431 lt_prog_compiler_static_FC='-Bstatic'
13434 *nto* | *qnx*)
13435 # QNX uses GNU C++, but need to define -shared option too, otherwise
13436 # it will coredump.
13437 lt_prog_compiler_pic_FC='-fPIC -shared'
13440 osf3* | osf4* | osf5*)
13441 lt_prog_compiler_wl_FC='-Wl,'
13442 # All OSF/1 code is PIC.
13443 lt_prog_compiler_static_FC='-non_shared'
13446 rdos*)
13447 lt_prog_compiler_static_FC='-non_shared'
13450 solaris*)
13451 lt_prog_compiler_pic_FC='-KPIC'
13452 lt_prog_compiler_static_FC='-Bstatic'
13453 case $cc_basename in
13454 f77* | f90* | f95*)
13455 lt_prog_compiler_wl_FC='-Qoption ld ';;
13457 lt_prog_compiler_wl_FC='-Wl,';;
13458 esac
13461 sunos4*)
13462 lt_prog_compiler_wl_FC='-Qoption ld '
13463 lt_prog_compiler_pic_FC='-PIC'
13464 lt_prog_compiler_static_FC='-Bstatic'
13467 sysv4 | sysv4.2uw2* | sysv4.3*)
13468 lt_prog_compiler_wl_FC='-Wl,'
13469 lt_prog_compiler_pic_FC='-KPIC'
13470 lt_prog_compiler_static_FC='-Bstatic'
13473 sysv4*MP*)
13474 if test -d /usr/nec ;then
13475 lt_prog_compiler_pic_FC='-Kconform_pic'
13476 lt_prog_compiler_static_FC='-Bstatic'
13480 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13481 lt_prog_compiler_wl_FC='-Wl,'
13482 lt_prog_compiler_pic_FC='-KPIC'
13483 lt_prog_compiler_static_FC='-Bstatic'
13486 unicos*)
13487 lt_prog_compiler_wl_FC='-Wl,'
13488 lt_prog_compiler_can_build_shared_FC=no
13491 uts4*)
13492 lt_prog_compiler_pic_FC='-pic'
13493 lt_prog_compiler_static_FC='-Bstatic'
13497 lt_prog_compiler_can_build_shared_FC=no
13499 esac
13502 case $host_os in
13503 # For platforms which do not support PIC, -DPIC is meaningless:
13504 *djgpp*)
13505 lt_prog_compiler_pic_FC=
13508 lt_prog_compiler_pic_FC="$lt_prog_compiler_pic_FC"
13510 esac
13511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_FC" >&5
13512 $as_echo "$lt_prog_compiler_pic_FC" >&6; }
13517 # Check to make sure the PIC flag actually works.
13519 if test -n "$lt_prog_compiler_pic_FC"; then
13520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_FC works" >&5
13521 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_FC works... " >&6; }
13522 if test "${lt_cv_prog_compiler_pic_works_FC+set}" = set; then :
13523 $as_echo_n "(cached) " >&6
13524 else
13525 lt_cv_prog_compiler_pic_works_FC=no
13526 ac_outfile=conftest.$ac_objext
13527 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13528 lt_compiler_flag="$lt_prog_compiler_pic_FC"
13529 # Insert the option either (1) after the last *FLAGS variable, or
13530 # (2) before a word containing "conftest.", or (3) at the end.
13531 # Note that $ac_compile itself does not contain backslashes and begins
13532 # with a dollar sign (not a hyphen), so the echo should work correctly.
13533 # The option is referenced via a variable to avoid confusing sed.
13534 lt_compile=`echo "$ac_compile" | $SED \
13535 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13536 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13537 -e 's:$: $lt_compiler_flag:'`
13538 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13539 (eval "$lt_compile" 2>conftest.err)
13540 ac_status=$?
13541 cat conftest.err >&5
13542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13543 if (exit $ac_status) && test -s "$ac_outfile"; then
13544 # The compiler can only warn and ignore the option if not recognized
13545 # So say no if there are warnings other than the usual output.
13546 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13547 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13548 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13549 lt_cv_prog_compiler_pic_works_FC=yes
13552 $RM conftest*
13555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_FC" >&5
13556 $as_echo "$lt_cv_prog_compiler_pic_works_FC" >&6; }
13558 if test x"$lt_cv_prog_compiler_pic_works_FC" = xyes; then
13559 case $lt_prog_compiler_pic_FC in
13560 "" | " "*) ;;
13561 *) lt_prog_compiler_pic_FC=" $lt_prog_compiler_pic_FC" ;;
13562 esac
13563 else
13564 lt_prog_compiler_pic_FC=
13565 lt_prog_compiler_can_build_shared_FC=no
13573 # Check to make sure the static flag actually works.
13575 wl=$lt_prog_compiler_wl_FC eval lt_tmp_static_flag=\"$lt_prog_compiler_static_FC\"
13576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13577 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13578 if test "${lt_cv_prog_compiler_static_works_FC+set}" = set; then :
13579 $as_echo_n "(cached) " >&6
13580 else
13581 lt_cv_prog_compiler_static_works_FC=no
13582 save_LDFLAGS="$LDFLAGS"
13583 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13584 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13585 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13586 # The linker can only warn and ignore the option if not recognized
13587 # So say no if there are warnings
13588 if test -s conftest.err; then
13589 # Append any errors to the config.log.
13590 cat conftest.err 1>&5
13591 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13592 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13593 if diff conftest.exp conftest.er2 >/dev/null; then
13594 lt_cv_prog_compiler_static_works_FC=yes
13596 else
13597 lt_cv_prog_compiler_static_works_FC=yes
13600 $RM -r conftest*
13601 LDFLAGS="$save_LDFLAGS"
13604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_FC" >&5
13605 $as_echo "$lt_cv_prog_compiler_static_works_FC" >&6; }
13607 if test x"$lt_cv_prog_compiler_static_works_FC" = xyes; then
13609 else
13610 lt_prog_compiler_static_FC=
13616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13617 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13618 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then :
13619 $as_echo_n "(cached) " >&6
13620 else
13621 lt_cv_prog_compiler_c_o_FC=no
13622 $RM -r conftest 2>/dev/null
13623 mkdir conftest
13624 cd conftest
13625 mkdir out
13626 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13628 lt_compiler_flag="-o out/conftest2.$ac_objext"
13629 # Insert the option either (1) after the last *FLAGS variable, or
13630 # (2) before a word containing "conftest.", or (3) at the end.
13631 # Note that $ac_compile itself does not contain backslashes and begins
13632 # with a dollar sign (not a hyphen), so the echo should work correctly.
13633 lt_compile=`echo "$ac_compile" | $SED \
13634 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13635 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13636 -e 's:$: $lt_compiler_flag:'`
13637 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13638 (eval "$lt_compile" 2>out/conftest.err)
13639 ac_status=$?
13640 cat out/conftest.err >&5
13641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13642 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13643 then
13644 # The compiler can only warn and ignore the option if not recognized
13645 # So say no if there are warnings
13646 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13647 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13648 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13649 lt_cv_prog_compiler_c_o_FC=yes
13652 chmod u+w . 2>&5
13653 $RM conftest*
13654 # SGI C++ compiler will create directory out/ii_files/ for
13655 # template instantiation
13656 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13657 $RM out/* && rmdir out
13658 cd ..
13659 $RM -r conftest
13660 $RM conftest*
13663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
13664 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
13668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13669 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13670 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then :
13671 $as_echo_n "(cached) " >&6
13672 else
13673 lt_cv_prog_compiler_c_o_FC=no
13674 $RM -r conftest 2>/dev/null
13675 mkdir conftest
13676 cd conftest
13677 mkdir out
13678 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13680 lt_compiler_flag="-o out/conftest2.$ac_objext"
13681 # Insert the option either (1) after the last *FLAGS variable, or
13682 # (2) before a word containing "conftest.", or (3) at the end.
13683 # Note that $ac_compile itself does not contain backslashes and begins
13684 # with a dollar sign (not a hyphen), so the echo should work correctly.
13685 lt_compile=`echo "$ac_compile" | $SED \
13686 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13687 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13688 -e 's:$: $lt_compiler_flag:'`
13689 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13690 (eval "$lt_compile" 2>out/conftest.err)
13691 ac_status=$?
13692 cat out/conftest.err >&5
13693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13694 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13695 then
13696 # The compiler can only warn and ignore the option if not recognized
13697 # So say no if there are warnings
13698 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13699 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13700 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13701 lt_cv_prog_compiler_c_o_FC=yes
13704 chmod u+w . 2>&5
13705 $RM conftest*
13706 # SGI C++ compiler will create directory out/ii_files/ for
13707 # template instantiation
13708 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13709 $RM out/* && rmdir out
13710 cd ..
13711 $RM -r conftest
13712 $RM conftest*
13715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
13716 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
13721 hard_links="nottested"
13722 if test "$lt_cv_prog_compiler_c_o_FC" = no && test "$need_locks" != no; then
13723 # do not overwrite the value of need_locks provided by the user
13724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13725 $as_echo_n "checking if we can lock with hard links... " >&6; }
13726 hard_links=yes
13727 $RM conftest*
13728 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13729 touch conftest.a
13730 ln conftest.a conftest.b 2>&5 || hard_links=no
13731 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13733 $as_echo "$hard_links" >&6; }
13734 if test "$hard_links" = no; then
13735 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13736 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13737 need_locks=warn
13739 else
13740 need_locks=no
13745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13746 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13748 runpath_var=
13749 allow_undefined_flag_FC=
13750 always_export_symbols_FC=no
13751 archive_cmds_FC=
13752 archive_expsym_cmds_FC=
13753 compiler_needs_object_FC=no
13754 enable_shared_with_static_runtimes_FC=no
13755 export_dynamic_flag_spec_FC=
13756 export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13757 hardcode_automatic_FC=no
13758 hardcode_direct_FC=no
13759 hardcode_direct_absolute_FC=no
13760 hardcode_libdir_flag_spec_FC=
13761 hardcode_libdir_flag_spec_ld_FC=
13762 hardcode_libdir_separator_FC=
13763 hardcode_minus_L_FC=no
13764 hardcode_shlibpath_var_FC=unsupported
13765 inherit_rpath_FC=no
13766 link_all_deplibs_FC=unknown
13767 module_cmds_FC=
13768 module_expsym_cmds_FC=
13769 old_archive_from_new_cmds_FC=
13770 old_archive_from_expsyms_cmds_FC=
13771 thread_safe_flag_spec_FC=
13772 whole_archive_flag_spec_FC=
13773 # include_expsyms should be a list of space-separated symbols to be *always*
13774 # included in the symbol list
13775 include_expsyms_FC=
13776 # exclude_expsyms can be an extended regexp of symbols to exclude
13777 # it will be wrapped by ` (' and `)$', so one must not match beginning or
13778 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
13779 # as well as any symbol that contains `d'.
13780 exclude_expsyms_FC='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13781 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
13782 # platforms (ab)use it in PIC code, but their linkers get confused if
13783 # the symbol is explicitly referenced. Since portable code cannot
13784 # rely on this symbol name, it's probably fine to never include it in
13785 # preloaded symbol tables.
13786 # Exclude shared library initialization/finalization symbols.
13787 extract_expsyms_cmds=
13789 case $host_os in
13790 cygwin* | mingw* | pw32* | cegcc*)
13791 # FIXME: the MSVC++ port hasn't been tested in a loooong time
13792 # When not using gcc, we currently assume that we are using
13793 # Microsoft Visual C++.
13794 if test "$GCC" != yes; then
13795 with_gnu_ld=no
13798 interix*)
13799 # we just hope/assume this is gcc and not c89 (= MSVC++)
13800 with_gnu_ld=yes
13802 openbsd*)
13803 with_gnu_ld=no
13805 esac
13807 ld_shlibs_FC=yes
13809 # On some targets, GNU ld is compatible enough with the native linker
13810 # that we're better off using the native interface for both.
13811 lt_use_gnu_ld_interface=no
13812 if test "$with_gnu_ld" = yes; then
13813 case $host_os in
13814 aix*)
13815 # The AIX port of GNU ld has always aspired to compatibility
13816 # with the native linker. However, as the warning in the GNU ld
13817 # block says, versions before 2.19.5* couldn't really create working
13818 # shared libraries, regardless of the interface used.
13819 case `$LD -v 2>&1` in
13820 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
13821 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
13822 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
13824 lt_use_gnu_ld_interface=yes
13826 esac
13829 lt_use_gnu_ld_interface=yes
13831 esac
13834 if test "$lt_use_gnu_ld_interface" = yes; then
13835 # If archive_cmds runs LD, not CC, wlarc should be empty
13836 wlarc='${wl}'
13838 # Set some defaults for GNU ld with shared library support. These
13839 # are reset later if shared libraries are not supported. Putting them
13840 # here allows them to be overridden if necessary.
13841 runpath_var=LD_RUN_PATH
13842 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
13843 export_dynamic_flag_spec_FC='${wl}--export-dynamic'
13844 # ancient GNU ld didn't support --whole-archive et. al.
13845 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
13846 whole_archive_flag_spec_FC="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13847 else
13848 whole_archive_flag_spec_FC=
13850 supports_anon_versioning=no
13851 case `$LD -v 2>&1` in
13852 *GNU\ gold*) supports_anon_versioning=yes ;;
13853 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
13854 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
13855 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
13856 *\ 2.11.*) ;; # other 2.11 versions
13857 *) supports_anon_versioning=yes ;;
13858 esac
13860 # See if GNU ld supports shared libraries.
13861 case $host_os in
13862 aix[3-9]*)
13863 # On AIX/PPC, the GNU linker is very broken
13864 if test "$host_cpu" != ia64; then
13865 ld_shlibs_FC=no
13866 cat <<_LT_EOF 1>&2
13868 *** Warning: the GNU linker, at least up to release 2.19, is reported
13869 *** to be unable to reliably create shared libraries on AIX.
13870 *** Therefore, libtool is disabling shared libraries support. If you
13871 *** really care for shared libraries, you may want to install binutils
13872 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
13873 *** You will then need to restart the configuration process.
13875 _LT_EOF
13879 amigaos*)
13880 case $host_cpu in
13881 powerpc)
13882 # see comment about AmigaOS4 .so support
13883 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13884 archive_expsym_cmds_FC=''
13886 m68k)
13887 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)'
13888 hardcode_libdir_flag_spec_FC='-L$libdir'
13889 hardcode_minus_L_FC=yes
13891 esac
13894 beos*)
13895 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13896 allow_undefined_flag_FC=unsupported
13897 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13898 # support --undefined. This deserves some investigation. FIXME
13899 archive_cmds_FC='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13900 else
13901 ld_shlibs_FC=no
13905 cygwin* | mingw* | pw32* | cegcc*)
13906 # _LT_TAGVAR(hardcode_libdir_flag_spec, FC) is actually meaningless,
13907 # as there is no search path for DLLs.
13908 hardcode_libdir_flag_spec_FC='-L$libdir'
13909 export_dynamic_flag_spec_FC='${wl}--export-all-symbols'
13910 allow_undefined_flag_FC=unsupported
13911 always_export_symbols_FC=no
13912 enable_shared_with_static_runtimes_FC=yes
13913 export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
13915 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
13916 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13917 # If the export-symbols file already is a .def file (1st line
13918 # is EXPORTS), use it as is; otherwise, prepend...
13919 archive_expsym_cmds_FC='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13920 cp $export_symbols $output_objdir/$soname.def;
13921 else
13922 echo EXPORTS > $output_objdir/$soname.def;
13923 cat $export_symbols >> $output_objdir/$soname.def;
13925 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13926 else
13927 ld_shlibs_FC=no
13931 haiku*)
13932 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13933 link_all_deplibs_FC=yes
13936 interix[3-9]*)
13937 hardcode_direct_FC=no
13938 hardcode_shlibpath_var_FC=no
13939 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
13940 export_dynamic_flag_spec_FC='${wl}-E'
13941 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13942 # Instead, shared libraries are loaded at an image base (0x10000000 by
13943 # default) and relocated if they conflict, which is a slow very memory
13944 # consuming and fragmenting process. To avoid this, we pick a random,
13945 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13946 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13947 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'
13948 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'
13951 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
13952 tmp_diet=no
13953 if test "$host_os" = linux-dietlibc; then
13954 case $cc_basename in
13955 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
13956 esac
13958 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
13959 && test "$tmp_diet" = no
13960 then
13961 tmp_addflag=
13962 tmp_sharedflag='-shared'
13963 case $cc_basename,$host_cpu in
13964 pgcc*) # Portland Group C compiler
13965 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'
13966 tmp_addflag=' $pic_flag'
13968 pgf77* | pgf90* | pgf95* | pgfortran*)
13969 # Portland Group f77 and f90 compilers
13970 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'
13971 tmp_addflag=' $pic_flag -Mnomain' ;;
13972 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
13973 tmp_addflag=' -i_dynamic' ;;
13974 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
13975 tmp_addflag=' -i_dynamic -nofor_main' ;;
13976 ifc* | ifort*) # Intel Fortran compiler
13977 tmp_addflag=' -nofor_main' ;;
13978 lf95*) # Lahey Fortran 8.1
13979 whole_archive_flag_spec_FC=
13980 tmp_sharedflag='--shared' ;;
13981 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
13982 tmp_sharedflag='-qmkshrobj'
13983 tmp_addflag= ;;
13984 nvcc*) # Cuda Compiler Driver 2.2
13985 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'
13986 compiler_needs_object_FC=yes
13988 esac
13989 case `$CC -V 2>&1 | sed 5q` in
13990 *Sun\ C*) # Sun C 5.9
13991 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'
13992 compiler_needs_object_FC=yes
13993 tmp_sharedflag='-G' ;;
13994 *Sun\ F*) # Sun Fortran 8.3
13995 tmp_sharedflag='-G' ;;
13996 esac
13997 archive_cmds_FC='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13999 if test "x$supports_anon_versioning" = xyes; then
14000 archive_expsym_cmds_FC='echo "{ global:" > $output_objdir/$libname.ver~
14001 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14002 echo "local: *; };" >> $output_objdir/$libname.ver~
14003 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14006 case $cc_basename in
14007 xlf* | bgf* | bgxlf* | mpixlf*)
14008 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
14009 whole_archive_flag_spec_FC='--whole-archive$convenience --no-whole-archive'
14010 hardcode_libdir_flag_spec_FC=
14011 hardcode_libdir_flag_spec_ld_FC='-rpath $libdir'
14012 archive_cmds_FC='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
14013 if test "x$supports_anon_versioning" = xyes; then
14014 archive_expsym_cmds_FC='echo "{ global:" > $output_objdir/$libname.ver~
14015 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14016 echo "local: *; };" >> $output_objdir/$libname.ver~
14017 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
14020 esac
14021 else
14022 ld_shlibs_FC=no
14026 netbsd*)
14027 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14028 archive_cmds_FC='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14029 wlarc=
14030 else
14031 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14032 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14036 solaris*)
14037 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
14038 ld_shlibs_FC=no
14039 cat <<_LT_EOF 1>&2
14041 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
14042 *** create shared libraries on Solaris systems. Therefore, libtool
14043 *** is disabling shared libraries support. We urge you to upgrade GNU
14044 *** binutils to release 2.9.1 or newer. Another option is to modify
14045 *** your PATH or compiler configuration so that the native linker is
14046 *** used, and then restart.
14048 _LT_EOF
14049 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14050 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14051 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14052 else
14053 ld_shlibs_FC=no
14057 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
14058 case `$LD -v 2>&1` in
14059 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
14060 ld_shlibs_FC=no
14061 cat <<_LT_EOF 1>&2
14063 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
14064 *** reliably create shared libraries on SCO systems. Therefore, libtool
14065 *** is disabling shared libraries support. We urge you to upgrade GNU
14066 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
14067 *** your PATH or compiler configuration so that the native linker is
14068 *** used, and then restart.
14070 _LT_EOF
14073 # For security reasons, it is highly recommended that you always
14074 # use absolute paths for naming shared libraries, and exclude the
14075 # DT_RUNPATH tag from executables and libraries. But doing so
14076 # requires that you compile everything twice, which is a pain.
14077 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14078 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
14079 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14080 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14081 else
14082 ld_shlibs_FC=no
14085 esac
14088 sunos4*)
14089 archive_cmds_FC='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14090 wlarc=
14091 hardcode_direct_FC=yes
14092 hardcode_shlibpath_var_FC=no
14096 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14097 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14098 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14099 else
14100 ld_shlibs_FC=no
14103 esac
14105 if test "$ld_shlibs_FC" = no; then
14106 runpath_var=
14107 hardcode_libdir_flag_spec_FC=
14108 export_dynamic_flag_spec_FC=
14109 whole_archive_flag_spec_FC=
14111 else
14112 # PORTME fill in a description of your system's linker (not GNU ld)
14113 case $host_os in
14114 aix3*)
14115 allow_undefined_flag_FC=unsupported
14116 always_export_symbols_FC=yes
14117 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'
14118 # Note: this linker hardcodes the directories in LIBPATH if there
14119 # are no directories specified by -L.
14120 hardcode_minus_L_FC=yes
14121 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14122 # Neither direct hardcoding nor static linking is supported with a
14123 # broken collect2.
14124 hardcode_direct_FC=unsupported
14128 aix[4-9]*)
14129 if test "$host_cpu" = ia64; then
14130 # On IA64, the linker does run time linking by default, so we don't
14131 # have to do anything special.
14132 aix_use_runtimelinking=no
14133 exp_sym_flag='-Bexport'
14134 no_entry_flag=""
14135 else
14136 # If we're using GNU nm, then we don't want the "-C" option.
14137 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14138 # Also, AIX nm treats weak defined symbols like other global
14139 # defined symbols, whereas GNU nm marks them as "W".
14140 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14141 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'
14142 else
14143 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'
14145 aix_use_runtimelinking=no
14147 # Test if we are trying to use run time linking or normal
14148 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14149 # need to do runtime linking.
14150 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
14151 for ld_flag in $LDFLAGS; do
14152 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
14153 aix_use_runtimelinking=yes
14154 break
14156 done
14158 esac
14160 exp_sym_flag='-bexport'
14161 no_entry_flag='-bnoentry'
14164 # When large executables or shared objects are built, AIX ld can
14165 # have problems creating the table of contents. If linking a library
14166 # or program results in "error TOC overflow" add -mminimal-toc to
14167 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14168 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14170 archive_cmds_FC=''
14171 hardcode_direct_FC=yes
14172 hardcode_direct_absolute_FC=yes
14173 hardcode_libdir_separator_FC=':'
14174 link_all_deplibs_FC=yes
14175 file_list_spec_FC='${wl}-f,'
14177 if test "$GCC" = yes; then
14178 case $host_os in aix4.[012]|aix4.[012].*)
14179 # We only want to do this on AIX 4.2 and lower, the check
14180 # below for broken collect2 doesn't work under 4.3+
14181 collect2name=`${CC} -print-prog-name=collect2`
14182 if test -f "$collect2name" &&
14183 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
14184 then
14185 # We have reworked collect2
14187 else
14188 # We have old collect2
14189 hardcode_direct_FC=unsupported
14190 # It fails to find uninstalled libraries when the uninstalled
14191 # path is not listed in the libpath. Setting hardcode_minus_L
14192 # to unsupported forces relinking
14193 hardcode_minus_L_FC=yes
14194 hardcode_libdir_flag_spec_FC='-L$libdir'
14195 hardcode_libdir_separator_FC=
14198 esac
14199 shared_flag='-shared'
14200 if test "$aix_use_runtimelinking" = yes; then
14201 shared_flag="$shared_flag "'${wl}-G'
14203 else
14204 # not using gcc
14205 if test "$host_cpu" = ia64; then
14206 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14207 # chokes on -Wl,-G. The following line is correct:
14208 shared_flag='-G'
14209 else
14210 if test "$aix_use_runtimelinking" = yes; then
14211 shared_flag='${wl}-G'
14212 else
14213 shared_flag='${wl}-bM:SRE'
14218 export_dynamic_flag_spec_FC='${wl}-bexpall'
14219 # It seems that -bexpall does not export symbols beginning with
14220 # underscore (_), so it is better to generate a list of symbols to export.
14221 always_export_symbols_FC=yes
14222 if test "$aix_use_runtimelinking" = yes; then
14223 # Warning - without using the other runtime loading flags (-brtl),
14224 # -berok will link without error, but may produce a broken library.
14225 allow_undefined_flag_FC='-berok'
14226 # Determine the default libpath from the value encoded in an
14227 # empty executable.
14228 if test x$gcc_no_link = xyes; then
14229 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14231 cat > conftest.$ac_ext <<_ACEOF
14232 program main
14235 _ACEOF
14236 if ac_fn_fc_try_link "$LINENO"; then :
14238 lt_aix_libpath_sed='
14239 /Import File Strings/,/^$/ {
14240 /^0/ {
14241 s/^0 *\(.*\)$/\1/
14245 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14246 # Check for a 64-bit object if we didn't find anything.
14247 if test -z "$aix_libpath"; then
14248 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14251 rm -f core conftest.err conftest.$ac_objext \
14252 conftest$ac_exeext conftest.$ac_ext
14253 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14255 hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath"
14256 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"
14257 else
14258 if test "$host_cpu" = ia64; then
14259 hardcode_libdir_flag_spec_FC='${wl}-R $libdir:/usr/lib:/lib'
14260 allow_undefined_flag_FC="-z nodefs"
14261 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"
14262 else
14263 # Determine the default libpath from the value encoded in an
14264 # empty executable.
14265 if test x$gcc_no_link = xyes; then
14266 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14268 cat > conftest.$ac_ext <<_ACEOF
14269 program main
14272 _ACEOF
14273 if ac_fn_fc_try_link "$LINENO"; then :
14275 lt_aix_libpath_sed='
14276 /Import File Strings/,/^$/ {
14277 /^0/ {
14278 s/^0 *\(.*\)$/\1/
14282 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14283 # Check for a 64-bit object if we didn't find anything.
14284 if test -z "$aix_libpath"; then
14285 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14288 rm -f core conftest.err conftest.$ac_objext \
14289 conftest$ac_exeext conftest.$ac_ext
14290 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14292 hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath"
14293 # Warning - without using the other run time loading flags,
14294 # -berok will link without error, but may produce a broken library.
14295 no_undefined_flag_FC=' ${wl}-bernotok'
14296 allow_undefined_flag_FC=' ${wl}-berok'
14297 if test "$with_gnu_ld" = yes; then
14298 # We only use this code for GNU lds that support --whole-archive.
14299 whole_archive_flag_spec_FC='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14300 else
14301 # Exported symbols can be pulled into shared objects from archives
14302 whole_archive_flag_spec_FC='$convenience'
14304 archive_cmds_need_lc_FC=yes
14305 # This is similar to how AIX traditionally builds its shared libraries.
14306 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'
14311 amigaos*)
14312 case $host_cpu in
14313 powerpc)
14314 # see comment about AmigaOS4 .so support
14315 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14316 archive_expsym_cmds_FC=''
14318 m68k)
14319 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)'
14320 hardcode_libdir_flag_spec_FC='-L$libdir'
14321 hardcode_minus_L_FC=yes
14323 esac
14326 bsdi[45]*)
14327 export_dynamic_flag_spec_FC=-rdynamic
14330 cygwin* | mingw* | pw32* | cegcc*)
14331 # When not using gcc, we currently assume that we are using
14332 # Microsoft Visual C++.
14333 # hardcode_libdir_flag_spec is actually meaningless, as there is
14334 # no search path for DLLs.
14335 hardcode_libdir_flag_spec_FC=' '
14336 allow_undefined_flag_FC=unsupported
14337 # Tell ltmain to make .lib files, not .a files.
14338 libext=lib
14339 # Tell ltmain to make .dll files, not .so files.
14340 shrext_cmds=".dll"
14341 # FIXME: Setting linknames here is a bad hack.
14342 archive_cmds_FC='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
14343 # The linker will automatically build a .lib file if we build a DLL.
14344 old_archive_from_new_cmds_FC='true'
14345 # FIXME: Should let the user specify the lib program.
14346 old_archive_cmds_FC='lib -OUT:$oldlib$oldobjs$old_deplibs'
14347 fix_srcfile_path_FC='`cygpath -w "$srcfile"`'
14348 enable_shared_with_static_runtimes_FC=yes
14351 darwin* | rhapsody*)
14354 archive_cmds_need_lc_FC=no
14355 hardcode_direct_FC=no
14356 hardcode_automatic_FC=yes
14357 hardcode_shlibpath_var_FC=unsupported
14358 if test "$lt_cv_ld_force_load" = "yes"; then
14359 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\"`'
14360 else
14361 whole_archive_flag_spec_FC=''
14363 link_all_deplibs_FC=yes
14364 allow_undefined_flag_FC="$_lt_dar_allow_undefined"
14365 case $cc_basename in
14366 ifort*) _lt_dar_can_shared=yes ;;
14367 *) _lt_dar_can_shared=$GCC ;;
14368 esac
14369 if test "$_lt_dar_can_shared" = "yes"; then
14370 output_verbose_link_cmd=func_echo_all
14371 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}"
14372 module_cmds_FC="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
14373 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}"
14374 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}"
14376 else
14377 ld_shlibs_FC=no
14382 dgux*)
14383 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14384 hardcode_libdir_flag_spec_FC='-L$libdir'
14385 hardcode_shlibpath_var_FC=no
14388 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
14389 # support. Future versions do this automatically, but an explicit c++rt0.o
14390 # does not break anything, and helps significantly (at the cost of a little
14391 # extra space).
14392 freebsd2.2*)
14393 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
14394 hardcode_libdir_flag_spec_FC='-R$libdir'
14395 hardcode_direct_FC=yes
14396 hardcode_shlibpath_var_FC=no
14399 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
14400 freebsd2.*)
14401 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14402 hardcode_direct_FC=yes
14403 hardcode_minus_L_FC=yes
14404 hardcode_shlibpath_var_FC=no
14407 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14408 freebsd* | dragonfly*)
14409 archive_cmds_FC='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14410 hardcode_libdir_flag_spec_FC='-R$libdir'
14411 hardcode_direct_FC=yes
14412 hardcode_shlibpath_var_FC=no
14415 hpux9*)
14416 if test "$GCC" = yes; then
14417 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'
14418 else
14419 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'
14421 hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
14422 hardcode_libdir_separator_FC=:
14423 hardcode_direct_FC=yes
14425 # hardcode_minus_L: Not really in the search PATH,
14426 # but as the default location of the library.
14427 hardcode_minus_L_FC=yes
14428 export_dynamic_flag_spec_FC='${wl}-E'
14431 hpux10*)
14432 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
14433 archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14434 else
14435 archive_cmds_FC='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14437 if test "$with_gnu_ld" = no; then
14438 hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
14439 hardcode_libdir_flag_spec_ld_FC='+b $libdir'
14440 hardcode_libdir_separator_FC=:
14441 hardcode_direct_FC=yes
14442 hardcode_direct_absolute_FC=yes
14443 export_dynamic_flag_spec_FC='${wl}-E'
14444 # hardcode_minus_L: Not really in the search PATH,
14445 # but as the default location of the library.
14446 hardcode_minus_L_FC=yes
14450 hpux11*)
14451 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
14452 case $host_cpu in
14453 hppa*64*)
14454 archive_cmds_FC='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14456 ia64*)
14457 archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14460 archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14462 esac
14463 else
14464 case $host_cpu in
14465 hppa*64*)
14466 archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14468 ia64*)
14469 archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14472 archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14474 esac
14476 if test "$with_gnu_ld" = no; then
14477 hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
14478 hardcode_libdir_separator_FC=:
14480 case $host_cpu in
14481 hppa*64*|ia64*)
14482 hardcode_direct_FC=no
14483 hardcode_shlibpath_var_FC=no
14486 hardcode_direct_FC=yes
14487 hardcode_direct_absolute_FC=yes
14488 export_dynamic_flag_spec_FC='${wl}-E'
14490 # hardcode_minus_L: Not really in the search PATH,
14491 # but as the default location of the library.
14492 hardcode_minus_L_FC=yes
14494 esac
14498 irix5* | irix6* | nonstopux*)
14499 if test "$GCC" = yes; then
14500 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'
14501 # Try to use the -exported_symbol ld option, if it does not
14502 # work, assume that -exports_file does not work either and
14503 # implicitly export all symbols.
14504 save_LDFLAGS="$LDFLAGS"
14505 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
14506 if test x$gcc_no_link = xyes; then
14507 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14509 cat > conftest.$ac_ext <<_ACEOF
14510 int foo(void) {}
14511 _ACEOF
14512 if ac_fn_fc_try_link "$LINENO"; then :
14513 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'
14516 rm -f core conftest.err conftest.$ac_objext \
14517 conftest$ac_exeext conftest.$ac_ext
14518 LDFLAGS="$save_LDFLAGS"
14519 else
14520 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'
14521 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'
14523 archive_cmds_need_lc_FC='no'
14524 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
14525 hardcode_libdir_separator_FC=:
14526 inherit_rpath_FC=yes
14527 link_all_deplibs_FC=yes
14530 netbsd*)
14531 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14532 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
14533 else
14534 archive_cmds_FC='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
14536 hardcode_libdir_flag_spec_FC='-R$libdir'
14537 hardcode_direct_FC=yes
14538 hardcode_shlibpath_var_FC=no
14541 newsos6)
14542 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14543 hardcode_direct_FC=yes
14544 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
14545 hardcode_libdir_separator_FC=:
14546 hardcode_shlibpath_var_FC=no
14549 *nto* | *qnx*)
14552 openbsd*)
14553 if test -f /usr/libexec/ld.so; then
14554 hardcode_direct_FC=yes
14555 hardcode_shlibpath_var_FC=no
14556 hardcode_direct_absolute_FC=yes
14557 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14558 archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14559 archive_expsym_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
14560 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
14561 export_dynamic_flag_spec_FC='${wl}-E'
14562 else
14563 case $host_os in
14564 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
14565 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14566 hardcode_libdir_flag_spec_FC='-R$libdir'
14569 archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14570 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
14572 esac
14574 else
14575 ld_shlibs_FC=no
14579 os2*)
14580 hardcode_libdir_flag_spec_FC='-L$libdir'
14581 hardcode_minus_L_FC=yes
14582 allow_undefined_flag_FC=unsupported
14583 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'
14584 old_archive_from_new_cmds_FC='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
14587 osf3*)
14588 if test "$GCC" = yes; then
14589 allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*'
14590 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'
14591 else
14592 allow_undefined_flag_FC=' -expect_unresolved \*'
14593 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'
14595 archive_cmds_need_lc_FC='no'
14596 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
14597 hardcode_libdir_separator_FC=:
14600 osf4* | osf5*) # as osf3* with the addition of -msym flag
14601 if test "$GCC" = yes; then
14602 allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*'
14603 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'
14604 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
14605 else
14606 allow_undefined_flag_FC=' -expect_unresolved \*'
14607 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'
14608 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~
14609 $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'
14611 # Both c and cxx compiler support -rpath directly
14612 hardcode_libdir_flag_spec_FC='-rpath $libdir'
14614 archive_cmds_need_lc_FC='no'
14615 hardcode_libdir_separator_FC=:
14618 solaris*)
14619 no_undefined_flag_FC=' -z defs'
14620 if test "$GCC" = yes; then
14621 wlarc='${wl}'
14622 archive_cmds_FC='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14623 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14624 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
14625 else
14626 case `$CC -V 2>&1` in
14627 *"Compilers 5.0"*)
14628 wlarc=''
14629 archive_cmds_FC='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
14630 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14631 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
14634 wlarc='${wl}'
14635 archive_cmds_FC='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
14636 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14637 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
14639 esac
14641 hardcode_libdir_flag_spec_FC='-R$libdir'
14642 hardcode_shlibpath_var_FC=no
14643 case $host_os in
14644 solaris2.[0-5] | solaris2.[0-5].*) ;;
14646 # The compiler driver will combine and reorder linker options,
14647 # but understands `-z linker_flag'. GCC discards it without `$wl',
14648 # but is careful enough not to reorder.
14649 # Supported since Solaris 2.6 (maybe 2.5.1?)
14650 if test "$GCC" = yes; then
14651 whole_archive_flag_spec_FC='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14652 else
14653 whole_archive_flag_spec_FC='-z allextract$convenience -z defaultextract'
14656 esac
14657 link_all_deplibs_FC=yes
14660 sunos4*)
14661 if test "x$host_vendor" = xsequent; then
14662 # Use $CC to link under sequent, because it throws in some extra .o
14663 # files that make .init and .fini sections work.
14664 archive_cmds_FC='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
14665 else
14666 archive_cmds_FC='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
14668 hardcode_libdir_flag_spec_FC='-L$libdir'
14669 hardcode_direct_FC=yes
14670 hardcode_minus_L_FC=yes
14671 hardcode_shlibpath_var_FC=no
14674 sysv4)
14675 case $host_vendor in
14676 sni)
14677 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14678 hardcode_direct_FC=yes # is this really true???
14680 siemens)
14681 ## LD is ld it makes a PLAMLIB
14682 ## CC just makes a GrossModule.
14683 archive_cmds_FC='$LD -G -o $lib $libobjs $deplibs $linker_flags'
14684 reload_cmds_FC='$CC -r -o $output$reload_objs'
14685 hardcode_direct_FC=no
14687 motorola)
14688 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14689 hardcode_direct_FC=no #Motorola manual says yes, but my tests say they lie
14691 esac
14692 runpath_var='LD_RUN_PATH'
14693 hardcode_shlibpath_var_FC=no
14696 sysv4.3*)
14697 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14698 hardcode_shlibpath_var_FC=no
14699 export_dynamic_flag_spec_FC='-Bexport'
14702 sysv4*MP*)
14703 if test -d /usr/nec; then
14704 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14705 hardcode_shlibpath_var_FC=no
14706 runpath_var=LD_RUN_PATH
14707 hardcode_runpath_var=yes
14708 ld_shlibs_FC=yes
14712 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
14713 no_undefined_flag_FC='${wl}-z,text'
14714 archive_cmds_need_lc_FC=no
14715 hardcode_shlibpath_var_FC=no
14716 runpath_var='LD_RUN_PATH'
14718 if test "$GCC" = yes; then
14719 archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14720 archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14721 else
14722 archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14723 archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14727 sysv5* | sco3.2v5* | sco5v6*)
14728 # Note: We can NOT use -z defs as we might desire, because we do not
14729 # link with -lc, and that would cause any symbols used from libc to
14730 # always be unresolved, which means just about no library would
14731 # ever link correctly. If we're not using GNU ld we use -z text
14732 # though, which does catch some bad symbols but isn't as heavy-handed
14733 # as -z defs.
14734 no_undefined_flag_FC='${wl}-z,text'
14735 allow_undefined_flag_FC='${wl}-z,nodefs'
14736 archive_cmds_need_lc_FC=no
14737 hardcode_shlibpath_var_FC=no
14738 hardcode_libdir_flag_spec_FC='${wl}-R,$libdir'
14739 hardcode_libdir_separator_FC=':'
14740 link_all_deplibs_FC=yes
14741 export_dynamic_flag_spec_FC='${wl}-Bexport'
14742 runpath_var='LD_RUN_PATH'
14744 if test "$GCC" = yes; then
14745 archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14746 archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14747 else
14748 archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14749 archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14753 uts4*)
14754 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14755 hardcode_libdir_flag_spec_FC='-L$libdir'
14756 hardcode_shlibpath_var_FC=no
14760 ld_shlibs_FC=no
14762 esac
14764 if test x$host_vendor = xsni; then
14765 case $host in
14766 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
14767 export_dynamic_flag_spec_FC='${wl}-Blargedynsym'
14769 esac
14773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_FC" >&5
14774 $as_echo "$ld_shlibs_FC" >&6; }
14775 test "$ld_shlibs_FC" = no && can_build_shared=no
14777 with_gnu_ld_FC=$with_gnu_ld
14785 # Do we need to explicitly link libc?
14787 case "x$archive_cmds_need_lc_FC" in
14788 x|xyes)
14789 # Assume -lc should be added
14790 archive_cmds_need_lc_FC=yes
14792 if test "$enable_shared" = yes && test "$GCC" = yes; then
14793 case $archive_cmds_FC in
14794 *'~'*)
14795 # FIXME: we may have to deal with multi-command sequences.
14797 '$CC '*)
14798 # Test whether the compiler implicitly links with -lc since on some
14799 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14800 # to ld, don't add -lc before -lgcc.
14801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14802 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14803 if test "${lt_cv_archive_cmds_need_lc_FC+set}" = set; then :
14804 $as_echo_n "(cached) " >&6
14805 else
14806 $RM conftest*
14807 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14809 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14810 (eval $ac_compile) 2>&5
14811 ac_status=$?
14812 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14813 test $ac_status = 0; } 2>conftest.err; then
14814 soname=conftest
14815 lib=conftest
14816 libobjs=conftest.$ac_objext
14817 deplibs=
14818 wl=$lt_prog_compiler_wl_FC
14819 pic_flag=$lt_prog_compiler_pic_FC
14820 compiler_flags=-v
14821 linker_flags=-v
14822 verstring=
14823 output_objdir=.
14824 libname=conftest
14825 lt_save_allow_undefined_flag=$allow_undefined_flag_FC
14826 allow_undefined_flag_FC=
14827 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14828 (eval $archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14829 ac_status=$?
14830 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14831 test $ac_status = 0; }
14832 then
14833 lt_cv_archive_cmds_need_lc_FC=no
14834 else
14835 lt_cv_archive_cmds_need_lc_FC=yes
14837 allow_undefined_flag_FC=$lt_save_allow_undefined_flag
14838 else
14839 cat conftest.err 1>&5
14841 $RM conftest*
14844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_FC" >&5
14845 $as_echo "$lt_cv_archive_cmds_need_lc_FC" >&6; }
14846 archive_cmds_need_lc_FC=$lt_cv_archive_cmds_need_lc_FC
14848 esac
14851 esac
14916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14917 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14919 library_names_spec=
14920 libname_spec='lib$name'
14921 soname_spec=
14922 shrext_cmds=".so"
14923 postinstall_cmds=
14924 postuninstall_cmds=
14925 finish_cmds=
14926 finish_eval=
14927 shlibpath_var=
14928 shlibpath_overrides_runpath=unknown
14929 version_type=none
14930 dynamic_linker="$host_os ld.so"
14931 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14932 need_lib_prefix=unknown
14933 hardcode_into_libs=no
14935 # when you set need_version to no, make sure it does not cause -set_version
14936 # flags to be left without arguments
14937 need_version=unknown
14939 case $host_os in
14940 aix3*)
14941 version_type=linux
14942 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14943 shlibpath_var=LIBPATH
14945 # AIX 3 has no versioning support, so we append a major version to the name.
14946 soname_spec='${libname}${release}${shared_ext}$major'
14949 aix[4-9]*)
14950 version_type=linux
14951 need_lib_prefix=no
14952 need_version=no
14953 hardcode_into_libs=yes
14954 if test "$host_cpu" = ia64; then
14955 # AIX 5 supports IA64
14956 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14957 shlibpath_var=LD_LIBRARY_PATH
14958 else
14959 # With GCC up to 2.95.x, collect2 would create an import file
14960 # for dependence libraries. The import file would start with
14961 # the line `#! .'. This would cause the generated library to
14962 # depend on `.', always an invalid library. This was fixed in
14963 # development snapshots of GCC prior to 3.0.
14964 case $host_os in
14965 aix4 | aix4.[01] | aix4.[01].*)
14966 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14967 echo ' yes '
14968 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14970 else
14971 can_build_shared=no
14974 esac
14975 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14976 # soname into executable. Probably we can add versioning support to
14977 # collect2, so additional links can be useful in future.
14978 if test "$aix_use_runtimelinking" = yes; then
14979 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14980 # instead of lib<name>.a to let people know that these are not
14981 # typical AIX shared libraries.
14982 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14983 else
14984 # We preserve .a as extension for shared libraries through AIX4.2
14985 # and later when we are not doing run time linking.
14986 library_names_spec='${libname}${release}.a $libname.a'
14987 soname_spec='${libname}${release}${shared_ext}$major'
14989 shlibpath_var=LIBPATH
14993 amigaos*)
14994 case $host_cpu in
14995 powerpc)
14996 # Since July 2007 AmigaOS4 officially supports .so libraries.
14997 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14998 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15000 m68k)
15001 library_names_spec='$libname.ixlibrary $libname.a'
15002 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15003 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'
15005 esac
15008 beos*)
15009 library_names_spec='${libname}${shared_ext}'
15010 dynamic_linker="$host_os ld.so"
15011 shlibpath_var=LIBRARY_PATH
15014 bsdi[45]*)
15015 version_type=linux
15016 need_version=no
15017 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15018 soname_spec='${libname}${release}${shared_ext}$major'
15019 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
15020 shlibpath_var=LD_LIBRARY_PATH
15021 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15022 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
15023 # the default ld.so.conf also contains /usr/contrib/lib and
15024 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15025 # libtool to hard-code these into programs
15028 cygwin* | mingw* | pw32* | cegcc*)
15029 version_type=windows
15030 shrext_cmds=".dll"
15031 need_version=no
15032 need_lib_prefix=no
15034 case $GCC,$host_os in
15035 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
15036 library_names_spec='$libname.dll.a'
15037 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15038 postinstall_cmds='base_file=`basename \${file}`~
15039 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15040 dldir=$destdir/`dirname \$dlpath`~
15041 test -d \$dldir || mkdir -p \$dldir~
15042 $install_prog $dir/$dlname \$dldir/$dlname~
15043 chmod a+x \$dldir/$dlname~
15044 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15045 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15047 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15048 dlpath=$dir/\$dldll~
15049 $RM \$dlpath'
15050 shlibpath_overrides_runpath=yes
15052 case $host_os in
15053 cygwin*)
15054 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15055 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15058 mingw* | cegcc*)
15059 # MinGW DLLs use traditional 'lib' prefix
15060 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15062 pw32*)
15063 # pw32 DLLs use 'pw' prefix rather than 'lib'
15064 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15066 esac
15070 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15072 esac
15073 dynamic_linker='Win32 ld.exe'
15074 # FIXME: first we should search . and the directory the executable is in
15075 shlibpath_var=PATH
15078 darwin* | rhapsody*)
15079 dynamic_linker="$host_os dyld"
15080 version_type=darwin
15081 need_lib_prefix=no
15082 need_version=no
15083 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15084 soname_spec='${libname}${release}${major}$shared_ext'
15085 shlibpath_overrides_runpath=yes
15086 shlibpath_var=DYLD_LIBRARY_PATH
15087 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15089 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15092 dgux*)
15093 version_type=linux
15094 need_lib_prefix=no
15095 need_version=no
15096 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15097 soname_spec='${libname}${release}${shared_ext}$major'
15098 shlibpath_var=LD_LIBRARY_PATH
15101 freebsd* | dragonfly*)
15102 # DragonFly does not have aout. When/if they implement a new
15103 # versioning mechanism, adjust this.
15104 if test -x /usr/bin/objformat; then
15105 objformat=`/usr/bin/objformat`
15106 else
15107 case $host_os in
15108 freebsd[23].*) objformat=aout ;;
15109 *) objformat=elf ;;
15110 esac
15112 version_type=freebsd-$objformat
15113 case $version_type in
15114 freebsd-elf*)
15115 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15116 need_version=no
15117 need_lib_prefix=no
15119 freebsd-*)
15120 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15121 need_version=yes
15123 esac
15124 shlibpath_var=LD_LIBRARY_PATH
15125 case $host_os in
15126 freebsd2.*)
15127 shlibpath_overrides_runpath=yes
15129 freebsd3.[01]* | freebsdelf3.[01]*)
15130 shlibpath_overrides_runpath=yes
15131 hardcode_into_libs=yes
15133 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
15134 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
15135 shlibpath_overrides_runpath=no
15136 hardcode_into_libs=yes
15138 *) # from 4.6 on, and DragonFly
15139 shlibpath_overrides_runpath=yes
15140 hardcode_into_libs=yes
15142 esac
15145 gnu*)
15146 version_type=linux
15147 need_lib_prefix=no
15148 need_version=no
15149 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15150 soname_spec='${libname}${release}${shared_ext}$major'
15151 shlibpath_var=LD_LIBRARY_PATH
15152 hardcode_into_libs=yes
15155 haiku*)
15156 version_type=linux
15157 need_lib_prefix=no
15158 need_version=no
15159 dynamic_linker="$host_os runtime_loader"
15160 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15161 soname_spec='${libname}${release}${shared_ext}$major'
15162 shlibpath_var=LIBRARY_PATH
15163 shlibpath_overrides_runpath=yes
15164 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
15165 hardcode_into_libs=yes
15168 hpux9* | hpux10* | hpux11*)
15169 # Give a soname corresponding to the major version so that dld.sl refuses to
15170 # link against other versions.
15171 version_type=sunos
15172 need_lib_prefix=no
15173 need_version=no
15174 case $host_cpu in
15175 ia64*)
15176 shrext_cmds='.so'
15177 hardcode_into_libs=yes
15178 dynamic_linker="$host_os dld.so"
15179 shlibpath_var=LD_LIBRARY_PATH
15180 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15181 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15182 soname_spec='${libname}${release}${shared_ext}$major'
15183 if test "X$HPUX_IA64_MODE" = X32; then
15184 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15185 else
15186 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15188 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15190 hppa*64*)
15191 shrext_cmds='.sl'
15192 hardcode_into_libs=yes
15193 dynamic_linker="$host_os dld.sl"
15194 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15195 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15196 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15197 soname_spec='${libname}${release}${shared_ext}$major'
15198 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15199 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15202 shrext_cmds='.sl'
15203 dynamic_linker="$host_os dld.sl"
15204 shlibpath_var=SHLIB_PATH
15205 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15206 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15207 soname_spec='${libname}${release}${shared_ext}$major'
15209 esac
15210 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15211 postinstall_cmds='chmod 555 $lib'
15212 # or fails outright, so override atomically:
15213 install_override_mode=555
15216 interix[3-9]*)
15217 version_type=linux
15218 need_lib_prefix=no
15219 need_version=no
15220 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15221 soname_spec='${libname}${release}${shared_ext}$major'
15222 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
15223 shlibpath_var=LD_LIBRARY_PATH
15224 shlibpath_overrides_runpath=no
15225 hardcode_into_libs=yes
15228 irix5* | irix6* | nonstopux*)
15229 case $host_os in
15230 nonstopux*) version_type=nonstopux ;;
15232 if test "$lt_cv_prog_gnu_ld" = yes; then
15233 version_type=linux
15234 else
15235 version_type=irix
15236 fi ;;
15237 esac
15238 need_lib_prefix=no
15239 need_version=no
15240 soname_spec='${libname}${release}${shared_ext}$major'
15241 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15242 case $host_os in
15243 irix5* | nonstopux*)
15244 libsuff= shlibsuff=
15247 case $LD in # libtool.m4 will add one of these switches to LD
15248 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15249 libsuff= shlibsuff= libmagic=32-bit;;
15250 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15251 libsuff=32 shlibsuff=N32 libmagic=N32;;
15252 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15253 libsuff=64 shlibsuff=64 libmagic=64-bit;;
15254 *) libsuff= shlibsuff= libmagic=never-match;;
15255 esac
15257 esac
15258 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15259 shlibpath_overrides_runpath=no
15260 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15261 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15262 hardcode_into_libs=yes
15265 # No shared lib support for Linux oldld, aout, or coff.
15266 linux*oldld* | linux*aout* | linux*coff*)
15267 dynamic_linker=no
15270 # This must be Linux ELF.
15271 linux* | k*bsd*-gnu | kopensolaris*-gnu)
15272 version_type=linux
15273 need_lib_prefix=no
15274 need_version=no
15275 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15276 soname_spec='${libname}${release}${shared_ext}$major'
15277 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15278 shlibpath_var=LD_LIBRARY_PATH
15279 shlibpath_overrides_runpath=no
15281 # Some binutils ld are patched to set DT_RUNPATH
15282 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
15283 $as_echo_n "(cached) " >&6
15284 else
15285 lt_cv_shlibpath_overrides_runpath=no
15286 save_LDFLAGS=$LDFLAGS
15287 save_libdir=$libdir
15288 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_FC\"; \
15289 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_FC\""
15290 if test x$gcc_no_link = xyes; then
15291 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15293 cat > conftest.$ac_ext <<_ACEOF
15294 program main
15297 _ACEOF
15298 if ac_fn_fc_try_link "$LINENO"; then :
15299 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
15300 lt_cv_shlibpath_overrides_runpath=yes
15303 rm -f core conftest.err conftest.$ac_objext \
15304 conftest$ac_exeext conftest.$ac_ext
15305 LDFLAGS=$save_LDFLAGS
15306 libdir=$save_libdir
15310 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
15312 # This implies no fast_install, which is unacceptable.
15313 # Some rework will be needed to allow for fast_install
15314 # before this can be enabled.
15315 hardcode_into_libs=yes
15317 # Append ld.so.conf contents to the search path
15318 if test -f /etc/ld.so.conf; then
15319 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' ' '`
15320 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15323 # We used to test for /lib/ld.so.1 and disable shared libraries on
15324 # powerpc, because MkLinux only supported shared libraries with the
15325 # GNU dynamic linker. Since this was broken with cross compilers,
15326 # most powerpc-linux boxes support dynamic linking these days and
15327 # people can always --disable-shared, the test was removed, and we
15328 # assume the GNU/Linux dynamic linker is in use.
15329 dynamic_linker='GNU/Linux ld.so'
15332 netbsd*)
15333 version_type=sunos
15334 need_lib_prefix=no
15335 need_version=no
15336 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15337 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15338 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15339 dynamic_linker='NetBSD (a.out) ld.so'
15340 else
15341 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15342 soname_spec='${libname}${release}${shared_ext}$major'
15343 dynamic_linker='NetBSD ld.elf_so'
15345 shlibpath_var=LD_LIBRARY_PATH
15346 shlibpath_overrides_runpath=yes
15347 hardcode_into_libs=yes
15350 newsos6)
15351 version_type=linux
15352 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15353 shlibpath_var=LD_LIBRARY_PATH
15354 shlibpath_overrides_runpath=yes
15357 *nto* | *qnx*)
15358 version_type=qnx
15359 need_lib_prefix=no
15360 need_version=no
15361 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15362 soname_spec='${libname}${release}${shared_ext}$major'
15363 shlibpath_var=LD_LIBRARY_PATH
15364 shlibpath_overrides_runpath=no
15365 hardcode_into_libs=yes
15366 dynamic_linker='ldqnx.so'
15369 openbsd*)
15370 version_type=sunos
15371 sys_lib_dlsearch_path_spec="/usr/lib"
15372 need_lib_prefix=no
15373 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15374 case $host_os in
15375 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
15376 *) need_version=no ;;
15377 esac
15378 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15379 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15380 shlibpath_var=LD_LIBRARY_PATH
15381 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15382 case $host_os in
15383 openbsd2.[89] | openbsd2.[89].*)
15384 shlibpath_overrides_runpath=no
15387 shlibpath_overrides_runpath=yes
15389 esac
15390 else
15391 shlibpath_overrides_runpath=yes
15395 os2*)
15396 libname_spec='$name'
15397 shrext_cmds=".dll"
15398 need_lib_prefix=no
15399 library_names_spec='$libname${shared_ext} $libname.a'
15400 dynamic_linker='OS/2 ld.exe'
15401 shlibpath_var=LIBPATH
15404 osf3* | osf4* | osf5*)
15405 version_type=osf
15406 need_lib_prefix=no
15407 need_version=no
15408 soname_spec='${libname}${release}${shared_ext}$major'
15409 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15410 shlibpath_var=LD_LIBRARY_PATH
15411 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15412 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15415 rdos*)
15416 dynamic_linker=no
15419 solaris*)
15420 version_type=linux
15421 need_lib_prefix=no
15422 need_version=no
15423 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15424 soname_spec='${libname}${release}${shared_ext}$major'
15425 shlibpath_var=LD_LIBRARY_PATH
15426 shlibpath_overrides_runpath=yes
15427 hardcode_into_libs=yes
15428 # ldd complains unless libraries are executable
15429 postinstall_cmds='chmod +x $lib'
15432 sunos4*)
15433 version_type=sunos
15434 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15435 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15436 shlibpath_var=LD_LIBRARY_PATH
15437 shlibpath_overrides_runpath=yes
15438 if test "$with_gnu_ld" = yes; then
15439 need_lib_prefix=no
15441 need_version=yes
15444 sysv4 | sysv4.3*)
15445 version_type=linux
15446 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15447 soname_spec='${libname}${release}${shared_ext}$major'
15448 shlibpath_var=LD_LIBRARY_PATH
15449 case $host_vendor in
15450 sni)
15451 shlibpath_overrides_runpath=no
15452 need_lib_prefix=no
15453 runpath_var=LD_RUN_PATH
15455 siemens)
15456 need_lib_prefix=no
15458 motorola)
15459 need_lib_prefix=no
15460 need_version=no
15461 shlibpath_overrides_runpath=no
15462 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15464 esac
15467 sysv4*MP*)
15468 if test -d /usr/nec ;then
15469 version_type=linux
15470 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15471 soname_spec='$libname${shared_ext}.$major'
15472 shlibpath_var=LD_LIBRARY_PATH
15476 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
15477 version_type=freebsd-elf
15478 need_lib_prefix=no
15479 need_version=no
15480 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15481 soname_spec='${libname}${release}${shared_ext}$major'
15482 shlibpath_var=LD_LIBRARY_PATH
15483 shlibpath_overrides_runpath=yes
15484 hardcode_into_libs=yes
15485 if test "$with_gnu_ld" = yes; then
15486 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15487 else
15488 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
15489 case $host_os in
15490 sco3.2v5*)
15491 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
15493 esac
15495 sys_lib_dlsearch_path_spec='/usr/lib'
15498 tpf*)
15499 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15500 version_type=linux
15501 need_lib_prefix=no
15502 need_version=no
15503 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15504 shlibpath_var=LD_LIBRARY_PATH
15505 shlibpath_overrides_runpath=no
15506 hardcode_into_libs=yes
15509 uts4*)
15510 version_type=linux
15511 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15512 soname_spec='${libname}${release}${shared_ext}$major'
15513 shlibpath_var=LD_LIBRARY_PATH
15517 dynamic_linker=no
15519 esac
15520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15521 $as_echo "$dynamic_linker" >&6; }
15522 test "$dynamic_linker" = no && can_build_shared=no
15524 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15525 if test "$GCC" = yes; then
15526 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15529 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15530 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
15532 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15533 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
15573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15574 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15575 hardcode_action_FC=
15576 if test -n "$hardcode_libdir_flag_spec_FC" ||
15577 test -n "$runpath_var_FC" ||
15578 test "X$hardcode_automatic_FC" = "Xyes" ; then
15580 # We can hardcode non-existent directories.
15581 if test "$hardcode_direct_FC" != no &&
15582 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15583 # have to relink, otherwise we might link with an installed library
15584 # when we should be linking with a yet-to-be-installed one
15585 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, FC)" != no &&
15586 test "$hardcode_minus_L_FC" != no; then
15587 # Linking always hardcodes the temporary library directory.
15588 hardcode_action_FC=relink
15589 else
15590 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15591 hardcode_action_FC=immediate
15593 else
15594 # We cannot hardcode anything, or else we can only hardcode existing
15595 # directories.
15596 hardcode_action_FC=unsupported
15598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_FC" >&5
15599 $as_echo "$hardcode_action_FC" >&6; }
15601 if test "$hardcode_action_FC" = relink ||
15602 test "$inherit_rpath_FC" = yes; then
15603 # Fast installation is not supported
15604 enable_fast_install=no
15605 elif test "$shlibpath_overrides_runpath" = yes ||
15606 test "$enable_shared" = no; then
15607 # Fast installation is not necessary
15608 enable_fast_install=needless
15617 fi # test -n "$compiler"
15619 GCC=$lt_save_GCC
15620 CC="$lt_save_CC"
15621 fi # test "$_lt_disable_FC" != yes
15623 ac_ext=c
15624 ac_cpp='$CPP $CPPFLAGS'
15625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15631 # extra LD Flags which are required for targets
15632 case "${host}" in
15633 *-darwin*)
15634 # Darwin needs -single_module when linking libgfortran
15635 extra_ldflags_libgfortran=-Wl,-single_module
15637 esac
15640 # We need a working compiler at that point, otherwise give a clear
15641 # error message and bail out.
15643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the GNU Fortran compiler is working" >&5
15644 $as_echo_n "checking whether the GNU Fortran compiler is working... " >&6; }
15645 ac_ext=${ac_fc_srcext-f}
15646 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
15647 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
15648 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
15650 cat > conftest.$ac_ext <<_ACEOF
15652 program foo
15653 real, parameter :: bar = sin (12.34 / 2.5)
15654 end program foo
15655 _ACEOF
15656 if ac_fn_fc_try_compile "$LINENO"; then :
15657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15658 $as_echo "yes" >&6; }
15659 else
15660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15661 $as_echo "no" >&6; }
15662 as_fn_error "GNU Fortran is not working; please report a bug in http://gcc.gnu.org/bugzilla, attaching $PWD/config.log" "$LINENO" 5
15665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15666 ac_ext=c
15667 ac_cpp='$CPP $CPPFLAGS'
15668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15674 # Check whether --enable-largefile was given.
15675 if test "${enable_largefile+set}" = set; then :
15676 enableval=$enable_largefile;
15679 if test "$enable_largefile" != no; then
15681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
15682 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
15683 if test "${ac_cv_sys_largefile_CC+set}" = set; then :
15684 $as_echo_n "(cached) " >&6
15685 else
15686 ac_cv_sys_largefile_CC=no
15687 if test "$GCC" != yes; then
15688 ac_save_CC=$CC
15689 while :; do
15690 # IRIX 6.2 and later do not support large files by default,
15691 # so use the C compiler's -n32 option if that helps.
15692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15693 /* end confdefs.h. */
15694 #include <sys/types.h>
15695 /* Check that off_t can represent 2**63 - 1 correctly.
15696 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15697 since some C++ compilers masquerading as C compilers
15698 incorrectly reject 9223372036854775807. */
15699 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15700 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15701 && LARGE_OFF_T % 2147483647 == 1)
15702 ? 1 : -1];
15704 main ()
15708 return 0;
15710 _ACEOF
15711 if ac_fn_c_try_compile "$LINENO"; then :
15712 break
15714 rm -f core conftest.err conftest.$ac_objext
15715 CC="$CC -n32"
15716 if ac_fn_c_try_compile "$LINENO"; then :
15717 ac_cv_sys_largefile_CC=' -n32'; break
15719 rm -f core conftest.err conftest.$ac_objext
15720 break
15721 done
15722 CC=$ac_save_CC
15723 rm -f conftest.$ac_ext
15726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
15727 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
15728 if test "$ac_cv_sys_largefile_CC" != no; then
15729 CC=$CC$ac_cv_sys_largefile_CC
15732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
15733 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
15734 if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
15735 $as_echo_n "(cached) " >&6
15736 else
15737 while :; do
15738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15739 /* end confdefs.h. */
15740 #include <sys/types.h>
15741 /* Check that off_t can represent 2**63 - 1 correctly.
15742 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15743 since some C++ compilers masquerading as C compilers
15744 incorrectly reject 9223372036854775807. */
15745 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15746 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15747 && LARGE_OFF_T % 2147483647 == 1)
15748 ? 1 : -1];
15750 main ()
15754 return 0;
15756 _ACEOF
15757 if ac_fn_c_try_compile "$LINENO"; then :
15758 ac_cv_sys_file_offset_bits=no; break
15760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15762 /* end confdefs.h. */
15763 #define _FILE_OFFSET_BITS 64
15764 #include <sys/types.h>
15765 /* Check that off_t can represent 2**63 - 1 correctly.
15766 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15767 since some C++ compilers masquerading as C compilers
15768 incorrectly reject 9223372036854775807. */
15769 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15770 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15771 && LARGE_OFF_T % 2147483647 == 1)
15772 ? 1 : -1];
15774 main ()
15778 return 0;
15780 _ACEOF
15781 if ac_fn_c_try_compile "$LINENO"; then :
15782 ac_cv_sys_file_offset_bits=64; break
15784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15785 ac_cv_sys_file_offset_bits=unknown
15786 break
15787 done
15789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
15790 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
15791 case $ac_cv_sys_file_offset_bits in #(
15792 no | unknown) ;;
15794 cat >>confdefs.h <<_ACEOF
15795 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
15796 _ACEOF
15798 esac
15799 rm -rf conftest*
15800 if test $ac_cv_sys_file_offset_bits = unknown; then
15801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
15802 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
15803 if test "${ac_cv_sys_large_files+set}" = set; then :
15804 $as_echo_n "(cached) " >&6
15805 else
15806 while :; do
15807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15808 /* end confdefs.h. */
15809 #include <sys/types.h>
15810 /* Check that off_t can represent 2**63 - 1 correctly.
15811 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15812 since some C++ compilers masquerading as C compilers
15813 incorrectly reject 9223372036854775807. */
15814 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15815 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15816 && LARGE_OFF_T % 2147483647 == 1)
15817 ? 1 : -1];
15819 main ()
15823 return 0;
15825 _ACEOF
15826 if ac_fn_c_try_compile "$LINENO"; then :
15827 ac_cv_sys_large_files=no; break
15829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15831 /* end confdefs.h. */
15832 #define _LARGE_FILES 1
15833 #include <sys/types.h>
15834 /* Check that off_t can represent 2**63 - 1 correctly.
15835 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15836 since some C++ compilers masquerading as C compilers
15837 incorrectly reject 9223372036854775807. */
15838 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15839 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15840 && LARGE_OFF_T % 2147483647 == 1)
15841 ? 1 : -1];
15843 main ()
15847 return 0;
15849 _ACEOF
15850 if ac_fn_c_try_compile "$LINENO"; then :
15851 ac_cv_sys_large_files=1; break
15853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15854 ac_cv_sys_large_files=unknown
15855 break
15856 done
15858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
15859 $as_echo "$ac_cv_sys_large_files" >&6; }
15860 case $ac_cv_sys_large_files in #(
15861 no | unknown) ;;
15863 cat >>confdefs.h <<_ACEOF
15864 #define _LARGE_FILES $ac_cv_sys_large_files
15865 _ACEOF
15867 esac
15868 rm -rf conftest*
15873 # Types
15874 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15875 if test "x$ac_cv_type_off_t" = x""yes; then :
15877 else
15879 cat >>confdefs.h <<_ACEOF
15880 #define off_t long int
15881 _ACEOF
15886 ac_fn_c_check_type "$LINENO" "intptr_t" "ac_cv_type_intptr_t" "$ac_includes_default"
15887 if test "x$ac_cv_type_intptr_t" = x""yes; then :
15889 $as_echo "#define HAVE_INTPTR_T 1" >>confdefs.h
15891 else
15892 for ac_type in 'int' 'long int' 'long long int'; do
15893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15894 /* end confdefs.h. */
15895 $ac_includes_default
15897 main ()
15899 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
15900 test_array [0] = 0
15903 return 0;
15905 _ACEOF
15906 if ac_fn_c_try_compile "$LINENO"; then :
15908 cat >>confdefs.h <<_ACEOF
15909 #define intptr_t $ac_type
15910 _ACEOF
15912 ac_type=
15914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15915 test -z "$ac_type" && break
15916 done
15921 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default"
15922 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
15924 $as_echo "#define HAVE_UINTPTR_T 1" >>confdefs.h
15926 else
15927 for ac_type in 'unsigned int' 'unsigned long int' \
15928 'unsigned long long int'; do
15929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15930 /* end confdefs.h. */
15931 $ac_includes_default
15933 main ()
15935 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
15936 test_array [0] = 0
15939 return 0;
15941 _ACEOF
15942 if ac_fn_c_try_compile "$LINENO"; then :
15944 cat >>confdefs.h <<_ACEOF
15945 #define uintptr_t $ac_type
15946 _ACEOF
15948 ac_type=
15950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15951 test -z "$ac_type" && break
15952 done
15956 ac_fn_c_check_type "$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
15957 if test "x$ac_cv_type_ptrdiff_t" = x""yes; then :
15959 cat >>confdefs.h <<_ACEOF
15960 #define HAVE_PTRDIFF_T 1
15961 _ACEOF
15967 # check header files (we assume C89 is available, so don't check for that)
15971 for ac_header in $ac_header_list
15972 do :
15973 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15974 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
15976 eval as_val=\$$as_ac_Header
15977 if test "x$as_val" = x""yes; then :
15978 cat >>confdefs.h <<_ACEOF
15979 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15980 _ACEOF
15984 done
16018 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
16020 acx_cv_header_stdint=stddef.h
16021 acx_cv_header_stdint_kind="(already complete)"
16022 for i in stdint.h $inttype_headers; do
16023 unset ac_cv_type_uintptr_t
16024 unset ac_cv_type_uintmax_t
16025 unset ac_cv_type_int_least32_t
16026 unset ac_cv_type_int_fast32_t
16027 unset ac_cv_type_uint64_t
16028 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
16029 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
16030 #include <$i>
16032 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
16033 acx_cv_header_stdint=$i
16034 else
16035 continue
16038 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
16039 #include <$i>
16041 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
16043 else
16044 acx_cv_header_stdint_kind="(mostly complete)"
16047 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
16048 #include <$i>
16050 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
16052 else
16053 acx_cv_header_stdint_kind="(mostly complete)"
16056 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
16057 #include <$i>
16059 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
16061 else
16062 acx_cv_header_stdint_kind="(mostly complete)"
16065 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
16066 #include <$i>
16068 if test "x$ac_cv_type_uint64_t" = x""yes; then :
16070 else
16071 acx_cv_header_stdint_kind="(lacks uint64_t)"
16074 break
16075 done
16076 if test "$acx_cv_header_stdint" = stddef.h; then
16077 acx_cv_header_stdint_kind="(lacks uintmax_t)"
16078 for i in stdint.h $inttype_headers; do
16079 unset ac_cv_type_uintptr_t
16080 unset ac_cv_type_uint32_t
16081 unset ac_cv_type_uint64_t
16082 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
16083 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
16084 #include <$i>
16086 if test "x$ac_cv_type_uint32_t" = x""yes; then :
16087 acx_cv_header_stdint=$i
16088 else
16089 continue
16092 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
16093 #include <$i>
16095 if test "x$ac_cv_type_uint64_t" = x""yes; then :
16099 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
16100 #include <$i>
16102 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
16106 break
16107 done
16109 if test "$acx_cv_header_stdint" = stddef.h; then
16110 acx_cv_header_stdint_kind="(u_intXX_t style)"
16111 for i in sys/types.h $inttype_headers; do
16112 unset ac_cv_type_u_int32_t
16113 unset ac_cv_type_u_int64_t
16114 $as_echo_n "looking for u_intXX_t types in $i, " >&6
16115 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
16116 #include <$i>
16118 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
16119 acx_cv_header_stdint=$i
16120 else
16121 continue
16124 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
16125 #include <$i>
16127 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
16131 break
16132 done
16134 if test "$acx_cv_header_stdint" = stddef.h; then
16135 acx_cv_header_stdint_kind="(using manual detection)"
16138 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
16139 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
16140 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
16141 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
16142 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
16144 # ----------------- Summarize what we found so far
16146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in gstdint.h" >&5
16147 $as_echo_n "checking what to include in gstdint.h... " >&6; }
16149 case `$as_basename -- gstdint.h ||
16150 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
16151 Xgstdint.h : 'X\(//\)$' \| \
16152 Xgstdint.h : 'X\(/\)' \| . 2>/dev/null ||
16153 $as_echo X/gstdint.h |
16154 sed '/^.*\/\([^/][^/]*\)\/*$/{
16155 s//\1/
16158 /^X\/\(\/\/\)$/{
16159 s//\1/
16162 /^X\/\(\/\).*/{
16163 s//\1/
16166 s/.*/./; q'` in
16167 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
16168 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16169 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
16170 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16171 *) ;;
16172 esac
16174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
16175 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
16177 # ----------------- done included file, check C basic types --------
16179 # Lacking an uintptr_t? Test size of void *
16180 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
16181 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
16182 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16183 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16184 # This bug is HP SR number 8606223364.
16185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
16186 $as_echo_n "checking size of void *... " >&6; }
16187 if test "${ac_cv_sizeof_void_p+set}" = set; then :
16188 $as_echo_n "(cached) " >&6
16189 else
16190 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
16192 else
16193 if test "$ac_cv_type_void_p" = yes; then
16194 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16195 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16196 { as_fn_set_status 77
16197 as_fn_error "cannot compute sizeof (void *)
16198 See \`config.log' for more details." "$LINENO" 5; }; }
16199 else
16200 ac_cv_sizeof_void_p=0
16205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
16206 $as_echo "$ac_cv_sizeof_void_p" >&6; }
16210 cat >>confdefs.h <<_ACEOF
16211 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16212 _ACEOF
16215 esac
16217 # Lacking an uint64_t? Test size of long
16218 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
16219 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
16220 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16221 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16222 # This bug is HP SR number 8606223364.
16223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
16224 $as_echo_n "checking size of long... " >&6; }
16225 if test "${ac_cv_sizeof_long+set}" = set; then :
16226 $as_echo_n "(cached) " >&6
16227 else
16228 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
16230 else
16231 if test "$ac_cv_type_long" = yes; then
16232 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16233 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16234 { as_fn_set_status 77
16235 as_fn_error "cannot compute sizeof (long)
16236 See \`config.log' for more details." "$LINENO" 5; }; }
16237 else
16238 ac_cv_sizeof_long=0
16243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
16244 $as_echo "$ac_cv_sizeof_long" >&6; }
16248 cat >>confdefs.h <<_ACEOF
16249 #define SIZEOF_LONG $ac_cv_sizeof_long
16250 _ACEOF
16253 esac
16255 if test $acx_cv_header_stdint = stddef.h; then
16256 # Lacking a good header? Test size of everything and deduce all types.
16257 # The cast to long int works around a bug in the HP C Compiler
16258 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16259 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16260 # This bug is HP SR number 8606223364.
16261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
16262 $as_echo_n "checking size of int... " >&6; }
16263 if test "${ac_cv_sizeof_int+set}" = set; then :
16264 $as_echo_n "(cached) " >&6
16265 else
16266 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
16268 else
16269 if test "$ac_cv_type_int" = yes; then
16270 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16271 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16272 { as_fn_set_status 77
16273 as_fn_error "cannot compute sizeof (int)
16274 See \`config.log' for more details." "$LINENO" 5; }; }
16275 else
16276 ac_cv_sizeof_int=0
16281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
16282 $as_echo "$ac_cv_sizeof_int" >&6; }
16286 cat >>confdefs.h <<_ACEOF
16287 #define SIZEOF_INT $ac_cv_sizeof_int
16288 _ACEOF
16291 # The cast to long int works around a bug in the HP C Compiler
16292 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16293 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16294 # This bug is HP SR number 8606223364.
16295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
16296 $as_echo_n "checking size of short... " >&6; }
16297 if test "${ac_cv_sizeof_short+set}" = set; then :
16298 $as_echo_n "(cached) " >&6
16299 else
16300 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
16302 else
16303 if test "$ac_cv_type_short" = yes; then
16304 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16305 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16306 { as_fn_set_status 77
16307 as_fn_error "cannot compute sizeof (short)
16308 See \`config.log' for more details." "$LINENO" 5; }; }
16309 else
16310 ac_cv_sizeof_short=0
16315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
16316 $as_echo "$ac_cv_sizeof_short" >&6; }
16320 cat >>confdefs.h <<_ACEOF
16321 #define SIZEOF_SHORT $ac_cv_sizeof_short
16322 _ACEOF
16325 # The cast to long int works around a bug in the HP C Compiler
16326 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16327 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16328 # This bug is HP SR number 8606223364.
16329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
16330 $as_echo_n "checking size of char... " >&6; }
16331 if test "${ac_cv_sizeof_char+set}" = set; then :
16332 $as_echo_n "(cached) " >&6
16333 else
16334 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
16336 else
16337 if test "$ac_cv_type_char" = yes; then
16338 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16339 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16340 { as_fn_set_status 77
16341 as_fn_error "cannot compute sizeof (char)
16342 See \`config.log' for more details." "$LINENO" 5; }; }
16343 else
16344 ac_cv_sizeof_char=0
16349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
16350 $as_echo "$ac_cv_sizeof_char" >&6; }
16354 cat >>confdefs.h <<_ACEOF
16355 #define SIZEOF_CHAR $ac_cv_sizeof_char
16356 _ACEOF
16360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
16361 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
16362 case "$ac_cv_sizeof_char" in
16363 1) acx_cv_type_int8_t=char ;;
16364 *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
16365 esac
16366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
16367 $as_echo "$acx_cv_type_int8_t" >&6; }
16369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
16370 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
16371 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
16372 2:*) acx_cv_type_int16_t=int ;;
16373 *:2) acx_cv_type_int16_t=short ;;
16374 *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
16375 esac
16376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
16377 $as_echo "$acx_cv_type_int16_t" >&6; }
16379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
16380 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
16381 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
16382 4:*) acx_cv_type_int32_t=int ;;
16383 *:4) acx_cv_type_int32_t=long ;;
16384 *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
16385 esac
16386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
16387 $as_echo "$acx_cv_type_int32_t" >&6; }
16390 # These tests are here to make the output prettier
16392 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
16393 case "$ac_cv_sizeof_long" in
16394 8) acx_cv_type_int64_t=long ;;
16395 esac
16396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
16397 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
16398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
16399 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
16402 # Now we can use the above types
16404 if test "$ac_cv_type_uintptr_t" != yes; then
16405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
16406 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
16407 case $ac_cv_sizeof_void_p in
16408 2) acx_cv_type_intptr_t=int16_t ;;
16409 4) acx_cv_type_intptr_t=int32_t ;;
16410 8) acx_cv_type_intptr_t=int64_t ;;
16411 *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
16412 esac
16413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
16414 $as_echo "$acx_cv_type_intptr_t" >&6; }
16417 # ----------------- done all checks, emit header -------------
16418 ac_config_commands="$ac_config_commands gstdint.h"
16423 ac_fn_c_check_member "$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
16424 if test "x$ac_cv_member_struct_stat_st_blksize" = x""yes; then :
16426 cat >>confdefs.h <<_ACEOF
16427 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
16428 _ACEOF
16432 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16433 if test "x$ac_cv_member_struct_stat_st_blocks" = x""yes; then :
16435 cat >>confdefs.h <<_ACEOF
16436 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16437 _ACEOF
16441 ac_fn_c_check_member "$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
16442 if test "x$ac_cv_member_struct_stat_st_rdev" = x""yes; then :
16444 cat >>confdefs.h <<_ACEOF
16445 #define HAVE_STRUCT_STAT_ST_RDEV 1
16446 _ACEOF
16452 # Check for library functions.
16453 if test "x${with_newlib}" = "xyes"; then
16454 # We are being configured with a cross compiler. AC_REPLACE_FUNCS
16455 # may not work correctly, because the compiler may not be able to
16456 # link executables.
16458 $as_echo "#define HAVE_MKSTEMP 1" >>confdefs.h
16461 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
16464 $as_echo "#define HAVE_SNPRINTF 1" >>confdefs.h
16467 $as_echo "#define HAVE_STRCASESTR 1" >>confdefs.h
16470 $as_echo "#define HAVE_VSNPRINTF 1" >>confdefs.h
16473 $as_echo "#define HAVE_LOCALTIME_R 1" >>confdefs.h
16476 $as_echo "#define HAVE_GMTIME_R 1" >>confdefs.h
16479 $as_echo "#define HAVE_STRNLEN 1" >>confdefs.h
16482 $as_echo "#define HAVE_STRNDUP 1" >>confdefs.h
16485 # At some point, we should differentiate between architectures
16486 # like x86, which have long double versions, and alpha/powerpc/etc.,
16487 # which don't. For the time being, punt.
16488 if test x"long_double_math_on_this_cpu" = x"yes"; then
16490 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
16493 else
16497 for ac_func in $ac_func_list
16498 do :
16499 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16500 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16501 eval as_val=\$$as_ac_var
16502 if test "x$as_val" = x""yes; then :
16503 cat >>confdefs.h <<_ACEOF
16504 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16505 _ACEOF
16508 done
16623 # Check strerror_r, cannot be above as versions with two and three arguments exist
16625 ac_save_CFLAGS="$CFLAGS"
16626 CFLAGS="-Wimplicit-function-declaration -Werror"
16627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16628 /* end confdefs.h. */
16629 #define _GNU_SOURCE 1
16630 #include <string.h>
16631 #include <locale.h>
16633 main ()
16635 char s[128]; strerror_r(5, s, 128);
16637 return 0;
16639 _ACEOF
16640 if ac_fn_c_try_compile "$LINENO"; then :
16642 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
16645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16646 CFLAGS="$ac_save_CFLAGS"
16648 ac_save_CFLAGS="$CFLAGS"
16649 CFLAGS="-Wimplicit-function-declaration -Werror"
16650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16651 /* end confdefs.h. */
16652 #define _GNU_SOURCE 1
16653 #include <string.h>
16654 #include <locale.h>
16656 main ()
16658 char s[128]; strerror_r(5, s);
16660 return 0;
16662 _ACEOF
16663 if ac_fn_c_try_compile "$LINENO"; then :
16665 $as_echo "#define HAVE_STRERROR_R_2ARGS 1" >>confdefs.h
16668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16669 CFLAGS="$ac_save_CFLAGS"
16672 # Check for C99 (and other IEEE) math functions
16673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16674 $as_echo_n "checking for sin in -lm... " >&6; }
16675 if test "${ac_cv_lib_m_sin+set}" = set; then :
16676 $as_echo_n "(cached) " >&6
16677 else
16678 ac_check_lib_save_LIBS=$LIBS
16679 LIBS="-lm $LIBS"
16680 if test x$gcc_no_link = xyes; then
16681 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16684 /* end confdefs.h. */
16686 /* Override any GCC internal prototype to avoid an error.
16687 Use char because int might match the return type of a GCC
16688 builtin and then its argument prototype would still apply. */
16689 #ifdef __cplusplus
16690 extern "C"
16691 #endif
16692 char sin ();
16694 main ()
16696 return sin ();
16698 return 0;
16700 _ACEOF
16701 if ac_fn_c_try_link "$LINENO"; then :
16702 ac_cv_lib_m_sin=yes
16703 else
16704 ac_cv_lib_m_sin=no
16706 rm -f core conftest.err conftest.$ac_objext \
16707 conftest$ac_exeext conftest.$ac_ext
16708 LIBS=$ac_check_lib_save_LIBS
16710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16711 $as_echo "$ac_cv_lib_m_sin" >&6; }
16712 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16713 cat >>confdefs.h <<_ACEOF
16714 #define HAVE_LIBM 1
16715 _ACEOF
16717 LIBS="-lm $LIBS"
16727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosf" >&5
16728 $as_echo_n "checking for acosf... " >&6; }
16729 if test "${gcc_cv_math_func_acosf+set}" = set; then :
16730 $as_echo_n "(cached) " >&6
16731 else
16732 if test x$gcc_no_link = xyes; then
16733 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16736 /* end confdefs.h. */
16738 #ifdef HAVE_COMPLEX_H
16739 #include <complex.h>
16740 #endif
16741 #ifdef HAVE_MATH_H
16742 #include <math.h>
16743 #endif
16745 int (*ptr)() = (int (*)())acosf;
16748 main ()
16750 return 0;
16753 _ACEOF
16754 if ac_fn_c_try_link "$LINENO"; then :
16755 gcc_cv_math_func_acosf=yes
16756 else
16757 gcc_cv_math_func_acosf=no
16759 rm -f core conftest.err conftest.$ac_objext \
16760 conftest$ac_exeext conftest.$ac_ext
16762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosf" >&5
16763 $as_echo "$gcc_cv_math_func_acosf" >&6; }
16764 if test $gcc_cv_math_func_acosf = yes; then
16766 cat >>confdefs.h <<_ACEOF
16767 #define HAVE_ACOSF 1
16768 _ACEOF
16775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acos" >&5
16776 $as_echo_n "checking for acos... " >&6; }
16777 if test "${gcc_cv_math_func_acos+set}" = set; then :
16778 $as_echo_n "(cached) " >&6
16779 else
16780 if test x$gcc_no_link = xyes; then
16781 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16784 /* end confdefs.h. */
16786 #ifdef HAVE_COMPLEX_H
16787 #include <complex.h>
16788 #endif
16789 #ifdef HAVE_MATH_H
16790 #include <math.h>
16791 #endif
16793 int (*ptr)() = (int (*)())acos;
16796 main ()
16798 return 0;
16801 _ACEOF
16802 if ac_fn_c_try_link "$LINENO"; then :
16803 gcc_cv_math_func_acos=yes
16804 else
16805 gcc_cv_math_func_acos=no
16807 rm -f core conftest.err conftest.$ac_objext \
16808 conftest$ac_exeext conftest.$ac_ext
16810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acos" >&5
16811 $as_echo "$gcc_cv_math_func_acos" >&6; }
16812 if test $gcc_cv_math_func_acos = yes; then
16814 cat >>confdefs.h <<_ACEOF
16815 #define HAVE_ACOS 1
16816 _ACEOF
16823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosl" >&5
16824 $as_echo_n "checking for acosl... " >&6; }
16825 if test "${gcc_cv_math_func_acosl+set}" = set; then :
16826 $as_echo_n "(cached) " >&6
16827 else
16828 if test x$gcc_no_link = xyes; then
16829 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16832 /* end confdefs.h. */
16834 #ifdef HAVE_COMPLEX_H
16835 #include <complex.h>
16836 #endif
16837 #ifdef HAVE_MATH_H
16838 #include <math.h>
16839 #endif
16841 int (*ptr)() = (int (*)())acosl;
16844 main ()
16846 return 0;
16849 _ACEOF
16850 if ac_fn_c_try_link "$LINENO"; then :
16851 gcc_cv_math_func_acosl=yes
16852 else
16853 gcc_cv_math_func_acosl=no
16855 rm -f core conftest.err conftest.$ac_objext \
16856 conftest$ac_exeext conftest.$ac_ext
16858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosl" >&5
16859 $as_echo "$gcc_cv_math_func_acosl" >&6; }
16860 if test $gcc_cv_math_func_acosl = yes; then
16862 cat >>confdefs.h <<_ACEOF
16863 #define HAVE_ACOSL 1
16864 _ACEOF
16871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshf" >&5
16872 $as_echo_n "checking for acoshf... " >&6; }
16873 if test "${gcc_cv_math_func_acoshf+set}" = set; then :
16874 $as_echo_n "(cached) " >&6
16875 else
16876 if test x$gcc_no_link = xyes; then
16877 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16880 /* end confdefs.h. */
16882 #ifdef HAVE_COMPLEX_H
16883 #include <complex.h>
16884 #endif
16885 #ifdef HAVE_MATH_H
16886 #include <math.h>
16887 #endif
16889 int (*ptr)() = (int (*)())acoshf;
16892 main ()
16894 return 0;
16897 _ACEOF
16898 if ac_fn_c_try_link "$LINENO"; then :
16899 gcc_cv_math_func_acoshf=yes
16900 else
16901 gcc_cv_math_func_acoshf=no
16903 rm -f core conftest.err conftest.$ac_objext \
16904 conftest$ac_exeext conftest.$ac_ext
16906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshf" >&5
16907 $as_echo "$gcc_cv_math_func_acoshf" >&6; }
16908 if test $gcc_cv_math_func_acoshf = yes; then
16910 cat >>confdefs.h <<_ACEOF
16911 #define HAVE_ACOSHF 1
16912 _ACEOF
16919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosh" >&5
16920 $as_echo_n "checking for acosh... " >&6; }
16921 if test "${gcc_cv_math_func_acosh+set}" = set; then :
16922 $as_echo_n "(cached) " >&6
16923 else
16924 if test x$gcc_no_link = xyes; then
16925 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16928 /* end confdefs.h. */
16930 #ifdef HAVE_COMPLEX_H
16931 #include <complex.h>
16932 #endif
16933 #ifdef HAVE_MATH_H
16934 #include <math.h>
16935 #endif
16937 int (*ptr)() = (int (*)())acosh;
16940 main ()
16942 return 0;
16945 _ACEOF
16946 if ac_fn_c_try_link "$LINENO"; then :
16947 gcc_cv_math_func_acosh=yes
16948 else
16949 gcc_cv_math_func_acosh=no
16951 rm -f core conftest.err conftest.$ac_objext \
16952 conftest$ac_exeext conftest.$ac_ext
16954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosh" >&5
16955 $as_echo "$gcc_cv_math_func_acosh" >&6; }
16956 if test $gcc_cv_math_func_acosh = yes; then
16958 cat >>confdefs.h <<_ACEOF
16959 #define HAVE_ACOSH 1
16960 _ACEOF
16967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshl" >&5
16968 $as_echo_n "checking for acoshl... " >&6; }
16969 if test "${gcc_cv_math_func_acoshl+set}" = set; then :
16970 $as_echo_n "(cached) " >&6
16971 else
16972 if test x$gcc_no_link = xyes; then
16973 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16976 /* end confdefs.h. */
16978 #ifdef HAVE_COMPLEX_H
16979 #include <complex.h>
16980 #endif
16981 #ifdef HAVE_MATH_H
16982 #include <math.h>
16983 #endif
16985 int (*ptr)() = (int (*)())acoshl;
16988 main ()
16990 return 0;
16993 _ACEOF
16994 if ac_fn_c_try_link "$LINENO"; then :
16995 gcc_cv_math_func_acoshl=yes
16996 else
16997 gcc_cv_math_func_acoshl=no
16999 rm -f core conftest.err conftest.$ac_objext \
17000 conftest$ac_exeext conftest.$ac_ext
17002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshl" >&5
17003 $as_echo "$gcc_cv_math_func_acoshl" >&6; }
17004 if test $gcc_cv_math_func_acoshl = yes; then
17006 cat >>confdefs.h <<_ACEOF
17007 #define HAVE_ACOSHL 1
17008 _ACEOF
17015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinf" >&5
17016 $as_echo_n "checking for asinf... " >&6; }
17017 if test "${gcc_cv_math_func_asinf+set}" = set; then :
17018 $as_echo_n "(cached) " >&6
17019 else
17020 if test x$gcc_no_link = xyes; then
17021 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17024 /* end confdefs.h. */
17026 #ifdef HAVE_COMPLEX_H
17027 #include <complex.h>
17028 #endif
17029 #ifdef HAVE_MATH_H
17030 #include <math.h>
17031 #endif
17033 int (*ptr)() = (int (*)())asinf;
17036 main ()
17038 return 0;
17041 _ACEOF
17042 if ac_fn_c_try_link "$LINENO"; then :
17043 gcc_cv_math_func_asinf=yes
17044 else
17045 gcc_cv_math_func_asinf=no
17047 rm -f core conftest.err conftest.$ac_objext \
17048 conftest$ac_exeext conftest.$ac_ext
17050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinf" >&5
17051 $as_echo "$gcc_cv_math_func_asinf" >&6; }
17052 if test $gcc_cv_math_func_asinf = yes; then
17054 cat >>confdefs.h <<_ACEOF
17055 #define HAVE_ASINF 1
17056 _ACEOF
17063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asin" >&5
17064 $as_echo_n "checking for asin... " >&6; }
17065 if test "${gcc_cv_math_func_asin+set}" = set; then :
17066 $as_echo_n "(cached) " >&6
17067 else
17068 if test x$gcc_no_link = xyes; then
17069 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17072 /* end confdefs.h. */
17074 #ifdef HAVE_COMPLEX_H
17075 #include <complex.h>
17076 #endif
17077 #ifdef HAVE_MATH_H
17078 #include <math.h>
17079 #endif
17081 int (*ptr)() = (int (*)())asin;
17084 main ()
17086 return 0;
17089 _ACEOF
17090 if ac_fn_c_try_link "$LINENO"; then :
17091 gcc_cv_math_func_asin=yes
17092 else
17093 gcc_cv_math_func_asin=no
17095 rm -f core conftest.err conftest.$ac_objext \
17096 conftest$ac_exeext conftest.$ac_ext
17098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asin" >&5
17099 $as_echo "$gcc_cv_math_func_asin" >&6; }
17100 if test $gcc_cv_math_func_asin = yes; then
17102 cat >>confdefs.h <<_ACEOF
17103 #define HAVE_ASIN 1
17104 _ACEOF
17111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinl" >&5
17112 $as_echo_n "checking for asinl... " >&6; }
17113 if test "${gcc_cv_math_func_asinl+set}" = set; then :
17114 $as_echo_n "(cached) " >&6
17115 else
17116 if test x$gcc_no_link = xyes; then
17117 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17120 /* end confdefs.h. */
17122 #ifdef HAVE_COMPLEX_H
17123 #include <complex.h>
17124 #endif
17125 #ifdef HAVE_MATH_H
17126 #include <math.h>
17127 #endif
17129 int (*ptr)() = (int (*)())asinl;
17132 main ()
17134 return 0;
17137 _ACEOF
17138 if ac_fn_c_try_link "$LINENO"; then :
17139 gcc_cv_math_func_asinl=yes
17140 else
17141 gcc_cv_math_func_asinl=no
17143 rm -f core conftest.err conftest.$ac_objext \
17144 conftest$ac_exeext conftest.$ac_ext
17146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinl" >&5
17147 $as_echo "$gcc_cv_math_func_asinl" >&6; }
17148 if test $gcc_cv_math_func_asinl = yes; then
17150 cat >>confdefs.h <<_ACEOF
17151 #define HAVE_ASINL 1
17152 _ACEOF
17159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhf" >&5
17160 $as_echo_n "checking for asinhf... " >&6; }
17161 if test "${gcc_cv_math_func_asinhf+set}" = set; then :
17162 $as_echo_n "(cached) " >&6
17163 else
17164 if test x$gcc_no_link = xyes; then
17165 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17168 /* end confdefs.h. */
17170 #ifdef HAVE_COMPLEX_H
17171 #include <complex.h>
17172 #endif
17173 #ifdef HAVE_MATH_H
17174 #include <math.h>
17175 #endif
17177 int (*ptr)() = (int (*)())asinhf;
17180 main ()
17182 return 0;
17185 _ACEOF
17186 if ac_fn_c_try_link "$LINENO"; then :
17187 gcc_cv_math_func_asinhf=yes
17188 else
17189 gcc_cv_math_func_asinhf=no
17191 rm -f core conftest.err conftest.$ac_objext \
17192 conftest$ac_exeext conftest.$ac_ext
17194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhf" >&5
17195 $as_echo "$gcc_cv_math_func_asinhf" >&6; }
17196 if test $gcc_cv_math_func_asinhf = yes; then
17198 cat >>confdefs.h <<_ACEOF
17199 #define HAVE_ASINHF 1
17200 _ACEOF
17207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinh" >&5
17208 $as_echo_n "checking for asinh... " >&6; }
17209 if test "${gcc_cv_math_func_asinh+set}" = set; then :
17210 $as_echo_n "(cached) " >&6
17211 else
17212 if test x$gcc_no_link = xyes; then
17213 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17216 /* end confdefs.h. */
17218 #ifdef HAVE_COMPLEX_H
17219 #include <complex.h>
17220 #endif
17221 #ifdef HAVE_MATH_H
17222 #include <math.h>
17223 #endif
17225 int (*ptr)() = (int (*)())asinh;
17228 main ()
17230 return 0;
17233 _ACEOF
17234 if ac_fn_c_try_link "$LINENO"; then :
17235 gcc_cv_math_func_asinh=yes
17236 else
17237 gcc_cv_math_func_asinh=no
17239 rm -f core conftest.err conftest.$ac_objext \
17240 conftest$ac_exeext conftest.$ac_ext
17242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinh" >&5
17243 $as_echo "$gcc_cv_math_func_asinh" >&6; }
17244 if test $gcc_cv_math_func_asinh = yes; then
17246 cat >>confdefs.h <<_ACEOF
17247 #define HAVE_ASINH 1
17248 _ACEOF
17255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhl" >&5
17256 $as_echo_n "checking for asinhl... " >&6; }
17257 if test "${gcc_cv_math_func_asinhl+set}" = set; then :
17258 $as_echo_n "(cached) " >&6
17259 else
17260 if test x$gcc_no_link = xyes; then
17261 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17264 /* end confdefs.h. */
17266 #ifdef HAVE_COMPLEX_H
17267 #include <complex.h>
17268 #endif
17269 #ifdef HAVE_MATH_H
17270 #include <math.h>
17271 #endif
17273 int (*ptr)() = (int (*)())asinhl;
17276 main ()
17278 return 0;
17281 _ACEOF
17282 if ac_fn_c_try_link "$LINENO"; then :
17283 gcc_cv_math_func_asinhl=yes
17284 else
17285 gcc_cv_math_func_asinhl=no
17287 rm -f core conftest.err conftest.$ac_objext \
17288 conftest$ac_exeext conftest.$ac_ext
17290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhl" >&5
17291 $as_echo "$gcc_cv_math_func_asinhl" >&6; }
17292 if test $gcc_cv_math_func_asinhl = yes; then
17294 cat >>confdefs.h <<_ACEOF
17295 #define HAVE_ASINHL 1
17296 _ACEOF
17303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f" >&5
17304 $as_echo_n "checking for atan2f... " >&6; }
17305 if test "${gcc_cv_math_func_atan2f+set}" = set; then :
17306 $as_echo_n "(cached) " >&6
17307 else
17308 if test x$gcc_no_link = xyes; then
17309 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17312 /* end confdefs.h. */
17314 #ifdef HAVE_COMPLEX_H
17315 #include <complex.h>
17316 #endif
17317 #ifdef HAVE_MATH_H
17318 #include <math.h>
17319 #endif
17321 int (*ptr)() = (int (*)())atan2f;
17324 main ()
17326 return 0;
17329 _ACEOF
17330 if ac_fn_c_try_link "$LINENO"; then :
17331 gcc_cv_math_func_atan2f=yes
17332 else
17333 gcc_cv_math_func_atan2f=no
17335 rm -f core conftest.err conftest.$ac_objext \
17336 conftest$ac_exeext conftest.$ac_ext
17338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2f" >&5
17339 $as_echo "$gcc_cv_math_func_atan2f" >&6; }
17340 if test $gcc_cv_math_func_atan2f = yes; then
17342 cat >>confdefs.h <<_ACEOF
17343 #define HAVE_ATAN2F 1
17344 _ACEOF
17351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2" >&5
17352 $as_echo_n "checking for atan2... " >&6; }
17353 if test "${gcc_cv_math_func_atan2+set}" = set; then :
17354 $as_echo_n "(cached) " >&6
17355 else
17356 if test x$gcc_no_link = xyes; then
17357 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17360 /* end confdefs.h. */
17362 #ifdef HAVE_COMPLEX_H
17363 #include <complex.h>
17364 #endif
17365 #ifdef HAVE_MATH_H
17366 #include <math.h>
17367 #endif
17369 int (*ptr)() = (int (*)())atan2;
17372 main ()
17374 return 0;
17377 _ACEOF
17378 if ac_fn_c_try_link "$LINENO"; then :
17379 gcc_cv_math_func_atan2=yes
17380 else
17381 gcc_cv_math_func_atan2=no
17383 rm -f core conftest.err conftest.$ac_objext \
17384 conftest$ac_exeext conftest.$ac_ext
17386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2" >&5
17387 $as_echo "$gcc_cv_math_func_atan2" >&6; }
17388 if test $gcc_cv_math_func_atan2 = yes; then
17390 cat >>confdefs.h <<_ACEOF
17391 #define HAVE_ATAN2 1
17392 _ACEOF
17399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l" >&5
17400 $as_echo_n "checking for atan2l... " >&6; }
17401 if test "${gcc_cv_math_func_atan2l+set}" = set; then :
17402 $as_echo_n "(cached) " >&6
17403 else
17404 if test x$gcc_no_link = xyes; then
17405 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17408 /* end confdefs.h. */
17410 #ifdef HAVE_COMPLEX_H
17411 #include <complex.h>
17412 #endif
17413 #ifdef HAVE_MATH_H
17414 #include <math.h>
17415 #endif
17417 int (*ptr)() = (int (*)())atan2l;
17420 main ()
17422 return 0;
17425 _ACEOF
17426 if ac_fn_c_try_link "$LINENO"; then :
17427 gcc_cv_math_func_atan2l=yes
17428 else
17429 gcc_cv_math_func_atan2l=no
17431 rm -f core conftest.err conftest.$ac_objext \
17432 conftest$ac_exeext conftest.$ac_ext
17434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2l" >&5
17435 $as_echo "$gcc_cv_math_func_atan2l" >&6; }
17436 if test $gcc_cv_math_func_atan2l = yes; then
17438 cat >>confdefs.h <<_ACEOF
17439 #define HAVE_ATAN2L 1
17440 _ACEOF
17447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanf" >&5
17448 $as_echo_n "checking for atanf... " >&6; }
17449 if test "${gcc_cv_math_func_atanf+set}" = set; then :
17450 $as_echo_n "(cached) " >&6
17451 else
17452 if test x$gcc_no_link = xyes; then
17453 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17456 /* end confdefs.h. */
17458 #ifdef HAVE_COMPLEX_H
17459 #include <complex.h>
17460 #endif
17461 #ifdef HAVE_MATH_H
17462 #include <math.h>
17463 #endif
17465 int (*ptr)() = (int (*)())atanf;
17468 main ()
17470 return 0;
17473 _ACEOF
17474 if ac_fn_c_try_link "$LINENO"; then :
17475 gcc_cv_math_func_atanf=yes
17476 else
17477 gcc_cv_math_func_atanf=no
17479 rm -f core conftest.err conftest.$ac_objext \
17480 conftest$ac_exeext conftest.$ac_ext
17482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanf" >&5
17483 $as_echo "$gcc_cv_math_func_atanf" >&6; }
17484 if test $gcc_cv_math_func_atanf = yes; then
17486 cat >>confdefs.h <<_ACEOF
17487 #define HAVE_ATANF 1
17488 _ACEOF
17495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan" >&5
17496 $as_echo_n "checking for atan... " >&6; }
17497 if test "${gcc_cv_math_func_atan+set}" = set; then :
17498 $as_echo_n "(cached) " >&6
17499 else
17500 if test x$gcc_no_link = xyes; then
17501 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17504 /* end confdefs.h. */
17506 #ifdef HAVE_COMPLEX_H
17507 #include <complex.h>
17508 #endif
17509 #ifdef HAVE_MATH_H
17510 #include <math.h>
17511 #endif
17513 int (*ptr)() = (int (*)())atan;
17516 main ()
17518 return 0;
17521 _ACEOF
17522 if ac_fn_c_try_link "$LINENO"; then :
17523 gcc_cv_math_func_atan=yes
17524 else
17525 gcc_cv_math_func_atan=no
17527 rm -f core conftest.err conftest.$ac_objext \
17528 conftest$ac_exeext conftest.$ac_ext
17530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan" >&5
17531 $as_echo "$gcc_cv_math_func_atan" >&6; }
17532 if test $gcc_cv_math_func_atan = yes; then
17534 cat >>confdefs.h <<_ACEOF
17535 #define HAVE_ATAN 1
17536 _ACEOF
17543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanl" >&5
17544 $as_echo_n "checking for atanl... " >&6; }
17545 if test "${gcc_cv_math_func_atanl+set}" = set; then :
17546 $as_echo_n "(cached) " >&6
17547 else
17548 if test x$gcc_no_link = xyes; then
17549 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17552 /* end confdefs.h. */
17554 #ifdef HAVE_COMPLEX_H
17555 #include <complex.h>
17556 #endif
17557 #ifdef HAVE_MATH_H
17558 #include <math.h>
17559 #endif
17561 int (*ptr)() = (int (*)())atanl;
17564 main ()
17566 return 0;
17569 _ACEOF
17570 if ac_fn_c_try_link "$LINENO"; then :
17571 gcc_cv_math_func_atanl=yes
17572 else
17573 gcc_cv_math_func_atanl=no
17575 rm -f core conftest.err conftest.$ac_objext \
17576 conftest$ac_exeext conftest.$ac_ext
17578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanl" >&5
17579 $as_echo "$gcc_cv_math_func_atanl" >&6; }
17580 if test $gcc_cv_math_func_atanl = yes; then
17582 cat >>confdefs.h <<_ACEOF
17583 #define HAVE_ATANL 1
17584 _ACEOF
17591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhf" >&5
17592 $as_echo_n "checking for atanhf... " >&6; }
17593 if test "${gcc_cv_math_func_atanhf+set}" = set; then :
17594 $as_echo_n "(cached) " >&6
17595 else
17596 if test x$gcc_no_link = xyes; then
17597 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17600 /* end confdefs.h. */
17602 #ifdef HAVE_COMPLEX_H
17603 #include <complex.h>
17604 #endif
17605 #ifdef HAVE_MATH_H
17606 #include <math.h>
17607 #endif
17609 int (*ptr)() = (int (*)())atanhf;
17612 main ()
17614 return 0;
17617 _ACEOF
17618 if ac_fn_c_try_link "$LINENO"; then :
17619 gcc_cv_math_func_atanhf=yes
17620 else
17621 gcc_cv_math_func_atanhf=no
17623 rm -f core conftest.err conftest.$ac_objext \
17624 conftest$ac_exeext conftest.$ac_ext
17626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhf" >&5
17627 $as_echo "$gcc_cv_math_func_atanhf" >&6; }
17628 if test $gcc_cv_math_func_atanhf = yes; then
17630 cat >>confdefs.h <<_ACEOF
17631 #define HAVE_ATANHF 1
17632 _ACEOF
17639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanh" >&5
17640 $as_echo_n "checking for atanh... " >&6; }
17641 if test "${gcc_cv_math_func_atanh+set}" = set; then :
17642 $as_echo_n "(cached) " >&6
17643 else
17644 if test x$gcc_no_link = xyes; then
17645 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17648 /* end confdefs.h. */
17650 #ifdef HAVE_COMPLEX_H
17651 #include <complex.h>
17652 #endif
17653 #ifdef HAVE_MATH_H
17654 #include <math.h>
17655 #endif
17657 int (*ptr)() = (int (*)())atanh;
17660 main ()
17662 return 0;
17665 _ACEOF
17666 if ac_fn_c_try_link "$LINENO"; then :
17667 gcc_cv_math_func_atanh=yes
17668 else
17669 gcc_cv_math_func_atanh=no
17671 rm -f core conftest.err conftest.$ac_objext \
17672 conftest$ac_exeext conftest.$ac_ext
17674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanh" >&5
17675 $as_echo "$gcc_cv_math_func_atanh" >&6; }
17676 if test $gcc_cv_math_func_atanh = yes; then
17678 cat >>confdefs.h <<_ACEOF
17679 #define HAVE_ATANH 1
17680 _ACEOF
17687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhl" >&5
17688 $as_echo_n "checking for atanhl... " >&6; }
17689 if test "${gcc_cv_math_func_atanhl+set}" = set; then :
17690 $as_echo_n "(cached) " >&6
17691 else
17692 if test x$gcc_no_link = xyes; then
17693 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17696 /* end confdefs.h. */
17698 #ifdef HAVE_COMPLEX_H
17699 #include <complex.h>
17700 #endif
17701 #ifdef HAVE_MATH_H
17702 #include <math.h>
17703 #endif
17705 int (*ptr)() = (int (*)())atanhl;
17708 main ()
17710 return 0;
17713 _ACEOF
17714 if ac_fn_c_try_link "$LINENO"; then :
17715 gcc_cv_math_func_atanhl=yes
17716 else
17717 gcc_cv_math_func_atanhl=no
17719 rm -f core conftest.err conftest.$ac_objext \
17720 conftest$ac_exeext conftest.$ac_ext
17722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhl" >&5
17723 $as_echo "$gcc_cv_math_func_atanhl" >&6; }
17724 if test $gcc_cv_math_func_atanhl = yes; then
17726 cat >>confdefs.h <<_ACEOF
17727 #define HAVE_ATANHL 1
17728 _ACEOF
17735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargf" >&5
17736 $as_echo_n "checking for cargf... " >&6; }
17737 if test "${gcc_cv_math_func_cargf+set}" = set; then :
17738 $as_echo_n "(cached) " >&6
17739 else
17740 if test x$gcc_no_link = xyes; then
17741 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17744 /* end confdefs.h. */
17746 #ifdef HAVE_COMPLEX_H
17747 #include <complex.h>
17748 #endif
17749 #ifdef HAVE_MATH_H
17750 #include <math.h>
17751 #endif
17753 int (*ptr)() = (int (*)())cargf;
17756 main ()
17758 return 0;
17761 _ACEOF
17762 if ac_fn_c_try_link "$LINENO"; then :
17763 gcc_cv_math_func_cargf=yes
17764 else
17765 gcc_cv_math_func_cargf=no
17767 rm -f core conftest.err conftest.$ac_objext \
17768 conftest$ac_exeext conftest.$ac_ext
17770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargf" >&5
17771 $as_echo "$gcc_cv_math_func_cargf" >&6; }
17772 if test $gcc_cv_math_func_cargf = yes; then
17774 cat >>confdefs.h <<_ACEOF
17775 #define HAVE_CARGF 1
17776 _ACEOF
17783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for carg" >&5
17784 $as_echo_n "checking for carg... " >&6; }
17785 if test "${gcc_cv_math_func_carg+set}" = set; then :
17786 $as_echo_n "(cached) " >&6
17787 else
17788 if test x$gcc_no_link = xyes; then
17789 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17792 /* end confdefs.h. */
17794 #ifdef HAVE_COMPLEX_H
17795 #include <complex.h>
17796 #endif
17797 #ifdef HAVE_MATH_H
17798 #include <math.h>
17799 #endif
17801 int (*ptr)() = (int (*)())carg;
17804 main ()
17806 return 0;
17809 _ACEOF
17810 if ac_fn_c_try_link "$LINENO"; then :
17811 gcc_cv_math_func_carg=yes
17812 else
17813 gcc_cv_math_func_carg=no
17815 rm -f core conftest.err conftest.$ac_objext \
17816 conftest$ac_exeext conftest.$ac_ext
17818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_carg" >&5
17819 $as_echo "$gcc_cv_math_func_carg" >&6; }
17820 if test $gcc_cv_math_func_carg = yes; then
17822 cat >>confdefs.h <<_ACEOF
17823 #define HAVE_CARG 1
17824 _ACEOF
17831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargl" >&5
17832 $as_echo_n "checking for cargl... " >&6; }
17833 if test "${gcc_cv_math_func_cargl+set}" = set; then :
17834 $as_echo_n "(cached) " >&6
17835 else
17836 if test x$gcc_no_link = xyes; then
17837 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17840 /* end confdefs.h. */
17842 #ifdef HAVE_COMPLEX_H
17843 #include <complex.h>
17844 #endif
17845 #ifdef HAVE_MATH_H
17846 #include <math.h>
17847 #endif
17849 int (*ptr)() = (int (*)())cargl;
17852 main ()
17854 return 0;
17857 _ACEOF
17858 if ac_fn_c_try_link "$LINENO"; then :
17859 gcc_cv_math_func_cargl=yes
17860 else
17861 gcc_cv_math_func_cargl=no
17863 rm -f core conftest.err conftest.$ac_objext \
17864 conftest$ac_exeext conftest.$ac_ext
17866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargl" >&5
17867 $as_echo "$gcc_cv_math_func_cargl" >&6; }
17868 if test $gcc_cv_math_func_cargl = yes; then
17870 cat >>confdefs.h <<_ACEOF
17871 #define HAVE_CARGL 1
17872 _ACEOF
17879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceilf" >&5
17880 $as_echo_n "checking for ceilf... " >&6; }
17881 if test "${gcc_cv_math_func_ceilf+set}" = set; then :
17882 $as_echo_n "(cached) " >&6
17883 else
17884 if test x$gcc_no_link = xyes; then
17885 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17888 /* end confdefs.h. */
17890 #ifdef HAVE_COMPLEX_H
17891 #include <complex.h>
17892 #endif
17893 #ifdef HAVE_MATH_H
17894 #include <math.h>
17895 #endif
17897 int (*ptr)() = (int (*)())ceilf;
17900 main ()
17902 return 0;
17905 _ACEOF
17906 if ac_fn_c_try_link "$LINENO"; then :
17907 gcc_cv_math_func_ceilf=yes
17908 else
17909 gcc_cv_math_func_ceilf=no
17911 rm -f core conftest.err conftest.$ac_objext \
17912 conftest$ac_exeext conftest.$ac_ext
17914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceilf" >&5
17915 $as_echo "$gcc_cv_math_func_ceilf" >&6; }
17916 if test $gcc_cv_math_func_ceilf = yes; then
17918 cat >>confdefs.h <<_ACEOF
17919 #define HAVE_CEILF 1
17920 _ACEOF
17927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceil" >&5
17928 $as_echo_n "checking for ceil... " >&6; }
17929 if test "${gcc_cv_math_func_ceil+set}" = set; then :
17930 $as_echo_n "(cached) " >&6
17931 else
17932 if test x$gcc_no_link = xyes; then
17933 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17936 /* end confdefs.h. */
17938 #ifdef HAVE_COMPLEX_H
17939 #include <complex.h>
17940 #endif
17941 #ifdef HAVE_MATH_H
17942 #include <math.h>
17943 #endif
17945 int (*ptr)() = (int (*)())ceil;
17948 main ()
17950 return 0;
17953 _ACEOF
17954 if ac_fn_c_try_link "$LINENO"; then :
17955 gcc_cv_math_func_ceil=yes
17956 else
17957 gcc_cv_math_func_ceil=no
17959 rm -f core conftest.err conftest.$ac_objext \
17960 conftest$ac_exeext conftest.$ac_ext
17962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceil" >&5
17963 $as_echo "$gcc_cv_math_func_ceil" >&6; }
17964 if test $gcc_cv_math_func_ceil = yes; then
17966 cat >>confdefs.h <<_ACEOF
17967 #define HAVE_CEIL 1
17968 _ACEOF
17975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceill" >&5
17976 $as_echo_n "checking for ceill... " >&6; }
17977 if test "${gcc_cv_math_func_ceill+set}" = set; then :
17978 $as_echo_n "(cached) " >&6
17979 else
17980 if test x$gcc_no_link = xyes; then
17981 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17984 /* end confdefs.h. */
17986 #ifdef HAVE_COMPLEX_H
17987 #include <complex.h>
17988 #endif
17989 #ifdef HAVE_MATH_H
17990 #include <math.h>
17991 #endif
17993 int (*ptr)() = (int (*)())ceill;
17996 main ()
17998 return 0;
18001 _ACEOF
18002 if ac_fn_c_try_link "$LINENO"; then :
18003 gcc_cv_math_func_ceill=yes
18004 else
18005 gcc_cv_math_func_ceill=no
18007 rm -f core conftest.err conftest.$ac_objext \
18008 conftest$ac_exeext conftest.$ac_ext
18010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceill" >&5
18011 $as_echo "$gcc_cv_math_func_ceill" >&6; }
18012 if test $gcc_cv_math_func_ceill = yes; then
18014 cat >>confdefs.h <<_ACEOF
18015 #define HAVE_CEILL 1
18016 _ACEOF
18023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignf" >&5
18024 $as_echo_n "checking for copysignf... " >&6; }
18025 if test "${gcc_cv_math_func_copysignf+set}" = set; then :
18026 $as_echo_n "(cached) " >&6
18027 else
18028 if test x$gcc_no_link = xyes; then
18029 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18032 /* end confdefs.h. */
18034 #ifdef HAVE_COMPLEX_H
18035 #include <complex.h>
18036 #endif
18037 #ifdef HAVE_MATH_H
18038 #include <math.h>
18039 #endif
18041 int (*ptr)() = (int (*)())copysignf;
18044 main ()
18046 return 0;
18049 _ACEOF
18050 if ac_fn_c_try_link "$LINENO"; then :
18051 gcc_cv_math_func_copysignf=yes
18052 else
18053 gcc_cv_math_func_copysignf=no
18055 rm -f core conftest.err conftest.$ac_objext \
18056 conftest$ac_exeext conftest.$ac_ext
18058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignf" >&5
18059 $as_echo "$gcc_cv_math_func_copysignf" >&6; }
18060 if test $gcc_cv_math_func_copysignf = yes; then
18062 cat >>confdefs.h <<_ACEOF
18063 #define HAVE_COPYSIGNF 1
18064 _ACEOF
18071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysign" >&5
18072 $as_echo_n "checking for copysign... " >&6; }
18073 if test "${gcc_cv_math_func_copysign+set}" = set; then :
18074 $as_echo_n "(cached) " >&6
18075 else
18076 if test x$gcc_no_link = xyes; then
18077 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18080 /* end confdefs.h. */
18082 #ifdef HAVE_COMPLEX_H
18083 #include <complex.h>
18084 #endif
18085 #ifdef HAVE_MATH_H
18086 #include <math.h>
18087 #endif
18089 int (*ptr)() = (int (*)())copysign;
18092 main ()
18094 return 0;
18097 _ACEOF
18098 if ac_fn_c_try_link "$LINENO"; then :
18099 gcc_cv_math_func_copysign=yes
18100 else
18101 gcc_cv_math_func_copysign=no
18103 rm -f core conftest.err conftest.$ac_objext \
18104 conftest$ac_exeext conftest.$ac_ext
18106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysign" >&5
18107 $as_echo "$gcc_cv_math_func_copysign" >&6; }
18108 if test $gcc_cv_math_func_copysign = yes; then
18110 cat >>confdefs.h <<_ACEOF
18111 #define HAVE_COPYSIGN 1
18112 _ACEOF
18119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignl" >&5
18120 $as_echo_n "checking for copysignl... " >&6; }
18121 if test "${gcc_cv_math_func_copysignl+set}" = set; then :
18122 $as_echo_n "(cached) " >&6
18123 else
18124 if test x$gcc_no_link = xyes; then
18125 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18128 /* end confdefs.h. */
18130 #ifdef HAVE_COMPLEX_H
18131 #include <complex.h>
18132 #endif
18133 #ifdef HAVE_MATH_H
18134 #include <math.h>
18135 #endif
18137 int (*ptr)() = (int (*)())copysignl;
18140 main ()
18142 return 0;
18145 _ACEOF
18146 if ac_fn_c_try_link "$LINENO"; then :
18147 gcc_cv_math_func_copysignl=yes
18148 else
18149 gcc_cv_math_func_copysignl=no
18151 rm -f core conftest.err conftest.$ac_objext \
18152 conftest$ac_exeext conftest.$ac_ext
18154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignl" >&5
18155 $as_echo "$gcc_cv_math_func_copysignl" >&6; }
18156 if test $gcc_cv_math_func_copysignl = yes; then
18158 cat >>confdefs.h <<_ACEOF
18159 #define HAVE_COPYSIGNL 1
18160 _ACEOF
18167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosf" >&5
18168 $as_echo_n "checking for cosf... " >&6; }
18169 if test "${gcc_cv_math_func_cosf+set}" = set; then :
18170 $as_echo_n "(cached) " >&6
18171 else
18172 if test x$gcc_no_link = xyes; then
18173 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18176 /* end confdefs.h. */
18178 #ifdef HAVE_COMPLEX_H
18179 #include <complex.h>
18180 #endif
18181 #ifdef HAVE_MATH_H
18182 #include <math.h>
18183 #endif
18185 int (*ptr)() = (int (*)())cosf;
18188 main ()
18190 return 0;
18193 _ACEOF
18194 if ac_fn_c_try_link "$LINENO"; then :
18195 gcc_cv_math_func_cosf=yes
18196 else
18197 gcc_cv_math_func_cosf=no
18199 rm -f core conftest.err conftest.$ac_objext \
18200 conftest$ac_exeext conftest.$ac_ext
18202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosf" >&5
18203 $as_echo "$gcc_cv_math_func_cosf" >&6; }
18204 if test $gcc_cv_math_func_cosf = yes; then
18206 cat >>confdefs.h <<_ACEOF
18207 #define HAVE_COSF 1
18208 _ACEOF
18215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos" >&5
18216 $as_echo_n "checking for cos... " >&6; }
18217 if test "${gcc_cv_math_func_cos+set}" = set; then :
18218 $as_echo_n "(cached) " >&6
18219 else
18220 if test x$gcc_no_link = xyes; then
18221 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18224 /* end confdefs.h. */
18226 #ifdef HAVE_COMPLEX_H
18227 #include <complex.h>
18228 #endif
18229 #ifdef HAVE_MATH_H
18230 #include <math.h>
18231 #endif
18233 int (*ptr)() = (int (*)())cos;
18236 main ()
18238 return 0;
18241 _ACEOF
18242 if ac_fn_c_try_link "$LINENO"; then :
18243 gcc_cv_math_func_cos=yes
18244 else
18245 gcc_cv_math_func_cos=no
18247 rm -f core conftest.err conftest.$ac_objext \
18248 conftest$ac_exeext conftest.$ac_ext
18250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cos" >&5
18251 $as_echo "$gcc_cv_math_func_cos" >&6; }
18252 if test $gcc_cv_math_func_cos = yes; then
18254 cat >>confdefs.h <<_ACEOF
18255 #define HAVE_COS 1
18256 _ACEOF
18263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosl" >&5
18264 $as_echo_n "checking for cosl... " >&6; }
18265 if test "${gcc_cv_math_func_cosl+set}" = set; then :
18266 $as_echo_n "(cached) " >&6
18267 else
18268 if test x$gcc_no_link = xyes; then
18269 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18272 /* end confdefs.h. */
18274 #ifdef HAVE_COMPLEX_H
18275 #include <complex.h>
18276 #endif
18277 #ifdef HAVE_MATH_H
18278 #include <math.h>
18279 #endif
18281 int (*ptr)() = (int (*)())cosl;
18284 main ()
18286 return 0;
18289 _ACEOF
18290 if ac_fn_c_try_link "$LINENO"; then :
18291 gcc_cv_math_func_cosl=yes
18292 else
18293 gcc_cv_math_func_cosl=no
18295 rm -f core conftest.err conftest.$ac_objext \
18296 conftest$ac_exeext conftest.$ac_ext
18298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosl" >&5
18299 $as_echo "$gcc_cv_math_func_cosl" >&6; }
18300 if test $gcc_cv_math_func_cosl = yes; then
18302 cat >>confdefs.h <<_ACEOF
18303 #define HAVE_COSL 1
18304 _ACEOF
18311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosf" >&5
18312 $as_echo_n "checking for ccosf... " >&6; }
18313 if test "${gcc_cv_math_func_ccosf+set}" = set; then :
18314 $as_echo_n "(cached) " >&6
18315 else
18316 if test x$gcc_no_link = xyes; then
18317 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18320 /* end confdefs.h. */
18322 #ifdef HAVE_COMPLEX_H
18323 #include <complex.h>
18324 #endif
18325 #ifdef HAVE_MATH_H
18326 #include <math.h>
18327 #endif
18329 int (*ptr)() = (int (*)())ccosf;
18332 main ()
18334 return 0;
18337 _ACEOF
18338 if ac_fn_c_try_link "$LINENO"; then :
18339 gcc_cv_math_func_ccosf=yes
18340 else
18341 gcc_cv_math_func_ccosf=no
18343 rm -f core conftest.err conftest.$ac_objext \
18344 conftest$ac_exeext conftest.$ac_ext
18346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosf" >&5
18347 $as_echo "$gcc_cv_math_func_ccosf" >&6; }
18348 if test $gcc_cv_math_func_ccosf = yes; then
18350 cat >>confdefs.h <<_ACEOF
18351 #define HAVE_CCOSF 1
18352 _ACEOF
18359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccos" >&5
18360 $as_echo_n "checking for ccos... " >&6; }
18361 if test "${gcc_cv_math_func_ccos+set}" = set; then :
18362 $as_echo_n "(cached) " >&6
18363 else
18364 if test x$gcc_no_link = xyes; then
18365 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18368 /* end confdefs.h. */
18370 #ifdef HAVE_COMPLEX_H
18371 #include <complex.h>
18372 #endif
18373 #ifdef HAVE_MATH_H
18374 #include <math.h>
18375 #endif
18377 int (*ptr)() = (int (*)())ccos;
18380 main ()
18382 return 0;
18385 _ACEOF
18386 if ac_fn_c_try_link "$LINENO"; then :
18387 gcc_cv_math_func_ccos=yes
18388 else
18389 gcc_cv_math_func_ccos=no
18391 rm -f core conftest.err conftest.$ac_objext \
18392 conftest$ac_exeext conftest.$ac_ext
18394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccos" >&5
18395 $as_echo "$gcc_cv_math_func_ccos" >&6; }
18396 if test $gcc_cv_math_func_ccos = yes; then
18398 cat >>confdefs.h <<_ACEOF
18399 #define HAVE_CCOS 1
18400 _ACEOF
18407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosl" >&5
18408 $as_echo_n "checking for ccosl... " >&6; }
18409 if test "${gcc_cv_math_func_ccosl+set}" = set; then :
18410 $as_echo_n "(cached) " >&6
18411 else
18412 if test x$gcc_no_link = xyes; then
18413 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18416 /* end confdefs.h. */
18418 #ifdef HAVE_COMPLEX_H
18419 #include <complex.h>
18420 #endif
18421 #ifdef HAVE_MATH_H
18422 #include <math.h>
18423 #endif
18425 int (*ptr)() = (int (*)())ccosl;
18428 main ()
18430 return 0;
18433 _ACEOF
18434 if ac_fn_c_try_link "$LINENO"; then :
18435 gcc_cv_math_func_ccosl=yes
18436 else
18437 gcc_cv_math_func_ccosl=no
18439 rm -f core conftest.err conftest.$ac_objext \
18440 conftest$ac_exeext conftest.$ac_ext
18442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosl" >&5
18443 $as_echo "$gcc_cv_math_func_ccosl" >&6; }
18444 if test $gcc_cv_math_func_ccosl = yes; then
18446 cat >>confdefs.h <<_ACEOF
18447 #define HAVE_CCOSL 1
18448 _ACEOF
18455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshf" >&5
18456 $as_echo_n "checking for coshf... " >&6; }
18457 if test "${gcc_cv_math_func_coshf+set}" = set; then :
18458 $as_echo_n "(cached) " >&6
18459 else
18460 if test x$gcc_no_link = xyes; then
18461 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18464 /* end confdefs.h. */
18466 #ifdef HAVE_COMPLEX_H
18467 #include <complex.h>
18468 #endif
18469 #ifdef HAVE_MATH_H
18470 #include <math.h>
18471 #endif
18473 int (*ptr)() = (int (*)())coshf;
18476 main ()
18478 return 0;
18481 _ACEOF
18482 if ac_fn_c_try_link "$LINENO"; then :
18483 gcc_cv_math_func_coshf=yes
18484 else
18485 gcc_cv_math_func_coshf=no
18487 rm -f core conftest.err conftest.$ac_objext \
18488 conftest$ac_exeext conftest.$ac_ext
18490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshf" >&5
18491 $as_echo "$gcc_cv_math_func_coshf" >&6; }
18492 if test $gcc_cv_math_func_coshf = yes; then
18494 cat >>confdefs.h <<_ACEOF
18495 #define HAVE_COSHF 1
18496 _ACEOF
18503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosh" >&5
18504 $as_echo_n "checking for cosh... " >&6; }
18505 if test "${gcc_cv_math_func_cosh+set}" = set; then :
18506 $as_echo_n "(cached) " >&6
18507 else
18508 if test x$gcc_no_link = xyes; then
18509 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18512 /* end confdefs.h. */
18514 #ifdef HAVE_COMPLEX_H
18515 #include <complex.h>
18516 #endif
18517 #ifdef HAVE_MATH_H
18518 #include <math.h>
18519 #endif
18521 int (*ptr)() = (int (*)())cosh;
18524 main ()
18526 return 0;
18529 _ACEOF
18530 if ac_fn_c_try_link "$LINENO"; then :
18531 gcc_cv_math_func_cosh=yes
18532 else
18533 gcc_cv_math_func_cosh=no
18535 rm -f core conftest.err conftest.$ac_objext \
18536 conftest$ac_exeext conftest.$ac_ext
18538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosh" >&5
18539 $as_echo "$gcc_cv_math_func_cosh" >&6; }
18540 if test $gcc_cv_math_func_cosh = yes; then
18542 cat >>confdefs.h <<_ACEOF
18543 #define HAVE_COSH 1
18544 _ACEOF
18551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshl" >&5
18552 $as_echo_n "checking for coshl... " >&6; }
18553 if test "${gcc_cv_math_func_coshl+set}" = set; then :
18554 $as_echo_n "(cached) " >&6
18555 else
18556 if test x$gcc_no_link = xyes; then
18557 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18560 /* end confdefs.h. */
18562 #ifdef HAVE_COMPLEX_H
18563 #include <complex.h>
18564 #endif
18565 #ifdef HAVE_MATH_H
18566 #include <math.h>
18567 #endif
18569 int (*ptr)() = (int (*)())coshl;
18572 main ()
18574 return 0;
18577 _ACEOF
18578 if ac_fn_c_try_link "$LINENO"; then :
18579 gcc_cv_math_func_coshl=yes
18580 else
18581 gcc_cv_math_func_coshl=no
18583 rm -f core conftest.err conftest.$ac_objext \
18584 conftest$ac_exeext conftest.$ac_ext
18586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshl" >&5
18587 $as_echo "$gcc_cv_math_func_coshl" >&6; }
18588 if test $gcc_cv_math_func_coshl = yes; then
18590 cat >>confdefs.h <<_ACEOF
18591 #define HAVE_COSHL 1
18592 _ACEOF
18599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshf" >&5
18600 $as_echo_n "checking for ccoshf... " >&6; }
18601 if test "${gcc_cv_math_func_ccoshf+set}" = set; then :
18602 $as_echo_n "(cached) " >&6
18603 else
18604 if test x$gcc_no_link = xyes; then
18605 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18608 /* end confdefs.h. */
18610 #ifdef HAVE_COMPLEX_H
18611 #include <complex.h>
18612 #endif
18613 #ifdef HAVE_MATH_H
18614 #include <math.h>
18615 #endif
18617 int (*ptr)() = (int (*)())ccoshf;
18620 main ()
18622 return 0;
18625 _ACEOF
18626 if ac_fn_c_try_link "$LINENO"; then :
18627 gcc_cv_math_func_ccoshf=yes
18628 else
18629 gcc_cv_math_func_ccoshf=no
18631 rm -f core conftest.err conftest.$ac_objext \
18632 conftest$ac_exeext conftest.$ac_ext
18634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshf" >&5
18635 $as_echo "$gcc_cv_math_func_ccoshf" >&6; }
18636 if test $gcc_cv_math_func_ccoshf = yes; then
18638 cat >>confdefs.h <<_ACEOF
18639 #define HAVE_CCOSHF 1
18640 _ACEOF
18647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosh" >&5
18648 $as_echo_n "checking for ccosh... " >&6; }
18649 if test "${gcc_cv_math_func_ccosh+set}" = set; then :
18650 $as_echo_n "(cached) " >&6
18651 else
18652 if test x$gcc_no_link = xyes; then
18653 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18656 /* end confdefs.h. */
18658 #ifdef HAVE_COMPLEX_H
18659 #include <complex.h>
18660 #endif
18661 #ifdef HAVE_MATH_H
18662 #include <math.h>
18663 #endif
18665 int (*ptr)() = (int (*)())ccosh;
18668 main ()
18670 return 0;
18673 _ACEOF
18674 if ac_fn_c_try_link "$LINENO"; then :
18675 gcc_cv_math_func_ccosh=yes
18676 else
18677 gcc_cv_math_func_ccosh=no
18679 rm -f core conftest.err conftest.$ac_objext \
18680 conftest$ac_exeext conftest.$ac_ext
18682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosh" >&5
18683 $as_echo "$gcc_cv_math_func_ccosh" >&6; }
18684 if test $gcc_cv_math_func_ccosh = yes; then
18686 cat >>confdefs.h <<_ACEOF
18687 #define HAVE_CCOSH 1
18688 _ACEOF
18695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshl" >&5
18696 $as_echo_n "checking for ccoshl... " >&6; }
18697 if test "${gcc_cv_math_func_ccoshl+set}" = set; then :
18698 $as_echo_n "(cached) " >&6
18699 else
18700 if test x$gcc_no_link = xyes; then
18701 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18704 /* end confdefs.h. */
18706 #ifdef HAVE_COMPLEX_H
18707 #include <complex.h>
18708 #endif
18709 #ifdef HAVE_MATH_H
18710 #include <math.h>
18711 #endif
18713 int (*ptr)() = (int (*)())ccoshl;
18716 main ()
18718 return 0;
18721 _ACEOF
18722 if ac_fn_c_try_link "$LINENO"; then :
18723 gcc_cv_math_func_ccoshl=yes
18724 else
18725 gcc_cv_math_func_ccoshl=no
18727 rm -f core conftest.err conftest.$ac_objext \
18728 conftest$ac_exeext conftest.$ac_ext
18730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshl" >&5
18731 $as_echo "$gcc_cv_math_func_ccoshl" >&6; }
18732 if test $gcc_cv_math_func_ccoshl = yes; then
18734 cat >>confdefs.h <<_ACEOF
18735 #define HAVE_CCOSHL 1
18736 _ACEOF
18743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf" >&5
18744 $as_echo_n "checking for expf... " >&6; }
18745 if test "${gcc_cv_math_func_expf+set}" = set; then :
18746 $as_echo_n "(cached) " >&6
18747 else
18748 if test x$gcc_no_link = xyes; then
18749 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18752 /* end confdefs.h. */
18754 #ifdef HAVE_COMPLEX_H
18755 #include <complex.h>
18756 #endif
18757 #ifdef HAVE_MATH_H
18758 #include <math.h>
18759 #endif
18761 int (*ptr)() = (int (*)())expf;
18764 main ()
18766 return 0;
18769 _ACEOF
18770 if ac_fn_c_try_link "$LINENO"; then :
18771 gcc_cv_math_func_expf=yes
18772 else
18773 gcc_cv_math_func_expf=no
18775 rm -f core conftest.err conftest.$ac_objext \
18776 conftest$ac_exeext conftest.$ac_ext
18778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expf" >&5
18779 $as_echo "$gcc_cv_math_func_expf" >&6; }
18780 if test $gcc_cv_math_func_expf = yes; then
18782 cat >>confdefs.h <<_ACEOF
18783 #define HAVE_EXPF 1
18784 _ACEOF
18791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exp" >&5
18792 $as_echo_n "checking for exp... " >&6; }
18793 if test "${gcc_cv_math_func_exp+set}" = set; then :
18794 $as_echo_n "(cached) " >&6
18795 else
18796 if test x$gcc_no_link = xyes; then
18797 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18800 /* end confdefs.h. */
18802 #ifdef HAVE_COMPLEX_H
18803 #include <complex.h>
18804 #endif
18805 #ifdef HAVE_MATH_H
18806 #include <math.h>
18807 #endif
18809 int (*ptr)() = (int (*)())exp;
18812 main ()
18814 return 0;
18817 _ACEOF
18818 if ac_fn_c_try_link "$LINENO"; then :
18819 gcc_cv_math_func_exp=yes
18820 else
18821 gcc_cv_math_func_exp=no
18823 rm -f core conftest.err conftest.$ac_objext \
18824 conftest$ac_exeext conftest.$ac_ext
18826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_exp" >&5
18827 $as_echo "$gcc_cv_math_func_exp" >&6; }
18828 if test $gcc_cv_math_func_exp = yes; then
18830 cat >>confdefs.h <<_ACEOF
18831 #define HAVE_EXP 1
18832 _ACEOF
18839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl" >&5
18840 $as_echo_n "checking for expl... " >&6; }
18841 if test "${gcc_cv_math_func_expl+set}" = set; then :
18842 $as_echo_n "(cached) " >&6
18843 else
18844 if test x$gcc_no_link = xyes; then
18845 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18848 /* end confdefs.h. */
18850 #ifdef HAVE_COMPLEX_H
18851 #include <complex.h>
18852 #endif
18853 #ifdef HAVE_MATH_H
18854 #include <math.h>
18855 #endif
18857 int (*ptr)() = (int (*)())expl;
18860 main ()
18862 return 0;
18865 _ACEOF
18866 if ac_fn_c_try_link "$LINENO"; then :
18867 gcc_cv_math_func_expl=yes
18868 else
18869 gcc_cv_math_func_expl=no
18871 rm -f core conftest.err conftest.$ac_objext \
18872 conftest$ac_exeext conftest.$ac_ext
18874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expl" >&5
18875 $as_echo "$gcc_cv_math_func_expl" >&6; }
18876 if test $gcc_cv_math_func_expl = yes; then
18878 cat >>confdefs.h <<_ACEOF
18879 #define HAVE_EXPL 1
18880 _ACEOF
18887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpf" >&5
18888 $as_echo_n "checking for cexpf... " >&6; }
18889 if test "${gcc_cv_math_func_cexpf+set}" = set; then :
18890 $as_echo_n "(cached) " >&6
18891 else
18892 if test x$gcc_no_link = xyes; then
18893 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18896 /* end confdefs.h. */
18898 #ifdef HAVE_COMPLEX_H
18899 #include <complex.h>
18900 #endif
18901 #ifdef HAVE_MATH_H
18902 #include <math.h>
18903 #endif
18905 int (*ptr)() = (int (*)())cexpf;
18908 main ()
18910 return 0;
18913 _ACEOF
18914 if ac_fn_c_try_link "$LINENO"; then :
18915 gcc_cv_math_func_cexpf=yes
18916 else
18917 gcc_cv_math_func_cexpf=no
18919 rm -f core conftest.err conftest.$ac_objext \
18920 conftest$ac_exeext conftest.$ac_ext
18922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpf" >&5
18923 $as_echo "$gcc_cv_math_func_cexpf" >&6; }
18924 if test $gcc_cv_math_func_cexpf = yes; then
18926 cat >>confdefs.h <<_ACEOF
18927 #define HAVE_CEXPF 1
18928 _ACEOF
18935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexp" >&5
18936 $as_echo_n "checking for cexp... " >&6; }
18937 if test "${gcc_cv_math_func_cexp+set}" = set; then :
18938 $as_echo_n "(cached) " >&6
18939 else
18940 if test x$gcc_no_link = xyes; then
18941 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18944 /* end confdefs.h. */
18946 #ifdef HAVE_COMPLEX_H
18947 #include <complex.h>
18948 #endif
18949 #ifdef HAVE_MATH_H
18950 #include <math.h>
18951 #endif
18953 int (*ptr)() = (int (*)())cexp;
18956 main ()
18958 return 0;
18961 _ACEOF
18962 if ac_fn_c_try_link "$LINENO"; then :
18963 gcc_cv_math_func_cexp=yes
18964 else
18965 gcc_cv_math_func_cexp=no
18967 rm -f core conftest.err conftest.$ac_objext \
18968 conftest$ac_exeext conftest.$ac_ext
18970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexp" >&5
18971 $as_echo "$gcc_cv_math_func_cexp" >&6; }
18972 if test $gcc_cv_math_func_cexp = yes; then
18974 cat >>confdefs.h <<_ACEOF
18975 #define HAVE_CEXP 1
18976 _ACEOF
18983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpl" >&5
18984 $as_echo_n "checking for cexpl... " >&6; }
18985 if test "${gcc_cv_math_func_cexpl+set}" = set; then :
18986 $as_echo_n "(cached) " >&6
18987 else
18988 if test x$gcc_no_link = xyes; then
18989 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18992 /* end confdefs.h. */
18994 #ifdef HAVE_COMPLEX_H
18995 #include <complex.h>
18996 #endif
18997 #ifdef HAVE_MATH_H
18998 #include <math.h>
18999 #endif
19001 int (*ptr)() = (int (*)())cexpl;
19004 main ()
19006 return 0;
19009 _ACEOF
19010 if ac_fn_c_try_link "$LINENO"; then :
19011 gcc_cv_math_func_cexpl=yes
19012 else
19013 gcc_cv_math_func_cexpl=no
19015 rm -f core conftest.err conftest.$ac_objext \
19016 conftest$ac_exeext conftest.$ac_ext
19018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpl" >&5
19019 $as_echo "$gcc_cv_math_func_cexpl" >&6; }
19020 if test $gcc_cv_math_func_cexpl = yes; then
19022 cat >>confdefs.h <<_ACEOF
19023 #define HAVE_CEXPL 1
19024 _ACEOF
19031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf" >&5
19032 $as_echo_n "checking for fabsf... " >&6; }
19033 if test "${gcc_cv_math_func_fabsf+set}" = set; then :
19034 $as_echo_n "(cached) " >&6
19035 else
19036 if test x$gcc_no_link = xyes; then
19037 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19040 /* end confdefs.h. */
19042 #ifdef HAVE_COMPLEX_H
19043 #include <complex.h>
19044 #endif
19045 #ifdef HAVE_MATH_H
19046 #include <math.h>
19047 #endif
19049 int (*ptr)() = (int (*)())fabsf;
19052 main ()
19054 return 0;
19057 _ACEOF
19058 if ac_fn_c_try_link "$LINENO"; then :
19059 gcc_cv_math_func_fabsf=yes
19060 else
19061 gcc_cv_math_func_fabsf=no
19063 rm -f core conftest.err conftest.$ac_objext \
19064 conftest$ac_exeext conftest.$ac_ext
19066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsf" >&5
19067 $as_echo "$gcc_cv_math_func_fabsf" >&6; }
19068 if test $gcc_cv_math_func_fabsf = yes; then
19070 cat >>confdefs.h <<_ACEOF
19071 #define HAVE_FABSF 1
19072 _ACEOF
19079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabs" >&5
19080 $as_echo_n "checking for fabs... " >&6; }
19081 if test "${gcc_cv_math_func_fabs+set}" = set; then :
19082 $as_echo_n "(cached) " >&6
19083 else
19084 if test x$gcc_no_link = xyes; then
19085 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19088 /* end confdefs.h. */
19090 #ifdef HAVE_COMPLEX_H
19091 #include <complex.h>
19092 #endif
19093 #ifdef HAVE_MATH_H
19094 #include <math.h>
19095 #endif
19097 int (*ptr)() = (int (*)())fabs;
19100 main ()
19102 return 0;
19105 _ACEOF
19106 if ac_fn_c_try_link "$LINENO"; then :
19107 gcc_cv_math_func_fabs=yes
19108 else
19109 gcc_cv_math_func_fabs=no
19111 rm -f core conftest.err conftest.$ac_objext \
19112 conftest$ac_exeext conftest.$ac_ext
19114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabs" >&5
19115 $as_echo "$gcc_cv_math_func_fabs" >&6; }
19116 if test $gcc_cv_math_func_fabs = yes; then
19118 cat >>confdefs.h <<_ACEOF
19119 #define HAVE_FABS 1
19120 _ACEOF
19127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl" >&5
19128 $as_echo_n "checking for fabsl... " >&6; }
19129 if test "${gcc_cv_math_func_fabsl+set}" = set; then :
19130 $as_echo_n "(cached) " >&6
19131 else
19132 if test x$gcc_no_link = xyes; then
19133 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19136 /* end confdefs.h. */
19138 #ifdef HAVE_COMPLEX_H
19139 #include <complex.h>
19140 #endif
19141 #ifdef HAVE_MATH_H
19142 #include <math.h>
19143 #endif
19145 int (*ptr)() = (int (*)())fabsl;
19148 main ()
19150 return 0;
19153 _ACEOF
19154 if ac_fn_c_try_link "$LINENO"; then :
19155 gcc_cv_math_func_fabsl=yes
19156 else
19157 gcc_cv_math_func_fabsl=no
19159 rm -f core conftest.err conftest.$ac_objext \
19160 conftest$ac_exeext conftest.$ac_ext
19162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsl" >&5
19163 $as_echo "$gcc_cv_math_func_fabsl" >&6; }
19164 if test $gcc_cv_math_func_fabsl = yes; then
19166 cat >>confdefs.h <<_ACEOF
19167 #define HAVE_FABSL 1
19168 _ACEOF
19175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsf" >&5
19176 $as_echo_n "checking for cabsf... " >&6; }
19177 if test "${gcc_cv_math_func_cabsf+set}" = set; then :
19178 $as_echo_n "(cached) " >&6
19179 else
19180 if test x$gcc_no_link = xyes; then
19181 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19184 /* end confdefs.h. */
19186 #ifdef HAVE_COMPLEX_H
19187 #include <complex.h>
19188 #endif
19189 #ifdef HAVE_MATH_H
19190 #include <math.h>
19191 #endif
19193 int (*ptr)() = (int (*)())cabsf;
19196 main ()
19198 return 0;
19201 _ACEOF
19202 if ac_fn_c_try_link "$LINENO"; then :
19203 gcc_cv_math_func_cabsf=yes
19204 else
19205 gcc_cv_math_func_cabsf=no
19207 rm -f core conftest.err conftest.$ac_objext \
19208 conftest$ac_exeext conftest.$ac_ext
19210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsf" >&5
19211 $as_echo "$gcc_cv_math_func_cabsf" >&6; }
19212 if test $gcc_cv_math_func_cabsf = yes; then
19214 cat >>confdefs.h <<_ACEOF
19215 #define HAVE_CABSF 1
19216 _ACEOF
19223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabs" >&5
19224 $as_echo_n "checking for cabs... " >&6; }
19225 if test "${gcc_cv_math_func_cabs+set}" = set; then :
19226 $as_echo_n "(cached) " >&6
19227 else
19228 if test x$gcc_no_link = xyes; then
19229 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19232 /* end confdefs.h. */
19234 #ifdef HAVE_COMPLEX_H
19235 #include <complex.h>
19236 #endif
19237 #ifdef HAVE_MATH_H
19238 #include <math.h>
19239 #endif
19241 int (*ptr)() = (int (*)())cabs;
19244 main ()
19246 return 0;
19249 _ACEOF
19250 if ac_fn_c_try_link "$LINENO"; then :
19251 gcc_cv_math_func_cabs=yes
19252 else
19253 gcc_cv_math_func_cabs=no
19255 rm -f core conftest.err conftest.$ac_objext \
19256 conftest$ac_exeext conftest.$ac_ext
19258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabs" >&5
19259 $as_echo "$gcc_cv_math_func_cabs" >&6; }
19260 if test $gcc_cv_math_func_cabs = yes; then
19262 cat >>confdefs.h <<_ACEOF
19263 #define HAVE_CABS 1
19264 _ACEOF
19271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsl" >&5
19272 $as_echo_n "checking for cabsl... " >&6; }
19273 if test "${gcc_cv_math_func_cabsl+set}" = set; then :
19274 $as_echo_n "(cached) " >&6
19275 else
19276 if test x$gcc_no_link = xyes; then
19277 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19280 /* end confdefs.h. */
19282 #ifdef HAVE_COMPLEX_H
19283 #include <complex.h>
19284 #endif
19285 #ifdef HAVE_MATH_H
19286 #include <math.h>
19287 #endif
19289 int (*ptr)() = (int (*)())cabsl;
19292 main ()
19294 return 0;
19297 _ACEOF
19298 if ac_fn_c_try_link "$LINENO"; then :
19299 gcc_cv_math_func_cabsl=yes
19300 else
19301 gcc_cv_math_func_cabsl=no
19303 rm -f core conftest.err conftest.$ac_objext \
19304 conftest$ac_exeext conftest.$ac_ext
19306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsl" >&5
19307 $as_echo "$gcc_cv_math_func_cabsl" >&6; }
19308 if test $gcc_cv_math_func_cabsl = yes; then
19310 cat >>confdefs.h <<_ACEOF
19311 #define HAVE_CABSL 1
19312 _ACEOF
19319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorf" >&5
19320 $as_echo_n "checking for floorf... " >&6; }
19321 if test "${gcc_cv_math_func_floorf+set}" = set; then :
19322 $as_echo_n "(cached) " >&6
19323 else
19324 if test x$gcc_no_link = xyes; then
19325 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19328 /* end confdefs.h. */
19330 #ifdef HAVE_COMPLEX_H
19331 #include <complex.h>
19332 #endif
19333 #ifdef HAVE_MATH_H
19334 #include <math.h>
19335 #endif
19337 int (*ptr)() = (int (*)())floorf;
19340 main ()
19342 return 0;
19345 _ACEOF
19346 if ac_fn_c_try_link "$LINENO"; then :
19347 gcc_cv_math_func_floorf=yes
19348 else
19349 gcc_cv_math_func_floorf=no
19351 rm -f core conftest.err conftest.$ac_objext \
19352 conftest$ac_exeext conftest.$ac_ext
19354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorf" >&5
19355 $as_echo "$gcc_cv_math_func_floorf" >&6; }
19356 if test $gcc_cv_math_func_floorf = yes; then
19358 cat >>confdefs.h <<_ACEOF
19359 #define HAVE_FLOORF 1
19360 _ACEOF
19367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floor" >&5
19368 $as_echo_n "checking for floor... " >&6; }
19369 if test "${gcc_cv_math_func_floor+set}" = set; then :
19370 $as_echo_n "(cached) " >&6
19371 else
19372 if test x$gcc_no_link = xyes; then
19373 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19376 /* end confdefs.h. */
19378 #ifdef HAVE_COMPLEX_H
19379 #include <complex.h>
19380 #endif
19381 #ifdef HAVE_MATH_H
19382 #include <math.h>
19383 #endif
19385 int (*ptr)() = (int (*)())floor;
19388 main ()
19390 return 0;
19393 _ACEOF
19394 if ac_fn_c_try_link "$LINENO"; then :
19395 gcc_cv_math_func_floor=yes
19396 else
19397 gcc_cv_math_func_floor=no
19399 rm -f core conftest.err conftest.$ac_objext \
19400 conftest$ac_exeext conftest.$ac_ext
19402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floor" >&5
19403 $as_echo "$gcc_cv_math_func_floor" >&6; }
19404 if test $gcc_cv_math_func_floor = yes; then
19406 cat >>confdefs.h <<_ACEOF
19407 #define HAVE_FLOOR 1
19408 _ACEOF
19415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorl" >&5
19416 $as_echo_n "checking for floorl... " >&6; }
19417 if test "${gcc_cv_math_func_floorl+set}" = set; then :
19418 $as_echo_n "(cached) " >&6
19419 else
19420 if test x$gcc_no_link = xyes; then
19421 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19424 /* end confdefs.h. */
19426 #ifdef HAVE_COMPLEX_H
19427 #include <complex.h>
19428 #endif
19429 #ifdef HAVE_MATH_H
19430 #include <math.h>
19431 #endif
19433 int (*ptr)() = (int (*)())floorl;
19436 main ()
19438 return 0;
19441 _ACEOF
19442 if ac_fn_c_try_link "$LINENO"; then :
19443 gcc_cv_math_func_floorl=yes
19444 else
19445 gcc_cv_math_func_floorl=no
19447 rm -f core conftest.err conftest.$ac_objext \
19448 conftest$ac_exeext conftest.$ac_ext
19450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorl" >&5
19451 $as_echo "$gcc_cv_math_func_floorl" >&6; }
19452 if test $gcc_cv_math_func_floorl = yes; then
19454 cat >>confdefs.h <<_ACEOF
19455 #define HAVE_FLOORL 1
19456 _ACEOF
19463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf" >&5
19464 $as_echo_n "checking for fmodf... " >&6; }
19465 if test "${gcc_cv_math_func_fmodf+set}" = set; then :
19466 $as_echo_n "(cached) " >&6
19467 else
19468 if test x$gcc_no_link = xyes; then
19469 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19472 /* end confdefs.h. */
19474 #ifdef HAVE_COMPLEX_H
19475 #include <complex.h>
19476 #endif
19477 #ifdef HAVE_MATH_H
19478 #include <math.h>
19479 #endif
19481 int (*ptr)() = (int (*)())fmodf;
19484 main ()
19486 return 0;
19489 _ACEOF
19490 if ac_fn_c_try_link "$LINENO"; then :
19491 gcc_cv_math_func_fmodf=yes
19492 else
19493 gcc_cv_math_func_fmodf=no
19495 rm -f core conftest.err conftest.$ac_objext \
19496 conftest$ac_exeext conftest.$ac_ext
19498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodf" >&5
19499 $as_echo "$gcc_cv_math_func_fmodf" >&6; }
19500 if test $gcc_cv_math_func_fmodf = yes; then
19502 cat >>confdefs.h <<_ACEOF
19503 #define HAVE_FMODF 1
19504 _ACEOF
19511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmod" >&5
19512 $as_echo_n "checking for fmod... " >&6; }
19513 if test "${gcc_cv_math_func_fmod+set}" = set; then :
19514 $as_echo_n "(cached) " >&6
19515 else
19516 if test x$gcc_no_link = xyes; then
19517 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19520 /* end confdefs.h. */
19522 #ifdef HAVE_COMPLEX_H
19523 #include <complex.h>
19524 #endif
19525 #ifdef HAVE_MATH_H
19526 #include <math.h>
19527 #endif
19529 int (*ptr)() = (int (*)())fmod;
19532 main ()
19534 return 0;
19537 _ACEOF
19538 if ac_fn_c_try_link "$LINENO"; then :
19539 gcc_cv_math_func_fmod=yes
19540 else
19541 gcc_cv_math_func_fmod=no
19543 rm -f core conftest.err conftest.$ac_objext \
19544 conftest$ac_exeext conftest.$ac_ext
19546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmod" >&5
19547 $as_echo "$gcc_cv_math_func_fmod" >&6; }
19548 if test $gcc_cv_math_func_fmod = yes; then
19550 cat >>confdefs.h <<_ACEOF
19551 #define HAVE_FMOD 1
19552 _ACEOF
19559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl" >&5
19560 $as_echo_n "checking for fmodl... " >&6; }
19561 if test "${gcc_cv_math_func_fmodl+set}" = set; then :
19562 $as_echo_n "(cached) " >&6
19563 else
19564 if test x$gcc_no_link = xyes; then
19565 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19568 /* end confdefs.h. */
19570 #ifdef HAVE_COMPLEX_H
19571 #include <complex.h>
19572 #endif
19573 #ifdef HAVE_MATH_H
19574 #include <math.h>
19575 #endif
19577 int (*ptr)() = (int (*)())fmodl;
19580 main ()
19582 return 0;
19585 _ACEOF
19586 if ac_fn_c_try_link "$LINENO"; then :
19587 gcc_cv_math_func_fmodl=yes
19588 else
19589 gcc_cv_math_func_fmodl=no
19591 rm -f core conftest.err conftest.$ac_objext \
19592 conftest$ac_exeext conftest.$ac_ext
19594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodl" >&5
19595 $as_echo "$gcc_cv_math_func_fmodl" >&6; }
19596 if test $gcc_cv_math_func_fmodl = yes; then
19598 cat >>confdefs.h <<_ACEOF
19599 #define HAVE_FMODL 1
19600 _ACEOF
19607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf" >&5
19608 $as_echo_n "checking for frexpf... " >&6; }
19609 if test "${gcc_cv_math_func_frexpf+set}" = set; then :
19610 $as_echo_n "(cached) " >&6
19611 else
19612 if test x$gcc_no_link = xyes; then
19613 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19616 /* end confdefs.h. */
19618 #ifdef HAVE_COMPLEX_H
19619 #include <complex.h>
19620 #endif
19621 #ifdef HAVE_MATH_H
19622 #include <math.h>
19623 #endif
19625 int (*ptr)() = (int (*)())frexpf;
19628 main ()
19630 return 0;
19633 _ACEOF
19634 if ac_fn_c_try_link "$LINENO"; then :
19635 gcc_cv_math_func_frexpf=yes
19636 else
19637 gcc_cv_math_func_frexpf=no
19639 rm -f core conftest.err conftest.$ac_objext \
19640 conftest$ac_exeext conftest.$ac_ext
19642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpf" >&5
19643 $as_echo "$gcc_cv_math_func_frexpf" >&6; }
19644 if test $gcc_cv_math_func_frexpf = yes; then
19646 cat >>confdefs.h <<_ACEOF
19647 #define HAVE_FREXPF 1
19648 _ACEOF
19655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexp" >&5
19656 $as_echo_n "checking for frexp... " >&6; }
19657 if test "${gcc_cv_math_func_frexp+set}" = set; then :
19658 $as_echo_n "(cached) " >&6
19659 else
19660 if test x$gcc_no_link = xyes; then
19661 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19664 /* end confdefs.h. */
19666 #ifdef HAVE_COMPLEX_H
19667 #include <complex.h>
19668 #endif
19669 #ifdef HAVE_MATH_H
19670 #include <math.h>
19671 #endif
19673 int (*ptr)() = (int (*)())frexp;
19676 main ()
19678 return 0;
19681 _ACEOF
19682 if ac_fn_c_try_link "$LINENO"; then :
19683 gcc_cv_math_func_frexp=yes
19684 else
19685 gcc_cv_math_func_frexp=no
19687 rm -f core conftest.err conftest.$ac_objext \
19688 conftest$ac_exeext conftest.$ac_ext
19690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexp" >&5
19691 $as_echo "$gcc_cv_math_func_frexp" >&6; }
19692 if test $gcc_cv_math_func_frexp = yes; then
19694 cat >>confdefs.h <<_ACEOF
19695 #define HAVE_FREXP 1
19696 _ACEOF
19703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl" >&5
19704 $as_echo_n "checking for frexpl... " >&6; }
19705 if test "${gcc_cv_math_func_frexpl+set}" = set; then :
19706 $as_echo_n "(cached) " >&6
19707 else
19708 if test x$gcc_no_link = xyes; then
19709 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19712 /* end confdefs.h. */
19714 #ifdef HAVE_COMPLEX_H
19715 #include <complex.h>
19716 #endif
19717 #ifdef HAVE_MATH_H
19718 #include <math.h>
19719 #endif
19721 int (*ptr)() = (int (*)())frexpl;
19724 main ()
19726 return 0;
19729 _ACEOF
19730 if ac_fn_c_try_link "$LINENO"; then :
19731 gcc_cv_math_func_frexpl=yes
19732 else
19733 gcc_cv_math_func_frexpl=no
19735 rm -f core conftest.err conftest.$ac_objext \
19736 conftest$ac_exeext conftest.$ac_ext
19738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpl" >&5
19739 $as_echo "$gcc_cv_math_func_frexpl" >&6; }
19740 if test $gcc_cv_math_func_frexpl = yes; then
19742 cat >>confdefs.h <<_ACEOF
19743 #define HAVE_FREXPL 1
19744 _ACEOF
19751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf" >&5
19752 $as_echo_n "checking for hypotf... " >&6; }
19753 if test "${gcc_cv_math_func_hypotf+set}" = set; then :
19754 $as_echo_n "(cached) " >&6
19755 else
19756 if test x$gcc_no_link = xyes; then
19757 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19760 /* end confdefs.h. */
19762 #ifdef HAVE_COMPLEX_H
19763 #include <complex.h>
19764 #endif
19765 #ifdef HAVE_MATH_H
19766 #include <math.h>
19767 #endif
19769 int (*ptr)() = (int (*)())hypotf;
19772 main ()
19774 return 0;
19777 _ACEOF
19778 if ac_fn_c_try_link "$LINENO"; then :
19779 gcc_cv_math_func_hypotf=yes
19780 else
19781 gcc_cv_math_func_hypotf=no
19783 rm -f core conftest.err conftest.$ac_objext \
19784 conftest$ac_exeext conftest.$ac_ext
19786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotf" >&5
19787 $as_echo "$gcc_cv_math_func_hypotf" >&6; }
19788 if test $gcc_cv_math_func_hypotf = yes; then
19790 cat >>confdefs.h <<_ACEOF
19791 #define HAVE_HYPOTF 1
19792 _ACEOF
19799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot" >&5
19800 $as_echo_n "checking for hypot... " >&6; }
19801 if test "${gcc_cv_math_func_hypot+set}" = set; then :
19802 $as_echo_n "(cached) " >&6
19803 else
19804 if test x$gcc_no_link = xyes; then
19805 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19808 /* end confdefs.h. */
19810 #ifdef HAVE_COMPLEX_H
19811 #include <complex.h>
19812 #endif
19813 #ifdef HAVE_MATH_H
19814 #include <math.h>
19815 #endif
19817 int (*ptr)() = (int (*)())hypot;
19820 main ()
19822 return 0;
19825 _ACEOF
19826 if ac_fn_c_try_link "$LINENO"; then :
19827 gcc_cv_math_func_hypot=yes
19828 else
19829 gcc_cv_math_func_hypot=no
19831 rm -f core conftest.err conftest.$ac_objext \
19832 conftest$ac_exeext conftest.$ac_ext
19834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypot" >&5
19835 $as_echo "$gcc_cv_math_func_hypot" >&6; }
19836 if test $gcc_cv_math_func_hypot = yes; then
19838 cat >>confdefs.h <<_ACEOF
19839 #define HAVE_HYPOT 1
19840 _ACEOF
19847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl" >&5
19848 $as_echo_n "checking for hypotl... " >&6; }
19849 if test "${gcc_cv_math_func_hypotl+set}" = set; then :
19850 $as_echo_n "(cached) " >&6
19851 else
19852 if test x$gcc_no_link = xyes; then
19853 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19856 /* end confdefs.h. */
19858 #ifdef HAVE_COMPLEX_H
19859 #include <complex.h>
19860 #endif
19861 #ifdef HAVE_MATH_H
19862 #include <math.h>
19863 #endif
19865 int (*ptr)() = (int (*)())hypotl;
19868 main ()
19870 return 0;
19873 _ACEOF
19874 if ac_fn_c_try_link "$LINENO"; then :
19875 gcc_cv_math_func_hypotl=yes
19876 else
19877 gcc_cv_math_func_hypotl=no
19879 rm -f core conftest.err conftest.$ac_objext \
19880 conftest$ac_exeext conftest.$ac_ext
19882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotl" >&5
19883 $as_echo "$gcc_cv_math_func_hypotl" >&6; }
19884 if test $gcc_cv_math_func_hypotl = yes; then
19886 cat >>confdefs.h <<_ACEOF
19887 #define HAVE_HYPOTL 1
19888 _ACEOF
19895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf" >&5
19896 $as_echo_n "checking for ldexpf... " >&6; }
19897 if test "${gcc_cv_math_func_ldexpf+set}" = set; then :
19898 $as_echo_n "(cached) " >&6
19899 else
19900 if test x$gcc_no_link = xyes; then
19901 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19904 /* end confdefs.h. */
19906 #ifdef HAVE_COMPLEX_H
19907 #include <complex.h>
19908 #endif
19909 #ifdef HAVE_MATH_H
19910 #include <math.h>
19911 #endif
19913 int (*ptr)() = (int (*)())ldexpf;
19916 main ()
19918 return 0;
19921 _ACEOF
19922 if ac_fn_c_try_link "$LINENO"; then :
19923 gcc_cv_math_func_ldexpf=yes
19924 else
19925 gcc_cv_math_func_ldexpf=no
19927 rm -f core conftest.err conftest.$ac_objext \
19928 conftest$ac_exeext conftest.$ac_ext
19930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpf" >&5
19931 $as_echo "$gcc_cv_math_func_ldexpf" >&6; }
19932 if test $gcc_cv_math_func_ldexpf = yes; then
19934 cat >>confdefs.h <<_ACEOF
19935 #define HAVE_LDEXPF 1
19936 _ACEOF
19943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexp" >&5
19944 $as_echo_n "checking for ldexp... " >&6; }
19945 if test "${gcc_cv_math_func_ldexp+set}" = set; then :
19946 $as_echo_n "(cached) " >&6
19947 else
19948 if test x$gcc_no_link = xyes; then
19949 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19952 /* end confdefs.h. */
19954 #ifdef HAVE_COMPLEX_H
19955 #include <complex.h>
19956 #endif
19957 #ifdef HAVE_MATH_H
19958 #include <math.h>
19959 #endif
19961 int (*ptr)() = (int (*)())ldexp;
19964 main ()
19966 return 0;
19969 _ACEOF
19970 if ac_fn_c_try_link "$LINENO"; then :
19971 gcc_cv_math_func_ldexp=yes
19972 else
19973 gcc_cv_math_func_ldexp=no
19975 rm -f core conftest.err conftest.$ac_objext \
19976 conftest$ac_exeext conftest.$ac_ext
19978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexp" >&5
19979 $as_echo "$gcc_cv_math_func_ldexp" >&6; }
19980 if test $gcc_cv_math_func_ldexp = yes; then
19982 cat >>confdefs.h <<_ACEOF
19983 #define HAVE_LDEXP 1
19984 _ACEOF
19991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl" >&5
19992 $as_echo_n "checking for ldexpl... " >&6; }
19993 if test "${gcc_cv_math_func_ldexpl+set}" = set; then :
19994 $as_echo_n "(cached) " >&6
19995 else
19996 if test x$gcc_no_link = xyes; then
19997 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20000 /* end confdefs.h. */
20002 #ifdef HAVE_COMPLEX_H
20003 #include <complex.h>
20004 #endif
20005 #ifdef HAVE_MATH_H
20006 #include <math.h>
20007 #endif
20009 int (*ptr)() = (int (*)())ldexpl;
20012 main ()
20014 return 0;
20017 _ACEOF
20018 if ac_fn_c_try_link "$LINENO"; then :
20019 gcc_cv_math_func_ldexpl=yes
20020 else
20021 gcc_cv_math_func_ldexpl=no
20023 rm -f core conftest.err conftest.$ac_objext \
20024 conftest$ac_exeext conftest.$ac_ext
20026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpl" >&5
20027 $as_echo "$gcc_cv_math_func_ldexpl" >&6; }
20028 if test $gcc_cv_math_func_ldexpl = yes; then
20030 cat >>confdefs.h <<_ACEOF
20031 #define HAVE_LDEXPL 1
20032 _ACEOF
20039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf" >&5
20040 $as_echo_n "checking for logf... " >&6; }
20041 if test "${gcc_cv_math_func_logf+set}" = set; then :
20042 $as_echo_n "(cached) " >&6
20043 else
20044 if test x$gcc_no_link = xyes; then
20045 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20048 /* end confdefs.h. */
20050 #ifdef HAVE_COMPLEX_H
20051 #include <complex.h>
20052 #endif
20053 #ifdef HAVE_MATH_H
20054 #include <math.h>
20055 #endif
20057 int (*ptr)() = (int (*)())logf;
20060 main ()
20062 return 0;
20065 _ACEOF
20066 if ac_fn_c_try_link "$LINENO"; then :
20067 gcc_cv_math_func_logf=yes
20068 else
20069 gcc_cv_math_func_logf=no
20071 rm -f core conftest.err conftest.$ac_objext \
20072 conftest$ac_exeext conftest.$ac_ext
20074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logf" >&5
20075 $as_echo "$gcc_cv_math_func_logf" >&6; }
20076 if test $gcc_cv_math_func_logf = yes; then
20078 cat >>confdefs.h <<_ACEOF
20079 #define HAVE_LOGF 1
20080 _ACEOF
20087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log" >&5
20088 $as_echo_n "checking for log... " >&6; }
20089 if test "${gcc_cv_math_func_log+set}" = set; then :
20090 $as_echo_n "(cached) " >&6
20091 else
20092 if test x$gcc_no_link = xyes; then
20093 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20096 /* end confdefs.h. */
20098 #ifdef HAVE_COMPLEX_H
20099 #include <complex.h>
20100 #endif
20101 #ifdef HAVE_MATH_H
20102 #include <math.h>
20103 #endif
20105 int (*ptr)() = (int (*)())log;
20108 main ()
20110 return 0;
20113 _ACEOF
20114 if ac_fn_c_try_link "$LINENO"; then :
20115 gcc_cv_math_func_log=yes
20116 else
20117 gcc_cv_math_func_log=no
20119 rm -f core conftest.err conftest.$ac_objext \
20120 conftest$ac_exeext conftest.$ac_ext
20122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log" >&5
20123 $as_echo "$gcc_cv_math_func_log" >&6; }
20124 if test $gcc_cv_math_func_log = yes; then
20126 cat >>confdefs.h <<_ACEOF
20127 #define HAVE_LOG 1
20128 _ACEOF
20135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl" >&5
20136 $as_echo_n "checking for logl... " >&6; }
20137 if test "${gcc_cv_math_func_logl+set}" = set; then :
20138 $as_echo_n "(cached) " >&6
20139 else
20140 if test x$gcc_no_link = xyes; then
20141 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20144 /* end confdefs.h. */
20146 #ifdef HAVE_COMPLEX_H
20147 #include <complex.h>
20148 #endif
20149 #ifdef HAVE_MATH_H
20150 #include <math.h>
20151 #endif
20153 int (*ptr)() = (int (*)())logl;
20156 main ()
20158 return 0;
20161 _ACEOF
20162 if ac_fn_c_try_link "$LINENO"; then :
20163 gcc_cv_math_func_logl=yes
20164 else
20165 gcc_cv_math_func_logl=no
20167 rm -f core conftest.err conftest.$ac_objext \
20168 conftest$ac_exeext conftest.$ac_ext
20170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logl" >&5
20171 $as_echo "$gcc_cv_math_func_logl" >&6; }
20172 if test $gcc_cv_math_func_logl = yes; then
20174 cat >>confdefs.h <<_ACEOF
20175 #define HAVE_LOGL 1
20176 _ACEOF
20183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogf" >&5
20184 $as_echo_n "checking for clogf... " >&6; }
20185 if test "${gcc_cv_math_func_clogf+set}" = set; then :
20186 $as_echo_n "(cached) " >&6
20187 else
20188 if test x$gcc_no_link = xyes; then
20189 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20192 /* end confdefs.h. */
20194 #ifdef HAVE_COMPLEX_H
20195 #include <complex.h>
20196 #endif
20197 #ifdef HAVE_MATH_H
20198 #include <math.h>
20199 #endif
20201 int (*ptr)() = (int (*)())clogf;
20204 main ()
20206 return 0;
20209 _ACEOF
20210 if ac_fn_c_try_link "$LINENO"; then :
20211 gcc_cv_math_func_clogf=yes
20212 else
20213 gcc_cv_math_func_clogf=no
20215 rm -f core conftest.err conftest.$ac_objext \
20216 conftest$ac_exeext conftest.$ac_ext
20218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogf" >&5
20219 $as_echo "$gcc_cv_math_func_clogf" >&6; }
20220 if test $gcc_cv_math_func_clogf = yes; then
20222 cat >>confdefs.h <<_ACEOF
20223 #define HAVE_CLOGF 1
20224 _ACEOF
20231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog" >&5
20232 $as_echo_n "checking for clog... " >&6; }
20233 if test "${gcc_cv_math_func_clog+set}" = set; then :
20234 $as_echo_n "(cached) " >&6
20235 else
20236 if test x$gcc_no_link = xyes; then
20237 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20240 /* end confdefs.h. */
20242 #ifdef HAVE_COMPLEX_H
20243 #include <complex.h>
20244 #endif
20245 #ifdef HAVE_MATH_H
20246 #include <math.h>
20247 #endif
20249 int (*ptr)() = (int (*)())clog;
20252 main ()
20254 return 0;
20257 _ACEOF
20258 if ac_fn_c_try_link "$LINENO"; then :
20259 gcc_cv_math_func_clog=yes
20260 else
20261 gcc_cv_math_func_clog=no
20263 rm -f core conftest.err conftest.$ac_objext \
20264 conftest$ac_exeext conftest.$ac_ext
20266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog" >&5
20267 $as_echo "$gcc_cv_math_func_clog" >&6; }
20268 if test $gcc_cv_math_func_clog = yes; then
20270 cat >>confdefs.h <<_ACEOF
20271 #define HAVE_CLOG 1
20272 _ACEOF
20279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogl" >&5
20280 $as_echo_n "checking for clogl... " >&6; }
20281 if test "${gcc_cv_math_func_clogl+set}" = set; then :
20282 $as_echo_n "(cached) " >&6
20283 else
20284 if test x$gcc_no_link = xyes; then
20285 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20288 /* end confdefs.h. */
20290 #ifdef HAVE_COMPLEX_H
20291 #include <complex.h>
20292 #endif
20293 #ifdef HAVE_MATH_H
20294 #include <math.h>
20295 #endif
20297 int (*ptr)() = (int (*)())clogl;
20300 main ()
20302 return 0;
20305 _ACEOF
20306 if ac_fn_c_try_link "$LINENO"; then :
20307 gcc_cv_math_func_clogl=yes
20308 else
20309 gcc_cv_math_func_clogl=no
20311 rm -f core conftest.err conftest.$ac_objext \
20312 conftest$ac_exeext conftest.$ac_ext
20314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogl" >&5
20315 $as_echo "$gcc_cv_math_func_clogl" >&6; }
20316 if test $gcc_cv_math_func_clogl = yes; then
20318 cat >>confdefs.h <<_ACEOF
20319 #define HAVE_CLOGL 1
20320 _ACEOF
20327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f" >&5
20328 $as_echo_n "checking for log10f... " >&6; }
20329 if test "${gcc_cv_math_func_log10f+set}" = set; then :
20330 $as_echo_n "(cached) " >&6
20331 else
20332 if test x$gcc_no_link = xyes; then
20333 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20336 /* end confdefs.h. */
20338 #ifdef HAVE_COMPLEX_H
20339 #include <complex.h>
20340 #endif
20341 #ifdef HAVE_MATH_H
20342 #include <math.h>
20343 #endif
20345 int (*ptr)() = (int (*)())log10f;
20348 main ()
20350 return 0;
20353 _ACEOF
20354 if ac_fn_c_try_link "$LINENO"; then :
20355 gcc_cv_math_func_log10f=yes
20356 else
20357 gcc_cv_math_func_log10f=no
20359 rm -f core conftest.err conftest.$ac_objext \
20360 conftest$ac_exeext conftest.$ac_ext
20362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10f" >&5
20363 $as_echo "$gcc_cv_math_func_log10f" >&6; }
20364 if test $gcc_cv_math_func_log10f = yes; then
20366 cat >>confdefs.h <<_ACEOF
20367 #define HAVE_LOG10F 1
20368 _ACEOF
20375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10" >&5
20376 $as_echo_n "checking for log10... " >&6; }
20377 if test "${gcc_cv_math_func_log10+set}" = set; then :
20378 $as_echo_n "(cached) " >&6
20379 else
20380 if test x$gcc_no_link = xyes; then
20381 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20384 /* end confdefs.h. */
20386 #ifdef HAVE_COMPLEX_H
20387 #include <complex.h>
20388 #endif
20389 #ifdef HAVE_MATH_H
20390 #include <math.h>
20391 #endif
20393 int (*ptr)() = (int (*)())log10;
20396 main ()
20398 return 0;
20401 _ACEOF
20402 if ac_fn_c_try_link "$LINENO"; then :
20403 gcc_cv_math_func_log10=yes
20404 else
20405 gcc_cv_math_func_log10=no
20407 rm -f core conftest.err conftest.$ac_objext \
20408 conftest$ac_exeext conftest.$ac_ext
20410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10" >&5
20411 $as_echo "$gcc_cv_math_func_log10" >&6; }
20412 if test $gcc_cv_math_func_log10 = yes; then
20414 cat >>confdefs.h <<_ACEOF
20415 #define HAVE_LOG10 1
20416 _ACEOF
20423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l" >&5
20424 $as_echo_n "checking for log10l... " >&6; }
20425 if test "${gcc_cv_math_func_log10l+set}" = set; then :
20426 $as_echo_n "(cached) " >&6
20427 else
20428 if test x$gcc_no_link = xyes; then
20429 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20432 /* end confdefs.h. */
20434 #ifdef HAVE_COMPLEX_H
20435 #include <complex.h>
20436 #endif
20437 #ifdef HAVE_MATH_H
20438 #include <math.h>
20439 #endif
20441 int (*ptr)() = (int (*)())log10l;
20444 main ()
20446 return 0;
20449 _ACEOF
20450 if ac_fn_c_try_link "$LINENO"; then :
20451 gcc_cv_math_func_log10l=yes
20452 else
20453 gcc_cv_math_func_log10l=no
20455 rm -f core conftest.err conftest.$ac_objext \
20456 conftest$ac_exeext conftest.$ac_ext
20458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10l" >&5
20459 $as_echo "$gcc_cv_math_func_log10l" >&6; }
20460 if test $gcc_cv_math_func_log10l = yes; then
20462 cat >>confdefs.h <<_ACEOF
20463 #define HAVE_LOG10L 1
20464 _ACEOF
20471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10f" >&5
20472 $as_echo_n "checking for clog10f... " >&6; }
20473 if test "${gcc_cv_math_func_clog10f+set}" = set; then :
20474 $as_echo_n "(cached) " >&6
20475 else
20476 if test x$gcc_no_link = xyes; then
20477 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20480 /* end confdefs.h. */
20482 #ifdef HAVE_COMPLEX_H
20483 #include <complex.h>
20484 #endif
20485 #ifdef HAVE_MATH_H
20486 #include <math.h>
20487 #endif
20489 int (*ptr)() = (int (*)())clog10f;
20492 main ()
20494 return 0;
20497 _ACEOF
20498 if ac_fn_c_try_link "$LINENO"; then :
20499 gcc_cv_math_func_clog10f=yes
20500 else
20501 gcc_cv_math_func_clog10f=no
20503 rm -f core conftest.err conftest.$ac_objext \
20504 conftest$ac_exeext conftest.$ac_ext
20506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10f" >&5
20507 $as_echo "$gcc_cv_math_func_clog10f" >&6; }
20508 if test $gcc_cv_math_func_clog10f = yes; then
20510 cat >>confdefs.h <<_ACEOF
20511 #define HAVE_CLOG10F 1
20512 _ACEOF
20519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10" >&5
20520 $as_echo_n "checking for clog10... " >&6; }
20521 if test "${gcc_cv_math_func_clog10+set}" = set; then :
20522 $as_echo_n "(cached) " >&6
20523 else
20524 if test x$gcc_no_link = xyes; then
20525 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20528 /* end confdefs.h. */
20530 #ifdef HAVE_COMPLEX_H
20531 #include <complex.h>
20532 #endif
20533 #ifdef HAVE_MATH_H
20534 #include <math.h>
20535 #endif
20537 int (*ptr)() = (int (*)())clog10;
20540 main ()
20542 return 0;
20545 _ACEOF
20546 if ac_fn_c_try_link "$LINENO"; then :
20547 gcc_cv_math_func_clog10=yes
20548 else
20549 gcc_cv_math_func_clog10=no
20551 rm -f core conftest.err conftest.$ac_objext \
20552 conftest$ac_exeext conftest.$ac_ext
20554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10" >&5
20555 $as_echo "$gcc_cv_math_func_clog10" >&6; }
20556 if test $gcc_cv_math_func_clog10 = yes; then
20558 cat >>confdefs.h <<_ACEOF
20559 #define HAVE_CLOG10 1
20560 _ACEOF
20567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10l" >&5
20568 $as_echo_n "checking for clog10l... " >&6; }
20569 if test "${gcc_cv_math_func_clog10l+set}" = set; then :
20570 $as_echo_n "(cached) " >&6
20571 else
20572 if test x$gcc_no_link = xyes; then
20573 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20576 /* end confdefs.h. */
20578 #ifdef HAVE_COMPLEX_H
20579 #include <complex.h>
20580 #endif
20581 #ifdef HAVE_MATH_H
20582 #include <math.h>
20583 #endif
20585 int (*ptr)() = (int (*)())clog10l;
20588 main ()
20590 return 0;
20593 _ACEOF
20594 if ac_fn_c_try_link "$LINENO"; then :
20595 gcc_cv_math_func_clog10l=yes
20596 else
20597 gcc_cv_math_func_clog10l=no
20599 rm -f core conftest.err conftest.$ac_objext \
20600 conftest$ac_exeext conftest.$ac_ext
20602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10l" >&5
20603 $as_echo "$gcc_cv_math_func_clog10l" >&6; }
20604 if test $gcc_cv_math_func_clog10l = yes; then
20606 cat >>confdefs.h <<_ACEOF
20607 #define HAVE_CLOG10L 1
20608 _ACEOF
20615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterf" >&5
20616 $as_echo_n "checking for nextafterf... " >&6; }
20617 if test "${gcc_cv_math_func_nextafterf+set}" = set; then :
20618 $as_echo_n "(cached) " >&6
20619 else
20620 if test x$gcc_no_link = xyes; then
20621 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20624 /* end confdefs.h. */
20626 #ifdef HAVE_COMPLEX_H
20627 #include <complex.h>
20628 #endif
20629 #ifdef HAVE_MATH_H
20630 #include <math.h>
20631 #endif
20633 int (*ptr)() = (int (*)())nextafterf;
20636 main ()
20638 return 0;
20641 _ACEOF
20642 if ac_fn_c_try_link "$LINENO"; then :
20643 gcc_cv_math_func_nextafterf=yes
20644 else
20645 gcc_cv_math_func_nextafterf=no
20647 rm -f core conftest.err conftest.$ac_objext \
20648 conftest$ac_exeext conftest.$ac_ext
20650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterf" >&5
20651 $as_echo "$gcc_cv_math_func_nextafterf" >&6; }
20652 if test $gcc_cv_math_func_nextafterf = yes; then
20654 cat >>confdefs.h <<_ACEOF
20655 #define HAVE_NEXTAFTERF 1
20656 _ACEOF
20663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafter" >&5
20664 $as_echo_n "checking for nextafter... " >&6; }
20665 if test "${gcc_cv_math_func_nextafter+set}" = set; then :
20666 $as_echo_n "(cached) " >&6
20667 else
20668 if test x$gcc_no_link = xyes; then
20669 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20672 /* end confdefs.h. */
20674 #ifdef HAVE_COMPLEX_H
20675 #include <complex.h>
20676 #endif
20677 #ifdef HAVE_MATH_H
20678 #include <math.h>
20679 #endif
20681 int (*ptr)() = (int (*)())nextafter;
20684 main ()
20686 return 0;
20689 _ACEOF
20690 if ac_fn_c_try_link "$LINENO"; then :
20691 gcc_cv_math_func_nextafter=yes
20692 else
20693 gcc_cv_math_func_nextafter=no
20695 rm -f core conftest.err conftest.$ac_objext \
20696 conftest$ac_exeext conftest.$ac_ext
20698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafter" >&5
20699 $as_echo "$gcc_cv_math_func_nextafter" >&6; }
20700 if test $gcc_cv_math_func_nextafter = yes; then
20702 cat >>confdefs.h <<_ACEOF
20703 #define HAVE_NEXTAFTER 1
20704 _ACEOF
20711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterl" >&5
20712 $as_echo_n "checking for nextafterl... " >&6; }
20713 if test "${gcc_cv_math_func_nextafterl+set}" = set; then :
20714 $as_echo_n "(cached) " >&6
20715 else
20716 if test x$gcc_no_link = xyes; then
20717 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20720 /* end confdefs.h. */
20722 #ifdef HAVE_COMPLEX_H
20723 #include <complex.h>
20724 #endif
20725 #ifdef HAVE_MATH_H
20726 #include <math.h>
20727 #endif
20729 int (*ptr)() = (int (*)())nextafterl;
20732 main ()
20734 return 0;
20737 _ACEOF
20738 if ac_fn_c_try_link "$LINENO"; then :
20739 gcc_cv_math_func_nextafterl=yes
20740 else
20741 gcc_cv_math_func_nextafterl=no
20743 rm -f core conftest.err conftest.$ac_objext \
20744 conftest$ac_exeext conftest.$ac_ext
20746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterl" >&5
20747 $as_echo "$gcc_cv_math_func_nextafterl" >&6; }
20748 if test $gcc_cv_math_func_nextafterl = yes; then
20750 cat >>confdefs.h <<_ACEOF
20751 #define HAVE_NEXTAFTERL 1
20752 _ACEOF
20759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf" >&5
20760 $as_echo_n "checking for powf... " >&6; }
20761 if test "${gcc_cv_math_func_powf+set}" = set; then :
20762 $as_echo_n "(cached) " >&6
20763 else
20764 if test x$gcc_no_link = xyes; then
20765 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20768 /* end confdefs.h. */
20770 #ifdef HAVE_COMPLEX_H
20771 #include <complex.h>
20772 #endif
20773 #ifdef HAVE_MATH_H
20774 #include <math.h>
20775 #endif
20777 int (*ptr)() = (int (*)())powf;
20780 main ()
20782 return 0;
20785 _ACEOF
20786 if ac_fn_c_try_link "$LINENO"; then :
20787 gcc_cv_math_func_powf=yes
20788 else
20789 gcc_cv_math_func_powf=no
20791 rm -f core conftest.err conftest.$ac_objext \
20792 conftest$ac_exeext conftest.$ac_ext
20794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_powf" >&5
20795 $as_echo "$gcc_cv_math_func_powf" >&6; }
20796 if test $gcc_cv_math_func_powf = yes; then
20798 cat >>confdefs.h <<_ACEOF
20799 #define HAVE_POWF 1
20800 _ACEOF
20807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow" >&5
20808 $as_echo_n "checking for pow... " >&6; }
20809 if test "${gcc_cv_math_func_pow+set}" = set; then :
20810 $as_echo_n "(cached) " >&6
20811 else
20812 if test x$gcc_no_link = xyes; then
20813 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20816 /* end confdefs.h. */
20818 #ifdef HAVE_COMPLEX_H
20819 #include <complex.h>
20820 #endif
20821 #ifdef HAVE_MATH_H
20822 #include <math.h>
20823 #endif
20825 int (*ptr)() = (int (*)())pow;
20828 main ()
20830 return 0;
20833 _ACEOF
20834 if ac_fn_c_try_link "$LINENO"; then :
20835 gcc_cv_math_func_pow=yes
20836 else
20837 gcc_cv_math_func_pow=no
20839 rm -f core conftest.err conftest.$ac_objext \
20840 conftest$ac_exeext conftest.$ac_ext
20842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_pow" >&5
20843 $as_echo "$gcc_cv_math_func_pow" >&6; }
20844 if test $gcc_cv_math_func_pow = yes; then
20846 cat >>confdefs.h <<_ACEOF
20847 #define HAVE_POW 1
20848 _ACEOF
20855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl" >&5
20856 $as_echo_n "checking for powl... " >&6; }
20857 if test "${gcc_cv_math_func_powl+set}" = set; then :
20858 $as_echo_n "(cached) " >&6
20859 else
20860 if test x$gcc_no_link = xyes; then
20861 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20864 /* end confdefs.h. */
20866 #ifdef HAVE_COMPLEX_H
20867 #include <complex.h>
20868 #endif
20869 #ifdef HAVE_MATH_H
20870 #include <math.h>
20871 #endif
20873 int (*ptr)() = (int (*)())powl;
20876 main ()
20878 return 0;
20881 _ACEOF
20882 if ac_fn_c_try_link "$LINENO"; then :
20883 gcc_cv_math_func_powl=yes
20884 else
20885 gcc_cv_math_func_powl=no
20887 rm -f core conftest.err conftest.$ac_objext \
20888 conftest$ac_exeext conftest.$ac_ext
20890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_powl" >&5
20891 $as_echo "$gcc_cv_math_func_powl" >&6; }
20892 if test $gcc_cv_math_func_powl = yes; then
20894 cat >>confdefs.h <<_ACEOF
20895 #define HAVE_POWL 1
20896 _ACEOF
20903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowf" >&5
20904 $as_echo_n "checking for cpowf... " >&6; }
20905 if test "${gcc_cv_math_func_cpowf+set}" = set; then :
20906 $as_echo_n "(cached) " >&6
20907 else
20908 if test x$gcc_no_link = xyes; then
20909 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20912 /* end confdefs.h. */
20914 #ifdef HAVE_COMPLEX_H
20915 #include <complex.h>
20916 #endif
20917 #ifdef HAVE_MATH_H
20918 #include <math.h>
20919 #endif
20921 int (*ptr)() = (int (*)())cpowf;
20924 main ()
20926 return 0;
20929 _ACEOF
20930 if ac_fn_c_try_link "$LINENO"; then :
20931 gcc_cv_math_func_cpowf=yes
20932 else
20933 gcc_cv_math_func_cpowf=no
20935 rm -f core conftest.err conftest.$ac_objext \
20936 conftest$ac_exeext conftest.$ac_ext
20938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowf" >&5
20939 $as_echo "$gcc_cv_math_func_cpowf" >&6; }
20940 if test $gcc_cv_math_func_cpowf = yes; then
20942 cat >>confdefs.h <<_ACEOF
20943 #define HAVE_CPOWF 1
20944 _ACEOF
20951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpow" >&5
20952 $as_echo_n "checking for cpow... " >&6; }
20953 if test "${gcc_cv_math_func_cpow+set}" = set; then :
20954 $as_echo_n "(cached) " >&6
20955 else
20956 if test x$gcc_no_link = xyes; then
20957 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20960 /* end confdefs.h. */
20962 #ifdef HAVE_COMPLEX_H
20963 #include <complex.h>
20964 #endif
20965 #ifdef HAVE_MATH_H
20966 #include <math.h>
20967 #endif
20969 int (*ptr)() = (int (*)())cpow;
20972 main ()
20974 return 0;
20977 _ACEOF
20978 if ac_fn_c_try_link "$LINENO"; then :
20979 gcc_cv_math_func_cpow=yes
20980 else
20981 gcc_cv_math_func_cpow=no
20983 rm -f core conftest.err conftest.$ac_objext \
20984 conftest$ac_exeext conftest.$ac_ext
20986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpow" >&5
20987 $as_echo "$gcc_cv_math_func_cpow" >&6; }
20988 if test $gcc_cv_math_func_cpow = yes; then
20990 cat >>confdefs.h <<_ACEOF
20991 #define HAVE_CPOW 1
20992 _ACEOF
20999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowl" >&5
21000 $as_echo_n "checking for cpowl... " >&6; }
21001 if test "${gcc_cv_math_func_cpowl+set}" = set; then :
21002 $as_echo_n "(cached) " >&6
21003 else
21004 if test x$gcc_no_link = xyes; then
21005 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21008 /* end confdefs.h. */
21010 #ifdef HAVE_COMPLEX_H
21011 #include <complex.h>
21012 #endif
21013 #ifdef HAVE_MATH_H
21014 #include <math.h>
21015 #endif
21017 int (*ptr)() = (int (*)())cpowl;
21020 main ()
21022 return 0;
21025 _ACEOF
21026 if ac_fn_c_try_link "$LINENO"; then :
21027 gcc_cv_math_func_cpowl=yes
21028 else
21029 gcc_cv_math_func_cpowl=no
21031 rm -f core conftest.err conftest.$ac_objext \
21032 conftest$ac_exeext conftest.$ac_ext
21034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowl" >&5
21035 $as_echo "$gcc_cv_math_func_cpowl" >&6; }
21036 if test $gcc_cv_math_func_cpowl = yes; then
21038 cat >>confdefs.h <<_ACEOF
21039 #define HAVE_CPOWL 1
21040 _ACEOF
21047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundf" >&5
21048 $as_echo_n "checking for roundf... " >&6; }
21049 if test "${gcc_cv_math_func_roundf+set}" = set; then :
21050 $as_echo_n "(cached) " >&6
21051 else
21052 if test x$gcc_no_link = xyes; then
21053 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21056 /* end confdefs.h. */
21058 #ifdef HAVE_COMPLEX_H
21059 #include <complex.h>
21060 #endif
21061 #ifdef HAVE_MATH_H
21062 #include <math.h>
21063 #endif
21065 int (*ptr)() = (int (*)())roundf;
21068 main ()
21070 return 0;
21073 _ACEOF
21074 if ac_fn_c_try_link "$LINENO"; then :
21075 gcc_cv_math_func_roundf=yes
21076 else
21077 gcc_cv_math_func_roundf=no
21079 rm -f core conftest.err conftest.$ac_objext \
21080 conftest$ac_exeext conftest.$ac_ext
21082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundf" >&5
21083 $as_echo "$gcc_cv_math_func_roundf" >&6; }
21084 if test $gcc_cv_math_func_roundf = yes; then
21086 cat >>confdefs.h <<_ACEOF
21087 #define HAVE_ROUNDF 1
21088 _ACEOF
21095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for round" >&5
21096 $as_echo_n "checking for round... " >&6; }
21097 if test "${gcc_cv_math_func_round+set}" = set; then :
21098 $as_echo_n "(cached) " >&6
21099 else
21100 if test x$gcc_no_link = xyes; then
21101 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21104 /* end confdefs.h. */
21106 #ifdef HAVE_COMPLEX_H
21107 #include <complex.h>
21108 #endif
21109 #ifdef HAVE_MATH_H
21110 #include <math.h>
21111 #endif
21113 int (*ptr)() = (int (*)())round;
21116 main ()
21118 return 0;
21121 _ACEOF
21122 if ac_fn_c_try_link "$LINENO"; then :
21123 gcc_cv_math_func_round=yes
21124 else
21125 gcc_cv_math_func_round=no
21127 rm -f core conftest.err conftest.$ac_objext \
21128 conftest$ac_exeext conftest.$ac_ext
21130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_round" >&5
21131 $as_echo "$gcc_cv_math_func_round" >&6; }
21132 if test $gcc_cv_math_func_round = yes; then
21134 cat >>confdefs.h <<_ACEOF
21135 #define HAVE_ROUND 1
21136 _ACEOF
21143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundl" >&5
21144 $as_echo_n "checking for roundl... " >&6; }
21145 if test "${gcc_cv_math_func_roundl+set}" = set; then :
21146 $as_echo_n "(cached) " >&6
21147 else
21148 if test x$gcc_no_link = xyes; then
21149 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21152 /* end confdefs.h. */
21154 #ifdef HAVE_COMPLEX_H
21155 #include <complex.h>
21156 #endif
21157 #ifdef HAVE_MATH_H
21158 #include <math.h>
21159 #endif
21161 int (*ptr)() = (int (*)())roundl;
21164 main ()
21166 return 0;
21169 _ACEOF
21170 if ac_fn_c_try_link "$LINENO"; then :
21171 gcc_cv_math_func_roundl=yes
21172 else
21173 gcc_cv_math_func_roundl=no
21175 rm -f core conftest.err conftest.$ac_objext \
21176 conftest$ac_exeext conftest.$ac_ext
21178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundl" >&5
21179 $as_echo "$gcc_cv_math_func_roundl" >&6; }
21180 if test $gcc_cv_math_func_roundl = yes; then
21182 cat >>confdefs.h <<_ACEOF
21183 #define HAVE_ROUNDL 1
21184 _ACEOF
21191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundf" >&5
21192 $as_echo_n "checking for lroundf... " >&6; }
21193 if test "${gcc_cv_math_func_lroundf+set}" = set; then :
21194 $as_echo_n "(cached) " >&6
21195 else
21196 if test x$gcc_no_link = xyes; then
21197 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21200 /* end confdefs.h. */
21202 #ifdef HAVE_COMPLEX_H
21203 #include <complex.h>
21204 #endif
21205 #ifdef HAVE_MATH_H
21206 #include <math.h>
21207 #endif
21209 int (*ptr)() = (int (*)())lroundf;
21212 main ()
21214 return 0;
21217 _ACEOF
21218 if ac_fn_c_try_link "$LINENO"; then :
21219 gcc_cv_math_func_lroundf=yes
21220 else
21221 gcc_cv_math_func_lroundf=no
21223 rm -f core conftest.err conftest.$ac_objext \
21224 conftest$ac_exeext conftest.$ac_ext
21226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundf" >&5
21227 $as_echo "$gcc_cv_math_func_lroundf" >&6; }
21228 if test $gcc_cv_math_func_lroundf = yes; then
21230 cat >>confdefs.h <<_ACEOF
21231 #define HAVE_LROUNDF 1
21232 _ACEOF
21239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lround" >&5
21240 $as_echo_n "checking for lround... " >&6; }
21241 if test "${gcc_cv_math_func_lround+set}" = set; then :
21242 $as_echo_n "(cached) " >&6
21243 else
21244 if test x$gcc_no_link = xyes; then
21245 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21248 /* end confdefs.h. */
21250 #ifdef HAVE_COMPLEX_H
21251 #include <complex.h>
21252 #endif
21253 #ifdef HAVE_MATH_H
21254 #include <math.h>
21255 #endif
21257 int (*ptr)() = (int (*)())lround;
21260 main ()
21262 return 0;
21265 _ACEOF
21266 if ac_fn_c_try_link "$LINENO"; then :
21267 gcc_cv_math_func_lround=yes
21268 else
21269 gcc_cv_math_func_lround=no
21271 rm -f core conftest.err conftest.$ac_objext \
21272 conftest$ac_exeext conftest.$ac_ext
21274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lround" >&5
21275 $as_echo "$gcc_cv_math_func_lround" >&6; }
21276 if test $gcc_cv_math_func_lround = yes; then
21278 cat >>confdefs.h <<_ACEOF
21279 #define HAVE_LROUND 1
21280 _ACEOF
21287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundl" >&5
21288 $as_echo_n "checking for lroundl... " >&6; }
21289 if test "${gcc_cv_math_func_lroundl+set}" = set; then :
21290 $as_echo_n "(cached) " >&6
21291 else
21292 if test x$gcc_no_link = xyes; then
21293 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21296 /* end confdefs.h. */
21298 #ifdef HAVE_COMPLEX_H
21299 #include <complex.h>
21300 #endif
21301 #ifdef HAVE_MATH_H
21302 #include <math.h>
21303 #endif
21305 int (*ptr)() = (int (*)())lroundl;
21308 main ()
21310 return 0;
21313 _ACEOF
21314 if ac_fn_c_try_link "$LINENO"; then :
21315 gcc_cv_math_func_lroundl=yes
21316 else
21317 gcc_cv_math_func_lroundl=no
21319 rm -f core conftest.err conftest.$ac_objext \
21320 conftest$ac_exeext conftest.$ac_ext
21322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundl" >&5
21323 $as_echo "$gcc_cv_math_func_lroundl" >&6; }
21324 if test $gcc_cv_math_func_lroundl = yes; then
21326 cat >>confdefs.h <<_ACEOF
21327 #define HAVE_LROUNDL 1
21328 _ACEOF
21335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundf" >&5
21336 $as_echo_n "checking for llroundf... " >&6; }
21337 if test "${gcc_cv_math_func_llroundf+set}" = set; then :
21338 $as_echo_n "(cached) " >&6
21339 else
21340 if test x$gcc_no_link = xyes; then
21341 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21344 /* end confdefs.h. */
21346 #ifdef HAVE_COMPLEX_H
21347 #include <complex.h>
21348 #endif
21349 #ifdef HAVE_MATH_H
21350 #include <math.h>
21351 #endif
21353 int (*ptr)() = (int (*)())llroundf;
21356 main ()
21358 return 0;
21361 _ACEOF
21362 if ac_fn_c_try_link "$LINENO"; then :
21363 gcc_cv_math_func_llroundf=yes
21364 else
21365 gcc_cv_math_func_llroundf=no
21367 rm -f core conftest.err conftest.$ac_objext \
21368 conftest$ac_exeext conftest.$ac_ext
21370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundf" >&5
21371 $as_echo "$gcc_cv_math_func_llroundf" >&6; }
21372 if test $gcc_cv_math_func_llroundf = yes; then
21374 cat >>confdefs.h <<_ACEOF
21375 #define HAVE_LLROUNDF 1
21376 _ACEOF
21383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llround" >&5
21384 $as_echo_n "checking for llround... " >&6; }
21385 if test "${gcc_cv_math_func_llround+set}" = set; then :
21386 $as_echo_n "(cached) " >&6
21387 else
21388 if test x$gcc_no_link = xyes; then
21389 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21392 /* end confdefs.h. */
21394 #ifdef HAVE_COMPLEX_H
21395 #include <complex.h>
21396 #endif
21397 #ifdef HAVE_MATH_H
21398 #include <math.h>
21399 #endif
21401 int (*ptr)() = (int (*)())llround;
21404 main ()
21406 return 0;
21409 _ACEOF
21410 if ac_fn_c_try_link "$LINENO"; then :
21411 gcc_cv_math_func_llround=yes
21412 else
21413 gcc_cv_math_func_llround=no
21415 rm -f core conftest.err conftest.$ac_objext \
21416 conftest$ac_exeext conftest.$ac_ext
21418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llround" >&5
21419 $as_echo "$gcc_cv_math_func_llround" >&6; }
21420 if test $gcc_cv_math_func_llround = yes; then
21422 cat >>confdefs.h <<_ACEOF
21423 #define HAVE_LLROUND 1
21424 _ACEOF
21431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundl" >&5
21432 $as_echo_n "checking for llroundl... " >&6; }
21433 if test "${gcc_cv_math_func_llroundl+set}" = set; then :
21434 $as_echo_n "(cached) " >&6
21435 else
21436 if test x$gcc_no_link = xyes; then
21437 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21440 /* end confdefs.h. */
21442 #ifdef HAVE_COMPLEX_H
21443 #include <complex.h>
21444 #endif
21445 #ifdef HAVE_MATH_H
21446 #include <math.h>
21447 #endif
21449 int (*ptr)() = (int (*)())llroundl;
21452 main ()
21454 return 0;
21457 _ACEOF
21458 if ac_fn_c_try_link "$LINENO"; then :
21459 gcc_cv_math_func_llroundl=yes
21460 else
21461 gcc_cv_math_func_llroundl=no
21463 rm -f core conftest.err conftest.$ac_objext \
21464 conftest$ac_exeext conftest.$ac_ext
21466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundl" >&5
21467 $as_echo "$gcc_cv_math_func_llroundl" >&6; }
21468 if test $gcc_cv_math_func_llroundl = yes; then
21470 cat >>confdefs.h <<_ACEOF
21471 #define HAVE_LLROUNDL 1
21472 _ACEOF
21479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnf" >&5
21480 $as_echo_n "checking for scalbnf... " >&6; }
21481 if test "${gcc_cv_math_func_scalbnf+set}" = set; then :
21482 $as_echo_n "(cached) " >&6
21483 else
21484 if test x$gcc_no_link = xyes; then
21485 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21488 /* end confdefs.h. */
21490 #ifdef HAVE_COMPLEX_H
21491 #include <complex.h>
21492 #endif
21493 #ifdef HAVE_MATH_H
21494 #include <math.h>
21495 #endif
21497 int (*ptr)() = (int (*)())scalbnf;
21500 main ()
21502 return 0;
21505 _ACEOF
21506 if ac_fn_c_try_link "$LINENO"; then :
21507 gcc_cv_math_func_scalbnf=yes
21508 else
21509 gcc_cv_math_func_scalbnf=no
21511 rm -f core conftest.err conftest.$ac_objext \
21512 conftest$ac_exeext conftest.$ac_ext
21514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnf" >&5
21515 $as_echo "$gcc_cv_math_func_scalbnf" >&6; }
21516 if test $gcc_cv_math_func_scalbnf = yes; then
21518 cat >>confdefs.h <<_ACEOF
21519 #define HAVE_SCALBNF 1
21520 _ACEOF
21527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbn" >&5
21528 $as_echo_n "checking for scalbn... " >&6; }
21529 if test "${gcc_cv_math_func_scalbn+set}" = set; then :
21530 $as_echo_n "(cached) " >&6
21531 else
21532 if test x$gcc_no_link = xyes; then
21533 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21536 /* end confdefs.h. */
21538 #ifdef HAVE_COMPLEX_H
21539 #include <complex.h>
21540 #endif
21541 #ifdef HAVE_MATH_H
21542 #include <math.h>
21543 #endif
21545 int (*ptr)() = (int (*)())scalbn;
21548 main ()
21550 return 0;
21553 _ACEOF
21554 if ac_fn_c_try_link "$LINENO"; then :
21555 gcc_cv_math_func_scalbn=yes
21556 else
21557 gcc_cv_math_func_scalbn=no
21559 rm -f core conftest.err conftest.$ac_objext \
21560 conftest$ac_exeext conftest.$ac_ext
21562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbn" >&5
21563 $as_echo "$gcc_cv_math_func_scalbn" >&6; }
21564 if test $gcc_cv_math_func_scalbn = yes; then
21566 cat >>confdefs.h <<_ACEOF
21567 #define HAVE_SCALBN 1
21568 _ACEOF
21575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnl" >&5
21576 $as_echo_n "checking for scalbnl... " >&6; }
21577 if test "${gcc_cv_math_func_scalbnl+set}" = set; then :
21578 $as_echo_n "(cached) " >&6
21579 else
21580 if test x$gcc_no_link = xyes; then
21581 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21584 /* end confdefs.h. */
21586 #ifdef HAVE_COMPLEX_H
21587 #include <complex.h>
21588 #endif
21589 #ifdef HAVE_MATH_H
21590 #include <math.h>
21591 #endif
21593 int (*ptr)() = (int (*)())scalbnl;
21596 main ()
21598 return 0;
21601 _ACEOF
21602 if ac_fn_c_try_link "$LINENO"; then :
21603 gcc_cv_math_func_scalbnl=yes
21604 else
21605 gcc_cv_math_func_scalbnl=no
21607 rm -f core conftest.err conftest.$ac_objext \
21608 conftest$ac_exeext conftest.$ac_ext
21610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnl" >&5
21611 $as_echo "$gcc_cv_math_func_scalbnl" >&6; }
21612 if test $gcc_cv_math_func_scalbnl = yes; then
21614 cat >>confdefs.h <<_ACEOF
21615 #define HAVE_SCALBNL 1
21616 _ACEOF
21623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinf" >&5
21624 $as_echo_n "checking for sinf... " >&6; }
21625 if test "${gcc_cv_math_func_sinf+set}" = set; then :
21626 $as_echo_n "(cached) " >&6
21627 else
21628 if test x$gcc_no_link = xyes; then
21629 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21632 /* end confdefs.h. */
21634 #ifdef HAVE_COMPLEX_H
21635 #include <complex.h>
21636 #endif
21637 #ifdef HAVE_MATH_H
21638 #include <math.h>
21639 #endif
21641 int (*ptr)() = (int (*)())sinf;
21644 main ()
21646 return 0;
21649 _ACEOF
21650 if ac_fn_c_try_link "$LINENO"; then :
21651 gcc_cv_math_func_sinf=yes
21652 else
21653 gcc_cv_math_func_sinf=no
21655 rm -f core conftest.err conftest.$ac_objext \
21656 conftest$ac_exeext conftest.$ac_ext
21658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinf" >&5
21659 $as_echo "$gcc_cv_math_func_sinf" >&6; }
21660 if test $gcc_cv_math_func_sinf = yes; then
21662 cat >>confdefs.h <<_ACEOF
21663 #define HAVE_SINF 1
21664 _ACEOF
21671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin" >&5
21672 $as_echo_n "checking for sin... " >&6; }
21673 if test "${gcc_cv_math_func_sin+set}" = set; then :
21674 $as_echo_n "(cached) " >&6
21675 else
21676 if test x$gcc_no_link = xyes; then
21677 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21680 /* end confdefs.h. */
21682 #ifdef HAVE_COMPLEX_H
21683 #include <complex.h>
21684 #endif
21685 #ifdef HAVE_MATH_H
21686 #include <math.h>
21687 #endif
21689 int (*ptr)() = (int (*)())sin;
21692 main ()
21694 return 0;
21697 _ACEOF
21698 if ac_fn_c_try_link "$LINENO"; then :
21699 gcc_cv_math_func_sin=yes
21700 else
21701 gcc_cv_math_func_sin=no
21703 rm -f core conftest.err conftest.$ac_objext \
21704 conftest$ac_exeext conftest.$ac_ext
21706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sin" >&5
21707 $as_echo "$gcc_cv_math_func_sin" >&6; }
21708 if test $gcc_cv_math_func_sin = yes; then
21710 cat >>confdefs.h <<_ACEOF
21711 #define HAVE_SIN 1
21712 _ACEOF
21719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinl" >&5
21720 $as_echo_n "checking for sinl... " >&6; }
21721 if test "${gcc_cv_math_func_sinl+set}" = set; then :
21722 $as_echo_n "(cached) " >&6
21723 else
21724 if test x$gcc_no_link = xyes; then
21725 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21728 /* end confdefs.h. */
21730 #ifdef HAVE_COMPLEX_H
21731 #include <complex.h>
21732 #endif
21733 #ifdef HAVE_MATH_H
21734 #include <math.h>
21735 #endif
21737 int (*ptr)() = (int (*)())sinl;
21740 main ()
21742 return 0;
21745 _ACEOF
21746 if ac_fn_c_try_link "$LINENO"; then :
21747 gcc_cv_math_func_sinl=yes
21748 else
21749 gcc_cv_math_func_sinl=no
21751 rm -f core conftest.err conftest.$ac_objext \
21752 conftest$ac_exeext conftest.$ac_ext
21754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinl" >&5
21755 $as_echo "$gcc_cv_math_func_sinl" >&6; }
21756 if test $gcc_cv_math_func_sinl = yes; then
21758 cat >>confdefs.h <<_ACEOF
21759 #define HAVE_SINL 1
21760 _ACEOF
21767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinf" >&5
21768 $as_echo_n "checking for csinf... " >&6; }
21769 if test "${gcc_cv_math_func_csinf+set}" = set; then :
21770 $as_echo_n "(cached) " >&6
21771 else
21772 if test x$gcc_no_link = xyes; then
21773 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21776 /* end confdefs.h. */
21778 #ifdef HAVE_COMPLEX_H
21779 #include <complex.h>
21780 #endif
21781 #ifdef HAVE_MATH_H
21782 #include <math.h>
21783 #endif
21785 int (*ptr)() = (int (*)())csinf;
21788 main ()
21790 return 0;
21793 _ACEOF
21794 if ac_fn_c_try_link "$LINENO"; then :
21795 gcc_cv_math_func_csinf=yes
21796 else
21797 gcc_cv_math_func_csinf=no
21799 rm -f core conftest.err conftest.$ac_objext \
21800 conftest$ac_exeext conftest.$ac_ext
21802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinf" >&5
21803 $as_echo "$gcc_cv_math_func_csinf" >&6; }
21804 if test $gcc_cv_math_func_csinf = yes; then
21806 cat >>confdefs.h <<_ACEOF
21807 #define HAVE_CSINF 1
21808 _ACEOF
21815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csin" >&5
21816 $as_echo_n "checking for csin... " >&6; }
21817 if test "${gcc_cv_math_func_csin+set}" = set; then :
21818 $as_echo_n "(cached) " >&6
21819 else
21820 if test x$gcc_no_link = xyes; then
21821 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21824 /* end confdefs.h. */
21826 #ifdef HAVE_COMPLEX_H
21827 #include <complex.h>
21828 #endif
21829 #ifdef HAVE_MATH_H
21830 #include <math.h>
21831 #endif
21833 int (*ptr)() = (int (*)())csin;
21836 main ()
21838 return 0;
21841 _ACEOF
21842 if ac_fn_c_try_link "$LINENO"; then :
21843 gcc_cv_math_func_csin=yes
21844 else
21845 gcc_cv_math_func_csin=no
21847 rm -f core conftest.err conftest.$ac_objext \
21848 conftest$ac_exeext conftest.$ac_ext
21850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csin" >&5
21851 $as_echo "$gcc_cv_math_func_csin" >&6; }
21852 if test $gcc_cv_math_func_csin = yes; then
21854 cat >>confdefs.h <<_ACEOF
21855 #define HAVE_CSIN 1
21856 _ACEOF
21863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinl" >&5
21864 $as_echo_n "checking for csinl... " >&6; }
21865 if test "${gcc_cv_math_func_csinl+set}" = set; then :
21866 $as_echo_n "(cached) " >&6
21867 else
21868 if test x$gcc_no_link = xyes; then
21869 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21872 /* end confdefs.h. */
21874 #ifdef HAVE_COMPLEX_H
21875 #include <complex.h>
21876 #endif
21877 #ifdef HAVE_MATH_H
21878 #include <math.h>
21879 #endif
21881 int (*ptr)() = (int (*)())csinl;
21884 main ()
21886 return 0;
21889 _ACEOF
21890 if ac_fn_c_try_link "$LINENO"; then :
21891 gcc_cv_math_func_csinl=yes
21892 else
21893 gcc_cv_math_func_csinl=no
21895 rm -f core conftest.err conftest.$ac_objext \
21896 conftest$ac_exeext conftest.$ac_ext
21898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinl" >&5
21899 $as_echo "$gcc_cv_math_func_csinl" >&6; }
21900 if test $gcc_cv_math_func_csinl = yes; then
21902 cat >>confdefs.h <<_ACEOF
21903 #define HAVE_CSINL 1
21904 _ACEOF
21911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhf" >&5
21912 $as_echo_n "checking for sinhf... " >&6; }
21913 if test "${gcc_cv_math_func_sinhf+set}" = set; then :
21914 $as_echo_n "(cached) " >&6
21915 else
21916 if test x$gcc_no_link = xyes; then
21917 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21920 /* end confdefs.h. */
21922 #ifdef HAVE_COMPLEX_H
21923 #include <complex.h>
21924 #endif
21925 #ifdef HAVE_MATH_H
21926 #include <math.h>
21927 #endif
21929 int (*ptr)() = (int (*)())sinhf;
21932 main ()
21934 return 0;
21937 _ACEOF
21938 if ac_fn_c_try_link "$LINENO"; then :
21939 gcc_cv_math_func_sinhf=yes
21940 else
21941 gcc_cv_math_func_sinhf=no
21943 rm -f core conftest.err conftest.$ac_objext \
21944 conftest$ac_exeext conftest.$ac_ext
21946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhf" >&5
21947 $as_echo "$gcc_cv_math_func_sinhf" >&6; }
21948 if test $gcc_cv_math_func_sinhf = yes; then
21950 cat >>confdefs.h <<_ACEOF
21951 #define HAVE_SINHF 1
21952 _ACEOF
21959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinh" >&5
21960 $as_echo_n "checking for sinh... " >&6; }
21961 if test "${gcc_cv_math_func_sinh+set}" = set; then :
21962 $as_echo_n "(cached) " >&6
21963 else
21964 if test x$gcc_no_link = xyes; then
21965 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21968 /* end confdefs.h. */
21970 #ifdef HAVE_COMPLEX_H
21971 #include <complex.h>
21972 #endif
21973 #ifdef HAVE_MATH_H
21974 #include <math.h>
21975 #endif
21977 int (*ptr)() = (int (*)())sinh;
21980 main ()
21982 return 0;
21985 _ACEOF
21986 if ac_fn_c_try_link "$LINENO"; then :
21987 gcc_cv_math_func_sinh=yes
21988 else
21989 gcc_cv_math_func_sinh=no
21991 rm -f core conftest.err conftest.$ac_objext \
21992 conftest$ac_exeext conftest.$ac_ext
21994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinh" >&5
21995 $as_echo "$gcc_cv_math_func_sinh" >&6; }
21996 if test $gcc_cv_math_func_sinh = yes; then
21998 cat >>confdefs.h <<_ACEOF
21999 #define HAVE_SINH 1
22000 _ACEOF
22007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhl" >&5
22008 $as_echo_n "checking for sinhl... " >&6; }
22009 if test "${gcc_cv_math_func_sinhl+set}" = set; then :
22010 $as_echo_n "(cached) " >&6
22011 else
22012 if test x$gcc_no_link = xyes; then
22013 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22016 /* end confdefs.h. */
22018 #ifdef HAVE_COMPLEX_H
22019 #include <complex.h>
22020 #endif
22021 #ifdef HAVE_MATH_H
22022 #include <math.h>
22023 #endif
22025 int (*ptr)() = (int (*)())sinhl;
22028 main ()
22030 return 0;
22033 _ACEOF
22034 if ac_fn_c_try_link "$LINENO"; then :
22035 gcc_cv_math_func_sinhl=yes
22036 else
22037 gcc_cv_math_func_sinhl=no
22039 rm -f core conftest.err conftest.$ac_objext \
22040 conftest$ac_exeext conftest.$ac_ext
22042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhl" >&5
22043 $as_echo "$gcc_cv_math_func_sinhl" >&6; }
22044 if test $gcc_cv_math_func_sinhl = yes; then
22046 cat >>confdefs.h <<_ACEOF
22047 #define HAVE_SINHL 1
22048 _ACEOF
22055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhf" >&5
22056 $as_echo_n "checking for csinhf... " >&6; }
22057 if test "${gcc_cv_math_func_csinhf+set}" = set; then :
22058 $as_echo_n "(cached) " >&6
22059 else
22060 if test x$gcc_no_link = xyes; then
22061 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22064 /* end confdefs.h. */
22066 #ifdef HAVE_COMPLEX_H
22067 #include <complex.h>
22068 #endif
22069 #ifdef HAVE_MATH_H
22070 #include <math.h>
22071 #endif
22073 int (*ptr)() = (int (*)())csinhf;
22076 main ()
22078 return 0;
22081 _ACEOF
22082 if ac_fn_c_try_link "$LINENO"; then :
22083 gcc_cv_math_func_csinhf=yes
22084 else
22085 gcc_cv_math_func_csinhf=no
22087 rm -f core conftest.err conftest.$ac_objext \
22088 conftest$ac_exeext conftest.$ac_ext
22090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhf" >&5
22091 $as_echo "$gcc_cv_math_func_csinhf" >&6; }
22092 if test $gcc_cv_math_func_csinhf = yes; then
22094 cat >>confdefs.h <<_ACEOF
22095 #define HAVE_CSINHF 1
22096 _ACEOF
22103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinh" >&5
22104 $as_echo_n "checking for csinh... " >&6; }
22105 if test "${gcc_cv_math_func_csinh+set}" = set; then :
22106 $as_echo_n "(cached) " >&6
22107 else
22108 if test x$gcc_no_link = xyes; then
22109 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22112 /* end confdefs.h. */
22114 #ifdef HAVE_COMPLEX_H
22115 #include <complex.h>
22116 #endif
22117 #ifdef HAVE_MATH_H
22118 #include <math.h>
22119 #endif
22121 int (*ptr)() = (int (*)())csinh;
22124 main ()
22126 return 0;
22129 _ACEOF
22130 if ac_fn_c_try_link "$LINENO"; then :
22131 gcc_cv_math_func_csinh=yes
22132 else
22133 gcc_cv_math_func_csinh=no
22135 rm -f core conftest.err conftest.$ac_objext \
22136 conftest$ac_exeext conftest.$ac_ext
22138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinh" >&5
22139 $as_echo "$gcc_cv_math_func_csinh" >&6; }
22140 if test $gcc_cv_math_func_csinh = yes; then
22142 cat >>confdefs.h <<_ACEOF
22143 #define HAVE_CSINH 1
22144 _ACEOF
22151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhl" >&5
22152 $as_echo_n "checking for csinhl... " >&6; }
22153 if test "${gcc_cv_math_func_csinhl+set}" = set; then :
22154 $as_echo_n "(cached) " >&6
22155 else
22156 if test x$gcc_no_link = xyes; then
22157 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22160 /* end confdefs.h. */
22162 #ifdef HAVE_COMPLEX_H
22163 #include <complex.h>
22164 #endif
22165 #ifdef HAVE_MATH_H
22166 #include <math.h>
22167 #endif
22169 int (*ptr)() = (int (*)())csinhl;
22172 main ()
22174 return 0;
22177 _ACEOF
22178 if ac_fn_c_try_link "$LINENO"; then :
22179 gcc_cv_math_func_csinhl=yes
22180 else
22181 gcc_cv_math_func_csinhl=no
22183 rm -f core conftest.err conftest.$ac_objext \
22184 conftest$ac_exeext conftest.$ac_ext
22186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhl" >&5
22187 $as_echo "$gcc_cv_math_func_csinhl" >&6; }
22188 if test $gcc_cv_math_func_csinhl = yes; then
22190 cat >>confdefs.h <<_ACEOF
22191 #define HAVE_CSINHL 1
22192 _ACEOF
22199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf" >&5
22200 $as_echo_n "checking for sqrtf... " >&6; }
22201 if test "${gcc_cv_math_func_sqrtf+set}" = set; then :
22202 $as_echo_n "(cached) " >&6
22203 else
22204 if test x$gcc_no_link = xyes; then
22205 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22208 /* end confdefs.h. */
22210 #ifdef HAVE_COMPLEX_H
22211 #include <complex.h>
22212 #endif
22213 #ifdef HAVE_MATH_H
22214 #include <math.h>
22215 #endif
22217 int (*ptr)() = (int (*)())sqrtf;
22220 main ()
22222 return 0;
22225 _ACEOF
22226 if ac_fn_c_try_link "$LINENO"; then :
22227 gcc_cv_math_func_sqrtf=yes
22228 else
22229 gcc_cv_math_func_sqrtf=no
22231 rm -f core conftest.err conftest.$ac_objext \
22232 conftest$ac_exeext conftest.$ac_ext
22234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtf" >&5
22235 $as_echo "$gcc_cv_math_func_sqrtf" >&6; }
22236 if test $gcc_cv_math_func_sqrtf = yes; then
22238 cat >>confdefs.h <<_ACEOF
22239 #define HAVE_SQRTF 1
22240 _ACEOF
22247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt" >&5
22248 $as_echo_n "checking for sqrt... " >&6; }
22249 if test "${gcc_cv_math_func_sqrt+set}" = set; then :
22250 $as_echo_n "(cached) " >&6
22251 else
22252 if test x$gcc_no_link = xyes; then
22253 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22256 /* end confdefs.h. */
22258 #ifdef HAVE_COMPLEX_H
22259 #include <complex.h>
22260 #endif
22261 #ifdef HAVE_MATH_H
22262 #include <math.h>
22263 #endif
22265 int (*ptr)() = (int (*)())sqrt;
22268 main ()
22270 return 0;
22273 _ACEOF
22274 if ac_fn_c_try_link "$LINENO"; then :
22275 gcc_cv_math_func_sqrt=yes
22276 else
22277 gcc_cv_math_func_sqrt=no
22279 rm -f core conftest.err conftest.$ac_objext \
22280 conftest$ac_exeext conftest.$ac_ext
22282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrt" >&5
22283 $as_echo "$gcc_cv_math_func_sqrt" >&6; }
22284 if test $gcc_cv_math_func_sqrt = yes; then
22286 cat >>confdefs.h <<_ACEOF
22287 #define HAVE_SQRT 1
22288 _ACEOF
22295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl" >&5
22296 $as_echo_n "checking for sqrtl... " >&6; }
22297 if test "${gcc_cv_math_func_sqrtl+set}" = set; then :
22298 $as_echo_n "(cached) " >&6
22299 else
22300 if test x$gcc_no_link = xyes; then
22301 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22304 /* end confdefs.h. */
22306 #ifdef HAVE_COMPLEX_H
22307 #include <complex.h>
22308 #endif
22309 #ifdef HAVE_MATH_H
22310 #include <math.h>
22311 #endif
22313 int (*ptr)() = (int (*)())sqrtl;
22316 main ()
22318 return 0;
22321 _ACEOF
22322 if ac_fn_c_try_link "$LINENO"; then :
22323 gcc_cv_math_func_sqrtl=yes
22324 else
22325 gcc_cv_math_func_sqrtl=no
22327 rm -f core conftest.err conftest.$ac_objext \
22328 conftest$ac_exeext conftest.$ac_ext
22330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtl" >&5
22331 $as_echo "$gcc_cv_math_func_sqrtl" >&6; }
22332 if test $gcc_cv_math_func_sqrtl = yes; then
22334 cat >>confdefs.h <<_ACEOF
22335 #define HAVE_SQRTL 1
22336 _ACEOF
22343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtf" >&5
22344 $as_echo_n "checking for csqrtf... " >&6; }
22345 if test "${gcc_cv_math_func_csqrtf+set}" = set; then :
22346 $as_echo_n "(cached) " >&6
22347 else
22348 if test x$gcc_no_link = xyes; then
22349 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22352 /* end confdefs.h. */
22354 #ifdef HAVE_COMPLEX_H
22355 #include <complex.h>
22356 #endif
22357 #ifdef HAVE_MATH_H
22358 #include <math.h>
22359 #endif
22361 int (*ptr)() = (int (*)())csqrtf;
22364 main ()
22366 return 0;
22369 _ACEOF
22370 if ac_fn_c_try_link "$LINENO"; then :
22371 gcc_cv_math_func_csqrtf=yes
22372 else
22373 gcc_cv_math_func_csqrtf=no
22375 rm -f core conftest.err conftest.$ac_objext \
22376 conftest$ac_exeext conftest.$ac_ext
22378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtf" >&5
22379 $as_echo "$gcc_cv_math_func_csqrtf" >&6; }
22380 if test $gcc_cv_math_func_csqrtf = yes; then
22382 cat >>confdefs.h <<_ACEOF
22383 #define HAVE_CSQRTF 1
22384 _ACEOF
22391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrt" >&5
22392 $as_echo_n "checking for csqrt... " >&6; }
22393 if test "${gcc_cv_math_func_csqrt+set}" = set; then :
22394 $as_echo_n "(cached) " >&6
22395 else
22396 if test x$gcc_no_link = xyes; then
22397 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22400 /* end confdefs.h. */
22402 #ifdef HAVE_COMPLEX_H
22403 #include <complex.h>
22404 #endif
22405 #ifdef HAVE_MATH_H
22406 #include <math.h>
22407 #endif
22409 int (*ptr)() = (int (*)())csqrt;
22412 main ()
22414 return 0;
22417 _ACEOF
22418 if ac_fn_c_try_link "$LINENO"; then :
22419 gcc_cv_math_func_csqrt=yes
22420 else
22421 gcc_cv_math_func_csqrt=no
22423 rm -f core conftest.err conftest.$ac_objext \
22424 conftest$ac_exeext conftest.$ac_ext
22426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrt" >&5
22427 $as_echo "$gcc_cv_math_func_csqrt" >&6; }
22428 if test $gcc_cv_math_func_csqrt = yes; then
22430 cat >>confdefs.h <<_ACEOF
22431 #define HAVE_CSQRT 1
22432 _ACEOF
22439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtl" >&5
22440 $as_echo_n "checking for csqrtl... " >&6; }
22441 if test "${gcc_cv_math_func_csqrtl+set}" = set; then :
22442 $as_echo_n "(cached) " >&6
22443 else
22444 if test x$gcc_no_link = xyes; then
22445 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22448 /* end confdefs.h. */
22450 #ifdef HAVE_COMPLEX_H
22451 #include <complex.h>
22452 #endif
22453 #ifdef HAVE_MATH_H
22454 #include <math.h>
22455 #endif
22457 int (*ptr)() = (int (*)())csqrtl;
22460 main ()
22462 return 0;
22465 _ACEOF
22466 if ac_fn_c_try_link "$LINENO"; then :
22467 gcc_cv_math_func_csqrtl=yes
22468 else
22469 gcc_cv_math_func_csqrtl=no
22471 rm -f core conftest.err conftest.$ac_objext \
22472 conftest$ac_exeext conftest.$ac_ext
22474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtl" >&5
22475 $as_echo "$gcc_cv_math_func_csqrtl" >&6; }
22476 if test $gcc_cv_math_func_csqrtl = yes; then
22478 cat >>confdefs.h <<_ACEOF
22479 #define HAVE_CSQRTL 1
22480 _ACEOF
22487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanf" >&5
22488 $as_echo_n "checking for tanf... " >&6; }
22489 if test "${gcc_cv_math_func_tanf+set}" = set; then :
22490 $as_echo_n "(cached) " >&6
22491 else
22492 if test x$gcc_no_link = xyes; then
22493 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22496 /* end confdefs.h. */
22498 #ifdef HAVE_COMPLEX_H
22499 #include <complex.h>
22500 #endif
22501 #ifdef HAVE_MATH_H
22502 #include <math.h>
22503 #endif
22505 int (*ptr)() = (int (*)())tanf;
22508 main ()
22510 return 0;
22513 _ACEOF
22514 if ac_fn_c_try_link "$LINENO"; then :
22515 gcc_cv_math_func_tanf=yes
22516 else
22517 gcc_cv_math_func_tanf=no
22519 rm -f core conftest.err conftest.$ac_objext \
22520 conftest$ac_exeext conftest.$ac_ext
22522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanf" >&5
22523 $as_echo "$gcc_cv_math_func_tanf" >&6; }
22524 if test $gcc_cv_math_func_tanf = yes; then
22526 cat >>confdefs.h <<_ACEOF
22527 #define HAVE_TANF 1
22528 _ACEOF
22535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tan" >&5
22536 $as_echo_n "checking for tan... " >&6; }
22537 if test "${gcc_cv_math_func_tan+set}" = set; then :
22538 $as_echo_n "(cached) " >&6
22539 else
22540 if test x$gcc_no_link = xyes; then
22541 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22544 /* end confdefs.h. */
22546 #ifdef HAVE_COMPLEX_H
22547 #include <complex.h>
22548 #endif
22549 #ifdef HAVE_MATH_H
22550 #include <math.h>
22551 #endif
22553 int (*ptr)() = (int (*)())tan;
22556 main ()
22558 return 0;
22561 _ACEOF
22562 if ac_fn_c_try_link "$LINENO"; then :
22563 gcc_cv_math_func_tan=yes
22564 else
22565 gcc_cv_math_func_tan=no
22567 rm -f core conftest.err conftest.$ac_objext \
22568 conftest$ac_exeext conftest.$ac_ext
22570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tan" >&5
22571 $as_echo "$gcc_cv_math_func_tan" >&6; }
22572 if test $gcc_cv_math_func_tan = yes; then
22574 cat >>confdefs.h <<_ACEOF
22575 #define HAVE_TAN 1
22576 _ACEOF
22583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanl" >&5
22584 $as_echo_n "checking for tanl... " >&6; }
22585 if test "${gcc_cv_math_func_tanl+set}" = set; then :
22586 $as_echo_n "(cached) " >&6
22587 else
22588 if test x$gcc_no_link = xyes; then
22589 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22592 /* end confdefs.h. */
22594 #ifdef HAVE_COMPLEX_H
22595 #include <complex.h>
22596 #endif
22597 #ifdef HAVE_MATH_H
22598 #include <math.h>
22599 #endif
22601 int (*ptr)() = (int (*)())tanl;
22604 main ()
22606 return 0;
22609 _ACEOF
22610 if ac_fn_c_try_link "$LINENO"; then :
22611 gcc_cv_math_func_tanl=yes
22612 else
22613 gcc_cv_math_func_tanl=no
22615 rm -f core conftest.err conftest.$ac_objext \
22616 conftest$ac_exeext conftest.$ac_ext
22618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanl" >&5
22619 $as_echo "$gcc_cv_math_func_tanl" >&6; }
22620 if test $gcc_cv_math_func_tanl = yes; then
22622 cat >>confdefs.h <<_ACEOF
22623 #define HAVE_TANL 1
22624 _ACEOF
22631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanf" >&5
22632 $as_echo_n "checking for ctanf... " >&6; }
22633 if test "${gcc_cv_math_func_ctanf+set}" = set; then :
22634 $as_echo_n "(cached) " >&6
22635 else
22636 if test x$gcc_no_link = xyes; then
22637 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22640 /* end confdefs.h. */
22642 #ifdef HAVE_COMPLEX_H
22643 #include <complex.h>
22644 #endif
22645 #ifdef HAVE_MATH_H
22646 #include <math.h>
22647 #endif
22649 int (*ptr)() = (int (*)())ctanf;
22652 main ()
22654 return 0;
22657 _ACEOF
22658 if ac_fn_c_try_link "$LINENO"; then :
22659 gcc_cv_math_func_ctanf=yes
22660 else
22661 gcc_cv_math_func_ctanf=no
22663 rm -f core conftest.err conftest.$ac_objext \
22664 conftest$ac_exeext conftest.$ac_ext
22666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanf" >&5
22667 $as_echo "$gcc_cv_math_func_ctanf" >&6; }
22668 if test $gcc_cv_math_func_ctanf = yes; then
22670 cat >>confdefs.h <<_ACEOF
22671 #define HAVE_CTANF 1
22672 _ACEOF
22679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctan" >&5
22680 $as_echo_n "checking for ctan... " >&6; }
22681 if test "${gcc_cv_math_func_ctan+set}" = set; then :
22682 $as_echo_n "(cached) " >&6
22683 else
22684 if test x$gcc_no_link = xyes; then
22685 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22688 /* end confdefs.h. */
22690 #ifdef HAVE_COMPLEX_H
22691 #include <complex.h>
22692 #endif
22693 #ifdef HAVE_MATH_H
22694 #include <math.h>
22695 #endif
22697 int (*ptr)() = (int (*)())ctan;
22700 main ()
22702 return 0;
22705 _ACEOF
22706 if ac_fn_c_try_link "$LINENO"; then :
22707 gcc_cv_math_func_ctan=yes
22708 else
22709 gcc_cv_math_func_ctan=no
22711 rm -f core conftest.err conftest.$ac_objext \
22712 conftest$ac_exeext conftest.$ac_ext
22714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctan" >&5
22715 $as_echo "$gcc_cv_math_func_ctan" >&6; }
22716 if test $gcc_cv_math_func_ctan = yes; then
22718 cat >>confdefs.h <<_ACEOF
22719 #define HAVE_CTAN 1
22720 _ACEOF
22727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanl" >&5
22728 $as_echo_n "checking for ctanl... " >&6; }
22729 if test "${gcc_cv_math_func_ctanl+set}" = set; then :
22730 $as_echo_n "(cached) " >&6
22731 else
22732 if test x$gcc_no_link = xyes; then
22733 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22736 /* end confdefs.h. */
22738 #ifdef HAVE_COMPLEX_H
22739 #include <complex.h>
22740 #endif
22741 #ifdef HAVE_MATH_H
22742 #include <math.h>
22743 #endif
22745 int (*ptr)() = (int (*)())ctanl;
22748 main ()
22750 return 0;
22753 _ACEOF
22754 if ac_fn_c_try_link "$LINENO"; then :
22755 gcc_cv_math_func_ctanl=yes
22756 else
22757 gcc_cv_math_func_ctanl=no
22759 rm -f core conftest.err conftest.$ac_objext \
22760 conftest$ac_exeext conftest.$ac_ext
22762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanl" >&5
22763 $as_echo "$gcc_cv_math_func_ctanl" >&6; }
22764 if test $gcc_cv_math_func_ctanl = yes; then
22766 cat >>confdefs.h <<_ACEOF
22767 #define HAVE_CTANL 1
22768 _ACEOF
22775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhf" >&5
22776 $as_echo_n "checking for tanhf... " >&6; }
22777 if test "${gcc_cv_math_func_tanhf+set}" = set; then :
22778 $as_echo_n "(cached) " >&6
22779 else
22780 if test x$gcc_no_link = xyes; then
22781 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22784 /* end confdefs.h. */
22786 #ifdef HAVE_COMPLEX_H
22787 #include <complex.h>
22788 #endif
22789 #ifdef HAVE_MATH_H
22790 #include <math.h>
22791 #endif
22793 int (*ptr)() = (int (*)())tanhf;
22796 main ()
22798 return 0;
22801 _ACEOF
22802 if ac_fn_c_try_link "$LINENO"; then :
22803 gcc_cv_math_func_tanhf=yes
22804 else
22805 gcc_cv_math_func_tanhf=no
22807 rm -f core conftest.err conftest.$ac_objext \
22808 conftest$ac_exeext conftest.$ac_ext
22810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhf" >&5
22811 $as_echo "$gcc_cv_math_func_tanhf" >&6; }
22812 if test $gcc_cv_math_func_tanhf = yes; then
22814 cat >>confdefs.h <<_ACEOF
22815 #define HAVE_TANHF 1
22816 _ACEOF
22823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanh" >&5
22824 $as_echo_n "checking for tanh... " >&6; }
22825 if test "${gcc_cv_math_func_tanh+set}" = set; then :
22826 $as_echo_n "(cached) " >&6
22827 else
22828 if test x$gcc_no_link = xyes; then
22829 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22832 /* end confdefs.h. */
22834 #ifdef HAVE_COMPLEX_H
22835 #include <complex.h>
22836 #endif
22837 #ifdef HAVE_MATH_H
22838 #include <math.h>
22839 #endif
22841 int (*ptr)() = (int (*)())tanh;
22844 main ()
22846 return 0;
22849 _ACEOF
22850 if ac_fn_c_try_link "$LINENO"; then :
22851 gcc_cv_math_func_tanh=yes
22852 else
22853 gcc_cv_math_func_tanh=no
22855 rm -f core conftest.err conftest.$ac_objext \
22856 conftest$ac_exeext conftest.$ac_ext
22858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanh" >&5
22859 $as_echo "$gcc_cv_math_func_tanh" >&6; }
22860 if test $gcc_cv_math_func_tanh = yes; then
22862 cat >>confdefs.h <<_ACEOF
22863 #define HAVE_TANH 1
22864 _ACEOF
22871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhl" >&5
22872 $as_echo_n "checking for tanhl... " >&6; }
22873 if test "${gcc_cv_math_func_tanhl+set}" = set; then :
22874 $as_echo_n "(cached) " >&6
22875 else
22876 if test x$gcc_no_link = xyes; then
22877 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22880 /* end confdefs.h. */
22882 #ifdef HAVE_COMPLEX_H
22883 #include <complex.h>
22884 #endif
22885 #ifdef HAVE_MATH_H
22886 #include <math.h>
22887 #endif
22889 int (*ptr)() = (int (*)())tanhl;
22892 main ()
22894 return 0;
22897 _ACEOF
22898 if ac_fn_c_try_link "$LINENO"; then :
22899 gcc_cv_math_func_tanhl=yes
22900 else
22901 gcc_cv_math_func_tanhl=no
22903 rm -f core conftest.err conftest.$ac_objext \
22904 conftest$ac_exeext conftest.$ac_ext
22906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhl" >&5
22907 $as_echo "$gcc_cv_math_func_tanhl" >&6; }
22908 if test $gcc_cv_math_func_tanhl = yes; then
22910 cat >>confdefs.h <<_ACEOF
22911 #define HAVE_TANHL 1
22912 _ACEOF
22919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhf" >&5
22920 $as_echo_n "checking for ctanhf... " >&6; }
22921 if test "${gcc_cv_math_func_ctanhf+set}" = set; then :
22922 $as_echo_n "(cached) " >&6
22923 else
22924 if test x$gcc_no_link = xyes; then
22925 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22928 /* end confdefs.h. */
22930 #ifdef HAVE_COMPLEX_H
22931 #include <complex.h>
22932 #endif
22933 #ifdef HAVE_MATH_H
22934 #include <math.h>
22935 #endif
22937 int (*ptr)() = (int (*)())ctanhf;
22940 main ()
22942 return 0;
22945 _ACEOF
22946 if ac_fn_c_try_link "$LINENO"; then :
22947 gcc_cv_math_func_ctanhf=yes
22948 else
22949 gcc_cv_math_func_ctanhf=no
22951 rm -f core conftest.err conftest.$ac_objext \
22952 conftest$ac_exeext conftest.$ac_ext
22954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhf" >&5
22955 $as_echo "$gcc_cv_math_func_ctanhf" >&6; }
22956 if test $gcc_cv_math_func_ctanhf = yes; then
22958 cat >>confdefs.h <<_ACEOF
22959 #define HAVE_CTANHF 1
22960 _ACEOF
22967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanh" >&5
22968 $as_echo_n "checking for ctanh... " >&6; }
22969 if test "${gcc_cv_math_func_ctanh+set}" = set; then :
22970 $as_echo_n "(cached) " >&6
22971 else
22972 if test x$gcc_no_link = xyes; then
22973 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22976 /* end confdefs.h. */
22978 #ifdef HAVE_COMPLEX_H
22979 #include <complex.h>
22980 #endif
22981 #ifdef HAVE_MATH_H
22982 #include <math.h>
22983 #endif
22985 int (*ptr)() = (int (*)())ctanh;
22988 main ()
22990 return 0;
22993 _ACEOF
22994 if ac_fn_c_try_link "$LINENO"; then :
22995 gcc_cv_math_func_ctanh=yes
22996 else
22997 gcc_cv_math_func_ctanh=no
22999 rm -f core conftest.err conftest.$ac_objext \
23000 conftest$ac_exeext conftest.$ac_ext
23002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanh" >&5
23003 $as_echo "$gcc_cv_math_func_ctanh" >&6; }
23004 if test $gcc_cv_math_func_ctanh = yes; then
23006 cat >>confdefs.h <<_ACEOF
23007 #define HAVE_CTANH 1
23008 _ACEOF
23015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhl" >&5
23016 $as_echo_n "checking for ctanhl... " >&6; }
23017 if test "${gcc_cv_math_func_ctanhl+set}" = set; then :
23018 $as_echo_n "(cached) " >&6
23019 else
23020 if test x$gcc_no_link = xyes; then
23021 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23024 /* end confdefs.h. */
23026 #ifdef HAVE_COMPLEX_H
23027 #include <complex.h>
23028 #endif
23029 #ifdef HAVE_MATH_H
23030 #include <math.h>
23031 #endif
23033 int (*ptr)() = (int (*)())ctanhl;
23036 main ()
23038 return 0;
23041 _ACEOF
23042 if ac_fn_c_try_link "$LINENO"; then :
23043 gcc_cv_math_func_ctanhl=yes
23044 else
23045 gcc_cv_math_func_ctanhl=no
23047 rm -f core conftest.err conftest.$ac_objext \
23048 conftest$ac_exeext conftest.$ac_ext
23050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhl" >&5
23051 $as_echo "$gcc_cv_math_func_ctanhl" >&6; }
23052 if test $gcc_cv_math_func_ctanhl = yes; then
23054 cat >>confdefs.h <<_ACEOF
23055 #define HAVE_CTANHL 1
23056 _ACEOF
23063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncf" >&5
23064 $as_echo_n "checking for truncf... " >&6; }
23065 if test "${gcc_cv_math_func_truncf+set}" = set; then :
23066 $as_echo_n "(cached) " >&6
23067 else
23068 if test x$gcc_no_link = xyes; then
23069 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23072 /* end confdefs.h. */
23074 #ifdef HAVE_COMPLEX_H
23075 #include <complex.h>
23076 #endif
23077 #ifdef HAVE_MATH_H
23078 #include <math.h>
23079 #endif
23081 int (*ptr)() = (int (*)())truncf;
23084 main ()
23086 return 0;
23089 _ACEOF
23090 if ac_fn_c_try_link "$LINENO"; then :
23091 gcc_cv_math_func_truncf=yes
23092 else
23093 gcc_cv_math_func_truncf=no
23095 rm -f core conftest.err conftest.$ac_objext \
23096 conftest$ac_exeext conftest.$ac_ext
23098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncf" >&5
23099 $as_echo "$gcc_cv_math_func_truncf" >&6; }
23100 if test $gcc_cv_math_func_truncf = yes; then
23102 cat >>confdefs.h <<_ACEOF
23103 #define HAVE_TRUNCF 1
23104 _ACEOF
23111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for trunc" >&5
23112 $as_echo_n "checking for trunc... " >&6; }
23113 if test "${gcc_cv_math_func_trunc+set}" = set; then :
23114 $as_echo_n "(cached) " >&6
23115 else
23116 if test x$gcc_no_link = xyes; then
23117 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23120 /* end confdefs.h. */
23122 #ifdef HAVE_COMPLEX_H
23123 #include <complex.h>
23124 #endif
23125 #ifdef HAVE_MATH_H
23126 #include <math.h>
23127 #endif
23129 int (*ptr)() = (int (*)())trunc;
23132 main ()
23134 return 0;
23137 _ACEOF
23138 if ac_fn_c_try_link "$LINENO"; then :
23139 gcc_cv_math_func_trunc=yes
23140 else
23141 gcc_cv_math_func_trunc=no
23143 rm -f core conftest.err conftest.$ac_objext \
23144 conftest$ac_exeext conftest.$ac_ext
23146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_trunc" >&5
23147 $as_echo "$gcc_cv_math_func_trunc" >&6; }
23148 if test $gcc_cv_math_func_trunc = yes; then
23150 cat >>confdefs.h <<_ACEOF
23151 #define HAVE_TRUNC 1
23152 _ACEOF
23159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncl" >&5
23160 $as_echo_n "checking for truncl... " >&6; }
23161 if test "${gcc_cv_math_func_truncl+set}" = set; then :
23162 $as_echo_n "(cached) " >&6
23163 else
23164 if test x$gcc_no_link = xyes; then
23165 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23168 /* end confdefs.h. */
23170 #ifdef HAVE_COMPLEX_H
23171 #include <complex.h>
23172 #endif
23173 #ifdef HAVE_MATH_H
23174 #include <math.h>
23175 #endif
23177 int (*ptr)() = (int (*)())truncl;
23180 main ()
23182 return 0;
23185 _ACEOF
23186 if ac_fn_c_try_link "$LINENO"; then :
23187 gcc_cv_math_func_truncl=yes
23188 else
23189 gcc_cv_math_func_truncl=no
23191 rm -f core conftest.err conftest.$ac_objext \
23192 conftest$ac_exeext conftest.$ac_ext
23194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncl" >&5
23195 $as_echo "$gcc_cv_math_func_truncl" >&6; }
23196 if test $gcc_cv_math_func_truncl = yes; then
23198 cat >>confdefs.h <<_ACEOF
23199 #define HAVE_TRUNCL 1
23200 _ACEOF
23207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erff" >&5
23208 $as_echo_n "checking for erff... " >&6; }
23209 if test "${gcc_cv_math_func_erff+set}" = set; then :
23210 $as_echo_n "(cached) " >&6
23211 else
23212 if test x$gcc_no_link = xyes; then
23213 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23216 /* end confdefs.h. */
23218 #ifdef HAVE_COMPLEX_H
23219 #include <complex.h>
23220 #endif
23221 #ifdef HAVE_MATH_H
23222 #include <math.h>
23223 #endif
23225 int (*ptr)() = (int (*)())erff;
23228 main ()
23230 return 0;
23233 _ACEOF
23234 if ac_fn_c_try_link "$LINENO"; then :
23235 gcc_cv_math_func_erff=yes
23236 else
23237 gcc_cv_math_func_erff=no
23239 rm -f core conftest.err conftest.$ac_objext \
23240 conftest$ac_exeext conftest.$ac_ext
23242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erff" >&5
23243 $as_echo "$gcc_cv_math_func_erff" >&6; }
23244 if test $gcc_cv_math_func_erff = yes; then
23246 cat >>confdefs.h <<_ACEOF
23247 #define HAVE_ERFF 1
23248 _ACEOF
23255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erf" >&5
23256 $as_echo_n "checking for erf... " >&6; }
23257 if test "${gcc_cv_math_func_erf+set}" = set; then :
23258 $as_echo_n "(cached) " >&6
23259 else
23260 if test x$gcc_no_link = xyes; then
23261 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23264 /* end confdefs.h. */
23266 #ifdef HAVE_COMPLEX_H
23267 #include <complex.h>
23268 #endif
23269 #ifdef HAVE_MATH_H
23270 #include <math.h>
23271 #endif
23273 int (*ptr)() = (int (*)())erf;
23276 main ()
23278 return 0;
23281 _ACEOF
23282 if ac_fn_c_try_link "$LINENO"; then :
23283 gcc_cv_math_func_erf=yes
23284 else
23285 gcc_cv_math_func_erf=no
23287 rm -f core conftest.err conftest.$ac_objext \
23288 conftest$ac_exeext conftest.$ac_ext
23290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erf" >&5
23291 $as_echo "$gcc_cv_math_func_erf" >&6; }
23292 if test $gcc_cv_math_func_erf = yes; then
23294 cat >>confdefs.h <<_ACEOF
23295 #define HAVE_ERF 1
23296 _ACEOF
23303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfl" >&5
23304 $as_echo_n "checking for erfl... " >&6; }
23305 if test "${gcc_cv_math_func_erfl+set}" = set; then :
23306 $as_echo_n "(cached) " >&6
23307 else
23308 if test x$gcc_no_link = xyes; then
23309 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23312 /* end confdefs.h. */
23314 #ifdef HAVE_COMPLEX_H
23315 #include <complex.h>
23316 #endif
23317 #ifdef HAVE_MATH_H
23318 #include <math.h>
23319 #endif
23321 int (*ptr)() = (int (*)())erfl;
23324 main ()
23326 return 0;
23329 _ACEOF
23330 if ac_fn_c_try_link "$LINENO"; then :
23331 gcc_cv_math_func_erfl=yes
23332 else
23333 gcc_cv_math_func_erfl=no
23335 rm -f core conftest.err conftest.$ac_objext \
23336 conftest$ac_exeext conftest.$ac_ext
23338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfl" >&5
23339 $as_echo "$gcc_cv_math_func_erfl" >&6; }
23340 if test $gcc_cv_math_func_erfl = yes; then
23342 cat >>confdefs.h <<_ACEOF
23343 #define HAVE_ERFL 1
23344 _ACEOF
23351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcf" >&5
23352 $as_echo_n "checking for erfcf... " >&6; }
23353 if test "${gcc_cv_math_func_erfcf+set}" = set; then :
23354 $as_echo_n "(cached) " >&6
23355 else
23356 if test x$gcc_no_link = xyes; then
23357 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23360 /* end confdefs.h. */
23362 #ifdef HAVE_COMPLEX_H
23363 #include <complex.h>
23364 #endif
23365 #ifdef HAVE_MATH_H
23366 #include <math.h>
23367 #endif
23369 int (*ptr)() = (int (*)())erfcf;
23372 main ()
23374 return 0;
23377 _ACEOF
23378 if ac_fn_c_try_link "$LINENO"; then :
23379 gcc_cv_math_func_erfcf=yes
23380 else
23381 gcc_cv_math_func_erfcf=no
23383 rm -f core conftest.err conftest.$ac_objext \
23384 conftest$ac_exeext conftest.$ac_ext
23386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcf" >&5
23387 $as_echo "$gcc_cv_math_func_erfcf" >&6; }
23388 if test $gcc_cv_math_func_erfcf = yes; then
23390 cat >>confdefs.h <<_ACEOF
23391 #define HAVE_ERFCF 1
23392 _ACEOF
23399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfc" >&5
23400 $as_echo_n "checking for erfc... " >&6; }
23401 if test "${gcc_cv_math_func_erfc+set}" = set; then :
23402 $as_echo_n "(cached) " >&6
23403 else
23404 if test x$gcc_no_link = xyes; then
23405 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23408 /* end confdefs.h. */
23410 #ifdef HAVE_COMPLEX_H
23411 #include <complex.h>
23412 #endif
23413 #ifdef HAVE_MATH_H
23414 #include <math.h>
23415 #endif
23417 int (*ptr)() = (int (*)())erfc;
23420 main ()
23422 return 0;
23425 _ACEOF
23426 if ac_fn_c_try_link "$LINENO"; then :
23427 gcc_cv_math_func_erfc=yes
23428 else
23429 gcc_cv_math_func_erfc=no
23431 rm -f core conftest.err conftest.$ac_objext \
23432 conftest$ac_exeext conftest.$ac_ext
23434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfc" >&5
23435 $as_echo "$gcc_cv_math_func_erfc" >&6; }
23436 if test $gcc_cv_math_func_erfc = yes; then
23438 cat >>confdefs.h <<_ACEOF
23439 #define HAVE_ERFC 1
23440 _ACEOF
23447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcl" >&5
23448 $as_echo_n "checking for erfcl... " >&6; }
23449 if test "${gcc_cv_math_func_erfcl+set}" = set; then :
23450 $as_echo_n "(cached) " >&6
23451 else
23452 if test x$gcc_no_link = xyes; then
23453 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23456 /* end confdefs.h. */
23458 #ifdef HAVE_COMPLEX_H
23459 #include <complex.h>
23460 #endif
23461 #ifdef HAVE_MATH_H
23462 #include <math.h>
23463 #endif
23465 int (*ptr)() = (int (*)())erfcl;
23468 main ()
23470 return 0;
23473 _ACEOF
23474 if ac_fn_c_try_link "$LINENO"; then :
23475 gcc_cv_math_func_erfcl=yes
23476 else
23477 gcc_cv_math_func_erfcl=no
23479 rm -f core conftest.err conftest.$ac_objext \
23480 conftest$ac_exeext conftest.$ac_ext
23482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcl" >&5
23483 $as_echo "$gcc_cv_math_func_erfcl" >&6; }
23484 if test $gcc_cv_math_func_erfcl = yes; then
23486 cat >>confdefs.h <<_ACEOF
23487 #define HAVE_ERFCL 1
23488 _ACEOF
23495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0f" >&5
23496 $as_echo_n "checking for j0f... " >&6; }
23497 if test "${gcc_cv_math_func_j0f+set}" = set; then :
23498 $as_echo_n "(cached) " >&6
23499 else
23500 if test x$gcc_no_link = xyes; then
23501 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23504 /* end confdefs.h. */
23506 #ifdef HAVE_COMPLEX_H
23507 #include <complex.h>
23508 #endif
23509 #ifdef HAVE_MATH_H
23510 #include <math.h>
23511 #endif
23513 int (*ptr)() = (int (*)())j0f;
23516 main ()
23518 return 0;
23521 _ACEOF
23522 if ac_fn_c_try_link "$LINENO"; then :
23523 gcc_cv_math_func_j0f=yes
23524 else
23525 gcc_cv_math_func_j0f=no
23527 rm -f core conftest.err conftest.$ac_objext \
23528 conftest$ac_exeext conftest.$ac_ext
23530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0f" >&5
23531 $as_echo "$gcc_cv_math_func_j0f" >&6; }
23532 if test $gcc_cv_math_func_j0f = yes; then
23534 cat >>confdefs.h <<_ACEOF
23535 #define HAVE_J0F 1
23536 _ACEOF
23543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0" >&5
23544 $as_echo_n "checking for j0... " >&6; }
23545 if test "${gcc_cv_math_func_j0+set}" = set; then :
23546 $as_echo_n "(cached) " >&6
23547 else
23548 if test x$gcc_no_link = xyes; then
23549 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23552 /* end confdefs.h. */
23554 #ifdef HAVE_COMPLEX_H
23555 #include <complex.h>
23556 #endif
23557 #ifdef HAVE_MATH_H
23558 #include <math.h>
23559 #endif
23561 int (*ptr)() = (int (*)())j0;
23564 main ()
23566 return 0;
23569 _ACEOF
23570 if ac_fn_c_try_link "$LINENO"; then :
23571 gcc_cv_math_func_j0=yes
23572 else
23573 gcc_cv_math_func_j0=no
23575 rm -f core conftest.err conftest.$ac_objext \
23576 conftest$ac_exeext conftest.$ac_ext
23578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0" >&5
23579 $as_echo "$gcc_cv_math_func_j0" >&6; }
23580 if test $gcc_cv_math_func_j0 = yes; then
23582 cat >>confdefs.h <<_ACEOF
23583 #define HAVE_J0 1
23584 _ACEOF
23591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0l" >&5
23592 $as_echo_n "checking for j0l... " >&6; }
23593 if test "${gcc_cv_math_func_j0l+set}" = set; then :
23594 $as_echo_n "(cached) " >&6
23595 else
23596 if test x$gcc_no_link = xyes; then
23597 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23600 /* end confdefs.h. */
23602 #ifdef HAVE_COMPLEX_H
23603 #include <complex.h>
23604 #endif
23605 #ifdef HAVE_MATH_H
23606 #include <math.h>
23607 #endif
23609 int (*ptr)() = (int (*)())j0l;
23612 main ()
23614 return 0;
23617 _ACEOF
23618 if ac_fn_c_try_link "$LINENO"; then :
23619 gcc_cv_math_func_j0l=yes
23620 else
23621 gcc_cv_math_func_j0l=no
23623 rm -f core conftest.err conftest.$ac_objext \
23624 conftest$ac_exeext conftest.$ac_ext
23626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0l" >&5
23627 $as_echo "$gcc_cv_math_func_j0l" >&6; }
23628 if test $gcc_cv_math_func_j0l = yes; then
23630 cat >>confdefs.h <<_ACEOF
23631 #define HAVE_J0L 1
23632 _ACEOF
23639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1f" >&5
23640 $as_echo_n "checking for j1f... " >&6; }
23641 if test "${gcc_cv_math_func_j1f+set}" = set; then :
23642 $as_echo_n "(cached) " >&6
23643 else
23644 if test x$gcc_no_link = xyes; then
23645 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23648 /* end confdefs.h. */
23650 #ifdef HAVE_COMPLEX_H
23651 #include <complex.h>
23652 #endif
23653 #ifdef HAVE_MATH_H
23654 #include <math.h>
23655 #endif
23657 int (*ptr)() = (int (*)())j1f;
23660 main ()
23662 return 0;
23665 _ACEOF
23666 if ac_fn_c_try_link "$LINENO"; then :
23667 gcc_cv_math_func_j1f=yes
23668 else
23669 gcc_cv_math_func_j1f=no
23671 rm -f core conftest.err conftest.$ac_objext \
23672 conftest$ac_exeext conftest.$ac_ext
23674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1f" >&5
23675 $as_echo "$gcc_cv_math_func_j1f" >&6; }
23676 if test $gcc_cv_math_func_j1f = yes; then
23678 cat >>confdefs.h <<_ACEOF
23679 #define HAVE_J1F 1
23680 _ACEOF
23687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1" >&5
23688 $as_echo_n "checking for j1... " >&6; }
23689 if test "${gcc_cv_math_func_j1+set}" = set; then :
23690 $as_echo_n "(cached) " >&6
23691 else
23692 if test x$gcc_no_link = xyes; then
23693 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23696 /* end confdefs.h. */
23698 #ifdef HAVE_COMPLEX_H
23699 #include <complex.h>
23700 #endif
23701 #ifdef HAVE_MATH_H
23702 #include <math.h>
23703 #endif
23705 int (*ptr)() = (int (*)())j1;
23708 main ()
23710 return 0;
23713 _ACEOF
23714 if ac_fn_c_try_link "$LINENO"; then :
23715 gcc_cv_math_func_j1=yes
23716 else
23717 gcc_cv_math_func_j1=no
23719 rm -f core conftest.err conftest.$ac_objext \
23720 conftest$ac_exeext conftest.$ac_ext
23722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1" >&5
23723 $as_echo "$gcc_cv_math_func_j1" >&6; }
23724 if test $gcc_cv_math_func_j1 = yes; then
23726 cat >>confdefs.h <<_ACEOF
23727 #define HAVE_J1 1
23728 _ACEOF
23735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1l" >&5
23736 $as_echo_n "checking for j1l... " >&6; }
23737 if test "${gcc_cv_math_func_j1l+set}" = set; then :
23738 $as_echo_n "(cached) " >&6
23739 else
23740 if test x$gcc_no_link = xyes; then
23741 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23744 /* end confdefs.h. */
23746 #ifdef HAVE_COMPLEX_H
23747 #include <complex.h>
23748 #endif
23749 #ifdef HAVE_MATH_H
23750 #include <math.h>
23751 #endif
23753 int (*ptr)() = (int (*)())j1l;
23756 main ()
23758 return 0;
23761 _ACEOF
23762 if ac_fn_c_try_link "$LINENO"; then :
23763 gcc_cv_math_func_j1l=yes
23764 else
23765 gcc_cv_math_func_j1l=no
23767 rm -f core conftest.err conftest.$ac_objext \
23768 conftest$ac_exeext conftest.$ac_ext
23770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1l" >&5
23771 $as_echo "$gcc_cv_math_func_j1l" >&6; }
23772 if test $gcc_cv_math_func_j1l = yes; then
23774 cat >>confdefs.h <<_ACEOF
23775 #define HAVE_J1L 1
23776 _ACEOF
23783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnf" >&5
23784 $as_echo_n "checking for jnf... " >&6; }
23785 if test "${gcc_cv_math_func_jnf+set}" = set; then :
23786 $as_echo_n "(cached) " >&6
23787 else
23788 if test x$gcc_no_link = xyes; then
23789 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23792 /* end confdefs.h. */
23794 #ifdef HAVE_COMPLEX_H
23795 #include <complex.h>
23796 #endif
23797 #ifdef HAVE_MATH_H
23798 #include <math.h>
23799 #endif
23801 int (*ptr)() = (int (*)())jnf;
23804 main ()
23806 return 0;
23809 _ACEOF
23810 if ac_fn_c_try_link "$LINENO"; then :
23811 gcc_cv_math_func_jnf=yes
23812 else
23813 gcc_cv_math_func_jnf=no
23815 rm -f core conftest.err conftest.$ac_objext \
23816 conftest$ac_exeext conftest.$ac_ext
23818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnf" >&5
23819 $as_echo "$gcc_cv_math_func_jnf" >&6; }
23820 if test $gcc_cv_math_func_jnf = yes; then
23822 cat >>confdefs.h <<_ACEOF
23823 #define HAVE_JNF 1
23824 _ACEOF
23831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jn" >&5
23832 $as_echo_n "checking for jn... " >&6; }
23833 if test "${gcc_cv_math_func_jn+set}" = set; then :
23834 $as_echo_n "(cached) " >&6
23835 else
23836 if test x$gcc_no_link = xyes; then
23837 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23840 /* end confdefs.h. */
23842 #ifdef HAVE_COMPLEX_H
23843 #include <complex.h>
23844 #endif
23845 #ifdef HAVE_MATH_H
23846 #include <math.h>
23847 #endif
23849 int (*ptr)() = (int (*)())jn;
23852 main ()
23854 return 0;
23857 _ACEOF
23858 if ac_fn_c_try_link "$LINENO"; then :
23859 gcc_cv_math_func_jn=yes
23860 else
23861 gcc_cv_math_func_jn=no
23863 rm -f core conftest.err conftest.$ac_objext \
23864 conftest$ac_exeext conftest.$ac_ext
23866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jn" >&5
23867 $as_echo "$gcc_cv_math_func_jn" >&6; }
23868 if test $gcc_cv_math_func_jn = yes; then
23870 cat >>confdefs.h <<_ACEOF
23871 #define HAVE_JN 1
23872 _ACEOF
23879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnl" >&5
23880 $as_echo_n "checking for jnl... " >&6; }
23881 if test "${gcc_cv_math_func_jnl+set}" = set; then :
23882 $as_echo_n "(cached) " >&6
23883 else
23884 if test x$gcc_no_link = xyes; then
23885 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23888 /* end confdefs.h. */
23890 #ifdef HAVE_COMPLEX_H
23891 #include <complex.h>
23892 #endif
23893 #ifdef HAVE_MATH_H
23894 #include <math.h>
23895 #endif
23897 int (*ptr)() = (int (*)())jnl;
23900 main ()
23902 return 0;
23905 _ACEOF
23906 if ac_fn_c_try_link "$LINENO"; then :
23907 gcc_cv_math_func_jnl=yes
23908 else
23909 gcc_cv_math_func_jnl=no
23911 rm -f core conftest.err conftest.$ac_objext \
23912 conftest$ac_exeext conftest.$ac_ext
23914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnl" >&5
23915 $as_echo "$gcc_cv_math_func_jnl" >&6; }
23916 if test $gcc_cv_math_func_jnl = yes; then
23918 cat >>confdefs.h <<_ACEOF
23919 #define HAVE_JNL 1
23920 _ACEOF
23927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0f" >&5
23928 $as_echo_n "checking for y0f... " >&6; }
23929 if test "${gcc_cv_math_func_y0f+set}" = set; then :
23930 $as_echo_n "(cached) " >&6
23931 else
23932 if test x$gcc_no_link = xyes; then
23933 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23936 /* end confdefs.h. */
23938 #ifdef HAVE_COMPLEX_H
23939 #include <complex.h>
23940 #endif
23941 #ifdef HAVE_MATH_H
23942 #include <math.h>
23943 #endif
23945 int (*ptr)() = (int (*)())y0f;
23948 main ()
23950 return 0;
23953 _ACEOF
23954 if ac_fn_c_try_link "$LINENO"; then :
23955 gcc_cv_math_func_y0f=yes
23956 else
23957 gcc_cv_math_func_y0f=no
23959 rm -f core conftest.err conftest.$ac_objext \
23960 conftest$ac_exeext conftest.$ac_ext
23962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0f" >&5
23963 $as_echo "$gcc_cv_math_func_y0f" >&6; }
23964 if test $gcc_cv_math_func_y0f = yes; then
23966 cat >>confdefs.h <<_ACEOF
23967 #define HAVE_Y0F 1
23968 _ACEOF
23975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0" >&5
23976 $as_echo_n "checking for y0... " >&6; }
23977 if test "${gcc_cv_math_func_y0+set}" = set; then :
23978 $as_echo_n "(cached) " >&6
23979 else
23980 if test x$gcc_no_link = xyes; then
23981 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23984 /* end confdefs.h. */
23986 #ifdef HAVE_COMPLEX_H
23987 #include <complex.h>
23988 #endif
23989 #ifdef HAVE_MATH_H
23990 #include <math.h>
23991 #endif
23993 int (*ptr)() = (int (*)())y0;
23996 main ()
23998 return 0;
24001 _ACEOF
24002 if ac_fn_c_try_link "$LINENO"; then :
24003 gcc_cv_math_func_y0=yes
24004 else
24005 gcc_cv_math_func_y0=no
24007 rm -f core conftest.err conftest.$ac_objext \
24008 conftest$ac_exeext conftest.$ac_ext
24010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0" >&5
24011 $as_echo "$gcc_cv_math_func_y0" >&6; }
24012 if test $gcc_cv_math_func_y0 = yes; then
24014 cat >>confdefs.h <<_ACEOF
24015 #define HAVE_Y0 1
24016 _ACEOF
24023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0l" >&5
24024 $as_echo_n "checking for y0l... " >&6; }
24025 if test "${gcc_cv_math_func_y0l+set}" = set; then :
24026 $as_echo_n "(cached) " >&6
24027 else
24028 if test x$gcc_no_link = xyes; then
24029 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24032 /* end confdefs.h. */
24034 #ifdef HAVE_COMPLEX_H
24035 #include <complex.h>
24036 #endif
24037 #ifdef HAVE_MATH_H
24038 #include <math.h>
24039 #endif
24041 int (*ptr)() = (int (*)())y0l;
24044 main ()
24046 return 0;
24049 _ACEOF
24050 if ac_fn_c_try_link "$LINENO"; then :
24051 gcc_cv_math_func_y0l=yes
24052 else
24053 gcc_cv_math_func_y0l=no
24055 rm -f core conftest.err conftest.$ac_objext \
24056 conftest$ac_exeext conftest.$ac_ext
24058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0l" >&5
24059 $as_echo "$gcc_cv_math_func_y0l" >&6; }
24060 if test $gcc_cv_math_func_y0l = yes; then
24062 cat >>confdefs.h <<_ACEOF
24063 #define HAVE_Y0L 1
24064 _ACEOF
24071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1f" >&5
24072 $as_echo_n "checking for y1f... " >&6; }
24073 if test "${gcc_cv_math_func_y1f+set}" = set; then :
24074 $as_echo_n "(cached) " >&6
24075 else
24076 if test x$gcc_no_link = xyes; then
24077 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24080 /* end confdefs.h. */
24082 #ifdef HAVE_COMPLEX_H
24083 #include <complex.h>
24084 #endif
24085 #ifdef HAVE_MATH_H
24086 #include <math.h>
24087 #endif
24089 int (*ptr)() = (int (*)())y1f;
24092 main ()
24094 return 0;
24097 _ACEOF
24098 if ac_fn_c_try_link "$LINENO"; then :
24099 gcc_cv_math_func_y1f=yes
24100 else
24101 gcc_cv_math_func_y1f=no
24103 rm -f core conftest.err conftest.$ac_objext \
24104 conftest$ac_exeext conftest.$ac_ext
24106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1f" >&5
24107 $as_echo "$gcc_cv_math_func_y1f" >&6; }
24108 if test $gcc_cv_math_func_y1f = yes; then
24110 cat >>confdefs.h <<_ACEOF
24111 #define HAVE_Y1F 1
24112 _ACEOF
24119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1" >&5
24120 $as_echo_n "checking for y1... " >&6; }
24121 if test "${gcc_cv_math_func_y1+set}" = set; then :
24122 $as_echo_n "(cached) " >&6
24123 else
24124 if test x$gcc_no_link = xyes; then
24125 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24128 /* end confdefs.h. */
24130 #ifdef HAVE_COMPLEX_H
24131 #include <complex.h>
24132 #endif
24133 #ifdef HAVE_MATH_H
24134 #include <math.h>
24135 #endif
24137 int (*ptr)() = (int (*)())y1;
24140 main ()
24142 return 0;
24145 _ACEOF
24146 if ac_fn_c_try_link "$LINENO"; then :
24147 gcc_cv_math_func_y1=yes
24148 else
24149 gcc_cv_math_func_y1=no
24151 rm -f core conftest.err conftest.$ac_objext \
24152 conftest$ac_exeext conftest.$ac_ext
24154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1" >&5
24155 $as_echo "$gcc_cv_math_func_y1" >&6; }
24156 if test $gcc_cv_math_func_y1 = yes; then
24158 cat >>confdefs.h <<_ACEOF
24159 #define HAVE_Y1 1
24160 _ACEOF
24167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1l" >&5
24168 $as_echo_n "checking for y1l... " >&6; }
24169 if test "${gcc_cv_math_func_y1l+set}" = set; then :
24170 $as_echo_n "(cached) " >&6
24171 else
24172 if test x$gcc_no_link = xyes; then
24173 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24176 /* end confdefs.h. */
24178 #ifdef HAVE_COMPLEX_H
24179 #include <complex.h>
24180 #endif
24181 #ifdef HAVE_MATH_H
24182 #include <math.h>
24183 #endif
24185 int (*ptr)() = (int (*)())y1l;
24188 main ()
24190 return 0;
24193 _ACEOF
24194 if ac_fn_c_try_link "$LINENO"; then :
24195 gcc_cv_math_func_y1l=yes
24196 else
24197 gcc_cv_math_func_y1l=no
24199 rm -f core conftest.err conftest.$ac_objext \
24200 conftest$ac_exeext conftest.$ac_ext
24202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1l" >&5
24203 $as_echo "$gcc_cv_math_func_y1l" >&6; }
24204 if test $gcc_cv_math_func_y1l = yes; then
24206 cat >>confdefs.h <<_ACEOF
24207 #define HAVE_Y1L 1
24208 _ACEOF
24215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynf" >&5
24216 $as_echo_n "checking for ynf... " >&6; }
24217 if test "${gcc_cv_math_func_ynf+set}" = set; then :
24218 $as_echo_n "(cached) " >&6
24219 else
24220 if test x$gcc_no_link = xyes; then
24221 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24224 /* end confdefs.h. */
24226 #ifdef HAVE_COMPLEX_H
24227 #include <complex.h>
24228 #endif
24229 #ifdef HAVE_MATH_H
24230 #include <math.h>
24231 #endif
24233 int (*ptr)() = (int (*)())ynf;
24236 main ()
24238 return 0;
24241 _ACEOF
24242 if ac_fn_c_try_link "$LINENO"; then :
24243 gcc_cv_math_func_ynf=yes
24244 else
24245 gcc_cv_math_func_ynf=no
24247 rm -f core conftest.err conftest.$ac_objext \
24248 conftest$ac_exeext conftest.$ac_ext
24250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynf" >&5
24251 $as_echo "$gcc_cv_math_func_ynf" >&6; }
24252 if test $gcc_cv_math_func_ynf = yes; then
24254 cat >>confdefs.h <<_ACEOF
24255 #define HAVE_YNF 1
24256 _ACEOF
24263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for yn" >&5
24264 $as_echo_n "checking for yn... " >&6; }
24265 if test "${gcc_cv_math_func_yn+set}" = set; then :
24266 $as_echo_n "(cached) " >&6
24267 else
24268 if test x$gcc_no_link = xyes; then
24269 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24272 /* end confdefs.h. */
24274 #ifdef HAVE_COMPLEX_H
24275 #include <complex.h>
24276 #endif
24277 #ifdef HAVE_MATH_H
24278 #include <math.h>
24279 #endif
24281 int (*ptr)() = (int (*)())yn;
24284 main ()
24286 return 0;
24289 _ACEOF
24290 if ac_fn_c_try_link "$LINENO"; then :
24291 gcc_cv_math_func_yn=yes
24292 else
24293 gcc_cv_math_func_yn=no
24295 rm -f core conftest.err conftest.$ac_objext \
24296 conftest$ac_exeext conftest.$ac_ext
24298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_yn" >&5
24299 $as_echo "$gcc_cv_math_func_yn" >&6; }
24300 if test $gcc_cv_math_func_yn = yes; then
24302 cat >>confdefs.h <<_ACEOF
24303 #define HAVE_YN 1
24304 _ACEOF
24311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynl" >&5
24312 $as_echo_n "checking for ynl... " >&6; }
24313 if test "${gcc_cv_math_func_ynl+set}" = set; then :
24314 $as_echo_n "(cached) " >&6
24315 else
24316 if test x$gcc_no_link = xyes; then
24317 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24320 /* end confdefs.h. */
24322 #ifdef HAVE_COMPLEX_H
24323 #include <complex.h>
24324 #endif
24325 #ifdef HAVE_MATH_H
24326 #include <math.h>
24327 #endif
24329 int (*ptr)() = (int (*)())ynl;
24332 main ()
24334 return 0;
24337 _ACEOF
24338 if ac_fn_c_try_link "$LINENO"; then :
24339 gcc_cv_math_func_ynl=yes
24340 else
24341 gcc_cv_math_func_ynl=no
24343 rm -f core conftest.err conftest.$ac_objext \
24344 conftest$ac_exeext conftest.$ac_ext
24346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynl" >&5
24347 $as_echo "$gcc_cv_math_func_ynl" >&6; }
24348 if test $gcc_cv_math_func_ynl = yes; then
24350 cat >>confdefs.h <<_ACEOF
24351 #define HAVE_YNL 1
24352 _ACEOF
24359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgamma" >&5
24360 $as_echo_n "checking for tgamma... " >&6; }
24361 if test "${gcc_cv_math_func_tgamma+set}" = set; then :
24362 $as_echo_n "(cached) " >&6
24363 else
24364 if test x$gcc_no_link = xyes; then
24365 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24368 /* end confdefs.h. */
24370 #ifdef HAVE_COMPLEX_H
24371 #include <complex.h>
24372 #endif
24373 #ifdef HAVE_MATH_H
24374 #include <math.h>
24375 #endif
24377 int (*ptr)() = (int (*)())tgamma;
24380 main ()
24382 return 0;
24385 _ACEOF
24386 if ac_fn_c_try_link "$LINENO"; then :
24387 gcc_cv_math_func_tgamma=yes
24388 else
24389 gcc_cv_math_func_tgamma=no
24391 rm -f core conftest.err conftest.$ac_objext \
24392 conftest$ac_exeext conftest.$ac_ext
24394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgamma" >&5
24395 $as_echo "$gcc_cv_math_func_tgamma" >&6; }
24396 if test $gcc_cv_math_func_tgamma = yes; then
24398 cat >>confdefs.h <<_ACEOF
24399 #define HAVE_TGAMMA 1
24400 _ACEOF
24407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammaf" >&5
24408 $as_echo_n "checking for tgammaf... " >&6; }
24409 if test "${gcc_cv_math_func_tgammaf+set}" = set; then :
24410 $as_echo_n "(cached) " >&6
24411 else
24412 if test x$gcc_no_link = xyes; then
24413 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24416 /* end confdefs.h. */
24418 #ifdef HAVE_COMPLEX_H
24419 #include <complex.h>
24420 #endif
24421 #ifdef HAVE_MATH_H
24422 #include <math.h>
24423 #endif
24425 int (*ptr)() = (int (*)())tgammaf;
24428 main ()
24430 return 0;
24433 _ACEOF
24434 if ac_fn_c_try_link "$LINENO"; then :
24435 gcc_cv_math_func_tgammaf=yes
24436 else
24437 gcc_cv_math_func_tgammaf=no
24439 rm -f core conftest.err conftest.$ac_objext \
24440 conftest$ac_exeext conftest.$ac_ext
24442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgammaf" >&5
24443 $as_echo "$gcc_cv_math_func_tgammaf" >&6; }
24444 if test $gcc_cv_math_func_tgammaf = yes; then
24446 cat >>confdefs.h <<_ACEOF
24447 #define HAVE_TGAMMAF 1
24448 _ACEOF
24455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammal" >&5
24456 $as_echo_n "checking for tgammal... " >&6; }
24457 if test "${gcc_cv_math_func_tgammal+set}" = set; then :
24458 $as_echo_n "(cached) " >&6
24459 else
24460 if test x$gcc_no_link = xyes; then
24461 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24464 /* end confdefs.h. */
24466 #ifdef HAVE_COMPLEX_H
24467 #include <complex.h>
24468 #endif
24469 #ifdef HAVE_MATH_H
24470 #include <math.h>
24471 #endif
24473 int (*ptr)() = (int (*)())tgammal;
24476 main ()
24478 return 0;
24481 _ACEOF
24482 if ac_fn_c_try_link "$LINENO"; then :
24483 gcc_cv_math_func_tgammal=yes
24484 else
24485 gcc_cv_math_func_tgammal=no
24487 rm -f core conftest.err conftest.$ac_objext \
24488 conftest$ac_exeext conftest.$ac_ext
24490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgammal" >&5
24491 $as_echo "$gcc_cv_math_func_tgammal" >&6; }
24492 if test $gcc_cv_math_func_tgammal = yes; then
24494 cat >>confdefs.h <<_ACEOF
24495 #define HAVE_TGAMMAL 1
24496 _ACEOF
24503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgamma" >&5
24504 $as_echo_n "checking for lgamma... " >&6; }
24505 if test "${gcc_cv_math_func_lgamma+set}" = set; then :
24506 $as_echo_n "(cached) " >&6
24507 else
24508 if test x$gcc_no_link = xyes; then
24509 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24512 /* end confdefs.h. */
24514 #ifdef HAVE_COMPLEX_H
24515 #include <complex.h>
24516 #endif
24517 #ifdef HAVE_MATH_H
24518 #include <math.h>
24519 #endif
24521 int (*ptr)() = (int (*)())lgamma;
24524 main ()
24526 return 0;
24529 _ACEOF
24530 if ac_fn_c_try_link "$LINENO"; then :
24531 gcc_cv_math_func_lgamma=yes
24532 else
24533 gcc_cv_math_func_lgamma=no
24535 rm -f core conftest.err conftest.$ac_objext \
24536 conftest$ac_exeext conftest.$ac_ext
24538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgamma" >&5
24539 $as_echo "$gcc_cv_math_func_lgamma" >&6; }
24540 if test $gcc_cv_math_func_lgamma = yes; then
24542 cat >>confdefs.h <<_ACEOF
24543 #define HAVE_LGAMMA 1
24544 _ACEOF
24551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammaf" >&5
24552 $as_echo_n "checking for lgammaf... " >&6; }
24553 if test "${gcc_cv_math_func_lgammaf+set}" = set; then :
24554 $as_echo_n "(cached) " >&6
24555 else
24556 if test x$gcc_no_link = xyes; then
24557 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24560 /* end confdefs.h. */
24562 #ifdef HAVE_COMPLEX_H
24563 #include <complex.h>
24564 #endif
24565 #ifdef HAVE_MATH_H
24566 #include <math.h>
24567 #endif
24569 int (*ptr)() = (int (*)())lgammaf;
24572 main ()
24574 return 0;
24577 _ACEOF
24578 if ac_fn_c_try_link "$LINENO"; then :
24579 gcc_cv_math_func_lgammaf=yes
24580 else
24581 gcc_cv_math_func_lgammaf=no
24583 rm -f core conftest.err conftest.$ac_objext \
24584 conftest$ac_exeext conftest.$ac_ext
24586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgammaf" >&5
24587 $as_echo "$gcc_cv_math_func_lgammaf" >&6; }
24588 if test $gcc_cv_math_func_lgammaf = yes; then
24590 cat >>confdefs.h <<_ACEOF
24591 #define HAVE_LGAMMAF 1
24592 _ACEOF
24599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammal" >&5
24600 $as_echo_n "checking for lgammal... " >&6; }
24601 if test "${gcc_cv_math_func_lgammal+set}" = set; then :
24602 $as_echo_n "(cached) " >&6
24603 else
24604 if test x$gcc_no_link = xyes; then
24605 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24608 /* end confdefs.h. */
24610 #ifdef HAVE_COMPLEX_H
24611 #include <complex.h>
24612 #endif
24613 #ifdef HAVE_MATH_H
24614 #include <math.h>
24615 #endif
24617 int (*ptr)() = (int (*)())lgammal;
24620 main ()
24622 return 0;
24625 _ACEOF
24626 if ac_fn_c_try_link "$LINENO"; then :
24627 gcc_cv_math_func_lgammal=yes
24628 else
24629 gcc_cv_math_func_lgammal=no
24631 rm -f core conftest.err conftest.$ac_objext \
24632 conftest$ac_exeext conftest.$ac_ext
24634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgammal" >&5
24635 $as_echo "$gcc_cv_math_func_lgammal" >&6; }
24636 if test $gcc_cv_math_func_lgammal = yes; then
24638 cat >>confdefs.h <<_ACEOF
24639 #define HAVE_LGAMMAL 1
24640 _ACEOF
24645 # Check for GFORTRAN_C99_1.1 funcs
24649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacos" >&5
24650 $as_echo_n "checking for cacos... " >&6; }
24651 if test "${gcc_cv_math_func_cacos+set}" = set; then :
24652 $as_echo_n "(cached) " >&6
24653 else
24654 if test x$gcc_no_link = xyes; then
24655 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24658 /* end confdefs.h. */
24660 #ifdef HAVE_COMPLEX_H
24661 #include <complex.h>
24662 #endif
24663 #ifdef HAVE_MATH_H
24664 #include <math.h>
24665 #endif
24667 int (*ptr)() = (int (*)())cacos;
24670 main ()
24672 return 0;
24675 _ACEOF
24676 if ac_fn_c_try_link "$LINENO"; then :
24677 gcc_cv_math_func_cacos=yes
24678 else
24679 gcc_cv_math_func_cacos=no
24681 rm -f core conftest.err conftest.$ac_objext \
24682 conftest$ac_exeext conftest.$ac_ext
24684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacos" >&5
24685 $as_echo "$gcc_cv_math_func_cacos" >&6; }
24686 if test $gcc_cv_math_func_cacos = yes; then
24688 cat >>confdefs.h <<_ACEOF
24689 #define HAVE_CACOS 1
24690 _ACEOF
24697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosf" >&5
24698 $as_echo_n "checking for cacosf... " >&6; }
24699 if test "${gcc_cv_math_func_cacosf+set}" = set; then :
24700 $as_echo_n "(cached) " >&6
24701 else
24702 if test x$gcc_no_link = xyes; then
24703 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24706 /* end confdefs.h. */
24708 #ifdef HAVE_COMPLEX_H
24709 #include <complex.h>
24710 #endif
24711 #ifdef HAVE_MATH_H
24712 #include <math.h>
24713 #endif
24715 int (*ptr)() = (int (*)())cacosf;
24718 main ()
24720 return 0;
24723 _ACEOF
24724 if ac_fn_c_try_link "$LINENO"; then :
24725 gcc_cv_math_func_cacosf=yes
24726 else
24727 gcc_cv_math_func_cacosf=no
24729 rm -f core conftest.err conftest.$ac_objext \
24730 conftest$ac_exeext conftest.$ac_ext
24732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosf" >&5
24733 $as_echo "$gcc_cv_math_func_cacosf" >&6; }
24734 if test $gcc_cv_math_func_cacosf = yes; then
24736 cat >>confdefs.h <<_ACEOF
24737 #define HAVE_CACOSF 1
24738 _ACEOF
24745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosh" >&5
24746 $as_echo_n "checking for cacosh... " >&6; }
24747 if test "${gcc_cv_math_func_cacosh+set}" = set; then :
24748 $as_echo_n "(cached) " >&6
24749 else
24750 if test x$gcc_no_link = xyes; then
24751 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24754 /* end confdefs.h. */
24756 #ifdef HAVE_COMPLEX_H
24757 #include <complex.h>
24758 #endif
24759 #ifdef HAVE_MATH_H
24760 #include <math.h>
24761 #endif
24763 int (*ptr)() = (int (*)())cacosh;
24766 main ()
24768 return 0;
24771 _ACEOF
24772 if ac_fn_c_try_link "$LINENO"; then :
24773 gcc_cv_math_func_cacosh=yes
24774 else
24775 gcc_cv_math_func_cacosh=no
24777 rm -f core conftest.err conftest.$ac_objext \
24778 conftest$ac_exeext conftest.$ac_ext
24780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosh" >&5
24781 $as_echo "$gcc_cv_math_func_cacosh" >&6; }
24782 if test $gcc_cv_math_func_cacosh = yes; then
24784 cat >>confdefs.h <<_ACEOF
24785 #define HAVE_CACOSH 1
24786 _ACEOF
24793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshf" >&5
24794 $as_echo_n "checking for cacoshf... " >&6; }
24795 if test "${gcc_cv_math_func_cacoshf+set}" = set; then :
24796 $as_echo_n "(cached) " >&6
24797 else
24798 if test x$gcc_no_link = xyes; then
24799 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24802 /* end confdefs.h. */
24804 #ifdef HAVE_COMPLEX_H
24805 #include <complex.h>
24806 #endif
24807 #ifdef HAVE_MATH_H
24808 #include <math.h>
24809 #endif
24811 int (*ptr)() = (int (*)())cacoshf;
24814 main ()
24816 return 0;
24819 _ACEOF
24820 if ac_fn_c_try_link "$LINENO"; then :
24821 gcc_cv_math_func_cacoshf=yes
24822 else
24823 gcc_cv_math_func_cacoshf=no
24825 rm -f core conftest.err conftest.$ac_objext \
24826 conftest$ac_exeext conftest.$ac_ext
24828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshf" >&5
24829 $as_echo "$gcc_cv_math_func_cacoshf" >&6; }
24830 if test $gcc_cv_math_func_cacoshf = yes; then
24832 cat >>confdefs.h <<_ACEOF
24833 #define HAVE_CACOSHF 1
24834 _ACEOF
24841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshl" >&5
24842 $as_echo_n "checking for cacoshl... " >&6; }
24843 if test "${gcc_cv_math_func_cacoshl+set}" = set; then :
24844 $as_echo_n "(cached) " >&6
24845 else
24846 if test x$gcc_no_link = xyes; then
24847 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24850 /* end confdefs.h. */
24852 #ifdef HAVE_COMPLEX_H
24853 #include <complex.h>
24854 #endif
24855 #ifdef HAVE_MATH_H
24856 #include <math.h>
24857 #endif
24859 int (*ptr)() = (int (*)())cacoshl;
24862 main ()
24864 return 0;
24867 _ACEOF
24868 if ac_fn_c_try_link "$LINENO"; then :
24869 gcc_cv_math_func_cacoshl=yes
24870 else
24871 gcc_cv_math_func_cacoshl=no
24873 rm -f core conftest.err conftest.$ac_objext \
24874 conftest$ac_exeext conftest.$ac_ext
24876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshl" >&5
24877 $as_echo "$gcc_cv_math_func_cacoshl" >&6; }
24878 if test $gcc_cv_math_func_cacoshl = yes; then
24880 cat >>confdefs.h <<_ACEOF
24881 #define HAVE_CACOSHL 1
24882 _ACEOF
24889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosl" >&5
24890 $as_echo_n "checking for cacosl... " >&6; }
24891 if test "${gcc_cv_math_func_cacosl+set}" = set; then :
24892 $as_echo_n "(cached) " >&6
24893 else
24894 if test x$gcc_no_link = xyes; then
24895 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24898 /* end confdefs.h. */
24900 #ifdef HAVE_COMPLEX_H
24901 #include <complex.h>
24902 #endif
24903 #ifdef HAVE_MATH_H
24904 #include <math.h>
24905 #endif
24907 int (*ptr)() = (int (*)())cacosl;
24910 main ()
24912 return 0;
24915 _ACEOF
24916 if ac_fn_c_try_link "$LINENO"; then :
24917 gcc_cv_math_func_cacosl=yes
24918 else
24919 gcc_cv_math_func_cacosl=no
24921 rm -f core conftest.err conftest.$ac_objext \
24922 conftest$ac_exeext conftest.$ac_ext
24924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosl" >&5
24925 $as_echo "$gcc_cv_math_func_cacosl" >&6; }
24926 if test $gcc_cv_math_func_cacosl = yes; then
24928 cat >>confdefs.h <<_ACEOF
24929 #define HAVE_CACOSL 1
24930 _ACEOF
24937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casin" >&5
24938 $as_echo_n "checking for casin... " >&6; }
24939 if test "${gcc_cv_math_func_casin+set}" = set; then :
24940 $as_echo_n "(cached) " >&6
24941 else
24942 if test x$gcc_no_link = xyes; then
24943 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24946 /* end confdefs.h. */
24948 #ifdef HAVE_COMPLEX_H
24949 #include <complex.h>
24950 #endif
24951 #ifdef HAVE_MATH_H
24952 #include <math.h>
24953 #endif
24955 int (*ptr)() = (int (*)())casin;
24958 main ()
24960 return 0;
24963 _ACEOF
24964 if ac_fn_c_try_link "$LINENO"; then :
24965 gcc_cv_math_func_casin=yes
24966 else
24967 gcc_cv_math_func_casin=no
24969 rm -f core conftest.err conftest.$ac_objext \
24970 conftest$ac_exeext conftest.$ac_ext
24972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casin" >&5
24973 $as_echo "$gcc_cv_math_func_casin" >&6; }
24974 if test $gcc_cv_math_func_casin = yes; then
24976 cat >>confdefs.h <<_ACEOF
24977 #define HAVE_CASIN 1
24978 _ACEOF
24985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinf" >&5
24986 $as_echo_n "checking for casinf... " >&6; }
24987 if test "${gcc_cv_math_func_casinf+set}" = set; then :
24988 $as_echo_n "(cached) " >&6
24989 else
24990 if test x$gcc_no_link = xyes; then
24991 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24994 /* end confdefs.h. */
24996 #ifdef HAVE_COMPLEX_H
24997 #include <complex.h>
24998 #endif
24999 #ifdef HAVE_MATH_H
25000 #include <math.h>
25001 #endif
25003 int (*ptr)() = (int (*)())casinf;
25006 main ()
25008 return 0;
25011 _ACEOF
25012 if ac_fn_c_try_link "$LINENO"; then :
25013 gcc_cv_math_func_casinf=yes
25014 else
25015 gcc_cv_math_func_casinf=no
25017 rm -f core conftest.err conftest.$ac_objext \
25018 conftest$ac_exeext conftest.$ac_ext
25020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinf" >&5
25021 $as_echo "$gcc_cv_math_func_casinf" >&6; }
25022 if test $gcc_cv_math_func_casinf = yes; then
25024 cat >>confdefs.h <<_ACEOF
25025 #define HAVE_CASINF 1
25026 _ACEOF
25033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinh" >&5
25034 $as_echo_n "checking for casinh... " >&6; }
25035 if test "${gcc_cv_math_func_casinh+set}" = set; then :
25036 $as_echo_n "(cached) " >&6
25037 else
25038 if test x$gcc_no_link = xyes; then
25039 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25042 /* end confdefs.h. */
25044 #ifdef HAVE_COMPLEX_H
25045 #include <complex.h>
25046 #endif
25047 #ifdef HAVE_MATH_H
25048 #include <math.h>
25049 #endif
25051 int (*ptr)() = (int (*)())casinh;
25054 main ()
25056 return 0;
25059 _ACEOF
25060 if ac_fn_c_try_link "$LINENO"; then :
25061 gcc_cv_math_func_casinh=yes
25062 else
25063 gcc_cv_math_func_casinh=no
25065 rm -f core conftest.err conftest.$ac_objext \
25066 conftest$ac_exeext conftest.$ac_ext
25068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinh" >&5
25069 $as_echo "$gcc_cv_math_func_casinh" >&6; }
25070 if test $gcc_cv_math_func_casinh = yes; then
25072 cat >>confdefs.h <<_ACEOF
25073 #define HAVE_CASINH 1
25074 _ACEOF
25081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhf" >&5
25082 $as_echo_n "checking for casinhf... " >&6; }
25083 if test "${gcc_cv_math_func_casinhf+set}" = set; then :
25084 $as_echo_n "(cached) " >&6
25085 else
25086 if test x$gcc_no_link = xyes; then
25087 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25090 /* end confdefs.h. */
25092 #ifdef HAVE_COMPLEX_H
25093 #include <complex.h>
25094 #endif
25095 #ifdef HAVE_MATH_H
25096 #include <math.h>
25097 #endif
25099 int (*ptr)() = (int (*)())casinhf;
25102 main ()
25104 return 0;
25107 _ACEOF
25108 if ac_fn_c_try_link "$LINENO"; then :
25109 gcc_cv_math_func_casinhf=yes
25110 else
25111 gcc_cv_math_func_casinhf=no
25113 rm -f core conftest.err conftest.$ac_objext \
25114 conftest$ac_exeext conftest.$ac_ext
25116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhf" >&5
25117 $as_echo "$gcc_cv_math_func_casinhf" >&6; }
25118 if test $gcc_cv_math_func_casinhf = yes; then
25120 cat >>confdefs.h <<_ACEOF
25121 #define HAVE_CASINHF 1
25122 _ACEOF
25129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhl" >&5
25130 $as_echo_n "checking for casinhl... " >&6; }
25131 if test "${gcc_cv_math_func_casinhl+set}" = set; then :
25132 $as_echo_n "(cached) " >&6
25133 else
25134 if test x$gcc_no_link = xyes; then
25135 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25138 /* end confdefs.h. */
25140 #ifdef HAVE_COMPLEX_H
25141 #include <complex.h>
25142 #endif
25143 #ifdef HAVE_MATH_H
25144 #include <math.h>
25145 #endif
25147 int (*ptr)() = (int (*)())casinhl;
25150 main ()
25152 return 0;
25155 _ACEOF
25156 if ac_fn_c_try_link "$LINENO"; then :
25157 gcc_cv_math_func_casinhl=yes
25158 else
25159 gcc_cv_math_func_casinhl=no
25161 rm -f core conftest.err conftest.$ac_objext \
25162 conftest$ac_exeext conftest.$ac_ext
25164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhl" >&5
25165 $as_echo "$gcc_cv_math_func_casinhl" >&6; }
25166 if test $gcc_cv_math_func_casinhl = yes; then
25168 cat >>confdefs.h <<_ACEOF
25169 #define HAVE_CASINHL 1
25170 _ACEOF
25177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinl" >&5
25178 $as_echo_n "checking for casinl... " >&6; }
25179 if test "${gcc_cv_math_func_casinl+set}" = set; then :
25180 $as_echo_n "(cached) " >&6
25181 else
25182 if test x$gcc_no_link = xyes; then
25183 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25186 /* end confdefs.h. */
25188 #ifdef HAVE_COMPLEX_H
25189 #include <complex.h>
25190 #endif
25191 #ifdef HAVE_MATH_H
25192 #include <math.h>
25193 #endif
25195 int (*ptr)() = (int (*)())casinl;
25198 main ()
25200 return 0;
25203 _ACEOF
25204 if ac_fn_c_try_link "$LINENO"; then :
25205 gcc_cv_math_func_casinl=yes
25206 else
25207 gcc_cv_math_func_casinl=no
25209 rm -f core conftest.err conftest.$ac_objext \
25210 conftest$ac_exeext conftest.$ac_ext
25212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinl" >&5
25213 $as_echo "$gcc_cv_math_func_casinl" >&6; }
25214 if test $gcc_cv_math_func_casinl = yes; then
25216 cat >>confdefs.h <<_ACEOF
25217 #define HAVE_CASINL 1
25218 _ACEOF
25225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catan" >&5
25226 $as_echo_n "checking for catan... " >&6; }
25227 if test "${gcc_cv_math_func_catan+set}" = set; then :
25228 $as_echo_n "(cached) " >&6
25229 else
25230 if test x$gcc_no_link = xyes; then
25231 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25234 /* end confdefs.h. */
25236 #ifdef HAVE_COMPLEX_H
25237 #include <complex.h>
25238 #endif
25239 #ifdef HAVE_MATH_H
25240 #include <math.h>
25241 #endif
25243 int (*ptr)() = (int (*)())catan;
25246 main ()
25248 return 0;
25251 _ACEOF
25252 if ac_fn_c_try_link "$LINENO"; then :
25253 gcc_cv_math_func_catan=yes
25254 else
25255 gcc_cv_math_func_catan=no
25257 rm -f core conftest.err conftest.$ac_objext \
25258 conftest$ac_exeext conftest.$ac_ext
25260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catan" >&5
25261 $as_echo "$gcc_cv_math_func_catan" >&6; }
25262 if test $gcc_cv_math_func_catan = yes; then
25264 cat >>confdefs.h <<_ACEOF
25265 #define HAVE_CATAN 1
25266 _ACEOF
25273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanf" >&5
25274 $as_echo_n "checking for catanf... " >&6; }
25275 if test "${gcc_cv_math_func_catanf+set}" = set; then :
25276 $as_echo_n "(cached) " >&6
25277 else
25278 if test x$gcc_no_link = xyes; then
25279 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25282 /* end confdefs.h. */
25284 #ifdef HAVE_COMPLEX_H
25285 #include <complex.h>
25286 #endif
25287 #ifdef HAVE_MATH_H
25288 #include <math.h>
25289 #endif
25291 int (*ptr)() = (int (*)())catanf;
25294 main ()
25296 return 0;
25299 _ACEOF
25300 if ac_fn_c_try_link "$LINENO"; then :
25301 gcc_cv_math_func_catanf=yes
25302 else
25303 gcc_cv_math_func_catanf=no
25305 rm -f core conftest.err conftest.$ac_objext \
25306 conftest$ac_exeext conftest.$ac_ext
25308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanf" >&5
25309 $as_echo "$gcc_cv_math_func_catanf" >&6; }
25310 if test $gcc_cv_math_func_catanf = yes; then
25312 cat >>confdefs.h <<_ACEOF
25313 #define HAVE_CATANF 1
25314 _ACEOF
25321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanh" >&5
25322 $as_echo_n "checking for catanh... " >&6; }
25323 if test "${gcc_cv_math_func_catanh+set}" = set; then :
25324 $as_echo_n "(cached) " >&6
25325 else
25326 if test x$gcc_no_link = xyes; then
25327 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25330 /* end confdefs.h. */
25332 #ifdef HAVE_COMPLEX_H
25333 #include <complex.h>
25334 #endif
25335 #ifdef HAVE_MATH_H
25336 #include <math.h>
25337 #endif
25339 int (*ptr)() = (int (*)())catanh;
25342 main ()
25344 return 0;
25347 _ACEOF
25348 if ac_fn_c_try_link "$LINENO"; then :
25349 gcc_cv_math_func_catanh=yes
25350 else
25351 gcc_cv_math_func_catanh=no
25353 rm -f core conftest.err conftest.$ac_objext \
25354 conftest$ac_exeext conftest.$ac_ext
25356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanh" >&5
25357 $as_echo "$gcc_cv_math_func_catanh" >&6; }
25358 if test $gcc_cv_math_func_catanh = yes; then
25360 cat >>confdefs.h <<_ACEOF
25361 #define HAVE_CATANH 1
25362 _ACEOF
25369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhf" >&5
25370 $as_echo_n "checking for catanhf... " >&6; }
25371 if test "${gcc_cv_math_func_catanhf+set}" = set; then :
25372 $as_echo_n "(cached) " >&6
25373 else
25374 if test x$gcc_no_link = xyes; then
25375 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25378 /* end confdefs.h. */
25380 #ifdef HAVE_COMPLEX_H
25381 #include <complex.h>
25382 #endif
25383 #ifdef HAVE_MATH_H
25384 #include <math.h>
25385 #endif
25387 int (*ptr)() = (int (*)())catanhf;
25390 main ()
25392 return 0;
25395 _ACEOF
25396 if ac_fn_c_try_link "$LINENO"; then :
25397 gcc_cv_math_func_catanhf=yes
25398 else
25399 gcc_cv_math_func_catanhf=no
25401 rm -f core conftest.err conftest.$ac_objext \
25402 conftest$ac_exeext conftest.$ac_ext
25404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhf" >&5
25405 $as_echo "$gcc_cv_math_func_catanhf" >&6; }
25406 if test $gcc_cv_math_func_catanhf = yes; then
25408 cat >>confdefs.h <<_ACEOF
25409 #define HAVE_CATANHF 1
25410 _ACEOF
25417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhl" >&5
25418 $as_echo_n "checking for catanhl... " >&6; }
25419 if test "${gcc_cv_math_func_catanhl+set}" = set; then :
25420 $as_echo_n "(cached) " >&6
25421 else
25422 if test x$gcc_no_link = xyes; then
25423 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25426 /* end confdefs.h. */
25428 #ifdef HAVE_COMPLEX_H
25429 #include <complex.h>
25430 #endif
25431 #ifdef HAVE_MATH_H
25432 #include <math.h>
25433 #endif
25435 int (*ptr)() = (int (*)())catanhl;
25438 main ()
25440 return 0;
25443 _ACEOF
25444 if ac_fn_c_try_link "$LINENO"; then :
25445 gcc_cv_math_func_catanhl=yes
25446 else
25447 gcc_cv_math_func_catanhl=no
25449 rm -f core conftest.err conftest.$ac_objext \
25450 conftest$ac_exeext conftest.$ac_ext
25452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhl" >&5
25453 $as_echo "$gcc_cv_math_func_catanhl" >&6; }
25454 if test $gcc_cv_math_func_catanhl = yes; then
25456 cat >>confdefs.h <<_ACEOF
25457 #define HAVE_CATANHL 1
25458 _ACEOF
25465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanl" >&5
25466 $as_echo_n "checking for catanl... " >&6; }
25467 if test "${gcc_cv_math_func_catanl+set}" = set; then :
25468 $as_echo_n "(cached) " >&6
25469 else
25470 if test x$gcc_no_link = xyes; then
25471 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25474 /* end confdefs.h. */
25476 #ifdef HAVE_COMPLEX_H
25477 #include <complex.h>
25478 #endif
25479 #ifdef HAVE_MATH_H
25480 #include <math.h>
25481 #endif
25483 int (*ptr)() = (int (*)())catanl;
25486 main ()
25488 return 0;
25491 _ACEOF
25492 if ac_fn_c_try_link "$LINENO"; then :
25493 gcc_cv_math_func_catanl=yes
25494 else
25495 gcc_cv_math_func_catanl=no
25497 rm -f core conftest.err conftest.$ac_objext \
25498 conftest$ac_exeext conftest.$ac_ext
25500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanl" >&5
25501 $as_echo "$gcc_cv_math_func_catanl" >&6; }
25502 if test $gcc_cv_math_func_catanl = yes; then
25504 cat >>confdefs.h <<_ACEOF
25505 #define HAVE_CATANL 1
25506 _ACEOF
25511 # On AIX, clog is present in libm as __clog
25512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clog in -lm" >&5
25513 $as_echo_n "checking for __clog in -lm... " >&6; }
25514 if test "${ac_cv_lib_m___clog+set}" = set; then :
25515 $as_echo_n "(cached) " >&6
25516 else
25517 ac_check_lib_save_LIBS=$LIBS
25518 LIBS="-lm $LIBS"
25519 if test x$gcc_no_link = xyes; then
25520 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25523 /* end confdefs.h. */
25525 /* Override any GCC internal prototype to avoid an error.
25526 Use char because int might match the return type of a GCC
25527 builtin and then its argument prototype would still apply. */
25528 #ifdef __cplusplus
25529 extern "C"
25530 #endif
25531 char __clog ();
25533 main ()
25535 return __clog ();
25537 return 0;
25539 _ACEOF
25540 if ac_fn_c_try_link "$LINENO"; then :
25541 ac_cv_lib_m___clog=yes
25542 else
25543 ac_cv_lib_m___clog=no
25545 rm -f core conftest.err conftest.$ac_objext \
25546 conftest$ac_exeext conftest.$ac_ext
25547 LIBS=$ac_check_lib_save_LIBS
25549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m___clog" >&5
25550 $as_echo "$ac_cv_lib_m___clog" >&6; }
25551 if test "x$ac_cv_lib_m___clog" = x""yes; then :
25553 $as_echo "#define HAVE_CLOG 1" >>confdefs.h
25558 # Check whether the system has a working stat()
25560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target stat is reliable" >&5
25561 $as_echo_n "checking whether the target stat is reliable... " >&6; }
25562 if test "${libgfor_cv_have_working_stat+set}" = set; then :
25563 $as_echo_n "(cached) " >&6
25564 else
25566 if test "$cross_compiling" = yes; then :
25568 case "${target}" in
25569 *mingw*) libgfor_cv_have_working_stat=no ;;
25570 *) libgfor_cv_have_working_stat=yes;;
25571 esac
25572 else
25573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25574 /* end confdefs.h. */
25576 #include <stdio.h>
25577 #include <sys/types.h>
25578 #include <sys/stat.h>
25579 #include <unistd.h>
25581 int main ()
25583 FILE *f, *g;
25584 struct stat st1, st2;
25586 f = fopen ("foo", "w");
25587 g = fopen ("bar", "w");
25588 if (stat ("foo", &st1) != 0 || stat ("bar", &st2))
25589 return 1;
25590 if (st1.st_dev == st2.st_dev && st1.st_ino == st2.st_ino)
25591 return 1;
25592 fclose(f);
25593 fclose(g);
25594 return 0;
25596 _ACEOF
25597 if ac_fn_c_try_run "$LINENO"; then :
25598 libgfor_cv_have_working_stat=yes
25599 else
25600 libgfor_cv_have_working_stat=no
25602 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25603 conftest.$ac_objext conftest.beam conftest.$ac_ext
25607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_working_stat" >&5
25608 $as_echo "$libgfor_cv_have_working_stat" >&6; }
25609 if test x"$libgfor_cv_have_working_stat" = xyes; then
25611 $as_echo "#define HAVE_WORKING_STAT 1" >>confdefs.h
25615 # Check whether __mingw_snprintf() is present
25617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __mingw_snprintf is present" >&5
25618 $as_echo_n "checking whether __mingw_snprintf is present... " >&6; }
25619 if test "${libgfor_cv_have_mingw_snprintf+set}" = set; then :
25620 $as_echo_n "(cached) " >&6
25621 else
25623 if test x$gcc_no_link = xyes; then
25624 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25627 /* end confdefs.h. */
25629 #include <stdio.h>
25630 extern int __mingw_snprintf (char *, size_t, const char *, ...);
25633 main ()
25636 __mingw_snprintf (NULL, 0, "%d\n", 1);
25639 return 0;
25641 _ACEOF
25642 if ac_fn_c_try_link "$LINENO"; then :
25643 eval "libgfor_cv_have_mingw_snprintf=yes"
25644 else
25645 eval "libgfor_cv_have_mingw_snprintf=no"
25647 rm -f core conftest.err conftest.$ac_objext \
25648 conftest$ac_exeext conftest.$ac_ext
25651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_mingw_snprintf" >&5
25652 $as_echo "$libgfor_cv_have_mingw_snprintf" >&6; }
25653 if test x"$libgfor_cv_have_mingw_snprintf" = xyes; then
25655 $as_echo "#define HAVE_MINGW_SNPRINTF 1" >>confdefs.h
25660 # Check whether libquadmath should be used
25661 # Check whether --enable-libquadmath-support was given.
25662 if test "${enable_libquadmath_support+set}" = set; then :
25663 enableval=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT=$enableval
25664 else
25665 ENABLE_LIBQUADMATH_SUPPORT=yes
25668 enable_libquadmath_support=
25669 if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
25670 enable_libquadmath_support=no
25673 # Check whether we have a __float128 type, depends on enable_libquadmath_support
25675 LIBQUADSPEC=
25677 if test "x$enable_libquadmath_support" != xno; then
25679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have a usable __float128 type" >&5
25680 $as_echo_n "checking whether we have a usable __float128 type... " >&6; }
25681 if test "${libgfor_cv_have_float128+set}" = set; then :
25682 $as_echo_n "(cached) " >&6
25683 else
25685 if test x$gcc_no_link = xyes; then
25686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25687 /* end confdefs.h. */
25689 typedef _Complex float __attribute__((mode(TC))) __complex128;
25691 __float128 foo (__float128 x)
25694 __complex128 z1, z2;
25696 z1 = x;
25697 z2 = x / 7.Q;
25698 z2 /= z1;
25700 return (__float128) z2;
25703 __float128 bar (__float128 x)
25705 return x * __builtin_huge_valq ();
25709 main ()
25712 foo (1.2Q);
25713 bar (1.2Q);
25716 return 0;
25718 _ACEOF
25719 if ac_fn_c_try_compile "$LINENO"; then :
25721 libgfor_cv_have_float128=yes
25723 else
25725 libgfor_cv_have_float128=no
25728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25729 else
25730 if test x$gcc_no_link = xyes; then
25731 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25734 /* end confdefs.h. */
25736 typedef _Complex float __attribute__((mode(TC))) __complex128;
25738 __float128 foo (__float128 x)
25741 __complex128 z1, z2;
25743 z1 = x;
25744 z2 = x / 7.Q;
25745 z2 /= z1;
25747 return (__float128) z2;
25750 __float128 bar (__float128 x)
25752 return x * __builtin_huge_valq ();
25756 main ()
25759 foo (1.2Q);
25760 bar (1.2Q);
25763 return 0;
25765 _ACEOF
25766 if ac_fn_c_try_link "$LINENO"; then :
25768 libgfor_cv_have_float128=yes
25770 else
25772 libgfor_cv_have_float128=no
25775 rm -f core conftest.err conftest.$ac_objext \
25776 conftest$ac_exeext conftest.$ac_ext
25779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_float128" >&5
25780 $as_echo "$libgfor_cv_have_float128" >&6; }
25782 if test "x$libgfor_cv_have_float128" = xyes; then
25784 $as_echo "#define HAVE_FLOAT128 1" >>confdefs.h
25787 ac_xsave_c_werror_flag=$ac_c_werror_flag
25788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether --as-needed/-z ignore works" >&5
25789 $as_echo_n "checking whether --as-needed/-z ignore works... " >&6; }
25790 if test "${libgfor_cv_have_as_needed+set}" = set; then :
25791 $as_echo_n "(cached) " >&6
25792 else
25794 # Test for native Solaris options first.
25795 # No whitespace after -z to pass it through -Wl.
25796 libgfor_cv_as_needed_option="-zignore"
25797 libgfor_cv_no_as_needed_option="-zrecord"
25798 save_LDFLAGS="$LDFLAGS"
25799 LDFLAGS="$LDFLAGS -Wl,$libgfor_cv_as_needed_option -lm -Wl,$libgfor_cv_no_as_needed_option"
25800 libgfor_cv_have_as_needed=no
25802 ac_c_werror_flag=yes
25803 if test x$gcc_no_link = xyes; then
25804 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25807 /* end confdefs.h. */
25810 main ()
25814 return 0;
25816 _ACEOF
25817 if ac_fn_c_try_link "$LINENO"; then :
25818 libgfor_cv_have_as_needed=yes
25819 else
25820 libgfor_cv_have_as_needed=no
25822 rm -f core conftest.err conftest.$ac_objext \
25823 conftest$ac_exeext conftest.$ac_ext
25824 LDFLAGS="$save_LDFLAGS"
25825 if test "x$libgfor_cv_have_as_needed" = xno; then
25826 libgfor_cv_as_needed_option="--as-needed"
25827 libgfor_cv_no_as_needed_option="--no-as-needed"
25828 save_LDFLAGS="$LDFLAGS"
25829 LDFLAGS="$LDFLAGS -Wl,$libgfor_cv_as_needed_option -lm -Wl,$libgfor_cv_no_as_needed_option"
25830 libgfor_cv_have_as_needed=no
25832 ac_c_werror_flag=yes
25833 if test x$gcc_no_link = xyes; then
25834 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25837 /* end confdefs.h. */
25840 main ()
25844 return 0;
25846 _ACEOF
25847 if ac_fn_c_try_link "$LINENO"; then :
25848 libgfor_cv_have_as_needed=yes
25849 else
25850 libgfor_cv_have_as_needed=no
25852 rm -f core conftest.err conftest.$ac_objext \
25853 conftest$ac_exeext conftest.$ac_ext
25854 LDFLAGS="$save_LDFLAGS"
25856 ac_c_werror_flag=$ac_xsave_c_werror_flag
25859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_as_needed" >&5
25860 $as_echo "$libgfor_cv_have_as_needed" >&6; }
25862 if test "x$libgfor_cv_have_as_needed" = xyes; then
25863 LIBQUADSPEC="%{static-libgfortran:$libgfor_cv_as_needed_option} -lquadmath %{static-libgfortran:$libgfor_cv_no_as_needed_option}"
25864 else
25865 LIBQUADSPEC="-lquadmath"
25867 if test -f ../libquadmath/libquadmath.la; then
25868 LIBQUADLIB=../libquadmath/libquadmath.la
25869 LIBQUADLIB_DEP=../libquadmath/libquadmath.la
25870 LIBQUADINCLUDE='-I$(srcdir)/../libquadmath'
25871 else
25872 LIBQUADLIB="-lquadmath"
25873 LIBQUADLIB_DEP=
25874 LIBQUADINCLUDE=
25877 else
25878 # for --disable-quadmath
25879 LIBQUADLIB=
25880 LIBQUADLIB_DEP=
25881 LIBQUADINCLUDE=
25889 if test "x$libgfor_cv_have_float128" = xyes; then
25890 LIBGFOR_BUILD_QUAD_TRUE=
25891 LIBGFOR_BUILD_QUAD_FALSE='#'
25892 else
25893 LIBGFOR_BUILD_QUAD_TRUE='#'
25894 LIBGFOR_BUILD_QUAD_FALSE=
25899 # Check for GNU libc feenableexcept
25900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for feenableexcept in -lm" >&5
25901 $as_echo_n "checking for feenableexcept in -lm... " >&6; }
25902 if test "${ac_cv_lib_m_feenableexcept+set}" = set; then :
25903 $as_echo_n "(cached) " >&6
25904 else
25905 ac_check_lib_save_LIBS=$LIBS
25906 LIBS="-lm $LIBS"
25907 if test x$gcc_no_link = xyes; then
25908 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25911 /* end confdefs.h. */
25913 /* Override any GCC internal prototype to avoid an error.
25914 Use char because int might match the return type of a GCC
25915 builtin and then its argument prototype would still apply. */
25916 #ifdef __cplusplus
25917 extern "C"
25918 #endif
25919 char feenableexcept ();
25921 main ()
25923 return feenableexcept ();
25925 return 0;
25927 _ACEOF
25928 if ac_fn_c_try_link "$LINENO"; then :
25929 ac_cv_lib_m_feenableexcept=yes
25930 else
25931 ac_cv_lib_m_feenableexcept=no
25933 rm -f core conftest.err conftest.$ac_objext \
25934 conftest$ac_exeext conftest.$ac_ext
25935 LIBS=$ac_check_lib_save_LIBS
25937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_feenableexcept" >&5
25938 $as_echo "$ac_cv_lib_m_feenableexcept" >&6; }
25939 if test "x$ac_cv_lib_m_feenableexcept" = x""yes; then :
25940 have_feenableexcept=yes
25941 $as_echo "#define HAVE_FEENABLEEXCEPT 1" >>confdefs.h
25946 # At least for glibc, clock_gettime is in librt. But don't
25947 # pull that in if it still doesn't give us the function we want. This
25948 # test is copied from libgomp, and modified to not link in -lrt as
25949 # libgfortran calls clock_gettime via a weak reference if it's found
25950 # in librt.
25951 if test "$ac_cv_func_clock_gettime" = no; then
25952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
25953 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
25954 if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then :
25955 $as_echo_n "(cached) " >&6
25956 else
25957 ac_check_lib_save_LIBS=$LIBS
25958 LIBS="-lrt $LIBS"
25959 if test x$gcc_no_link = xyes; then
25960 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25963 /* end confdefs.h. */
25965 /* Override any GCC internal prototype to avoid an error.
25966 Use char because int might match the return type of a GCC
25967 builtin and then its argument prototype would still apply. */
25968 #ifdef __cplusplus
25969 extern "C"
25970 #endif
25971 char clock_gettime ();
25973 main ()
25975 return clock_gettime ();
25977 return 0;
25979 _ACEOF
25980 if ac_fn_c_try_link "$LINENO"; then :
25981 ac_cv_lib_rt_clock_gettime=yes
25982 else
25983 ac_cv_lib_rt_clock_gettime=no
25985 rm -f core conftest.err conftest.$ac_objext \
25986 conftest$ac_exeext conftest.$ac_ext
25987 LIBS=$ac_check_lib_save_LIBS
25989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
25990 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
25991 if test "x$ac_cv_lib_rt_clock_gettime" = x""yes; then :
25993 $as_echo "#define HAVE_CLOCK_GETTIME_LIBRT 1" >>confdefs.h
25999 # Check for SysV fpsetmask
26001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fpsetmask is present" >&5
26002 $as_echo_n "checking whether fpsetmask is present... " >&6; }
26003 if test "${libgfor_cv_have_fpsetmask+set}" = set; then :
26004 $as_echo_n "(cached) " >&6
26005 else
26007 if test x$gcc_no_link = xyes; then
26008 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26011 /* end confdefs.h. */
26013 #if HAVE_FLOATINGPOINT_H
26014 # include <floatingpoint.h>
26015 #endif /* HAVE_FLOATINGPOINT_H */
26016 #if HAVE_IEEEFP_H
26017 # include <ieeefp.h>
26018 #endif /* HAVE_IEEEFP_H */
26020 main ()
26022 fpsetmask(0);
26024 return 0;
26026 _ACEOF
26027 if ac_fn_c_try_link "$LINENO"; then :
26028 eval "libgfor_cv_have_fpsetmask=yes"
26029 else
26030 eval "libgfor_cv_have_fpsetmask=no"
26032 rm -f core conftest.err conftest.$ac_objext \
26033 conftest$ac_exeext conftest.$ac_ext
26036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_fpsetmask" >&5
26037 $as_echo "$libgfor_cv_have_fpsetmask" >&6; }
26038 if test x"$libgfor_cv_have_fpsetmask" = xyes; then
26039 have_fpsetmask=yes
26041 $as_echo "#define HAVE_FPSETMASK 1" >>confdefs.h
26045 ac_fn_c_check_type "$LINENO" "fp_except" "ac_cv_type_fp_except" "#include <ieeefp.h>
26047 if test "x$ac_cv_type_fp_except" = x""yes; then :
26049 cat >>confdefs.h <<_ACEOF
26050 #define HAVE_FP_EXCEPT 1
26051 _ACEOF
26055 ac_fn_c_check_type "$LINENO" "fp_except_t" "ac_cv_type_fp_except_t" "#include <ieeefp.h>
26057 if test "x$ac_cv_type_fp_except_t" = x""yes; then :
26059 cat >>confdefs.h <<_ACEOF
26060 #define HAVE_FP_EXCEPT_T 1
26061 _ACEOF
26066 ac_fn_c_check_type "$LINENO" "fp_rnd" "ac_cv_type_fp_rnd" "#include <ieeefp.h>
26068 if test "x$ac_cv_type_fp_rnd" = x""yes; then :
26070 cat >>confdefs.h <<_ACEOF
26071 #define HAVE_FP_RND 1
26072 _ACEOF
26076 ac_fn_c_check_type "$LINENO" "fp_rnd_t" "ac_cv_type_fp_rnd_t" "#include <ieeefp.h>
26078 if test "x$ac_cv_type_fp_rnd_t" = x""yes; then :
26080 cat >>confdefs.h <<_ACEOF
26081 #define HAVE_FP_RND_T 1
26082 _ACEOF
26088 # Check for AIX fp_trap and fp_enable
26089 ac_fn_c_check_func "$LINENO" "fp_trap" "ac_cv_func_fp_trap"
26090 if test "x$ac_cv_func_fp_trap" = x""yes; then :
26091 have_fp_trap=yes
26092 $as_echo "#define HAVE_FP_TRAP 1" >>confdefs.h
26096 ac_fn_c_check_func "$LINENO" "fp_enable" "ac_cv_func_fp_enable"
26097 if test "x$ac_cv_func_fp_enable" = x""yes; then :
26098 have_fp_enable=yes
26099 $as_echo "#define HAVE_FP_ENABLE 1" >>confdefs.h
26104 # Runs configure.host to set up necessary host-dependent shell variables.
26105 # We then display a message about it, and propagate them through the
26106 # build chain.
26107 . ${srcdir}/configure.host
26108 { $as_echo "$as_me:${as_lineno-$LINENO}: FPU dependent file will be ${fpu_host}.h" >&5
26109 $as_echo "$as_me: FPU dependent file will be ${fpu_host}.h" >&6;}
26110 FPU_HOST_HEADER=config/${fpu_host}.h
26113 # Some targets require additional compiler options for IEEE compatibility.
26114 IEEE_FLAGS="${ieee_flags}"
26118 # Check for POSIX getpwuid_r
26120 # There are two versions of getpwuid_r, the POSIX one with 5
26121 # arguments, and another one with 4 arguments used by at least HP-UX
26122 # 10.2.
26123 if test "$ac_cv_func_getpwuid_r" = "yes"; then
26124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking POSIX version of getpwuid_r with 5 arguments" >&5
26125 $as_echo_n "checking POSIX version of getpwuid_r with 5 arguments... " >&6; }
26126 if test "${libgfor_cv_posix_getpwuid_r+set}" = set; then :
26127 $as_echo_n "(cached) " >&6
26128 else
26130 if test x$gcc_no_link = xyes; then
26131 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26134 /* end confdefs.h. */
26136 #include <stdio.h>
26137 #include <sys/types.h>
26138 #include <pwd.h>
26140 main ()
26143 getpwuid_r(0, NULL, NULL, 0, NULL);
26146 return 0;
26148 _ACEOF
26149 if ac_fn_c_try_link "$LINENO"; then :
26150 libgfor_cv_posix_getpwuid_r="yes"
26151 else
26152 libgfor_cv_posix_getpwuid_r="no"
26154 rm -f core conftest.err conftest.$ac_objext \
26155 conftest$ac_exeext conftest.$ac_ext
26157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_posix_getpwuid_r" >&5
26158 $as_echo "$libgfor_cv_posix_getpwuid_r" >&6; }
26160 if test "$libgfor_cv_posix_getpwuid_r" = "yes"; then
26162 $as_echo "#define HAVE_POSIX_GETPWUID_R 1" >>confdefs.h
26167 # Check out attribute support.
26169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
26170 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
26171 if test "${libgfor_cv_have_attribute_visibility+set}" = set; then :
26172 $as_echo_n "(cached) " >&6
26173 else
26175 save_CFLAGS="$CFLAGS"
26176 CFLAGS="$CFLAGS -Werror"
26177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26178 /* end confdefs.h. */
26179 void __attribute__((visibility("hidden"))) foo(void) { }
26181 main ()
26185 return 0;
26187 _ACEOF
26188 if ac_fn_c_try_compile "$LINENO"; then :
26189 libgfor_cv_have_attribute_visibility=yes
26190 else
26191 libgfor_cv_have_attribute_visibility=no
26193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26194 CFLAGS="$save_CFLAGS"
26196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_visibility" >&5
26197 $as_echo "$libgfor_cv_have_attribute_visibility" >&6; }
26198 if test $libgfor_cv_have_attribute_visibility = yes; then
26200 $as_echo "#define HAVE_ATTRIBUTE_VISIBILITY 1" >>confdefs.h
26204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports dllexport" >&5
26205 $as_echo_n "checking whether the target supports dllexport... " >&6; }
26206 if test "${libgfor_cv_have_attribute_dllexport+set}" = set; then :
26207 $as_echo_n "(cached) " >&6
26208 else
26210 save_CFLAGS="$CFLAGS"
26211 CFLAGS="$CFLAGS -Werror"
26212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26213 /* end confdefs.h. */
26214 void __attribute__((dllexport)) foo(void) { }
26216 main ()
26220 return 0;
26222 _ACEOF
26223 if ac_fn_c_try_compile "$LINENO"; then :
26224 libgfor_cv_have_attribute_dllexport=yes
26225 else
26226 libgfor_cv_have_attribute_dllexport=no
26228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26229 CFLAGS="$save_CFLAGS"
26231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_dllexport" >&5
26232 $as_echo "$libgfor_cv_have_attribute_dllexport" >&6; }
26233 if test $libgfor_cv_have_attribute_dllexport = yes; then
26235 $as_echo "#define HAVE_ATTRIBUTE_DLLEXPORT 1" >>confdefs.h
26239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports symbol aliases" >&5
26240 $as_echo_n "checking whether the target supports symbol aliases... " >&6; }
26241 if test "${libgfor_cv_have_attribute_alias+set}" = set; then :
26242 $as_echo_n "(cached) " >&6
26243 else
26245 if test x$gcc_no_link = xyes; then
26246 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26249 /* end confdefs.h. */
26251 void foo(void) { }
26252 extern void bar(void) __attribute__((alias("foo")));
26254 main ()
26256 bar();
26258 return 0;
26260 _ACEOF
26261 if ac_fn_c_try_link "$LINENO"; then :
26262 libgfor_cv_have_attribute_alias=yes
26263 else
26264 libgfor_cv_have_attribute_alias=no
26266 rm -f core conftest.err conftest.$ac_objext \
26267 conftest$ac_exeext conftest.$ac_ext
26269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_alias" >&5
26270 $as_echo "$libgfor_cv_have_attribute_alias" >&6; }
26271 if test $libgfor_cv_have_attribute_alias = yes; then
26273 $as_echo "#define HAVE_ATTRIBUTE_ALIAS 1" >>confdefs.h
26277 # Check out sync builtins support.
26279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports __sync_fetch_and_add" >&5
26280 $as_echo_n "checking whether the target supports __sync_fetch_and_add... " >&6; }
26281 if test "${libgfor_cv_have_sync_fetch_and_add+set}" = set; then :
26282 $as_echo_n "(cached) " >&6
26283 else
26285 if test x$gcc_no_link = xyes; then
26286 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26289 /* end confdefs.h. */
26290 int foovar = 0;
26292 main ()
26295 if (foovar <= 0) return __sync_fetch_and_add (&foovar, 1);
26296 if (foovar > 10) return __sync_add_and_fetch (&foovar, -1);
26298 return 0;
26300 _ACEOF
26301 if ac_fn_c_try_link "$LINENO"; then :
26302 libgfor_cv_have_sync_fetch_and_add=yes
26303 else
26304 libgfor_cv_have_sync_fetch_and_add=no
26306 rm -f core conftest.err conftest.$ac_objext \
26307 conftest$ac_exeext conftest.$ac_ext
26309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_sync_fetch_and_add" >&5
26310 $as_echo "$libgfor_cv_have_sync_fetch_and_add" >&6; }
26311 if test $libgfor_cv_have_sync_fetch_and_add = yes; then
26313 $as_echo "#define HAVE_SYNC_FETCH_AND_ADD 1" >>confdefs.h
26317 # Check out #pragma weak.
26319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pragma weak works" >&5
26320 $as_echo_n "checking whether pragma weak works... " >&6; }
26321 if test "${libgfor_cv_have_pragma_weak+set}" = set; then :
26322 $as_echo_n "(cached) " >&6
26323 else
26325 gfor_save_CFLAGS="$CFLAGS"
26326 CFLAGS="$CFLAGS -Wunknown-pragmas"
26327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26328 /* end confdefs.h. */
26330 void foo (void);
26331 #pragma weak foo
26334 main ()
26336 if (foo) foo ();
26338 return 0;
26340 _ACEOF
26341 if ac_fn_c_try_compile "$LINENO"; then :
26342 libgfor_cv_have_pragma_weak=yes
26343 else
26344 libgfor_cv_have_pragma_weak=no
26346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_pragma_weak" >&5
26349 $as_echo "$libgfor_cv_have_pragma_weak" >&6; }
26350 if test $libgfor_cv_have_pragma_weak = yes; then
26352 $as_echo "#define SUPPORTS_WEAK 1" >>confdefs.h
26355 case "$host" in
26356 *-*-darwin* | *-*-hpux* | *-*-cygwin* | *-*-mingw* )
26358 $as_echo "#define GTHREAD_USE_WEAK 0" >>confdefs.h
26361 esac
26363 # Various other checks on target
26365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target can unlink an open file" >&5
26366 $as_echo_n "checking whether the target can unlink an open file... " >&6; }
26367 if test "${libgfor_cv_have_unlink_open_file+set}" = set; then :
26368 $as_echo_n "(cached) " >&6
26369 else
26371 if test "$cross_compiling" = yes; then :
26373 case "${target}" in
26374 *mingw*) libgfor_cv_have_unlink_open_file=no ;;
26375 *) libgfor_cv_have_unlink_open_file=yes;;
26376 esac
26377 else
26378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26379 /* end confdefs.h. */
26381 #include <errno.h>
26382 #include <fcntl.h>
26383 #include <unistd.h>
26384 #include <sys/stat.h>
26386 int main ()
26388 int fd;
26390 fd = open ("testfile", O_RDWR | O_CREAT, S_IWUSR | S_IRUSR);
26391 if (fd <= 0)
26392 return 0;
26393 if (unlink ("testfile") == -1)
26394 return 1;
26395 write (fd, "This is a test\n", 15);
26396 close (fd);
26398 if (open ("testfile", O_RDONLY) == -1 && errno == ENOENT)
26399 return 0;
26400 else
26401 return 1;
26403 _ACEOF
26404 if ac_fn_c_try_run "$LINENO"; then :
26405 libgfor_cv_have_unlink_open_file=yes
26406 else
26407 libgfor_cv_have_unlink_open_file=no
26409 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26410 conftest.$ac_objext conftest.beam conftest.$ac_ext
26414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_unlink_open_file" >&5
26415 $as_echo "$libgfor_cv_have_unlink_open_file" >&6; }
26416 if test x"$libgfor_cv_have_unlink_open_file" = xyes; then
26418 $as_echo "#define HAVE_UNLINK_OPEN_FILE 1" >>confdefs.h
26422 # Check whether line terminator is LF or CRLF
26424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target has CRLF as line terminator" >&5
26425 $as_echo_n "checking whether the target has CRLF as line terminator... " >&6; }
26426 if test "${libgfor_cv_have_crlf+set}" = set; then :
26427 $as_echo_n "(cached) " >&6
26428 else
26430 if test "$cross_compiling" = yes; then :
26432 case "${target}" in
26433 *mingw*) libgfor_cv_have_crlf=yes ;;
26434 *) libgfor_cv_have_crlf=no;;
26435 esac
26436 else
26437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26438 /* end confdefs.h. */
26440 /* This test program should exit with status 0 if system uses a CRLF as
26441 line terminator, and status 1 otherwise.
26442 Since it is used to check for mingw systems, and should return 0 in any
26443 other case, in case of a failure we will not use CRLF. */
26444 #include <sys/stat.h>
26445 #include <stdlib.h>
26446 #include <fcntl.h>
26447 #include <stdio.h>
26449 int main ()
26451 #ifndef O_BINARY
26452 exit(1);
26453 #else
26454 int fd, bytes;
26455 char buff[5];
26457 fd = open ("foo", O_WRONLY | O_CREAT | O_TRUNC, S_IRWXU);
26458 if (fd < 0)
26459 exit(1);
26460 if (write (fd, "\n", 1) < 0)
26461 perror ("write");
26463 close (fd);
26465 if ((fd = open ("foo", O_RDONLY | O_BINARY, S_IRWXU)) < 0)
26466 exit(1);
26467 bytes = read (fd, buff, 5);
26468 if (bytes == 2 && buff[0] == '\r' && buff[1] == '\n')
26469 exit(0);
26470 else
26471 exit(1);
26472 #endif
26474 _ACEOF
26475 if ac_fn_c_try_run "$LINENO"; then :
26476 libgfor_cv_have_crlf=yes
26477 else
26478 libgfor_cv_have_crlf=no
26480 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26481 conftest.$ac_objext conftest.beam conftest.$ac_ext
26485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_crlf" >&5
26486 $as_echo "$libgfor_cv_have_crlf" >&6; }
26487 if test x"$libgfor_cv_have_crlf" = xyes; then
26489 $as_echo "#define HAVE_CRLF 1" >>confdefs.h
26493 # Check whether we have _Unwind_GetIPInfo for backtrace
26496 # Check whether --with-system-libunwind was given.
26497 if test "${with_system_libunwind+set}" = set; then :
26498 withval=$with_system_libunwind;
26501 # If system-libunwind was not specifically set, pick a default setting.
26502 if test x$with_system_libunwind = x; then
26503 case ${target} in
26504 ia64-*-hpux*) with_system_libunwind=yes ;;
26505 *) with_system_libunwind=no ;;
26506 esac
26508 # Based on system-libunwind and target, do we have ipinfo?
26509 if test x$with_system_libunwind = xyes; then
26510 case ${target} in
26511 ia64-*-*) have_unwind_getipinfo=no ;;
26512 *) have_unwind_getipinfo=yes ;;
26513 esac
26514 else
26515 # Darwin before version 9 does not have _Unwind_GetIPInfo.
26517 case ${target} in
26518 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
26519 *) have_unwind_getipinfo=yes ;;
26520 esac
26524 if test x$have_unwind_getipinfo = xyes; then
26526 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
26531 cat >confcache <<\_ACEOF
26532 # This file is a shell script that caches the results of configure
26533 # tests run on this system so they can be shared between configure
26534 # scripts and configure runs, see configure's option --config-cache.
26535 # It is not useful on other systems. If it contains results you don't
26536 # want to keep, you may remove or edit it.
26538 # config.status only pays attention to the cache file if you give it
26539 # the --recheck option to rerun configure.
26541 # `ac_cv_env_foo' variables (set or unset) will be overridden when
26542 # loading this file, other *unset* `ac_cv_foo' will be assigned the
26543 # following values.
26545 _ACEOF
26547 # The following way of writing the cache mishandles newlines in values,
26548 # but we know of no workaround that is simple, portable, and efficient.
26549 # So, we kill variables containing newlines.
26550 # Ultrix sh set writes to stderr and can't be redirected directly,
26551 # and sets the high bit in the cache file unless we assign to the vars.
26553 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
26554 eval ac_val=\$$ac_var
26555 case $ac_val in #(
26556 *${as_nl}*)
26557 case $ac_var in #(
26558 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
26559 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
26560 esac
26561 case $ac_var in #(
26562 _ | IFS | as_nl) ;; #(
26563 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
26564 *) { eval $ac_var=; unset $ac_var;} ;;
26565 esac ;;
26566 esac
26567 done
26569 (set) 2>&1 |
26570 case $as_nl`(ac_space=' '; set) 2>&1` in #(
26571 *${as_nl}ac_space=\ *)
26572 # `set' does not quote correctly, so add quotes: double-quote
26573 # substitution turns \\\\ into \\, and sed turns \\ into \.
26574 sed -n \
26575 "s/'/'\\\\''/g;
26576 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26577 ;; #(
26579 # `set' quotes correctly as required by POSIX, so do not add quotes.
26580 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
26582 esac |
26583 sort
26585 sed '
26586 /^ac_cv_env_/b end
26587 t clear
26588 :clear
26589 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26590 t end
26591 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26592 :end' >>confcache
26593 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
26594 if test -w "$cache_file"; then
26595 test "x$cache_file" != "x/dev/null" &&
26596 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
26597 $as_echo "$as_me: updating cache $cache_file" >&6;}
26598 cat confcache >$cache_file
26599 else
26600 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
26601 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
26604 rm -f confcache
26606 if test ${multilib} = yes; then
26607 multilib_arg="--enable-multilib"
26608 else
26609 multilib_arg=
26612 # Write our Makefile and spec file.
26613 ac_config_files="$ac_config_files Makefile libgfortran.spec"
26615 cat >confcache <<\_ACEOF
26616 # This file is a shell script that caches the results of configure
26617 # tests run on this system so they can be shared between configure
26618 # scripts and configure runs, see configure's option --config-cache.
26619 # It is not useful on other systems. If it contains results you don't
26620 # want to keep, you may remove or edit it.
26622 # config.status only pays attention to the cache file if you give it
26623 # the --recheck option to rerun configure.
26625 # `ac_cv_env_foo' variables (set or unset) will be overridden when
26626 # loading this file, other *unset* `ac_cv_foo' will be assigned the
26627 # following values.
26629 _ACEOF
26631 # The following way of writing the cache mishandles newlines in values,
26632 # but we know of no workaround that is simple, portable, and efficient.
26633 # So, we kill variables containing newlines.
26634 # Ultrix sh set writes to stderr and can't be redirected directly,
26635 # and sets the high bit in the cache file unless we assign to the vars.
26637 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
26638 eval ac_val=\$$ac_var
26639 case $ac_val in #(
26640 *${as_nl}*)
26641 case $ac_var in #(
26642 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
26643 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
26644 esac
26645 case $ac_var in #(
26646 _ | IFS | as_nl) ;; #(
26647 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
26648 *) { eval $ac_var=; unset $ac_var;} ;;
26649 esac ;;
26650 esac
26651 done
26653 (set) 2>&1 |
26654 case $as_nl`(ac_space=' '; set) 2>&1` in #(
26655 *${as_nl}ac_space=\ *)
26656 # `set' does not quote correctly, so add quotes: double-quote
26657 # substitution turns \\\\ into \\, and sed turns \\ into \.
26658 sed -n \
26659 "s/'/'\\\\''/g;
26660 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26661 ;; #(
26663 # `set' quotes correctly as required by POSIX, so do not add quotes.
26664 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
26666 esac |
26667 sort
26669 sed '
26670 /^ac_cv_env_/b end
26671 t clear
26672 :clear
26673 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26674 t end
26675 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26676 :end' >>confcache
26677 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
26678 if test -w "$cache_file"; then
26679 test "x$cache_file" != "x/dev/null" &&
26680 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
26681 $as_echo "$as_me: updating cache $cache_file" >&6;}
26682 cat confcache >$cache_file
26683 else
26684 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
26685 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
26688 rm -f confcache
26690 test "x$prefix" = xNONE && prefix=$ac_default_prefix
26691 # Let make expand exec_prefix.
26692 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
26694 DEFS=-DHAVE_CONFIG_H
26696 ac_libobjs=
26697 ac_ltlibobjs=
26698 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
26699 # 1. Remove the extension, and $U if already installed.
26700 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
26701 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
26702 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
26703 # will be set to the directory where LIBOBJS objects are built.
26704 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
26705 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
26706 done
26707 LIBOBJS=$ac_libobjs
26709 LTLIBOBJS=$ac_ltlibobjs
26712 if test -z "${onestep_TRUE}" && test -z "${onestep_FALSE}"; then
26713 as_fn_error "conditional \"onestep\" was never defined.
26714 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26716 if test -n "$EXEEXT"; then
26717 am__EXEEXT_TRUE=
26718 am__EXEEXT_FALSE='#'
26719 else
26720 am__EXEEXT_TRUE='#'
26721 am__EXEEXT_FALSE=
26724 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
26725 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
26726 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26728 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
26729 as_fn_error "conditional \"AMDEP\" was never defined.
26730 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26732 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
26733 as_fn_error "conditional \"am__fastdepCC\" was never defined.
26734 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26736 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
26737 as_fn_error "conditional \"am__fastdepCC\" was never defined.
26738 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26740 if test -z "${LIBGFOR_USE_SYMVER_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_FALSE}"; then
26741 as_fn_error "conditional \"LIBGFOR_USE_SYMVER\" was never defined.
26742 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26744 if test -z "${LIBGFOR_USE_SYMVER_GNU_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_GNU_FALSE}"; then
26745 as_fn_error "conditional \"LIBGFOR_USE_SYMVER_GNU\" was never defined.
26746 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26748 if test -z "${LIBGFOR_USE_SYMVER_SUN_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_SUN_FALSE}"; then
26749 as_fn_error "conditional \"LIBGFOR_USE_SYMVER_SUN\" was never defined.
26750 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26752 if test -z "${LIBGFOR_BUILD_QUAD_TRUE}" && test -z "${LIBGFOR_BUILD_QUAD_FALSE}"; then
26753 as_fn_error "conditional \"LIBGFOR_BUILD_QUAD\" was never defined.
26754 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26757 : ${CONFIG_STATUS=./config.status}
26758 ac_write_fail=0
26759 ac_clean_files_save=$ac_clean_files
26760 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
26761 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
26762 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
26763 as_write_fail=0
26764 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
26765 #! $SHELL
26766 # Generated by $as_me.
26767 # Run this file to recreate the current configuration.
26768 # Compiler output produced by configure, useful for debugging
26769 # configure, is in config.log if it exists.
26771 debug=false
26772 ac_cs_recheck=false
26773 ac_cs_silent=false
26775 SHELL=\${CONFIG_SHELL-$SHELL}
26776 export SHELL
26777 _ASEOF
26778 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
26779 ## -------------------- ##
26780 ## M4sh Initialization. ##
26781 ## -------------------- ##
26783 # Be more Bourne compatible
26784 DUALCASE=1; export DUALCASE # for MKS sh
26785 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
26786 emulate sh
26787 NULLCMD=:
26788 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26789 # is contrary to our usage. Disable this feature.
26790 alias -g '${1+"$@"}'='"$@"'
26791 setopt NO_GLOB_SUBST
26792 else
26793 case `(set -o) 2>/dev/null` in #(
26794 *posix*) :
26795 set -o posix ;; #(
26796 *) :
26798 esac
26802 as_nl='
26804 export as_nl
26805 # Printing a long string crashes Solaris 7 /usr/bin/printf.
26806 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
26807 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
26808 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
26809 # Prefer a ksh shell builtin over an external printf program on Solaris,
26810 # but without wasting forks for bash or zsh.
26811 if test -z "$BASH_VERSION$ZSH_VERSION" \
26812 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
26813 as_echo='print -r --'
26814 as_echo_n='print -rn --'
26815 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
26816 as_echo='printf %s\n'
26817 as_echo_n='printf %s'
26818 else
26819 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
26820 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
26821 as_echo_n='/usr/ucb/echo -n'
26822 else
26823 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
26824 as_echo_n_body='eval
26825 arg=$1;
26826 case $arg in #(
26827 *"$as_nl"*)
26828 expr "X$arg" : "X\\(.*\\)$as_nl";
26829 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
26830 esac;
26831 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
26833 export as_echo_n_body
26834 as_echo_n='sh -c $as_echo_n_body as_echo'
26836 export as_echo_body
26837 as_echo='sh -c $as_echo_body as_echo'
26840 # The user is always right.
26841 if test "${PATH_SEPARATOR+set}" != set; then
26842 PATH_SEPARATOR=:
26843 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
26844 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
26845 PATH_SEPARATOR=';'
26850 # IFS
26851 # We need space, tab and new line, in precisely that order. Quoting is
26852 # there to prevent editors from complaining about space-tab.
26853 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
26854 # splitting by setting IFS to empty value.)
26855 IFS=" "" $as_nl"
26857 # Find who we are. Look in the path if we contain no directory separator.
26858 case $0 in #((
26859 *[\\/]* ) as_myself=$0 ;;
26860 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26861 for as_dir in $PATH
26863 IFS=$as_save_IFS
26864 test -z "$as_dir" && as_dir=.
26865 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
26866 done
26867 IFS=$as_save_IFS
26870 esac
26871 # We did not find ourselves, most probably we were run as `sh COMMAND'
26872 # in which case we are not to be found in the path.
26873 if test "x$as_myself" = x; then
26874 as_myself=$0
26876 if test ! -f "$as_myself"; then
26877 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
26878 exit 1
26881 # Unset variables that we do not need and which cause bugs (e.g. in
26882 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
26883 # suppresses any "Segmentation fault" message there. '((' could
26884 # trigger a bug in pdksh 5.2.14.
26885 for as_var in BASH_ENV ENV MAIL MAILPATH
26886 do eval test x\${$as_var+set} = xset \
26887 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
26888 done
26889 PS1='$ '
26890 PS2='> '
26891 PS4='+ '
26893 # NLS nuisances.
26894 LC_ALL=C
26895 export LC_ALL
26896 LANGUAGE=C
26897 export LANGUAGE
26899 # CDPATH.
26900 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
26903 # as_fn_error ERROR [LINENO LOG_FD]
26904 # ---------------------------------
26905 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
26906 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
26907 # script with status $?, using 1 if that was 0.
26908 as_fn_error ()
26910 as_status=$?; test $as_status -eq 0 && as_status=1
26911 if test "$3"; then
26912 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
26913 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
26915 $as_echo "$as_me: error: $1" >&2
26916 as_fn_exit $as_status
26917 } # as_fn_error
26920 # as_fn_set_status STATUS
26921 # -----------------------
26922 # Set $? to STATUS, without forking.
26923 as_fn_set_status ()
26925 return $1
26926 } # as_fn_set_status
26928 # as_fn_exit STATUS
26929 # -----------------
26930 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
26931 as_fn_exit ()
26933 set +e
26934 as_fn_set_status $1
26935 exit $1
26936 } # as_fn_exit
26938 # as_fn_unset VAR
26939 # ---------------
26940 # Portably unset VAR.
26941 as_fn_unset ()
26943 { eval $1=; unset $1;}
26945 as_unset=as_fn_unset
26946 # as_fn_append VAR VALUE
26947 # ----------------------
26948 # Append the text in VALUE to the end of the definition contained in VAR. Take
26949 # advantage of any shell optimizations that allow amortized linear growth over
26950 # repeated appends, instead of the typical quadratic growth present in naive
26951 # implementations.
26952 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
26953 eval 'as_fn_append ()
26955 eval $1+=\$2
26957 else
26958 as_fn_append ()
26960 eval $1=\$$1\$2
26962 fi # as_fn_append
26964 # as_fn_arith ARG...
26965 # ------------------
26966 # Perform arithmetic evaluation on the ARGs, and store the result in the
26967 # global $as_val. Take advantage of shells that can avoid forks. The arguments
26968 # must be portable across $(()) and expr.
26969 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
26970 eval 'as_fn_arith ()
26972 as_val=$(( $* ))
26974 else
26975 as_fn_arith ()
26977 as_val=`expr "$@" || test $? -eq 1`
26979 fi # as_fn_arith
26982 if expr a : '\(a\)' >/dev/null 2>&1 &&
26983 test "X`expr 00001 : '.*\(...\)'`" = X001; then
26984 as_expr=expr
26985 else
26986 as_expr=false
26989 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
26990 as_basename=basename
26991 else
26992 as_basename=false
26995 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
26996 as_dirname=dirname
26997 else
26998 as_dirname=false
27001 as_me=`$as_basename -- "$0" ||
27002 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
27003 X"$0" : 'X\(//\)$' \| \
27004 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
27005 $as_echo X/"$0" |
27006 sed '/^.*\/\([^/][^/]*\)\/*$/{
27007 s//\1/
27010 /^X\/\(\/\/\)$/{
27011 s//\1/
27014 /^X\/\(\/\).*/{
27015 s//\1/
27018 s/.*/./; q'`
27020 # Avoid depending upon Character Ranges.
27021 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
27022 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
27023 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
27024 as_cr_digits='0123456789'
27025 as_cr_alnum=$as_cr_Letters$as_cr_digits
27027 ECHO_C= ECHO_N= ECHO_T=
27028 case `echo -n x` in #(((((
27029 -n*)
27030 case `echo 'xy\c'` in
27031 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
27032 xy) ECHO_C='\c';;
27033 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
27034 ECHO_T=' ';;
27035 esac;;
27037 ECHO_N='-n';;
27038 esac
27040 rm -f conf$$ conf$$.exe conf$$.file
27041 if test -d conf$$.dir; then
27042 rm -f conf$$.dir/conf$$.file
27043 else
27044 rm -f conf$$.dir
27045 mkdir conf$$.dir 2>/dev/null
27047 if (echo >conf$$.file) 2>/dev/null; then
27048 if ln -s conf$$.file conf$$ 2>/dev/null; then
27049 as_ln_s='ln -s'
27050 # ... but there are two gotchas:
27051 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
27052 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
27053 # In both cases, we have to default to `cp -p'.
27054 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
27055 as_ln_s='cp -p'
27056 elif ln conf$$.file conf$$ 2>/dev/null; then
27057 as_ln_s=ln
27058 else
27059 as_ln_s='cp -p'
27061 else
27062 as_ln_s='cp -p'
27064 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
27065 rmdir conf$$.dir 2>/dev/null
27068 # as_fn_mkdir_p
27069 # -------------
27070 # Create "$as_dir" as a directory, including parents if necessary.
27071 as_fn_mkdir_p ()
27074 case $as_dir in #(
27075 -*) as_dir=./$as_dir;;
27076 esac
27077 test -d "$as_dir" || eval $as_mkdir_p || {
27078 as_dirs=
27079 while :; do
27080 case $as_dir in #(
27081 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
27082 *) as_qdir=$as_dir;;
27083 esac
27084 as_dirs="'$as_qdir' $as_dirs"
27085 as_dir=`$as_dirname -- "$as_dir" ||
27086 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27087 X"$as_dir" : 'X\(//\)[^/]' \| \
27088 X"$as_dir" : 'X\(//\)$' \| \
27089 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
27090 $as_echo X"$as_dir" |
27091 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27092 s//\1/
27095 /^X\(\/\/\)[^/].*/{
27096 s//\1/
27099 /^X\(\/\/\)$/{
27100 s//\1/
27103 /^X\(\/\).*/{
27104 s//\1/
27107 s/.*/./; q'`
27108 test -d "$as_dir" && break
27109 done
27110 test -z "$as_dirs" || eval "mkdir $as_dirs"
27111 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
27114 } # as_fn_mkdir_p
27115 if mkdir -p . 2>/dev/null; then
27116 as_mkdir_p='mkdir -p "$as_dir"'
27117 else
27118 test -d ./-p && rmdir ./-p
27119 as_mkdir_p=false
27122 if test -x / >/dev/null 2>&1; then
27123 as_test_x='test -x'
27124 else
27125 if ls -dL / >/dev/null 2>&1; then
27126 as_ls_L_option=L
27127 else
27128 as_ls_L_option=
27130 as_test_x='
27131 eval sh -c '\''
27132 if test -d "$1"; then
27133 test -d "$1/.";
27134 else
27135 case $1 in #(
27136 -*)set "./$1";;
27137 esac;
27138 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
27139 ???[sx]*):;;*)false;;esac;fi
27140 '\'' sh
27143 as_executable_p=$as_test_x
27145 # Sed expression to map a string onto a valid CPP name.
27146 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
27148 # Sed expression to map a string onto a valid variable name.
27149 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
27152 exec 6>&1
27153 ## ----------------------------------- ##
27154 ## Main body of $CONFIG_STATUS script. ##
27155 ## ----------------------------------- ##
27156 _ASEOF
27157 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
27159 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27160 # Save the log message, to keep $0 and so on meaningful, and to
27161 # report actual input values of CONFIG_FILES etc. instead of their
27162 # values after options handling.
27163 ac_log="
27164 This file was extended by GNU Fortran Runtime Library $as_me 0.3, which was
27165 generated by GNU Autoconf 2.64. Invocation command line was
27167 CONFIG_FILES = $CONFIG_FILES
27168 CONFIG_HEADERS = $CONFIG_HEADERS
27169 CONFIG_LINKS = $CONFIG_LINKS
27170 CONFIG_COMMANDS = $CONFIG_COMMANDS
27171 $ $0 $@
27173 on `(hostname || uname -n) 2>/dev/null | sed 1q`
27176 _ACEOF
27178 case $ac_config_files in *"
27179 "*) set x $ac_config_files; shift; ac_config_files=$*;;
27180 esac
27182 case $ac_config_headers in *"
27183 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
27184 esac
27187 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27188 # Files that config.status was made for.
27189 config_files="$ac_config_files"
27190 config_headers="$ac_config_headers"
27191 config_commands="$ac_config_commands"
27193 _ACEOF
27195 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27196 ac_cs_usage="\
27197 \`$as_me' instantiates files and other configuration actions
27198 from templates according to the current configuration. Unless the files
27199 and actions are specified as TAGs, all are instantiated by default.
27201 Usage: $0 [OPTION]... [TAG]...
27203 -h, --help print this help, then exit
27204 -V, --version print version number and configuration settings, then exit
27205 -q, --quiet, --silent
27206 do not print progress messages
27207 -d, --debug don't remove temporary files
27208 --recheck update $as_me by reconfiguring in the same conditions
27209 --file=FILE[:TEMPLATE]
27210 instantiate the configuration file FILE
27211 --header=FILE[:TEMPLATE]
27212 instantiate the configuration header FILE
27214 Configuration files:
27215 $config_files
27217 Configuration headers:
27218 $config_headers
27220 Configuration commands:
27221 $config_commands
27223 Report bugs to the package provider.
27224 GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
27225 General help using GNU software: <http://www.gnu.org/gethelp/>."
27227 _ACEOF
27228 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27229 ac_cs_version="\\
27230 GNU Fortran Runtime Library config.status 0.3
27231 configured by $0, generated by GNU Autoconf 2.64,
27232 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
27234 Copyright (C) 2009 Free Software Foundation, Inc.
27235 This config.status script is free software; the Free Software Foundation
27236 gives unlimited permission to copy, distribute and modify it."
27238 ac_pwd='$ac_pwd'
27239 srcdir='$srcdir'
27240 INSTALL='$INSTALL'
27241 MKDIR_P='$MKDIR_P'
27242 AWK='$AWK'
27243 test -n "\$AWK" || AWK=awk
27244 _ACEOF
27246 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27247 # The default lists apply if the user does not specify any file.
27248 ac_need_defaults=:
27249 while test $# != 0
27251 case $1 in
27252 --*=*)
27253 ac_option=`expr "X$1" : 'X\([^=]*\)='`
27254 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
27255 ac_shift=:
27258 ac_option=$1
27259 ac_optarg=$2
27260 ac_shift=shift
27262 esac
27264 case $ac_option in
27265 # Handling of the options.
27266 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
27267 ac_cs_recheck=: ;;
27268 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
27269 $as_echo "$ac_cs_version"; exit ;;
27270 --debug | --debu | --deb | --de | --d | -d )
27271 debug=: ;;
27272 --file | --fil | --fi | --f )
27273 $ac_shift
27274 case $ac_optarg in
27275 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
27276 esac
27277 as_fn_append CONFIG_FILES " '$ac_optarg'"
27278 ac_need_defaults=false;;
27279 --header | --heade | --head | --hea )
27280 $ac_shift
27281 case $ac_optarg in
27282 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
27283 esac
27284 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
27285 ac_need_defaults=false;;
27286 --he | --h)
27287 # Conflict between --help and --header
27288 as_fn_error "ambiguous option: \`$1'
27289 Try \`$0 --help' for more information.";;
27290 --help | --hel | -h )
27291 $as_echo "$ac_cs_usage"; exit ;;
27292 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
27293 | -silent | --silent | --silen | --sile | --sil | --si | --s)
27294 ac_cs_silent=: ;;
27296 # This is an error.
27297 -*) as_fn_error "unrecognized option: \`$1'
27298 Try \`$0 --help' for more information." ;;
27300 *) as_fn_append ac_config_targets " $1"
27301 ac_need_defaults=false ;;
27303 esac
27304 shift
27305 done
27307 ac_configure_extra_args=
27309 if $ac_cs_silent; then
27310 exec 6>/dev/null
27311 ac_configure_extra_args="$ac_configure_extra_args --silent"
27314 _ACEOF
27315 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27316 if \$ac_cs_recheck; then
27317 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
27318 shift
27319 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
27320 CONFIG_SHELL='$SHELL'
27321 export CONFIG_SHELL
27322 exec "\$@"
27325 _ACEOF
27326 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27327 exec 5>>config.log
27329 echo
27330 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
27331 ## Running $as_me. ##
27332 _ASBOX
27333 $as_echo "$ac_log"
27334 } >&5
27336 _ACEOF
27337 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27339 # INIT-COMMANDS
27342 srcdir="$srcdir"
27343 host="$host"
27344 target="$target"
27345 with_multisubdir="$with_multisubdir"
27346 with_multisrctop="$with_multisrctop"
27347 with_target_subdir="$with_target_subdir"
27348 ac_configure_args="${multilib_arg} ${ac_configure_args}"
27349 multi_basedir="$multi_basedir"
27350 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
27351 CC="$CC"
27352 CXX="$CXX"
27353 GFORTRAN="$GFORTRAN"
27354 GCJ="$GCJ"
27355 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
27358 # The HP-UX ksh and POSIX shell print the target directory to stdout
27359 # if CDPATH is set.
27360 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
27362 sed_quote_subst='$sed_quote_subst'
27363 double_quote_subst='$double_quote_subst'
27364 delay_variable_subst='$delay_variable_subst'
27365 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
27366 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
27367 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
27368 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
27369 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
27370 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
27371 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
27372 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
27373 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
27374 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
27375 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
27376 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
27377 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
27378 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
27379 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
27380 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
27381 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
27382 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
27383 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
27384 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
27385 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
27386 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
27387 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
27388 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
27389 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
27390 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
27391 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
27392 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
27393 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
27394 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
27395 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
27396 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
27397 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
27398 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
27399 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
27400 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
27401 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
27402 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
27403 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
27404 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
27405 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
27406 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
27407 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
27408 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
27409 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
27410 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
27411 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
27412 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
27413 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"`'
27414 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
27415 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
27416 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
27417 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
27418 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
27419 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
27420 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
27421 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
27422 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
27423 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
27424 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
27425 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
27426 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
27427 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
27428 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
27429 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
27430 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
27431 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
27432 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
27433 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
27434 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
27435 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
27436 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
27437 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
27438 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
27439 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
27440 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
27441 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
27442 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
27443 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
27444 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
27445 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
27446 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
27447 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
27448 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
27449 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
27450 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
27451 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
27452 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
27453 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
27454 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
27455 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
27456 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
27457 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
27458 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
27459 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
27460 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
27461 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
27462 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
27463 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
27464 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
27465 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
27466 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
27467 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
27468 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
27469 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
27470 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
27471 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
27472 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
27473 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
27474 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
27475 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
27476 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
27477 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
27478 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
27479 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
27480 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
27481 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
27482 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
27483 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
27484 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
27485 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
27486 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
27487 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
27488 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
27489 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
27490 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
27491 LD_FC='`$ECHO "$LD_FC" | $SED "$delay_single_quote_subst"`'
27492 reload_flag_FC='`$ECHO "$reload_flag_FC" | $SED "$delay_single_quote_subst"`'
27493 reload_cmds_FC='`$ECHO "$reload_cmds_FC" | $SED "$delay_single_quote_subst"`'
27494 old_archive_cmds_FC='`$ECHO "$old_archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
27495 compiler_FC='`$ECHO "$compiler_FC" | $SED "$delay_single_quote_subst"`'
27496 GCC_FC='`$ECHO "$GCC_FC" | $SED "$delay_single_quote_subst"`'
27497 lt_prog_compiler_no_builtin_flag_FC='`$ECHO "$lt_prog_compiler_no_builtin_flag_FC" | $SED "$delay_single_quote_subst"`'
27498 lt_prog_compiler_wl_FC='`$ECHO "$lt_prog_compiler_wl_FC" | $SED "$delay_single_quote_subst"`'
27499 lt_prog_compiler_pic_FC='`$ECHO "$lt_prog_compiler_pic_FC" | $SED "$delay_single_quote_subst"`'
27500 lt_prog_compiler_static_FC='`$ECHO "$lt_prog_compiler_static_FC" | $SED "$delay_single_quote_subst"`'
27501 lt_cv_prog_compiler_c_o_FC='`$ECHO "$lt_cv_prog_compiler_c_o_FC" | $SED "$delay_single_quote_subst"`'
27502 archive_cmds_need_lc_FC='`$ECHO "$archive_cmds_need_lc_FC" | $SED "$delay_single_quote_subst"`'
27503 enable_shared_with_static_runtimes_FC='`$ECHO "$enable_shared_with_static_runtimes_FC" | $SED "$delay_single_quote_subst"`'
27504 export_dynamic_flag_spec_FC='`$ECHO "$export_dynamic_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
27505 whole_archive_flag_spec_FC='`$ECHO "$whole_archive_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
27506 compiler_needs_object_FC='`$ECHO "$compiler_needs_object_FC" | $SED "$delay_single_quote_subst"`'
27507 old_archive_from_new_cmds_FC='`$ECHO "$old_archive_from_new_cmds_FC" | $SED "$delay_single_quote_subst"`'
27508 old_archive_from_expsyms_cmds_FC='`$ECHO "$old_archive_from_expsyms_cmds_FC" | $SED "$delay_single_quote_subst"`'
27509 archive_cmds_FC='`$ECHO "$archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
27510 archive_expsym_cmds_FC='`$ECHO "$archive_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
27511 module_cmds_FC='`$ECHO "$module_cmds_FC" | $SED "$delay_single_quote_subst"`'
27512 module_expsym_cmds_FC='`$ECHO "$module_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
27513 with_gnu_ld_FC='`$ECHO "$with_gnu_ld_FC" | $SED "$delay_single_quote_subst"`'
27514 allow_undefined_flag_FC='`$ECHO "$allow_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
27515 no_undefined_flag_FC='`$ECHO "$no_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
27516 hardcode_libdir_flag_spec_FC='`$ECHO "$hardcode_libdir_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
27517 hardcode_libdir_flag_spec_ld_FC='`$ECHO "$hardcode_libdir_flag_spec_ld_FC" | $SED "$delay_single_quote_subst"`'
27518 hardcode_libdir_separator_FC='`$ECHO "$hardcode_libdir_separator_FC" | $SED "$delay_single_quote_subst"`'
27519 hardcode_direct_FC='`$ECHO "$hardcode_direct_FC" | $SED "$delay_single_quote_subst"`'
27520 hardcode_direct_absolute_FC='`$ECHO "$hardcode_direct_absolute_FC" | $SED "$delay_single_quote_subst"`'
27521 hardcode_minus_L_FC='`$ECHO "$hardcode_minus_L_FC" | $SED "$delay_single_quote_subst"`'
27522 hardcode_shlibpath_var_FC='`$ECHO "$hardcode_shlibpath_var_FC" | $SED "$delay_single_quote_subst"`'
27523 hardcode_automatic_FC='`$ECHO "$hardcode_automatic_FC" | $SED "$delay_single_quote_subst"`'
27524 inherit_rpath_FC='`$ECHO "$inherit_rpath_FC" | $SED "$delay_single_quote_subst"`'
27525 link_all_deplibs_FC='`$ECHO "$link_all_deplibs_FC" | $SED "$delay_single_quote_subst"`'
27526 fix_srcfile_path_FC='`$ECHO "$fix_srcfile_path_FC" | $SED "$delay_single_quote_subst"`'
27527 always_export_symbols_FC='`$ECHO "$always_export_symbols_FC" | $SED "$delay_single_quote_subst"`'
27528 export_symbols_cmds_FC='`$ECHO "$export_symbols_cmds_FC" | $SED "$delay_single_quote_subst"`'
27529 exclude_expsyms_FC='`$ECHO "$exclude_expsyms_FC" | $SED "$delay_single_quote_subst"`'
27530 include_expsyms_FC='`$ECHO "$include_expsyms_FC" | $SED "$delay_single_quote_subst"`'
27531 prelink_cmds_FC='`$ECHO "$prelink_cmds_FC" | $SED "$delay_single_quote_subst"`'
27532 file_list_spec_FC='`$ECHO "$file_list_spec_FC" | $SED "$delay_single_quote_subst"`'
27533 hardcode_action_FC='`$ECHO "$hardcode_action_FC" | $SED "$delay_single_quote_subst"`'
27534 compiler_lib_search_dirs_FC='`$ECHO "$compiler_lib_search_dirs_FC" | $SED "$delay_single_quote_subst"`'
27535 predep_objects_FC='`$ECHO "$predep_objects_FC" | $SED "$delay_single_quote_subst"`'
27536 postdep_objects_FC='`$ECHO "$postdep_objects_FC" | $SED "$delay_single_quote_subst"`'
27537 predeps_FC='`$ECHO "$predeps_FC" | $SED "$delay_single_quote_subst"`'
27538 postdeps_FC='`$ECHO "$postdeps_FC" | $SED "$delay_single_quote_subst"`'
27539 compiler_lib_search_path_FC='`$ECHO "$compiler_lib_search_path_FC" | $SED "$delay_single_quote_subst"`'
27541 LTCC='$LTCC'
27542 LTCFLAGS='$LTCFLAGS'
27543 compiler='$compiler_DEFAULT'
27545 # A function that is used when there is no print builtin or printf.
27546 func_fallback_echo ()
27548 eval 'cat <<_LTECHO_EOF
27550 _LTECHO_EOF'
27553 # Quote evaled strings.
27554 for var in SHELL \
27555 ECHO \
27556 SED \
27557 GREP \
27558 EGREP \
27559 FGREP \
27560 LD \
27561 NM \
27562 LN_S \
27563 lt_SP2NL \
27564 lt_NL2SP \
27565 reload_flag \
27566 OBJDUMP \
27567 deplibs_check_method \
27568 file_magic_cmd \
27569 AR \
27570 AR_FLAGS \
27571 STRIP \
27572 RANLIB \
27573 CC \
27574 CFLAGS \
27575 compiler \
27576 lt_cv_sys_global_symbol_pipe \
27577 lt_cv_sys_global_symbol_to_cdecl \
27578 lt_cv_sys_global_symbol_to_c_name_address \
27579 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
27580 lt_prog_compiler_no_builtin_flag \
27581 lt_prog_compiler_wl \
27582 lt_prog_compiler_pic \
27583 lt_prog_compiler_static \
27584 lt_cv_prog_compiler_c_o \
27585 need_locks \
27586 DSYMUTIL \
27587 NMEDIT \
27588 LIPO \
27589 OTOOL \
27590 OTOOL64 \
27591 shrext_cmds \
27592 export_dynamic_flag_spec \
27593 whole_archive_flag_spec \
27594 compiler_needs_object \
27595 with_gnu_ld \
27596 allow_undefined_flag \
27597 no_undefined_flag \
27598 hardcode_libdir_flag_spec \
27599 hardcode_libdir_flag_spec_ld \
27600 hardcode_libdir_separator \
27601 fix_srcfile_path \
27602 exclude_expsyms \
27603 include_expsyms \
27604 file_list_spec \
27605 variables_saved_for_relink \
27606 libname_spec \
27607 library_names_spec \
27608 soname_spec \
27609 install_override_mode \
27610 finish_eval \
27611 old_striplib \
27612 striplib \
27613 compiler_lib_search_dirs \
27614 predep_objects \
27615 postdep_objects \
27616 predeps \
27617 postdeps \
27618 compiler_lib_search_path \
27619 LD_FC \
27620 reload_flag_FC \
27621 compiler_FC \
27622 lt_prog_compiler_no_builtin_flag_FC \
27623 lt_prog_compiler_wl_FC \
27624 lt_prog_compiler_pic_FC \
27625 lt_prog_compiler_static_FC \
27626 lt_cv_prog_compiler_c_o_FC \
27627 export_dynamic_flag_spec_FC \
27628 whole_archive_flag_spec_FC \
27629 compiler_needs_object_FC \
27630 with_gnu_ld_FC \
27631 allow_undefined_flag_FC \
27632 no_undefined_flag_FC \
27633 hardcode_libdir_flag_spec_FC \
27634 hardcode_libdir_flag_spec_ld_FC \
27635 hardcode_libdir_separator_FC \
27636 fix_srcfile_path_FC \
27637 exclude_expsyms_FC \
27638 include_expsyms_FC \
27639 file_list_spec_FC \
27640 compiler_lib_search_dirs_FC \
27641 predep_objects_FC \
27642 postdep_objects_FC \
27643 predeps_FC \
27644 postdeps_FC \
27645 compiler_lib_search_path_FC; do
27646 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
27647 *[\\\\\\\`\\"\\\$]*)
27648 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
27651 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
27653 esac
27654 done
27656 # Double-quote double-evaled strings.
27657 for var in reload_cmds \
27658 old_postinstall_cmds \
27659 old_postuninstall_cmds \
27660 old_archive_cmds \
27661 extract_expsyms_cmds \
27662 old_archive_from_new_cmds \
27663 old_archive_from_expsyms_cmds \
27664 archive_cmds \
27665 archive_expsym_cmds \
27666 module_cmds \
27667 module_expsym_cmds \
27668 export_symbols_cmds \
27669 prelink_cmds \
27670 postinstall_cmds \
27671 postuninstall_cmds \
27672 finish_cmds \
27673 sys_lib_search_path_spec \
27674 sys_lib_dlsearch_path_spec \
27675 reload_cmds_FC \
27676 old_archive_cmds_FC \
27677 old_archive_from_new_cmds_FC \
27678 old_archive_from_expsyms_cmds_FC \
27679 archive_cmds_FC \
27680 archive_expsym_cmds_FC \
27681 module_cmds_FC \
27682 module_expsym_cmds_FC \
27683 export_symbols_cmds_FC \
27684 prelink_cmds_FC; do
27685 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
27686 *[\\\\\\\`\\"\\\$]*)
27687 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
27690 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
27692 esac
27693 done
27695 ac_aux_dir='$ac_aux_dir'
27696 xsi_shell='$xsi_shell'
27697 lt_shell_append='$lt_shell_append'
27699 # See if we are running on zsh, and set the options which allow our
27700 # commands through without removal of \ escapes INIT.
27701 if test -n "\${ZSH_VERSION+set}" ; then
27702 setopt NO_GLOB_SUBST
27706 PACKAGE='$PACKAGE'
27707 VERSION='$VERSION'
27708 TIMESTAMP='$TIMESTAMP'
27709 RM='$RM'
27710 ofile='$ofile'
27717 GCC="$GCC"
27718 CC="$CC"
27719 acx_cv_header_stdint="$acx_cv_header_stdint"
27720 acx_cv_type_int8_t="$acx_cv_type_int8_t"
27721 acx_cv_type_int16_t="$acx_cv_type_int16_t"
27722 acx_cv_type_int32_t="$acx_cv_type_int32_t"
27723 acx_cv_type_int64_t="$acx_cv_type_int64_t"
27724 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
27725 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
27726 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
27727 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
27728 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
27729 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
27730 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
27731 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
27732 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
27735 _ACEOF
27737 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27739 # Handling of arguments.
27740 for ac_config_target in $ac_config_targets
27742 case $ac_config_target in
27743 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
27744 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
27745 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
27746 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
27747 "gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS gstdint.h" ;;
27748 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
27749 "libgfortran.spec") CONFIG_FILES="$CONFIG_FILES libgfortran.spec" ;;
27751 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
27752 esac
27753 done
27756 # If the user did not use the arguments to specify the items to instantiate,
27757 # then the envvar interface is used. Set only those that are not.
27758 # We use the long form for the default assignment because of an extremely
27759 # bizarre bug on SunOS 4.1.3.
27760 if $ac_need_defaults; then
27761 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
27762 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
27763 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
27766 # Have a temporary directory for convenience. Make it in the build tree
27767 # simply because there is no reason against having it here, and in addition,
27768 # creating and moving files from /tmp can sometimes cause problems.
27769 # Hook for its removal unless debugging.
27770 # Note that there is a small window in which the directory will not be cleaned:
27771 # after its creation but before its name has been assigned to `$tmp'.
27772 $debug ||
27774 tmp=
27775 trap 'exit_status=$?
27776 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
27778 trap 'as_fn_exit 1' 1 2 13 15
27780 # Create a (secure) tmp directory for tmp files.
27783 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
27784 test -n "$tmp" && test -d "$tmp"
27785 } ||
27787 tmp=./conf$$-$RANDOM
27788 (umask 077 && mkdir "$tmp")
27789 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
27791 # Set up the scripts for CONFIG_FILES section.
27792 # No need to generate them if there are no CONFIG_FILES.
27793 # This happens for instance with `./config.status config.h'.
27794 if test -n "$CONFIG_FILES"; then
27797 ac_cr=`echo X | tr X '\015'`
27798 # On cygwin, bash can eat \r inside `` if the user requested igncr.
27799 # But we know of no other shell where ac_cr would be empty at this
27800 # point, so we can use a bashism as a fallback.
27801 if test "x$ac_cr" = x; then
27802 eval ac_cr=\$\'\\r\'
27804 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
27805 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
27806 ac_cs_awk_cr='\r'
27807 else
27808 ac_cs_awk_cr=$ac_cr
27811 echo 'BEGIN {' >"$tmp/subs1.awk" &&
27812 _ACEOF
27816 echo "cat >conf$$subs.awk <<_ACEOF" &&
27817 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
27818 echo "_ACEOF"
27819 } >conf$$subs.sh ||
27820 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
27821 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
27822 ac_delim='%!_!# '
27823 for ac_last_try in false false false false false :; do
27824 . ./conf$$subs.sh ||
27825 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
27827 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
27828 if test $ac_delim_n = $ac_delim_num; then
27829 break
27830 elif $ac_last_try; then
27831 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
27832 else
27833 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
27835 done
27836 rm -f conf$$subs.sh
27838 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27839 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
27840 _ACEOF
27841 sed -n '
27843 s/^/S["/; s/!.*/"]=/
27846 s/^[^!]*!//
27847 :repl
27848 t repl
27849 s/'"$ac_delim"'$//
27850 t delim
27853 s/\(.\{148\}\).*/\1/
27854 t more1
27855 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
27858 b repl
27859 :more1
27860 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
27863 s/.\{148\}//
27864 t nl
27865 :delim
27867 s/\(.\{148\}\).*/\1/
27868 t more2
27869 s/["\\]/\\&/g; s/^/"/; s/$/"/
27872 :more2
27873 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
27876 s/.\{148\}//
27877 t delim
27878 ' <conf$$subs.awk | sed '
27879 /^[^""]/{
27881 s/\n//
27883 ' >>$CONFIG_STATUS || ac_write_fail=1
27884 rm -f conf$$subs.awk
27885 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27886 _ACAWK
27887 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
27888 for (key in S) S_is_set[key] = 1
27889 FS = "\a"
27893 line = $ 0
27894 nfields = split(line, field, "@")
27895 substed = 0
27896 len = length(field[1])
27897 for (i = 2; i < nfields; i++) {
27898 key = field[i]
27899 keylen = length(key)
27900 if (S_is_set[key]) {
27901 value = S[key]
27902 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
27903 len += length(value) + length(field[++i])
27904 substed = 1
27905 } else
27906 len += 1 + keylen
27909 print line
27912 _ACAWK
27913 _ACEOF
27914 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27915 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
27916 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
27917 else
27919 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
27920 || as_fn_error "could not setup config files machinery" "$LINENO" 5
27921 _ACEOF
27923 # VPATH may cause trouble with some makes, so we remove $(srcdir),
27924 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
27925 # trailing colons and then remove the whole line if VPATH becomes empty
27926 # (actually we leave an empty line to preserve line numbers).
27927 if test "x$srcdir" = x.; then
27928 ac_vpsub='/^[ ]*VPATH[ ]*=/{
27929 s/:*\$(srcdir):*/:/
27930 s/:*\${srcdir}:*/:/
27931 s/:*@srcdir@:*/:/
27932 s/^\([^=]*=[ ]*\):*/\1/
27933 s/:*$//
27934 s/^[^=]*=[ ]*$//
27938 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27939 fi # test -n "$CONFIG_FILES"
27941 # Set up the scripts for CONFIG_HEADERS section.
27942 # No need to generate them if there are no CONFIG_HEADERS.
27943 # This happens for instance with `./config.status Makefile'.
27944 if test -n "$CONFIG_HEADERS"; then
27945 cat >"$tmp/defines.awk" <<\_ACAWK ||
27946 BEGIN {
27947 _ACEOF
27949 # Transform confdefs.h into an awk script `defines.awk', embedded as
27950 # here-document in config.status, that substitutes the proper values into
27951 # config.h.in to produce config.h.
27953 # Create a delimiter string that does not exist in confdefs.h, to ease
27954 # handling of long lines.
27955 ac_delim='%!_!# '
27956 for ac_last_try in false false :; do
27957 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
27958 if test -z "$ac_t"; then
27959 break
27960 elif $ac_last_try; then
27961 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
27962 else
27963 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
27965 done
27967 # For the awk script, D is an array of macro values keyed by name,
27968 # likewise P contains macro parameters if any. Preserve backslash
27969 # newline sequences.
27971 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
27972 sed -n '
27973 s/.\{148\}/&'"$ac_delim"'/g
27974 t rset
27975 :rset
27976 s/^[ ]*#[ ]*define[ ][ ]*/ /
27977 t def
27979 :def
27980 s/\\$//
27981 t bsnl
27982 s/["\\]/\\&/g
27983 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
27984 D["\1"]=" \3"/p
27985 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
27987 :bsnl
27988 s/["\\]/\\&/g
27989 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
27990 D["\1"]=" \3\\\\\\n"\\/p
27991 t cont
27992 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
27993 t cont
27995 :cont
27997 s/.\{148\}/&'"$ac_delim"'/g
27998 t clear
27999 :clear
28000 s/\\$//
28001 t bsnlc
28002 s/["\\]/\\&/g; s/^/"/; s/$/"/p
28004 :bsnlc
28005 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
28006 b cont
28007 ' <confdefs.h | sed '
28008 s/'"$ac_delim"'/"\\\
28009 "/g' >>$CONFIG_STATUS || ac_write_fail=1
28011 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28012 for (key in D) D_is_set[key] = 1
28013 FS = "\a"
28015 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
28016 line = \$ 0
28017 split(line, arg, " ")
28018 if (arg[1] == "#") {
28019 defundef = arg[2]
28020 mac1 = arg[3]
28021 } else {
28022 defundef = substr(arg[1], 2)
28023 mac1 = arg[2]
28025 split(mac1, mac2, "(") #)
28026 macro = mac2[1]
28027 prefix = substr(line, 1, index(line, defundef) - 1)
28028 if (D_is_set[macro]) {
28029 # Preserve the white space surrounding the "#".
28030 print prefix "define", macro P[macro] D[macro]
28031 next
28032 } else {
28033 # Replace #undef with comments. This is necessary, for example,
28034 # in the case of _POSIX_SOURCE, which is predefined and required
28035 # on some systems where configure will not decide to define it.
28036 if (defundef == "undef") {
28037 print "/*", prefix defundef, macro, "*/"
28038 next
28042 { print }
28043 _ACAWK
28044 _ACEOF
28045 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28046 as_fn_error "could not setup config headers machinery" "$LINENO" 5
28047 fi # test -n "$CONFIG_HEADERS"
28050 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
28051 shift
28052 for ac_tag
28054 case $ac_tag in
28055 :[FHLC]) ac_mode=$ac_tag; continue;;
28056 esac
28057 case $ac_mode$ac_tag in
28058 :[FHL]*:*);;
28059 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
28060 :[FH]-) ac_tag=-:-;;
28061 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
28062 esac
28063 ac_save_IFS=$IFS
28064 IFS=:
28065 set x $ac_tag
28066 IFS=$ac_save_IFS
28067 shift
28068 ac_file=$1
28069 shift
28071 case $ac_mode in
28072 :L) ac_source=$1;;
28073 :[FH])
28074 ac_file_inputs=
28075 for ac_f
28077 case $ac_f in
28078 -) ac_f="$tmp/stdin";;
28079 *) # Look for the file first in the build tree, then in the source tree
28080 # (if the path is not absolute). The absolute path cannot be DOS-style,
28081 # because $ac_f cannot contain `:'.
28082 test -f "$ac_f" ||
28083 case $ac_f in
28084 [\\/$]*) false;;
28085 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
28086 esac ||
28087 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
28088 esac
28089 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
28090 as_fn_append ac_file_inputs " '$ac_f'"
28091 done
28093 # Let's still pretend it is `configure' which instantiates (i.e., don't
28094 # use $as_me), people would be surprised to read:
28095 # /* config.h. Generated by config.status. */
28096 configure_input='Generated from '`
28097 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
28098 `' by configure.'
28099 if test x"$ac_file" != x-; then
28100 configure_input="$ac_file. $configure_input"
28101 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
28102 $as_echo "$as_me: creating $ac_file" >&6;}
28104 # Neutralize special characters interpreted by sed in replacement strings.
28105 case $configure_input in #(
28106 *\&* | *\|* | *\\* )
28107 ac_sed_conf_input=`$as_echo "$configure_input" |
28108 sed 's/[\\\\&|]/\\\\&/g'`;; #(
28109 *) ac_sed_conf_input=$configure_input;;
28110 esac
28112 case $ac_tag in
28113 *:-:* | *:-) cat >"$tmp/stdin" \
28114 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
28115 esac
28117 esac
28119 ac_dir=`$as_dirname -- "$ac_file" ||
28120 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28121 X"$ac_file" : 'X\(//\)[^/]' \| \
28122 X"$ac_file" : 'X\(//\)$' \| \
28123 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
28124 $as_echo X"$ac_file" |
28125 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28126 s//\1/
28129 /^X\(\/\/\)[^/].*/{
28130 s//\1/
28133 /^X\(\/\/\)$/{
28134 s//\1/
28137 /^X\(\/\).*/{
28138 s//\1/
28141 s/.*/./; q'`
28142 as_dir="$ac_dir"; as_fn_mkdir_p
28143 ac_builddir=.
28145 case "$ac_dir" in
28146 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
28148 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
28149 # A ".." for each directory in $ac_dir_suffix.
28150 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
28151 case $ac_top_builddir_sub in
28152 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
28153 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
28154 esac ;;
28155 esac
28156 ac_abs_top_builddir=$ac_pwd
28157 ac_abs_builddir=$ac_pwd$ac_dir_suffix
28158 # for backward compatibility:
28159 ac_top_builddir=$ac_top_build_prefix
28161 case $srcdir in
28162 .) # We are building in place.
28163 ac_srcdir=.
28164 ac_top_srcdir=$ac_top_builddir_sub
28165 ac_abs_top_srcdir=$ac_pwd ;;
28166 [\\/]* | ?:[\\/]* ) # Absolute name.
28167 ac_srcdir=$srcdir$ac_dir_suffix;
28168 ac_top_srcdir=$srcdir
28169 ac_abs_top_srcdir=$srcdir ;;
28170 *) # Relative name.
28171 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
28172 ac_top_srcdir=$ac_top_build_prefix$srcdir
28173 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
28174 esac
28175 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
28178 case $ac_mode in
28181 # CONFIG_FILE
28184 case $INSTALL in
28185 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
28186 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
28187 esac
28188 ac_MKDIR_P=$MKDIR_P
28189 case $MKDIR_P in
28190 [\\/$]* | ?:[\\/]* ) ;;
28191 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
28192 esac
28193 _ACEOF
28195 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28196 # If the template does not know about datarootdir, expand it.
28197 # FIXME: This hack should be removed a few years after 2.60.
28198 ac_datarootdir_hack=; ac_datarootdir_seen=
28199 ac_sed_dataroot='
28200 /datarootdir/ {
28204 /@datadir@/p
28205 /@docdir@/p
28206 /@infodir@/p
28207 /@localedir@/p
28208 /@mandir@/p'
28209 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
28210 *datarootdir*) ac_datarootdir_seen=yes;;
28211 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
28212 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
28213 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
28214 _ACEOF
28215 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28216 ac_datarootdir_hack='
28217 s&@datadir@&$datadir&g
28218 s&@docdir@&$docdir&g
28219 s&@infodir@&$infodir&g
28220 s&@localedir@&$localedir&g
28221 s&@mandir@&$mandir&g
28222 s&\\\${datarootdir}&$datarootdir&g' ;;
28223 esac
28224 _ACEOF
28226 # Neutralize VPATH when `$srcdir' = `.'.
28227 # Shell code in configure.ac might set extrasub.
28228 # FIXME: do we really want to maintain this feature?
28229 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28230 ac_sed_extra="$ac_vpsub
28231 $extrasub
28232 _ACEOF
28233 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28235 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
28236 s|@configure_input@|$ac_sed_conf_input|;t t
28237 s&@top_builddir@&$ac_top_builddir_sub&;t t
28238 s&@top_build_prefix@&$ac_top_build_prefix&;t t
28239 s&@srcdir@&$ac_srcdir&;t t
28240 s&@abs_srcdir@&$ac_abs_srcdir&;t t
28241 s&@top_srcdir@&$ac_top_srcdir&;t t
28242 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
28243 s&@builddir@&$ac_builddir&;t t
28244 s&@abs_builddir@&$ac_abs_builddir&;t t
28245 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
28246 s&@INSTALL@&$ac_INSTALL&;t t
28247 s&@MKDIR_P@&$ac_MKDIR_P&;t t
28248 $ac_datarootdir_hack
28250 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
28251 || as_fn_error "could not create $ac_file" "$LINENO" 5
28253 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
28254 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
28255 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
28256 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
28257 which seems to be undefined. Please make sure it is defined." >&5
28258 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
28259 which seems to be undefined. Please make sure it is defined." >&2;}
28261 rm -f "$tmp/stdin"
28262 case $ac_file in
28263 -) cat "$tmp/out" && rm -f "$tmp/out";;
28264 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
28265 esac \
28266 || as_fn_error "could not create $ac_file" "$LINENO" 5
28270 # CONFIG_HEADER
28272 if test x"$ac_file" != x-; then
28274 $as_echo "/* $configure_input */" \
28275 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
28276 } >"$tmp/config.h" \
28277 || as_fn_error "could not create $ac_file" "$LINENO" 5
28278 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
28279 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
28280 $as_echo "$as_me: $ac_file is unchanged" >&6;}
28281 else
28282 rm -f "$ac_file"
28283 mv "$tmp/config.h" "$ac_file" \
28284 || as_fn_error "could not create $ac_file" "$LINENO" 5
28286 else
28287 $as_echo "/* $configure_input */" \
28288 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
28289 || as_fn_error "could not create -" "$LINENO" 5
28291 # Compute "$ac_file"'s index in $config_headers.
28292 _am_arg="$ac_file"
28293 _am_stamp_count=1
28294 for _am_header in $config_headers :; do
28295 case $_am_header in
28296 $_am_arg | $_am_arg:* )
28297 break ;;
28299 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
28300 esac
28301 done
28302 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
28303 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28304 X"$_am_arg" : 'X\(//\)[^/]' \| \
28305 X"$_am_arg" : 'X\(//\)$' \| \
28306 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
28307 $as_echo X"$_am_arg" |
28308 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28309 s//\1/
28312 /^X\(\/\/\)[^/].*/{
28313 s//\1/
28316 /^X\(\/\/\)$/{
28317 s//\1/
28320 /^X\(\/\).*/{
28321 s//\1/
28324 s/.*/./; q'`/stamp-h$_am_stamp_count
28327 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
28328 $as_echo "$as_me: executing $ac_file commands" >&6;}
28330 esac
28333 case $ac_file$ac_mode in
28334 "default-1":C)
28335 # Only add multilib support code if we just rebuilt the top-level
28336 # Makefile.
28337 case " $CONFIG_FILES " in
28338 *" Makefile "*)
28339 ac_file=Makefile . ${multi_basedir}/config-ml.in
28341 esac ;;
28342 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
28343 # Autoconf 2.62 quotes --file arguments for eval, but not when files
28344 # are listed without --file. Let's play safe and only enable the eval
28345 # if we detect the quoting.
28346 case $CONFIG_FILES in
28347 *\'*) eval set x "$CONFIG_FILES" ;;
28348 *) set x $CONFIG_FILES ;;
28349 esac
28350 shift
28351 for mf
28353 # Strip MF so we end up with the name of the file.
28354 mf=`echo "$mf" | sed -e 's/:.*$//'`
28355 # Check whether this is an Automake generated Makefile or not.
28356 # We used to match only the files named `Makefile.in', but
28357 # some people rename them; so instead we look at the file content.
28358 # Grep'ing the first line is not enough: some people post-process
28359 # each Makefile.in and add a new line on top of each file to say so.
28360 # Grep'ing the whole file is not good either: AIX grep has a line
28361 # limit of 2048, but all sed's we know have understand at least 4000.
28362 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
28363 dirpart=`$as_dirname -- "$mf" ||
28364 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28365 X"$mf" : 'X\(//\)[^/]' \| \
28366 X"$mf" : 'X\(//\)$' \| \
28367 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
28368 $as_echo X"$mf" |
28369 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28370 s//\1/
28373 /^X\(\/\/\)[^/].*/{
28374 s//\1/
28377 /^X\(\/\/\)$/{
28378 s//\1/
28381 /^X\(\/\).*/{
28382 s//\1/
28385 s/.*/./; q'`
28386 else
28387 continue
28389 # Extract the definition of DEPDIR, am__include, and am__quote
28390 # from the Makefile without running `make'.
28391 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
28392 test -z "$DEPDIR" && continue
28393 am__include=`sed -n 's/^am__include = //p' < "$mf"`
28394 test -z "am__include" && continue
28395 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
28396 # When using ansi2knr, U may be empty or an underscore; expand it
28397 U=`sed -n 's/^U = //p' < "$mf"`
28398 # Find all dependency output files, they are included files with
28399 # $(DEPDIR) in their names. We invoke sed twice because it is the
28400 # simplest approach to changing $(DEPDIR) to its actual value in the
28401 # expansion.
28402 for file in `sed -n "
28403 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
28404 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
28405 # Make sure the directory exists.
28406 test -f "$dirpart/$file" && continue
28407 fdir=`$as_dirname -- "$file" ||
28408 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28409 X"$file" : 'X\(//\)[^/]' \| \
28410 X"$file" : 'X\(//\)$' \| \
28411 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
28412 $as_echo X"$file" |
28413 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28414 s//\1/
28417 /^X\(\/\/\)[^/].*/{
28418 s//\1/
28421 /^X\(\/\/\)$/{
28422 s//\1/
28425 /^X\(\/\).*/{
28426 s//\1/
28429 s/.*/./; q'`
28430 as_dir=$dirpart/$fdir; as_fn_mkdir_p
28431 # echo "creating $dirpart/$file"
28432 echo '# dummy' > "$dirpart/$file"
28433 done
28434 done
28437 "libtool":C)
28439 # See if we are running on zsh, and set the options which allow our
28440 # commands through without removal of \ escapes.
28441 if test -n "${ZSH_VERSION+set}" ; then
28442 setopt NO_GLOB_SUBST
28445 cfgfile="${ofile}T"
28446 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
28447 $RM "$cfgfile"
28449 cat <<_LT_EOF >> "$cfgfile"
28450 #! $SHELL
28452 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
28453 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
28454 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
28455 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
28457 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
28458 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
28459 # Written by Gordon Matzigkeit, 1996
28461 # This file is part of GNU Libtool.
28463 # GNU Libtool is free software; you can redistribute it and/or
28464 # modify it under the terms of the GNU General Public License as
28465 # published by the Free Software Foundation; either version 2 of
28466 # the License, or (at your option) any later version.
28468 # As a special exception to the GNU General Public License,
28469 # if you distribute this file as part of a program or library that
28470 # is built using GNU Libtool, you may include this file under the
28471 # same distribution terms that you use for the rest of that program.
28473 # GNU Libtool is distributed in the hope that it will be useful,
28474 # but WITHOUT ANY WARRANTY; without even the implied warranty of
28475 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
28476 # GNU General Public License for more details.
28478 # You should have received a copy of the GNU General Public License
28479 # along with GNU Libtool; see the file COPYING. If not, a copy
28480 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
28481 # obtained by writing to the Free Software Foundation, Inc.,
28482 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
28485 # The names of the tagged configurations supported by this script.
28486 available_tags="FC "
28488 # ### BEGIN LIBTOOL CONFIG
28490 # Which release of libtool.m4 was used?
28491 macro_version=$macro_version
28492 macro_revision=$macro_revision
28494 # Whether or not to build shared libraries.
28495 build_libtool_libs=$enable_shared
28497 # Whether or not to build static libraries.
28498 build_old_libs=$enable_static
28500 # What type of objects to build.
28501 pic_mode=$pic_mode
28503 # Whether or not to optimize for fast installation.
28504 fast_install=$enable_fast_install
28506 # Shell to use when invoking shell scripts.
28507 SHELL=$lt_SHELL
28509 # An echo program that protects backslashes.
28510 ECHO=$lt_ECHO
28512 # The host system.
28513 host_alias=$host_alias
28514 host=$host
28515 host_os=$host_os
28517 # The build system.
28518 build_alias=$build_alias
28519 build=$build
28520 build_os=$build_os
28522 # A sed program that does not truncate output.
28523 SED=$lt_SED
28525 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
28526 Xsed="\$SED -e 1s/^X//"
28528 # A grep program that handles long lines.
28529 GREP=$lt_GREP
28531 # An ERE matcher.
28532 EGREP=$lt_EGREP
28534 # A literal string matcher.
28535 FGREP=$lt_FGREP
28537 # A BSD- or MS-compatible name lister.
28538 NM=$lt_NM
28540 # Whether we need soft or hard links.
28541 LN_S=$lt_LN_S
28543 # What is the maximum length of a command?
28544 max_cmd_len=$max_cmd_len
28546 # Object file suffix (normally "o").
28547 objext=$ac_objext
28549 # Executable file suffix (normally "").
28550 exeext=$exeext
28552 # whether the shell understands "unset".
28553 lt_unset=$lt_unset
28555 # turn spaces into newlines.
28556 SP2NL=$lt_lt_SP2NL
28558 # turn newlines into spaces.
28559 NL2SP=$lt_lt_NL2SP
28561 # An object symbol dumper.
28562 OBJDUMP=$lt_OBJDUMP
28564 # Method to check whether dependent libraries are shared objects.
28565 deplibs_check_method=$lt_deplibs_check_method
28567 # Command to use when deplibs_check_method == "file_magic".
28568 file_magic_cmd=$lt_file_magic_cmd
28570 # The archiver.
28571 AR=$lt_AR
28572 AR_FLAGS=$lt_AR_FLAGS
28574 # A symbol stripping program.
28575 STRIP=$lt_STRIP
28577 # Commands used to install an old-style archive.
28578 RANLIB=$lt_RANLIB
28579 old_postinstall_cmds=$lt_old_postinstall_cmds
28580 old_postuninstall_cmds=$lt_old_postuninstall_cmds
28582 # Whether to use a lock for old archive extraction.
28583 lock_old_archive_extraction=$lock_old_archive_extraction
28585 # A C compiler.
28586 LTCC=$lt_CC
28588 # LTCC compiler flags.
28589 LTCFLAGS=$lt_CFLAGS
28591 # Take the output of nm and produce a listing of raw symbols and C names.
28592 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
28594 # Transform the output of nm in a proper C declaration.
28595 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
28597 # Transform the output of nm in a C name address pair.
28598 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
28600 # Transform the output of nm in a C name address pair when lib prefix is needed.
28601 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
28603 # The name of the directory that contains temporary libtool files.
28604 objdir=$objdir
28606 # Used to examine libraries when file_magic_cmd begins with "file".
28607 MAGIC_CMD=$MAGIC_CMD
28609 # Must we lock files when doing compilation?
28610 need_locks=$lt_need_locks
28612 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
28613 DSYMUTIL=$lt_DSYMUTIL
28615 # Tool to change global to local symbols on Mac OS X.
28616 NMEDIT=$lt_NMEDIT
28618 # Tool to manipulate fat objects and archives on Mac OS X.
28619 LIPO=$lt_LIPO
28621 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
28622 OTOOL=$lt_OTOOL
28624 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
28625 OTOOL64=$lt_OTOOL64
28627 # Old archive suffix (normally "a").
28628 libext=$libext
28630 # Shared library suffix (normally ".so").
28631 shrext_cmds=$lt_shrext_cmds
28633 # The commands to extract the exported symbol list from a shared archive.
28634 extract_expsyms_cmds=$lt_extract_expsyms_cmds
28636 # Variables whose values should be saved in libtool wrapper scripts and
28637 # restored at link time.
28638 variables_saved_for_relink=$lt_variables_saved_for_relink
28640 # Do we need the "lib" prefix for modules?
28641 need_lib_prefix=$need_lib_prefix
28643 # Do we need a version for libraries?
28644 need_version=$need_version
28646 # Library versioning type.
28647 version_type=$version_type
28649 # Shared library runtime path variable.
28650 runpath_var=$runpath_var
28652 # Shared library path variable.
28653 shlibpath_var=$shlibpath_var
28655 # Is shlibpath searched before the hard-coded library search path?
28656 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
28658 # Format of library name prefix.
28659 libname_spec=$lt_libname_spec
28661 # List of archive names. First name is the real one, the rest are links.
28662 # The last name is the one that the linker finds with -lNAME
28663 library_names_spec=$lt_library_names_spec
28665 # The coded name of the library, if different from the real name.
28666 soname_spec=$lt_soname_spec
28668 # Permission mode override for installation of shared libraries.
28669 install_override_mode=$lt_install_override_mode
28671 # Command to use after installation of a shared archive.
28672 postinstall_cmds=$lt_postinstall_cmds
28674 # Command to use after uninstallation of a shared archive.
28675 postuninstall_cmds=$lt_postuninstall_cmds
28677 # Commands used to finish a libtool library installation in a directory.
28678 finish_cmds=$lt_finish_cmds
28680 # As "finish_cmds", except a single script fragment to be evaled but
28681 # not shown.
28682 finish_eval=$lt_finish_eval
28684 # Whether we should hardcode library paths into libraries.
28685 hardcode_into_libs=$hardcode_into_libs
28687 # Compile-time system search path for libraries.
28688 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
28690 # Run-time system search path for libraries.
28691 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
28693 # Whether dlopen is supported.
28694 dlopen_support=$enable_dlopen
28696 # Whether dlopen of programs is supported.
28697 dlopen_self=$enable_dlopen_self
28699 # Whether dlopen of statically linked programs is supported.
28700 dlopen_self_static=$enable_dlopen_self_static
28702 # Commands to strip libraries.
28703 old_striplib=$lt_old_striplib
28704 striplib=$lt_striplib
28707 # The linker used to build libraries.
28708 LD=$lt_LD
28710 # How to create reloadable object files.
28711 reload_flag=$lt_reload_flag
28712 reload_cmds=$lt_reload_cmds
28714 # Commands used to build an old-style archive.
28715 old_archive_cmds=$lt_old_archive_cmds
28717 # A language specific compiler.
28718 CC=$lt_compiler
28720 # Is the compiler the GNU compiler?
28721 with_gcc=$GCC
28723 # Compiler flag to turn off builtin functions.
28724 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
28726 # How to pass a linker flag through the compiler.
28727 wl=$lt_lt_prog_compiler_wl
28729 # Additional compiler flags for building library objects.
28730 pic_flag=$lt_lt_prog_compiler_pic
28732 # Compiler flag to prevent dynamic linking.
28733 link_static_flag=$lt_lt_prog_compiler_static
28735 # Does compiler simultaneously support -c and -o options?
28736 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
28738 # Whether or not to add -lc for building shared libraries.
28739 build_libtool_need_lc=$archive_cmds_need_lc
28741 # Whether or not to disallow shared libs when runtime libs are static.
28742 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
28744 # Compiler flag to allow reflexive dlopens.
28745 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
28747 # Compiler flag to generate shared objects directly from archives.
28748 whole_archive_flag_spec=$lt_whole_archive_flag_spec
28750 # Whether the compiler copes with passing no objects directly.
28751 compiler_needs_object=$lt_compiler_needs_object
28753 # Create an old-style archive from a shared archive.
28754 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
28756 # Create a temporary old-style archive to link instead of a shared archive.
28757 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
28759 # Commands used to build a shared archive.
28760 archive_cmds=$lt_archive_cmds
28761 archive_expsym_cmds=$lt_archive_expsym_cmds
28763 # Commands used to build a loadable module if different from building
28764 # a shared archive.
28765 module_cmds=$lt_module_cmds
28766 module_expsym_cmds=$lt_module_expsym_cmds
28768 # Whether we are building with GNU ld or not.
28769 with_gnu_ld=$lt_with_gnu_ld
28771 # Flag that allows shared libraries with undefined symbols to be built.
28772 allow_undefined_flag=$lt_allow_undefined_flag
28774 # Flag that enforces no undefined symbols.
28775 no_undefined_flag=$lt_no_undefined_flag
28777 # Flag to hardcode \$libdir into a binary during linking.
28778 # This must work even if \$libdir does not exist
28779 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
28781 # If ld is used when linking, flag to hardcode \$libdir into a binary
28782 # during linking. This must work even if \$libdir does not exist.
28783 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
28785 # Whether we need a single "-rpath" flag with a separated argument.
28786 hardcode_libdir_separator=$lt_hardcode_libdir_separator
28788 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
28789 # DIR into the resulting binary.
28790 hardcode_direct=$hardcode_direct
28792 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
28793 # DIR into the resulting binary and the resulting library dependency is
28794 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
28795 # library is relocated.
28796 hardcode_direct_absolute=$hardcode_direct_absolute
28798 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
28799 # into the resulting binary.
28800 hardcode_minus_L=$hardcode_minus_L
28802 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
28803 # into the resulting binary.
28804 hardcode_shlibpath_var=$hardcode_shlibpath_var
28806 # Set to "yes" if building a shared library automatically hardcodes DIR
28807 # into the library and all subsequent libraries and executables linked
28808 # against it.
28809 hardcode_automatic=$hardcode_automatic
28811 # Set to yes if linker adds runtime paths of dependent libraries
28812 # to runtime path list.
28813 inherit_rpath=$inherit_rpath
28815 # Whether libtool must link a program against all its dependency libraries.
28816 link_all_deplibs=$link_all_deplibs
28818 # Fix the shell variable \$srcfile for the compiler.
28819 fix_srcfile_path=$lt_fix_srcfile_path
28821 # Set to "yes" if exported symbols are required.
28822 always_export_symbols=$always_export_symbols
28824 # The commands to list exported symbols.
28825 export_symbols_cmds=$lt_export_symbols_cmds
28827 # Symbols that should not be listed in the preloaded symbols.
28828 exclude_expsyms=$lt_exclude_expsyms
28830 # Symbols that must always be exported.
28831 include_expsyms=$lt_include_expsyms
28833 # Commands necessary for linking programs (against libraries) with templates.
28834 prelink_cmds=$lt_prelink_cmds
28836 # Specify filename containing input files.
28837 file_list_spec=$lt_file_list_spec
28839 # How to hardcode a shared library path into an executable.
28840 hardcode_action=$hardcode_action
28842 # The directories searched by this compiler when creating a shared library.
28843 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
28845 # Dependencies to place before and after the objects being linked to
28846 # create a shared library.
28847 predep_objects=$lt_predep_objects
28848 postdep_objects=$lt_postdep_objects
28849 predeps=$lt_predeps
28850 postdeps=$lt_postdeps
28852 # The library search path used internally by the compiler when linking
28853 # a shared library.
28854 compiler_lib_search_path=$lt_compiler_lib_search_path
28856 # ### END LIBTOOL CONFIG
28858 _LT_EOF
28860 case $host_os in
28861 aix3*)
28862 cat <<\_LT_EOF >> "$cfgfile"
28863 # AIX sometimes has problems with the GCC collect2 program. For some
28864 # reason, if we set the COLLECT_NAMES environment variable, the problems
28865 # vanish in a puff of smoke.
28866 if test "X${COLLECT_NAMES+set}" != Xset; then
28867 COLLECT_NAMES=
28868 export COLLECT_NAMES
28870 _LT_EOF
28872 esac
28875 ltmain="$ac_aux_dir/ltmain.sh"
28878 # We use sed instead of cat because bash on DJGPP gets confused if
28879 # if finds mixed CR/LF and LF-only lines. Since sed operates in
28880 # text mode, it properly converts lines to CR/LF. This bash problem
28881 # is reportedly fixed, but why not run on old versions too?
28882 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
28883 || (rm -f "$cfgfile"; exit 1)
28885 case $xsi_shell in
28886 yes)
28887 cat << \_LT_EOF >> "$cfgfile"
28889 # func_dirname file append nondir_replacement
28890 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
28891 # otherwise set result to NONDIR_REPLACEMENT.
28892 func_dirname ()
28894 case ${1} in
28895 */*) func_dirname_result="${1%/*}${2}" ;;
28896 * ) func_dirname_result="${3}" ;;
28897 esac
28900 # func_basename file
28901 func_basename ()
28903 func_basename_result="${1##*/}"
28906 # func_dirname_and_basename file append nondir_replacement
28907 # perform func_basename and func_dirname in a single function
28908 # call:
28909 # dirname: Compute the dirname of FILE. If nonempty,
28910 # add APPEND to the result, otherwise set result
28911 # to NONDIR_REPLACEMENT.
28912 # value returned in "$func_dirname_result"
28913 # basename: Compute filename of FILE.
28914 # value retuned in "$func_basename_result"
28915 # Implementation must be kept synchronized with func_dirname
28916 # and func_basename. For efficiency, we do not delegate to
28917 # those functions but instead duplicate the functionality here.
28918 func_dirname_and_basename ()
28920 case ${1} in
28921 */*) func_dirname_result="${1%/*}${2}" ;;
28922 * ) func_dirname_result="${3}" ;;
28923 esac
28924 func_basename_result="${1##*/}"
28927 # func_stripname prefix suffix name
28928 # strip PREFIX and SUFFIX off of NAME.
28929 # PREFIX and SUFFIX must not contain globbing or regex special
28930 # characters, hashes, percent signs, but SUFFIX may contain a leading
28931 # dot (in which case that matches only a dot).
28932 func_stripname ()
28934 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
28935 # positional parameters, so assign one to ordinary parameter first.
28936 func_stripname_result=${3}
28937 func_stripname_result=${func_stripname_result#"${1}"}
28938 func_stripname_result=${func_stripname_result%"${2}"}
28941 # func_opt_split
28942 func_opt_split ()
28944 func_opt_split_opt=${1%%=*}
28945 func_opt_split_arg=${1#*=}
28948 # func_lo2o object
28949 func_lo2o ()
28951 case ${1} in
28952 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
28953 *) func_lo2o_result=${1} ;;
28954 esac
28957 # func_xform libobj-or-source
28958 func_xform ()
28960 func_xform_result=${1%.*}.lo
28963 # func_arith arithmetic-term...
28964 func_arith ()
28966 func_arith_result=$(( $* ))
28969 # func_len string
28970 # STRING may not start with a hyphen.
28971 func_len ()
28973 func_len_result=${#1}
28976 _LT_EOF
28978 *) # Bourne compatible functions.
28979 cat << \_LT_EOF >> "$cfgfile"
28981 # func_dirname file append nondir_replacement
28982 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
28983 # otherwise set result to NONDIR_REPLACEMENT.
28984 func_dirname ()
28986 # Extract subdirectory from the argument.
28987 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
28988 if test "X$func_dirname_result" = "X${1}"; then
28989 func_dirname_result="${3}"
28990 else
28991 func_dirname_result="$func_dirname_result${2}"
28995 # func_basename file
28996 func_basename ()
28998 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
29002 # func_stripname prefix suffix name
29003 # strip PREFIX and SUFFIX off of NAME.
29004 # PREFIX and SUFFIX must not contain globbing or regex special
29005 # characters, hashes, percent signs, but SUFFIX may contain a leading
29006 # dot (in which case that matches only a dot).
29007 # func_strip_suffix prefix name
29008 func_stripname ()
29010 case ${2} in
29011 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
29012 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
29013 esac
29016 # sed scripts:
29017 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
29018 my_sed_long_arg='1s/^-[^=]*=//'
29020 # func_opt_split
29021 func_opt_split ()
29023 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
29024 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
29027 # func_lo2o object
29028 func_lo2o ()
29030 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
29033 # func_xform libobj-or-source
29034 func_xform ()
29036 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
29039 # func_arith arithmetic-term...
29040 func_arith ()
29042 func_arith_result=`expr "$@"`
29045 # func_len string
29046 # STRING may not start with a hyphen.
29047 func_len ()
29049 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
29052 _LT_EOF
29053 esac
29055 case $lt_shell_append in
29056 yes)
29057 cat << \_LT_EOF >> "$cfgfile"
29059 # func_append var value
29060 # Append VALUE to the end of shell variable VAR.
29061 func_append ()
29063 eval "$1+=\$2"
29065 _LT_EOF
29068 cat << \_LT_EOF >> "$cfgfile"
29070 # func_append var value
29071 # Append VALUE to the end of shell variable VAR.
29072 func_append ()
29074 eval "$1=\$$1\$2"
29077 _LT_EOF
29079 esac
29082 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
29083 || (rm -f "$cfgfile"; exit 1)
29085 mv -f "$cfgfile" "$ofile" ||
29086 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
29087 chmod +x "$ofile"
29090 cat <<_LT_EOF >> "$ofile"
29092 # ### BEGIN LIBTOOL TAG CONFIG: FC
29094 # The linker used to build libraries.
29095 LD=$lt_LD_FC
29097 # How to create reloadable object files.
29098 reload_flag=$lt_reload_flag_FC
29099 reload_cmds=$lt_reload_cmds_FC
29101 # Commands used to build an old-style archive.
29102 old_archive_cmds=$lt_old_archive_cmds_FC
29104 # A language specific compiler.
29105 CC=$lt_compiler_FC
29107 # Is the compiler the GNU compiler?
29108 with_gcc=$GCC_FC
29110 # Compiler flag to turn off builtin functions.
29111 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_FC
29113 # How to pass a linker flag through the compiler.
29114 wl=$lt_lt_prog_compiler_wl_FC
29116 # Additional compiler flags for building library objects.
29117 pic_flag=$lt_lt_prog_compiler_pic_FC
29119 # Compiler flag to prevent dynamic linking.
29120 link_static_flag=$lt_lt_prog_compiler_static_FC
29122 # Does compiler simultaneously support -c and -o options?
29123 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_FC
29125 # Whether or not to add -lc for building shared libraries.
29126 build_libtool_need_lc=$archive_cmds_need_lc_FC
29128 # Whether or not to disallow shared libs when runtime libs are static.
29129 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_FC
29131 # Compiler flag to allow reflexive dlopens.
29132 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_FC
29134 # Compiler flag to generate shared objects directly from archives.
29135 whole_archive_flag_spec=$lt_whole_archive_flag_spec_FC
29137 # Whether the compiler copes with passing no objects directly.
29138 compiler_needs_object=$lt_compiler_needs_object_FC
29140 # Create an old-style archive from a shared archive.
29141 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_FC
29143 # Create a temporary old-style archive to link instead of a shared archive.
29144 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_FC
29146 # Commands used to build a shared archive.
29147 archive_cmds=$lt_archive_cmds_FC
29148 archive_expsym_cmds=$lt_archive_expsym_cmds_FC
29150 # Commands used to build a loadable module if different from building
29151 # a shared archive.
29152 module_cmds=$lt_module_cmds_FC
29153 module_expsym_cmds=$lt_module_expsym_cmds_FC
29155 # Whether we are building with GNU ld or not.
29156 with_gnu_ld=$lt_with_gnu_ld_FC
29158 # Flag that allows shared libraries with undefined symbols to be built.
29159 allow_undefined_flag=$lt_allow_undefined_flag_FC
29161 # Flag that enforces no undefined symbols.
29162 no_undefined_flag=$lt_no_undefined_flag_FC
29164 # Flag to hardcode \$libdir into a binary during linking.
29165 # This must work even if \$libdir does not exist
29166 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_FC
29168 # If ld is used when linking, flag to hardcode \$libdir into a binary
29169 # during linking. This must work even if \$libdir does not exist.
29170 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_FC
29172 # Whether we need a single "-rpath" flag with a separated argument.
29173 hardcode_libdir_separator=$lt_hardcode_libdir_separator_FC
29175 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
29176 # DIR into the resulting binary.
29177 hardcode_direct=$hardcode_direct_FC
29179 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
29180 # DIR into the resulting binary and the resulting library dependency is
29181 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
29182 # library is relocated.
29183 hardcode_direct_absolute=$hardcode_direct_absolute_FC
29185 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
29186 # into the resulting binary.
29187 hardcode_minus_L=$hardcode_minus_L_FC
29189 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
29190 # into the resulting binary.
29191 hardcode_shlibpath_var=$hardcode_shlibpath_var_FC
29193 # Set to "yes" if building a shared library automatically hardcodes DIR
29194 # into the library and all subsequent libraries and executables linked
29195 # against it.
29196 hardcode_automatic=$hardcode_automatic_FC
29198 # Set to yes if linker adds runtime paths of dependent libraries
29199 # to runtime path list.
29200 inherit_rpath=$inherit_rpath_FC
29202 # Whether libtool must link a program against all its dependency libraries.
29203 link_all_deplibs=$link_all_deplibs_FC
29205 # Fix the shell variable \$srcfile for the compiler.
29206 fix_srcfile_path=$lt_fix_srcfile_path_FC
29208 # Set to "yes" if exported symbols are required.
29209 always_export_symbols=$always_export_symbols_FC
29211 # The commands to list exported symbols.
29212 export_symbols_cmds=$lt_export_symbols_cmds_FC
29214 # Symbols that should not be listed in the preloaded symbols.
29215 exclude_expsyms=$lt_exclude_expsyms_FC
29217 # Symbols that must always be exported.
29218 include_expsyms=$lt_include_expsyms_FC
29220 # Commands necessary for linking programs (against libraries) with templates.
29221 prelink_cmds=$lt_prelink_cmds_FC
29223 # Specify filename containing input files.
29224 file_list_spec=$lt_file_list_spec_FC
29226 # How to hardcode a shared library path into an executable.
29227 hardcode_action=$hardcode_action_FC
29229 # The directories searched by this compiler when creating a shared library.
29230 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_FC
29232 # Dependencies to place before and after the objects being linked to
29233 # create a shared library.
29234 predep_objects=$lt_predep_objects_FC
29235 postdep_objects=$lt_postdep_objects_FC
29236 predeps=$lt_predeps_FC
29237 postdeps=$lt_postdeps_FC
29239 # The library search path used internally by the compiler when linking
29240 # a shared library.
29241 compiler_lib_search_path=$lt_compiler_lib_search_path_FC
29243 # ### END LIBTOOL TAG CONFIG: FC
29244 _LT_EOF
29247 "gstdint.h":C)
29248 if test "$GCC" = yes; then
29249 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
29250 else
29251 echo "/* generated for $CC */" > tmp-stdint.h
29254 sed 's/^ *//' >> tmp-stdint.h <<EOF
29256 #ifndef GCC_GENERATED_STDINT_H
29257 #define GCC_GENERATED_STDINT_H 1
29259 #include <sys/types.h>
29262 if test "$acx_cv_header_stdint" != stdint.h; then
29263 echo "#include <stddef.h>" >> tmp-stdint.h
29265 if test "$acx_cv_header_stdint" != stddef.h; then
29266 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
29269 sed 's/^ *//' >> tmp-stdint.h <<EOF
29270 /* glibc uses these symbols as guards to prevent redefinitions. */
29271 #ifdef __int8_t_defined
29272 #define _INT8_T
29273 #define _INT16_T
29274 #define _INT32_T
29275 #endif
29276 #ifdef __uint32_t_defined
29277 #define _UINT32_T
29278 #endif
29282 # ----------------- done header, emit basic int types -------------
29283 if test "$acx_cv_header_stdint" = stddef.h; then
29284 sed 's/^ *//' >> tmp-stdint.h <<EOF
29286 #ifndef _UINT8_T
29287 #define _UINT8_T
29288 #ifndef __uint8_t_defined
29289 #define __uint8_t_defined
29290 #ifndef uint8_t
29291 typedef unsigned $acx_cv_type_int8_t uint8_t;
29292 #endif
29293 #endif
29294 #endif
29296 #ifndef _UINT16_T
29297 #define _UINT16_T
29298 #ifndef __uint16_t_defined
29299 #define __uint16_t_defined
29300 #ifndef uint16_t
29301 typedef unsigned $acx_cv_type_int16_t uint16_t;
29302 #endif
29303 #endif
29304 #endif
29306 #ifndef _UINT32_T
29307 #define _UINT32_T
29308 #ifndef __uint32_t_defined
29309 #define __uint32_t_defined
29310 #ifndef uint32_t
29311 typedef unsigned $acx_cv_type_int32_t uint32_t;
29312 #endif
29313 #endif
29314 #endif
29316 #ifndef _INT8_T
29317 #define _INT8_T
29318 #ifndef __int8_t_defined
29319 #define __int8_t_defined
29320 #ifndef int8_t
29321 typedef $acx_cv_type_int8_t int8_t;
29322 #endif
29323 #endif
29324 #endif
29326 #ifndef _INT16_T
29327 #define _INT16_T
29328 #ifndef __int16_t_defined
29329 #define __int16_t_defined
29330 #ifndef int16_t
29331 typedef $acx_cv_type_int16_t int16_t;
29332 #endif
29333 #endif
29334 #endif
29336 #ifndef _INT32_T
29337 #define _INT32_T
29338 #ifndef __int32_t_defined
29339 #define __int32_t_defined
29340 #ifndef int32_t
29341 typedef $acx_cv_type_int32_t int32_t;
29342 #endif
29343 #endif
29344 #endif
29346 elif test "$ac_cv_type_u_int32_t" = yes; then
29347 sed 's/^ *//' >> tmp-stdint.h <<EOF
29349 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
29350 #ifndef _INT8_T
29351 #define _INT8_T
29352 #endif
29353 #ifndef _INT16_T
29354 #define _INT16_T
29355 #endif
29356 #ifndef _INT32_T
29357 #define _INT32_T
29358 #endif
29360 #ifndef _UINT8_T
29361 #define _UINT8_T
29362 #ifndef __uint8_t_defined
29363 #define __uint8_t_defined
29364 #ifndef uint8_t
29365 typedef u_int8_t uint8_t;
29366 #endif
29367 #endif
29368 #endif
29370 #ifndef _UINT16_T
29371 #define _UINT16_T
29372 #ifndef __uint16_t_defined
29373 #define __uint16_t_defined
29374 #ifndef uint16_t
29375 typedef u_int16_t uint16_t;
29376 #endif
29377 #endif
29378 #endif
29380 #ifndef _UINT32_T
29381 #define _UINT32_T
29382 #ifndef __uint32_t_defined
29383 #define __uint32_t_defined
29384 #ifndef uint32_t
29385 typedef u_int32_t uint32_t;
29386 #endif
29387 #endif
29388 #endif
29390 else
29391 sed 's/^ *//' >> tmp-stdint.h <<EOF
29393 /* Some systems have guard macros to prevent redefinitions, define them. */
29394 #ifndef _INT8_T
29395 #define _INT8_T
29396 #endif
29397 #ifndef _INT16_T
29398 #define _INT16_T
29399 #endif
29400 #ifndef _INT32_T
29401 #define _INT32_T
29402 #endif
29403 #ifndef _UINT8_T
29404 #define _UINT8_T
29405 #endif
29406 #ifndef _UINT16_T
29407 #define _UINT16_T
29408 #endif
29409 #ifndef _UINT32_T
29410 #define _UINT32_T
29411 #endif
29415 # ------------- done basic int types, emit int64_t types ------------
29416 if test "$ac_cv_type_uint64_t" = yes; then
29417 sed 's/^ *//' >> tmp-stdint.h <<EOF
29419 /* system headers have good uint64_t and int64_t */
29420 #ifndef _INT64_T
29421 #define _INT64_T
29422 #endif
29423 #ifndef _UINT64_T
29424 #define _UINT64_T
29425 #endif
29427 elif test "$ac_cv_type_u_int64_t" = yes; then
29428 sed 's/^ *//' >> tmp-stdint.h <<EOF
29430 /* system headers have an u_int64_t (and int64_t) */
29431 #ifndef _INT64_T
29432 #define _INT64_T
29433 #endif
29434 #ifndef _UINT64_T
29435 #define _UINT64_T
29436 #ifndef __uint64_t_defined
29437 #define __uint64_t_defined
29438 #ifndef uint64_t
29439 typedef u_int64_t uint64_t;
29440 #endif
29441 #endif
29442 #endif
29444 elif test -n "$acx_cv_type_int64_t"; then
29445 sed 's/^ *//' >> tmp-stdint.h <<EOF
29447 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
29448 #ifndef _INT64_T
29449 #define _INT64_T
29450 #ifndef int64_t
29451 typedef $acx_cv_type_int64_t int64_t;
29452 #endif
29453 #endif
29454 #ifndef _UINT64_T
29455 #define _UINT64_T
29456 #ifndef __uint64_t_defined
29457 #define __uint64_t_defined
29458 #ifndef uint64_t
29459 typedef unsigned $acx_cv_type_int64_t uint64_t;
29460 #endif
29461 #endif
29462 #endif
29464 else
29465 sed 's/^ *//' >> tmp-stdint.h <<EOF
29467 /* some common heuristics for int64_t, using compiler-specific tests */
29468 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
29469 #ifndef _INT64_T
29470 #define _INT64_T
29471 #ifndef __int64_t_defined
29472 #ifndef int64_t
29473 typedef long long int64_t;
29474 #endif
29475 #endif
29476 #endif
29477 #ifndef _UINT64_T
29478 #define _UINT64_T
29479 #ifndef uint64_t
29480 typedef unsigned long long uint64_t;
29481 #endif
29482 #endif
29484 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
29485 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
29486 does not implement __extension__. But that compiler doesn't define
29487 __GNUC_MINOR__. */
29488 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
29489 # define __extension__
29490 # endif
29492 # ifndef _INT64_T
29493 # define _INT64_T
29494 # ifndef int64_t
29495 __extension__ typedef long long int64_t;
29496 # endif
29497 # endif
29498 # ifndef _UINT64_T
29499 # define _UINT64_T
29500 # ifndef uint64_t
29501 __extension__ typedef unsigned long long uint64_t;
29502 # endif
29503 # endif
29505 #elif !defined __STRICT_ANSI__
29506 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
29508 # ifndef _INT64_T
29509 # define _INT64_T
29510 # ifndef int64_t
29511 typedef __int64 int64_t;
29512 # endif
29513 # endif
29514 # ifndef _UINT64_T
29515 # define _UINT64_T
29516 # ifndef uint64_t
29517 typedef unsigned __int64 uint64_t;
29518 # endif
29519 # endif
29520 # endif /* compiler */
29522 #endif /* ANSI version */
29526 # ------------- done int64_t types, emit intptr types ------------
29527 if test "$ac_cv_type_uintptr_t" != yes; then
29528 sed 's/^ *//' >> tmp-stdint.h <<EOF
29530 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
29531 #ifndef __uintptr_t_defined
29532 #ifndef uintptr_t
29533 typedef u$acx_cv_type_intptr_t uintptr_t;
29534 #endif
29535 #endif
29536 #ifndef __intptr_t_defined
29537 #ifndef intptr_t
29538 typedef $acx_cv_type_intptr_t intptr_t;
29539 #endif
29540 #endif
29544 # ------------- done intptr types, emit int_least types ------------
29545 if test "$ac_cv_type_int_least32_t" != yes; then
29546 sed 's/^ *//' >> tmp-stdint.h <<EOF
29548 /* Define int_least types */
29549 typedef int8_t int_least8_t;
29550 typedef int16_t int_least16_t;
29551 typedef int32_t int_least32_t;
29552 #ifdef _INT64_T
29553 typedef int64_t int_least64_t;
29554 #endif
29556 typedef uint8_t uint_least8_t;
29557 typedef uint16_t uint_least16_t;
29558 typedef uint32_t uint_least32_t;
29559 #ifdef _UINT64_T
29560 typedef uint64_t uint_least64_t;
29561 #endif
29565 # ------------- done intptr types, emit int_fast types ------------
29566 if test "$ac_cv_type_int_fast32_t" != yes; then
29567 sed 's/^ *//' >> tmp-stdint.h <<EOF
29569 /* Define int_fast types. short is often slow */
29570 typedef int8_t int_fast8_t;
29571 typedef int int_fast16_t;
29572 typedef int32_t int_fast32_t;
29573 #ifdef _INT64_T
29574 typedef int64_t int_fast64_t;
29575 #endif
29577 typedef uint8_t uint_fast8_t;
29578 typedef unsigned int uint_fast16_t;
29579 typedef uint32_t uint_fast32_t;
29580 #ifdef _UINT64_T
29581 typedef uint64_t uint_fast64_t;
29582 #endif
29586 if test "$ac_cv_type_uintmax_t" != yes; then
29587 sed 's/^ *//' >> tmp-stdint.h <<EOF
29589 /* Define intmax based on what we found */
29590 #ifndef intmax_t
29591 #ifdef _INT64_T
29592 typedef int64_t intmax_t;
29593 #else
29594 typedef long intmax_t;
29595 #endif
29596 #endif
29597 #ifndef uintmax_t
29598 #ifdef _UINT64_T
29599 typedef uint64_t uintmax_t;
29600 #else
29601 typedef unsigned long uintmax_t;
29602 #endif
29603 #endif
29607 sed 's/^ *//' >> tmp-stdint.h <<EOF
29609 #endif /* GCC_GENERATED_STDINT_H */
29612 if test -r gstdint.h && cmp -s tmp-stdint.h gstdint.h; then
29613 rm -f tmp-stdint.h
29614 else
29615 mv -f tmp-stdint.h gstdint.h
29620 esac
29621 done # for ac_tag
29624 as_fn_exit 0
29625 _ACEOF
29626 ac_clean_files=$ac_clean_files_save
29628 test $ac_write_fail = 0 ||
29629 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
29632 # configure is writing to config.log, and then calls config.status.
29633 # config.status does its own redirection, appending to config.log.
29634 # Unfortunately, on DOS this fails, as config.log is still kept open
29635 # by configure, so config.status won't be able to write to it; its
29636 # output is simply discarded. So we exec the FD to /dev/null,
29637 # effectively closing config.log, so it can be properly (re)opened and
29638 # appended to by config.status. When coming back to configure, we
29639 # need to make the FD available again.
29640 if test "$no_create" != yes; then
29641 ac_cs_success=:
29642 ac_config_status_args=
29643 test "$silent" = yes &&
29644 ac_config_status_args="$ac_config_status_args --quiet"
29645 exec 5>/dev/null
29646 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
29647 exec 5>>config.log
29648 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
29649 # would make configure fail if this is the last instruction.
29650 $ac_cs_success || as_fn_exit $?
29652 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
29653 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
29654 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}