Daily bump.
[official-gcc.git] / libgfortran / configure
blob542359798f5b648fd61e982ed74ddc7f85dae571
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 " strtok_r"
2603 as_fn_append ac_header_list " math.h"
2604 # Check that the precious variables saved in the cache have kept the same
2605 # value.
2606 ac_cache_corrupted=false
2607 for ac_var in $ac_precious_vars; do
2608 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2609 eval ac_new_set=\$ac_env_${ac_var}_set
2610 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2611 eval ac_new_val=\$ac_env_${ac_var}_value
2612 case $ac_old_set,$ac_new_set in
2613 set,)
2614 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2615 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2616 ac_cache_corrupted=: ;;
2617 ,set)
2618 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2619 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2620 ac_cache_corrupted=: ;;
2621 ,);;
2623 if test "x$ac_old_val" != "x$ac_new_val"; then
2624 # differences in whitespace do not lead to failure.
2625 ac_old_val_w=`echo x $ac_old_val`
2626 ac_new_val_w=`echo x $ac_new_val`
2627 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2628 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2629 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2630 ac_cache_corrupted=:
2631 else
2632 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2633 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2634 eval $ac_var=\$ac_old_val
2636 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2637 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2638 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2639 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2640 fi;;
2641 esac
2642 # Pass precious variables to config.status.
2643 if test "$ac_new_set" = set; then
2644 case $ac_new_val in
2645 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2646 *) ac_arg=$ac_var=$ac_new_val ;;
2647 esac
2648 case " $ac_configure_args " in
2649 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2650 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2651 esac
2653 done
2654 if $ac_cache_corrupted; then
2655 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2656 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2657 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2658 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2659 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2661 ## -------------------- ##
2662 ## Main body of script. ##
2663 ## -------------------- ##
2665 ac_ext=c
2666 ac_cpp='$CPP $CPPFLAGS'
2667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2675 ac_config_headers="$ac_config_headers config.h"
2677 ac_aux_dir=
2678 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2679 for ac_t in install-sh install.sh shtool; do
2680 if test -f "$ac_dir/$ac_t"; then
2681 ac_aux_dir=$ac_dir
2682 ac_install_sh="$ac_aux_dir/$ac_t -c"
2683 break 2
2685 done
2686 done
2687 if test -z "$ac_aux_dir"; then
2688 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2691 # These three variables are undocumented and unsupported,
2692 # and are intended to be withdrawn in a future Autoconf release.
2693 # They can cause serious problems if a builder's source tree is in a directory
2694 # whose full name contains unusual characters.
2695 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2696 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2697 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2700 # Make sure we can run config.sub.
2701 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2702 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2705 $as_echo_n "checking build system type... " >&6; }
2706 if test "${ac_cv_build+set}" = set; then :
2707 $as_echo_n "(cached) " >&6
2708 else
2709 ac_build_alias=$build_alias
2710 test "x$ac_build_alias" = x &&
2711 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2712 test "x$ac_build_alias" = x &&
2713 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2714 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2715 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2719 $as_echo "$ac_cv_build" >&6; }
2720 case $ac_cv_build in
2721 *-*-*) ;;
2722 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2723 esac
2724 build=$ac_cv_build
2725 ac_save_IFS=$IFS; IFS='-'
2726 set x $ac_cv_build
2727 shift
2728 build_cpu=$1
2729 build_vendor=$2
2730 shift; shift
2731 # Remember, the first character of IFS is used to create $*,
2732 # except with old shells:
2733 build_os=$*
2734 IFS=$ac_save_IFS
2735 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2738 case ${build_alias} in
2739 "") build_noncanonical=${build} ;;
2740 *) build_noncanonical=${build_alias} ;;
2741 esac
2743 case ${host_alias} in
2744 "") host_noncanonical=${build_noncanonical} ;;
2745 *) host_noncanonical=${host_alias} ;;
2746 esac
2748 case ${target_alias} in
2749 "") target_noncanonical=${host_noncanonical} ;;
2750 *) target_noncanonical=${target_alias} ;;
2751 esac
2754 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2755 # have matching libraries, they should use host libraries: Makefile.tpl
2756 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2757 # However, they still use the build modules, because the corresponding
2758 # host modules (e.g. bison) are only built for the host when bootstrap
2759 # finishes. So:
2760 # - build_subdir is where we find build modules, and never changes.
2761 # - build_libsubdir is where we find build libraries, and can be overridden.
2763 # Prefix 'build-' so this never conflicts with target_subdir.
2764 build_subdir="build-${build_noncanonical}"
2766 # Check whether --with-build-libsubdir was given.
2767 if test "${with_build_libsubdir+set}" = set; then :
2768 withval=$with_build_libsubdir; build_libsubdir="$withval"
2769 else
2770 build_libsubdir="$build_subdir"
2773 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2774 if ( test $srcdir = . && test -d gcc ) \
2775 || test -d $srcdir/../host-${host_noncanonical}; then
2776 host_subdir="host-${host_noncanonical}"
2777 else
2778 host_subdir=.
2780 # No prefix.
2781 target_subdir=${target_noncanonical}
2784 # -------
2785 # Options
2786 # -------
2788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2789 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2790 # Check whether --enable-version-specific-runtime-libs was given.
2791 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2792 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
2793 yes) version_specific_libs=yes ;;
2794 no) version_specific_libs=no ;;
2795 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
2796 esac
2797 else
2798 version_specific_libs=no
2801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
2802 $as_echo "$version_specific_libs" >&6; }
2804 # Build with intermodule optimisations
2805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-intermodule" >&5
2806 $as_echo_n "checking for --enable-intermodule... " >&6; }
2807 # Check whether --enable-intermodule was given.
2808 if test "${enable_intermodule+set}" = set; then :
2809 enableval=$enable_intermodule; case "$enable_intermodule" in
2810 yes) onestep="-onestep";;
2811 *) onestep="";;
2812 esac
2813 else
2814 onestep=""
2817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_intermodule" >&5
2818 $as_echo "$enable_intermodule" >&6; }
2819 if test x$onestep = x-onestep; then
2820 onestep_TRUE=
2821 onestep_FALSE='#'
2822 else
2823 onestep_TRUE='#'
2824 onestep_FALSE=
2829 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2831 # You will slowly go insane if you do not grok the following fact: when
2832 # building this library, the top-level /target/ becomes the library's /host/.
2834 # configure then causes --target to default to --host, exactly like any
2835 # other package using autoconf. Therefore, 'target' and 'host' will
2836 # always be the same. This makes sense both for native and cross compilers
2837 # just think about it for a little while. :-)
2839 # Also, if this library is being configured as part of a cross compiler, the
2840 # top-level configure script will pass the "real" host as $with_cross_host.
2842 # Do not delete or change the following two lines. For why, see
2843 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2845 $as_echo_n "checking host system type... " >&6; }
2846 if test "${ac_cv_host+set}" = set; then :
2847 $as_echo_n "(cached) " >&6
2848 else
2849 if test "x$host_alias" = x; then
2850 ac_cv_host=$ac_cv_build
2851 else
2852 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2853 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2858 $as_echo "$ac_cv_host" >&6; }
2859 case $ac_cv_host in
2860 *-*-*) ;;
2861 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2862 esac
2863 host=$ac_cv_host
2864 ac_save_IFS=$IFS; IFS='-'
2865 set x $ac_cv_host
2866 shift
2867 host_cpu=$1
2868 host_vendor=$2
2869 shift; shift
2870 # Remember, the first character of IFS is used to create $*,
2871 # except with old shells:
2872 host_os=$*
2873 IFS=$ac_save_IFS
2874 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2878 $as_echo_n "checking target system type... " >&6; }
2879 if test "${ac_cv_target+set}" = set; then :
2880 $as_echo_n "(cached) " >&6
2881 else
2882 if test "x$target_alias" = x; then
2883 ac_cv_target=$ac_cv_host
2884 else
2885 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2886 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2891 $as_echo "$ac_cv_target" >&6; }
2892 case $ac_cv_target in
2893 *-*-*) ;;
2894 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2895 esac
2896 target=$ac_cv_target
2897 ac_save_IFS=$IFS; IFS='-'
2898 set x $ac_cv_target
2899 shift
2900 target_cpu=$1
2901 target_vendor=$2
2902 shift; shift
2903 # Remember, the first character of IFS is used to create $*,
2904 # except with old shells:
2905 target_os=$*
2906 IFS=$ac_save_IFS
2907 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2910 # The aliases save the names the user supplied, while $host etc.
2911 # will get canonicalized.
2912 test -n "$target_alias" &&
2913 test "$program_prefix$program_suffix$program_transform_name" = \
2914 NONENONEs,x,x, &&
2915 program_prefix=${target_alias}-
2920 target_alias=${target_alias-$host_alias}
2923 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
2924 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
2925 # 1.9.6: minimum required version
2926 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
2927 # of other PACKAGE_* variables will, however, and there's nothing
2928 # we can do about that; they come from AC_INIT).
2929 # foreign: we don't follow the normal rules for GNU packages (no COPYING
2930 # file in the top srcdir, etc, etc), so stop complaining.
2931 # no-dist: we don't want 'dist' and related rules.
2932 # -Wall: turns on all automake warnings...
2933 # -Wno-portability: ...except this one, since GNU make is required.
2934 am__api_version='1.11'
2936 # Find a good install program. We prefer a C program (faster),
2937 # so one script is as good as another. But avoid the broken or
2938 # incompatible versions:
2939 # SysV /etc/install, /usr/sbin/install
2940 # SunOS /usr/etc/install
2941 # IRIX /sbin/install
2942 # AIX /bin/install
2943 # AmigaOS /C/install, which installs bootblocks on floppy discs
2944 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2945 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2946 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2947 # OS/2's system install, which has a completely different semantic
2948 # ./install, which can be erroneously created by make from ./install.sh.
2949 # Reject install programs that cannot install multiple files.
2950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2951 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2952 if test -z "$INSTALL"; then
2953 if test "${ac_cv_path_install+set}" = set; then :
2954 $as_echo_n "(cached) " >&6
2955 else
2956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2957 for as_dir in $PATH
2959 IFS=$as_save_IFS
2960 test -z "$as_dir" && as_dir=.
2961 # Account for people who put trailing slashes in PATH elements.
2962 case $as_dir/ in #((
2963 ./ | .// | /[cC]/* | \
2964 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2965 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2966 /usr/ucb/* ) ;;
2968 # OSF1 and SCO ODT 3.0 have their own names for install.
2969 # Don't use installbsd from OSF since it installs stuff as root
2970 # by default.
2971 for ac_prog in ginstall scoinst install; do
2972 for ac_exec_ext in '' $ac_executable_extensions; do
2973 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2974 if test $ac_prog = install &&
2975 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2976 # AIX install. It has an incompatible calling convention.
2978 elif test $ac_prog = install &&
2979 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2980 # program-specific install script used by HP pwplus--don't use.
2982 else
2983 rm -rf conftest.one conftest.two conftest.dir
2984 echo one > conftest.one
2985 echo two > conftest.two
2986 mkdir conftest.dir
2987 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2988 test -s conftest.one && test -s conftest.two &&
2989 test -s conftest.dir/conftest.one &&
2990 test -s conftest.dir/conftest.two
2991 then
2992 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2993 break 3
2997 done
2998 done
3000 esac
3002 done
3003 IFS=$as_save_IFS
3005 rm -rf conftest.one conftest.two conftest.dir
3008 if test "${ac_cv_path_install+set}" = set; then
3009 INSTALL=$ac_cv_path_install
3010 else
3011 # As a last resort, use the slow shell script. Don't cache a
3012 # value for INSTALL within a source directory, because that will
3013 # break other packages using the cache if that directory is
3014 # removed, or if the value is a relative name.
3015 INSTALL=$ac_install_sh
3018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3019 $as_echo "$INSTALL" >&6; }
3021 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3022 # It thinks the first close brace ends the variable substitution.
3023 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3025 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3027 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3030 $as_echo_n "checking whether build environment is sane... " >&6; }
3031 # Just in case
3032 sleep 1
3033 echo timestamp > conftest.file
3034 # Reject unsafe characters in $srcdir or the absolute working directory
3035 # name. Accept space and tab only in the latter.
3036 am_lf='
3038 case `pwd` in
3039 *[\\\"\#\$\&\'\`$am_lf]*)
3040 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3041 esac
3042 case $srcdir in
3043 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3044 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3045 esac
3047 # Do `set' in a subshell so we don't clobber the current shell's
3048 # arguments. Must try -L first in case configure is actually a
3049 # symlink; some systems play weird games with the mod time of symlinks
3050 # (eg FreeBSD returns the mod time of the symlink's containing
3051 # directory).
3052 if (
3053 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3054 if test "$*" = "X"; then
3055 # -L didn't work.
3056 set X `ls -t "$srcdir/configure" conftest.file`
3058 rm -f conftest.file
3059 if test "$*" != "X $srcdir/configure conftest.file" \
3060 && test "$*" != "X conftest.file $srcdir/configure"; then
3062 # If neither matched, then we have a broken ls. This can happen
3063 # if, for instance, CONFIG_SHELL is bash and it inherits a
3064 # broken ls alias from the environment. This has actually
3065 # happened. Such a system could not be considered "sane".
3066 as_fn_error "ls -t appears to fail. Make sure there is not a broken
3067 alias in your environment" "$LINENO" 5
3070 test "$2" = conftest.file
3072 then
3073 # Ok.
3075 else
3076 as_fn_error "newly created file is older than distributed files!
3077 Check your system clock" "$LINENO" 5
3079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3080 $as_echo "yes" >&6; }
3081 test "$program_prefix" != NONE &&
3082 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3083 # Use a double $ so make ignores it.
3084 test "$program_suffix" != NONE &&
3085 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3086 # Double any \ or $.
3087 # By default was `s,x,x', remove it if useless.
3088 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3089 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3091 # expand $ac_aux_dir to an absolute path
3092 am_aux_dir=`cd $ac_aux_dir && pwd`
3094 if test x"${MISSING+set}" != xset; then
3095 case $am_aux_dir in
3096 *\ * | *\ *)
3097 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3099 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3100 esac
3102 # Use eval to expand $SHELL
3103 if eval "$MISSING --run true"; then
3104 am_missing_run="$MISSING --run "
3105 else
3106 am_missing_run=
3107 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3108 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3111 if test x"${install_sh}" != xset; then
3112 case $am_aux_dir in
3113 *\ * | *\ *)
3114 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3116 install_sh="\${SHELL} $am_aux_dir/install-sh"
3117 esac
3120 # Installed binaries are usually stripped using `strip' when the user
3121 # run `make install-strip'. However `strip' might not be the right
3122 # tool to use in cross-compilation environments, therefore Automake
3123 # will honor the `STRIP' environment variable to overrule this program.
3124 if test "$cross_compiling" != no; then
3125 if test -n "$ac_tool_prefix"; then
3126 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3127 set dummy ${ac_tool_prefix}strip; ac_word=$2
3128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3129 $as_echo_n "checking for $ac_word... " >&6; }
3130 if test "${ac_cv_prog_STRIP+set}" = set; then :
3131 $as_echo_n "(cached) " >&6
3132 else
3133 if test -n "$STRIP"; then
3134 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3135 else
3136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3137 for as_dir in $PATH
3139 IFS=$as_save_IFS
3140 test -z "$as_dir" && as_dir=.
3141 for ac_exec_ext in '' $ac_executable_extensions; do
3142 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3143 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3144 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3145 break 2
3147 done
3148 done
3149 IFS=$as_save_IFS
3153 STRIP=$ac_cv_prog_STRIP
3154 if test -n "$STRIP"; then
3155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3156 $as_echo "$STRIP" >&6; }
3157 else
3158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3159 $as_echo "no" >&6; }
3164 if test -z "$ac_cv_prog_STRIP"; then
3165 ac_ct_STRIP=$STRIP
3166 # Extract the first word of "strip", so it can be a program name with args.
3167 set dummy strip; ac_word=$2
3168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3169 $as_echo_n "checking for $ac_word... " >&6; }
3170 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3171 $as_echo_n "(cached) " >&6
3172 else
3173 if test -n "$ac_ct_STRIP"; then
3174 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3175 else
3176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3177 for as_dir in $PATH
3179 IFS=$as_save_IFS
3180 test -z "$as_dir" && as_dir=.
3181 for ac_exec_ext in '' $ac_executable_extensions; do
3182 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3183 ac_cv_prog_ac_ct_STRIP="strip"
3184 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3185 break 2
3187 done
3188 done
3189 IFS=$as_save_IFS
3193 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3194 if test -n "$ac_ct_STRIP"; then
3195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3196 $as_echo "$ac_ct_STRIP" >&6; }
3197 else
3198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3199 $as_echo "no" >&6; }
3202 if test "x$ac_ct_STRIP" = x; then
3203 STRIP=":"
3204 else
3205 case $cross_compiling:$ac_tool_warned in
3206 yes:)
3207 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3208 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3209 ac_tool_warned=yes ;;
3210 esac
3211 STRIP=$ac_ct_STRIP
3213 else
3214 STRIP="$ac_cv_prog_STRIP"
3218 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3221 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3222 if test -z "$MKDIR_P"; then
3223 if test "${ac_cv_path_mkdir+set}" = set; then :
3224 $as_echo_n "(cached) " >&6
3225 else
3226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3227 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3229 IFS=$as_save_IFS
3230 test -z "$as_dir" && as_dir=.
3231 for ac_prog in mkdir gmkdir; do
3232 for ac_exec_ext in '' $ac_executable_extensions; do
3233 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3234 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3235 'mkdir (GNU coreutils) '* | \
3236 'mkdir (coreutils) '* | \
3237 'mkdir (fileutils) '4.1*)
3238 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3239 break 3;;
3240 esac
3241 done
3242 done
3243 done
3244 IFS=$as_save_IFS
3248 if test "${ac_cv_path_mkdir+set}" = set; then
3249 MKDIR_P="$ac_cv_path_mkdir -p"
3250 else
3251 # As a last resort, use the slow shell script. Don't cache a
3252 # value for MKDIR_P within a source directory, because that will
3253 # break other packages using the cache if that directory is
3254 # removed, or if the value is a relative name.
3255 test -d ./--version && rmdir ./--version
3256 MKDIR_P="$ac_install_sh -d"
3259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3260 $as_echo "$MKDIR_P" >&6; }
3262 mkdir_p="$MKDIR_P"
3263 case $mkdir_p in
3264 [\\/$]* | ?:[\\/]*) ;;
3265 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3266 esac
3268 for ac_prog in gawk mawk nawk awk
3270 # Extract the first word of "$ac_prog", so it can be a program name with args.
3271 set dummy $ac_prog; ac_word=$2
3272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3273 $as_echo_n "checking for $ac_word... " >&6; }
3274 if test "${ac_cv_prog_AWK+set}" = set; then :
3275 $as_echo_n "(cached) " >&6
3276 else
3277 if test -n "$AWK"; then
3278 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3279 else
3280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3281 for as_dir in $PATH
3283 IFS=$as_save_IFS
3284 test -z "$as_dir" && as_dir=.
3285 for ac_exec_ext in '' $ac_executable_extensions; do
3286 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3287 ac_cv_prog_AWK="$ac_prog"
3288 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3289 break 2
3291 done
3292 done
3293 IFS=$as_save_IFS
3297 AWK=$ac_cv_prog_AWK
3298 if test -n "$AWK"; then
3299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3300 $as_echo "$AWK" >&6; }
3301 else
3302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3303 $as_echo "no" >&6; }
3307 test -n "$AWK" && break
3308 done
3310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3311 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3312 set x ${MAKE-make}
3313 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3314 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3315 $as_echo_n "(cached) " >&6
3316 else
3317 cat >conftest.make <<\_ACEOF
3318 SHELL = /bin/sh
3319 all:
3320 @echo '@@@%%%=$(MAKE)=@@@%%%'
3321 _ACEOF
3322 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3323 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3324 *@@@%%%=?*=@@@%%%*)
3325 eval ac_cv_prog_make_${ac_make}_set=yes;;
3327 eval ac_cv_prog_make_${ac_make}_set=no;;
3328 esac
3329 rm -f conftest.make
3331 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3333 $as_echo "yes" >&6; }
3334 SET_MAKE=
3335 else
3336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3337 $as_echo "no" >&6; }
3338 SET_MAKE="MAKE=${MAKE-make}"
3341 rm -rf .tst 2>/dev/null
3342 mkdir .tst 2>/dev/null
3343 if test -d .tst; then
3344 am__leading_dot=.
3345 else
3346 am__leading_dot=_
3348 rmdir .tst 2>/dev/null
3350 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3351 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3352 # is not polluted with repeated "-I."
3353 am__isrc=' -I$(srcdir)'
3354 # test to see if srcdir already configured
3355 if test -f $srcdir/config.status; then
3356 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3360 # test whether we have cygpath
3361 if test -z "$CYGPATH_W"; then
3362 if (cygpath --version) >/dev/null 2>/dev/null; then
3363 CYGPATH_W='cygpath -w'
3364 else
3365 CYGPATH_W=echo
3370 # Define the identity of the package.
3371 PACKAGE='libgfortran'
3372 VERSION='0.3'
3375 # Some tools Automake needs.
3377 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3380 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3383 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3386 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3389 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3391 # We need awk for the "check" target. The system "awk" is bad on
3392 # some platforms.
3393 # Always define AMTAR for backward compatibility. Yes, it's still used
3394 # in the wild :-( We should find a proper way to deprecate it ...
3395 AMTAR='$${TAR-tar}'
3397 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3406 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3407 # Check whether --enable-maintainer-mode was given.
3408 if test "${enable_maintainer_mode+set}" = set; then :
3409 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3410 else
3411 USE_MAINTAINER_MODE=no
3414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3415 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3416 if test $USE_MAINTAINER_MODE = yes; then
3417 MAINTAINER_MODE_TRUE=
3418 MAINTAINER_MODE_FALSE='#'
3419 else
3420 MAINTAINER_MODE_TRUE='#'
3421 MAINTAINER_MODE_FALSE=
3424 MAINT=$MAINTAINER_MODE_TRUE
3427 # Default to --enable-multilib
3428 # Check whether --enable-multilib was given.
3429 if test "${enable_multilib+set}" = set; then :
3430 enableval=$enable_multilib; case "$enableval" in
3431 yes) multilib=yes ;;
3432 no) multilib=no ;;
3433 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
3434 esac
3435 else
3436 multilib=yes
3440 # We may get other options which we leave undocumented:
3441 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3442 # See config-ml.in if you want the gory details.
3444 if test "$srcdir" = "."; then
3445 if test "$with_target_subdir" != "."; then
3446 multi_basedir="$srcdir/$with_multisrctop../.."
3447 else
3448 multi_basedir="$srcdir/$with_multisrctop.."
3450 else
3451 multi_basedir="$srcdir/.."
3455 # Even if the default multilib is not a cross compilation,
3456 # it may be that some of the other multilibs are.
3457 if test $cross_compiling = no && test $multilib = yes \
3458 && test "x${with_multisubdir}" != x ; then
3459 cross_compiling=maybe
3462 ac_config_commands="$ac_config_commands default-1"
3465 # Handy for debugging:
3466 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3468 # Are we being configured with some form of cross compiler?
3469 # NB: We don't actually need to know this just now, but when, say, a test
3470 # suite is included, we'll have to know.
3471 if test "$build" != "$host"; then
3472 LIBGFOR_IS_NATIVE=false
3474 else
3475 LIBGFOR_IS_NATIVE=true
3478 DEPDIR="${am__leading_dot}deps"
3480 ac_config_commands="$ac_config_commands depfiles"
3483 am_make=${MAKE-make}
3484 cat > confinc << 'END'
3485 am__doit:
3486 @echo this is the am__doit target
3487 .PHONY: am__doit
3489 # If we don't find an include directive, just comment out the code.
3490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3491 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3492 am__include="#"
3493 am__quote=
3494 _am_result=none
3495 # First try GNU make style include.
3496 echo "include confinc" > confmf
3497 # Ignore all kinds of additional output from `make'.
3498 case `$am_make -s -f confmf 2> /dev/null` in #(
3499 *the\ am__doit\ target*)
3500 am__include=include
3501 am__quote=
3502 _am_result=GNU
3504 esac
3505 # Now try BSD make style include.
3506 if test "$am__include" = "#"; then
3507 echo '.include "confinc"' > confmf
3508 case `$am_make -s -f confmf 2> /dev/null` in #(
3509 *the\ am__doit\ target*)
3510 am__include=.include
3511 am__quote="\""
3512 _am_result=BSD
3514 esac
3518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3519 $as_echo "$_am_result" >&6; }
3520 rm -f confinc confmf
3522 # Check whether --enable-dependency-tracking was given.
3523 if test "${enable_dependency_tracking+set}" = set; then :
3524 enableval=$enable_dependency_tracking;
3527 if test "x$enable_dependency_tracking" != xno; then
3528 am_depcomp="$ac_aux_dir/depcomp"
3529 AMDEPBACKSLASH='\'
3530 am__nodep='_no'
3532 if test "x$enable_dependency_tracking" != xno; then
3533 AMDEP_TRUE=
3534 AMDEP_FALSE='#'
3535 else
3536 AMDEP_TRUE='#'
3537 AMDEP_FALSE=
3541 ac_ext=c
3542 ac_cpp='$CPP $CPPFLAGS'
3543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3546 if test -n "$ac_tool_prefix"; then
3547 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3548 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3550 $as_echo_n "checking for $ac_word... " >&6; }
3551 if test "${ac_cv_prog_CC+set}" = set; then :
3552 $as_echo_n "(cached) " >&6
3553 else
3554 if test -n "$CC"; then
3555 ac_cv_prog_CC="$CC" # Let the user override the test.
3556 else
3557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3558 for as_dir in $PATH
3560 IFS=$as_save_IFS
3561 test -z "$as_dir" && as_dir=.
3562 for ac_exec_ext in '' $ac_executable_extensions; do
3563 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3564 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3565 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3566 break 2
3568 done
3569 done
3570 IFS=$as_save_IFS
3574 CC=$ac_cv_prog_CC
3575 if test -n "$CC"; then
3576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3577 $as_echo "$CC" >&6; }
3578 else
3579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3580 $as_echo "no" >&6; }
3585 if test -z "$ac_cv_prog_CC"; then
3586 ac_ct_CC=$CC
3587 # Extract the first word of "gcc", so it can be a program name with args.
3588 set dummy gcc; ac_word=$2
3589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3590 $as_echo_n "checking for $ac_word... " >&6; }
3591 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3592 $as_echo_n "(cached) " >&6
3593 else
3594 if test -n "$ac_ct_CC"; then
3595 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3596 else
3597 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3598 for as_dir in $PATH
3600 IFS=$as_save_IFS
3601 test -z "$as_dir" && as_dir=.
3602 for ac_exec_ext in '' $ac_executable_extensions; do
3603 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3604 ac_cv_prog_ac_ct_CC="gcc"
3605 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3606 break 2
3608 done
3609 done
3610 IFS=$as_save_IFS
3614 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3615 if test -n "$ac_ct_CC"; then
3616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3617 $as_echo "$ac_ct_CC" >&6; }
3618 else
3619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3620 $as_echo "no" >&6; }
3623 if test "x$ac_ct_CC" = x; then
3624 CC=""
3625 else
3626 case $cross_compiling:$ac_tool_warned in
3627 yes:)
3628 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3629 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3630 ac_tool_warned=yes ;;
3631 esac
3632 CC=$ac_ct_CC
3634 else
3635 CC="$ac_cv_prog_CC"
3638 if test -z "$CC"; then
3639 if test -n "$ac_tool_prefix"; then
3640 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3641 set dummy ${ac_tool_prefix}cc; ac_word=$2
3642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3643 $as_echo_n "checking for $ac_word... " >&6; }
3644 if test "${ac_cv_prog_CC+set}" = set; then :
3645 $as_echo_n "(cached) " >&6
3646 else
3647 if test -n "$CC"; then
3648 ac_cv_prog_CC="$CC" # Let the user override the test.
3649 else
3650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3651 for as_dir in $PATH
3653 IFS=$as_save_IFS
3654 test -z "$as_dir" && as_dir=.
3655 for ac_exec_ext in '' $ac_executable_extensions; do
3656 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3657 ac_cv_prog_CC="${ac_tool_prefix}cc"
3658 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3659 break 2
3661 done
3662 done
3663 IFS=$as_save_IFS
3667 CC=$ac_cv_prog_CC
3668 if test -n "$CC"; then
3669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3670 $as_echo "$CC" >&6; }
3671 else
3672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3673 $as_echo "no" >&6; }
3679 if test -z "$CC"; then
3680 # Extract the first word of "cc", so it can be a program name with args.
3681 set dummy cc; ac_word=$2
3682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3683 $as_echo_n "checking for $ac_word... " >&6; }
3684 if test "${ac_cv_prog_CC+set}" = set; then :
3685 $as_echo_n "(cached) " >&6
3686 else
3687 if test -n "$CC"; then
3688 ac_cv_prog_CC="$CC" # Let the user override the test.
3689 else
3690 ac_prog_rejected=no
3691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3692 for as_dir in $PATH
3694 IFS=$as_save_IFS
3695 test -z "$as_dir" && as_dir=.
3696 for ac_exec_ext in '' $ac_executable_extensions; do
3697 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3698 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3699 ac_prog_rejected=yes
3700 continue
3702 ac_cv_prog_CC="cc"
3703 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3704 break 2
3706 done
3707 done
3708 IFS=$as_save_IFS
3710 if test $ac_prog_rejected = yes; then
3711 # We found a bogon in the path, so make sure we never use it.
3712 set dummy $ac_cv_prog_CC
3713 shift
3714 if test $# != 0; then
3715 # We chose a different compiler from the bogus one.
3716 # However, it has the same basename, so the bogon will be chosen
3717 # first if we set CC to just the basename; use the full file name.
3718 shift
3719 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3724 CC=$ac_cv_prog_CC
3725 if test -n "$CC"; then
3726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3727 $as_echo "$CC" >&6; }
3728 else
3729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3730 $as_echo "no" >&6; }
3735 if test -z "$CC"; then
3736 if test -n "$ac_tool_prefix"; then
3737 for ac_prog in cl.exe
3739 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3740 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3742 $as_echo_n "checking for $ac_word... " >&6; }
3743 if test "${ac_cv_prog_CC+set}" = set; then :
3744 $as_echo_n "(cached) " >&6
3745 else
3746 if test -n "$CC"; then
3747 ac_cv_prog_CC="$CC" # Let the user override the test.
3748 else
3749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3750 for as_dir in $PATH
3752 IFS=$as_save_IFS
3753 test -z "$as_dir" && as_dir=.
3754 for ac_exec_ext in '' $ac_executable_extensions; do
3755 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3756 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3757 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3758 break 2
3760 done
3761 done
3762 IFS=$as_save_IFS
3766 CC=$ac_cv_prog_CC
3767 if test -n "$CC"; then
3768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3769 $as_echo "$CC" >&6; }
3770 else
3771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3772 $as_echo "no" >&6; }
3776 test -n "$CC" && break
3777 done
3779 if test -z "$CC"; then
3780 ac_ct_CC=$CC
3781 for ac_prog in cl.exe
3783 # Extract the first word of "$ac_prog", so it can be a program name with args.
3784 set dummy $ac_prog; ac_word=$2
3785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3786 $as_echo_n "checking for $ac_word... " >&6; }
3787 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3788 $as_echo_n "(cached) " >&6
3789 else
3790 if test -n "$ac_ct_CC"; then
3791 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3792 else
3793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3794 for as_dir in $PATH
3796 IFS=$as_save_IFS
3797 test -z "$as_dir" && as_dir=.
3798 for ac_exec_ext in '' $ac_executable_extensions; do
3799 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3800 ac_cv_prog_ac_ct_CC="$ac_prog"
3801 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3802 break 2
3804 done
3805 done
3806 IFS=$as_save_IFS
3810 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3811 if test -n "$ac_ct_CC"; then
3812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3813 $as_echo "$ac_ct_CC" >&6; }
3814 else
3815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3816 $as_echo "no" >&6; }
3820 test -n "$ac_ct_CC" && break
3821 done
3823 if test "x$ac_ct_CC" = x; then
3824 CC=""
3825 else
3826 case $cross_compiling:$ac_tool_warned in
3827 yes:)
3828 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3829 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3830 ac_tool_warned=yes ;;
3831 esac
3832 CC=$ac_ct_CC
3839 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3840 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3841 as_fn_error "no acceptable C compiler found in \$PATH
3842 See \`config.log' for more details." "$LINENO" 5; }
3844 # Provide some information about the compiler.
3845 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3846 set X $ac_compile
3847 ac_compiler=$2
3848 for ac_option in --version -v -V -qversion; do
3849 { { ac_try="$ac_compiler $ac_option >&5"
3850 case "(($ac_try" in
3851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3852 *) ac_try_echo=$ac_try;;
3853 esac
3854 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3855 $as_echo "$ac_try_echo"; } >&5
3856 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3857 ac_status=$?
3858 if test -s conftest.err; then
3859 sed '10a\
3860 ... rest of stderr output deleted ...
3861 10q' conftest.err >conftest.er1
3862 cat conftest.er1 >&5
3863 rm -f conftest.er1 conftest.err
3865 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3866 test $ac_status = 0; }
3867 done
3869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3870 /* end confdefs.h. */
3873 main ()
3877 return 0;
3879 _ACEOF
3880 # FIXME: Cleanup?
3881 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3882 (eval $ac_link) 2>&5
3883 ac_status=$?
3884 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3885 test $ac_status = 0; }; then :
3886 gcc_no_link=no
3887 else
3888 gcc_no_link=yes
3890 if test x$gcc_no_link = xyes; then
3891 # Setting cross_compile will disable run tests; it will
3892 # also disable AC_CHECK_FILE but that's generally
3893 # correct if we can't link.
3894 cross_compiling=yes
3895 EXEEXT=
3896 else
3897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3898 /* end confdefs.h. */
3901 main ()
3905 return 0;
3907 _ACEOF
3908 ac_clean_files_save=$ac_clean_files
3909 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3910 # Try to create an executable without -o first, disregard a.out.
3911 # It will help us diagnose broken compilers, and finding out an intuition
3912 # of exeext.
3913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3914 $as_echo_n "checking for C compiler default output file name... " >&6; }
3915 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3917 # The possible output files:
3918 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3920 ac_rmfiles=
3921 for ac_file in $ac_files
3923 case $ac_file in
3924 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3925 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3926 esac
3927 done
3928 rm -f $ac_rmfiles
3930 if { { ac_try="$ac_link_default"
3931 case "(($ac_try" in
3932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3933 *) ac_try_echo=$ac_try;;
3934 esac
3935 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3936 $as_echo "$ac_try_echo"; } >&5
3937 (eval "$ac_link_default") 2>&5
3938 ac_status=$?
3939 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3940 test $ac_status = 0; }; then :
3941 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3942 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3943 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3944 # so that the user can short-circuit this test for compilers unknown to
3945 # Autoconf.
3946 for ac_file in $ac_files ''
3948 test -f "$ac_file" || continue
3949 case $ac_file in
3950 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3952 [ab].out )
3953 # We found the default executable, but exeext='' is most
3954 # certainly right.
3955 break;;
3956 *.* )
3957 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3958 then :; else
3959 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3961 # We set ac_cv_exeext here because the later test for it is not
3962 # safe: cross compilers may not add the suffix if given an `-o'
3963 # argument, so we may need to know it at that point already.
3964 # Even if this section looks crufty: it has the advantage of
3965 # actually working.
3966 break;;
3968 break;;
3969 esac
3970 done
3971 test "$ac_cv_exeext" = no && ac_cv_exeext=
3973 else
3974 ac_file=''
3976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3977 $as_echo "$ac_file" >&6; }
3978 if test -z "$ac_file"; then :
3979 $as_echo "$as_me: failed program was:" >&5
3980 sed 's/^/| /' conftest.$ac_ext >&5
3982 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3983 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3984 { as_fn_set_status 77
3985 as_fn_error "C compiler cannot create executables
3986 See \`config.log' for more details." "$LINENO" 5; }; }
3988 ac_exeext=$ac_cv_exeext
3990 # Check that the compiler produces executables we can run. If not, either
3991 # the compiler is broken, or we cross compile.
3992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3993 $as_echo_n "checking whether the C compiler works... " >&6; }
3994 # If not cross compiling, check that we can run a simple program.
3995 if test "$cross_compiling" != yes; then
3996 if { ac_try='./$ac_file'
3997 { { case "(($ac_try" in
3998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3999 *) ac_try_echo=$ac_try;;
4000 esac
4001 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4002 $as_echo "$ac_try_echo"; } >&5
4003 (eval "$ac_try") 2>&5
4004 ac_status=$?
4005 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4006 test $ac_status = 0; }; }; then
4007 cross_compiling=no
4008 else
4009 if test "$cross_compiling" = maybe; then
4010 cross_compiling=yes
4011 else
4012 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4013 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4014 as_fn_error "cannot run C compiled programs.
4015 If you meant to cross compile, use \`--host'.
4016 See \`config.log' for more details." "$LINENO" 5; }
4020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4021 $as_echo "yes" >&6; }
4023 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4024 ac_clean_files=$ac_clean_files_save
4025 # Check that the compiler produces executables we can run. If not, either
4026 # the compiler is broken, or we cross compile.
4027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4028 $as_echo_n "checking whether we are cross compiling... " >&6; }
4029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4030 $as_echo "$cross_compiling" >&6; }
4032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4033 $as_echo_n "checking for suffix of executables... " >&6; }
4034 if { { ac_try="$ac_link"
4035 case "(($ac_try" in
4036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4037 *) ac_try_echo=$ac_try;;
4038 esac
4039 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4040 $as_echo "$ac_try_echo"; } >&5
4041 (eval "$ac_link") 2>&5
4042 ac_status=$?
4043 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4044 test $ac_status = 0; }; then :
4045 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4046 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4047 # work properly (i.e., refer to `conftest.exe'), while it won't with
4048 # `rm'.
4049 for ac_file in conftest.exe conftest conftest.*; do
4050 test -f "$ac_file" || continue
4051 case $ac_file in
4052 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4053 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4054 break;;
4055 * ) break;;
4056 esac
4057 done
4058 else
4059 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4060 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4061 as_fn_error "cannot compute suffix of executables: cannot compile and link
4062 See \`config.log' for more details." "$LINENO" 5; }
4064 rm -f conftest$ac_cv_exeext
4065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4066 $as_echo "$ac_cv_exeext" >&6; }
4068 rm -f conftest.$ac_ext
4069 EXEEXT=$ac_cv_exeext
4070 ac_exeext=$EXEEXT
4072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4073 $as_echo_n "checking for suffix of object files... " >&6; }
4074 if test "${ac_cv_objext+set}" = set; then :
4075 $as_echo_n "(cached) " >&6
4076 else
4077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4078 /* end confdefs.h. */
4081 main ()
4085 return 0;
4087 _ACEOF
4088 rm -f conftest.o conftest.obj
4089 if { { ac_try="$ac_compile"
4090 case "(($ac_try" in
4091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4092 *) ac_try_echo=$ac_try;;
4093 esac
4094 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4095 $as_echo "$ac_try_echo"; } >&5
4096 (eval "$ac_compile") 2>&5
4097 ac_status=$?
4098 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4099 test $ac_status = 0; }; then :
4100 for ac_file in conftest.o conftest.obj conftest.*; do
4101 test -f "$ac_file" || continue;
4102 case $ac_file in
4103 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4104 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4105 break;;
4106 esac
4107 done
4108 else
4109 $as_echo "$as_me: failed program was:" >&5
4110 sed 's/^/| /' conftest.$ac_ext >&5
4112 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4113 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4114 as_fn_error "cannot compute suffix of object files: cannot compile
4115 See \`config.log' for more details." "$LINENO" 5; }
4117 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4120 $as_echo "$ac_cv_objext" >&6; }
4121 OBJEXT=$ac_cv_objext
4122 ac_objext=$OBJEXT
4123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4124 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4125 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4126 $as_echo_n "(cached) " >&6
4127 else
4128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4129 /* end confdefs.h. */
4132 main ()
4134 #ifndef __GNUC__
4135 choke me
4136 #endif
4139 return 0;
4141 _ACEOF
4142 if ac_fn_c_try_compile "$LINENO"; then :
4143 ac_compiler_gnu=yes
4144 else
4145 ac_compiler_gnu=no
4147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4148 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4152 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4153 if test $ac_compiler_gnu = yes; then
4154 GCC=yes
4155 else
4156 GCC=
4158 ac_test_CFLAGS=${CFLAGS+set}
4159 ac_save_CFLAGS=$CFLAGS
4160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4161 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4162 if test "${ac_cv_prog_cc_g+set}" = set; then :
4163 $as_echo_n "(cached) " >&6
4164 else
4165 ac_save_c_werror_flag=$ac_c_werror_flag
4166 ac_c_werror_flag=yes
4167 ac_cv_prog_cc_g=no
4168 CFLAGS="-g"
4169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4170 /* end confdefs.h. */
4173 main ()
4177 return 0;
4179 _ACEOF
4180 if ac_fn_c_try_compile "$LINENO"; then :
4181 ac_cv_prog_cc_g=yes
4182 else
4183 CFLAGS=""
4184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4185 /* end confdefs.h. */
4188 main ()
4192 return 0;
4194 _ACEOF
4195 if ac_fn_c_try_compile "$LINENO"; then :
4197 else
4198 ac_c_werror_flag=$ac_save_c_werror_flag
4199 CFLAGS="-g"
4200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4201 /* end confdefs.h. */
4204 main ()
4208 return 0;
4210 _ACEOF
4211 if ac_fn_c_try_compile "$LINENO"; then :
4212 ac_cv_prog_cc_g=yes
4214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4219 ac_c_werror_flag=$ac_save_c_werror_flag
4221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4222 $as_echo "$ac_cv_prog_cc_g" >&6; }
4223 if test "$ac_test_CFLAGS" = set; then
4224 CFLAGS=$ac_save_CFLAGS
4225 elif test $ac_cv_prog_cc_g = yes; then
4226 if test "$GCC" = yes; then
4227 CFLAGS="-g -O2"
4228 else
4229 CFLAGS="-g"
4231 else
4232 if test "$GCC" = yes; then
4233 CFLAGS="-O2"
4234 else
4235 CFLAGS=
4238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4239 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4240 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4241 $as_echo_n "(cached) " >&6
4242 else
4243 ac_cv_prog_cc_c89=no
4244 ac_save_CC=$CC
4245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4246 /* end confdefs.h. */
4247 #include <stdarg.h>
4248 #include <stdio.h>
4249 #include <sys/types.h>
4250 #include <sys/stat.h>
4251 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4252 struct buf { int x; };
4253 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4254 static char *e (p, i)
4255 char **p;
4256 int i;
4258 return p[i];
4260 static char *f (char * (*g) (char **, int), char **p, ...)
4262 char *s;
4263 va_list v;
4264 va_start (v,p);
4265 s = g (p, va_arg (v,int));
4266 va_end (v);
4267 return s;
4270 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4271 function prototypes and stuff, but not '\xHH' hex character constants.
4272 These don't provoke an error unfortunately, instead are silently treated
4273 as 'x'. The following induces an error, until -std is added to get
4274 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4275 array size at least. It's necessary to write '\x00'==0 to get something
4276 that's true only with -std. */
4277 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4279 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4280 inside strings and character constants. */
4281 #define FOO(x) 'x'
4282 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4284 int test (int i, double x);
4285 struct s1 {int (*f) (int a);};
4286 struct s2 {int (*f) (double a);};
4287 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4288 int argc;
4289 char **argv;
4291 main ()
4293 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4295 return 0;
4297 _ACEOF
4298 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4299 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4301 CC="$ac_save_CC $ac_arg"
4302 if ac_fn_c_try_compile "$LINENO"; then :
4303 ac_cv_prog_cc_c89=$ac_arg
4305 rm -f core conftest.err conftest.$ac_objext
4306 test "x$ac_cv_prog_cc_c89" != "xno" && break
4307 done
4308 rm -f conftest.$ac_ext
4309 CC=$ac_save_CC
4312 # AC_CACHE_VAL
4313 case "x$ac_cv_prog_cc_c89" in
4315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4316 $as_echo "none needed" >&6; } ;;
4317 xno)
4318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4319 $as_echo "unsupported" >&6; } ;;
4321 CC="$CC $ac_cv_prog_cc_c89"
4322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4323 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4324 esac
4325 if test "x$ac_cv_prog_cc_c89" != xno; then :
4329 ac_ext=c
4330 ac_cpp='$CPP $CPPFLAGS'
4331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4335 depcc="$CC" am_compiler_list=
4337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4338 $as_echo_n "checking dependency style of $depcc... " >&6; }
4339 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4340 $as_echo_n "(cached) " >&6
4341 else
4342 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4343 # We make a subdir and do the tests there. Otherwise we can end up
4344 # making bogus files that we don't know about and never remove. For
4345 # instance it was reported that on HP-UX the gcc test will end up
4346 # making a dummy file named `D' -- because `-MD' means `put the output
4347 # in D'.
4348 rm -rf conftest.dir
4349 mkdir conftest.dir
4350 # Copy depcomp to subdir because otherwise we won't find it if we're
4351 # using a relative directory.
4352 cp "$am_depcomp" conftest.dir
4353 cd conftest.dir
4354 # We will build objects and dependencies in a subdirectory because
4355 # it helps to detect inapplicable dependency modes. For instance
4356 # both Tru64's cc and ICC support -MD to output dependencies as a
4357 # side effect of compilation, but ICC will put the dependencies in
4358 # the current directory while Tru64 will put them in the object
4359 # directory.
4360 mkdir sub
4362 am_cv_CC_dependencies_compiler_type=none
4363 if test "$am_compiler_list" = ""; then
4364 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4366 am__universal=false
4367 case " $depcc " in #(
4368 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4369 esac
4371 for depmode in $am_compiler_list; do
4372 # Setup a source with many dependencies, because some compilers
4373 # like to wrap large dependency lists on column 80 (with \), and
4374 # we should not choose a depcomp mode which is confused by this.
4376 # We need to recreate these files for each test, as the compiler may
4377 # overwrite some of them when testing with obscure command lines.
4378 # This happens at least with the AIX C compiler.
4379 : > sub/conftest.c
4380 for i in 1 2 3 4 5 6; do
4381 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4382 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4383 # Solaris 8's {/usr,}/bin/sh.
4384 touch sub/conftst$i.h
4385 done
4386 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4388 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4389 # mode. It turns out that the SunPro C++ compiler does not properly
4390 # handle `-M -o', and we need to detect this. Also, some Intel
4391 # versions had trouble with output in subdirs
4392 am__obj=sub/conftest.${OBJEXT-o}
4393 am__minus_obj="-o $am__obj"
4394 case $depmode in
4395 gcc)
4396 # This depmode causes a compiler race in universal mode.
4397 test "$am__universal" = false || continue
4399 nosideeffect)
4400 # after this tag, mechanisms are not by side-effect, so they'll
4401 # only be used when explicitly requested
4402 if test "x$enable_dependency_tracking" = xyes; then
4403 continue
4404 else
4405 break
4408 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4409 # This compiler won't grok `-c -o', but also, the minuso test has
4410 # not run yet. These depmodes are late enough in the game, and
4411 # so weak that their functioning should not be impacted.
4412 am__obj=conftest.${OBJEXT-o}
4413 am__minus_obj=
4415 none) break ;;
4416 esac
4417 if depmode=$depmode \
4418 source=sub/conftest.c object=$am__obj \
4419 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4420 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4421 >/dev/null 2>conftest.err &&
4422 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4423 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4424 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4425 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4426 # icc doesn't choke on unknown options, it will just issue warnings
4427 # or remarks (even with -Werror). So we grep stderr for any message
4428 # that says an option was ignored or not supported.
4429 # When given -MP, icc 7.0 and 7.1 complain thusly:
4430 # icc: Command line warning: ignoring option '-M'; no argument required
4431 # The diagnosis changed in icc 8.0:
4432 # icc: Command line remark: option '-MP' not supported
4433 if (grep 'ignoring option' conftest.err ||
4434 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4435 am_cv_CC_dependencies_compiler_type=$depmode
4436 break
4439 done
4441 cd ..
4442 rm -rf conftest.dir
4443 else
4444 am_cv_CC_dependencies_compiler_type=none
4448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4449 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4450 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4453 test "x$enable_dependency_tracking" != xno \
4454 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4455 am__fastdepCC_TRUE=
4456 am__fastdepCC_FALSE='#'
4457 else
4458 am__fastdepCC_TRUE='#'
4459 am__fastdepCC_FALSE=
4464 ac_ext=c
4465 ac_cpp='$CPP $CPPFLAGS'
4466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4470 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4471 # On Suns, sometimes $CPP names a directory.
4472 if test -n "$CPP" && test -d "$CPP"; then
4473 CPP=
4475 if test -z "$CPP"; then
4476 if test "${ac_cv_prog_CPP+set}" = set; then :
4477 $as_echo_n "(cached) " >&6
4478 else
4479 # Double quotes because CPP needs to be expanded
4480 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4482 ac_preproc_ok=false
4483 for ac_c_preproc_warn_flag in '' yes
4485 # Use a header file that comes with gcc, so configuring glibc
4486 # with a fresh cross-compiler works.
4487 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4488 # <limits.h> exists even on freestanding compilers.
4489 # On the NeXT, cc -E runs the code through the compiler's parser,
4490 # not just through cpp. "Syntax error" is here to catch this case.
4491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4492 /* end confdefs.h. */
4493 #ifdef __STDC__
4494 # include <limits.h>
4495 #else
4496 # include <assert.h>
4497 #endif
4498 Syntax error
4499 _ACEOF
4500 if ac_fn_c_try_cpp "$LINENO"; then :
4502 else
4503 # Broken: fails on valid input.
4504 continue
4506 rm -f conftest.err conftest.$ac_ext
4508 # OK, works on sane cases. Now check whether nonexistent headers
4509 # can be detected and how.
4510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4511 /* end confdefs.h. */
4512 #include <ac_nonexistent.h>
4513 _ACEOF
4514 if ac_fn_c_try_cpp "$LINENO"; then :
4515 # Broken: success on invalid input.
4516 continue
4517 else
4518 # Passes both tests.
4519 ac_preproc_ok=:
4520 break
4522 rm -f conftest.err conftest.$ac_ext
4524 done
4525 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4526 rm -f conftest.err conftest.$ac_ext
4527 if $ac_preproc_ok; then :
4528 break
4531 done
4532 ac_cv_prog_CPP=$CPP
4535 CPP=$ac_cv_prog_CPP
4536 else
4537 ac_cv_prog_CPP=$CPP
4539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4540 $as_echo "$CPP" >&6; }
4541 ac_preproc_ok=false
4542 for ac_c_preproc_warn_flag in '' yes
4544 # Use a header file that comes with gcc, so configuring glibc
4545 # with a fresh cross-compiler works.
4546 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4547 # <limits.h> exists even on freestanding compilers.
4548 # On the NeXT, cc -E runs the code through the compiler's parser,
4549 # not just through cpp. "Syntax error" is here to catch this case.
4550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4551 /* end confdefs.h. */
4552 #ifdef __STDC__
4553 # include <limits.h>
4554 #else
4555 # include <assert.h>
4556 #endif
4557 Syntax error
4558 _ACEOF
4559 if ac_fn_c_try_cpp "$LINENO"; then :
4561 else
4562 # Broken: fails on valid input.
4563 continue
4565 rm -f conftest.err conftest.$ac_ext
4567 # OK, works on sane cases. Now check whether nonexistent headers
4568 # can be detected and how.
4569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4570 /* end confdefs.h. */
4571 #include <ac_nonexistent.h>
4572 _ACEOF
4573 if ac_fn_c_try_cpp "$LINENO"; then :
4574 # Broken: success on invalid input.
4575 continue
4576 else
4577 # Passes both tests.
4578 ac_preproc_ok=:
4579 break
4581 rm -f conftest.err conftest.$ac_ext
4583 done
4584 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4585 rm -f conftest.err conftest.$ac_ext
4586 if $ac_preproc_ok; then :
4588 else
4589 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4590 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4591 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4592 See \`config.log' for more details." "$LINENO" 5; }
4595 ac_ext=c
4596 ac_cpp='$CPP $CPPFLAGS'
4597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4603 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4604 if test "${ac_cv_path_GREP+set}" = set; then :
4605 $as_echo_n "(cached) " >&6
4606 else
4607 if test -z "$GREP"; then
4608 ac_path_GREP_found=false
4609 # Loop through the user's path and test for each of PROGNAME-LIST
4610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4611 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4613 IFS=$as_save_IFS
4614 test -z "$as_dir" && as_dir=.
4615 for ac_prog in grep ggrep; do
4616 for ac_exec_ext in '' $ac_executable_extensions; do
4617 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4618 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4619 # Check for GNU ac_path_GREP and select it if it is found.
4620 # Check for GNU $ac_path_GREP
4621 case `"$ac_path_GREP" --version 2>&1` in
4622 *GNU*)
4623 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4625 ac_count=0
4626 $as_echo_n 0123456789 >"conftest.in"
4627 while :
4629 cat "conftest.in" "conftest.in" >"conftest.tmp"
4630 mv "conftest.tmp" "conftest.in"
4631 cp "conftest.in" "conftest.nl"
4632 $as_echo 'GREP' >> "conftest.nl"
4633 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4634 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4635 as_fn_arith $ac_count + 1 && ac_count=$as_val
4636 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4637 # Best one so far, save it but keep looking for a better one
4638 ac_cv_path_GREP="$ac_path_GREP"
4639 ac_path_GREP_max=$ac_count
4641 # 10*(2^10) chars as input seems more than enough
4642 test $ac_count -gt 10 && break
4643 done
4644 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4645 esac
4647 $ac_path_GREP_found && break 3
4648 done
4649 done
4650 done
4651 IFS=$as_save_IFS
4652 if test -z "$ac_cv_path_GREP"; then
4653 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4655 else
4656 ac_cv_path_GREP=$GREP
4660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4661 $as_echo "$ac_cv_path_GREP" >&6; }
4662 GREP="$ac_cv_path_GREP"
4665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4666 $as_echo_n "checking for egrep... " >&6; }
4667 if test "${ac_cv_path_EGREP+set}" = set; then :
4668 $as_echo_n "(cached) " >&6
4669 else
4670 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4671 then ac_cv_path_EGREP="$GREP -E"
4672 else
4673 if test -z "$EGREP"; then
4674 ac_path_EGREP_found=false
4675 # Loop through the user's path and test for each of PROGNAME-LIST
4676 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4677 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4679 IFS=$as_save_IFS
4680 test -z "$as_dir" && as_dir=.
4681 for ac_prog in egrep; do
4682 for ac_exec_ext in '' $ac_executable_extensions; do
4683 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4684 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4685 # Check for GNU ac_path_EGREP and select it if it is found.
4686 # Check for GNU $ac_path_EGREP
4687 case `"$ac_path_EGREP" --version 2>&1` in
4688 *GNU*)
4689 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4691 ac_count=0
4692 $as_echo_n 0123456789 >"conftest.in"
4693 while :
4695 cat "conftest.in" "conftest.in" >"conftest.tmp"
4696 mv "conftest.tmp" "conftest.in"
4697 cp "conftest.in" "conftest.nl"
4698 $as_echo 'EGREP' >> "conftest.nl"
4699 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4700 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4701 as_fn_arith $ac_count + 1 && ac_count=$as_val
4702 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4703 # Best one so far, save it but keep looking for a better one
4704 ac_cv_path_EGREP="$ac_path_EGREP"
4705 ac_path_EGREP_max=$ac_count
4707 # 10*(2^10) chars as input seems more than enough
4708 test $ac_count -gt 10 && break
4709 done
4710 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4711 esac
4713 $ac_path_EGREP_found && break 3
4714 done
4715 done
4716 done
4717 IFS=$as_save_IFS
4718 if test -z "$ac_cv_path_EGREP"; then
4719 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4721 else
4722 ac_cv_path_EGREP=$EGREP
4727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4728 $as_echo "$ac_cv_path_EGREP" >&6; }
4729 EGREP="$ac_cv_path_EGREP"
4732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4733 $as_echo_n "checking for ANSI C header files... " >&6; }
4734 if test "${ac_cv_header_stdc+set}" = set; then :
4735 $as_echo_n "(cached) " >&6
4736 else
4737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4738 /* end confdefs.h. */
4739 #include <stdlib.h>
4740 #include <stdarg.h>
4741 #include <string.h>
4742 #include <float.h>
4745 main ()
4749 return 0;
4751 _ACEOF
4752 if ac_fn_c_try_compile "$LINENO"; then :
4753 ac_cv_header_stdc=yes
4754 else
4755 ac_cv_header_stdc=no
4757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4759 if test $ac_cv_header_stdc = yes; then
4760 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4762 /* end confdefs.h. */
4763 #include <string.h>
4765 _ACEOF
4766 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4767 $EGREP "memchr" >/dev/null 2>&1; then :
4769 else
4770 ac_cv_header_stdc=no
4772 rm -f conftest*
4776 if test $ac_cv_header_stdc = yes; then
4777 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4779 /* end confdefs.h. */
4780 #include <stdlib.h>
4782 _ACEOF
4783 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4784 $EGREP "free" >/dev/null 2>&1; then :
4786 else
4787 ac_cv_header_stdc=no
4789 rm -f conftest*
4793 if test $ac_cv_header_stdc = yes; then
4794 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4795 if test "$cross_compiling" = yes; then :
4797 else
4798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4799 /* end confdefs.h. */
4800 #include <ctype.h>
4801 #include <stdlib.h>
4802 #if ((' ' & 0x0FF) == 0x020)
4803 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4804 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4805 #else
4806 # define ISLOWER(c) \
4807 (('a' <= (c) && (c) <= 'i') \
4808 || ('j' <= (c) && (c) <= 'r') \
4809 || ('s' <= (c) && (c) <= 'z'))
4810 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4811 #endif
4813 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4815 main ()
4817 int i;
4818 for (i = 0; i < 256; i++)
4819 if (XOR (islower (i), ISLOWER (i))
4820 || toupper (i) != TOUPPER (i))
4821 return 2;
4822 return 0;
4824 _ACEOF
4825 if ac_fn_c_try_run "$LINENO"; then :
4827 else
4828 ac_cv_header_stdc=no
4830 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4831 conftest.$ac_objext conftest.beam conftest.$ac_ext
4836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4837 $as_echo "$ac_cv_header_stdc" >&6; }
4838 if test $ac_cv_header_stdc = yes; then
4840 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4844 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4845 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4846 inttypes.h stdint.h unistd.h
4847 do :
4848 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4849 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4851 eval as_val=\$$as_ac_Header
4852 if test "x$as_val" = x""yes; then :
4853 cat >>confdefs.h <<_ACEOF
4854 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4855 _ACEOF
4859 done
4863 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4864 if test "x$ac_cv_header_minix_config_h" = x""yes; then :
4865 MINIX=yes
4866 else
4867 MINIX=
4871 if test "$MINIX" = yes; then
4873 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4876 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4879 $as_echo "#define _MINIX 1" >>confdefs.h
4884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4885 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4886 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
4887 $as_echo_n "(cached) " >&6
4888 else
4889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4890 /* end confdefs.h. */
4892 # define __EXTENSIONS__ 1
4893 $ac_includes_default
4895 main ()
4899 return 0;
4901 _ACEOF
4902 if ac_fn_c_try_compile "$LINENO"; then :
4903 ac_cv_safe_to_define___extensions__=yes
4904 else
4905 ac_cv_safe_to_define___extensions__=no
4907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4910 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4911 test $ac_cv_safe_to_define___extensions__ = yes &&
4912 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4914 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4916 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4918 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4920 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4924 # Calculate toolexeclibdir
4925 # Also toolexecdir, though it's only used in toolexeclibdir
4926 case ${version_specific_libs} in
4927 yes)
4928 # Need the gcc compiler version to know where to install libraries
4929 # and header files if --enable-version-specific-runtime-libs option
4930 # is selected.
4931 toolexecdir='$(libdir)/gcc/$(target_alias)'
4932 toolexeclibdir='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
4935 if test -n "$with_cross_host" &&
4936 test x"$with_cross_host" != x"no"; then
4937 # Install a library built with a cross compiler in tooldir, not libdir.
4938 toolexecdir='$(exec_prefix)/$(target_alias)'
4939 toolexeclibdir='$(toolexecdir)/lib'
4940 else
4941 toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
4942 toolexeclibdir='$(libdir)'
4944 multi_os_directory=`$CC -print-multi-os-directory`
4945 case $multi_os_directory in
4946 .) ;; # Avoid trailing /.
4947 *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;
4948 esac
4950 esac
4954 # Create a spec file, so that compile/link tests don't fail
4955 test -f libgfortran.spec || touch libgfortran.spec
4957 ac_ext=c
4958 ac_cpp='$CPP $CPPFLAGS'
4959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4963 # Check the compiler.
4964 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
4965 # We must force CC to /not/ be precious variables; otherwise
4966 # the wrong, non-multilib-adjusted value will be used in multilibs.
4967 # As a side effect, we have to subst CFLAGS ourselves.
4971 ac_ext=c
4972 ac_cpp='$CPP $CPPFLAGS'
4973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4976 if test -n "$ac_tool_prefix"; then
4977 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4978 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4980 $as_echo_n "checking for $ac_word... " >&6; }
4981 if test "${ac_cv_prog_CC+set}" = set; then :
4982 $as_echo_n "(cached) " >&6
4983 else
4984 if test -n "$CC"; then
4985 ac_cv_prog_CC="$CC" # Let the user override the test.
4986 else
4987 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4988 for as_dir in $PATH
4990 IFS=$as_save_IFS
4991 test -z "$as_dir" && as_dir=.
4992 for ac_exec_ext in '' $ac_executable_extensions; do
4993 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4994 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4995 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4996 break 2
4998 done
4999 done
5000 IFS=$as_save_IFS
5004 CC=$ac_cv_prog_CC
5005 if test -n "$CC"; then
5006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5007 $as_echo "$CC" >&6; }
5008 else
5009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5010 $as_echo "no" >&6; }
5015 if test -z "$ac_cv_prog_CC"; then
5016 ac_ct_CC=$CC
5017 # Extract the first word of "gcc", so it can be a program name with args.
5018 set dummy gcc; ac_word=$2
5019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5020 $as_echo_n "checking for $ac_word... " >&6; }
5021 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
5022 $as_echo_n "(cached) " >&6
5023 else
5024 if test -n "$ac_ct_CC"; then
5025 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5026 else
5027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5028 for as_dir in $PATH
5030 IFS=$as_save_IFS
5031 test -z "$as_dir" && as_dir=.
5032 for ac_exec_ext in '' $ac_executable_extensions; do
5033 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5034 ac_cv_prog_ac_ct_CC="gcc"
5035 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5036 break 2
5038 done
5039 done
5040 IFS=$as_save_IFS
5044 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5045 if test -n "$ac_ct_CC"; then
5046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5047 $as_echo "$ac_ct_CC" >&6; }
5048 else
5049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5050 $as_echo "no" >&6; }
5053 if test "x$ac_ct_CC" = x; then
5054 CC=""
5055 else
5056 case $cross_compiling:$ac_tool_warned in
5057 yes:)
5058 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5059 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5060 ac_tool_warned=yes ;;
5061 esac
5062 CC=$ac_ct_CC
5064 else
5065 CC="$ac_cv_prog_CC"
5068 if test -z "$CC"; then
5069 if test -n "$ac_tool_prefix"; then
5070 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5071 set dummy ${ac_tool_prefix}cc; ac_word=$2
5072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5073 $as_echo_n "checking for $ac_word... " >&6; }
5074 if test "${ac_cv_prog_CC+set}" = set; then :
5075 $as_echo_n "(cached) " >&6
5076 else
5077 if test -n "$CC"; then
5078 ac_cv_prog_CC="$CC" # Let the user override the test.
5079 else
5080 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5081 for as_dir in $PATH
5083 IFS=$as_save_IFS
5084 test -z "$as_dir" && as_dir=.
5085 for ac_exec_ext in '' $ac_executable_extensions; do
5086 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5087 ac_cv_prog_CC="${ac_tool_prefix}cc"
5088 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5089 break 2
5091 done
5092 done
5093 IFS=$as_save_IFS
5097 CC=$ac_cv_prog_CC
5098 if test -n "$CC"; then
5099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5100 $as_echo "$CC" >&6; }
5101 else
5102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5103 $as_echo "no" >&6; }
5109 if test -z "$CC"; then
5110 # Extract the first word of "cc", so it can be a program name with args.
5111 set dummy cc; ac_word=$2
5112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5113 $as_echo_n "checking for $ac_word... " >&6; }
5114 if test "${ac_cv_prog_CC+set}" = set; then :
5115 $as_echo_n "(cached) " >&6
5116 else
5117 if test -n "$CC"; then
5118 ac_cv_prog_CC="$CC" # Let the user override the test.
5119 else
5120 ac_prog_rejected=no
5121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5122 for as_dir in $PATH
5124 IFS=$as_save_IFS
5125 test -z "$as_dir" && as_dir=.
5126 for ac_exec_ext in '' $ac_executable_extensions; do
5127 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5128 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5129 ac_prog_rejected=yes
5130 continue
5132 ac_cv_prog_CC="cc"
5133 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5134 break 2
5136 done
5137 done
5138 IFS=$as_save_IFS
5140 if test $ac_prog_rejected = yes; then
5141 # We found a bogon in the path, so make sure we never use it.
5142 set dummy $ac_cv_prog_CC
5143 shift
5144 if test $# != 0; then
5145 # We chose a different compiler from the bogus one.
5146 # However, it has the same basename, so the bogon will be chosen
5147 # first if we set CC to just the basename; use the full file name.
5148 shift
5149 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
5154 CC=$ac_cv_prog_CC
5155 if test -n "$CC"; then
5156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5157 $as_echo "$CC" >&6; }
5158 else
5159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5160 $as_echo "no" >&6; }
5165 if test -z "$CC"; then
5166 if test -n "$ac_tool_prefix"; then
5167 for ac_prog in cl.exe
5169 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5170 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5172 $as_echo_n "checking for $ac_word... " >&6; }
5173 if test "${ac_cv_prog_CC+set}" = set; then :
5174 $as_echo_n "(cached) " >&6
5175 else
5176 if test -n "$CC"; then
5177 ac_cv_prog_CC="$CC" # Let the user override the test.
5178 else
5179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5180 for as_dir in $PATH
5182 IFS=$as_save_IFS
5183 test -z "$as_dir" && as_dir=.
5184 for ac_exec_ext in '' $ac_executable_extensions; do
5185 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5186 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
5187 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5188 break 2
5190 done
5191 done
5192 IFS=$as_save_IFS
5196 CC=$ac_cv_prog_CC
5197 if test -n "$CC"; then
5198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5199 $as_echo "$CC" >&6; }
5200 else
5201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5202 $as_echo "no" >&6; }
5206 test -n "$CC" && break
5207 done
5209 if test -z "$CC"; then
5210 ac_ct_CC=$CC
5211 for ac_prog in cl.exe
5213 # Extract the first word of "$ac_prog", so it can be a program name with args.
5214 set dummy $ac_prog; ac_word=$2
5215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5216 $as_echo_n "checking for $ac_word... " >&6; }
5217 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
5218 $as_echo_n "(cached) " >&6
5219 else
5220 if test -n "$ac_ct_CC"; then
5221 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5222 else
5223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5224 for as_dir in $PATH
5226 IFS=$as_save_IFS
5227 test -z "$as_dir" && as_dir=.
5228 for ac_exec_ext in '' $ac_executable_extensions; do
5229 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5230 ac_cv_prog_ac_ct_CC="$ac_prog"
5231 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5232 break 2
5234 done
5235 done
5236 IFS=$as_save_IFS
5240 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5241 if test -n "$ac_ct_CC"; then
5242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5243 $as_echo "$ac_ct_CC" >&6; }
5244 else
5245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5246 $as_echo "no" >&6; }
5250 test -n "$ac_ct_CC" && break
5251 done
5253 if test "x$ac_ct_CC" = x; then
5254 CC=""
5255 else
5256 case $cross_compiling:$ac_tool_warned in
5257 yes:)
5258 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5259 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5260 ac_tool_warned=yes ;;
5261 esac
5262 CC=$ac_ct_CC
5269 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5270 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5271 as_fn_error "no acceptable C compiler found in \$PATH
5272 See \`config.log' for more details." "$LINENO" 5; }
5274 # Provide some information about the compiler.
5275 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5276 set X $ac_compile
5277 ac_compiler=$2
5278 for ac_option in --version -v -V -qversion; do
5279 { { ac_try="$ac_compiler $ac_option >&5"
5280 case "(($ac_try" in
5281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5282 *) ac_try_echo=$ac_try;;
5283 esac
5284 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5285 $as_echo "$ac_try_echo"; } >&5
5286 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5287 ac_status=$?
5288 if test -s conftest.err; then
5289 sed '10a\
5290 ... rest of stderr output deleted ...
5291 10q' conftest.err >conftest.er1
5292 cat conftest.er1 >&5
5293 rm -f conftest.er1 conftest.err
5295 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5296 test $ac_status = 0; }
5297 done
5299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5300 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5301 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
5302 $as_echo_n "(cached) " >&6
5303 else
5304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5305 /* end confdefs.h. */
5308 main ()
5310 #ifndef __GNUC__
5311 choke me
5312 #endif
5315 return 0;
5317 _ACEOF
5318 if ac_fn_c_try_compile "$LINENO"; then :
5319 ac_compiler_gnu=yes
5320 else
5321 ac_compiler_gnu=no
5323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5324 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5328 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5329 if test $ac_compiler_gnu = yes; then
5330 GCC=yes
5331 else
5332 GCC=
5334 ac_test_CFLAGS=${CFLAGS+set}
5335 ac_save_CFLAGS=$CFLAGS
5336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5337 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5338 if test "${ac_cv_prog_cc_g+set}" = set; then :
5339 $as_echo_n "(cached) " >&6
5340 else
5341 ac_save_c_werror_flag=$ac_c_werror_flag
5342 ac_c_werror_flag=yes
5343 ac_cv_prog_cc_g=no
5344 CFLAGS="-g"
5345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5346 /* end confdefs.h. */
5349 main ()
5353 return 0;
5355 _ACEOF
5356 if ac_fn_c_try_compile "$LINENO"; then :
5357 ac_cv_prog_cc_g=yes
5358 else
5359 CFLAGS=""
5360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5361 /* end confdefs.h. */
5364 main ()
5368 return 0;
5370 _ACEOF
5371 if ac_fn_c_try_compile "$LINENO"; then :
5373 else
5374 ac_c_werror_flag=$ac_save_c_werror_flag
5375 CFLAGS="-g"
5376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5377 /* end confdefs.h. */
5380 main ()
5384 return 0;
5386 _ACEOF
5387 if ac_fn_c_try_compile "$LINENO"; then :
5388 ac_cv_prog_cc_g=yes
5390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5395 ac_c_werror_flag=$ac_save_c_werror_flag
5397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5398 $as_echo "$ac_cv_prog_cc_g" >&6; }
5399 if test "$ac_test_CFLAGS" = set; then
5400 CFLAGS=$ac_save_CFLAGS
5401 elif test $ac_cv_prog_cc_g = yes; then
5402 if test "$GCC" = yes; then
5403 CFLAGS="-g -O2"
5404 else
5405 CFLAGS="-g"
5407 else
5408 if test "$GCC" = yes; then
5409 CFLAGS="-O2"
5410 else
5411 CFLAGS=
5414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5415 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5416 if test "${ac_cv_prog_cc_c89+set}" = set; then :
5417 $as_echo_n "(cached) " >&6
5418 else
5419 ac_cv_prog_cc_c89=no
5420 ac_save_CC=$CC
5421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5422 /* end confdefs.h. */
5423 #include <stdarg.h>
5424 #include <stdio.h>
5425 #include <sys/types.h>
5426 #include <sys/stat.h>
5427 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5428 struct buf { int x; };
5429 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5430 static char *e (p, i)
5431 char **p;
5432 int i;
5434 return p[i];
5436 static char *f (char * (*g) (char **, int), char **p, ...)
5438 char *s;
5439 va_list v;
5440 va_start (v,p);
5441 s = g (p, va_arg (v,int));
5442 va_end (v);
5443 return s;
5446 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5447 function prototypes and stuff, but not '\xHH' hex character constants.
5448 These don't provoke an error unfortunately, instead are silently treated
5449 as 'x'. The following induces an error, until -std is added to get
5450 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5451 array size at least. It's necessary to write '\x00'==0 to get something
5452 that's true only with -std. */
5453 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5455 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5456 inside strings and character constants. */
5457 #define FOO(x) 'x'
5458 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5460 int test (int i, double x);
5461 struct s1 {int (*f) (int a);};
5462 struct s2 {int (*f) (double a);};
5463 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5464 int argc;
5465 char **argv;
5467 main ()
5469 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5471 return 0;
5473 _ACEOF
5474 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5475 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5477 CC="$ac_save_CC $ac_arg"
5478 if ac_fn_c_try_compile "$LINENO"; then :
5479 ac_cv_prog_cc_c89=$ac_arg
5481 rm -f core conftest.err conftest.$ac_objext
5482 test "x$ac_cv_prog_cc_c89" != "xno" && break
5483 done
5484 rm -f conftest.$ac_ext
5485 CC=$ac_save_CC
5488 # AC_CACHE_VAL
5489 case "x$ac_cv_prog_cc_c89" in
5491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5492 $as_echo "none needed" >&6; } ;;
5493 xno)
5494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5495 $as_echo "unsupported" >&6; } ;;
5497 CC="$CC $ac_cv_prog_cc_c89"
5498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5499 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5500 esac
5501 if test "x$ac_cv_prog_cc_c89" != xno; then :
5505 ac_ext=c
5506 ac_cpp='$CPP $CPPFLAGS'
5507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5511 depcc="$CC" am_compiler_list=
5513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5514 $as_echo_n "checking dependency style of $depcc... " >&6; }
5515 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
5516 $as_echo_n "(cached) " >&6
5517 else
5518 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5519 # We make a subdir and do the tests there. Otherwise we can end up
5520 # making bogus files that we don't know about and never remove. For
5521 # instance it was reported that on HP-UX the gcc test will end up
5522 # making a dummy file named `D' -- because `-MD' means `put the output
5523 # in D'.
5524 rm -rf conftest.dir
5525 mkdir conftest.dir
5526 # Copy depcomp to subdir because otherwise we won't find it if we're
5527 # using a relative directory.
5528 cp "$am_depcomp" conftest.dir
5529 cd conftest.dir
5530 # We will build objects and dependencies in a subdirectory because
5531 # it helps to detect inapplicable dependency modes. For instance
5532 # both Tru64's cc and ICC support -MD to output dependencies as a
5533 # side effect of compilation, but ICC will put the dependencies in
5534 # the current directory while Tru64 will put them in the object
5535 # directory.
5536 mkdir sub
5538 am_cv_CC_dependencies_compiler_type=none
5539 if test "$am_compiler_list" = ""; then
5540 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5542 am__universal=false
5543 case " $depcc " in #(
5544 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5545 esac
5547 for depmode in $am_compiler_list; do
5548 # Setup a source with many dependencies, because some compilers
5549 # like to wrap large dependency lists on column 80 (with \), and
5550 # we should not choose a depcomp mode which is confused by this.
5552 # We need to recreate these files for each test, as the compiler may
5553 # overwrite some of them when testing with obscure command lines.
5554 # This happens at least with the AIX C compiler.
5555 : > sub/conftest.c
5556 for i in 1 2 3 4 5 6; do
5557 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5558 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5559 # Solaris 8's {/usr,}/bin/sh.
5560 touch sub/conftst$i.h
5561 done
5562 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5564 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5565 # mode. It turns out that the SunPro C++ compiler does not properly
5566 # handle `-M -o', and we need to detect this. Also, some Intel
5567 # versions had trouble with output in subdirs
5568 am__obj=sub/conftest.${OBJEXT-o}
5569 am__minus_obj="-o $am__obj"
5570 case $depmode in
5571 gcc)
5572 # This depmode causes a compiler race in universal mode.
5573 test "$am__universal" = false || continue
5575 nosideeffect)
5576 # after this tag, mechanisms are not by side-effect, so they'll
5577 # only be used when explicitly requested
5578 if test "x$enable_dependency_tracking" = xyes; then
5579 continue
5580 else
5581 break
5584 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5585 # This compiler won't grok `-c -o', but also, the minuso test has
5586 # not run yet. These depmodes are late enough in the game, and
5587 # so weak that their functioning should not be impacted.
5588 am__obj=conftest.${OBJEXT-o}
5589 am__minus_obj=
5591 none) break ;;
5592 esac
5593 if depmode=$depmode \
5594 source=sub/conftest.c object=$am__obj \
5595 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5596 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5597 >/dev/null 2>conftest.err &&
5598 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5599 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5600 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5601 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5602 # icc doesn't choke on unknown options, it will just issue warnings
5603 # or remarks (even with -Werror). So we grep stderr for any message
5604 # that says an option was ignored or not supported.
5605 # When given -MP, icc 7.0 and 7.1 complain thusly:
5606 # icc: Command line warning: ignoring option '-M'; no argument required
5607 # The diagnosis changed in icc 8.0:
5608 # icc: Command line remark: option '-MP' not supported
5609 if (grep 'ignoring option' conftest.err ||
5610 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5611 am_cv_CC_dependencies_compiler_type=$depmode
5612 break
5615 done
5617 cd ..
5618 rm -rf conftest.dir
5619 else
5620 am_cv_CC_dependencies_compiler_type=none
5624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5625 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5626 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5629 test "x$enable_dependency_tracking" != xno \
5630 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5631 am__fastdepCC_TRUE=
5632 am__fastdepCC_FALSE='#'
5633 else
5634 am__fastdepCC_TRUE='#'
5635 am__fastdepCC_FALSE=
5643 if test "x$CC" != xcc; then
5644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
5645 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
5646 else
5647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
5648 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
5650 set dummy $CC; ac_cc=`$as_echo "$2" |
5651 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5652 if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
5653 $as_echo_n "(cached) " >&6
5654 else
5655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5656 /* end confdefs.h. */
5659 main ()
5663 return 0;
5665 _ACEOF
5666 # Make sure it works both with $CC and with simple cc.
5667 # We do the test twice because some compilers refuse to overwrite an
5668 # existing .o file with -o, though they will create one.
5669 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5670 rm -f conftest2.*
5671 if { { case "(($ac_try" in
5672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5673 *) ac_try_echo=$ac_try;;
5674 esac
5675 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5676 $as_echo "$ac_try_echo"; } >&5
5677 (eval "$ac_try") 2>&5
5678 ac_status=$?
5679 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5680 test $ac_status = 0; } &&
5681 test -f conftest2.$ac_objext && { { case "(($ac_try" in
5682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5683 *) ac_try_echo=$ac_try;;
5684 esac
5685 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5686 $as_echo "$ac_try_echo"; } >&5
5687 (eval "$ac_try") 2>&5
5688 ac_status=$?
5689 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5690 test $ac_status = 0; };
5691 then
5692 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
5693 if test "x$CC" != xcc; then
5694 # Test first that cc exists at all.
5695 if { ac_try='cc -c conftest.$ac_ext >&5'
5696 { { case "(($ac_try" in
5697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5698 *) ac_try_echo=$ac_try;;
5699 esac
5700 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5701 $as_echo "$ac_try_echo"; } >&5
5702 (eval "$ac_try") 2>&5
5703 ac_status=$?
5704 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5705 test $ac_status = 0; }; }; then
5706 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5707 rm -f conftest2.*
5708 if { { case "(($ac_try" in
5709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5710 *) ac_try_echo=$ac_try;;
5711 esac
5712 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5713 $as_echo "$ac_try_echo"; } >&5
5714 (eval "$ac_try") 2>&5
5715 ac_status=$?
5716 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5717 test $ac_status = 0; } &&
5718 test -f conftest2.$ac_objext && { { case "(($ac_try" in
5719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5720 *) ac_try_echo=$ac_try;;
5721 esac
5722 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5723 $as_echo "$ac_try_echo"; } >&5
5724 (eval "$ac_try") 2>&5
5725 ac_status=$?
5726 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5727 test $ac_status = 0; };
5728 then
5729 # cc works too.
5731 else
5732 # cc exists but doesn't like -o.
5733 eval ac_cv_prog_cc_${ac_cc}_c_o=no
5737 else
5738 eval ac_cv_prog_cc_${ac_cc}_c_o=no
5740 rm -f core conftest*
5743 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
5744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5745 $as_echo "yes" >&6; }
5746 else
5747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5748 $as_echo "no" >&6; }
5750 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
5754 # FIXME: we rely on the cache variable name because
5755 # there is no other way.
5756 set dummy $CC
5757 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5758 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
5759 if test "$am_t" != yes; then
5760 # Losing compiler, so override with the script.
5761 # FIXME: It is wrong to rewrite CC.
5762 # But if we don't then we get into trouble of one sort or another.
5763 # A longer-term fix would be to have automake use am__CC in this case,
5764 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5765 CC="$am_aux_dir/compile $CC"
5770 # Add -Wall -fno-repack-arrays -fno-underscoring if we are using GCC.
5771 if test "x$GCC" = "xyes"; then
5772 AM_FCFLAGS="-I . -Wall -Werror -fimplicit-none -fno-repack-arrays -fno-underscoring"
5773 ## We like to use C99 routines when available. This makes sure that
5774 ## __STDC_VERSION__ is set such that libc includes make them available.
5775 AM_CFLAGS="-std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings"
5776 ## Compile the following tests with the same system header contents
5777 ## that we'll encounter when compiling our own source files.
5778 CFLAGS="-std=gnu99 $CFLAGS"
5784 # Check for symbol versioning (copied from libssp).
5785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether symbol versioning is supported" >&5
5786 $as_echo_n "checking whether symbol versioning is supported... " >&6; }
5787 # Check whether --enable-symvers was given.
5788 if test "${enable_symvers+set}" = set; then :
5789 enableval=$enable_symvers; gfortran_use_symver=$enableval
5790 else
5791 gfortran_use_symver=yes
5794 if test "x$gfortran_use_symver" != xno; then
5795 save_LDFLAGS="$LDFLAGS"
5796 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,--version-script,./conftest.map"
5797 cat > conftest.map <<EOF
5798 FOO_1.0 {
5799 global: *foo*; bar; local: *;
5802 if test x$gcc_no_link = xyes; then
5803 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
5805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5806 /* end confdefs.h. */
5807 int foo;
5809 main ()
5813 return 0;
5815 _ACEOF
5816 if ac_fn_c_try_link "$LINENO"; then :
5817 gfortran_use_symver=gnu
5818 else
5819 gfortran_use_symver=no
5821 rm -f core conftest.err conftest.$ac_objext \
5822 conftest$ac_exeext conftest.$ac_ext
5823 if test x$gfortran_use_symver = xno; then
5824 case "$target_os" in
5825 solaris2*)
5826 LDFLAGS="$save_LDFLAGS"
5827 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,-M,./conftest.map"
5828 # Sun ld cannot handle wildcards and treats all entries as undefined.
5829 cat > conftest.map <<EOF
5830 FOO_1.0 {
5831 global: foo; local: *;
5834 if test x$gcc_no_link = xyes; then
5835 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
5837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5838 /* end confdefs.h. */
5839 int foo;
5841 main ()
5845 return 0;
5847 _ACEOF
5848 if ac_fn_c_try_link "$LINENO"; then :
5849 gfortran_use_symver=sun
5850 else
5851 gfortran_use_symver=no
5853 rm -f core conftest.err conftest.$ac_objext \
5854 conftest$ac_exeext conftest.$ac_ext
5856 esac
5858 LDFLAGS="$save_LDFLAGS"
5860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gfortran_use_symver" >&5
5861 $as_echo "$gfortran_use_symver" >&6; }
5862 if test "x$gfortran_use_symver" != xno; then
5863 LIBGFOR_USE_SYMVER_TRUE=
5864 LIBGFOR_USE_SYMVER_FALSE='#'
5865 else
5866 LIBGFOR_USE_SYMVER_TRUE='#'
5867 LIBGFOR_USE_SYMVER_FALSE=
5870 if test "x$gfortran_use_symver" = xgnu; then
5871 LIBGFOR_USE_SYMVER_GNU_TRUE=
5872 LIBGFOR_USE_SYMVER_GNU_FALSE='#'
5873 else
5874 LIBGFOR_USE_SYMVER_GNU_TRUE='#'
5875 LIBGFOR_USE_SYMVER_GNU_FALSE=
5878 if test "x$gfortran_use_symver" = xsun; then
5879 LIBGFOR_USE_SYMVER_SUN_TRUE=
5880 LIBGFOR_USE_SYMVER_SUN_FALSE='#'
5881 else
5882 LIBGFOR_USE_SYMVER_SUN_TRUE='#'
5883 LIBGFOR_USE_SYMVER_SUN_FALSE=
5887 # Figure out whether the compiler supports "-ffunction-sections -fdata-sections",
5888 # similarly to how libstdc++ does it
5889 ac_test_CFLAGS="${CFLAGS+set}"
5890 ac_save_CFLAGS="$CFLAGS"
5892 # Check for -ffunction-sections -fdata-sections
5893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc that supports -ffunction-sections -fdata-sections" >&5
5894 $as_echo_n "checking for gcc that supports -ffunction-sections -fdata-sections... " >&6; }
5895 CFLAGS='-Werror -ffunction-sections -fdata-sections'
5896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5897 /* end confdefs.h. */
5900 main ()
5902 int foo;
5904 return 0;
5906 _ACEOF
5907 if ac_fn_c_try_compile "$LINENO"; then :
5908 ac_fdsections=yes
5909 else
5910 ac_fdsections=no
5912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5913 if test "$ac_test_CFLAGS" = set; then
5914 CFLAGS="$ac_save_CFLAGS"
5915 else
5916 # this is the suspicious part
5917 CFLAGS=""
5919 if test x"$ac_fdsections" = x"yes"; then
5920 SECTION_FLAGS='-ffunction-sections -fdata-sections'
5922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
5923 $as_echo "$ac_fdsections" >&6; }
5926 # Find other programs we need.
5927 if test -n "$ac_tool_prefix"; then
5928 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5929 set dummy ${ac_tool_prefix}as; ac_word=$2
5930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5931 $as_echo_n "checking for $ac_word... " >&6; }
5932 if test "${ac_cv_prog_AS+set}" = set; then :
5933 $as_echo_n "(cached) " >&6
5934 else
5935 if test -n "$AS"; then
5936 ac_cv_prog_AS="$AS" # Let the user override the test.
5937 else
5938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5939 for as_dir in $PATH
5941 IFS=$as_save_IFS
5942 test -z "$as_dir" && as_dir=.
5943 for ac_exec_ext in '' $ac_executable_extensions; do
5944 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5945 ac_cv_prog_AS="${ac_tool_prefix}as"
5946 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5947 break 2
5949 done
5950 done
5951 IFS=$as_save_IFS
5955 AS=$ac_cv_prog_AS
5956 if test -n "$AS"; then
5957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5958 $as_echo "$AS" >&6; }
5959 else
5960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5961 $as_echo "no" >&6; }
5966 if test -z "$ac_cv_prog_AS"; then
5967 ac_ct_AS=$AS
5968 # Extract the first word of "as", so it can be a program name with args.
5969 set dummy as; ac_word=$2
5970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5971 $as_echo_n "checking for $ac_word... " >&6; }
5972 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
5973 $as_echo_n "(cached) " >&6
5974 else
5975 if test -n "$ac_ct_AS"; then
5976 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5977 else
5978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5979 for as_dir in $PATH
5981 IFS=$as_save_IFS
5982 test -z "$as_dir" && as_dir=.
5983 for ac_exec_ext in '' $ac_executable_extensions; do
5984 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5985 ac_cv_prog_ac_ct_AS="as"
5986 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5987 break 2
5989 done
5990 done
5991 IFS=$as_save_IFS
5995 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5996 if test -n "$ac_ct_AS"; then
5997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5998 $as_echo "$ac_ct_AS" >&6; }
5999 else
6000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6001 $as_echo "no" >&6; }
6004 if test "x$ac_ct_AS" = x; then
6005 AS=""
6006 else
6007 case $cross_compiling:$ac_tool_warned in
6008 yes:)
6009 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6010 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6011 ac_tool_warned=yes ;;
6012 esac
6013 AS=$ac_ct_AS
6015 else
6016 AS="$ac_cv_prog_AS"
6019 if test -n "$ac_tool_prefix"; then
6020 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6021 set dummy ${ac_tool_prefix}ar; ac_word=$2
6022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6023 $as_echo_n "checking for $ac_word... " >&6; }
6024 if test "${ac_cv_prog_AR+set}" = set; then :
6025 $as_echo_n "(cached) " >&6
6026 else
6027 if test -n "$AR"; then
6028 ac_cv_prog_AR="$AR" # Let the user override the test.
6029 else
6030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6031 for as_dir in $PATH
6033 IFS=$as_save_IFS
6034 test -z "$as_dir" && as_dir=.
6035 for ac_exec_ext in '' $ac_executable_extensions; do
6036 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6037 ac_cv_prog_AR="${ac_tool_prefix}ar"
6038 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6039 break 2
6041 done
6042 done
6043 IFS=$as_save_IFS
6047 AR=$ac_cv_prog_AR
6048 if test -n "$AR"; then
6049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6050 $as_echo "$AR" >&6; }
6051 else
6052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6053 $as_echo "no" >&6; }
6058 if test -z "$ac_cv_prog_AR"; then
6059 ac_ct_AR=$AR
6060 # Extract the first word of "ar", so it can be a program name with args.
6061 set dummy ar; ac_word=$2
6062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6063 $as_echo_n "checking for $ac_word... " >&6; }
6064 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6065 $as_echo_n "(cached) " >&6
6066 else
6067 if test -n "$ac_ct_AR"; then
6068 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6069 else
6070 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6071 for as_dir in $PATH
6073 IFS=$as_save_IFS
6074 test -z "$as_dir" && as_dir=.
6075 for ac_exec_ext in '' $ac_executable_extensions; do
6076 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6077 ac_cv_prog_ac_ct_AR="ar"
6078 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6079 break 2
6081 done
6082 done
6083 IFS=$as_save_IFS
6087 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6088 if test -n "$ac_ct_AR"; then
6089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6090 $as_echo "$ac_ct_AR" >&6; }
6091 else
6092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6093 $as_echo "no" >&6; }
6096 if test "x$ac_ct_AR" = x; then
6097 AR=""
6098 else
6099 case $cross_compiling:$ac_tool_warned in
6100 yes:)
6101 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6102 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6103 ac_tool_warned=yes ;;
6104 esac
6105 AR=$ac_ct_AR
6107 else
6108 AR="$ac_cv_prog_AR"
6111 if test -n "$ac_tool_prefix"; then
6112 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6113 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6115 $as_echo_n "checking for $ac_word... " >&6; }
6116 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6117 $as_echo_n "(cached) " >&6
6118 else
6119 if test -n "$RANLIB"; then
6120 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6121 else
6122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6123 for as_dir in $PATH
6125 IFS=$as_save_IFS
6126 test -z "$as_dir" && as_dir=.
6127 for ac_exec_ext in '' $ac_executable_extensions; do
6128 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6129 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6130 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6131 break 2
6133 done
6134 done
6135 IFS=$as_save_IFS
6139 RANLIB=$ac_cv_prog_RANLIB
6140 if test -n "$RANLIB"; then
6141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6142 $as_echo "$RANLIB" >&6; }
6143 else
6144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6145 $as_echo "no" >&6; }
6150 if test -z "$ac_cv_prog_RANLIB"; then
6151 ac_ct_RANLIB=$RANLIB
6152 # Extract the first word of "ranlib", so it can be a program name with args.
6153 set dummy ranlib; ac_word=$2
6154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6155 $as_echo_n "checking for $ac_word... " >&6; }
6156 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6157 $as_echo_n "(cached) " >&6
6158 else
6159 if test -n "$ac_ct_RANLIB"; then
6160 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6161 else
6162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6163 for as_dir in $PATH
6165 IFS=$as_save_IFS
6166 test -z "$as_dir" && as_dir=.
6167 for ac_exec_ext in '' $ac_executable_extensions; do
6168 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6169 ac_cv_prog_ac_ct_RANLIB="ranlib"
6170 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6171 break 2
6173 done
6174 done
6175 IFS=$as_save_IFS
6179 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6180 if test -n "$ac_ct_RANLIB"; then
6181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6182 $as_echo "$ac_ct_RANLIB" >&6; }
6183 else
6184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6185 $as_echo "no" >&6; }
6188 if test "x$ac_ct_RANLIB" = x; then
6189 RANLIB="ranlib-not-found-in-path-error"
6190 else
6191 case $cross_compiling:$ac_tool_warned in
6192 yes:)
6193 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6194 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6195 ac_tool_warned=yes ;;
6196 esac
6197 RANLIB=$ac_ct_RANLIB
6199 else
6200 RANLIB="$ac_cv_prog_RANLIB"
6203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6204 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
6205 set x ${MAKE-make}
6206 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
6207 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
6208 $as_echo_n "(cached) " >&6
6209 else
6210 cat >conftest.make <<\_ACEOF
6211 SHELL = /bin/sh
6212 all:
6213 @echo '@@@%%%=$(MAKE)=@@@%%%'
6214 _ACEOF
6215 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
6216 case `${MAKE-make} -f conftest.make 2>/dev/null` in
6217 *@@@%%%=?*=@@@%%%*)
6218 eval ac_cv_prog_make_${ac_make}_set=yes;;
6220 eval ac_cv_prog_make_${ac_make}_set=no;;
6221 esac
6222 rm -f conftest.make
6224 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
6225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6226 $as_echo "yes" >&6; }
6227 SET_MAKE=
6228 else
6229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6230 $as_echo "no" >&6; }
6231 SET_MAKE="MAKE=${MAKE-make}"
6236 # Configure libtool
6237 #AC_MSG_NOTICE([====== Starting libtool configuration])
6238 enable_dlopen=yes
6242 case `pwd` in
6243 *\ * | *\ *)
6244 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
6245 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
6246 esac
6250 macro_version='2.2.7a'
6251 macro_revision='1.3134'
6265 ltmain="$ac_aux_dir/ltmain.sh"
6267 # Backslashify metacharacters that are still active within
6268 # double-quoted strings.
6269 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
6271 # Same as above, but do not quote variable references.
6272 double_quote_subst='s/\(["`\\]\)/\\\1/g'
6274 # Sed substitution to delay expansion of an escaped shell variable in a
6275 # double_quote_subst'ed string.
6276 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6278 # Sed substitution to delay expansion of an escaped single quote.
6279 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6281 # Sed substitution to avoid accidental globbing in evaled expressions
6282 no_glob_subst='s/\*/\\\*/g'
6284 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6285 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6286 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
6289 $as_echo_n "checking how to print strings... " >&6; }
6290 # Test print first, because it will be a builtin if present.
6291 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
6292 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
6293 ECHO='print -r --'
6294 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
6295 ECHO='printf %s\n'
6296 else
6297 # Use this function as a fallback that always works.
6298 func_fallback_echo ()
6300 eval 'cat <<_LTECHO_EOF
6302 _LTECHO_EOF'
6304 ECHO='func_fallback_echo'
6307 # func_echo_all arg...
6308 # Invoke $ECHO with all args, space-separated.
6309 func_echo_all ()
6311 $ECHO ""
6314 case "$ECHO" in
6315 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6316 $as_echo "printf" >&6; } ;;
6317 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6318 $as_echo "print -r" >&6; } ;;
6319 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6320 $as_echo "cat" >&6; } ;;
6321 esac
6336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6337 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6338 if test "${ac_cv_path_SED+set}" = set; then :
6339 $as_echo_n "(cached) " >&6
6340 else
6341 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6342 for ac_i in 1 2 3 4 5 6 7; do
6343 ac_script="$ac_script$as_nl$ac_script"
6344 done
6345 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6346 { ac_script=; unset ac_script;}
6347 if test -z "$SED"; then
6348 ac_path_SED_found=false
6349 # Loop through the user's path and test for each of PROGNAME-LIST
6350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6351 for as_dir in $PATH
6353 IFS=$as_save_IFS
6354 test -z "$as_dir" && as_dir=.
6355 for ac_prog in sed gsed; do
6356 for ac_exec_ext in '' $ac_executable_extensions; do
6357 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6358 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
6359 # Check for GNU ac_path_SED and select it if it is found.
6360 # Check for GNU $ac_path_SED
6361 case `"$ac_path_SED" --version 2>&1` in
6362 *GNU*)
6363 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6365 ac_count=0
6366 $as_echo_n 0123456789 >"conftest.in"
6367 while :
6369 cat "conftest.in" "conftest.in" >"conftest.tmp"
6370 mv "conftest.tmp" "conftest.in"
6371 cp "conftest.in" "conftest.nl"
6372 $as_echo '' >> "conftest.nl"
6373 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6374 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6375 as_fn_arith $ac_count + 1 && ac_count=$as_val
6376 if test $ac_count -gt ${ac_path_SED_max-0}; then
6377 # Best one so far, save it but keep looking for a better one
6378 ac_cv_path_SED="$ac_path_SED"
6379 ac_path_SED_max=$ac_count
6381 # 10*(2^10) chars as input seems more than enough
6382 test $ac_count -gt 10 && break
6383 done
6384 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6385 esac
6387 $ac_path_SED_found && break 3
6388 done
6389 done
6390 done
6391 IFS=$as_save_IFS
6392 if test -z "$ac_cv_path_SED"; then
6393 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
6395 else
6396 ac_cv_path_SED=$SED
6400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6401 $as_echo "$ac_cv_path_SED" >&6; }
6402 SED="$ac_cv_path_SED"
6403 rm -f conftest.sed
6405 test -z "$SED" && SED=sed
6406 Xsed="$SED -e 1s/^X//"
6418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6419 $as_echo_n "checking for fgrep... " >&6; }
6420 if test "${ac_cv_path_FGREP+set}" = set; then :
6421 $as_echo_n "(cached) " >&6
6422 else
6423 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6424 then ac_cv_path_FGREP="$GREP -F"
6425 else
6426 if test -z "$FGREP"; then
6427 ac_path_FGREP_found=false
6428 # Loop through the user's path and test for each of PROGNAME-LIST
6429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6430 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6432 IFS=$as_save_IFS
6433 test -z "$as_dir" && as_dir=.
6434 for ac_prog in fgrep; do
6435 for ac_exec_ext in '' $ac_executable_extensions; do
6436 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6437 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
6438 # Check for GNU ac_path_FGREP and select it if it is found.
6439 # Check for GNU $ac_path_FGREP
6440 case `"$ac_path_FGREP" --version 2>&1` in
6441 *GNU*)
6442 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6444 ac_count=0
6445 $as_echo_n 0123456789 >"conftest.in"
6446 while :
6448 cat "conftest.in" "conftest.in" >"conftest.tmp"
6449 mv "conftest.tmp" "conftest.in"
6450 cp "conftest.in" "conftest.nl"
6451 $as_echo 'FGREP' >> "conftest.nl"
6452 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6453 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6454 as_fn_arith $ac_count + 1 && ac_count=$as_val
6455 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6456 # Best one so far, save it but keep looking for a better one
6457 ac_cv_path_FGREP="$ac_path_FGREP"
6458 ac_path_FGREP_max=$ac_count
6460 # 10*(2^10) chars as input seems more than enough
6461 test $ac_count -gt 10 && break
6462 done
6463 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6464 esac
6466 $ac_path_FGREP_found && break 3
6467 done
6468 done
6469 done
6470 IFS=$as_save_IFS
6471 if test -z "$ac_cv_path_FGREP"; then
6472 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6474 else
6475 ac_cv_path_FGREP=$FGREP
6480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6481 $as_echo "$ac_cv_path_FGREP" >&6; }
6482 FGREP="$ac_cv_path_FGREP"
6485 test -z "$GREP" && GREP=grep
6505 # Check whether --with-gnu-ld was given.
6506 if test "${with_gnu_ld+set}" = set; then :
6507 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6508 else
6509 with_gnu_ld=no
6512 ac_prog=ld
6513 if test "$GCC" = yes; then
6514 # Check if gcc -print-prog-name=ld gives a path.
6515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6516 $as_echo_n "checking for ld used by $CC... " >&6; }
6517 case $host in
6518 *-*-mingw*)
6519 # gcc leaves a trailing carriage return which upsets mingw
6520 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6522 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6523 esac
6524 case $ac_prog in
6525 # Accept absolute paths.
6526 [\\/]* | ?:[\\/]*)
6527 re_direlt='/[^/][^/]*/\.\./'
6528 # Canonicalize the pathname of ld
6529 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6530 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6531 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6532 done
6533 test -z "$LD" && LD="$ac_prog"
6536 # If it fails, then pretend we aren't using GCC.
6537 ac_prog=ld
6540 # If it is relative, then search for the first ld in PATH.
6541 with_gnu_ld=unknown
6543 esac
6544 elif test "$with_gnu_ld" = yes; then
6545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6546 $as_echo_n "checking for GNU ld... " >&6; }
6547 else
6548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6549 $as_echo_n "checking for non-GNU ld... " >&6; }
6551 if test "${lt_cv_path_LD+set}" = set; then :
6552 $as_echo_n "(cached) " >&6
6553 else
6554 if test -z "$LD"; then
6555 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6556 for ac_dir in $PATH; do
6557 IFS="$lt_save_ifs"
6558 test -z "$ac_dir" && ac_dir=.
6559 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6560 lt_cv_path_LD="$ac_dir/$ac_prog"
6561 # Check to see if the program is GNU ld. I'd rather use --version,
6562 # but apparently some variants of GNU ld only accept -v.
6563 # Break only if it was the GNU/non-GNU ld that we prefer.
6564 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6565 *GNU* | *'with BFD'*)
6566 test "$with_gnu_ld" != no && break
6569 test "$with_gnu_ld" != yes && break
6571 esac
6573 done
6574 IFS="$lt_save_ifs"
6575 else
6576 lt_cv_path_LD="$LD" # Let the user override the test with a path.
6580 LD="$lt_cv_path_LD"
6581 if test -n "$LD"; then
6582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6583 $as_echo "$LD" >&6; }
6584 else
6585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6586 $as_echo "no" >&6; }
6588 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
6589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6590 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6591 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
6592 $as_echo_n "(cached) " >&6
6593 else
6594 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6595 case `$LD -v 2>&1 </dev/null` in
6596 *GNU* | *'with BFD'*)
6597 lt_cv_prog_gnu_ld=yes
6600 lt_cv_prog_gnu_ld=no
6602 esac
6604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6605 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6606 with_gnu_ld=$lt_cv_prog_gnu_ld
6616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6617 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6618 if test "${lt_cv_path_NM+set}" = set; then :
6619 $as_echo_n "(cached) " >&6
6620 else
6621 if test -n "$NM"; then
6622 # Let the user override the test.
6623 lt_cv_path_NM="$NM"
6624 else
6625 lt_nm_to_check="${ac_tool_prefix}nm"
6626 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6627 lt_nm_to_check="$lt_nm_to_check nm"
6629 for lt_tmp_nm in $lt_nm_to_check; do
6630 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6631 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6632 IFS="$lt_save_ifs"
6633 test -z "$ac_dir" && ac_dir=.
6634 tmp_nm="$ac_dir/$lt_tmp_nm"
6635 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6636 # Check to see if the nm accepts a BSD-compat flag.
6637 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6638 # nm: unknown option "B" ignored
6639 # Tru64's nm complains that /dev/null is an invalid object file
6640 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6641 */dev/null* | *'Invalid file or object type'*)
6642 lt_cv_path_NM="$tmp_nm -B"
6643 break
6646 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6647 */dev/null*)
6648 lt_cv_path_NM="$tmp_nm -p"
6649 break
6652 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6653 continue # so that we can try to find one that supports BSD flags
6655 esac
6657 esac
6659 done
6660 IFS="$lt_save_ifs"
6661 done
6662 : ${lt_cv_path_NM=no}
6665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6666 $as_echo "$lt_cv_path_NM" >&6; }
6667 if test "$lt_cv_path_NM" != "no"; then
6668 NM="$lt_cv_path_NM"
6669 else
6670 # Didn't find any BSD compatible name lister, look for dumpbin.
6671 if test -n "$DUMPBIN"; then :
6672 # Let the user override the test.
6673 else
6674 if test -n "$ac_tool_prefix"; then
6675 for ac_prog in dumpbin "link -dump"
6677 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6678 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6680 $as_echo_n "checking for $ac_word... " >&6; }
6681 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
6682 $as_echo_n "(cached) " >&6
6683 else
6684 if test -n "$DUMPBIN"; then
6685 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6686 else
6687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6688 for as_dir in $PATH
6690 IFS=$as_save_IFS
6691 test -z "$as_dir" && as_dir=.
6692 for ac_exec_ext in '' $ac_executable_extensions; do
6693 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6694 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6695 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6696 break 2
6698 done
6699 done
6700 IFS=$as_save_IFS
6704 DUMPBIN=$ac_cv_prog_DUMPBIN
6705 if test -n "$DUMPBIN"; then
6706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6707 $as_echo "$DUMPBIN" >&6; }
6708 else
6709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6710 $as_echo "no" >&6; }
6714 test -n "$DUMPBIN" && break
6715 done
6717 if test -z "$DUMPBIN"; then
6718 ac_ct_DUMPBIN=$DUMPBIN
6719 for ac_prog in dumpbin "link -dump"
6721 # Extract the first word of "$ac_prog", so it can be a program name with args.
6722 set dummy $ac_prog; ac_word=$2
6723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6724 $as_echo_n "checking for $ac_word... " >&6; }
6725 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
6726 $as_echo_n "(cached) " >&6
6727 else
6728 if test -n "$ac_ct_DUMPBIN"; then
6729 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6730 else
6731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6732 for as_dir in $PATH
6734 IFS=$as_save_IFS
6735 test -z "$as_dir" && as_dir=.
6736 for ac_exec_ext in '' $ac_executable_extensions; do
6737 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6738 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6739 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6740 break 2
6742 done
6743 done
6744 IFS=$as_save_IFS
6748 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6749 if test -n "$ac_ct_DUMPBIN"; then
6750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6751 $as_echo "$ac_ct_DUMPBIN" >&6; }
6752 else
6753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6754 $as_echo "no" >&6; }
6758 test -n "$ac_ct_DUMPBIN" && break
6759 done
6761 if test "x$ac_ct_DUMPBIN" = x; then
6762 DUMPBIN=":"
6763 else
6764 case $cross_compiling:$ac_tool_warned in
6765 yes:)
6766 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6767 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6768 ac_tool_warned=yes ;;
6769 esac
6770 DUMPBIN=$ac_ct_DUMPBIN
6774 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6775 *COFF*)
6776 DUMPBIN="$DUMPBIN -symbols"
6779 DUMPBIN=:
6781 esac
6784 if test "$DUMPBIN" != ":"; then
6785 NM="$DUMPBIN"
6788 test -z "$NM" && NM=nm
6795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6796 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6797 if test "${lt_cv_nm_interface+set}" = set; then :
6798 $as_echo_n "(cached) " >&6
6799 else
6800 lt_cv_nm_interface="BSD nm"
6801 echo "int some_variable = 0;" > conftest.$ac_ext
6802 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6803 (eval "$ac_compile" 2>conftest.err)
6804 cat conftest.err >&5
6805 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6806 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6807 cat conftest.err >&5
6808 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6809 cat conftest.out >&5
6810 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6811 lt_cv_nm_interface="MS dumpbin"
6813 rm -f conftest*
6815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6816 $as_echo "$lt_cv_nm_interface" >&6; }
6818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6819 $as_echo_n "checking whether ln -s works... " >&6; }
6820 LN_S=$as_ln_s
6821 if test "$LN_S" = "ln -s"; then
6822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6823 $as_echo "yes" >&6; }
6824 else
6825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6826 $as_echo "no, using $LN_S" >&6; }
6829 # find the maximum length of command line arguments
6830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6831 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6832 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
6833 $as_echo_n "(cached) " >&6
6834 else
6836 teststring="ABCD"
6838 case $build_os in
6839 msdosdjgpp*)
6840 # On DJGPP, this test can blow up pretty badly due to problems in libc
6841 # (any single argument exceeding 2000 bytes causes a buffer overrun
6842 # during glob expansion). Even if it were fixed, the result of this
6843 # check would be larger than it should be.
6844 lt_cv_sys_max_cmd_len=12288; # 12K is about right
6847 gnu*)
6848 # Under GNU Hurd, this test is not required because there is
6849 # no limit to the length of command line arguments.
6850 # Libtool will interpret -1 as no limit whatsoever
6851 lt_cv_sys_max_cmd_len=-1;
6854 cygwin* | mingw* | cegcc*)
6855 # On Win9x/ME, this test blows up -- it succeeds, but takes
6856 # about 5 minutes as the teststring grows exponentially.
6857 # Worse, since 9x/ME are not pre-emptively multitasking,
6858 # you end up with a "frozen" computer, even though with patience
6859 # the test eventually succeeds (with a max line length of 256k).
6860 # Instead, let's just punt: use the minimum linelength reported by
6861 # all of the supported platforms: 8192 (on NT/2K/XP).
6862 lt_cv_sys_max_cmd_len=8192;
6865 mint*)
6866 # On MiNT this can take a long time and run out of memory.
6867 lt_cv_sys_max_cmd_len=8192;
6870 amigaos*)
6871 # On AmigaOS with pdksh, this test takes hours, literally.
6872 # So we just punt and use a minimum line length of 8192.
6873 lt_cv_sys_max_cmd_len=8192;
6876 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6877 # This has been around since 386BSD, at least. Likely further.
6878 if test -x /sbin/sysctl; then
6879 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6880 elif test -x /usr/sbin/sysctl; then
6881 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6882 else
6883 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6885 # And add a safety zone
6886 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6887 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6890 interix*)
6891 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6892 lt_cv_sys_max_cmd_len=196608
6895 osf*)
6896 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6897 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6898 # nice to cause kernel panics so lets avoid the loop below.
6899 # First set a reasonable default.
6900 lt_cv_sys_max_cmd_len=16384
6902 if test -x /sbin/sysconfig; then
6903 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6904 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6905 esac
6908 sco3.2v5*)
6909 lt_cv_sys_max_cmd_len=102400
6911 sysv5* | sco5v6* | sysv4.2uw2*)
6912 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6913 if test -n "$kargmax"; then
6914 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6915 else
6916 lt_cv_sys_max_cmd_len=32768
6920 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6921 if test -n "$lt_cv_sys_max_cmd_len"; then
6922 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6923 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6924 else
6925 # Make teststring a little bigger before we do anything with it.
6926 # a 1K string should be a reasonable start.
6927 for i in 1 2 3 4 5 6 7 8 ; do
6928 teststring=$teststring$teststring
6929 done
6930 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6931 # If test is not a shell built-in, we'll probably end up computing a
6932 # maximum length that is only half of the actual maximum length, but
6933 # we can't tell.
6934 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6935 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6936 test $i != 17 # 1/2 MB should be enough
6938 i=`expr $i + 1`
6939 teststring=$teststring$teststring
6940 done
6941 # Only check the string length outside the loop.
6942 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6943 teststring=
6944 # Add a significant safety factor because C++ compilers can tack on
6945 # massive amounts of additional arguments before passing them to the
6946 # linker. It appears as though 1/2 is a usable value.
6947 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6950 esac
6954 if test -n $lt_cv_sys_max_cmd_len ; then
6955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6956 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6957 else
6958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6959 $as_echo "none" >&6; }
6961 max_cmd_len=$lt_cv_sys_max_cmd_len
6968 : ${CP="cp -f"}
6969 : ${MV="mv -f"}
6970 : ${RM="rm -f"}
6972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6973 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6974 # Try some XSI features
6975 xsi_shell=no
6976 ( _lt_dummy="a/b/c"
6977 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6978 = c,a/b,, \
6979 && eval 'test $(( 1 + 1 )) -eq 2 \
6980 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6981 && xsi_shell=yes
6982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6983 $as_echo "$xsi_shell" >&6; }
6986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6987 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6988 lt_shell_append=no
6989 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6990 >/dev/null 2>&1 \
6991 && lt_shell_append=yes
6992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6993 $as_echo "$lt_shell_append" >&6; }
6996 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6997 lt_unset=unset
6998 else
6999 lt_unset=false
7006 # test EBCDIC or ASCII
7007 case `echo X|tr X '\101'` in
7008 A) # ASCII based system
7009 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
7010 lt_SP2NL='tr \040 \012'
7011 lt_NL2SP='tr \015\012 \040\040'
7013 *) # EBCDIC based system
7014 lt_SP2NL='tr \100 \n'
7015 lt_NL2SP='tr \r\n \100\100'
7017 esac
7027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
7028 $as_echo_n "checking for $LD option to reload object files... " >&6; }
7029 if test "${lt_cv_ld_reload_flag+set}" = set; then :
7030 $as_echo_n "(cached) " >&6
7031 else
7032 lt_cv_ld_reload_flag='-r'
7034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
7035 $as_echo "$lt_cv_ld_reload_flag" >&6; }
7036 reload_flag=$lt_cv_ld_reload_flag
7037 case $reload_flag in
7038 "" | " "*) ;;
7039 *) reload_flag=" $reload_flag" ;;
7040 esac
7041 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7042 case $host_os in
7043 darwin*)
7044 if test "$GCC" = yes; then
7045 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
7046 else
7047 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7050 esac
7060 if test -n "$ac_tool_prefix"; then
7061 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7062 set dummy ${ac_tool_prefix}objdump; ac_word=$2
7063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7064 $as_echo_n "checking for $ac_word... " >&6; }
7065 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
7066 $as_echo_n "(cached) " >&6
7067 else
7068 if test -n "$OBJDUMP"; then
7069 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7070 else
7071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7072 for as_dir in $PATH
7074 IFS=$as_save_IFS
7075 test -z "$as_dir" && as_dir=.
7076 for ac_exec_ext in '' $ac_executable_extensions; do
7077 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7078 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
7079 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7080 break 2
7082 done
7083 done
7084 IFS=$as_save_IFS
7088 OBJDUMP=$ac_cv_prog_OBJDUMP
7089 if test -n "$OBJDUMP"; then
7090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7091 $as_echo "$OBJDUMP" >&6; }
7092 else
7093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7094 $as_echo "no" >&6; }
7099 if test -z "$ac_cv_prog_OBJDUMP"; then
7100 ac_ct_OBJDUMP=$OBJDUMP
7101 # Extract the first word of "objdump", so it can be a program name with args.
7102 set dummy objdump; ac_word=$2
7103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7104 $as_echo_n "checking for $ac_word... " >&6; }
7105 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
7106 $as_echo_n "(cached) " >&6
7107 else
7108 if test -n "$ac_ct_OBJDUMP"; then
7109 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
7110 else
7111 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7112 for as_dir in $PATH
7114 IFS=$as_save_IFS
7115 test -z "$as_dir" && as_dir=.
7116 for ac_exec_ext in '' $ac_executable_extensions; do
7117 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7118 ac_cv_prog_ac_ct_OBJDUMP="objdump"
7119 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7120 break 2
7122 done
7123 done
7124 IFS=$as_save_IFS
7128 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7129 if test -n "$ac_ct_OBJDUMP"; then
7130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7131 $as_echo "$ac_ct_OBJDUMP" >&6; }
7132 else
7133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7134 $as_echo "no" >&6; }
7137 if test "x$ac_ct_OBJDUMP" = x; then
7138 OBJDUMP="false"
7139 else
7140 case $cross_compiling:$ac_tool_warned in
7141 yes:)
7142 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7143 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7144 ac_tool_warned=yes ;;
7145 esac
7146 OBJDUMP=$ac_ct_OBJDUMP
7148 else
7149 OBJDUMP="$ac_cv_prog_OBJDUMP"
7152 test -z "$OBJDUMP" && OBJDUMP=objdump
7162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
7163 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
7164 if test "${lt_cv_deplibs_check_method+set}" = set; then :
7165 $as_echo_n "(cached) " >&6
7166 else
7167 lt_cv_file_magic_cmd='$MAGIC_CMD'
7168 lt_cv_file_magic_test_file=
7169 lt_cv_deplibs_check_method='unknown'
7170 # Need to set the preceding variable on all platforms that support
7171 # interlibrary dependencies.
7172 # 'none' -- dependencies not supported.
7173 # `unknown' -- same as none, but documents that we really don't know.
7174 # 'pass_all' -- all dependencies passed with no checks.
7175 # 'test_compile' -- check by making test program.
7176 # 'file_magic [[regex]]' -- check by looking for files in library path
7177 # which responds to the $file_magic_cmd with a given extended regex.
7178 # If you have `file' or equivalent on your system and you're not sure
7179 # whether `pass_all' will *always* work, you probably want this one.
7181 case $host_os in
7182 aix[4-9]*)
7183 lt_cv_deplibs_check_method=pass_all
7186 beos*)
7187 lt_cv_deplibs_check_method=pass_all
7190 bsdi[45]*)
7191 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7192 lt_cv_file_magic_cmd='/usr/bin/file -L'
7193 lt_cv_file_magic_test_file=/shlib/libc.so
7196 cygwin*)
7197 # func_win32_libid is a shell function defined in ltmain.sh
7198 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7199 lt_cv_file_magic_cmd='func_win32_libid'
7202 mingw* | pw32*)
7203 # Base MSYS/MinGW do not provide the 'file' command needed by
7204 # func_win32_libid shell function, so use a weaker test based on 'objdump',
7205 # unless we find 'file', for example because we are cross-compiling.
7206 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
7207 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
7208 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7209 lt_cv_file_magic_cmd='func_win32_libid'
7210 else
7211 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
7212 lt_cv_file_magic_cmd='$OBJDUMP -f'
7216 cegcc*)
7217 # use the weaker test based on 'objdump'. See mingw*.
7218 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7219 lt_cv_file_magic_cmd='$OBJDUMP -f'
7222 darwin* | rhapsody*)
7223 lt_cv_deplibs_check_method=pass_all
7226 freebsd* | dragonfly*)
7227 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7228 case $host_cpu in
7229 i*86 )
7230 # Not sure whether the presence of OpenBSD here was a mistake.
7231 # Let's accept both of them until this is cleared up.
7232 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7233 lt_cv_file_magic_cmd=/usr/bin/file
7234 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
7236 esac
7237 else
7238 lt_cv_deplibs_check_method=pass_all
7242 gnu*)
7243 lt_cv_deplibs_check_method=pass_all
7246 haiku*)
7247 lt_cv_deplibs_check_method=pass_all
7250 hpux10.20* | hpux11*)
7251 lt_cv_file_magic_cmd=/usr/bin/file
7252 case $host_cpu in
7253 ia64*)
7254 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7255 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
7257 hppa*64*)
7258 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]'
7259 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
7262 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7263 lt_cv_file_magic_test_file=/usr/lib/libc.sl
7265 esac
7268 interix[3-9]*)
7269 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7270 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
7273 irix5* | irix6* | nonstopux*)
7274 case $LD in
7275 *-32|*"-32 ") libmagic=32-bit;;
7276 *-n32|*"-n32 ") libmagic=N32;;
7277 *-64|*"-64 ") libmagic=64-bit;;
7278 *) libmagic=never-match;;
7279 esac
7280 lt_cv_deplibs_check_method=pass_all
7283 # This must be Linux ELF.
7284 linux* | k*bsd*-gnu | kopensolaris*-gnu)
7285 lt_cv_deplibs_check_method=pass_all
7288 netbsd*)
7289 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7290 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7291 else
7292 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7296 newos6*)
7297 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7298 lt_cv_file_magic_cmd=/usr/bin/file
7299 lt_cv_file_magic_test_file=/usr/lib/libnls.so
7302 *nto* | *qnx*)
7303 lt_cv_deplibs_check_method=pass_all
7306 openbsd*)
7307 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7308 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7309 else
7310 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7314 osf3* | osf4* | osf5*)
7315 lt_cv_deplibs_check_method=pass_all
7318 rdos*)
7319 lt_cv_deplibs_check_method=pass_all
7322 solaris*)
7323 lt_cv_deplibs_check_method=pass_all
7326 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7327 lt_cv_deplibs_check_method=pass_all
7330 sysv4 | sysv4.3*)
7331 case $host_vendor in
7332 motorola)
7333 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]'
7334 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7336 ncr)
7337 lt_cv_deplibs_check_method=pass_all
7339 sequent)
7340 lt_cv_file_magic_cmd='/bin/file'
7341 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7343 sni)
7344 lt_cv_file_magic_cmd='/bin/file'
7345 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7346 lt_cv_file_magic_test_file=/lib/libc.so
7348 siemens)
7349 lt_cv_deplibs_check_method=pass_all
7352 lt_cv_deplibs_check_method=pass_all
7354 esac
7357 tpf*)
7358 lt_cv_deplibs_check_method=pass_all
7360 esac
7363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7364 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7365 file_magic_cmd=$lt_cv_file_magic_cmd
7366 deplibs_check_method=$lt_cv_deplibs_check_method
7367 test -z "$deplibs_check_method" && deplibs_check_method=unknown
7380 if test -n "$ac_tool_prefix"; then
7381 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7382 set dummy ${ac_tool_prefix}ar; ac_word=$2
7383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7384 $as_echo_n "checking for $ac_word... " >&6; }
7385 if test "${ac_cv_prog_AR+set}" = set; then :
7386 $as_echo_n "(cached) " >&6
7387 else
7388 if test -n "$AR"; then
7389 ac_cv_prog_AR="$AR" # Let the user override the test.
7390 else
7391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7392 for as_dir in $PATH
7394 IFS=$as_save_IFS
7395 test -z "$as_dir" && as_dir=.
7396 for ac_exec_ext in '' $ac_executable_extensions; do
7397 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7398 ac_cv_prog_AR="${ac_tool_prefix}ar"
7399 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7400 break 2
7402 done
7403 done
7404 IFS=$as_save_IFS
7408 AR=$ac_cv_prog_AR
7409 if test -n "$AR"; then
7410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7411 $as_echo "$AR" >&6; }
7412 else
7413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7414 $as_echo "no" >&6; }
7419 if test -z "$ac_cv_prog_AR"; then
7420 ac_ct_AR=$AR
7421 # Extract the first word of "ar", so it can be a program name with args.
7422 set dummy ar; ac_word=$2
7423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7424 $as_echo_n "checking for $ac_word... " >&6; }
7425 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
7426 $as_echo_n "(cached) " >&6
7427 else
7428 if test -n "$ac_ct_AR"; then
7429 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7430 else
7431 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7432 for as_dir in $PATH
7434 IFS=$as_save_IFS
7435 test -z "$as_dir" && as_dir=.
7436 for ac_exec_ext in '' $ac_executable_extensions; do
7437 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7438 ac_cv_prog_ac_ct_AR="ar"
7439 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7440 break 2
7442 done
7443 done
7444 IFS=$as_save_IFS
7448 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7449 if test -n "$ac_ct_AR"; then
7450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7451 $as_echo "$ac_ct_AR" >&6; }
7452 else
7453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7454 $as_echo "no" >&6; }
7457 if test "x$ac_ct_AR" = x; then
7458 AR="false"
7459 else
7460 case $cross_compiling:$ac_tool_warned in
7461 yes:)
7462 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7463 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7464 ac_tool_warned=yes ;;
7465 esac
7466 AR=$ac_ct_AR
7468 else
7469 AR="$ac_cv_prog_AR"
7472 test -z "$AR" && AR=ar
7473 test -z "$AR_FLAGS" && AR_FLAGS=cru
7485 if test -n "$ac_tool_prefix"; then
7486 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7487 set dummy ${ac_tool_prefix}strip; ac_word=$2
7488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7489 $as_echo_n "checking for $ac_word... " >&6; }
7490 if test "${ac_cv_prog_STRIP+set}" = set; then :
7491 $as_echo_n "(cached) " >&6
7492 else
7493 if test -n "$STRIP"; then
7494 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7495 else
7496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7497 for as_dir in $PATH
7499 IFS=$as_save_IFS
7500 test -z "$as_dir" && as_dir=.
7501 for ac_exec_ext in '' $ac_executable_extensions; do
7502 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7503 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7504 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7505 break 2
7507 done
7508 done
7509 IFS=$as_save_IFS
7513 STRIP=$ac_cv_prog_STRIP
7514 if test -n "$STRIP"; then
7515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7516 $as_echo "$STRIP" >&6; }
7517 else
7518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7519 $as_echo "no" >&6; }
7524 if test -z "$ac_cv_prog_STRIP"; then
7525 ac_ct_STRIP=$STRIP
7526 # Extract the first word of "strip", so it can be a program name with args.
7527 set dummy strip; ac_word=$2
7528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7529 $as_echo_n "checking for $ac_word... " >&6; }
7530 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
7531 $as_echo_n "(cached) " >&6
7532 else
7533 if test -n "$ac_ct_STRIP"; then
7534 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7535 else
7536 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7537 for as_dir in $PATH
7539 IFS=$as_save_IFS
7540 test -z "$as_dir" && as_dir=.
7541 for ac_exec_ext in '' $ac_executable_extensions; do
7542 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7543 ac_cv_prog_ac_ct_STRIP="strip"
7544 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7545 break 2
7547 done
7548 done
7549 IFS=$as_save_IFS
7553 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7554 if test -n "$ac_ct_STRIP"; then
7555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7556 $as_echo "$ac_ct_STRIP" >&6; }
7557 else
7558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7559 $as_echo "no" >&6; }
7562 if test "x$ac_ct_STRIP" = x; then
7563 STRIP=":"
7564 else
7565 case $cross_compiling:$ac_tool_warned in
7566 yes:)
7567 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7568 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7569 ac_tool_warned=yes ;;
7570 esac
7571 STRIP=$ac_ct_STRIP
7573 else
7574 STRIP="$ac_cv_prog_STRIP"
7577 test -z "$STRIP" && STRIP=:
7584 if test -n "$ac_tool_prefix"; then
7585 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7586 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7588 $as_echo_n "checking for $ac_word... " >&6; }
7589 if test "${ac_cv_prog_RANLIB+set}" = set; then :
7590 $as_echo_n "(cached) " >&6
7591 else
7592 if test -n "$RANLIB"; then
7593 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7594 else
7595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7596 for as_dir in $PATH
7598 IFS=$as_save_IFS
7599 test -z "$as_dir" && as_dir=.
7600 for ac_exec_ext in '' $ac_executable_extensions; do
7601 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7602 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7603 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7604 break 2
7606 done
7607 done
7608 IFS=$as_save_IFS
7612 RANLIB=$ac_cv_prog_RANLIB
7613 if test -n "$RANLIB"; then
7614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7615 $as_echo "$RANLIB" >&6; }
7616 else
7617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7618 $as_echo "no" >&6; }
7623 if test -z "$ac_cv_prog_RANLIB"; then
7624 ac_ct_RANLIB=$RANLIB
7625 # Extract the first word of "ranlib", so it can be a program name with args.
7626 set dummy ranlib; ac_word=$2
7627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7628 $as_echo_n "checking for $ac_word... " >&6; }
7629 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
7630 $as_echo_n "(cached) " >&6
7631 else
7632 if test -n "$ac_ct_RANLIB"; then
7633 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7634 else
7635 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7636 for as_dir in $PATH
7638 IFS=$as_save_IFS
7639 test -z "$as_dir" && as_dir=.
7640 for ac_exec_ext in '' $ac_executable_extensions; do
7641 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7642 ac_cv_prog_ac_ct_RANLIB="ranlib"
7643 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7644 break 2
7646 done
7647 done
7648 IFS=$as_save_IFS
7652 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7653 if test -n "$ac_ct_RANLIB"; then
7654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7655 $as_echo "$ac_ct_RANLIB" >&6; }
7656 else
7657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7658 $as_echo "no" >&6; }
7661 if test "x$ac_ct_RANLIB" = x; then
7662 RANLIB=":"
7663 else
7664 case $cross_compiling:$ac_tool_warned in
7665 yes:)
7666 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7667 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7668 ac_tool_warned=yes ;;
7669 esac
7670 RANLIB=$ac_ct_RANLIB
7672 else
7673 RANLIB="$ac_cv_prog_RANLIB"
7676 test -z "$RANLIB" && RANLIB=:
7683 # Determine commands to create old-style static archives.
7684 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7685 old_postinstall_cmds='chmod 644 $oldlib'
7686 old_postuninstall_cmds=
7688 if test -n "$RANLIB"; then
7689 case $host_os in
7690 openbsd*)
7691 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7694 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
7696 esac
7697 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
7700 case $host_os in
7701 darwin*)
7702 lock_old_archive_extraction=yes ;;
7704 lock_old_archive_extraction=no ;;
7705 esac
7745 # If no C compiler was specified, use CC.
7746 LTCC=${LTCC-"$CC"}
7748 # If no C compiler flags were specified, use CFLAGS.
7749 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7751 # Allow CC to be a program name with arguments.
7752 compiler=$CC
7755 # Check for command to grab the raw symbol name followed by C symbol from nm.
7756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7757 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7758 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
7759 $as_echo_n "(cached) " >&6
7760 else
7762 # These are sane defaults that work on at least a few old systems.
7763 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7765 # Character class describing NM global symbol codes.
7766 symcode='[BCDEGRST]'
7768 # Regexp to match symbols that can be accessed directly from C.
7769 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7771 # Define system-specific variables.
7772 case $host_os in
7773 aix*)
7774 symcode='[BCDT]'
7776 cygwin* | mingw* | pw32* | cegcc*)
7777 symcode='[ABCDGISTW]'
7779 hpux*)
7780 if test "$host_cpu" = ia64; then
7781 symcode='[ABCDEGRST]'
7784 irix* | nonstopux*)
7785 symcode='[BCDEGRST]'
7787 osf*)
7788 symcode='[BCDEGQRST]'
7790 solaris*)
7791 symcode='[BDRT]'
7793 sco3.2v5*)
7794 symcode='[DT]'
7796 sysv4.2uw2*)
7797 symcode='[DT]'
7799 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7800 symcode='[ABDT]'
7802 sysv4)
7803 symcode='[DFNSTU]'
7805 esac
7807 # If we're using GNU nm, then use its standard symbol codes.
7808 case `$NM -V 2>&1` in
7809 *GNU* | *'with BFD'*)
7810 symcode='[ABCDGIRSTW]' ;;
7811 esac
7813 # Transform an extracted symbol line into a proper C declaration.
7814 # Some systems (esp. on ia64) link data and code symbols differently,
7815 # so use this general approach.
7816 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7818 # Transform an extracted symbol line into symbol name and symbol address
7819 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7820 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'"
7822 # Handle CRLF in mingw tool chain
7823 opt_cr=
7824 case $build_os in
7825 mingw*)
7826 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7828 esac
7830 # Try without a prefix underscore, then with it.
7831 for ac_symprfx in "" "_"; do
7833 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7834 symxfrm="\\1 $ac_symprfx\\2 \\2"
7836 # Write the raw and C identifiers.
7837 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7838 # Fake it for dumpbin and say T for any non-static function
7839 # and D for any global variable.
7840 # Also find C++ and __fastcall symbols from MSVC++,
7841 # which start with @ or ?.
7842 lt_cv_sys_global_symbol_pipe="$AWK '"\
7843 " {last_section=section; section=\$ 3};"\
7844 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7845 " \$ 0!~/External *\|/{next};"\
7846 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7847 " {if(hide[section]) next};"\
7848 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7849 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7850 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7851 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7852 " ' prfx=^$ac_symprfx"
7853 else
7854 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7857 # Check to see that the pipe works correctly.
7858 pipe_works=no
7860 rm -f conftest*
7861 cat > conftest.$ac_ext <<_LT_EOF
7862 #ifdef __cplusplus
7863 extern "C" {
7864 #endif
7865 char nm_test_var;
7866 void nm_test_func(void);
7867 void nm_test_func(void){}
7868 #ifdef __cplusplus
7870 #endif
7871 int main(){nm_test_var='a';nm_test_func();return(0);}
7872 _LT_EOF
7874 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7875 (eval $ac_compile) 2>&5
7876 ac_status=$?
7877 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7878 test $ac_status = 0; }; then
7879 # Now try to grab the symbols.
7880 nlist=conftest.nm
7881 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7882 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7883 ac_status=$?
7884 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7885 test $ac_status = 0; } && test -s "$nlist"; then
7886 # Try sorting and uniquifying the output.
7887 if sort "$nlist" | uniq > "$nlist"T; then
7888 mv -f "$nlist"T "$nlist"
7889 else
7890 rm -f "$nlist"T
7893 # Make sure that we snagged all the symbols we need.
7894 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7895 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7896 cat <<_LT_EOF > conftest.$ac_ext
7897 #ifdef __cplusplus
7898 extern "C" {
7899 #endif
7901 _LT_EOF
7902 # Now generate the symbol file.
7903 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7905 cat <<_LT_EOF >> conftest.$ac_ext
7907 /* The mapping between symbol names and symbols. */
7908 const struct {
7909 const char *name;
7910 void *address;
7912 lt__PROGRAM__LTX_preloaded_symbols[] =
7914 { "@PROGRAM@", (void *) 0 },
7915 _LT_EOF
7916 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7917 cat <<\_LT_EOF >> conftest.$ac_ext
7918 {0, (void *) 0}
7921 /* This works around a problem in FreeBSD linker */
7922 #ifdef FREEBSD_WORKAROUND
7923 static const void *lt_preloaded_setup() {
7924 return lt__PROGRAM__LTX_preloaded_symbols;
7926 #endif
7928 #ifdef __cplusplus
7930 #endif
7931 _LT_EOF
7932 # Now try linking the two files.
7933 mv conftest.$ac_objext conftstm.$ac_objext
7934 lt_save_LIBS="$LIBS"
7935 lt_save_CFLAGS="$CFLAGS"
7936 LIBS="conftstm.$ac_objext"
7937 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7938 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7939 (eval $ac_link) 2>&5
7940 ac_status=$?
7941 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7942 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7943 pipe_works=yes
7945 LIBS="$lt_save_LIBS"
7946 CFLAGS="$lt_save_CFLAGS"
7947 else
7948 echo "cannot find nm_test_func in $nlist" >&5
7950 else
7951 echo "cannot find nm_test_var in $nlist" >&5
7953 else
7954 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7956 else
7957 echo "$progname: failed program was:" >&5
7958 cat conftest.$ac_ext >&5
7960 rm -rf conftest* conftst*
7962 # Do not use the global_symbol_pipe unless it works.
7963 if test "$pipe_works" = yes; then
7964 break
7965 else
7966 lt_cv_sys_global_symbol_pipe=
7968 done
7972 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7973 lt_cv_sys_global_symbol_to_cdecl=
7975 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7977 $as_echo "failed" >&6; }
7978 else
7979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7980 $as_echo "ok" >&6; }
8004 # Check whether --enable-libtool-lock was given.
8005 if test "${enable_libtool_lock+set}" = set; then :
8006 enableval=$enable_libtool_lock;
8009 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
8011 # Some flags need to be propagated to the compiler or linker for good
8012 # libtool support.
8013 case $host in
8014 ia64-*-hpux*)
8015 # Find out which ABI we are using.
8016 echo 'int i;' > conftest.$ac_ext
8017 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8018 (eval $ac_compile) 2>&5
8019 ac_status=$?
8020 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8021 test $ac_status = 0; }; then
8022 case `/usr/bin/file conftest.$ac_objext` in
8023 *ELF-32*)
8024 HPUX_IA64_MODE="32"
8026 *ELF-64*)
8027 HPUX_IA64_MODE="64"
8029 esac
8031 rm -rf conftest*
8033 *-*-irix6*)
8034 # Find out which ABI we are using.
8035 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
8036 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8037 (eval $ac_compile) 2>&5
8038 ac_status=$?
8039 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8040 test $ac_status = 0; }; then
8041 if test "$lt_cv_prog_gnu_ld" = yes; then
8042 case `/usr/bin/file conftest.$ac_objext` in
8043 *32-bit*)
8044 LD="${LD-ld} -melf32bsmip"
8046 *N32*)
8047 LD="${LD-ld} -melf32bmipn32"
8049 *64-bit*)
8050 LD="${LD-ld} -melf64bmip"
8052 esac
8053 else
8054 case `/usr/bin/file conftest.$ac_objext` in
8055 *32-bit*)
8056 LD="${LD-ld} -32"
8058 *N32*)
8059 LD="${LD-ld} -n32"
8061 *64-bit*)
8062 LD="${LD-ld} -64"
8064 esac
8067 rm -rf conftest*
8070 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
8071 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
8072 # Find out which ABI we are using.
8073 echo 'int i;' > conftest.$ac_ext
8074 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8075 (eval $ac_compile) 2>&5
8076 ac_status=$?
8077 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8078 test $ac_status = 0; }; then
8079 case `/usr/bin/file conftest.o` in
8080 *32-bit*)
8081 case $host in
8082 x86_64-*kfreebsd*-gnu)
8083 LD="${LD-ld} -m elf_i386_fbsd"
8085 x86_64-*linux*)
8086 case `/usr/bin/file conftest.o` in
8087 *x86-64*)
8088 LD="${LD-ld} -m elf32_x86_64"
8091 LD="${LD-ld} -m elf_i386"
8093 esac
8095 powerpc64le-*linux*)
8096 LD="${LD-ld} -m elf32lppclinux"
8098 powerpc64-*linux*)
8099 LD="${LD-ld} -m elf32ppclinux"
8101 s390x-*linux*)
8102 LD="${LD-ld} -m elf_s390"
8104 sparc64-*linux*)
8105 LD="${LD-ld} -m elf32_sparc"
8107 esac
8109 *64-bit*)
8110 case $host in
8111 x86_64-*kfreebsd*-gnu)
8112 LD="${LD-ld} -m elf_x86_64_fbsd"
8114 x86_64-*linux*)
8115 LD="${LD-ld} -m elf_x86_64"
8117 powerpcle-*linux*)
8118 LD="${LD-ld} -m elf64lppc"
8120 powerpc-*linux*)
8121 LD="${LD-ld} -m elf64ppc"
8123 s390*-*linux*|s390*-*tpf*)
8124 LD="${LD-ld} -m elf64_s390"
8126 sparc*-*linux*)
8127 LD="${LD-ld} -m elf64_sparc"
8129 esac
8131 esac
8133 rm -rf conftest*
8136 *-*-sco3.2v5*)
8137 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8138 SAVE_CFLAGS="$CFLAGS"
8139 CFLAGS="$CFLAGS -belf"
8140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8141 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8142 if test "${lt_cv_cc_needs_belf+set}" = set; then :
8143 $as_echo_n "(cached) " >&6
8144 else
8145 ac_ext=c
8146 ac_cpp='$CPP $CPPFLAGS'
8147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8151 if test x$gcc_no_link = xyes; then
8152 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8155 /* end confdefs.h. */
8158 main ()
8162 return 0;
8164 _ACEOF
8165 if ac_fn_c_try_link "$LINENO"; then :
8166 lt_cv_cc_needs_belf=yes
8167 else
8168 lt_cv_cc_needs_belf=no
8170 rm -f core conftest.err conftest.$ac_objext \
8171 conftest$ac_exeext conftest.$ac_ext
8172 ac_ext=c
8173 ac_cpp='$CPP $CPPFLAGS'
8174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8180 $as_echo "$lt_cv_cc_needs_belf" >&6; }
8181 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
8182 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8183 CFLAGS="$SAVE_CFLAGS"
8186 sparc*-*solaris*)
8187 # Find out which ABI we are using.
8188 echo 'int i;' > conftest.$ac_ext
8189 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8190 (eval $ac_compile) 2>&5
8191 ac_status=$?
8192 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8193 test $ac_status = 0; }; then
8194 case `/usr/bin/file conftest.o` in
8195 *64-bit*)
8196 case $lt_cv_prog_gnu_ld in
8197 yes*) LD="${LD-ld} -m elf64_sparc" ;;
8199 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8200 LD="${LD-ld} -64"
8203 esac
8205 esac
8207 rm -rf conftest*
8209 esac
8211 need_locks="$enable_libtool_lock"
8214 case $host_os in
8215 rhapsody* | darwin*)
8216 if test -n "$ac_tool_prefix"; then
8217 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8218 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8220 $as_echo_n "checking for $ac_word... " >&6; }
8221 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
8222 $as_echo_n "(cached) " >&6
8223 else
8224 if test -n "$DSYMUTIL"; then
8225 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8226 else
8227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8228 for as_dir in $PATH
8230 IFS=$as_save_IFS
8231 test -z "$as_dir" && as_dir=.
8232 for ac_exec_ext in '' $ac_executable_extensions; do
8233 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8234 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8235 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8236 break 2
8238 done
8239 done
8240 IFS=$as_save_IFS
8244 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8245 if test -n "$DSYMUTIL"; then
8246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8247 $as_echo "$DSYMUTIL" >&6; }
8248 else
8249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8250 $as_echo "no" >&6; }
8255 if test -z "$ac_cv_prog_DSYMUTIL"; then
8256 ac_ct_DSYMUTIL=$DSYMUTIL
8257 # Extract the first word of "dsymutil", so it can be a program name with args.
8258 set dummy dsymutil; ac_word=$2
8259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8260 $as_echo_n "checking for $ac_word... " >&6; }
8261 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
8262 $as_echo_n "(cached) " >&6
8263 else
8264 if test -n "$ac_ct_DSYMUTIL"; then
8265 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8266 else
8267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8268 for as_dir in $PATH
8270 IFS=$as_save_IFS
8271 test -z "$as_dir" && as_dir=.
8272 for ac_exec_ext in '' $ac_executable_extensions; do
8273 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8274 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8275 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8276 break 2
8278 done
8279 done
8280 IFS=$as_save_IFS
8284 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8285 if test -n "$ac_ct_DSYMUTIL"; then
8286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8287 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8288 else
8289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8290 $as_echo "no" >&6; }
8293 if test "x$ac_ct_DSYMUTIL" = x; then
8294 DSYMUTIL=":"
8295 else
8296 case $cross_compiling:$ac_tool_warned in
8297 yes:)
8298 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8299 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8300 ac_tool_warned=yes ;;
8301 esac
8302 DSYMUTIL=$ac_ct_DSYMUTIL
8304 else
8305 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8308 if test -n "$ac_tool_prefix"; then
8309 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8310 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8312 $as_echo_n "checking for $ac_word... " >&6; }
8313 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
8314 $as_echo_n "(cached) " >&6
8315 else
8316 if test -n "$NMEDIT"; then
8317 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8318 else
8319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8320 for as_dir in $PATH
8322 IFS=$as_save_IFS
8323 test -z "$as_dir" && as_dir=.
8324 for ac_exec_ext in '' $ac_executable_extensions; do
8325 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8326 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8327 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8328 break 2
8330 done
8331 done
8332 IFS=$as_save_IFS
8336 NMEDIT=$ac_cv_prog_NMEDIT
8337 if test -n "$NMEDIT"; then
8338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8339 $as_echo "$NMEDIT" >&6; }
8340 else
8341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8342 $as_echo "no" >&6; }
8347 if test -z "$ac_cv_prog_NMEDIT"; then
8348 ac_ct_NMEDIT=$NMEDIT
8349 # Extract the first word of "nmedit", so it can be a program name with args.
8350 set dummy nmedit; ac_word=$2
8351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8352 $as_echo_n "checking for $ac_word... " >&6; }
8353 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
8354 $as_echo_n "(cached) " >&6
8355 else
8356 if test -n "$ac_ct_NMEDIT"; then
8357 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8358 else
8359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8360 for as_dir in $PATH
8362 IFS=$as_save_IFS
8363 test -z "$as_dir" && as_dir=.
8364 for ac_exec_ext in '' $ac_executable_extensions; do
8365 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8366 ac_cv_prog_ac_ct_NMEDIT="nmedit"
8367 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8368 break 2
8370 done
8371 done
8372 IFS=$as_save_IFS
8376 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8377 if test -n "$ac_ct_NMEDIT"; then
8378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8379 $as_echo "$ac_ct_NMEDIT" >&6; }
8380 else
8381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8382 $as_echo "no" >&6; }
8385 if test "x$ac_ct_NMEDIT" = x; then
8386 NMEDIT=":"
8387 else
8388 case $cross_compiling:$ac_tool_warned in
8389 yes:)
8390 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8391 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8392 ac_tool_warned=yes ;;
8393 esac
8394 NMEDIT=$ac_ct_NMEDIT
8396 else
8397 NMEDIT="$ac_cv_prog_NMEDIT"
8400 if test -n "$ac_tool_prefix"; then
8401 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8402 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8404 $as_echo_n "checking for $ac_word... " >&6; }
8405 if test "${ac_cv_prog_LIPO+set}" = set; then :
8406 $as_echo_n "(cached) " >&6
8407 else
8408 if test -n "$LIPO"; then
8409 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8410 else
8411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8412 for as_dir in $PATH
8414 IFS=$as_save_IFS
8415 test -z "$as_dir" && as_dir=.
8416 for ac_exec_ext in '' $ac_executable_extensions; do
8417 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8418 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8419 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8420 break 2
8422 done
8423 done
8424 IFS=$as_save_IFS
8428 LIPO=$ac_cv_prog_LIPO
8429 if test -n "$LIPO"; then
8430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8431 $as_echo "$LIPO" >&6; }
8432 else
8433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8434 $as_echo "no" >&6; }
8439 if test -z "$ac_cv_prog_LIPO"; then
8440 ac_ct_LIPO=$LIPO
8441 # Extract the first word of "lipo", so it can be a program name with args.
8442 set dummy lipo; ac_word=$2
8443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8444 $as_echo_n "checking for $ac_word... " >&6; }
8445 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
8446 $as_echo_n "(cached) " >&6
8447 else
8448 if test -n "$ac_ct_LIPO"; then
8449 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8450 else
8451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8452 for as_dir in $PATH
8454 IFS=$as_save_IFS
8455 test -z "$as_dir" && as_dir=.
8456 for ac_exec_ext in '' $ac_executable_extensions; do
8457 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8458 ac_cv_prog_ac_ct_LIPO="lipo"
8459 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8460 break 2
8462 done
8463 done
8464 IFS=$as_save_IFS
8468 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8469 if test -n "$ac_ct_LIPO"; then
8470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8471 $as_echo "$ac_ct_LIPO" >&6; }
8472 else
8473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8474 $as_echo "no" >&6; }
8477 if test "x$ac_ct_LIPO" = x; then
8478 LIPO=":"
8479 else
8480 case $cross_compiling:$ac_tool_warned in
8481 yes:)
8482 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8483 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8484 ac_tool_warned=yes ;;
8485 esac
8486 LIPO=$ac_ct_LIPO
8488 else
8489 LIPO="$ac_cv_prog_LIPO"
8492 if test -n "$ac_tool_prefix"; then
8493 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8494 set dummy ${ac_tool_prefix}otool; ac_word=$2
8495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8496 $as_echo_n "checking for $ac_word... " >&6; }
8497 if test "${ac_cv_prog_OTOOL+set}" = set; then :
8498 $as_echo_n "(cached) " >&6
8499 else
8500 if test -n "$OTOOL"; then
8501 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8502 else
8503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8504 for as_dir in $PATH
8506 IFS=$as_save_IFS
8507 test -z "$as_dir" && as_dir=.
8508 for ac_exec_ext in '' $ac_executable_extensions; do
8509 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8510 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8511 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8512 break 2
8514 done
8515 done
8516 IFS=$as_save_IFS
8520 OTOOL=$ac_cv_prog_OTOOL
8521 if test -n "$OTOOL"; then
8522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8523 $as_echo "$OTOOL" >&6; }
8524 else
8525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8526 $as_echo "no" >&6; }
8531 if test -z "$ac_cv_prog_OTOOL"; then
8532 ac_ct_OTOOL=$OTOOL
8533 # Extract the first word of "otool", so it can be a program name with args.
8534 set dummy otool; ac_word=$2
8535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8536 $as_echo_n "checking for $ac_word... " >&6; }
8537 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
8538 $as_echo_n "(cached) " >&6
8539 else
8540 if test -n "$ac_ct_OTOOL"; then
8541 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8542 else
8543 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8544 for as_dir in $PATH
8546 IFS=$as_save_IFS
8547 test -z "$as_dir" && as_dir=.
8548 for ac_exec_ext in '' $ac_executable_extensions; do
8549 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8550 ac_cv_prog_ac_ct_OTOOL="otool"
8551 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8552 break 2
8554 done
8555 done
8556 IFS=$as_save_IFS
8560 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8561 if test -n "$ac_ct_OTOOL"; then
8562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8563 $as_echo "$ac_ct_OTOOL" >&6; }
8564 else
8565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8566 $as_echo "no" >&6; }
8569 if test "x$ac_ct_OTOOL" = x; then
8570 OTOOL=":"
8571 else
8572 case $cross_compiling:$ac_tool_warned in
8573 yes:)
8574 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8575 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8576 ac_tool_warned=yes ;;
8577 esac
8578 OTOOL=$ac_ct_OTOOL
8580 else
8581 OTOOL="$ac_cv_prog_OTOOL"
8584 if test -n "$ac_tool_prefix"; then
8585 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8586 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8588 $as_echo_n "checking for $ac_word... " >&6; }
8589 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
8590 $as_echo_n "(cached) " >&6
8591 else
8592 if test -n "$OTOOL64"; then
8593 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8594 else
8595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8596 for as_dir in $PATH
8598 IFS=$as_save_IFS
8599 test -z "$as_dir" && as_dir=.
8600 for ac_exec_ext in '' $ac_executable_extensions; do
8601 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8602 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8603 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8604 break 2
8606 done
8607 done
8608 IFS=$as_save_IFS
8612 OTOOL64=$ac_cv_prog_OTOOL64
8613 if test -n "$OTOOL64"; then
8614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8615 $as_echo "$OTOOL64" >&6; }
8616 else
8617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8618 $as_echo "no" >&6; }
8623 if test -z "$ac_cv_prog_OTOOL64"; then
8624 ac_ct_OTOOL64=$OTOOL64
8625 # Extract the first word of "otool64", so it can be a program name with args.
8626 set dummy otool64; ac_word=$2
8627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8628 $as_echo_n "checking for $ac_word... " >&6; }
8629 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
8630 $as_echo_n "(cached) " >&6
8631 else
8632 if test -n "$ac_ct_OTOOL64"; then
8633 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8634 else
8635 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8636 for as_dir in $PATH
8638 IFS=$as_save_IFS
8639 test -z "$as_dir" && as_dir=.
8640 for ac_exec_ext in '' $ac_executable_extensions; do
8641 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8642 ac_cv_prog_ac_ct_OTOOL64="otool64"
8643 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8644 break 2
8646 done
8647 done
8648 IFS=$as_save_IFS
8652 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8653 if test -n "$ac_ct_OTOOL64"; then
8654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8655 $as_echo "$ac_ct_OTOOL64" >&6; }
8656 else
8657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8658 $as_echo "no" >&6; }
8661 if test "x$ac_ct_OTOOL64" = x; then
8662 OTOOL64=":"
8663 else
8664 case $cross_compiling:$ac_tool_warned in
8665 yes:)
8666 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8667 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8668 ac_tool_warned=yes ;;
8669 esac
8670 OTOOL64=$ac_ct_OTOOL64
8672 else
8673 OTOOL64="$ac_cv_prog_OTOOL64"
8702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8703 $as_echo_n "checking for -single_module linker flag... " >&6; }
8704 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
8705 $as_echo_n "(cached) " >&6
8706 else
8707 lt_cv_apple_cc_single_mod=no
8708 if test -z "${LT_MULTI_MODULE}"; then
8709 # By default we will add the -single_module flag. You can override
8710 # by either setting the environment variable LT_MULTI_MODULE
8711 # non-empty at configure time, or by adding -multi_module to the
8712 # link flags.
8713 rm -rf libconftest.dylib*
8714 echo "int foo(void){return 1;}" > conftest.c
8715 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8716 -dynamiclib -Wl,-single_module conftest.c" >&5
8717 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8718 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8719 _lt_result=$?
8720 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8721 lt_cv_apple_cc_single_mod=yes
8722 else
8723 cat conftest.err >&5
8725 rm -rf libconftest.dylib*
8726 rm -f conftest.*
8729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8730 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8732 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8733 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
8734 $as_echo_n "(cached) " >&6
8735 else
8736 lt_cv_ld_exported_symbols_list=no
8737 save_LDFLAGS=$LDFLAGS
8738 echo "_main" > conftest.sym
8739 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8740 if test x$gcc_no_link = xyes; then
8741 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8744 /* end confdefs.h. */
8747 main ()
8751 return 0;
8753 _ACEOF
8754 if ac_fn_c_try_link "$LINENO"; then :
8755 lt_cv_ld_exported_symbols_list=yes
8756 else
8757 lt_cv_ld_exported_symbols_list=no
8759 rm -f core conftest.err conftest.$ac_objext \
8760 conftest$ac_exeext conftest.$ac_ext
8761 LDFLAGS="$save_LDFLAGS"
8764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8765 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8767 $as_echo_n "checking for -force_load linker flag... " >&6; }
8768 if test "${lt_cv_ld_force_load+set}" = set; then :
8769 $as_echo_n "(cached) " >&6
8770 else
8771 lt_cv_ld_force_load=no
8772 cat > conftest.c << _LT_EOF
8773 int forced_loaded() { return 2;}
8774 _LT_EOF
8775 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8776 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8777 echo "$AR cru libconftest.a conftest.o" >&5
8778 $AR cru libconftest.a conftest.o 2>&5
8779 cat > conftest.c << _LT_EOF
8780 int main() { return 0;}
8781 _LT_EOF
8782 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8783 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8784 _lt_result=$?
8785 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
8786 lt_cv_ld_force_load=yes
8787 else
8788 cat conftest.err >&5
8790 rm -f conftest.err libconftest.a conftest conftest.c
8791 rm -rf conftest.dSYM
8794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8795 $as_echo "$lt_cv_ld_force_load" >&6; }
8796 case $host_os in
8797 rhapsody* | darwin1.[012])
8798 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8799 darwin1.*)
8800 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8801 darwin*) # darwin 5.x on
8802 # if running on 10.5 or later, the deployment target defaults
8803 # to the OS version, if on x86, and 10.4, the deployment
8804 # target defaults to 10.4. Don't you love it?
8805 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8806 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8807 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8808 10.[012]*)
8809 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8810 10.*)
8811 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8812 esac
8814 esac
8815 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8816 _lt_dar_single_mod='$single_module'
8818 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8819 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8820 else
8821 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8823 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8824 _lt_dsymutil='~$DSYMUTIL $lib || :'
8825 else
8826 _lt_dsymutil=
8829 esac
8831 for ac_header in dlfcn.h
8832 do :
8833 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8835 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8836 cat >>confdefs.h <<_ACEOF
8837 #define HAVE_DLFCN_H 1
8838 _ACEOF
8842 done
8848 # Set options
8853 enable_win32_dll=no
8856 # Check whether --enable-shared was given.
8857 if test "${enable_shared+set}" = set; then :
8858 enableval=$enable_shared; p=${PACKAGE-default}
8859 case $enableval in
8860 yes) enable_shared=yes ;;
8861 no) enable_shared=no ;;
8863 enable_shared=no
8864 # Look at the argument we got. We use all the common list separators.
8865 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8866 for pkg in $enableval; do
8867 IFS="$lt_save_ifs"
8868 if test "X$pkg" = "X$p"; then
8869 enable_shared=yes
8871 done
8872 IFS="$lt_save_ifs"
8874 esac
8875 else
8876 enable_shared=yes
8887 # Check whether --enable-static was given.
8888 if test "${enable_static+set}" = set; then :
8889 enableval=$enable_static; p=${PACKAGE-default}
8890 case $enableval in
8891 yes) enable_static=yes ;;
8892 no) enable_static=no ;;
8894 enable_static=no
8895 # Look at the argument we got. We use all the common list separators.
8896 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8897 for pkg in $enableval; do
8898 IFS="$lt_save_ifs"
8899 if test "X$pkg" = "X$p"; then
8900 enable_static=yes
8902 done
8903 IFS="$lt_save_ifs"
8905 esac
8906 else
8907 enable_static=yes
8919 # Check whether --with-pic was given.
8920 if test "${with_pic+set}" = set; then :
8921 withval=$with_pic; pic_mode="$withval"
8922 else
8923 pic_mode=default
8927 test -z "$pic_mode" && pic_mode=default
8935 # Check whether --enable-fast-install was given.
8936 if test "${enable_fast_install+set}" = set; then :
8937 enableval=$enable_fast_install; p=${PACKAGE-default}
8938 case $enableval in
8939 yes) enable_fast_install=yes ;;
8940 no) enable_fast_install=no ;;
8942 enable_fast_install=no
8943 # Look at the argument we got. We use all the common list separators.
8944 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8945 for pkg in $enableval; do
8946 IFS="$lt_save_ifs"
8947 if test "X$pkg" = "X$p"; then
8948 enable_fast_install=yes
8950 done
8951 IFS="$lt_save_ifs"
8953 esac
8954 else
8955 enable_fast_install=yes
8968 # This can be used to rebuild libtool when needed
8969 LIBTOOL_DEPS="$ltmain"
8971 # Always use our own libtool.
8972 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8999 test -z "$LN_S" && LN_S="ln -s"
9014 if test -n "${ZSH_VERSION+set}" ; then
9015 setopt NO_GLOB_SUBST
9018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9019 $as_echo_n "checking for objdir... " >&6; }
9020 if test "${lt_cv_objdir+set}" = set; then :
9021 $as_echo_n "(cached) " >&6
9022 else
9023 rm -f .libs 2>/dev/null
9024 mkdir .libs 2>/dev/null
9025 if test -d .libs; then
9026 lt_cv_objdir=.libs
9027 else
9028 # MS-DOS does not allow filenames that begin with a dot.
9029 lt_cv_objdir=_libs
9031 rmdir .libs 2>/dev/null
9033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9034 $as_echo "$lt_cv_objdir" >&6; }
9035 objdir=$lt_cv_objdir
9041 cat >>confdefs.h <<_ACEOF
9042 #define LT_OBJDIR "$lt_cv_objdir/"
9043 _ACEOF
9048 case $host_os in
9049 aix3*)
9050 # AIX sometimes has problems with the GCC collect2 program. For some
9051 # reason, if we set the COLLECT_NAMES environment variable, the problems
9052 # vanish in a puff of smoke.
9053 if test "X${COLLECT_NAMES+set}" != Xset; then
9054 COLLECT_NAMES=
9055 export COLLECT_NAMES
9058 esac
9060 # Global variables:
9061 ofile=libtool
9062 can_build_shared=yes
9064 # All known linkers require a `.a' archive for static linking (except MSVC,
9065 # which needs '.lib').
9066 libext=a
9068 with_gnu_ld="$lt_cv_prog_gnu_ld"
9070 old_CC="$CC"
9071 old_CFLAGS="$CFLAGS"
9073 # Set sane defaults for various variables
9074 test -z "$CC" && CC=cc
9075 test -z "$LTCC" && LTCC=$CC
9076 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9077 test -z "$LD" && LD=ld
9078 test -z "$ac_objext" && ac_objext=o
9080 for cc_temp in $compiler""; do
9081 case $cc_temp in
9082 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
9083 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
9084 \-*) ;;
9085 *) break;;
9086 esac
9087 done
9088 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
9091 # Only perform the check for file, if the check method requires it
9092 test -z "$MAGIC_CMD" && MAGIC_CMD=file
9093 case $deplibs_check_method in
9094 file_magic*)
9095 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9097 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9098 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
9099 $as_echo_n "(cached) " >&6
9100 else
9101 case $MAGIC_CMD in
9102 [\\/*] | ?:[\\/]*)
9103 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9106 lt_save_MAGIC_CMD="$MAGIC_CMD"
9107 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9108 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9109 for ac_dir in $ac_dummy; do
9110 IFS="$lt_save_ifs"
9111 test -z "$ac_dir" && ac_dir=.
9112 if test -f $ac_dir/${ac_tool_prefix}file; then
9113 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
9114 if test -n "$file_magic_test_file"; then
9115 case $deplibs_check_method in
9116 "file_magic "*)
9117 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9118 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9119 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9120 $EGREP "$file_magic_regex" > /dev/null; then
9122 else
9123 cat <<_LT_EOF 1>&2
9125 *** Warning: the command libtool uses to detect shared libraries,
9126 *** $file_magic_cmd, produces output that libtool cannot recognize.
9127 *** The result is that libtool may fail to recognize shared libraries
9128 *** as such. This will affect the creation of libtool libraries that
9129 *** depend on shared libraries, but programs linked with such libtool
9130 *** libraries will work regardless of this problem. Nevertheless, you
9131 *** may want to report the problem to your system manager and/or to
9132 *** bug-libtool@gnu.org
9134 _LT_EOF
9135 fi ;;
9136 esac
9138 break
9140 done
9141 IFS="$lt_save_ifs"
9142 MAGIC_CMD="$lt_save_MAGIC_CMD"
9144 esac
9147 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9148 if test -n "$MAGIC_CMD"; then
9149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9150 $as_echo "$MAGIC_CMD" >&6; }
9151 else
9152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9153 $as_echo "no" >&6; }
9160 if test -z "$lt_cv_path_MAGIC_CMD"; then
9161 if test -n "$ac_tool_prefix"; then
9162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9163 $as_echo_n "checking for file... " >&6; }
9164 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
9165 $as_echo_n "(cached) " >&6
9166 else
9167 case $MAGIC_CMD in
9168 [\\/*] | ?:[\\/]*)
9169 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9172 lt_save_MAGIC_CMD="$MAGIC_CMD"
9173 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9174 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9175 for ac_dir in $ac_dummy; do
9176 IFS="$lt_save_ifs"
9177 test -z "$ac_dir" && ac_dir=.
9178 if test -f $ac_dir/file; then
9179 lt_cv_path_MAGIC_CMD="$ac_dir/file"
9180 if test -n "$file_magic_test_file"; then
9181 case $deplibs_check_method in
9182 "file_magic "*)
9183 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9184 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9185 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9186 $EGREP "$file_magic_regex" > /dev/null; then
9188 else
9189 cat <<_LT_EOF 1>&2
9191 *** Warning: the command libtool uses to detect shared libraries,
9192 *** $file_magic_cmd, produces output that libtool cannot recognize.
9193 *** The result is that libtool may fail to recognize shared libraries
9194 *** as such. This will affect the creation of libtool libraries that
9195 *** depend on shared libraries, but programs linked with such libtool
9196 *** libraries will work regardless of this problem. Nevertheless, you
9197 *** may want to report the problem to your system manager and/or to
9198 *** bug-libtool@gnu.org
9200 _LT_EOF
9201 fi ;;
9202 esac
9204 break
9206 done
9207 IFS="$lt_save_ifs"
9208 MAGIC_CMD="$lt_save_MAGIC_CMD"
9210 esac
9213 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9214 if test -n "$MAGIC_CMD"; then
9215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9216 $as_echo "$MAGIC_CMD" >&6; }
9217 else
9218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9219 $as_echo "no" >&6; }
9223 else
9224 MAGIC_CMD=:
9230 esac
9232 # Use C for the default configuration in the libtool script
9234 lt_save_CC="$CC"
9235 ac_ext=c
9236 ac_cpp='$CPP $CPPFLAGS'
9237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9242 # Source file extension for C test sources.
9243 ac_ext=c
9245 # Object file extension for compiled C test sources.
9246 objext=o
9247 objext=$objext
9249 # Code to be used in simple compile tests
9250 lt_simple_compile_test_code="int some_variable = 0;"
9252 # Code to be used in simple link tests
9253 lt_simple_link_test_code='int main(){return(0);}'
9261 # If no C compiler was specified, use CC.
9262 LTCC=${LTCC-"$CC"}
9264 # If no C compiler flags were specified, use CFLAGS.
9265 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9267 # Allow CC to be a program name with arguments.
9268 compiler=$CC
9270 # Save the default compiler, since it gets overwritten when the other
9271 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9272 compiler_DEFAULT=$CC
9274 # save warnings/boilerplate of simple test code
9275 ac_outfile=conftest.$ac_objext
9276 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9277 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9278 _lt_compiler_boilerplate=`cat conftest.err`
9279 $RM conftest*
9281 ac_outfile=conftest.$ac_objext
9282 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9283 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9284 _lt_linker_boilerplate=`cat conftest.err`
9285 $RM -r conftest*
9288 ## CAVEAT EMPTOR:
9289 ## There is no encapsulation within the following macros, do not change
9290 ## the running order or otherwise move them around unless you know exactly
9291 ## what you are doing...
9292 if test -n "$compiler"; then
9294 lt_prog_compiler_no_builtin_flag=
9296 if test "$GCC" = yes; then
9297 case $cc_basename in
9298 nvcc*)
9299 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9301 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9302 esac
9304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9305 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9306 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
9307 $as_echo_n "(cached) " >&6
9308 else
9309 lt_cv_prog_compiler_rtti_exceptions=no
9310 ac_outfile=conftest.$ac_objext
9311 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9312 lt_compiler_flag="-fno-rtti -fno-exceptions"
9313 # Insert the option either (1) after the last *FLAGS variable, or
9314 # (2) before a word containing "conftest.", or (3) at the end.
9315 # Note that $ac_compile itself does not contain backslashes and begins
9316 # with a dollar sign (not a hyphen), so the echo should work correctly.
9317 # The option is referenced via a variable to avoid confusing sed.
9318 lt_compile=`echo "$ac_compile" | $SED \
9319 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9320 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9321 -e 's:$: $lt_compiler_flag:'`
9322 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9323 (eval "$lt_compile" 2>conftest.err)
9324 ac_status=$?
9325 cat conftest.err >&5
9326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9327 if (exit $ac_status) && test -s "$ac_outfile"; then
9328 # The compiler can only warn and ignore the option if not recognized
9329 # So say no if there are warnings other than the usual output.
9330 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9331 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9332 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9333 lt_cv_prog_compiler_rtti_exceptions=yes
9336 $RM conftest*
9339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9340 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9342 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9343 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9344 else
9355 lt_prog_compiler_wl=
9356 lt_prog_compiler_pic=
9357 lt_prog_compiler_static=
9359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9360 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9362 if test "$GCC" = yes; then
9363 lt_prog_compiler_wl='-Wl,'
9364 lt_prog_compiler_static='-static'
9366 case $host_os in
9367 aix*)
9368 # All AIX code is PIC.
9369 if test "$host_cpu" = ia64; then
9370 # AIX 5 now supports IA64 processor
9371 lt_prog_compiler_static='-Bstatic'
9373 lt_prog_compiler_pic='-fPIC'
9376 amigaos*)
9377 case $host_cpu in
9378 powerpc)
9379 # see comment about AmigaOS4 .so support
9380 lt_prog_compiler_pic='-fPIC'
9382 m68k)
9383 # FIXME: we need at least 68020 code to build shared libraries, but
9384 # adding the `-m68020' flag to GCC prevents building anything better,
9385 # like `-m68040'.
9386 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9388 esac
9391 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9392 # PIC is the default for these OSes.
9395 mingw* | cygwin* | pw32* | os2* | cegcc*)
9396 # This hack is so that the source file can tell whether it is being
9397 # built for inclusion in a dll (and should export symbols for example).
9398 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9399 # (--disable-auto-import) libraries
9400 lt_prog_compiler_pic='-DDLL_EXPORT'
9403 darwin* | rhapsody*)
9404 # PIC is the default on this platform
9405 # Common symbols not allowed in MH_DYLIB files
9406 lt_prog_compiler_pic='-fno-common'
9409 haiku*)
9410 # PIC is the default for Haiku.
9411 # The "-static" flag exists, but is broken.
9412 lt_prog_compiler_static=
9415 hpux*)
9416 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9417 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9418 # sets the default TLS model and affects inlining.
9419 case $host_cpu in
9420 hppa*64*)
9421 # +Z the default
9424 lt_prog_compiler_pic='-fPIC'
9426 esac
9429 interix[3-9]*)
9430 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9431 # Instead, we relocate shared libraries at runtime.
9434 msdosdjgpp*)
9435 # Just because we use GCC doesn't mean we suddenly get shared libraries
9436 # on systems that don't support them.
9437 lt_prog_compiler_can_build_shared=no
9438 enable_shared=no
9441 *nto* | *qnx*)
9442 # QNX uses GNU C++, but need to define -shared option too, otherwise
9443 # it will coredump.
9444 lt_prog_compiler_pic='-fPIC -shared'
9447 sysv4*MP*)
9448 if test -d /usr/nec; then
9449 lt_prog_compiler_pic=-Kconform_pic
9454 lt_prog_compiler_pic='-fPIC'
9456 esac
9458 case $cc_basename in
9459 nvcc*) # Cuda Compiler Driver 2.2
9460 lt_prog_compiler_wl='-Xlinker '
9461 lt_prog_compiler_pic='-Xcompiler -fPIC'
9463 esac
9464 else
9465 # PORTME Check for flag to pass linker flags through the system compiler.
9466 case $host_os in
9467 aix*)
9468 lt_prog_compiler_wl='-Wl,'
9469 if test "$host_cpu" = ia64; then
9470 # AIX 5 now supports IA64 processor
9471 lt_prog_compiler_static='-Bstatic'
9472 else
9473 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9477 mingw* | cygwin* | pw32* | os2* | cegcc*)
9478 # This hack is so that the source file can tell whether it is being
9479 # built for inclusion in a dll (and should export symbols for example).
9480 lt_prog_compiler_pic='-DDLL_EXPORT'
9483 hpux9* | hpux10* | hpux11*)
9484 lt_prog_compiler_wl='-Wl,'
9485 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9486 # not for PA HP-UX.
9487 case $host_cpu in
9488 hppa*64*|ia64*)
9489 # +Z the default
9492 lt_prog_compiler_pic='+Z'
9494 esac
9495 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9496 lt_prog_compiler_static='${wl}-a ${wl}archive'
9499 irix5* | irix6* | nonstopux*)
9500 lt_prog_compiler_wl='-Wl,'
9501 # PIC (with -KPIC) is the default.
9502 lt_prog_compiler_static='-non_shared'
9505 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9506 case $cc_basename in
9507 # old Intel for x86_64 which still supported -KPIC.
9508 ecc*)
9509 lt_prog_compiler_wl='-Wl,'
9510 lt_prog_compiler_pic='-KPIC'
9511 lt_prog_compiler_static='-static'
9513 # icc used to be incompatible with GCC.
9514 # ICC 10 doesn't accept -KPIC any more.
9515 icc* | ifort*)
9516 lt_prog_compiler_wl='-Wl,'
9517 lt_prog_compiler_pic='-fPIC'
9518 lt_prog_compiler_static='-static'
9520 # Lahey Fortran 8.1.
9521 lf95*)
9522 lt_prog_compiler_wl='-Wl,'
9523 lt_prog_compiler_pic='--shared'
9524 lt_prog_compiler_static='--static'
9526 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9527 # Portland Group compilers (*not* the Pentium gcc compiler,
9528 # which looks to be a dead project)
9529 lt_prog_compiler_wl='-Wl,'
9530 lt_prog_compiler_pic='-fpic'
9531 lt_prog_compiler_static='-Bstatic'
9533 ccc*)
9534 lt_prog_compiler_wl='-Wl,'
9535 # All Alpha code is PIC.
9536 lt_prog_compiler_static='-non_shared'
9538 xl* | bgxl* | bgf* | mpixl*)
9539 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9540 lt_prog_compiler_wl='-Wl,'
9541 lt_prog_compiler_pic='-qpic'
9542 lt_prog_compiler_static='-qstaticlink'
9545 case `$CC -V 2>&1 | sed 5q` in
9546 *Sun\ F* | *Sun*Fortran*)
9547 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9548 lt_prog_compiler_pic='-KPIC'
9549 lt_prog_compiler_static='-Bstatic'
9550 lt_prog_compiler_wl=''
9552 *Sun\ C*)
9553 # Sun C 5.9
9554 lt_prog_compiler_pic='-KPIC'
9555 lt_prog_compiler_static='-Bstatic'
9556 lt_prog_compiler_wl='-Wl,'
9558 esac
9560 esac
9563 newsos6)
9564 lt_prog_compiler_pic='-KPIC'
9565 lt_prog_compiler_static='-Bstatic'
9568 *nto* | *qnx*)
9569 # QNX uses GNU C++, but need to define -shared option too, otherwise
9570 # it will coredump.
9571 lt_prog_compiler_pic='-fPIC -shared'
9574 osf3* | osf4* | osf5*)
9575 lt_prog_compiler_wl='-Wl,'
9576 # All OSF/1 code is PIC.
9577 lt_prog_compiler_static='-non_shared'
9580 rdos*)
9581 lt_prog_compiler_static='-non_shared'
9584 solaris*)
9585 lt_prog_compiler_pic='-KPIC'
9586 lt_prog_compiler_static='-Bstatic'
9587 case $cc_basename in
9588 f77* | f90* | f95*)
9589 lt_prog_compiler_wl='-Qoption ld ';;
9591 lt_prog_compiler_wl='-Wl,';;
9592 esac
9595 sunos4*)
9596 lt_prog_compiler_wl='-Qoption ld '
9597 lt_prog_compiler_pic='-PIC'
9598 lt_prog_compiler_static='-Bstatic'
9601 sysv4 | sysv4.2uw2* | sysv4.3*)
9602 lt_prog_compiler_wl='-Wl,'
9603 lt_prog_compiler_pic='-KPIC'
9604 lt_prog_compiler_static='-Bstatic'
9607 sysv4*MP*)
9608 if test -d /usr/nec ;then
9609 lt_prog_compiler_pic='-Kconform_pic'
9610 lt_prog_compiler_static='-Bstatic'
9614 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9615 lt_prog_compiler_wl='-Wl,'
9616 lt_prog_compiler_pic='-KPIC'
9617 lt_prog_compiler_static='-Bstatic'
9620 unicos*)
9621 lt_prog_compiler_wl='-Wl,'
9622 lt_prog_compiler_can_build_shared=no
9625 uts4*)
9626 lt_prog_compiler_pic='-pic'
9627 lt_prog_compiler_static='-Bstatic'
9631 lt_prog_compiler_can_build_shared=no
9633 esac
9636 case $host_os in
9637 # For platforms which do not support PIC, -DPIC is meaningless:
9638 *djgpp*)
9639 lt_prog_compiler_pic=
9642 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9644 esac
9645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9646 $as_echo "$lt_prog_compiler_pic" >&6; }
9654 # Check to make sure the PIC flag actually works.
9656 if test -n "$lt_prog_compiler_pic"; then
9657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9658 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9659 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
9660 $as_echo_n "(cached) " >&6
9661 else
9662 lt_cv_prog_compiler_pic_works=no
9663 ac_outfile=conftest.$ac_objext
9664 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9665 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9666 # Insert the option either (1) after the last *FLAGS variable, or
9667 # (2) before a word containing "conftest.", or (3) at the end.
9668 # Note that $ac_compile itself does not contain backslashes and begins
9669 # with a dollar sign (not a hyphen), so the echo should work correctly.
9670 # The option is referenced via a variable to avoid confusing sed.
9671 lt_compile=`echo "$ac_compile" | $SED \
9672 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9673 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9674 -e 's:$: $lt_compiler_flag:'`
9675 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9676 (eval "$lt_compile" 2>conftest.err)
9677 ac_status=$?
9678 cat conftest.err >&5
9679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9680 if (exit $ac_status) && test -s "$ac_outfile"; then
9681 # The compiler can only warn and ignore the option if not recognized
9682 # So say no if there are warnings other than the usual output.
9683 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9684 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9685 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9686 lt_cv_prog_compiler_pic_works=yes
9689 $RM conftest*
9692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9693 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9695 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9696 case $lt_prog_compiler_pic in
9697 "" | " "*) ;;
9698 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9699 esac
9700 else
9701 lt_prog_compiler_pic=
9702 lt_prog_compiler_can_build_shared=no
9713 # Check to make sure the static flag actually works.
9715 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9717 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9718 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
9719 $as_echo_n "(cached) " >&6
9720 else
9721 lt_cv_prog_compiler_static_works=no
9722 save_LDFLAGS="$LDFLAGS"
9723 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9724 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9725 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9726 # The linker can only warn and ignore the option if not recognized
9727 # So say no if there are warnings
9728 if test -s conftest.err; then
9729 # Append any errors to the config.log.
9730 cat conftest.err 1>&5
9731 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9732 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9733 if diff conftest.exp conftest.er2 >/dev/null; then
9734 lt_cv_prog_compiler_static_works=yes
9736 else
9737 lt_cv_prog_compiler_static_works=yes
9740 $RM -r conftest*
9741 LDFLAGS="$save_LDFLAGS"
9744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9745 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9747 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9749 else
9750 lt_prog_compiler_static=
9759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9760 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9761 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9762 $as_echo_n "(cached) " >&6
9763 else
9764 lt_cv_prog_compiler_c_o=no
9765 $RM -r conftest 2>/dev/null
9766 mkdir conftest
9767 cd conftest
9768 mkdir out
9769 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9771 lt_compiler_flag="-o out/conftest2.$ac_objext"
9772 # Insert the option either (1) after the last *FLAGS variable, or
9773 # (2) before a word containing "conftest.", or (3) at the end.
9774 # Note that $ac_compile itself does not contain backslashes and begins
9775 # with a dollar sign (not a hyphen), so the echo should work correctly.
9776 lt_compile=`echo "$ac_compile" | $SED \
9777 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9778 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9779 -e 's:$: $lt_compiler_flag:'`
9780 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9781 (eval "$lt_compile" 2>out/conftest.err)
9782 ac_status=$?
9783 cat out/conftest.err >&5
9784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9785 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9786 then
9787 # The compiler can only warn and ignore the option if not recognized
9788 # So say no if there are warnings
9789 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9790 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9791 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9792 lt_cv_prog_compiler_c_o=yes
9795 chmod u+w . 2>&5
9796 $RM conftest*
9797 # SGI C++ compiler will create directory out/ii_files/ for
9798 # template instantiation
9799 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9800 $RM out/* && rmdir out
9801 cd ..
9802 $RM -r conftest
9803 $RM conftest*
9806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9807 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9815 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9816 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9817 $as_echo_n "(cached) " >&6
9818 else
9819 lt_cv_prog_compiler_c_o=no
9820 $RM -r conftest 2>/dev/null
9821 mkdir conftest
9822 cd conftest
9823 mkdir out
9824 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9826 lt_compiler_flag="-o out/conftest2.$ac_objext"
9827 # Insert the option either (1) after the last *FLAGS variable, or
9828 # (2) before a word containing "conftest.", or (3) at the end.
9829 # Note that $ac_compile itself does not contain backslashes and begins
9830 # with a dollar sign (not a hyphen), so the echo should work correctly.
9831 lt_compile=`echo "$ac_compile" | $SED \
9832 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9833 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9834 -e 's:$: $lt_compiler_flag:'`
9835 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9836 (eval "$lt_compile" 2>out/conftest.err)
9837 ac_status=$?
9838 cat out/conftest.err >&5
9839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9840 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9841 then
9842 # The compiler can only warn and ignore the option if not recognized
9843 # So say no if there are warnings
9844 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9845 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9846 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9847 lt_cv_prog_compiler_c_o=yes
9850 chmod u+w . 2>&5
9851 $RM conftest*
9852 # SGI C++ compiler will create directory out/ii_files/ for
9853 # template instantiation
9854 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9855 $RM out/* && rmdir out
9856 cd ..
9857 $RM -r conftest
9858 $RM conftest*
9861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9862 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9867 hard_links="nottested"
9868 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9869 # do not overwrite the value of need_locks provided by the user
9870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9871 $as_echo_n "checking if we can lock with hard links... " >&6; }
9872 hard_links=yes
9873 $RM conftest*
9874 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9875 touch conftest.a
9876 ln conftest.a conftest.b 2>&5 || hard_links=no
9877 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9879 $as_echo "$hard_links" >&6; }
9880 if test "$hard_links" = no; then
9881 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9882 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9883 need_locks=warn
9885 else
9886 need_locks=no
9894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9895 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9897 runpath_var=
9898 allow_undefined_flag=
9899 always_export_symbols=no
9900 archive_cmds=
9901 archive_expsym_cmds=
9902 compiler_needs_object=no
9903 enable_shared_with_static_runtimes=no
9904 export_dynamic_flag_spec=
9905 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9906 hardcode_automatic=no
9907 hardcode_direct=no
9908 hardcode_direct_absolute=no
9909 hardcode_libdir_flag_spec=
9910 hardcode_libdir_flag_spec_ld=
9911 hardcode_libdir_separator=
9912 hardcode_minus_L=no
9913 hardcode_shlibpath_var=unsupported
9914 inherit_rpath=no
9915 link_all_deplibs=unknown
9916 module_cmds=
9917 module_expsym_cmds=
9918 old_archive_from_new_cmds=
9919 old_archive_from_expsyms_cmds=
9920 thread_safe_flag_spec=
9921 whole_archive_flag_spec=
9922 # include_expsyms should be a list of space-separated symbols to be *always*
9923 # included in the symbol list
9924 include_expsyms=
9925 # exclude_expsyms can be an extended regexp of symbols to exclude
9926 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9927 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9928 # as well as any symbol that contains `d'.
9929 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9930 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9931 # platforms (ab)use it in PIC code, but their linkers get confused if
9932 # the symbol is explicitly referenced. Since portable code cannot
9933 # rely on this symbol name, it's probably fine to never include it in
9934 # preloaded symbol tables.
9935 # Exclude shared library initialization/finalization symbols.
9936 extract_expsyms_cmds=
9938 case $host_os in
9939 cygwin* | mingw* | pw32* | cegcc*)
9940 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9941 # When not using gcc, we currently assume that we are using
9942 # Microsoft Visual C++.
9943 if test "$GCC" != yes; then
9944 with_gnu_ld=no
9947 interix*)
9948 # we just hope/assume this is gcc and not c89 (= MSVC++)
9949 with_gnu_ld=yes
9951 openbsd*)
9952 with_gnu_ld=no
9954 esac
9956 ld_shlibs=yes
9958 # On some targets, GNU ld is compatible enough with the native linker
9959 # that we're better off using the native interface for both.
9960 lt_use_gnu_ld_interface=no
9961 if test "$with_gnu_ld" = yes; then
9962 case $host_os in
9963 aix*)
9964 # The AIX port of GNU ld has always aspired to compatibility
9965 # with the native linker. However, as the warning in the GNU ld
9966 # block says, versions before 2.19.5* couldn't really create working
9967 # shared libraries, regardless of the interface used.
9968 case `$LD -v 2>&1` in
9969 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9970 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9971 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9973 lt_use_gnu_ld_interface=yes
9975 esac
9978 lt_use_gnu_ld_interface=yes
9980 esac
9983 if test "$lt_use_gnu_ld_interface" = yes; then
9984 # If archive_cmds runs LD, not CC, wlarc should be empty
9985 wlarc='${wl}'
9987 # Set some defaults for GNU ld with shared library support. These
9988 # are reset later if shared libraries are not supported. Putting them
9989 # here allows them to be overridden if necessary.
9990 runpath_var=LD_RUN_PATH
9991 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9992 export_dynamic_flag_spec='${wl}--export-dynamic'
9993 # ancient GNU ld didn't support --whole-archive et. al.
9994 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9995 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9996 else
9997 whole_archive_flag_spec=
9999 supports_anon_versioning=no
10000 case `$LD -v 2>&1` in
10001 *GNU\ gold*) supports_anon_versioning=yes ;;
10002 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10003 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10004 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10005 *\ 2.11.*) ;; # other 2.11 versions
10006 *) supports_anon_versioning=yes ;;
10007 esac
10009 # See if GNU ld supports shared libraries.
10010 case $host_os in
10011 aix[3-9]*)
10012 # On AIX/PPC, the GNU linker is very broken
10013 if test "$host_cpu" != ia64; then
10014 ld_shlibs=no
10015 cat <<_LT_EOF 1>&2
10017 *** Warning: the GNU linker, at least up to release 2.19, is reported
10018 *** to be unable to reliably create shared libraries on AIX.
10019 *** Therefore, libtool is disabling shared libraries support. If you
10020 *** really care for shared libraries, you may want to install binutils
10021 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10022 *** You will then need to restart the configuration process.
10024 _LT_EOF
10028 amigaos*)
10029 case $host_cpu in
10030 powerpc)
10031 # see comment about AmigaOS4 .so support
10032 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10033 archive_expsym_cmds=''
10035 m68k)
10036 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)'
10037 hardcode_libdir_flag_spec='-L$libdir'
10038 hardcode_minus_L=yes
10040 esac
10043 beos*)
10044 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10045 allow_undefined_flag=unsupported
10046 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10047 # support --undefined. This deserves some investigation. FIXME
10048 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10049 else
10050 ld_shlibs=no
10054 cygwin* | mingw* | pw32* | cegcc*)
10055 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10056 # as there is no search path for DLLs.
10057 hardcode_libdir_flag_spec='-L$libdir'
10058 export_dynamic_flag_spec='${wl}--export-all-symbols'
10059 allow_undefined_flag=unsupported
10060 always_export_symbols=no
10061 enable_shared_with_static_runtimes=yes
10062 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10064 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
10065 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10066 # If the export-symbols file already is a .def file (1st line
10067 # is EXPORTS), use it as is; otherwise, prepend...
10068 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10069 cp $export_symbols $output_objdir/$soname.def;
10070 else
10071 echo EXPORTS > $output_objdir/$soname.def;
10072 cat $export_symbols >> $output_objdir/$soname.def;
10074 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10075 else
10076 ld_shlibs=no
10080 haiku*)
10081 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10082 link_all_deplibs=yes
10085 interix[3-9]*)
10086 hardcode_direct=no
10087 hardcode_shlibpath_var=no
10088 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10089 export_dynamic_flag_spec='${wl}-E'
10090 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10091 # Instead, shared libraries are loaded at an image base (0x10000000 by
10092 # default) and relocated if they conflict, which is a slow very memory
10093 # consuming and fragmenting process. To avoid this, we pick a random,
10094 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10095 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10096 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10097 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'
10100 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
10101 tmp_diet=no
10102 if test "$host_os" = linux-dietlibc; then
10103 case $cc_basename in
10104 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
10105 esac
10107 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
10108 && test "$tmp_diet" = no
10109 then
10110 tmp_addflag=
10111 tmp_sharedflag='-shared'
10112 case $cc_basename,$host_cpu in
10113 pgcc*) # Portland Group C compiler
10114 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'
10115 tmp_addflag=' $pic_flag'
10117 pgf77* | pgf90* | pgf95* | pgfortran*)
10118 # Portland Group f77 and f90 compilers
10119 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'
10120 tmp_addflag=' $pic_flag -Mnomain' ;;
10121 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
10122 tmp_addflag=' -i_dynamic' ;;
10123 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
10124 tmp_addflag=' -i_dynamic -nofor_main' ;;
10125 ifc* | ifort*) # Intel Fortran compiler
10126 tmp_addflag=' -nofor_main' ;;
10127 lf95*) # Lahey Fortran 8.1
10128 whole_archive_flag_spec=
10129 tmp_sharedflag='--shared' ;;
10130 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10131 tmp_sharedflag='-qmkshrobj'
10132 tmp_addflag= ;;
10133 nvcc*) # Cuda Compiler Driver 2.2
10134 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'
10135 compiler_needs_object=yes
10137 esac
10138 case `$CC -V 2>&1 | sed 5q` in
10139 *Sun\ C*) # Sun C 5.9
10140 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'
10141 compiler_needs_object=yes
10142 tmp_sharedflag='-G' ;;
10143 *Sun\ F*) # Sun Fortran 8.3
10144 tmp_sharedflag='-G' ;;
10145 esac
10146 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10148 if test "x$supports_anon_versioning" = xyes; then
10149 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10150 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10151 echo "local: *; };" >> $output_objdir/$libname.ver~
10152 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10155 case $cc_basename in
10156 xlf* | bgf* | bgxlf* | mpixlf*)
10157 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10158 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10159 hardcode_libdir_flag_spec=
10160 hardcode_libdir_flag_spec_ld='-rpath $libdir'
10161 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
10162 if test "x$supports_anon_versioning" = xyes; then
10163 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10164 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10165 echo "local: *; };" >> $output_objdir/$libname.ver~
10166 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10169 esac
10170 else
10171 ld_shlibs=no
10175 netbsd*)
10176 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10177 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10178 wlarc=
10179 else
10180 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10181 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10185 solaris*)
10186 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10187 ld_shlibs=no
10188 cat <<_LT_EOF 1>&2
10190 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10191 *** create shared libraries on Solaris systems. Therefore, libtool
10192 *** is disabling shared libraries support. We urge you to upgrade GNU
10193 *** binutils to release 2.9.1 or newer. Another option is to modify
10194 *** your PATH or compiler configuration so that the native linker is
10195 *** used, and then restart.
10197 _LT_EOF
10198 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10199 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10200 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10201 else
10202 ld_shlibs=no
10206 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10207 case `$LD -v 2>&1` in
10208 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10209 ld_shlibs=no
10210 cat <<_LT_EOF 1>&2
10212 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10213 *** reliably create shared libraries on SCO systems. Therefore, libtool
10214 *** is disabling shared libraries support. We urge you to upgrade GNU
10215 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10216 *** your PATH or compiler configuration so that the native linker is
10217 *** used, and then restart.
10219 _LT_EOF
10222 # For security reasons, it is highly recommended that you always
10223 # use absolute paths for naming shared libraries, and exclude the
10224 # DT_RUNPATH tag from executables and libraries. But doing so
10225 # requires that you compile everything twice, which is a pain.
10226 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10227 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10228 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10229 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10230 else
10231 ld_shlibs=no
10234 esac
10237 sunos4*)
10238 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10239 wlarc=
10240 hardcode_direct=yes
10241 hardcode_shlibpath_var=no
10245 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10246 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10247 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10248 else
10249 ld_shlibs=no
10252 esac
10254 if test "$ld_shlibs" = no; then
10255 runpath_var=
10256 hardcode_libdir_flag_spec=
10257 export_dynamic_flag_spec=
10258 whole_archive_flag_spec=
10260 else
10261 # PORTME fill in a description of your system's linker (not GNU ld)
10262 case $host_os in
10263 aix3*)
10264 allow_undefined_flag=unsupported
10265 always_export_symbols=yes
10266 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'
10267 # Note: this linker hardcodes the directories in LIBPATH if there
10268 # are no directories specified by -L.
10269 hardcode_minus_L=yes
10270 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10271 # Neither direct hardcoding nor static linking is supported with a
10272 # broken collect2.
10273 hardcode_direct=unsupported
10277 aix[4-9]*)
10278 if test "$host_cpu" = ia64; then
10279 # On IA64, the linker does run time linking by default, so we don't
10280 # have to do anything special.
10281 aix_use_runtimelinking=no
10282 exp_sym_flag='-Bexport'
10283 no_entry_flag=""
10284 else
10285 # If we're using GNU nm, then we don't want the "-C" option.
10286 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10287 # Also, AIX nm treats weak defined symbols like other global
10288 # defined symbols, whereas GNU nm marks them as "W".
10289 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10290 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'
10291 else
10292 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'
10294 aix_use_runtimelinking=no
10296 # Test if we are trying to use run time linking or normal
10297 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10298 # need to do runtime linking.
10299 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10300 for ld_flag in $LDFLAGS; do
10301 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10302 aix_use_runtimelinking=yes
10303 break
10305 done
10307 esac
10309 exp_sym_flag='-bexport'
10310 no_entry_flag='-bnoentry'
10313 # When large executables or shared objects are built, AIX ld can
10314 # have problems creating the table of contents. If linking a library
10315 # or program results in "error TOC overflow" add -mminimal-toc to
10316 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10317 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10319 archive_cmds=''
10320 hardcode_direct=yes
10321 hardcode_direct_absolute=yes
10322 hardcode_libdir_separator=':'
10323 link_all_deplibs=yes
10324 file_list_spec='${wl}-f,'
10326 if test "$GCC" = yes; then
10327 case $host_os in aix4.[012]|aix4.[012].*)
10328 # We only want to do this on AIX 4.2 and lower, the check
10329 # below for broken collect2 doesn't work under 4.3+
10330 collect2name=`${CC} -print-prog-name=collect2`
10331 if test -f "$collect2name" &&
10332 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10333 then
10334 # We have reworked collect2
10336 else
10337 # We have old collect2
10338 hardcode_direct=unsupported
10339 # It fails to find uninstalled libraries when the uninstalled
10340 # path is not listed in the libpath. Setting hardcode_minus_L
10341 # to unsupported forces relinking
10342 hardcode_minus_L=yes
10343 hardcode_libdir_flag_spec='-L$libdir'
10344 hardcode_libdir_separator=
10347 esac
10348 shared_flag='-shared'
10349 if test "$aix_use_runtimelinking" = yes; then
10350 shared_flag="$shared_flag "'${wl}-G'
10352 else
10353 # not using gcc
10354 if test "$host_cpu" = ia64; then
10355 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10356 # chokes on -Wl,-G. The following line is correct:
10357 shared_flag='-G'
10358 else
10359 if test "$aix_use_runtimelinking" = yes; then
10360 shared_flag='${wl}-G'
10361 else
10362 shared_flag='${wl}-bM:SRE'
10367 export_dynamic_flag_spec='${wl}-bexpall'
10368 # It seems that -bexpall does not export symbols beginning with
10369 # underscore (_), so it is better to generate a list of symbols to export.
10370 always_export_symbols=yes
10371 if test "$aix_use_runtimelinking" = yes; then
10372 # Warning - without using the other runtime loading flags (-brtl),
10373 # -berok will link without error, but may produce a broken library.
10374 allow_undefined_flag='-berok'
10375 # Determine the default libpath from the value encoded in an
10376 # empty executable.
10377 if test x$gcc_no_link = xyes; then
10378 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10381 /* end confdefs.h. */
10384 main ()
10388 return 0;
10390 _ACEOF
10391 if ac_fn_c_try_link "$LINENO"; then :
10393 lt_aix_libpath_sed='
10394 /Import File Strings/,/^$/ {
10395 /^0/ {
10396 s/^0 *\(.*\)$/\1/
10400 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10401 # Check for a 64-bit object if we didn't find anything.
10402 if test -z "$aix_libpath"; then
10403 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10406 rm -f core conftest.err conftest.$ac_objext \
10407 conftest$ac_exeext conftest.$ac_ext
10408 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10410 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10411 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"
10412 else
10413 if test "$host_cpu" = ia64; then
10414 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10415 allow_undefined_flag="-z nodefs"
10416 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"
10417 else
10418 # Determine the default libpath from the value encoded in an
10419 # empty executable.
10420 if test x$gcc_no_link = xyes; then
10421 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10424 /* end confdefs.h. */
10427 main ()
10431 return 0;
10433 _ACEOF
10434 if ac_fn_c_try_link "$LINENO"; then :
10436 lt_aix_libpath_sed='
10437 /Import File Strings/,/^$/ {
10438 /^0/ {
10439 s/^0 *\(.*\)$/\1/
10443 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10444 # Check for a 64-bit object if we didn't find anything.
10445 if test -z "$aix_libpath"; then
10446 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10449 rm -f core conftest.err conftest.$ac_objext \
10450 conftest$ac_exeext conftest.$ac_ext
10451 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10453 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10454 # Warning - without using the other run time loading flags,
10455 # -berok will link without error, but may produce a broken library.
10456 no_undefined_flag=' ${wl}-bernotok'
10457 allow_undefined_flag=' ${wl}-berok'
10458 if test "$with_gnu_ld" = yes; then
10459 # We only use this code for GNU lds that support --whole-archive.
10460 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10461 else
10462 # Exported symbols can be pulled into shared objects from archives
10463 whole_archive_flag_spec='$convenience'
10465 archive_cmds_need_lc=yes
10466 # This is similar to how AIX traditionally builds its shared libraries.
10467 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'
10472 amigaos*)
10473 case $host_cpu in
10474 powerpc)
10475 # see comment about AmigaOS4 .so support
10476 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10477 archive_expsym_cmds=''
10479 m68k)
10480 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)'
10481 hardcode_libdir_flag_spec='-L$libdir'
10482 hardcode_minus_L=yes
10484 esac
10487 bsdi[45]*)
10488 export_dynamic_flag_spec=-rdynamic
10491 cygwin* | mingw* | pw32* | cegcc*)
10492 # When not using gcc, we currently assume that we are using
10493 # Microsoft Visual C++.
10494 # hardcode_libdir_flag_spec is actually meaningless, as there is
10495 # no search path for DLLs.
10496 hardcode_libdir_flag_spec=' '
10497 allow_undefined_flag=unsupported
10498 # Tell ltmain to make .lib files, not .a files.
10499 libext=lib
10500 # Tell ltmain to make .dll files, not .so files.
10501 shrext_cmds=".dll"
10502 # FIXME: Setting linknames here is a bad hack.
10503 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10504 # The linker will automatically build a .lib file if we build a DLL.
10505 old_archive_from_new_cmds='true'
10506 # FIXME: Should let the user specify the lib program.
10507 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10508 fix_srcfile_path='`cygpath -w "$srcfile"`'
10509 enable_shared_with_static_runtimes=yes
10512 darwin* | rhapsody*)
10515 archive_cmds_need_lc=no
10516 hardcode_direct=no
10517 hardcode_automatic=yes
10518 hardcode_shlibpath_var=unsupported
10519 if test "$lt_cv_ld_force_load" = "yes"; then
10520 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\"`'
10521 else
10522 whole_archive_flag_spec=''
10524 link_all_deplibs=yes
10525 allow_undefined_flag="$_lt_dar_allow_undefined"
10526 case $cc_basename in
10527 ifort*) _lt_dar_can_shared=yes ;;
10528 *) _lt_dar_can_shared=$GCC ;;
10529 esac
10530 if test "$_lt_dar_can_shared" = "yes"; then
10531 output_verbose_link_cmd=func_echo_all
10532 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10533 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10534 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}"
10535 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}"
10537 else
10538 ld_shlibs=no
10543 dgux*)
10544 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10545 hardcode_libdir_flag_spec='-L$libdir'
10546 hardcode_shlibpath_var=no
10549 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10550 # support. Future versions do this automatically, but an explicit c++rt0.o
10551 # does not break anything, and helps significantly (at the cost of a little
10552 # extra space).
10553 freebsd2.2*)
10554 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10555 hardcode_libdir_flag_spec='-R$libdir'
10556 hardcode_direct=yes
10557 hardcode_shlibpath_var=no
10560 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10561 freebsd2.*)
10562 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10563 hardcode_direct=yes
10564 hardcode_minus_L=yes
10565 hardcode_shlibpath_var=no
10568 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10569 freebsd* | dragonfly*)
10570 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10571 hardcode_libdir_flag_spec='-R$libdir'
10572 hardcode_direct=yes
10573 hardcode_shlibpath_var=no
10576 hpux9*)
10577 if test "$GCC" = yes; then
10578 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'
10579 else
10580 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'
10582 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10583 hardcode_libdir_separator=:
10584 hardcode_direct=yes
10586 # hardcode_minus_L: Not really in the search PATH,
10587 # but as the default location of the library.
10588 hardcode_minus_L=yes
10589 export_dynamic_flag_spec='${wl}-E'
10592 hpux10*)
10593 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10594 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10595 else
10596 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10598 if test "$with_gnu_ld" = no; then
10599 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10600 hardcode_libdir_flag_spec_ld='+b $libdir'
10601 hardcode_libdir_separator=:
10602 hardcode_direct=yes
10603 hardcode_direct_absolute=yes
10604 export_dynamic_flag_spec='${wl}-E'
10605 # hardcode_minus_L: Not really in the search PATH,
10606 # but as the default location of the library.
10607 hardcode_minus_L=yes
10611 hpux11*)
10612 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10613 case $host_cpu in
10614 hppa*64*)
10615 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10617 ia64*)
10618 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10621 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10623 esac
10624 else
10625 case $host_cpu in
10626 hppa*64*)
10627 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10629 ia64*)
10630 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10634 # Older versions of the 11.00 compiler do not understand -b yet
10635 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10637 $as_echo_n "checking if $CC understands -b... " >&6; }
10638 if test "${lt_cv_prog_compiler__b+set}" = set; then :
10639 $as_echo_n "(cached) " >&6
10640 else
10641 lt_cv_prog_compiler__b=no
10642 save_LDFLAGS="$LDFLAGS"
10643 LDFLAGS="$LDFLAGS -b"
10644 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10645 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10646 # The linker can only warn and ignore the option if not recognized
10647 # So say no if there are warnings
10648 if test -s conftest.err; then
10649 # Append any errors to the config.log.
10650 cat conftest.err 1>&5
10651 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10652 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10653 if diff conftest.exp conftest.er2 >/dev/null; then
10654 lt_cv_prog_compiler__b=yes
10656 else
10657 lt_cv_prog_compiler__b=yes
10660 $RM -r conftest*
10661 LDFLAGS="$save_LDFLAGS"
10664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10665 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10667 if test x"$lt_cv_prog_compiler__b" = xyes; then
10668 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10669 else
10670 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10674 esac
10676 if test "$with_gnu_ld" = no; then
10677 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10678 hardcode_libdir_separator=:
10680 case $host_cpu in
10681 hppa*64*|ia64*)
10682 hardcode_direct=no
10683 hardcode_shlibpath_var=no
10686 hardcode_direct=yes
10687 hardcode_direct_absolute=yes
10688 export_dynamic_flag_spec='${wl}-E'
10690 # hardcode_minus_L: Not really in the search PATH,
10691 # but as the default location of the library.
10692 hardcode_minus_L=yes
10694 esac
10698 irix5* | irix6* | nonstopux*)
10699 if test "$GCC" = yes; then
10700 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'
10701 # Try to use the -exported_symbol ld option, if it does not
10702 # work, assume that -exports_file does not work either and
10703 # implicitly export all symbols.
10704 save_LDFLAGS="$LDFLAGS"
10705 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10706 if test x$gcc_no_link = xyes; then
10707 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10710 /* end confdefs.h. */
10711 int foo(void) {}
10712 _ACEOF
10713 if ac_fn_c_try_link "$LINENO"; then :
10714 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'
10717 rm -f core conftest.err conftest.$ac_objext \
10718 conftest$ac_exeext conftest.$ac_ext
10719 LDFLAGS="$save_LDFLAGS"
10720 else
10721 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'
10722 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'
10724 archive_cmds_need_lc='no'
10725 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10726 hardcode_libdir_separator=:
10727 inherit_rpath=yes
10728 link_all_deplibs=yes
10731 netbsd*)
10732 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10733 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10734 else
10735 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10737 hardcode_libdir_flag_spec='-R$libdir'
10738 hardcode_direct=yes
10739 hardcode_shlibpath_var=no
10742 newsos6)
10743 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10744 hardcode_direct=yes
10745 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10746 hardcode_libdir_separator=:
10747 hardcode_shlibpath_var=no
10750 *nto* | *qnx*)
10753 openbsd*)
10754 if test -f /usr/libexec/ld.so; then
10755 hardcode_direct=yes
10756 hardcode_shlibpath_var=no
10757 hardcode_direct_absolute=yes
10758 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10759 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10760 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10761 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10762 export_dynamic_flag_spec='${wl}-E'
10763 else
10764 case $host_os in
10765 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10766 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10767 hardcode_libdir_flag_spec='-R$libdir'
10770 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10771 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10773 esac
10775 else
10776 ld_shlibs=no
10780 os2*)
10781 hardcode_libdir_flag_spec='-L$libdir'
10782 hardcode_minus_L=yes
10783 allow_undefined_flag=unsupported
10784 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'
10785 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10788 osf3*)
10789 if test "$GCC" = yes; then
10790 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10791 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'
10792 else
10793 allow_undefined_flag=' -expect_unresolved \*'
10794 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'
10796 archive_cmds_need_lc='no'
10797 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10798 hardcode_libdir_separator=:
10801 osf4* | osf5*) # as osf3* with the addition of -msym flag
10802 if test "$GCC" = yes; then
10803 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10804 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'
10805 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10806 else
10807 allow_undefined_flag=' -expect_unresolved \*'
10808 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'
10809 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~
10810 $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'
10812 # Both c and cxx compiler support -rpath directly
10813 hardcode_libdir_flag_spec='-rpath $libdir'
10815 archive_cmds_need_lc='no'
10816 hardcode_libdir_separator=:
10819 solaris*)
10820 no_undefined_flag=' -z defs'
10821 if test "$GCC" = yes; then
10822 wlarc='${wl}'
10823 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10824 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10825 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10826 else
10827 case `$CC -V 2>&1` in
10828 *"Compilers 5.0"*)
10829 wlarc=''
10830 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10831 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10832 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10835 wlarc='${wl}'
10836 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10837 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10838 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10840 esac
10842 hardcode_libdir_flag_spec='-R$libdir'
10843 hardcode_shlibpath_var=no
10844 case $host_os in
10845 solaris2.[0-5] | solaris2.[0-5].*) ;;
10847 # The compiler driver will combine and reorder linker options,
10848 # but understands `-z linker_flag'. GCC discards it without `$wl',
10849 # but is careful enough not to reorder.
10850 # Supported since Solaris 2.6 (maybe 2.5.1?)
10851 if test "$GCC" = yes; then
10852 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10853 else
10854 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10857 esac
10858 link_all_deplibs=yes
10861 sunos4*)
10862 if test "x$host_vendor" = xsequent; then
10863 # Use $CC to link under sequent, because it throws in some extra .o
10864 # files that make .init and .fini sections work.
10865 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10866 else
10867 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10869 hardcode_libdir_flag_spec='-L$libdir'
10870 hardcode_direct=yes
10871 hardcode_minus_L=yes
10872 hardcode_shlibpath_var=no
10875 sysv4)
10876 case $host_vendor in
10877 sni)
10878 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10879 hardcode_direct=yes # is this really true???
10881 siemens)
10882 ## LD is ld it makes a PLAMLIB
10883 ## CC just makes a GrossModule.
10884 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10885 reload_cmds='$CC -r -o $output$reload_objs'
10886 hardcode_direct=no
10888 motorola)
10889 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10890 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10892 esac
10893 runpath_var='LD_RUN_PATH'
10894 hardcode_shlibpath_var=no
10897 sysv4.3*)
10898 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10899 hardcode_shlibpath_var=no
10900 export_dynamic_flag_spec='-Bexport'
10903 sysv4*MP*)
10904 if test -d /usr/nec; then
10905 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10906 hardcode_shlibpath_var=no
10907 runpath_var=LD_RUN_PATH
10908 hardcode_runpath_var=yes
10909 ld_shlibs=yes
10913 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10914 no_undefined_flag='${wl}-z,text'
10915 archive_cmds_need_lc=no
10916 hardcode_shlibpath_var=no
10917 runpath_var='LD_RUN_PATH'
10919 if test "$GCC" = yes; then
10920 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10921 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10922 else
10923 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10924 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10928 sysv5* | sco3.2v5* | sco5v6*)
10929 # Note: We can NOT use -z defs as we might desire, because we do not
10930 # link with -lc, and that would cause any symbols used from libc to
10931 # always be unresolved, which means just about no library would
10932 # ever link correctly. If we're not using GNU ld we use -z text
10933 # though, which does catch some bad symbols but isn't as heavy-handed
10934 # as -z defs.
10935 no_undefined_flag='${wl}-z,text'
10936 allow_undefined_flag='${wl}-z,nodefs'
10937 archive_cmds_need_lc=no
10938 hardcode_shlibpath_var=no
10939 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10940 hardcode_libdir_separator=':'
10941 link_all_deplibs=yes
10942 export_dynamic_flag_spec='${wl}-Bexport'
10943 runpath_var='LD_RUN_PATH'
10945 if test "$GCC" = yes; then
10946 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10947 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10948 else
10949 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10950 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10954 uts4*)
10955 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10956 hardcode_libdir_flag_spec='-L$libdir'
10957 hardcode_shlibpath_var=no
10961 ld_shlibs=no
10963 esac
10965 if test x$host_vendor = xsni; then
10966 case $host in
10967 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10968 export_dynamic_flag_spec='${wl}-Blargedynsym'
10970 esac
10974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10975 $as_echo "$ld_shlibs" >&6; }
10976 test "$ld_shlibs" = no && can_build_shared=no
10978 with_gnu_ld=$with_gnu_ld
10995 # Do we need to explicitly link libc?
10997 case "x$archive_cmds_need_lc" in
10998 x|xyes)
10999 # Assume -lc should be added
11000 archive_cmds_need_lc=yes
11002 if test "$enable_shared" = yes && test "$GCC" = yes; then
11003 case $archive_cmds in
11004 *'~'*)
11005 # FIXME: we may have to deal with multi-command sequences.
11007 '$CC '*)
11008 # Test whether the compiler implicitly links with -lc since on some
11009 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11010 # to ld, don't add -lc before -lgcc.
11011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11012 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11013 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
11014 $as_echo_n "(cached) " >&6
11015 else
11016 $RM conftest*
11017 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11019 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11020 (eval $ac_compile) 2>&5
11021 ac_status=$?
11022 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11023 test $ac_status = 0; } 2>conftest.err; then
11024 soname=conftest
11025 lib=conftest
11026 libobjs=conftest.$ac_objext
11027 deplibs=
11028 wl=$lt_prog_compiler_wl
11029 pic_flag=$lt_prog_compiler_pic
11030 compiler_flags=-v
11031 linker_flags=-v
11032 verstring=
11033 output_objdir=.
11034 libname=conftest
11035 lt_save_allow_undefined_flag=$allow_undefined_flag
11036 allow_undefined_flag=
11037 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11038 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11039 ac_status=$?
11040 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11041 test $ac_status = 0; }
11042 then
11043 lt_cv_archive_cmds_need_lc=no
11044 else
11045 lt_cv_archive_cmds_need_lc=yes
11047 allow_undefined_flag=$lt_save_allow_undefined_flag
11048 else
11049 cat conftest.err 1>&5
11051 $RM conftest*
11054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11055 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11056 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
11058 esac
11061 esac
11219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11220 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11222 if test "$GCC" = yes; then
11223 case $host_os in
11224 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
11225 *) lt_awk_arg="/^libraries:/" ;;
11226 esac
11227 case $host_os in
11228 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
11229 *) lt_sed_strip_eq="s,=/,/,g" ;;
11230 esac
11231 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11232 case $lt_search_path_spec in
11233 *\;*)
11234 # if the path contains ";" then we assume it to be the separator
11235 # otherwise default to the standard path separator (i.e. ":") - it is
11236 # assumed that no part of a normal pathname contains ";" but that should
11237 # okay in the real world where ";" in dirpaths is itself problematic.
11238 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11241 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11243 esac
11244 # Ok, now we have the path, separated by spaces, we can step through it
11245 # and add multilib dir if necessary.
11246 lt_tmp_lt_search_path_spec=
11247 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11248 for lt_sys_path in $lt_search_path_spec; do
11249 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11250 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11251 else
11252 test -d "$lt_sys_path" && \
11253 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11255 done
11256 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11257 BEGIN {RS=" "; FS="/|\n";} {
11258 lt_foo="";
11259 lt_count=0;
11260 for (lt_i = NF; lt_i > 0; lt_i--) {
11261 if ($lt_i != "" && $lt_i != ".") {
11262 if ($lt_i == "..") {
11263 lt_count++;
11264 } else {
11265 if (lt_count == 0) {
11266 lt_foo="/" $lt_i lt_foo;
11267 } else {
11268 lt_count--;
11273 if (lt_foo != "") { lt_freq[lt_foo]++; }
11274 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11276 # AWK program above erroneously prepends '/' to C:/dos/paths
11277 # for these hosts.
11278 case $host_os in
11279 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11280 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11281 esac
11282 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11283 else
11284 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11286 library_names_spec=
11287 libname_spec='lib$name'
11288 soname_spec=
11289 shrext_cmds=".so"
11290 postinstall_cmds=
11291 postuninstall_cmds=
11292 finish_cmds=
11293 finish_eval=
11294 shlibpath_var=
11295 shlibpath_overrides_runpath=unknown
11296 version_type=none
11297 dynamic_linker="$host_os ld.so"
11298 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11299 need_lib_prefix=unknown
11300 hardcode_into_libs=no
11302 # when you set need_version to no, make sure it does not cause -set_version
11303 # flags to be left without arguments
11304 need_version=unknown
11306 case $host_os in
11307 aix3*)
11308 version_type=linux
11309 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11310 shlibpath_var=LIBPATH
11312 # AIX 3 has no versioning support, so we append a major version to the name.
11313 soname_spec='${libname}${release}${shared_ext}$major'
11316 aix[4-9]*)
11317 version_type=linux
11318 need_lib_prefix=no
11319 need_version=no
11320 hardcode_into_libs=yes
11321 if test "$host_cpu" = ia64; then
11322 # AIX 5 supports IA64
11323 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11324 shlibpath_var=LD_LIBRARY_PATH
11325 else
11326 # With GCC up to 2.95.x, collect2 would create an import file
11327 # for dependence libraries. The import file would start with
11328 # the line `#! .'. This would cause the generated library to
11329 # depend on `.', always an invalid library. This was fixed in
11330 # development snapshots of GCC prior to 3.0.
11331 case $host_os in
11332 aix4 | aix4.[01] | aix4.[01].*)
11333 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11334 echo ' yes '
11335 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11337 else
11338 can_build_shared=no
11341 esac
11342 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11343 # soname into executable. Probably we can add versioning support to
11344 # collect2, so additional links can be useful in future.
11345 if test "$aix_use_runtimelinking" = yes; then
11346 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11347 # instead of lib<name>.a to let people know that these are not
11348 # typical AIX shared libraries.
11349 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11350 else
11351 # We preserve .a as extension for shared libraries through AIX4.2
11352 # and later when we are not doing run time linking.
11353 library_names_spec='${libname}${release}.a $libname.a'
11354 soname_spec='${libname}${release}${shared_ext}$major'
11356 shlibpath_var=LIBPATH
11360 amigaos*)
11361 case $host_cpu in
11362 powerpc)
11363 # Since July 2007 AmigaOS4 officially supports .so libraries.
11364 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11365 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11367 m68k)
11368 library_names_spec='$libname.ixlibrary $libname.a'
11369 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11370 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'
11372 esac
11375 beos*)
11376 library_names_spec='${libname}${shared_ext}'
11377 dynamic_linker="$host_os ld.so"
11378 shlibpath_var=LIBRARY_PATH
11381 bsdi[45]*)
11382 version_type=linux
11383 need_version=no
11384 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11385 soname_spec='${libname}${release}${shared_ext}$major'
11386 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11387 shlibpath_var=LD_LIBRARY_PATH
11388 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11389 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11390 # the default ld.so.conf also contains /usr/contrib/lib and
11391 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11392 # libtool to hard-code these into programs
11395 cygwin* | mingw* | pw32* | cegcc*)
11396 version_type=windows
11397 shrext_cmds=".dll"
11398 need_version=no
11399 need_lib_prefix=no
11401 case $GCC,$host_os in
11402 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
11403 library_names_spec='$libname.dll.a'
11404 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11405 postinstall_cmds='base_file=`basename \${file}`~
11406 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11407 dldir=$destdir/`dirname \$dlpath`~
11408 test -d \$dldir || mkdir -p \$dldir~
11409 $install_prog $dir/$dlname \$dldir/$dlname~
11410 chmod a+x \$dldir/$dlname~
11411 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11412 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11414 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11415 dlpath=$dir/\$dldll~
11416 $RM \$dlpath'
11417 shlibpath_overrides_runpath=yes
11419 case $host_os in
11420 cygwin*)
11421 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11422 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11424 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11426 mingw* | cegcc*)
11427 # MinGW DLLs use traditional 'lib' prefix
11428 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11430 pw32*)
11431 # pw32 DLLs use 'pw' prefix rather than 'lib'
11432 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11434 esac
11438 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11440 esac
11441 dynamic_linker='Win32 ld.exe'
11442 # FIXME: first we should search . and the directory the executable is in
11443 shlibpath_var=PATH
11446 darwin* | rhapsody*)
11447 dynamic_linker="$host_os dyld"
11448 version_type=darwin
11449 need_lib_prefix=no
11450 need_version=no
11451 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11452 soname_spec='${libname}${release}${major}$shared_ext'
11453 shlibpath_overrides_runpath=yes
11454 shlibpath_var=DYLD_LIBRARY_PATH
11455 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11457 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11458 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11461 dgux*)
11462 version_type=linux
11463 need_lib_prefix=no
11464 need_version=no
11465 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11466 soname_spec='${libname}${release}${shared_ext}$major'
11467 shlibpath_var=LD_LIBRARY_PATH
11470 freebsd* | dragonfly*)
11471 # DragonFly does not have aout. When/if they implement a new
11472 # versioning mechanism, adjust this.
11473 if test -x /usr/bin/objformat; then
11474 objformat=`/usr/bin/objformat`
11475 else
11476 case $host_os in
11477 freebsd[23].*) objformat=aout ;;
11478 *) objformat=elf ;;
11479 esac
11481 version_type=freebsd-$objformat
11482 case $version_type in
11483 freebsd-elf*)
11484 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11485 need_version=no
11486 need_lib_prefix=no
11488 freebsd-*)
11489 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11490 need_version=yes
11492 esac
11493 shlibpath_var=LD_LIBRARY_PATH
11494 case $host_os in
11495 freebsd2.*)
11496 shlibpath_overrides_runpath=yes
11498 freebsd3.[01]* | freebsdelf3.[01]*)
11499 shlibpath_overrides_runpath=yes
11500 hardcode_into_libs=yes
11502 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11503 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11504 shlibpath_overrides_runpath=no
11505 hardcode_into_libs=yes
11507 *) # from 4.6 on, and DragonFly
11508 shlibpath_overrides_runpath=yes
11509 hardcode_into_libs=yes
11511 esac
11514 gnu*)
11515 version_type=linux
11516 need_lib_prefix=no
11517 need_version=no
11518 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11519 soname_spec='${libname}${release}${shared_ext}$major'
11520 shlibpath_var=LD_LIBRARY_PATH
11521 hardcode_into_libs=yes
11524 haiku*)
11525 version_type=linux
11526 need_lib_prefix=no
11527 need_version=no
11528 dynamic_linker="$host_os runtime_loader"
11529 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11530 soname_spec='${libname}${release}${shared_ext}$major'
11531 shlibpath_var=LIBRARY_PATH
11532 shlibpath_overrides_runpath=yes
11533 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
11534 hardcode_into_libs=yes
11537 hpux9* | hpux10* | hpux11*)
11538 # Give a soname corresponding to the major version so that dld.sl refuses to
11539 # link against other versions.
11540 version_type=sunos
11541 need_lib_prefix=no
11542 need_version=no
11543 case $host_cpu in
11544 ia64*)
11545 shrext_cmds='.so'
11546 hardcode_into_libs=yes
11547 dynamic_linker="$host_os dld.so"
11548 shlibpath_var=LD_LIBRARY_PATH
11549 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11550 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11551 soname_spec='${libname}${release}${shared_ext}$major'
11552 if test "X$HPUX_IA64_MODE" = X32; then
11553 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11554 else
11555 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11557 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11559 hppa*64*)
11560 shrext_cmds='.sl'
11561 hardcode_into_libs=yes
11562 dynamic_linker="$host_os dld.sl"
11563 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11564 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11565 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11566 soname_spec='${libname}${release}${shared_ext}$major'
11567 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11568 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11571 shrext_cmds='.sl'
11572 dynamic_linker="$host_os dld.sl"
11573 shlibpath_var=SHLIB_PATH
11574 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11575 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11576 soname_spec='${libname}${release}${shared_ext}$major'
11578 esac
11579 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11580 postinstall_cmds='chmod 555 $lib'
11581 # or fails outright, so override atomically:
11582 install_override_mode=555
11585 interix[3-9]*)
11586 version_type=linux
11587 need_lib_prefix=no
11588 need_version=no
11589 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11590 soname_spec='${libname}${release}${shared_ext}$major'
11591 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11592 shlibpath_var=LD_LIBRARY_PATH
11593 shlibpath_overrides_runpath=no
11594 hardcode_into_libs=yes
11597 irix5* | irix6* | nonstopux*)
11598 case $host_os in
11599 nonstopux*) version_type=nonstopux ;;
11601 if test "$lt_cv_prog_gnu_ld" = yes; then
11602 version_type=linux
11603 else
11604 version_type=irix
11605 fi ;;
11606 esac
11607 need_lib_prefix=no
11608 need_version=no
11609 soname_spec='${libname}${release}${shared_ext}$major'
11610 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11611 case $host_os in
11612 irix5* | nonstopux*)
11613 libsuff= shlibsuff=
11616 case $LD in # libtool.m4 will add one of these switches to LD
11617 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11618 libsuff= shlibsuff= libmagic=32-bit;;
11619 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11620 libsuff=32 shlibsuff=N32 libmagic=N32;;
11621 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11622 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11623 *) libsuff= shlibsuff= libmagic=never-match;;
11624 esac
11626 esac
11627 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11628 shlibpath_overrides_runpath=no
11629 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11630 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11631 hardcode_into_libs=yes
11634 # No shared lib support for Linux oldld, aout, or coff.
11635 linux*oldld* | linux*aout* | linux*coff*)
11636 dynamic_linker=no
11639 # This must be Linux ELF.
11640 linux* | k*bsd*-gnu | kopensolaris*-gnu)
11641 version_type=linux
11642 need_lib_prefix=no
11643 need_version=no
11644 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11645 soname_spec='${libname}${release}${shared_ext}$major'
11646 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11647 shlibpath_var=LD_LIBRARY_PATH
11648 shlibpath_overrides_runpath=no
11650 # Some binutils ld are patched to set DT_RUNPATH
11651 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
11652 $as_echo_n "(cached) " >&6
11653 else
11654 lt_cv_shlibpath_overrides_runpath=no
11655 save_LDFLAGS=$LDFLAGS
11656 save_libdir=$libdir
11657 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11658 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11659 if test x$gcc_no_link = xyes; then
11660 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11663 /* end confdefs.h. */
11666 main ()
11670 return 0;
11672 _ACEOF
11673 if ac_fn_c_try_link "$LINENO"; then :
11674 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11675 lt_cv_shlibpath_overrides_runpath=yes
11678 rm -f core conftest.err conftest.$ac_objext \
11679 conftest$ac_exeext conftest.$ac_ext
11680 LDFLAGS=$save_LDFLAGS
11681 libdir=$save_libdir
11685 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11687 # This implies no fast_install, which is unacceptable.
11688 # Some rework will be needed to allow for fast_install
11689 # before this can be enabled.
11690 hardcode_into_libs=yes
11692 # Append ld.so.conf contents to the search path
11693 if test -f /etc/ld.so.conf; then
11694 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' ' '`
11695 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11698 # We used to test for /lib/ld.so.1 and disable shared libraries on
11699 # powerpc, because MkLinux only supported shared libraries with the
11700 # GNU dynamic linker. Since this was broken with cross compilers,
11701 # most powerpc-linux boxes support dynamic linking these days and
11702 # people can always --disable-shared, the test was removed, and we
11703 # assume the GNU/Linux dynamic linker is in use.
11704 dynamic_linker='GNU/Linux ld.so'
11707 netbsd*)
11708 version_type=sunos
11709 need_lib_prefix=no
11710 need_version=no
11711 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11712 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11713 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11714 dynamic_linker='NetBSD (a.out) ld.so'
11715 else
11716 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11717 soname_spec='${libname}${release}${shared_ext}$major'
11718 dynamic_linker='NetBSD ld.elf_so'
11720 shlibpath_var=LD_LIBRARY_PATH
11721 shlibpath_overrides_runpath=yes
11722 hardcode_into_libs=yes
11725 newsos6)
11726 version_type=linux
11727 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11728 shlibpath_var=LD_LIBRARY_PATH
11729 shlibpath_overrides_runpath=yes
11732 *nto* | *qnx*)
11733 version_type=qnx
11734 need_lib_prefix=no
11735 need_version=no
11736 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11737 soname_spec='${libname}${release}${shared_ext}$major'
11738 shlibpath_var=LD_LIBRARY_PATH
11739 shlibpath_overrides_runpath=no
11740 hardcode_into_libs=yes
11741 dynamic_linker='ldqnx.so'
11744 openbsd*)
11745 version_type=sunos
11746 sys_lib_dlsearch_path_spec="/usr/lib"
11747 need_lib_prefix=no
11748 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11749 case $host_os in
11750 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11751 *) need_version=no ;;
11752 esac
11753 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11754 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11755 shlibpath_var=LD_LIBRARY_PATH
11756 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11757 case $host_os in
11758 openbsd2.[89] | openbsd2.[89].*)
11759 shlibpath_overrides_runpath=no
11762 shlibpath_overrides_runpath=yes
11764 esac
11765 else
11766 shlibpath_overrides_runpath=yes
11770 os2*)
11771 libname_spec='$name'
11772 shrext_cmds=".dll"
11773 need_lib_prefix=no
11774 library_names_spec='$libname${shared_ext} $libname.a'
11775 dynamic_linker='OS/2 ld.exe'
11776 shlibpath_var=LIBPATH
11779 osf3* | osf4* | osf5*)
11780 version_type=osf
11781 need_lib_prefix=no
11782 need_version=no
11783 soname_spec='${libname}${release}${shared_ext}$major'
11784 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11785 shlibpath_var=LD_LIBRARY_PATH
11786 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11787 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11790 rdos*)
11791 dynamic_linker=no
11794 solaris*)
11795 version_type=linux
11796 need_lib_prefix=no
11797 need_version=no
11798 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11799 soname_spec='${libname}${release}${shared_ext}$major'
11800 shlibpath_var=LD_LIBRARY_PATH
11801 shlibpath_overrides_runpath=yes
11802 hardcode_into_libs=yes
11803 # ldd complains unless libraries are executable
11804 postinstall_cmds='chmod +x $lib'
11807 sunos4*)
11808 version_type=sunos
11809 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11810 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11811 shlibpath_var=LD_LIBRARY_PATH
11812 shlibpath_overrides_runpath=yes
11813 if test "$with_gnu_ld" = yes; then
11814 need_lib_prefix=no
11816 need_version=yes
11819 sysv4 | sysv4.3*)
11820 version_type=linux
11821 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11822 soname_spec='${libname}${release}${shared_ext}$major'
11823 shlibpath_var=LD_LIBRARY_PATH
11824 case $host_vendor in
11825 sni)
11826 shlibpath_overrides_runpath=no
11827 need_lib_prefix=no
11828 runpath_var=LD_RUN_PATH
11830 siemens)
11831 need_lib_prefix=no
11833 motorola)
11834 need_lib_prefix=no
11835 need_version=no
11836 shlibpath_overrides_runpath=no
11837 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11839 esac
11842 sysv4*MP*)
11843 if test -d /usr/nec ;then
11844 version_type=linux
11845 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11846 soname_spec='$libname${shared_ext}.$major'
11847 shlibpath_var=LD_LIBRARY_PATH
11851 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11852 version_type=freebsd-elf
11853 need_lib_prefix=no
11854 need_version=no
11855 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11856 soname_spec='${libname}${release}${shared_ext}$major'
11857 shlibpath_var=LD_LIBRARY_PATH
11858 shlibpath_overrides_runpath=yes
11859 hardcode_into_libs=yes
11860 if test "$with_gnu_ld" = yes; then
11861 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11862 else
11863 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11864 case $host_os in
11865 sco3.2v5*)
11866 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11868 esac
11870 sys_lib_dlsearch_path_spec='/usr/lib'
11873 tpf*)
11874 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11875 version_type=linux
11876 need_lib_prefix=no
11877 need_version=no
11878 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11879 shlibpath_var=LD_LIBRARY_PATH
11880 shlibpath_overrides_runpath=no
11881 hardcode_into_libs=yes
11884 uts4*)
11885 version_type=linux
11886 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11887 soname_spec='${libname}${release}${shared_ext}$major'
11888 shlibpath_var=LD_LIBRARY_PATH
11892 dynamic_linker=no
11894 esac
11895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11896 $as_echo "$dynamic_linker" >&6; }
11897 test "$dynamic_linker" = no && can_build_shared=no
11899 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11900 if test "$GCC" = yes; then
11901 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11904 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11905 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11907 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11908 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
12002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12003 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12004 hardcode_action=
12005 if test -n "$hardcode_libdir_flag_spec" ||
12006 test -n "$runpath_var" ||
12007 test "X$hardcode_automatic" = "Xyes" ; then
12009 # We can hardcode non-existent directories.
12010 if test "$hardcode_direct" != no &&
12011 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12012 # have to relink, otherwise we might link with an installed library
12013 # when we should be linking with a yet-to-be-installed one
12014 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12015 test "$hardcode_minus_L" != no; then
12016 # Linking always hardcodes the temporary library directory.
12017 hardcode_action=relink
12018 else
12019 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12020 hardcode_action=immediate
12022 else
12023 # We cannot hardcode anything, or else we can only hardcode existing
12024 # directories.
12025 hardcode_action=unsupported
12027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12028 $as_echo "$hardcode_action" >&6; }
12030 if test "$hardcode_action" = relink ||
12031 test "$inherit_rpath" = yes; then
12032 # Fast installation is not supported
12033 enable_fast_install=no
12034 elif test "$shlibpath_overrides_runpath" = yes ||
12035 test "$enable_shared" = no; then
12036 # Fast installation is not necessary
12037 enable_fast_install=needless
12045 if test "x$enable_dlopen" != xyes; then
12046 enable_dlopen=unknown
12047 enable_dlopen_self=unknown
12048 enable_dlopen_self_static=unknown
12049 else
12050 lt_cv_dlopen=no
12051 lt_cv_dlopen_libs=
12053 case $host_os in
12054 beos*)
12055 lt_cv_dlopen="load_add_on"
12056 lt_cv_dlopen_libs=
12057 lt_cv_dlopen_self=yes
12060 mingw* | pw32* | cegcc*)
12061 lt_cv_dlopen="LoadLibrary"
12062 lt_cv_dlopen_libs=
12065 cygwin*)
12066 lt_cv_dlopen="dlopen"
12067 lt_cv_dlopen_libs=
12070 darwin*)
12071 # if libdl is installed we need to link against it
12072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12073 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12074 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
12075 $as_echo_n "(cached) " >&6
12076 else
12077 ac_check_lib_save_LIBS=$LIBS
12078 LIBS="-ldl $LIBS"
12079 if test x$gcc_no_link = xyes; then
12080 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12083 /* end confdefs.h. */
12085 /* Override any GCC internal prototype to avoid an error.
12086 Use char because int might match the return type of a GCC
12087 builtin and then its argument prototype would still apply. */
12088 #ifdef __cplusplus
12089 extern "C"
12090 #endif
12091 char dlopen ();
12093 main ()
12095 return dlopen ();
12097 return 0;
12099 _ACEOF
12100 if ac_fn_c_try_link "$LINENO"; then :
12101 ac_cv_lib_dl_dlopen=yes
12102 else
12103 ac_cv_lib_dl_dlopen=no
12105 rm -f core conftest.err conftest.$ac_objext \
12106 conftest$ac_exeext conftest.$ac_ext
12107 LIBS=$ac_check_lib_save_LIBS
12109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12110 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12111 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
12112 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12113 else
12115 lt_cv_dlopen="dyld"
12116 lt_cv_dlopen_libs=
12117 lt_cv_dlopen_self=yes
12124 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12125 if test "x$ac_cv_func_shl_load" = x""yes; then :
12126 lt_cv_dlopen="shl_load"
12127 else
12128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12129 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12130 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
12131 $as_echo_n "(cached) " >&6
12132 else
12133 ac_check_lib_save_LIBS=$LIBS
12134 LIBS="-ldld $LIBS"
12135 if test x$gcc_no_link = xyes; then
12136 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12139 /* end confdefs.h. */
12141 /* Override any GCC internal prototype to avoid an error.
12142 Use char because int might match the return type of a GCC
12143 builtin and then its argument prototype would still apply. */
12144 #ifdef __cplusplus
12145 extern "C"
12146 #endif
12147 char shl_load ();
12149 main ()
12151 return shl_load ();
12153 return 0;
12155 _ACEOF
12156 if ac_fn_c_try_link "$LINENO"; then :
12157 ac_cv_lib_dld_shl_load=yes
12158 else
12159 ac_cv_lib_dld_shl_load=no
12161 rm -f core conftest.err conftest.$ac_objext \
12162 conftest$ac_exeext conftest.$ac_ext
12163 LIBS=$ac_check_lib_save_LIBS
12165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12166 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12167 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
12168 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
12169 else
12170 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12171 if test "x$ac_cv_func_dlopen" = x""yes; then :
12172 lt_cv_dlopen="dlopen"
12173 else
12174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12175 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12176 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
12177 $as_echo_n "(cached) " >&6
12178 else
12179 ac_check_lib_save_LIBS=$LIBS
12180 LIBS="-ldl $LIBS"
12181 if test x$gcc_no_link = xyes; then
12182 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12185 /* end confdefs.h. */
12187 /* Override any GCC internal prototype to avoid an error.
12188 Use char because int might match the return type of a GCC
12189 builtin and then its argument prototype would still apply. */
12190 #ifdef __cplusplus
12191 extern "C"
12192 #endif
12193 char dlopen ();
12195 main ()
12197 return dlopen ();
12199 return 0;
12201 _ACEOF
12202 if ac_fn_c_try_link "$LINENO"; then :
12203 ac_cv_lib_dl_dlopen=yes
12204 else
12205 ac_cv_lib_dl_dlopen=no
12207 rm -f core conftest.err conftest.$ac_objext \
12208 conftest$ac_exeext conftest.$ac_ext
12209 LIBS=$ac_check_lib_save_LIBS
12211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12212 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12213 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
12214 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12215 else
12216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12217 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12218 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
12219 $as_echo_n "(cached) " >&6
12220 else
12221 ac_check_lib_save_LIBS=$LIBS
12222 LIBS="-lsvld $LIBS"
12223 if test x$gcc_no_link = xyes; then
12224 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12227 /* end confdefs.h. */
12229 /* Override any GCC internal prototype to avoid an error.
12230 Use char because int might match the return type of a GCC
12231 builtin and then its argument prototype would still apply. */
12232 #ifdef __cplusplus
12233 extern "C"
12234 #endif
12235 char dlopen ();
12237 main ()
12239 return dlopen ();
12241 return 0;
12243 _ACEOF
12244 if ac_fn_c_try_link "$LINENO"; then :
12245 ac_cv_lib_svld_dlopen=yes
12246 else
12247 ac_cv_lib_svld_dlopen=no
12249 rm -f core conftest.err conftest.$ac_objext \
12250 conftest$ac_exeext conftest.$ac_ext
12251 LIBS=$ac_check_lib_save_LIBS
12253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12254 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12255 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
12256 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12257 else
12258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12259 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12260 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
12261 $as_echo_n "(cached) " >&6
12262 else
12263 ac_check_lib_save_LIBS=$LIBS
12264 LIBS="-ldld $LIBS"
12265 if test x$gcc_no_link = xyes; then
12266 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12269 /* end confdefs.h. */
12271 /* Override any GCC internal prototype to avoid an error.
12272 Use char because int might match the return type of a GCC
12273 builtin and then its argument prototype would still apply. */
12274 #ifdef __cplusplus
12275 extern "C"
12276 #endif
12277 char dld_link ();
12279 main ()
12281 return dld_link ();
12283 return 0;
12285 _ACEOF
12286 if ac_fn_c_try_link "$LINENO"; then :
12287 ac_cv_lib_dld_dld_link=yes
12288 else
12289 ac_cv_lib_dld_dld_link=no
12291 rm -f core conftest.err conftest.$ac_objext \
12292 conftest$ac_exeext conftest.$ac_ext
12293 LIBS=$ac_check_lib_save_LIBS
12295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12296 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12297 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
12298 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12317 esac
12319 if test "x$lt_cv_dlopen" != xno; then
12320 enable_dlopen=yes
12321 else
12322 enable_dlopen=no
12325 case $lt_cv_dlopen in
12326 dlopen)
12327 save_CPPFLAGS="$CPPFLAGS"
12328 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12330 save_LDFLAGS="$LDFLAGS"
12331 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12333 save_LIBS="$LIBS"
12334 LIBS="$lt_cv_dlopen_libs $LIBS"
12336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12337 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12338 if test "${lt_cv_dlopen_self+set}" = set; then :
12339 $as_echo_n "(cached) " >&6
12340 else
12341 if test "$cross_compiling" = yes; then :
12342 lt_cv_dlopen_self=cross
12343 else
12344 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12345 lt_status=$lt_dlunknown
12346 cat > conftest.$ac_ext <<_LT_EOF
12347 #line 12347 "configure"
12348 #include "confdefs.h"
12350 #if HAVE_DLFCN_H
12351 #include <dlfcn.h>
12352 #endif
12354 #include <stdio.h>
12356 #ifdef RTLD_GLOBAL
12357 # define LT_DLGLOBAL RTLD_GLOBAL
12358 #else
12359 # ifdef DL_GLOBAL
12360 # define LT_DLGLOBAL DL_GLOBAL
12361 # else
12362 # define LT_DLGLOBAL 0
12363 # endif
12364 #endif
12366 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12367 find out it does not work in some platform. */
12368 #ifndef LT_DLLAZY_OR_NOW
12369 # ifdef RTLD_LAZY
12370 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12371 # else
12372 # ifdef DL_LAZY
12373 # define LT_DLLAZY_OR_NOW DL_LAZY
12374 # else
12375 # ifdef RTLD_NOW
12376 # define LT_DLLAZY_OR_NOW RTLD_NOW
12377 # else
12378 # ifdef DL_NOW
12379 # define LT_DLLAZY_OR_NOW DL_NOW
12380 # else
12381 # define LT_DLLAZY_OR_NOW 0
12382 # endif
12383 # endif
12384 # endif
12385 # endif
12386 #endif
12388 /* When -fvisbility=hidden is used, assume the code has been annotated
12389 correspondingly for the symbols needed. */
12390 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12391 void fnord () __attribute__((visibility("default")));
12392 #endif
12394 void fnord () { int i=42; }
12395 int main ()
12397 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12398 int status = $lt_dlunknown;
12400 if (self)
12402 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12403 else
12405 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12406 else puts (dlerror ());
12408 /* dlclose (self); */
12410 else
12411 puts (dlerror ());
12413 return status;
12415 _LT_EOF
12416 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12417 (eval $ac_link) 2>&5
12418 ac_status=$?
12419 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12420 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12421 (./conftest; exit; ) >&5 2>/dev/null
12422 lt_status=$?
12423 case x$lt_status in
12424 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12425 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12426 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12427 esac
12428 else :
12429 # compilation failed
12430 lt_cv_dlopen_self=no
12433 rm -fr conftest*
12437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12438 $as_echo "$lt_cv_dlopen_self" >&6; }
12440 if test "x$lt_cv_dlopen_self" = xyes; then
12441 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12443 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12444 if test "${lt_cv_dlopen_self_static+set}" = set; then :
12445 $as_echo_n "(cached) " >&6
12446 else
12447 if test "$cross_compiling" = yes; then :
12448 lt_cv_dlopen_self_static=cross
12449 else
12450 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12451 lt_status=$lt_dlunknown
12452 cat > conftest.$ac_ext <<_LT_EOF
12453 #line 12453 "configure"
12454 #include "confdefs.h"
12456 #if HAVE_DLFCN_H
12457 #include <dlfcn.h>
12458 #endif
12460 #include <stdio.h>
12462 #ifdef RTLD_GLOBAL
12463 # define LT_DLGLOBAL RTLD_GLOBAL
12464 #else
12465 # ifdef DL_GLOBAL
12466 # define LT_DLGLOBAL DL_GLOBAL
12467 # else
12468 # define LT_DLGLOBAL 0
12469 # endif
12470 #endif
12472 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12473 find out it does not work in some platform. */
12474 #ifndef LT_DLLAZY_OR_NOW
12475 # ifdef RTLD_LAZY
12476 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12477 # else
12478 # ifdef DL_LAZY
12479 # define LT_DLLAZY_OR_NOW DL_LAZY
12480 # else
12481 # ifdef RTLD_NOW
12482 # define LT_DLLAZY_OR_NOW RTLD_NOW
12483 # else
12484 # ifdef DL_NOW
12485 # define LT_DLLAZY_OR_NOW DL_NOW
12486 # else
12487 # define LT_DLLAZY_OR_NOW 0
12488 # endif
12489 # endif
12490 # endif
12491 # endif
12492 #endif
12494 /* When -fvisbility=hidden is used, assume the code has been annotated
12495 correspondingly for the symbols needed. */
12496 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12497 void fnord () __attribute__((visibility("default")));
12498 #endif
12500 void fnord () { int i=42; }
12501 int main ()
12503 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12504 int status = $lt_dlunknown;
12506 if (self)
12508 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12509 else
12511 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12512 else puts (dlerror ());
12514 /* dlclose (self); */
12516 else
12517 puts (dlerror ());
12519 return status;
12521 _LT_EOF
12522 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12523 (eval $ac_link) 2>&5
12524 ac_status=$?
12525 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12526 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12527 (./conftest; exit; ) >&5 2>/dev/null
12528 lt_status=$?
12529 case x$lt_status in
12530 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12531 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12532 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12533 esac
12534 else :
12535 # compilation failed
12536 lt_cv_dlopen_self_static=no
12539 rm -fr conftest*
12543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12544 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12547 CPPFLAGS="$save_CPPFLAGS"
12548 LDFLAGS="$save_LDFLAGS"
12549 LIBS="$save_LIBS"
12551 esac
12553 case $lt_cv_dlopen_self in
12554 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12555 *) enable_dlopen_self=unknown ;;
12556 esac
12558 case $lt_cv_dlopen_self_static in
12559 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12560 *) enable_dlopen_self_static=unknown ;;
12561 esac
12580 striplib=
12581 old_striplib=
12582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12583 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12584 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12585 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12586 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12588 $as_echo "yes" >&6; }
12589 else
12590 # FIXME - insert some real tests, host_os isn't really good enough
12591 case $host_os in
12592 darwin*)
12593 if test -n "$STRIP" ; then
12594 striplib="$STRIP -x"
12595 old_striplib="$STRIP -S"
12596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12597 $as_echo "yes" >&6; }
12598 else
12599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12600 $as_echo "no" >&6; }
12604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12605 $as_echo "no" >&6; }
12607 esac
12621 # Report which library types will actually be built
12622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12623 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12625 $as_echo "$can_build_shared" >&6; }
12627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12628 $as_echo_n "checking whether to build shared libraries... " >&6; }
12629 test "$can_build_shared" = "no" && enable_shared=no
12631 # On AIX, shared libraries and static libraries use the same namespace, and
12632 # are all built from PIC.
12633 case $host_os in
12634 aix3*)
12635 test "$enable_shared" = yes && enable_static=no
12636 if test -n "$RANLIB"; then
12637 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12638 postinstall_cmds='$RANLIB $lib'
12642 aix[4-9]*)
12643 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12644 test "$enable_shared" = yes && enable_static=no
12647 esac
12648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12649 $as_echo "$enable_shared" >&6; }
12651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12652 $as_echo_n "checking whether to build static libraries... " >&6; }
12653 # Make sure either enable_shared or enable_static is yes.
12654 test "$enable_shared" = yes || enable_static=yes
12655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12656 $as_echo "$enable_static" >&6; }
12662 ac_ext=c
12663 ac_cpp='$CPP $CPPFLAGS'
12664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12668 CC="$lt_save_CC"
12682 ac_config_commands="$ac_config_commands libtool"
12687 # Only expand once:
12693 case $host in
12694 *-cygwin* | *-mingw*)
12695 # 'host' will be top-level target in the case of a target lib,
12696 # we must compare to with_cross_host to decide if this is a native
12697 # or cross-compiler and select where to install dlls appropriately.
12698 if test -n "$with_cross_host" &&
12699 test x"$with_cross_host" != x"no"; then
12700 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
12701 else
12702 lt_host_flags='-no-undefined -bindir "$(bindir)"';
12706 lt_host_flags=
12708 esac
12714 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
12716 # We need gfortran to compile parts of the library
12717 #AC_PROG_FC(gfortran)
12718 FC="$GFORTRAN"
12719 ac_ext=${ac_fc_srcext-f}
12720 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
12721 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
12722 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
12723 if test -n "$ac_tool_prefix"; then
12724 for ac_prog in gfortran
12726 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12727 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12729 $as_echo_n "checking for $ac_word... " >&6; }
12730 if test "${ac_cv_prog_FC+set}" = set; then :
12731 $as_echo_n "(cached) " >&6
12732 else
12733 if test -n "$FC"; then
12734 ac_cv_prog_FC="$FC" # Let the user override the test.
12735 else
12736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12737 for as_dir in $PATH
12739 IFS=$as_save_IFS
12740 test -z "$as_dir" && as_dir=.
12741 for ac_exec_ext in '' $ac_executable_extensions; do
12742 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12743 ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
12744 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12745 break 2
12747 done
12748 done
12749 IFS=$as_save_IFS
12753 FC=$ac_cv_prog_FC
12754 if test -n "$FC"; then
12755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FC" >&5
12756 $as_echo "$FC" >&6; }
12757 else
12758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12759 $as_echo "no" >&6; }
12763 test -n "$FC" && break
12764 done
12766 if test -z "$FC"; then
12767 ac_ct_FC=$FC
12768 for ac_prog in gfortran
12770 # Extract the first word of "$ac_prog", so it can be a program name with args.
12771 set dummy $ac_prog; ac_word=$2
12772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12773 $as_echo_n "checking for $ac_word... " >&6; }
12774 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then :
12775 $as_echo_n "(cached) " >&6
12776 else
12777 if test -n "$ac_ct_FC"; then
12778 ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
12779 else
12780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12781 for as_dir in $PATH
12783 IFS=$as_save_IFS
12784 test -z "$as_dir" && as_dir=.
12785 for ac_exec_ext in '' $ac_executable_extensions; do
12786 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12787 ac_cv_prog_ac_ct_FC="$ac_prog"
12788 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12789 break 2
12791 done
12792 done
12793 IFS=$as_save_IFS
12797 ac_ct_FC=$ac_cv_prog_ac_ct_FC
12798 if test -n "$ac_ct_FC"; then
12799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FC" >&5
12800 $as_echo "$ac_ct_FC" >&6; }
12801 else
12802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12803 $as_echo "no" >&6; }
12807 test -n "$ac_ct_FC" && break
12808 done
12810 if test "x$ac_ct_FC" = x; then
12811 FC=""
12812 else
12813 case $cross_compiling:$ac_tool_warned in
12814 yes:)
12815 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12816 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12817 ac_tool_warned=yes ;;
12818 esac
12819 FC=$ac_ct_FC
12824 # Provide some information about the compiler.
12825 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran compiler version" >&5
12826 set X $ac_compile
12827 ac_compiler=$2
12828 for ac_option in --version -v -V -qversion; do
12829 { { ac_try="$ac_compiler $ac_option >&5"
12830 case "(($ac_try" in
12831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12832 *) ac_try_echo=$ac_try;;
12833 esac
12834 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12835 $as_echo "$ac_try_echo"; } >&5
12836 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12837 ac_status=$?
12838 if test -s conftest.err; then
12839 sed '10a\
12840 ... rest of stderr output deleted ...
12841 10q' conftest.err >conftest.er1
12842 cat conftest.er1 >&5
12843 rm -f conftest.er1 conftest.err
12845 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12846 test $ac_status = 0; }
12847 done
12848 rm -f a.out
12850 # If we don't use `.F' as extension, the preprocessor is not run on the
12851 # input file. (Note that this only needs to work for GNU compilers.)
12852 ac_save_ext=$ac_ext
12853 ac_ext=F
12854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&5
12855 $as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; }
12856 if test "${ac_cv_fc_compiler_gnu+set}" = set; then :
12857 $as_echo_n "(cached) " >&6
12858 else
12859 cat > conftest.$ac_ext <<_ACEOF
12860 program main
12861 #ifndef __GNUC__
12862 choke me
12863 #endif
12866 _ACEOF
12867 if ac_fn_fc_try_compile "$LINENO"; then :
12868 ac_compiler_gnu=yes
12869 else
12870 ac_compiler_gnu=no
12872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12873 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
12876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_compiler_gnu" >&5
12877 $as_echo "$ac_cv_fc_compiler_gnu" >&6; }
12878 ac_ext=$ac_save_ext
12879 ac_test_FCFLAGS=${FCFLAGS+set}
12880 ac_save_FCFLAGS=$FCFLAGS
12881 FCFLAGS=
12882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5
12883 $as_echo_n "checking whether $FC accepts -g... " >&6; }
12884 if test "${ac_cv_prog_fc_g+set}" = set; then :
12885 $as_echo_n "(cached) " >&6
12886 else
12887 FCFLAGS=-g
12888 cat > conftest.$ac_ext <<_ACEOF
12889 program main
12892 _ACEOF
12893 if ac_fn_fc_try_compile "$LINENO"; then :
12894 ac_cv_prog_fc_g=yes
12895 else
12896 ac_cv_prog_fc_g=no
12898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_fc_g" >&5
12902 $as_echo "$ac_cv_prog_fc_g" >&6; }
12903 if test "$ac_test_FCFLAGS" = set; then
12904 FCFLAGS=$ac_save_FCFLAGS
12905 elif test $ac_cv_prog_fc_g = yes; then
12906 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
12907 FCFLAGS="-g -O2"
12908 else
12909 FCFLAGS="-g"
12911 else
12912 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
12913 FCFLAGS="-O2"
12914 else
12915 FCFLAGS=
12919 ac_ext=c
12920 ac_cpp='$CPP $CPPFLAGS'
12921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12925 ac_ext=${ac_fc_srcext-f}
12926 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
12927 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
12928 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
12931 if test -z "$FC" || test "X$FC" = "Xno"; then
12932 _lt_disable_FC=yes
12935 archive_cmds_need_lc_FC=no
12936 allow_undefined_flag_FC=
12937 always_export_symbols_FC=no
12938 archive_expsym_cmds_FC=
12939 export_dynamic_flag_spec_FC=
12940 hardcode_direct_FC=no
12941 hardcode_direct_absolute_FC=no
12942 hardcode_libdir_flag_spec_FC=
12943 hardcode_libdir_flag_spec_ld_FC=
12944 hardcode_libdir_separator_FC=
12945 hardcode_minus_L_FC=no
12946 hardcode_automatic_FC=no
12947 inherit_rpath_FC=no
12948 module_cmds_FC=
12949 module_expsym_cmds_FC=
12950 link_all_deplibs_FC=unknown
12951 old_archive_cmds_FC=$old_archive_cmds
12952 reload_flag_FC=$reload_flag
12953 reload_cmds_FC=$reload_cmds
12954 no_undefined_flag_FC=
12955 whole_archive_flag_spec_FC=
12956 enable_shared_with_static_runtimes_FC=no
12958 # Source file extension for fc test sources.
12959 ac_ext=${ac_fc_srcext-f}
12961 # Object file extension for compiled fc test sources.
12962 objext=o
12963 objext_FC=$objext
12965 # No sense in running all these tests if we already determined that
12966 # the FC compiler isn't working. Some variables (like enable_shared)
12967 # are currently assumed to apply to all compilers on this platform,
12968 # and will be corrupted by setting them based on a non-working compiler.
12969 if test "$_lt_disable_FC" != yes; then
12970 # Code to be used in simple compile tests
12971 lt_simple_compile_test_code="\
12972 subroutine t
12973 return
12977 # Code to be used in simple link tests
12978 lt_simple_link_test_code="\
12979 program t
12983 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12990 # If no C compiler was specified, use CC.
12991 LTCC=${LTCC-"$CC"}
12993 # If no C compiler flags were specified, use CFLAGS.
12994 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12996 # Allow CC to be a program name with arguments.
12997 compiler=$CC
13000 # save warnings/boilerplate of simple test code
13001 ac_outfile=conftest.$ac_objext
13002 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
13003 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13004 _lt_compiler_boilerplate=`cat conftest.err`
13005 $RM conftest*
13007 ac_outfile=conftest.$ac_objext
13008 echo "$lt_simple_link_test_code" >conftest.$ac_ext
13009 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13010 _lt_linker_boilerplate=`cat conftest.err`
13011 $RM -r conftest*
13014 # Allow CC to be a program name with arguments.
13015 lt_save_CC="$CC"
13016 lt_save_GCC=$GCC
13017 CC=${FC-"f95"}
13018 compiler=$CC
13019 GCC=$ac_cv_fc_compiler_gnu
13021 compiler_FC=$CC
13022 for cc_temp in $compiler""; do
13023 case $cc_temp in
13024 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
13025 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
13026 \-*) ;;
13027 *) break;;
13028 esac
13029 done
13030 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
13033 if test -n "$compiler"; then
13034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13035 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13037 $as_echo "$can_build_shared" >&6; }
13039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13040 $as_echo_n "checking whether to build shared libraries... " >&6; }
13041 test "$can_build_shared" = "no" && enable_shared=no
13043 # On AIX, shared libraries and static libraries use the same namespace, and
13044 # are all built from PIC.
13045 case $host_os in
13046 aix3*)
13047 test "$enable_shared" = yes && enable_static=no
13048 if test -n "$RANLIB"; then
13049 archive_cmds="$archive_cmds~\$RANLIB \$lib"
13050 postinstall_cmds='$RANLIB $lib'
13053 aix[4-9]*)
13054 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
13055 test "$enable_shared" = yes && enable_static=no
13058 esac
13059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13060 $as_echo "$enable_shared" >&6; }
13062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13063 $as_echo_n "checking whether to build static libraries... " >&6; }
13064 # Make sure either enable_shared or enable_static is yes.
13065 test "$enable_shared" = yes || enable_static=yes
13066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13067 $as_echo "$enable_static" >&6; }
13069 GCC_FC="$ac_cv_fc_compiler_gnu"
13070 LD_FC="$LD"
13072 ## CAVEAT EMPTOR:
13073 ## There is no encapsulation within the following macros, do not change
13074 ## the running order or otherwise move them around unless you know exactly
13075 ## what you are doing...
13076 # Dependencies to place before and after the object being linked:
13077 predep_objects_FC=
13078 postdep_objects_FC=
13079 predeps_FC=
13080 postdeps_FC=
13081 compiler_lib_search_path_FC=
13083 cat > conftest.$ac_ext <<_LT_EOF
13084 subroutine foo
13085 implicit none
13086 integer a
13088 return
13090 _LT_EOF
13092 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13093 (eval $ac_compile) 2>&5
13094 ac_status=$?
13095 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13096 test $ac_status = 0; }; then
13097 # Parse the compiler output and extract the necessary
13098 # objects, libraries and library flags.
13100 # Sentinel used to keep track of whether or not we are before
13101 # the conftest object file.
13102 pre_test_object_deps_done=no
13104 for p in `eval "$output_verbose_link_cmd"`; do
13105 case $p in
13107 -L* | -R* | -l*)
13108 # Some compilers place space between "-{L,R}" and the path.
13109 # Remove the space.
13110 if test $p = "-L" ||
13111 test $p = "-R"; then
13112 prev=$p
13113 continue
13114 else
13115 prev=
13118 if test "$pre_test_object_deps_done" = no; then
13119 case $p in
13120 -L* | -R*)
13121 # Internal compiler library paths should come after those
13122 # provided the user. The postdeps already come after the
13123 # user supplied libs so there is no need to process them.
13124 if test -z "$compiler_lib_search_path_FC"; then
13125 compiler_lib_search_path_FC="${prev}${p}"
13126 else
13127 compiler_lib_search_path_FC="${compiler_lib_search_path_FC} ${prev}${p}"
13130 # The "-l" case would never come before the object being
13131 # linked, so don't bother handling this case.
13132 esac
13133 else
13134 if test -z "$postdeps_FC"; then
13135 postdeps_FC="${prev}${p}"
13136 else
13137 postdeps_FC="${postdeps_FC} ${prev}${p}"
13142 *.$objext)
13143 # This assumes that the test object file only shows up
13144 # once in the compiler output.
13145 if test "$p" = "conftest.$objext"; then
13146 pre_test_object_deps_done=yes
13147 continue
13150 if test "$pre_test_object_deps_done" = no; then
13151 if test -z "$predep_objects_FC"; then
13152 predep_objects_FC="$p"
13153 else
13154 predep_objects_FC="$predep_objects_FC $p"
13156 else
13157 if test -z "$postdep_objects_FC"; then
13158 postdep_objects_FC="$p"
13159 else
13160 postdep_objects_FC="$postdep_objects_FC $p"
13165 *) ;; # Ignore the rest.
13167 esac
13168 done
13170 # Clean up.
13171 rm -f a.out a.exe
13172 else
13173 echo "libtool.m4: error: problem compiling FC test program"
13176 $RM -f confest.$objext
13178 # PORTME: override above test on systems where it is broken
13181 case " $postdeps_FC " in
13182 *" -lc "*) archive_cmds_need_lc_FC=no ;;
13183 esac
13184 compiler_lib_search_dirs_FC=
13185 if test -n "${compiler_lib_search_path_FC}"; then
13186 compiler_lib_search_dirs_FC=`echo " ${compiler_lib_search_path_FC}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13219 lt_prog_compiler_wl_FC=
13220 lt_prog_compiler_pic_FC=
13221 lt_prog_compiler_static_FC=
13223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13224 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13226 if test "$GCC" = yes; then
13227 lt_prog_compiler_wl_FC='-Wl,'
13228 lt_prog_compiler_static_FC='-static'
13230 case $host_os in
13231 aix*)
13232 # All AIX code is PIC.
13233 if test "$host_cpu" = ia64; then
13234 # AIX 5 now supports IA64 processor
13235 lt_prog_compiler_static_FC='-Bstatic'
13237 lt_prog_compiler_pic_FC='-fPIC'
13240 amigaos*)
13241 case $host_cpu in
13242 powerpc)
13243 # see comment about AmigaOS4 .so support
13244 lt_prog_compiler_pic_FC='-fPIC'
13246 m68k)
13247 # FIXME: we need at least 68020 code to build shared libraries, but
13248 # adding the `-m68020' flag to GCC prevents building anything better,
13249 # like `-m68040'.
13250 lt_prog_compiler_pic_FC='-m68020 -resident32 -malways-restore-a4'
13252 esac
13255 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13256 # PIC is the default for these OSes.
13259 mingw* | cygwin* | pw32* | os2* | cegcc*)
13260 # This hack is so that the source file can tell whether it is being
13261 # built for inclusion in a dll (and should export symbols for example).
13262 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13263 # (--disable-auto-import) libraries
13264 lt_prog_compiler_pic_FC='-DDLL_EXPORT'
13267 darwin* | rhapsody*)
13268 # PIC is the default on this platform
13269 # Common symbols not allowed in MH_DYLIB files
13270 lt_prog_compiler_pic_FC='-fno-common'
13273 haiku*)
13274 # PIC is the default for Haiku.
13275 # The "-static" flag exists, but is broken.
13276 lt_prog_compiler_static_FC=
13279 hpux*)
13280 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13281 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13282 # sets the default TLS model and affects inlining.
13283 case $host_cpu in
13284 hppa*64*)
13285 # +Z the default
13288 lt_prog_compiler_pic_FC='-fPIC'
13290 esac
13293 interix[3-9]*)
13294 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13295 # Instead, we relocate shared libraries at runtime.
13298 msdosdjgpp*)
13299 # Just because we use GCC doesn't mean we suddenly get shared libraries
13300 # on systems that don't support them.
13301 lt_prog_compiler_can_build_shared_FC=no
13302 enable_shared=no
13305 *nto* | *qnx*)
13306 # QNX uses GNU C++, but need to define -shared option too, otherwise
13307 # it will coredump.
13308 lt_prog_compiler_pic_FC='-fPIC -shared'
13311 sysv4*MP*)
13312 if test -d /usr/nec; then
13313 lt_prog_compiler_pic_FC=-Kconform_pic
13318 lt_prog_compiler_pic_FC='-fPIC'
13320 esac
13322 case $cc_basename in
13323 nvcc*) # Cuda Compiler Driver 2.2
13324 lt_prog_compiler_wl_FC='-Xlinker '
13325 lt_prog_compiler_pic_FC='-Xcompiler -fPIC'
13327 esac
13328 else
13329 # PORTME Check for flag to pass linker flags through the system compiler.
13330 case $host_os in
13331 aix*)
13332 lt_prog_compiler_wl_FC='-Wl,'
13333 if test "$host_cpu" = ia64; then
13334 # AIX 5 now supports IA64 processor
13335 lt_prog_compiler_static_FC='-Bstatic'
13336 else
13337 lt_prog_compiler_static_FC='-bnso -bI:/lib/syscalls.exp'
13341 mingw* | cygwin* | pw32* | os2* | cegcc*)
13342 # This hack is so that the source file can tell whether it is being
13343 # built for inclusion in a dll (and should export symbols for example).
13344 lt_prog_compiler_pic_FC='-DDLL_EXPORT'
13347 hpux9* | hpux10* | hpux11*)
13348 lt_prog_compiler_wl_FC='-Wl,'
13349 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13350 # not for PA HP-UX.
13351 case $host_cpu in
13352 hppa*64*|ia64*)
13353 # +Z the default
13356 lt_prog_compiler_pic_FC='+Z'
13358 esac
13359 # Is there a better lt_prog_compiler_static that works with the bundled CC?
13360 lt_prog_compiler_static_FC='${wl}-a ${wl}archive'
13363 irix5* | irix6* | nonstopux*)
13364 lt_prog_compiler_wl_FC='-Wl,'
13365 # PIC (with -KPIC) is the default.
13366 lt_prog_compiler_static_FC='-non_shared'
13369 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13370 case $cc_basename in
13371 # old Intel for x86_64 which still supported -KPIC.
13372 ecc*)
13373 lt_prog_compiler_wl_FC='-Wl,'
13374 lt_prog_compiler_pic_FC='-KPIC'
13375 lt_prog_compiler_static_FC='-static'
13377 # icc used to be incompatible with GCC.
13378 # ICC 10 doesn't accept -KPIC any more.
13379 icc* | ifort*)
13380 lt_prog_compiler_wl_FC='-Wl,'
13381 lt_prog_compiler_pic_FC='-fPIC'
13382 lt_prog_compiler_static_FC='-static'
13384 # Lahey Fortran 8.1.
13385 lf95*)
13386 lt_prog_compiler_wl_FC='-Wl,'
13387 lt_prog_compiler_pic_FC='--shared'
13388 lt_prog_compiler_static_FC='--static'
13390 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
13391 # Portland Group compilers (*not* the Pentium gcc compiler,
13392 # which looks to be a dead project)
13393 lt_prog_compiler_wl_FC='-Wl,'
13394 lt_prog_compiler_pic_FC='-fpic'
13395 lt_prog_compiler_static_FC='-Bstatic'
13397 ccc*)
13398 lt_prog_compiler_wl_FC='-Wl,'
13399 # All Alpha code is PIC.
13400 lt_prog_compiler_static_FC='-non_shared'
13402 xl* | bgxl* | bgf* | mpixl*)
13403 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
13404 lt_prog_compiler_wl_FC='-Wl,'
13405 lt_prog_compiler_pic_FC='-qpic'
13406 lt_prog_compiler_static_FC='-qstaticlink'
13409 case `$CC -V 2>&1 | sed 5q` in
13410 *Sun\ F* | *Sun*Fortran*)
13411 # Sun Fortran 8.3 passes all unrecognized flags to the linker
13412 lt_prog_compiler_pic_FC='-KPIC'
13413 lt_prog_compiler_static_FC='-Bstatic'
13414 lt_prog_compiler_wl_FC=''
13416 *Sun\ C*)
13417 # Sun C 5.9
13418 lt_prog_compiler_pic_FC='-KPIC'
13419 lt_prog_compiler_static_FC='-Bstatic'
13420 lt_prog_compiler_wl_FC='-Wl,'
13422 esac
13424 esac
13427 newsos6)
13428 lt_prog_compiler_pic_FC='-KPIC'
13429 lt_prog_compiler_static_FC='-Bstatic'
13432 *nto* | *qnx*)
13433 # QNX uses GNU C++, but need to define -shared option too, otherwise
13434 # it will coredump.
13435 lt_prog_compiler_pic_FC='-fPIC -shared'
13438 osf3* | osf4* | osf5*)
13439 lt_prog_compiler_wl_FC='-Wl,'
13440 # All OSF/1 code is PIC.
13441 lt_prog_compiler_static_FC='-non_shared'
13444 rdos*)
13445 lt_prog_compiler_static_FC='-non_shared'
13448 solaris*)
13449 lt_prog_compiler_pic_FC='-KPIC'
13450 lt_prog_compiler_static_FC='-Bstatic'
13451 case $cc_basename in
13452 f77* | f90* | f95*)
13453 lt_prog_compiler_wl_FC='-Qoption ld ';;
13455 lt_prog_compiler_wl_FC='-Wl,';;
13456 esac
13459 sunos4*)
13460 lt_prog_compiler_wl_FC='-Qoption ld '
13461 lt_prog_compiler_pic_FC='-PIC'
13462 lt_prog_compiler_static_FC='-Bstatic'
13465 sysv4 | sysv4.2uw2* | sysv4.3*)
13466 lt_prog_compiler_wl_FC='-Wl,'
13467 lt_prog_compiler_pic_FC='-KPIC'
13468 lt_prog_compiler_static_FC='-Bstatic'
13471 sysv4*MP*)
13472 if test -d /usr/nec ;then
13473 lt_prog_compiler_pic_FC='-Kconform_pic'
13474 lt_prog_compiler_static_FC='-Bstatic'
13478 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13479 lt_prog_compiler_wl_FC='-Wl,'
13480 lt_prog_compiler_pic_FC='-KPIC'
13481 lt_prog_compiler_static_FC='-Bstatic'
13484 unicos*)
13485 lt_prog_compiler_wl_FC='-Wl,'
13486 lt_prog_compiler_can_build_shared_FC=no
13489 uts4*)
13490 lt_prog_compiler_pic_FC='-pic'
13491 lt_prog_compiler_static_FC='-Bstatic'
13495 lt_prog_compiler_can_build_shared_FC=no
13497 esac
13500 case $host_os in
13501 # For platforms which do not support PIC, -DPIC is meaningless:
13502 *djgpp*)
13503 lt_prog_compiler_pic_FC=
13506 lt_prog_compiler_pic_FC="$lt_prog_compiler_pic_FC"
13508 esac
13509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_FC" >&5
13510 $as_echo "$lt_prog_compiler_pic_FC" >&6; }
13515 # Check to make sure the PIC flag actually works.
13517 if test -n "$lt_prog_compiler_pic_FC"; then
13518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_FC works" >&5
13519 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_FC works... " >&6; }
13520 if test "${lt_cv_prog_compiler_pic_works_FC+set}" = set; then :
13521 $as_echo_n "(cached) " >&6
13522 else
13523 lt_cv_prog_compiler_pic_works_FC=no
13524 ac_outfile=conftest.$ac_objext
13525 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13526 lt_compiler_flag="$lt_prog_compiler_pic_FC"
13527 # Insert the option either (1) after the last *FLAGS variable, or
13528 # (2) before a word containing "conftest.", or (3) at the end.
13529 # Note that $ac_compile itself does not contain backslashes and begins
13530 # with a dollar sign (not a hyphen), so the echo should work correctly.
13531 # The option is referenced via a variable to avoid confusing sed.
13532 lt_compile=`echo "$ac_compile" | $SED \
13533 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13534 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13535 -e 's:$: $lt_compiler_flag:'`
13536 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13537 (eval "$lt_compile" 2>conftest.err)
13538 ac_status=$?
13539 cat conftest.err >&5
13540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13541 if (exit $ac_status) && test -s "$ac_outfile"; then
13542 # The compiler can only warn and ignore the option if not recognized
13543 # So say no if there are warnings other than the usual output.
13544 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13545 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13546 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13547 lt_cv_prog_compiler_pic_works_FC=yes
13550 $RM conftest*
13553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_FC" >&5
13554 $as_echo "$lt_cv_prog_compiler_pic_works_FC" >&6; }
13556 if test x"$lt_cv_prog_compiler_pic_works_FC" = xyes; then
13557 case $lt_prog_compiler_pic_FC in
13558 "" | " "*) ;;
13559 *) lt_prog_compiler_pic_FC=" $lt_prog_compiler_pic_FC" ;;
13560 esac
13561 else
13562 lt_prog_compiler_pic_FC=
13563 lt_prog_compiler_can_build_shared_FC=no
13571 # Check to make sure the static flag actually works.
13573 wl=$lt_prog_compiler_wl_FC eval lt_tmp_static_flag=\"$lt_prog_compiler_static_FC\"
13574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13575 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13576 if test "${lt_cv_prog_compiler_static_works_FC+set}" = set; then :
13577 $as_echo_n "(cached) " >&6
13578 else
13579 lt_cv_prog_compiler_static_works_FC=no
13580 save_LDFLAGS="$LDFLAGS"
13581 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13582 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13583 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13584 # The linker can only warn and ignore the option if not recognized
13585 # So say no if there are warnings
13586 if test -s conftest.err; then
13587 # Append any errors to the config.log.
13588 cat conftest.err 1>&5
13589 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13590 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13591 if diff conftest.exp conftest.er2 >/dev/null; then
13592 lt_cv_prog_compiler_static_works_FC=yes
13594 else
13595 lt_cv_prog_compiler_static_works_FC=yes
13598 $RM -r conftest*
13599 LDFLAGS="$save_LDFLAGS"
13602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_FC" >&5
13603 $as_echo "$lt_cv_prog_compiler_static_works_FC" >&6; }
13605 if test x"$lt_cv_prog_compiler_static_works_FC" = xyes; then
13607 else
13608 lt_prog_compiler_static_FC=
13614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13615 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13616 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then :
13617 $as_echo_n "(cached) " >&6
13618 else
13619 lt_cv_prog_compiler_c_o_FC=no
13620 $RM -r conftest 2>/dev/null
13621 mkdir conftest
13622 cd conftest
13623 mkdir out
13624 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13626 lt_compiler_flag="-o out/conftest2.$ac_objext"
13627 # Insert the option either (1) after the last *FLAGS variable, or
13628 # (2) before a word containing "conftest.", or (3) at the end.
13629 # Note that $ac_compile itself does not contain backslashes and begins
13630 # with a dollar sign (not a hyphen), so the echo should work correctly.
13631 lt_compile=`echo "$ac_compile" | $SED \
13632 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13633 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13634 -e 's:$: $lt_compiler_flag:'`
13635 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13636 (eval "$lt_compile" 2>out/conftest.err)
13637 ac_status=$?
13638 cat out/conftest.err >&5
13639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13640 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13641 then
13642 # The compiler can only warn and ignore the option if not recognized
13643 # So say no if there are warnings
13644 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13645 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13646 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13647 lt_cv_prog_compiler_c_o_FC=yes
13650 chmod u+w . 2>&5
13651 $RM conftest*
13652 # SGI C++ compiler will create directory out/ii_files/ for
13653 # template instantiation
13654 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13655 $RM out/* && rmdir out
13656 cd ..
13657 $RM -r conftest
13658 $RM conftest*
13661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
13662 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
13666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13667 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13668 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then :
13669 $as_echo_n "(cached) " >&6
13670 else
13671 lt_cv_prog_compiler_c_o_FC=no
13672 $RM -r conftest 2>/dev/null
13673 mkdir conftest
13674 cd conftest
13675 mkdir out
13676 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13678 lt_compiler_flag="-o out/conftest2.$ac_objext"
13679 # Insert the option either (1) after the last *FLAGS variable, or
13680 # (2) before a word containing "conftest.", or (3) at the end.
13681 # Note that $ac_compile itself does not contain backslashes and begins
13682 # with a dollar sign (not a hyphen), so the echo should work correctly.
13683 lt_compile=`echo "$ac_compile" | $SED \
13684 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13685 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13686 -e 's:$: $lt_compiler_flag:'`
13687 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13688 (eval "$lt_compile" 2>out/conftest.err)
13689 ac_status=$?
13690 cat out/conftest.err >&5
13691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13692 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13693 then
13694 # The compiler can only warn and ignore the option if not recognized
13695 # So say no if there are warnings
13696 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13697 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13698 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13699 lt_cv_prog_compiler_c_o_FC=yes
13702 chmod u+w . 2>&5
13703 $RM conftest*
13704 # SGI C++ compiler will create directory out/ii_files/ for
13705 # template instantiation
13706 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13707 $RM out/* && rmdir out
13708 cd ..
13709 $RM -r conftest
13710 $RM conftest*
13713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
13714 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
13719 hard_links="nottested"
13720 if test "$lt_cv_prog_compiler_c_o_FC" = no && test "$need_locks" != no; then
13721 # do not overwrite the value of need_locks provided by the user
13722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13723 $as_echo_n "checking if we can lock with hard links... " >&6; }
13724 hard_links=yes
13725 $RM conftest*
13726 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13727 touch conftest.a
13728 ln conftest.a conftest.b 2>&5 || hard_links=no
13729 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13731 $as_echo "$hard_links" >&6; }
13732 if test "$hard_links" = no; then
13733 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13734 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13735 need_locks=warn
13737 else
13738 need_locks=no
13743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13744 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13746 runpath_var=
13747 allow_undefined_flag_FC=
13748 always_export_symbols_FC=no
13749 archive_cmds_FC=
13750 archive_expsym_cmds_FC=
13751 compiler_needs_object_FC=no
13752 enable_shared_with_static_runtimes_FC=no
13753 export_dynamic_flag_spec_FC=
13754 export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13755 hardcode_automatic_FC=no
13756 hardcode_direct_FC=no
13757 hardcode_direct_absolute_FC=no
13758 hardcode_libdir_flag_spec_FC=
13759 hardcode_libdir_flag_spec_ld_FC=
13760 hardcode_libdir_separator_FC=
13761 hardcode_minus_L_FC=no
13762 hardcode_shlibpath_var_FC=unsupported
13763 inherit_rpath_FC=no
13764 link_all_deplibs_FC=unknown
13765 module_cmds_FC=
13766 module_expsym_cmds_FC=
13767 old_archive_from_new_cmds_FC=
13768 old_archive_from_expsyms_cmds_FC=
13769 thread_safe_flag_spec_FC=
13770 whole_archive_flag_spec_FC=
13771 # include_expsyms should be a list of space-separated symbols to be *always*
13772 # included in the symbol list
13773 include_expsyms_FC=
13774 # exclude_expsyms can be an extended regexp of symbols to exclude
13775 # it will be wrapped by ` (' and `)$', so one must not match beginning or
13776 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
13777 # as well as any symbol that contains `d'.
13778 exclude_expsyms_FC='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13779 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
13780 # platforms (ab)use it in PIC code, but their linkers get confused if
13781 # the symbol is explicitly referenced. Since portable code cannot
13782 # rely on this symbol name, it's probably fine to never include it in
13783 # preloaded symbol tables.
13784 # Exclude shared library initialization/finalization symbols.
13785 extract_expsyms_cmds=
13787 case $host_os in
13788 cygwin* | mingw* | pw32* | cegcc*)
13789 # FIXME: the MSVC++ port hasn't been tested in a loooong time
13790 # When not using gcc, we currently assume that we are using
13791 # Microsoft Visual C++.
13792 if test "$GCC" != yes; then
13793 with_gnu_ld=no
13796 interix*)
13797 # we just hope/assume this is gcc and not c89 (= MSVC++)
13798 with_gnu_ld=yes
13800 openbsd*)
13801 with_gnu_ld=no
13803 esac
13805 ld_shlibs_FC=yes
13807 # On some targets, GNU ld is compatible enough with the native linker
13808 # that we're better off using the native interface for both.
13809 lt_use_gnu_ld_interface=no
13810 if test "$with_gnu_ld" = yes; then
13811 case $host_os in
13812 aix*)
13813 # The AIX port of GNU ld has always aspired to compatibility
13814 # with the native linker. However, as the warning in the GNU ld
13815 # block says, versions before 2.19.5* couldn't really create working
13816 # shared libraries, regardless of the interface used.
13817 case `$LD -v 2>&1` in
13818 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
13819 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
13820 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
13822 lt_use_gnu_ld_interface=yes
13824 esac
13827 lt_use_gnu_ld_interface=yes
13829 esac
13832 if test "$lt_use_gnu_ld_interface" = yes; then
13833 # If archive_cmds runs LD, not CC, wlarc should be empty
13834 wlarc='${wl}'
13836 # Set some defaults for GNU ld with shared library support. These
13837 # are reset later if shared libraries are not supported. Putting them
13838 # here allows them to be overridden if necessary.
13839 runpath_var=LD_RUN_PATH
13840 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
13841 export_dynamic_flag_spec_FC='${wl}--export-dynamic'
13842 # ancient GNU ld didn't support --whole-archive et. al.
13843 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
13844 whole_archive_flag_spec_FC="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13845 else
13846 whole_archive_flag_spec_FC=
13848 supports_anon_versioning=no
13849 case `$LD -v 2>&1` in
13850 *GNU\ gold*) supports_anon_versioning=yes ;;
13851 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
13852 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
13853 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
13854 *\ 2.11.*) ;; # other 2.11 versions
13855 *) supports_anon_versioning=yes ;;
13856 esac
13858 # See if GNU ld supports shared libraries.
13859 case $host_os in
13860 aix[3-9]*)
13861 # On AIX/PPC, the GNU linker is very broken
13862 if test "$host_cpu" != ia64; then
13863 ld_shlibs_FC=no
13864 cat <<_LT_EOF 1>&2
13866 *** Warning: the GNU linker, at least up to release 2.19, is reported
13867 *** to be unable to reliably create shared libraries on AIX.
13868 *** Therefore, libtool is disabling shared libraries support. If you
13869 *** really care for shared libraries, you may want to install binutils
13870 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
13871 *** You will then need to restart the configuration process.
13873 _LT_EOF
13877 amigaos*)
13878 case $host_cpu in
13879 powerpc)
13880 # see comment about AmigaOS4 .so support
13881 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13882 archive_expsym_cmds_FC=''
13884 m68k)
13885 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)'
13886 hardcode_libdir_flag_spec_FC='-L$libdir'
13887 hardcode_minus_L_FC=yes
13889 esac
13892 beos*)
13893 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13894 allow_undefined_flag_FC=unsupported
13895 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13896 # support --undefined. This deserves some investigation. FIXME
13897 archive_cmds_FC='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13898 else
13899 ld_shlibs_FC=no
13903 cygwin* | mingw* | pw32* | cegcc*)
13904 # _LT_TAGVAR(hardcode_libdir_flag_spec, FC) is actually meaningless,
13905 # as there is no search path for DLLs.
13906 hardcode_libdir_flag_spec_FC='-L$libdir'
13907 export_dynamic_flag_spec_FC='${wl}--export-all-symbols'
13908 allow_undefined_flag_FC=unsupported
13909 always_export_symbols_FC=no
13910 enable_shared_with_static_runtimes_FC=yes
13911 export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
13913 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
13914 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13915 # If the export-symbols file already is a .def file (1st line
13916 # is EXPORTS), use it as is; otherwise, prepend...
13917 archive_expsym_cmds_FC='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13918 cp $export_symbols $output_objdir/$soname.def;
13919 else
13920 echo EXPORTS > $output_objdir/$soname.def;
13921 cat $export_symbols >> $output_objdir/$soname.def;
13923 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13924 else
13925 ld_shlibs_FC=no
13929 haiku*)
13930 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13931 link_all_deplibs_FC=yes
13934 interix[3-9]*)
13935 hardcode_direct_FC=no
13936 hardcode_shlibpath_var_FC=no
13937 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
13938 export_dynamic_flag_spec_FC='${wl}-E'
13939 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13940 # Instead, shared libraries are loaded at an image base (0x10000000 by
13941 # default) and relocated if they conflict, which is a slow very memory
13942 # consuming and fragmenting process. To avoid this, we pick a random,
13943 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13944 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13945 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'
13946 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'
13949 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
13950 tmp_diet=no
13951 if test "$host_os" = linux-dietlibc; then
13952 case $cc_basename in
13953 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
13954 esac
13956 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
13957 && test "$tmp_diet" = no
13958 then
13959 tmp_addflag=
13960 tmp_sharedflag='-shared'
13961 case $cc_basename,$host_cpu in
13962 pgcc*) # Portland Group C compiler
13963 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'
13964 tmp_addflag=' $pic_flag'
13966 pgf77* | pgf90* | pgf95* | pgfortran*)
13967 # Portland Group f77 and f90 compilers
13968 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'
13969 tmp_addflag=' $pic_flag -Mnomain' ;;
13970 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
13971 tmp_addflag=' -i_dynamic' ;;
13972 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
13973 tmp_addflag=' -i_dynamic -nofor_main' ;;
13974 ifc* | ifort*) # Intel Fortran compiler
13975 tmp_addflag=' -nofor_main' ;;
13976 lf95*) # Lahey Fortran 8.1
13977 whole_archive_flag_spec_FC=
13978 tmp_sharedflag='--shared' ;;
13979 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
13980 tmp_sharedflag='-qmkshrobj'
13981 tmp_addflag= ;;
13982 nvcc*) # Cuda Compiler Driver 2.2
13983 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'
13984 compiler_needs_object_FC=yes
13986 esac
13987 case `$CC -V 2>&1 | sed 5q` in
13988 *Sun\ C*) # Sun C 5.9
13989 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'
13990 compiler_needs_object_FC=yes
13991 tmp_sharedflag='-G' ;;
13992 *Sun\ F*) # Sun Fortran 8.3
13993 tmp_sharedflag='-G' ;;
13994 esac
13995 archive_cmds_FC='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13997 if test "x$supports_anon_versioning" = xyes; then
13998 archive_expsym_cmds_FC='echo "{ global:" > $output_objdir/$libname.ver~
13999 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14000 echo "local: *; };" >> $output_objdir/$libname.ver~
14001 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14004 case $cc_basename in
14005 xlf* | bgf* | bgxlf* | mpixlf*)
14006 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
14007 whole_archive_flag_spec_FC='--whole-archive$convenience --no-whole-archive'
14008 hardcode_libdir_flag_spec_FC=
14009 hardcode_libdir_flag_spec_ld_FC='-rpath $libdir'
14010 archive_cmds_FC='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
14011 if test "x$supports_anon_versioning" = xyes; then
14012 archive_expsym_cmds_FC='echo "{ global:" > $output_objdir/$libname.ver~
14013 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14014 echo "local: *; };" >> $output_objdir/$libname.ver~
14015 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
14018 esac
14019 else
14020 ld_shlibs_FC=no
14024 netbsd*)
14025 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14026 archive_cmds_FC='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14027 wlarc=
14028 else
14029 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14030 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14034 solaris*)
14035 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
14036 ld_shlibs_FC=no
14037 cat <<_LT_EOF 1>&2
14039 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
14040 *** create shared libraries on Solaris systems. Therefore, libtool
14041 *** is disabling shared libraries support. We urge you to upgrade GNU
14042 *** binutils to release 2.9.1 or newer. Another option is to modify
14043 *** your PATH or compiler configuration so that the native linker is
14044 *** used, and then restart.
14046 _LT_EOF
14047 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14048 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14049 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14050 else
14051 ld_shlibs_FC=no
14055 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
14056 case `$LD -v 2>&1` in
14057 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
14058 ld_shlibs_FC=no
14059 cat <<_LT_EOF 1>&2
14061 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
14062 *** reliably create shared libraries on SCO systems. Therefore, libtool
14063 *** is disabling shared libraries support. We urge you to upgrade GNU
14064 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
14065 *** your PATH or compiler configuration so that the native linker is
14066 *** used, and then restart.
14068 _LT_EOF
14071 # For security reasons, it is highly recommended that you always
14072 # use absolute paths for naming shared libraries, and exclude the
14073 # DT_RUNPATH tag from executables and libraries. But doing so
14074 # requires that you compile everything twice, which is a pain.
14075 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14076 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
14077 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14078 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14079 else
14080 ld_shlibs_FC=no
14083 esac
14086 sunos4*)
14087 archive_cmds_FC='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14088 wlarc=
14089 hardcode_direct_FC=yes
14090 hardcode_shlibpath_var_FC=no
14094 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14095 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14096 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14097 else
14098 ld_shlibs_FC=no
14101 esac
14103 if test "$ld_shlibs_FC" = no; then
14104 runpath_var=
14105 hardcode_libdir_flag_spec_FC=
14106 export_dynamic_flag_spec_FC=
14107 whole_archive_flag_spec_FC=
14109 else
14110 # PORTME fill in a description of your system's linker (not GNU ld)
14111 case $host_os in
14112 aix3*)
14113 allow_undefined_flag_FC=unsupported
14114 always_export_symbols_FC=yes
14115 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'
14116 # Note: this linker hardcodes the directories in LIBPATH if there
14117 # are no directories specified by -L.
14118 hardcode_minus_L_FC=yes
14119 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14120 # Neither direct hardcoding nor static linking is supported with a
14121 # broken collect2.
14122 hardcode_direct_FC=unsupported
14126 aix[4-9]*)
14127 if test "$host_cpu" = ia64; then
14128 # On IA64, the linker does run time linking by default, so we don't
14129 # have to do anything special.
14130 aix_use_runtimelinking=no
14131 exp_sym_flag='-Bexport'
14132 no_entry_flag=""
14133 else
14134 # If we're using GNU nm, then we don't want the "-C" option.
14135 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14136 # Also, AIX nm treats weak defined symbols like other global
14137 # defined symbols, whereas GNU nm marks them as "W".
14138 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14139 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'
14140 else
14141 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'
14143 aix_use_runtimelinking=no
14145 # Test if we are trying to use run time linking or normal
14146 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14147 # need to do runtime linking.
14148 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
14149 for ld_flag in $LDFLAGS; do
14150 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
14151 aix_use_runtimelinking=yes
14152 break
14154 done
14156 esac
14158 exp_sym_flag='-bexport'
14159 no_entry_flag='-bnoentry'
14162 # When large executables or shared objects are built, AIX ld can
14163 # have problems creating the table of contents. If linking a library
14164 # or program results in "error TOC overflow" add -mminimal-toc to
14165 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14166 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14168 archive_cmds_FC=''
14169 hardcode_direct_FC=yes
14170 hardcode_direct_absolute_FC=yes
14171 hardcode_libdir_separator_FC=':'
14172 link_all_deplibs_FC=yes
14173 file_list_spec_FC='${wl}-f,'
14175 if test "$GCC" = yes; then
14176 case $host_os in aix4.[012]|aix4.[012].*)
14177 # We only want to do this on AIX 4.2 and lower, the check
14178 # below for broken collect2 doesn't work under 4.3+
14179 collect2name=`${CC} -print-prog-name=collect2`
14180 if test -f "$collect2name" &&
14181 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
14182 then
14183 # We have reworked collect2
14185 else
14186 # We have old collect2
14187 hardcode_direct_FC=unsupported
14188 # It fails to find uninstalled libraries when the uninstalled
14189 # path is not listed in the libpath. Setting hardcode_minus_L
14190 # to unsupported forces relinking
14191 hardcode_minus_L_FC=yes
14192 hardcode_libdir_flag_spec_FC='-L$libdir'
14193 hardcode_libdir_separator_FC=
14196 esac
14197 shared_flag='-shared'
14198 if test "$aix_use_runtimelinking" = yes; then
14199 shared_flag="$shared_flag "'${wl}-G'
14201 else
14202 # not using gcc
14203 if test "$host_cpu" = ia64; then
14204 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14205 # chokes on -Wl,-G. The following line is correct:
14206 shared_flag='-G'
14207 else
14208 if test "$aix_use_runtimelinking" = yes; then
14209 shared_flag='${wl}-G'
14210 else
14211 shared_flag='${wl}-bM:SRE'
14216 export_dynamic_flag_spec_FC='${wl}-bexpall'
14217 # It seems that -bexpall does not export symbols beginning with
14218 # underscore (_), so it is better to generate a list of symbols to export.
14219 always_export_symbols_FC=yes
14220 if test "$aix_use_runtimelinking" = yes; then
14221 # Warning - without using the other runtime loading flags (-brtl),
14222 # -berok will link without error, but may produce a broken library.
14223 allow_undefined_flag_FC='-berok'
14224 # Determine the default libpath from the value encoded in an
14225 # empty executable.
14226 if test x$gcc_no_link = xyes; then
14227 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14229 cat > conftest.$ac_ext <<_ACEOF
14230 program main
14233 _ACEOF
14234 if ac_fn_fc_try_link "$LINENO"; then :
14236 lt_aix_libpath_sed='
14237 /Import File Strings/,/^$/ {
14238 /^0/ {
14239 s/^0 *\(.*\)$/\1/
14243 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14244 # Check for a 64-bit object if we didn't find anything.
14245 if test -z "$aix_libpath"; then
14246 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14249 rm -f core conftest.err conftest.$ac_objext \
14250 conftest$ac_exeext conftest.$ac_ext
14251 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14253 hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath"
14254 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"
14255 else
14256 if test "$host_cpu" = ia64; then
14257 hardcode_libdir_flag_spec_FC='${wl}-R $libdir:/usr/lib:/lib'
14258 allow_undefined_flag_FC="-z nodefs"
14259 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"
14260 else
14261 # Determine the default libpath from the value encoded in an
14262 # empty executable.
14263 if test x$gcc_no_link = xyes; then
14264 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14266 cat > conftest.$ac_ext <<_ACEOF
14267 program main
14270 _ACEOF
14271 if ac_fn_fc_try_link "$LINENO"; then :
14273 lt_aix_libpath_sed='
14274 /Import File Strings/,/^$/ {
14275 /^0/ {
14276 s/^0 *\(.*\)$/\1/
14280 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14281 # Check for a 64-bit object if we didn't find anything.
14282 if test -z "$aix_libpath"; then
14283 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14286 rm -f core conftest.err conftest.$ac_objext \
14287 conftest$ac_exeext conftest.$ac_ext
14288 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14290 hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath"
14291 # Warning - without using the other run time loading flags,
14292 # -berok will link without error, but may produce a broken library.
14293 no_undefined_flag_FC=' ${wl}-bernotok'
14294 allow_undefined_flag_FC=' ${wl}-berok'
14295 if test "$with_gnu_ld" = yes; then
14296 # We only use this code for GNU lds that support --whole-archive.
14297 whole_archive_flag_spec_FC='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14298 else
14299 # Exported symbols can be pulled into shared objects from archives
14300 whole_archive_flag_spec_FC='$convenience'
14302 archive_cmds_need_lc_FC=yes
14303 # This is similar to how AIX traditionally builds its shared libraries.
14304 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'
14309 amigaos*)
14310 case $host_cpu in
14311 powerpc)
14312 # see comment about AmigaOS4 .so support
14313 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14314 archive_expsym_cmds_FC=''
14316 m68k)
14317 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)'
14318 hardcode_libdir_flag_spec_FC='-L$libdir'
14319 hardcode_minus_L_FC=yes
14321 esac
14324 bsdi[45]*)
14325 export_dynamic_flag_spec_FC=-rdynamic
14328 cygwin* | mingw* | pw32* | cegcc*)
14329 # When not using gcc, we currently assume that we are using
14330 # Microsoft Visual C++.
14331 # hardcode_libdir_flag_spec is actually meaningless, as there is
14332 # no search path for DLLs.
14333 hardcode_libdir_flag_spec_FC=' '
14334 allow_undefined_flag_FC=unsupported
14335 # Tell ltmain to make .lib files, not .a files.
14336 libext=lib
14337 # Tell ltmain to make .dll files, not .so files.
14338 shrext_cmds=".dll"
14339 # FIXME: Setting linknames here is a bad hack.
14340 archive_cmds_FC='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
14341 # The linker will automatically build a .lib file if we build a DLL.
14342 old_archive_from_new_cmds_FC='true'
14343 # FIXME: Should let the user specify the lib program.
14344 old_archive_cmds_FC='lib -OUT:$oldlib$oldobjs$old_deplibs'
14345 fix_srcfile_path_FC='`cygpath -w "$srcfile"`'
14346 enable_shared_with_static_runtimes_FC=yes
14349 darwin* | rhapsody*)
14352 archive_cmds_need_lc_FC=no
14353 hardcode_direct_FC=no
14354 hardcode_automatic_FC=yes
14355 hardcode_shlibpath_var_FC=unsupported
14356 if test "$lt_cv_ld_force_load" = "yes"; then
14357 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\"`'
14358 else
14359 whole_archive_flag_spec_FC=''
14361 link_all_deplibs_FC=yes
14362 allow_undefined_flag_FC="$_lt_dar_allow_undefined"
14363 case $cc_basename in
14364 ifort*) _lt_dar_can_shared=yes ;;
14365 *) _lt_dar_can_shared=$GCC ;;
14366 esac
14367 if test "$_lt_dar_can_shared" = "yes"; then
14368 output_verbose_link_cmd=func_echo_all
14369 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}"
14370 module_cmds_FC="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
14371 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}"
14372 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}"
14374 else
14375 ld_shlibs_FC=no
14380 dgux*)
14381 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14382 hardcode_libdir_flag_spec_FC='-L$libdir'
14383 hardcode_shlibpath_var_FC=no
14386 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
14387 # support. Future versions do this automatically, but an explicit c++rt0.o
14388 # does not break anything, and helps significantly (at the cost of a little
14389 # extra space).
14390 freebsd2.2*)
14391 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
14392 hardcode_libdir_flag_spec_FC='-R$libdir'
14393 hardcode_direct_FC=yes
14394 hardcode_shlibpath_var_FC=no
14397 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
14398 freebsd2.*)
14399 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14400 hardcode_direct_FC=yes
14401 hardcode_minus_L_FC=yes
14402 hardcode_shlibpath_var_FC=no
14405 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14406 freebsd* | dragonfly*)
14407 archive_cmds_FC='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14408 hardcode_libdir_flag_spec_FC='-R$libdir'
14409 hardcode_direct_FC=yes
14410 hardcode_shlibpath_var_FC=no
14413 hpux9*)
14414 if test "$GCC" = yes; then
14415 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'
14416 else
14417 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'
14419 hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
14420 hardcode_libdir_separator_FC=:
14421 hardcode_direct_FC=yes
14423 # hardcode_minus_L: Not really in the search PATH,
14424 # but as the default location of the library.
14425 hardcode_minus_L_FC=yes
14426 export_dynamic_flag_spec_FC='${wl}-E'
14429 hpux10*)
14430 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
14431 archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14432 else
14433 archive_cmds_FC='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14435 if test "$with_gnu_ld" = no; then
14436 hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
14437 hardcode_libdir_flag_spec_ld_FC='+b $libdir'
14438 hardcode_libdir_separator_FC=:
14439 hardcode_direct_FC=yes
14440 hardcode_direct_absolute_FC=yes
14441 export_dynamic_flag_spec_FC='${wl}-E'
14442 # hardcode_minus_L: Not really in the search PATH,
14443 # but as the default location of the library.
14444 hardcode_minus_L_FC=yes
14448 hpux11*)
14449 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
14450 case $host_cpu in
14451 hppa*64*)
14452 archive_cmds_FC='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14454 ia64*)
14455 archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14458 archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14460 esac
14461 else
14462 case $host_cpu in
14463 hppa*64*)
14464 archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14466 ia64*)
14467 archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14470 archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14472 esac
14474 if test "$with_gnu_ld" = no; then
14475 hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
14476 hardcode_libdir_separator_FC=:
14478 case $host_cpu in
14479 hppa*64*|ia64*)
14480 hardcode_direct_FC=no
14481 hardcode_shlibpath_var_FC=no
14484 hardcode_direct_FC=yes
14485 hardcode_direct_absolute_FC=yes
14486 export_dynamic_flag_spec_FC='${wl}-E'
14488 # hardcode_minus_L: Not really in the search PATH,
14489 # but as the default location of the library.
14490 hardcode_minus_L_FC=yes
14492 esac
14496 irix5* | irix6* | nonstopux*)
14497 if test "$GCC" = yes; then
14498 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'
14499 # Try to use the -exported_symbol ld option, if it does not
14500 # work, assume that -exports_file does not work either and
14501 # implicitly export all symbols.
14502 save_LDFLAGS="$LDFLAGS"
14503 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
14504 if test x$gcc_no_link = xyes; then
14505 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14507 cat > conftest.$ac_ext <<_ACEOF
14508 int foo(void) {}
14509 _ACEOF
14510 if ac_fn_fc_try_link "$LINENO"; then :
14511 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'
14514 rm -f core conftest.err conftest.$ac_objext \
14515 conftest$ac_exeext conftest.$ac_ext
14516 LDFLAGS="$save_LDFLAGS"
14517 else
14518 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'
14519 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'
14521 archive_cmds_need_lc_FC='no'
14522 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
14523 hardcode_libdir_separator_FC=:
14524 inherit_rpath_FC=yes
14525 link_all_deplibs_FC=yes
14528 netbsd*)
14529 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14530 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
14531 else
14532 archive_cmds_FC='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
14534 hardcode_libdir_flag_spec_FC='-R$libdir'
14535 hardcode_direct_FC=yes
14536 hardcode_shlibpath_var_FC=no
14539 newsos6)
14540 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14541 hardcode_direct_FC=yes
14542 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
14543 hardcode_libdir_separator_FC=:
14544 hardcode_shlibpath_var_FC=no
14547 *nto* | *qnx*)
14550 openbsd*)
14551 if test -f /usr/libexec/ld.so; then
14552 hardcode_direct_FC=yes
14553 hardcode_shlibpath_var_FC=no
14554 hardcode_direct_absolute_FC=yes
14555 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14556 archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14557 archive_expsym_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
14558 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
14559 export_dynamic_flag_spec_FC='${wl}-E'
14560 else
14561 case $host_os in
14562 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
14563 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14564 hardcode_libdir_flag_spec_FC='-R$libdir'
14567 archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14568 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
14570 esac
14572 else
14573 ld_shlibs_FC=no
14577 os2*)
14578 hardcode_libdir_flag_spec_FC='-L$libdir'
14579 hardcode_minus_L_FC=yes
14580 allow_undefined_flag_FC=unsupported
14581 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'
14582 old_archive_from_new_cmds_FC='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
14585 osf3*)
14586 if test "$GCC" = yes; then
14587 allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*'
14588 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'
14589 else
14590 allow_undefined_flag_FC=' -expect_unresolved \*'
14591 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'
14593 archive_cmds_need_lc_FC='no'
14594 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
14595 hardcode_libdir_separator_FC=:
14598 osf4* | osf5*) # as osf3* with the addition of -msym flag
14599 if test "$GCC" = yes; then
14600 allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*'
14601 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'
14602 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
14603 else
14604 allow_undefined_flag_FC=' -expect_unresolved \*'
14605 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'
14606 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~
14607 $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'
14609 # Both c and cxx compiler support -rpath directly
14610 hardcode_libdir_flag_spec_FC='-rpath $libdir'
14612 archive_cmds_need_lc_FC='no'
14613 hardcode_libdir_separator_FC=:
14616 solaris*)
14617 no_undefined_flag_FC=' -z defs'
14618 if test "$GCC" = yes; then
14619 wlarc='${wl}'
14620 archive_cmds_FC='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14621 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14622 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
14623 else
14624 case `$CC -V 2>&1` in
14625 *"Compilers 5.0"*)
14626 wlarc=''
14627 archive_cmds_FC='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
14628 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14629 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
14632 wlarc='${wl}'
14633 archive_cmds_FC='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
14634 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14635 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
14637 esac
14639 hardcode_libdir_flag_spec_FC='-R$libdir'
14640 hardcode_shlibpath_var_FC=no
14641 case $host_os in
14642 solaris2.[0-5] | solaris2.[0-5].*) ;;
14644 # The compiler driver will combine and reorder linker options,
14645 # but understands `-z linker_flag'. GCC discards it without `$wl',
14646 # but is careful enough not to reorder.
14647 # Supported since Solaris 2.6 (maybe 2.5.1?)
14648 if test "$GCC" = yes; then
14649 whole_archive_flag_spec_FC='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14650 else
14651 whole_archive_flag_spec_FC='-z allextract$convenience -z defaultextract'
14654 esac
14655 link_all_deplibs_FC=yes
14658 sunos4*)
14659 if test "x$host_vendor" = xsequent; then
14660 # Use $CC to link under sequent, because it throws in some extra .o
14661 # files that make .init and .fini sections work.
14662 archive_cmds_FC='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
14663 else
14664 archive_cmds_FC='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
14666 hardcode_libdir_flag_spec_FC='-L$libdir'
14667 hardcode_direct_FC=yes
14668 hardcode_minus_L_FC=yes
14669 hardcode_shlibpath_var_FC=no
14672 sysv4)
14673 case $host_vendor in
14674 sni)
14675 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14676 hardcode_direct_FC=yes # is this really true???
14678 siemens)
14679 ## LD is ld it makes a PLAMLIB
14680 ## CC just makes a GrossModule.
14681 archive_cmds_FC='$LD -G -o $lib $libobjs $deplibs $linker_flags'
14682 reload_cmds_FC='$CC -r -o $output$reload_objs'
14683 hardcode_direct_FC=no
14685 motorola)
14686 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14687 hardcode_direct_FC=no #Motorola manual says yes, but my tests say they lie
14689 esac
14690 runpath_var='LD_RUN_PATH'
14691 hardcode_shlibpath_var_FC=no
14694 sysv4.3*)
14695 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14696 hardcode_shlibpath_var_FC=no
14697 export_dynamic_flag_spec_FC='-Bexport'
14700 sysv4*MP*)
14701 if test -d /usr/nec; then
14702 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14703 hardcode_shlibpath_var_FC=no
14704 runpath_var=LD_RUN_PATH
14705 hardcode_runpath_var=yes
14706 ld_shlibs_FC=yes
14710 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
14711 no_undefined_flag_FC='${wl}-z,text'
14712 archive_cmds_need_lc_FC=no
14713 hardcode_shlibpath_var_FC=no
14714 runpath_var='LD_RUN_PATH'
14716 if test "$GCC" = yes; then
14717 archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14718 archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14719 else
14720 archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14721 archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14725 sysv5* | sco3.2v5* | sco5v6*)
14726 # Note: We can NOT use -z defs as we might desire, because we do not
14727 # link with -lc, and that would cause any symbols used from libc to
14728 # always be unresolved, which means just about no library would
14729 # ever link correctly. If we're not using GNU ld we use -z text
14730 # though, which does catch some bad symbols but isn't as heavy-handed
14731 # as -z defs.
14732 no_undefined_flag_FC='${wl}-z,text'
14733 allow_undefined_flag_FC='${wl}-z,nodefs'
14734 archive_cmds_need_lc_FC=no
14735 hardcode_shlibpath_var_FC=no
14736 hardcode_libdir_flag_spec_FC='${wl}-R,$libdir'
14737 hardcode_libdir_separator_FC=':'
14738 link_all_deplibs_FC=yes
14739 export_dynamic_flag_spec_FC='${wl}-Bexport'
14740 runpath_var='LD_RUN_PATH'
14742 if test "$GCC" = yes; then
14743 archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14744 archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14745 else
14746 archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14747 archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14751 uts4*)
14752 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14753 hardcode_libdir_flag_spec_FC='-L$libdir'
14754 hardcode_shlibpath_var_FC=no
14758 ld_shlibs_FC=no
14760 esac
14762 if test x$host_vendor = xsni; then
14763 case $host in
14764 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
14765 export_dynamic_flag_spec_FC='${wl}-Blargedynsym'
14767 esac
14771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_FC" >&5
14772 $as_echo "$ld_shlibs_FC" >&6; }
14773 test "$ld_shlibs_FC" = no && can_build_shared=no
14775 with_gnu_ld_FC=$with_gnu_ld
14783 # Do we need to explicitly link libc?
14785 case "x$archive_cmds_need_lc_FC" in
14786 x|xyes)
14787 # Assume -lc should be added
14788 archive_cmds_need_lc_FC=yes
14790 if test "$enable_shared" = yes && test "$GCC" = yes; then
14791 case $archive_cmds_FC in
14792 *'~'*)
14793 # FIXME: we may have to deal with multi-command sequences.
14795 '$CC '*)
14796 # Test whether the compiler implicitly links with -lc since on some
14797 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14798 # to ld, don't add -lc before -lgcc.
14799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14800 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14801 if test "${lt_cv_archive_cmds_need_lc_FC+set}" = set; then :
14802 $as_echo_n "(cached) " >&6
14803 else
14804 $RM conftest*
14805 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14807 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14808 (eval $ac_compile) 2>&5
14809 ac_status=$?
14810 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14811 test $ac_status = 0; } 2>conftest.err; then
14812 soname=conftest
14813 lib=conftest
14814 libobjs=conftest.$ac_objext
14815 deplibs=
14816 wl=$lt_prog_compiler_wl_FC
14817 pic_flag=$lt_prog_compiler_pic_FC
14818 compiler_flags=-v
14819 linker_flags=-v
14820 verstring=
14821 output_objdir=.
14822 libname=conftest
14823 lt_save_allow_undefined_flag=$allow_undefined_flag_FC
14824 allow_undefined_flag_FC=
14825 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14826 (eval $archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14827 ac_status=$?
14828 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14829 test $ac_status = 0; }
14830 then
14831 lt_cv_archive_cmds_need_lc_FC=no
14832 else
14833 lt_cv_archive_cmds_need_lc_FC=yes
14835 allow_undefined_flag_FC=$lt_save_allow_undefined_flag
14836 else
14837 cat conftest.err 1>&5
14839 $RM conftest*
14842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_FC" >&5
14843 $as_echo "$lt_cv_archive_cmds_need_lc_FC" >&6; }
14844 archive_cmds_need_lc_FC=$lt_cv_archive_cmds_need_lc_FC
14846 esac
14849 esac
14914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14915 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14917 library_names_spec=
14918 libname_spec='lib$name'
14919 soname_spec=
14920 shrext_cmds=".so"
14921 postinstall_cmds=
14922 postuninstall_cmds=
14923 finish_cmds=
14924 finish_eval=
14925 shlibpath_var=
14926 shlibpath_overrides_runpath=unknown
14927 version_type=none
14928 dynamic_linker="$host_os ld.so"
14929 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14930 need_lib_prefix=unknown
14931 hardcode_into_libs=no
14933 # when you set need_version to no, make sure it does not cause -set_version
14934 # flags to be left without arguments
14935 need_version=unknown
14937 case $host_os in
14938 aix3*)
14939 version_type=linux
14940 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14941 shlibpath_var=LIBPATH
14943 # AIX 3 has no versioning support, so we append a major version to the name.
14944 soname_spec='${libname}${release}${shared_ext}$major'
14947 aix[4-9]*)
14948 version_type=linux
14949 need_lib_prefix=no
14950 need_version=no
14951 hardcode_into_libs=yes
14952 if test "$host_cpu" = ia64; then
14953 # AIX 5 supports IA64
14954 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14955 shlibpath_var=LD_LIBRARY_PATH
14956 else
14957 # With GCC up to 2.95.x, collect2 would create an import file
14958 # for dependence libraries. The import file would start with
14959 # the line `#! .'. This would cause the generated library to
14960 # depend on `.', always an invalid library. This was fixed in
14961 # development snapshots of GCC prior to 3.0.
14962 case $host_os in
14963 aix4 | aix4.[01] | aix4.[01].*)
14964 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14965 echo ' yes '
14966 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14968 else
14969 can_build_shared=no
14972 esac
14973 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14974 # soname into executable. Probably we can add versioning support to
14975 # collect2, so additional links can be useful in future.
14976 if test "$aix_use_runtimelinking" = yes; then
14977 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14978 # instead of lib<name>.a to let people know that these are not
14979 # typical AIX shared libraries.
14980 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14981 else
14982 # We preserve .a as extension for shared libraries through AIX4.2
14983 # and later when we are not doing run time linking.
14984 library_names_spec='${libname}${release}.a $libname.a'
14985 soname_spec='${libname}${release}${shared_ext}$major'
14987 shlibpath_var=LIBPATH
14991 amigaos*)
14992 case $host_cpu in
14993 powerpc)
14994 # Since July 2007 AmigaOS4 officially supports .so libraries.
14995 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14996 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14998 m68k)
14999 library_names_spec='$libname.ixlibrary $libname.a'
15000 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15001 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'
15003 esac
15006 beos*)
15007 library_names_spec='${libname}${shared_ext}'
15008 dynamic_linker="$host_os ld.so"
15009 shlibpath_var=LIBRARY_PATH
15012 bsdi[45]*)
15013 version_type=linux
15014 need_version=no
15015 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15016 soname_spec='${libname}${release}${shared_ext}$major'
15017 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
15018 shlibpath_var=LD_LIBRARY_PATH
15019 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15020 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
15021 # the default ld.so.conf also contains /usr/contrib/lib and
15022 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15023 # libtool to hard-code these into programs
15026 cygwin* | mingw* | pw32* | cegcc*)
15027 version_type=windows
15028 shrext_cmds=".dll"
15029 need_version=no
15030 need_lib_prefix=no
15032 case $GCC,$host_os in
15033 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
15034 library_names_spec='$libname.dll.a'
15035 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15036 postinstall_cmds='base_file=`basename \${file}`~
15037 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15038 dldir=$destdir/`dirname \$dlpath`~
15039 test -d \$dldir || mkdir -p \$dldir~
15040 $install_prog $dir/$dlname \$dldir/$dlname~
15041 chmod a+x \$dldir/$dlname~
15042 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15043 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15045 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15046 dlpath=$dir/\$dldll~
15047 $RM \$dlpath'
15048 shlibpath_overrides_runpath=yes
15050 case $host_os in
15051 cygwin*)
15052 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15053 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15056 mingw* | cegcc*)
15057 # MinGW DLLs use traditional 'lib' prefix
15058 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15060 pw32*)
15061 # pw32 DLLs use 'pw' prefix rather than 'lib'
15062 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15064 esac
15068 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15070 esac
15071 dynamic_linker='Win32 ld.exe'
15072 # FIXME: first we should search . and the directory the executable is in
15073 shlibpath_var=PATH
15076 darwin* | rhapsody*)
15077 dynamic_linker="$host_os dyld"
15078 version_type=darwin
15079 need_lib_prefix=no
15080 need_version=no
15081 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15082 soname_spec='${libname}${release}${major}$shared_ext'
15083 shlibpath_overrides_runpath=yes
15084 shlibpath_var=DYLD_LIBRARY_PATH
15085 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15087 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15090 dgux*)
15091 version_type=linux
15092 need_lib_prefix=no
15093 need_version=no
15094 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15095 soname_spec='${libname}${release}${shared_ext}$major'
15096 shlibpath_var=LD_LIBRARY_PATH
15099 freebsd* | dragonfly*)
15100 # DragonFly does not have aout. When/if they implement a new
15101 # versioning mechanism, adjust this.
15102 if test -x /usr/bin/objformat; then
15103 objformat=`/usr/bin/objformat`
15104 else
15105 case $host_os in
15106 freebsd[23].*) objformat=aout ;;
15107 *) objformat=elf ;;
15108 esac
15110 version_type=freebsd-$objformat
15111 case $version_type in
15112 freebsd-elf*)
15113 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15114 need_version=no
15115 need_lib_prefix=no
15117 freebsd-*)
15118 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15119 need_version=yes
15121 esac
15122 shlibpath_var=LD_LIBRARY_PATH
15123 case $host_os in
15124 freebsd2.*)
15125 shlibpath_overrides_runpath=yes
15127 freebsd3.[01]* | freebsdelf3.[01]*)
15128 shlibpath_overrides_runpath=yes
15129 hardcode_into_libs=yes
15131 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
15132 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
15133 shlibpath_overrides_runpath=no
15134 hardcode_into_libs=yes
15136 *) # from 4.6 on, and DragonFly
15137 shlibpath_overrides_runpath=yes
15138 hardcode_into_libs=yes
15140 esac
15143 gnu*)
15144 version_type=linux
15145 need_lib_prefix=no
15146 need_version=no
15147 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15148 soname_spec='${libname}${release}${shared_ext}$major'
15149 shlibpath_var=LD_LIBRARY_PATH
15150 hardcode_into_libs=yes
15153 haiku*)
15154 version_type=linux
15155 need_lib_prefix=no
15156 need_version=no
15157 dynamic_linker="$host_os runtime_loader"
15158 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15159 soname_spec='${libname}${release}${shared_ext}$major'
15160 shlibpath_var=LIBRARY_PATH
15161 shlibpath_overrides_runpath=yes
15162 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
15163 hardcode_into_libs=yes
15166 hpux9* | hpux10* | hpux11*)
15167 # Give a soname corresponding to the major version so that dld.sl refuses to
15168 # link against other versions.
15169 version_type=sunos
15170 need_lib_prefix=no
15171 need_version=no
15172 case $host_cpu in
15173 ia64*)
15174 shrext_cmds='.so'
15175 hardcode_into_libs=yes
15176 dynamic_linker="$host_os dld.so"
15177 shlibpath_var=LD_LIBRARY_PATH
15178 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15179 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15180 soname_spec='${libname}${release}${shared_ext}$major'
15181 if test "X$HPUX_IA64_MODE" = X32; then
15182 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15183 else
15184 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15186 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15188 hppa*64*)
15189 shrext_cmds='.sl'
15190 hardcode_into_libs=yes
15191 dynamic_linker="$host_os dld.sl"
15192 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15193 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15194 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15195 soname_spec='${libname}${release}${shared_ext}$major'
15196 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15197 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15200 shrext_cmds='.sl'
15201 dynamic_linker="$host_os dld.sl"
15202 shlibpath_var=SHLIB_PATH
15203 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15204 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15205 soname_spec='${libname}${release}${shared_ext}$major'
15207 esac
15208 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15209 postinstall_cmds='chmod 555 $lib'
15210 # or fails outright, so override atomically:
15211 install_override_mode=555
15214 interix[3-9]*)
15215 version_type=linux
15216 need_lib_prefix=no
15217 need_version=no
15218 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15219 soname_spec='${libname}${release}${shared_ext}$major'
15220 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
15221 shlibpath_var=LD_LIBRARY_PATH
15222 shlibpath_overrides_runpath=no
15223 hardcode_into_libs=yes
15226 irix5* | irix6* | nonstopux*)
15227 case $host_os in
15228 nonstopux*) version_type=nonstopux ;;
15230 if test "$lt_cv_prog_gnu_ld" = yes; then
15231 version_type=linux
15232 else
15233 version_type=irix
15234 fi ;;
15235 esac
15236 need_lib_prefix=no
15237 need_version=no
15238 soname_spec='${libname}${release}${shared_ext}$major'
15239 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15240 case $host_os in
15241 irix5* | nonstopux*)
15242 libsuff= shlibsuff=
15245 case $LD in # libtool.m4 will add one of these switches to LD
15246 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15247 libsuff= shlibsuff= libmagic=32-bit;;
15248 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15249 libsuff=32 shlibsuff=N32 libmagic=N32;;
15250 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15251 libsuff=64 shlibsuff=64 libmagic=64-bit;;
15252 *) libsuff= shlibsuff= libmagic=never-match;;
15253 esac
15255 esac
15256 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15257 shlibpath_overrides_runpath=no
15258 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15259 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15260 hardcode_into_libs=yes
15263 # No shared lib support for Linux oldld, aout, or coff.
15264 linux*oldld* | linux*aout* | linux*coff*)
15265 dynamic_linker=no
15268 # This must be Linux ELF.
15269 linux* | k*bsd*-gnu | kopensolaris*-gnu)
15270 version_type=linux
15271 need_lib_prefix=no
15272 need_version=no
15273 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15274 soname_spec='${libname}${release}${shared_ext}$major'
15275 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15276 shlibpath_var=LD_LIBRARY_PATH
15277 shlibpath_overrides_runpath=no
15279 # Some binutils ld are patched to set DT_RUNPATH
15280 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
15281 $as_echo_n "(cached) " >&6
15282 else
15283 lt_cv_shlibpath_overrides_runpath=no
15284 save_LDFLAGS=$LDFLAGS
15285 save_libdir=$libdir
15286 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_FC\"; \
15287 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_FC\""
15288 if test x$gcc_no_link = xyes; then
15289 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15291 cat > conftest.$ac_ext <<_ACEOF
15292 program main
15295 _ACEOF
15296 if ac_fn_fc_try_link "$LINENO"; then :
15297 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
15298 lt_cv_shlibpath_overrides_runpath=yes
15301 rm -f core conftest.err conftest.$ac_objext \
15302 conftest$ac_exeext conftest.$ac_ext
15303 LDFLAGS=$save_LDFLAGS
15304 libdir=$save_libdir
15308 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
15310 # This implies no fast_install, which is unacceptable.
15311 # Some rework will be needed to allow for fast_install
15312 # before this can be enabled.
15313 hardcode_into_libs=yes
15315 # Append ld.so.conf contents to the search path
15316 if test -f /etc/ld.so.conf; then
15317 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' ' '`
15318 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15321 # We used to test for /lib/ld.so.1 and disable shared libraries on
15322 # powerpc, because MkLinux only supported shared libraries with the
15323 # GNU dynamic linker. Since this was broken with cross compilers,
15324 # most powerpc-linux boxes support dynamic linking these days and
15325 # people can always --disable-shared, the test was removed, and we
15326 # assume the GNU/Linux dynamic linker is in use.
15327 dynamic_linker='GNU/Linux ld.so'
15330 netbsd*)
15331 version_type=sunos
15332 need_lib_prefix=no
15333 need_version=no
15334 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15335 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15336 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15337 dynamic_linker='NetBSD (a.out) ld.so'
15338 else
15339 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15340 soname_spec='${libname}${release}${shared_ext}$major'
15341 dynamic_linker='NetBSD ld.elf_so'
15343 shlibpath_var=LD_LIBRARY_PATH
15344 shlibpath_overrides_runpath=yes
15345 hardcode_into_libs=yes
15348 newsos6)
15349 version_type=linux
15350 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15351 shlibpath_var=LD_LIBRARY_PATH
15352 shlibpath_overrides_runpath=yes
15355 *nto* | *qnx*)
15356 version_type=qnx
15357 need_lib_prefix=no
15358 need_version=no
15359 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15360 soname_spec='${libname}${release}${shared_ext}$major'
15361 shlibpath_var=LD_LIBRARY_PATH
15362 shlibpath_overrides_runpath=no
15363 hardcode_into_libs=yes
15364 dynamic_linker='ldqnx.so'
15367 openbsd*)
15368 version_type=sunos
15369 sys_lib_dlsearch_path_spec="/usr/lib"
15370 need_lib_prefix=no
15371 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15372 case $host_os in
15373 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
15374 *) need_version=no ;;
15375 esac
15376 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15377 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15378 shlibpath_var=LD_LIBRARY_PATH
15379 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15380 case $host_os in
15381 openbsd2.[89] | openbsd2.[89].*)
15382 shlibpath_overrides_runpath=no
15385 shlibpath_overrides_runpath=yes
15387 esac
15388 else
15389 shlibpath_overrides_runpath=yes
15393 os2*)
15394 libname_spec='$name'
15395 shrext_cmds=".dll"
15396 need_lib_prefix=no
15397 library_names_spec='$libname${shared_ext} $libname.a'
15398 dynamic_linker='OS/2 ld.exe'
15399 shlibpath_var=LIBPATH
15402 osf3* | osf4* | osf5*)
15403 version_type=osf
15404 need_lib_prefix=no
15405 need_version=no
15406 soname_spec='${libname}${release}${shared_ext}$major'
15407 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15408 shlibpath_var=LD_LIBRARY_PATH
15409 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15410 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15413 rdos*)
15414 dynamic_linker=no
15417 solaris*)
15418 version_type=linux
15419 need_lib_prefix=no
15420 need_version=no
15421 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15422 soname_spec='${libname}${release}${shared_ext}$major'
15423 shlibpath_var=LD_LIBRARY_PATH
15424 shlibpath_overrides_runpath=yes
15425 hardcode_into_libs=yes
15426 # ldd complains unless libraries are executable
15427 postinstall_cmds='chmod +x $lib'
15430 sunos4*)
15431 version_type=sunos
15432 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15433 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15434 shlibpath_var=LD_LIBRARY_PATH
15435 shlibpath_overrides_runpath=yes
15436 if test "$with_gnu_ld" = yes; then
15437 need_lib_prefix=no
15439 need_version=yes
15442 sysv4 | sysv4.3*)
15443 version_type=linux
15444 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15445 soname_spec='${libname}${release}${shared_ext}$major'
15446 shlibpath_var=LD_LIBRARY_PATH
15447 case $host_vendor in
15448 sni)
15449 shlibpath_overrides_runpath=no
15450 need_lib_prefix=no
15451 runpath_var=LD_RUN_PATH
15453 siemens)
15454 need_lib_prefix=no
15456 motorola)
15457 need_lib_prefix=no
15458 need_version=no
15459 shlibpath_overrides_runpath=no
15460 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15462 esac
15465 sysv4*MP*)
15466 if test -d /usr/nec ;then
15467 version_type=linux
15468 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15469 soname_spec='$libname${shared_ext}.$major'
15470 shlibpath_var=LD_LIBRARY_PATH
15474 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
15475 version_type=freebsd-elf
15476 need_lib_prefix=no
15477 need_version=no
15478 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15479 soname_spec='${libname}${release}${shared_ext}$major'
15480 shlibpath_var=LD_LIBRARY_PATH
15481 shlibpath_overrides_runpath=yes
15482 hardcode_into_libs=yes
15483 if test "$with_gnu_ld" = yes; then
15484 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15485 else
15486 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
15487 case $host_os in
15488 sco3.2v5*)
15489 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
15491 esac
15493 sys_lib_dlsearch_path_spec='/usr/lib'
15496 tpf*)
15497 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15498 version_type=linux
15499 need_lib_prefix=no
15500 need_version=no
15501 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15502 shlibpath_var=LD_LIBRARY_PATH
15503 shlibpath_overrides_runpath=no
15504 hardcode_into_libs=yes
15507 uts4*)
15508 version_type=linux
15509 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15510 soname_spec='${libname}${release}${shared_ext}$major'
15511 shlibpath_var=LD_LIBRARY_PATH
15515 dynamic_linker=no
15517 esac
15518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15519 $as_echo "$dynamic_linker" >&6; }
15520 test "$dynamic_linker" = no && can_build_shared=no
15522 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15523 if test "$GCC" = yes; then
15524 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15527 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15528 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
15530 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15531 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
15571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15572 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15573 hardcode_action_FC=
15574 if test -n "$hardcode_libdir_flag_spec_FC" ||
15575 test -n "$runpath_var_FC" ||
15576 test "X$hardcode_automatic_FC" = "Xyes" ; then
15578 # We can hardcode non-existent directories.
15579 if test "$hardcode_direct_FC" != no &&
15580 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15581 # have to relink, otherwise we might link with an installed library
15582 # when we should be linking with a yet-to-be-installed one
15583 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, FC)" != no &&
15584 test "$hardcode_minus_L_FC" != no; then
15585 # Linking always hardcodes the temporary library directory.
15586 hardcode_action_FC=relink
15587 else
15588 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15589 hardcode_action_FC=immediate
15591 else
15592 # We cannot hardcode anything, or else we can only hardcode existing
15593 # directories.
15594 hardcode_action_FC=unsupported
15596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_FC" >&5
15597 $as_echo "$hardcode_action_FC" >&6; }
15599 if test "$hardcode_action_FC" = relink ||
15600 test "$inherit_rpath_FC" = yes; then
15601 # Fast installation is not supported
15602 enable_fast_install=no
15603 elif test "$shlibpath_overrides_runpath" = yes ||
15604 test "$enable_shared" = no; then
15605 # Fast installation is not necessary
15606 enable_fast_install=needless
15615 fi # test -n "$compiler"
15617 GCC=$lt_save_GCC
15618 CC="$lt_save_CC"
15619 fi # test "$_lt_disable_FC" != yes
15621 ac_ext=c
15622 ac_cpp='$CPP $CPPFLAGS'
15623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15629 # extra LD Flags which are required for targets
15630 case "${host}" in
15631 *-darwin*)
15632 # Darwin needs -single_module when linking libgfortran
15633 extra_ldflags_libgfortran=-Wl,-single_module
15635 esac
15638 # We need a working compiler at that point, otherwise give a clear
15639 # error message and bail out.
15641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the GNU Fortran compiler is working" >&5
15642 $as_echo_n "checking whether the GNU Fortran compiler is working... " >&6; }
15643 ac_ext=${ac_fc_srcext-f}
15644 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
15645 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
15646 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
15648 cat > conftest.$ac_ext <<_ACEOF
15650 program foo
15651 real, parameter :: bar = sin (12.34 / 2.5)
15652 end program foo
15653 _ACEOF
15654 if ac_fn_fc_try_compile "$LINENO"; then :
15655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15656 $as_echo "yes" >&6; }
15657 else
15658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15659 $as_echo "no" >&6; }
15660 as_fn_error "GNU Fortran is not working; please report a bug in http://gcc.gnu.org/bugzilla, attaching $PWD/config.log" "$LINENO" 5
15663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15664 ac_ext=c
15665 ac_cpp='$CPP $CPPFLAGS'
15666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15672 # Check whether --enable-largefile was given.
15673 if test "${enable_largefile+set}" = set; then :
15674 enableval=$enable_largefile;
15677 if test "$enable_largefile" != no; then
15679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
15680 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
15681 if test "${ac_cv_sys_largefile_CC+set}" = set; then :
15682 $as_echo_n "(cached) " >&6
15683 else
15684 ac_cv_sys_largefile_CC=no
15685 if test "$GCC" != yes; then
15686 ac_save_CC=$CC
15687 while :; do
15688 # IRIX 6.2 and later do not support large files by default,
15689 # so use the C compiler's -n32 option if that helps.
15690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15691 /* end confdefs.h. */
15692 #include <sys/types.h>
15693 /* Check that off_t can represent 2**63 - 1 correctly.
15694 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15695 since some C++ compilers masquerading as C compilers
15696 incorrectly reject 9223372036854775807. */
15697 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15698 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15699 && LARGE_OFF_T % 2147483647 == 1)
15700 ? 1 : -1];
15702 main ()
15706 return 0;
15708 _ACEOF
15709 if ac_fn_c_try_compile "$LINENO"; then :
15710 break
15712 rm -f core conftest.err conftest.$ac_objext
15713 CC="$CC -n32"
15714 if ac_fn_c_try_compile "$LINENO"; then :
15715 ac_cv_sys_largefile_CC=' -n32'; break
15717 rm -f core conftest.err conftest.$ac_objext
15718 break
15719 done
15720 CC=$ac_save_CC
15721 rm -f conftest.$ac_ext
15724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
15725 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
15726 if test "$ac_cv_sys_largefile_CC" != no; then
15727 CC=$CC$ac_cv_sys_largefile_CC
15730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
15731 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
15732 if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
15733 $as_echo_n "(cached) " >&6
15734 else
15735 while :; do
15736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15737 /* end confdefs.h. */
15738 #include <sys/types.h>
15739 /* Check that off_t can represent 2**63 - 1 correctly.
15740 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15741 since some C++ compilers masquerading as C compilers
15742 incorrectly reject 9223372036854775807. */
15743 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15744 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15745 && LARGE_OFF_T % 2147483647 == 1)
15746 ? 1 : -1];
15748 main ()
15752 return 0;
15754 _ACEOF
15755 if ac_fn_c_try_compile "$LINENO"; then :
15756 ac_cv_sys_file_offset_bits=no; break
15758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15760 /* end confdefs.h. */
15761 #define _FILE_OFFSET_BITS 64
15762 #include <sys/types.h>
15763 /* Check that off_t can represent 2**63 - 1 correctly.
15764 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15765 since some C++ compilers masquerading as C compilers
15766 incorrectly reject 9223372036854775807. */
15767 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15768 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15769 && LARGE_OFF_T % 2147483647 == 1)
15770 ? 1 : -1];
15772 main ()
15776 return 0;
15778 _ACEOF
15779 if ac_fn_c_try_compile "$LINENO"; then :
15780 ac_cv_sys_file_offset_bits=64; break
15782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15783 ac_cv_sys_file_offset_bits=unknown
15784 break
15785 done
15787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
15788 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
15789 case $ac_cv_sys_file_offset_bits in #(
15790 no | unknown) ;;
15792 cat >>confdefs.h <<_ACEOF
15793 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
15794 _ACEOF
15796 esac
15797 rm -rf conftest*
15798 if test $ac_cv_sys_file_offset_bits = unknown; then
15799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
15800 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
15801 if test "${ac_cv_sys_large_files+set}" = set; then :
15802 $as_echo_n "(cached) " >&6
15803 else
15804 while :; do
15805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15806 /* end confdefs.h. */
15807 #include <sys/types.h>
15808 /* Check that off_t can represent 2**63 - 1 correctly.
15809 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15810 since some C++ compilers masquerading as C compilers
15811 incorrectly reject 9223372036854775807. */
15812 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15813 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15814 && LARGE_OFF_T % 2147483647 == 1)
15815 ? 1 : -1];
15817 main ()
15821 return 0;
15823 _ACEOF
15824 if ac_fn_c_try_compile "$LINENO"; then :
15825 ac_cv_sys_large_files=no; break
15827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15829 /* end confdefs.h. */
15830 #define _LARGE_FILES 1
15831 #include <sys/types.h>
15832 /* Check that off_t can represent 2**63 - 1 correctly.
15833 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15834 since some C++ compilers masquerading as C compilers
15835 incorrectly reject 9223372036854775807. */
15836 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15837 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15838 && LARGE_OFF_T % 2147483647 == 1)
15839 ? 1 : -1];
15841 main ()
15845 return 0;
15847 _ACEOF
15848 if ac_fn_c_try_compile "$LINENO"; then :
15849 ac_cv_sys_large_files=1; break
15851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15852 ac_cv_sys_large_files=unknown
15853 break
15854 done
15856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
15857 $as_echo "$ac_cv_sys_large_files" >&6; }
15858 case $ac_cv_sys_large_files in #(
15859 no | unknown) ;;
15861 cat >>confdefs.h <<_ACEOF
15862 #define _LARGE_FILES $ac_cv_sys_large_files
15863 _ACEOF
15865 esac
15866 rm -rf conftest*
15871 # Types
15872 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15873 if test "x$ac_cv_type_off_t" = x""yes; then :
15875 else
15877 cat >>confdefs.h <<_ACEOF
15878 #define off_t long int
15879 _ACEOF
15884 ac_fn_c_check_type "$LINENO" "intptr_t" "ac_cv_type_intptr_t" "$ac_includes_default"
15885 if test "x$ac_cv_type_intptr_t" = x""yes; then :
15887 $as_echo "#define HAVE_INTPTR_T 1" >>confdefs.h
15889 else
15890 for ac_type in 'int' 'long int' 'long long int'; do
15891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15892 /* end confdefs.h. */
15893 $ac_includes_default
15895 main ()
15897 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
15898 test_array [0] = 0
15901 return 0;
15903 _ACEOF
15904 if ac_fn_c_try_compile "$LINENO"; then :
15906 cat >>confdefs.h <<_ACEOF
15907 #define intptr_t $ac_type
15908 _ACEOF
15910 ac_type=
15912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15913 test -z "$ac_type" && break
15914 done
15919 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default"
15920 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
15922 $as_echo "#define HAVE_UINTPTR_T 1" >>confdefs.h
15924 else
15925 for ac_type in 'unsigned int' 'unsigned long int' \
15926 'unsigned long long int'; do
15927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15928 /* end confdefs.h. */
15929 $ac_includes_default
15931 main ()
15933 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
15934 test_array [0] = 0
15937 return 0;
15939 _ACEOF
15940 if ac_fn_c_try_compile "$LINENO"; then :
15942 cat >>confdefs.h <<_ACEOF
15943 #define uintptr_t $ac_type
15944 _ACEOF
15946 ac_type=
15948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15949 test -z "$ac_type" && break
15950 done
15954 ac_fn_c_check_type "$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
15955 if test "x$ac_cv_type_ptrdiff_t" = x""yes; then :
15957 cat >>confdefs.h <<_ACEOF
15958 #define HAVE_PTRDIFF_T 1
15959 _ACEOF
15965 # check header files (we assume C89 is available, so don't check for that)
15969 for ac_header in $ac_header_list
15970 do :
15971 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15972 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
15974 eval as_val=\$$as_ac_Header
15975 if test "x$as_val" = x""yes; then :
15976 cat >>confdefs.h <<_ACEOF
15977 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15978 _ACEOF
15982 done
16016 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
16018 acx_cv_header_stdint=stddef.h
16019 acx_cv_header_stdint_kind="(already complete)"
16020 for i in stdint.h $inttype_headers; do
16021 unset ac_cv_type_uintptr_t
16022 unset ac_cv_type_uintmax_t
16023 unset ac_cv_type_int_least32_t
16024 unset ac_cv_type_int_fast32_t
16025 unset ac_cv_type_uint64_t
16026 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
16027 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
16028 #include <$i>
16030 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
16031 acx_cv_header_stdint=$i
16032 else
16033 continue
16036 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
16037 #include <$i>
16039 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
16041 else
16042 acx_cv_header_stdint_kind="(mostly complete)"
16045 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
16046 #include <$i>
16048 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
16050 else
16051 acx_cv_header_stdint_kind="(mostly complete)"
16054 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
16055 #include <$i>
16057 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
16059 else
16060 acx_cv_header_stdint_kind="(mostly complete)"
16063 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
16064 #include <$i>
16066 if test "x$ac_cv_type_uint64_t" = x""yes; then :
16068 else
16069 acx_cv_header_stdint_kind="(lacks uint64_t)"
16072 break
16073 done
16074 if test "$acx_cv_header_stdint" = stddef.h; then
16075 acx_cv_header_stdint_kind="(lacks uintmax_t)"
16076 for i in stdint.h $inttype_headers; do
16077 unset ac_cv_type_uintptr_t
16078 unset ac_cv_type_uint32_t
16079 unset ac_cv_type_uint64_t
16080 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
16081 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
16082 #include <$i>
16084 if test "x$ac_cv_type_uint32_t" = x""yes; then :
16085 acx_cv_header_stdint=$i
16086 else
16087 continue
16090 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
16091 #include <$i>
16093 if test "x$ac_cv_type_uint64_t" = x""yes; then :
16097 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
16098 #include <$i>
16100 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
16104 break
16105 done
16107 if test "$acx_cv_header_stdint" = stddef.h; then
16108 acx_cv_header_stdint_kind="(u_intXX_t style)"
16109 for i in sys/types.h $inttype_headers; do
16110 unset ac_cv_type_u_int32_t
16111 unset ac_cv_type_u_int64_t
16112 $as_echo_n "looking for u_intXX_t types in $i, " >&6
16113 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
16114 #include <$i>
16116 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
16117 acx_cv_header_stdint=$i
16118 else
16119 continue
16122 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
16123 #include <$i>
16125 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
16129 break
16130 done
16132 if test "$acx_cv_header_stdint" = stddef.h; then
16133 acx_cv_header_stdint_kind="(using manual detection)"
16136 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
16137 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
16138 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
16139 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
16140 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
16142 # ----------------- Summarize what we found so far
16144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in gstdint.h" >&5
16145 $as_echo_n "checking what to include in gstdint.h... " >&6; }
16147 case `$as_basename -- gstdint.h ||
16148 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
16149 Xgstdint.h : 'X\(//\)$' \| \
16150 Xgstdint.h : 'X\(/\)' \| . 2>/dev/null ||
16151 $as_echo X/gstdint.h |
16152 sed '/^.*\/\([^/][^/]*\)\/*$/{
16153 s//\1/
16156 /^X\/\(\/\/\)$/{
16157 s//\1/
16160 /^X\/\(\/\).*/{
16161 s//\1/
16164 s/.*/./; q'` in
16165 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
16166 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16167 inttypes.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 *) ;;
16170 esac
16172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
16173 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
16175 # ----------------- done included file, check C basic types --------
16177 # Lacking an uintptr_t? Test size of void *
16178 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
16179 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
16180 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16181 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16182 # This bug is HP SR number 8606223364.
16183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
16184 $as_echo_n "checking size of void *... " >&6; }
16185 if test "${ac_cv_sizeof_void_p+set}" = set; then :
16186 $as_echo_n "(cached) " >&6
16187 else
16188 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
16190 else
16191 if test "$ac_cv_type_void_p" = yes; then
16192 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16193 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16194 { as_fn_set_status 77
16195 as_fn_error "cannot compute sizeof (void *)
16196 See \`config.log' for more details." "$LINENO" 5; }; }
16197 else
16198 ac_cv_sizeof_void_p=0
16203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
16204 $as_echo "$ac_cv_sizeof_void_p" >&6; }
16208 cat >>confdefs.h <<_ACEOF
16209 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16210 _ACEOF
16213 esac
16215 # Lacking an uint64_t? Test size of long
16216 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
16217 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
16218 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16219 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16220 # This bug is HP SR number 8606223364.
16221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
16222 $as_echo_n "checking size of long... " >&6; }
16223 if test "${ac_cv_sizeof_long+set}" = set; then :
16224 $as_echo_n "(cached) " >&6
16225 else
16226 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
16228 else
16229 if test "$ac_cv_type_long" = yes; then
16230 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16231 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16232 { as_fn_set_status 77
16233 as_fn_error "cannot compute sizeof (long)
16234 See \`config.log' for more details." "$LINENO" 5; }; }
16235 else
16236 ac_cv_sizeof_long=0
16241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
16242 $as_echo "$ac_cv_sizeof_long" >&6; }
16246 cat >>confdefs.h <<_ACEOF
16247 #define SIZEOF_LONG $ac_cv_sizeof_long
16248 _ACEOF
16251 esac
16253 if test $acx_cv_header_stdint = stddef.h; then
16254 # Lacking a good header? Test size of everything and deduce all types.
16255 # The cast to long int works around a bug in the HP C Compiler
16256 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16257 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16258 # This bug is HP SR number 8606223364.
16259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
16260 $as_echo_n "checking size of int... " >&6; }
16261 if test "${ac_cv_sizeof_int+set}" = set; then :
16262 $as_echo_n "(cached) " >&6
16263 else
16264 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
16266 else
16267 if test "$ac_cv_type_int" = yes; then
16268 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16269 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16270 { as_fn_set_status 77
16271 as_fn_error "cannot compute sizeof (int)
16272 See \`config.log' for more details." "$LINENO" 5; }; }
16273 else
16274 ac_cv_sizeof_int=0
16279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
16280 $as_echo "$ac_cv_sizeof_int" >&6; }
16284 cat >>confdefs.h <<_ACEOF
16285 #define SIZEOF_INT $ac_cv_sizeof_int
16286 _ACEOF
16289 # The cast to long int works around a bug in the HP C Compiler
16290 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16291 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16292 # This bug is HP SR number 8606223364.
16293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
16294 $as_echo_n "checking size of short... " >&6; }
16295 if test "${ac_cv_sizeof_short+set}" = set; then :
16296 $as_echo_n "(cached) " >&6
16297 else
16298 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
16300 else
16301 if test "$ac_cv_type_short" = yes; then
16302 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16303 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16304 { as_fn_set_status 77
16305 as_fn_error "cannot compute sizeof (short)
16306 See \`config.log' for more details." "$LINENO" 5; }; }
16307 else
16308 ac_cv_sizeof_short=0
16313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
16314 $as_echo "$ac_cv_sizeof_short" >&6; }
16318 cat >>confdefs.h <<_ACEOF
16319 #define SIZEOF_SHORT $ac_cv_sizeof_short
16320 _ACEOF
16323 # The cast to long int works around a bug in the HP C Compiler
16324 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16325 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16326 # This bug is HP SR number 8606223364.
16327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
16328 $as_echo_n "checking size of char... " >&6; }
16329 if test "${ac_cv_sizeof_char+set}" = set; then :
16330 $as_echo_n "(cached) " >&6
16331 else
16332 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
16334 else
16335 if test "$ac_cv_type_char" = yes; then
16336 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16337 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16338 { as_fn_set_status 77
16339 as_fn_error "cannot compute sizeof (char)
16340 See \`config.log' for more details." "$LINENO" 5; }; }
16341 else
16342 ac_cv_sizeof_char=0
16347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
16348 $as_echo "$ac_cv_sizeof_char" >&6; }
16352 cat >>confdefs.h <<_ACEOF
16353 #define SIZEOF_CHAR $ac_cv_sizeof_char
16354 _ACEOF
16358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
16359 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
16360 case "$ac_cv_sizeof_char" in
16361 1) acx_cv_type_int8_t=char ;;
16362 *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
16363 esac
16364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
16365 $as_echo "$acx_cv_type_int8_t" >&6; }
16367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
16368 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
16369 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
16370 2:*) acx_cv_type_int16_t=int ;;
16371 *:2) acx_cv_type_int16_t=short ;;
16372 *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
16373 esac
16374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
16375 $as_echo "$acx_cv_type_int16_t" >&6; }
16377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
16378 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
16379 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
16380 4:*) acx_cv_type_int32_t=int ;;
16381 *:4) acx_cv_type_int32_t=long ;;
16382 *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
16383 esac
16384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
16385 $as_echo "$acx_cv_type_int32_t" >&6; }
16388 # These tests are here to make the output prettier
16390 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
16391 case "$ac_cv_sizeof_long" in
16392 8) acx_cv_type_int64_t=long ;;
16393 esac
16394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
16395 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
16396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
16397 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
16400 # Now we can use the above types
16402 if test "$ac_cv_type_uintptr_t" != yes; then
16403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
16404 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
16405 case $ac_cv_sizeof_void_p in
16406 2) acx_cv_type_intptr_t=int16_t ;;
16407 4) acx_cv_type_intptr_t=int32_t ;;
16408 8) acx_cv_type_intptr_t=int64_t ;;
16409 *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
16410 esac
16411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
16412 $as_echo "$acx_cv_type_intptr_t" >&6; }
16415 # ----------------- done all checks, emit header -------------
16416 ac_config_commands="$ac_config_commands gstdint.h"
16421 ac_fn_c_check_member "$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
16422 if test "x$ac_cv_member_struct_stat_st_blksize" = x""yes; then :
16424 cat >>confdefs.h <<_ACEOF
16425 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
16426 _ACEOF
16430 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16431 if test "x$ac_cv_member_struct_stat_st_blocks" = x""yes; then :
16433 cat >>confdefs.h <<_ACEOF
16434 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16435 _ACEOF
16439 ac_fn_c_check_member "$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
16440 if test "x$ac_cv_member_struct_stat_st_rdev" = x""yes; then :
16442 cat >>confdefs.h <<_ACEOF
16443 #define HAVE_STRUCT_STAT_ST_RDEV 1
16444 _ACEOF
16450 # Check for library functions.
16451 if test "x${with_newlib}" = "xyes"; then
16452 # We are being configured with a cross compiler. AC_REPLACE_FUNCS
16453 # may not work correctly, because the compiler may not be able to
16454 # link executables.
16456 $as_echo "#define HAVE_MKSTEMP 1" >>confdefs.h
16459 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
16462 $as_echo "#define HAVE_SNPRINTF 1" >>confdefs.h
16465 $as_echo "#define HAVE_STRCASESTR 1" >>confdefs.h
16468 $as_echo "#define HAVE_VSNPRINTF 1" >>confdefs.h
16471 $as_echo "#define HAVE_LOCALTIME_R 1" >>confdefs.h
16474 $as_echo "#define HAVE_GMTIME_R 1" >>confdefs.h
16477 $as_echo "#define HAVE_STRTOK_R 1" >>confdefs.h
16480 # At some point, we should differentiate between architectures
16481 # like x86, which have long double versions, and alpha/powerpc/etc.,
16482 # which don't. For the time being, punt.
16483 if test x"long_double_math_on_this_cpu" = x"yes"; then
16485 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
16488 else
16492 for ac_func in $ac_func_list
16493 do :
16494 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16495 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16496 eval as_val=\$$as_ac_var
16497 if test "x$as_val" = x""yes; then :
16498 cat >>confdefs.h <<_ACEOF
16499 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16500 _ACEOF
16503 done
16616 # Check strerror_r, cannot be above as versions with two and three arguments exist
16618 ac_save_CFLAGS="$CFLAGS"
16619 CFLAGS="-Wimplicit-function-declaration -Werror"
16620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16621 /* end confdefs.h. */
16622 #define _GNU_SOURCE 1
16623 #include <string.h>
16624 #include <locale.h>
16626 main ()
16628 char s[128]; strerror_r(5, s, 128);
16630 return 0;
16632 _ACEOF
16633 if ac_fn_c_try_compile "$LINENO"; then :
16635 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
16638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16639 CFLAGS="$ac_save_CFLAGS"
16641 ac_save_CFLAGS="$CFLAGS"
16642 CFLAGS="-Wimplicit-function-declaration -Werror"
16643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16644 /* end confdefs.h. */
16645 #define _GNU_SOURCE 1
16646 #include <string.h>
16647 #include <locale.h>
16649 main ()
16651 char s[128]; strerror_r(5, s);
16653 return 0;
16655 _ACEOF
16656 if ac_fn_c_try_compile "$LINENO"; then :
16658 $as_echo "#define HAVE_STRERROR_R_2ARGS 1" >>confdefs.h
16661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16662 CFLAGS="$ac_save_CFLAGS"
16665 # Check for C99 (and other IEEE) math functions
16666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16667 $as_echo_n "checking for sin in -lm... " >&6; }
16668 if test "${ac_cv_lib_m_sin+set}" = set; then :
16669 $as_echo_n "(cached) " >&6
16670 else
16671 ac_check_lib_save_LIBS=$LIBS
16672 LIBS="-lm $LIBS"
16673 if test x$gcc_no_link = xyes; then
16674 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16677 /* end confdefs.h. */
16679 /* Override any GCC internal prototype to avoid an error.
16680 Use char because int might match the return type of a GCC
16681 builtin and then its argument prototype would still apply. */
16682 #ifdef __cplusplus
16683 extern "C"
16684 #endif
16685 char sin ();
16687 main ()
16689 return sin ();
16691 return 0;
16693 _ACEOF
16694 if ac_fn_c_try_link "$LINENO"; then :
16695 ac_cv_lib_m_sin=yes
16696 else
16697 ac_cv_lib_m_sin=no
16699 rm -f core conftest.err conftest.$ac_objext \
16700 conftest$ac_exeext conftest.$ac_ext
16701 LIBS=$ac_check_lib_save_LIBS
16703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16704 $as_echo "$ac_cv_lib_m_sin" >&6; }
16705 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16706 cat >>confdefs.h <<_ACEOF
16707 #define HAVE_LIBM 1
16708 _ACEOF
16710 LIBS="-lm $LIBS"
16720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosf" >&5
16721 $as_echo_n "checking for acosf... " >&6; }
16722 if test "${gcc_cv_math_func_acosf+set}" = set; then :
16723 $as_echo_n "(cached) " >&6
16724 else
16725 if test x$gcc_no_link = xyes; then
16726 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16729 /* end confdefs.h. */
16731 #ifdef HAVE_COMPLEX_H
16732 #include <complex.h>
16733 #endif
16734 #ifdef HAVE_MATH_H
16735 #include <math.h>
16736 #endif
16738 int (*ptr)() = (int (*)())acosf;
16741 main ()
16743 return 0;
16746 _ACEOF
16747 if ac_fn_c_try_link "$LINENO"; then :
16748 gcc_cv_math_func_acosf=yes
16749 else
16750 gcc_cv_math_func_acosf=no
16752 rm -f core conftest.err conftest.$ac_objext \
16753 conftest$ac_exeext conftest.$ac_ext
16755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosf" >&5
16756 $as_echo "$gcc_cv_math_func_acosf" >&6; }
16757 if test $gcc_cv_math_func_acosf = yes; then
16759 cat >>confdefs.h <<_ACEOF
16760 #define HAVE_ACOSF 1
16761 _ACEOF
16768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acos" >&5
16769 $as_echo_n "checking for acos... " >&6; }
16770 if test "${gcc_cv_math_func_acos+set}" = set; then :
16771 $as_echo_n "(cached) " >&6
16772 else
16773 if test x$gcc_no_link = xyes; then
16774 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16777 /* end confdefs.h. */
16779 #ifdef HAVE_COMPLEX_H
16780 #include <complex.h>
16781 #endif
16782 #ifdef HAVE_MATH_H
16783 #include <math.h>
16784 #endif
16786 int (*ptr)() = (int (*)())acos;
16789 main ()
16791 return 0;
16794 _ACEOF
16795 if ac_fn_c_try_link "$LINENO"; then :
16796 gcc_cv_math_func_acos=yes
16797 else
16798 gcc_cv_math_func_acos=no
16800 rm -f core conftest.err conftest.$ac_objext \
16801 conftest$ac_exeext conftest.$ac_ext
16803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acos" >&5
16804 $as_echo "$gcc_cv_math_func_acos" >&6; }
16805 if test $gcc_cv_math_func_acos = yes; then
16807 cat >>confdefs.h <<_ACEOF
16808 #define HAVE_ACOS 1
16809 _ACEOF
16816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosl" >&5
16817 $as_echo_n "checking for acosl... " >&6; }
16818 if test "${gcc_cv_math_func_acosl+set}" = set; then :
16819 $as_echo_n "(cached) " >&6
16820 else
16821 if test x$gcc_no_link = xyes; then
16822 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16825 /* end confdefs.h. */
16827 #ifdef HAVE_COMPLEX_H
16828 #include <complex.h>
16829 #endif
16830 #ifdef HAVE_MATH_H
16831 #include <math.h>
16832 #endif
16834 int (*ptr)() = (int (*)())acosl;
16837 main ()
16839 return 0;
16842 _ACEOF
16843 if ac_fn_c_try_link "$LINENO"; then :
16844 gcc_cv_math_func_acosl=yes
16845 else
16846 gcc_cv_math_func_acosl=no
16848 rm -f core conftest.err conftest.$ac_objext \
16849 conftest$ac_exeext conftest.$ac_ext
16851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosl" >&5
16852 $as_echo "$gcc_cv_math_func_acosl" >&6; }
16853 if test $gcc_cv_math_func_acosl = yes; then
16855 cat >>confdefs.h <<_ACEOF
16856 #define HAVE_ACOSL 1
16857 _ACEOF
16864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshf" >&5
16865 $as_echo_n "checking for acoshf... " >&6; }
16866 if test "${gcc_cv_math_func_acoshf+set}" = set; then :
16867 $as_echo_n "(cached) " >&6
16868 else
16869 if test x$gcc_no_link = xyes; then
16870 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16873 /* end confdefs.h. */
16875 #ifdef HAVE_COMPLEX_H
16876 #include <complex.h>
16877 #endif
16878 #ifdef HAVE_MATH_H
16879 #include <math.h>
16880 #endif
16882 int (*ptr)() = (int (*)())acoshf;
16885 main ()
16887 return 0;
16890 _ACEOF
16891 if ac_fn_c_try_link "$LINENO"; then :
16892 gcc_cv_math_func_acoshf=yes
16893 else
16894 gcc_cv_math_func_acoshf=no
16896 rm -f core conftest.err conftest.$ac_objext \
16897 conftest$ac_exeext conftest.$ac_ext
16899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshf" >&5
16900 $as_echo "$gcc_cv_math_func_acoshf" >&6; }
16901 if test $gcc_cv_math_func_acoshf = yes; then
16903 cat >>confdefs.h <<_ACEOF
16904 #define HAVE_ACOSHF 1
16905 _ACEOF
16912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosh" >&5
16913 $as_echo_n "checking for acosh... " >&6; }
16914 if test "${gcc_cv_math_func_acosh+set}" = set; then :
16915 $as_echo_n "(cached) " >&6
16916 else
16917 if test x$gcc_no_link = xyes; then
16918 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16921 /* end confdefs.h. */
16923 #ifdef HAVE_COMPLEX_H
16924 #include <complex.h>
16925 #endif
16926 #ifdef HAVE_MATH_H
16927 #include <math.h>
16928 #endif
16930 int (*ptr)() = (int (*)())acosh;
16933 main ()
16935 return 0;
16938 _ACEOF
16939 if ac_fn_c_try_link "$LINENO"; then :
16940 gcc_cv_math_func_acosh=yes
16941 else
16942 gcc_cv_math_func_acosh=no
16944 rm -f core conftest.err conftest.$ac_objext \
16945 conftest$ac_exeext conftest.$ac_ext
16947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosh" >&5
16948 $as_echo "$gcc_cv_math_func_acosh" >&6; }
16949 if test $gcc_cv_math_func_acosh = yes; then
16951 cat >>confdefs.h <<_ACEOF
16952 #define HAVE_ACOSH 1
16953 _ACEOF
16960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshl" >&5
16961 $as_echo_n "checking for acoshl... " >&6; }
16962 if test "${gcc_cv_math_func_acoshl+set}" = set; then :
16963 $as_echo_n "(cached) " >&6
16964 else
16965 if test x$gcc_no_link = xyes; then
16966 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16969 /* end confdefs.h. */
16971 #ifdef HAVE_COMPLEX_H
16972 #include <complex.h>
16973 #endif
16974 #ifdef HAVE_MATH_H
16975 #include <math.h>
16976 #endif
16978 int (*ptr)() = (int (*)())acoshl;
16981 main ()
16983 return 0;
16986 _ACEOF
16987 if ac_fn_c_try_link "$LINENO"; then :
16988 gcc_cv_math_func_acoshl=yes
16989 else
16990 gcc_cv_math_func_acoshl=no
16992 rm -f core conftest.err conftest.$ac_objext \
16993 conftest$ac_exeext conftest.$ac_ext
16995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshl" >&5
16996 $as_echo "$gcc_cv_math_func_acoshl" >&6; }
16997 if test $gcc_cv_math_func_acoshl = yes; then
16999 cat >>confdefs.h <<_ACEOF
17000 #define HAVE_ACOSHL 1
17001 _ACEOF
17008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinf" >&5
17009 $as_echo_n "checking for asinf... " >&6; }
17010 if test "${gcc_cv_math_func_asinf+set}" = set; then :
17011 $as_echo_n "(cached) " >&6
17012 else
17013 if test x$gcc_no_link = xyes; then
17014 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17017 /* end confdefs.h. */
17019 #ifdef HAVE_COMPLEX_H
17020 #include <complex.h>
17021 #endif
17022 #ifdef HAVE_MATH_H
17023 #include <math.h>
17024 #endif
17026 int (*ptr)() = (int (*)())asinf;
17029 main ()
17031 return 0;
17034 _ACEOF
17035 if ac_fn_c_try_link "$LINENO"; then :
17036 gcc_cv_math_func_asinf=yes
17037 else
17038 gcc_cv_math_func_asinf=no
17040 rm -f core conftest.err conftest.$ac_objext \
17041 conftest$ac_exeext conftest.$ac_ext
17043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinf" >&5
17044 $as_echo "$gcc_cv_math_func_asinf" >&6; }
17045 if test $gcc_cv_math_func_asinf = yes; then
17047 cat >>confdefs.h <<_ACEOF
17048 #define HAVE_ASINF 1
17049 _ACEOF
17056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asin" >&5
17057 $as_echo_n "checking for asin... " >&6; }
17058 if test "${gcc_cv_math_func_asin+set}" = set; then :
17059 $as_echo_n "(cached) " >&6
17060 else
17061 if test x$gcc_no_link = xyes; then
17062 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17065 /* end confdefs.h. */
17067 #ifdef HAVE_COMPLEX_H
17068 #include <complex.h>
17069 #endif
17070 #ifdef HAVE_MATH_H
17071 #include <math.h>
17072 #endif
17074 int (*ptr)() = (int (*)())asin;
17077 main ()
17079 return 0;
17082 _ACEOF
17083 if ac_fn_c_try_link "$LINENO"; then :
17084 gcc_cv_math_func_asin=yes
17085 else
17086 gcc_cv_math_func_asin=no
17088 rm -f core conftest.err conftest.$ac_objext \
17089 conftest$ac_exeext conftest.$ac_ext
17091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asin" >&5
17092 $as_echo "$gcc_cv_math_func_asin" >&6; }
17093 if test $gcc_cv_math_func_asin = yes; then
17095 cat >>confdefs.h <<_ACEOF
17096 #define HAVE_ASIN 1
17097 _ACEOF
17104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinl" >&5
17105 $as_echo_n "checking for asinl... " >&6; }
17106 if test "${gcc_cv_math_func_asinl+set}" = set; then :
17107 $as_echo_n "(cached) " >&6
17108 else
17109 if test x$gcc_no_link = xyes; then
17110 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17113 /* end confdefs.h. */
17115 #ifdef HAVE_COMPLEX_H
17116 #include <complex.h>
17117 #endif
17118 #ifdef HAVE_MATH_H
17119 #include <math.h>
17120 #endif
17122 int (*ptr)() = (int (*)())asinl;
17125 main ()
17127 return 0;
17130 _ACEOF
17131 if ac_fn_c_try_link "$LINENO"; then :
17132 gcc_cv_math_func_asinl=yes
17133 else
17134 gcc_cv_math_func_asinl=no
17136 rm -f core conftest.err conftest.$ac_objext \
17137 conftest$ac_exeext conftest.$ac_ext
17139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinl" >&5
17140 $as_echo "$gcc_cv_math_func_asinl" >&6; }
17141 if test $gcc_cv_math_func_asinl = yes; then
17143 cat >>confdefs.h <<_ACEOF
17144 #define HAVE_ASINL 1
17145 _ACEOF
17152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhf" >&5
17153 $as_echo_n "checking for asinhf... " >&6; }
17154 if test "${gcc_cv_math_func_asinhf+set}" = set; then :
17155 $as_echo_n "(cached) " >&6
17156 else
17157 if test x$gcc_no_link = xyes; then
17158 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17161 /* end confdefs.h. */
17163 #ifdef HAVE_COMPLEX_H
17164 #include <complex.h>
17165 #endif
17166 #ifdef HAVE_MATH_H
17167 #include <math.h>
17168 #endif
17170 int (*ptr)() = (int (*)())asinhf;
17173 main ()
17175 return 0;
17178 _ACEOF
17179 if ac_fn_c_try_link "$LINENO"; then :
17180 gcc_cv_math_func_asinhf=yes
17181 else
17182 gcc_cv_math_func_asinhf=no
17184 rm -f core conftest.err conftest.$ac_objext \
17185 conftest$ac_exeext conftest.$ac_ext
17187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhf" >&5
17188 $as_echo "$gcc_cv_math_func_asinhf" >&6; }
17189 if test $gcc_cv_math_func_asinhf = yes; then
17191 cat >>confdefs.h <<_ACEOF
17192 #define HAVE_ASINHF 1
17193 _ACEOF
17200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinh" >&5
17201 $as_echo_n "checking for asinh... " >&6; }
17202 if test "${gcc_cv_math_func_asinh+set}" = set; then :
17203 $as_echo_n "(cached) " >&6
17204 else
17205 if test x$gcc_no_link = xyes; then
17206 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17209 /* end confdefs.h. */
17211 #ifdef HAVE_COMPLEX_H
17212 #include <complex.h>
17213 #endif
17214 #ifdef HAVE_MATH_H
17215 #include <math.h>
17216 #endif
17218 int (*ptr)() = (int (*)())asinh;
17221 main ()
17223 return 0;
17226 _ACEOF
17227 if ac_fn_c_try_link "$LINENO"; then :
17228 gcc_cv_math_func_asinh=yes
17229 else
17230 gcc_cv_math_func_asinh=no
17232 rm -f core conftest.err conftest.$ac_objext \
17233 conftest$ac_exeext conftest.$ac_ext
17235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinh" >&5
17236 $as_echo "$gcc_cv_math_func_asinh" >&6; }
17237 if test $gcc_cv_math_func_asinh = yes; then
17239 cat >>confdefs.h <<_ACEOF
17240 #define HAVE_ASINH 1
17241 _ACEOF
17248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhl" >&5
17249 $as_echo_n "checking for asinhl... " >&6; }
17250 if test "${gcc_cv_math_func_asinhl+set}" = set; then :
17251 $as_echo_n "(cached) " >&6
17252 else
17253 if test x$gcc_no_link = xyes; then
17254 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17257 /* end confdefs.h. */
17259 #ifdef HAVE_COMPLEX_H
17260 #include <complex.h>
17261 #endif
17262 #ifdef HAVE_MATH_H
17263 #include <math.h>
17264 #endif
17266 int (*ptr)() = (int (*)())asinhl;
17269 main ()
17271 return 0;
17274 _ACEOF
17275 if ac_fn_c_try_link "$LINENO"; then :
17276 gcc_cv_math_func_asinhl=yes
17277 else
17278 gcc_cv_math_func_asinhl=no
17280 rm -f core conftest.err conftest.$ac_objext \
17281 conftest$ac_exeext conftest.$ac_ext
17283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhl" >&5
17284 $as_echo "$gcc_cv_math_func_asinhl" >&6; }
17285 if test $gcc_cv_math_func_asinhl = yes; then
17287 cat >>confdefs.h <<_ACEOF
17288 #define HAVE_ASINHL 1
17289 _ACEOF
17296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f" >&5
17297 $as_echo_n "checking for atan2f... " >&6; }
17298 if test "${gcc_cv_math_func_atan2f+set}" = set; then :
17299 $as_echo_n "(cached) " >&6
17300 else
17301 if test x$gcc_no_link = xyes; then
17302 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17305 /* end confdefs.h. */
17307 #ifdef HAVE_COMPLEX_H
17308 #include <complex.h>
17309 #endif
17310 #ifdef HAVE_MATH_H
17311 #include <math.h>
17312 #endif
17314 int (*ptr)() = (int (*)())atan2f;
17317 main ()
17319 return 0;
17322 _ACEOF
17323 if ac_fn_c_try_link "$LINENO"; then :
17324 gcc_cv_math_func_atan2f=yes
17325 else
17326 gcc_cv_math_func_atan2f=no
17328 rm -f core conftest.err conftest.$ac_objext \
17329 conftest$ac_exeext conftest.$ac_ext
17331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2f" >&5
17332 $as_echo "$gcc_cv_math_func_atan2f" >&6; }
17333 if test $gcc_cv_math_func_atan2f = yes; then
17335 cat >>confdefs.h <<_ACEOF
17336 #define HAVE_ATAN2F 1
17337 _ACEOF
17344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2" >&5
17345 $as_echo_n "checking for atan2... " >&6; }
17346 if test "${gcc_cv_math_func_atan2+set}" = set; then :
17347 $as_echo_n "(cached) " >&6
17348 else
17349 if test x$gcc_no_link = xyes; then
17350 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17353 /* end confdefs.h. */
17355 #ifdef HAVE_COMPLEX_H
17356 #include <complex.h>
17357 #endif
17358 #ifdef HAVE_MATH_H
17359 #include <math.h>
17360 #endif
17362 int (*ptr)() = (int (*)())atan2;
17365 main ()
17367 return 0;
17370 _ACEOF
17371 if ac_fn_c_try_link "$LINENO"; then :
17372 gcc_cv_math_func_atan2=yes
17373 else
17374 gcc_cv_math_func_atan2=no
17376 rm -f core conftest.err conftest.$ac_objext \
17377 conftest$ac_exeext conftest.$ac_ext
17379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2" >&5
17380 $as_echo "$gcc_cv_math_func_atan2" >&6; }
17381 if test $gcc_cv_math_func_atan2 = yes; then
17383 cat >>confdefs.h <<_ACEOF
17384 #define HAVE_ATAN2 1
17385 _ACEOF
17392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l" >&5
17393 $as_echo_n "checking for atan2l... " >&6; }
17394 if test "${gcc_cv_math_func_atan2l+set}" = set; then :
17395 $as_echo_n "(cached) " >&6
17396 else
17397 if test x$gcc_no_link = xyes; then
17398 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17401 /* end confdefs.h. */
17403 #ifdef HAVE_COMPLEX_H
17404 #include <complex.h>
17405 #endif
17406 #ifdef HAVE_MATH_H
17407 #include <math.h>
17408 #endif
17410 int (*ptr)() = (int (*)())atan2l;
17413 main ()
17415 return 0;
17418 _ACEOF
17419 if ac_fn_c_try_link "$LINENO"; then :
17420 gcc_cv_math_func_atan2l=yes
17421 else
17422 gcc_cv_math_func_atan2l=no
17424 rm -f core conftest.err conftest.$ac_objext \
17425 conftest$ac_exeext conftest.$ac_ext
17427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2l" >&5
17428 $as_echo "$gcc_cv_math_func_atan2l" >&6; }
17429 if test $gcc_cv_math_func_atan2l = yes; then
17431 cat >>confdefs.h <<_ACEOF
17432 #define HAVE_ATAN2L 1
17433 _ACEOF
17440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanf" >&5
17441 $as_echo_n "checking for atanf... " >&6; }
17442 if test "${gcc_cv_math_func_atanf+set}" = set; then :
17443 $as_echo_n "(cached) " >&6
17444 else
17445 if test x$gcc_no_link = xyes; then
17446 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17449 /* end confdefs.h. */
17451 #ifdef HAVE_COMPLEX_H
17452 #include <complex.h>
17453 #endif
17454 #ifdef HAVE_MATH_H
17455 #include <math.h>
17456 #endif
17458 int (*ptr)() = (int (*)())atanf;
17461 main ()
17463 return 0;
17466 _ACEOF
17467 if ac_fn_c_try_link "$LINENO"; then :
17468 gcc_cv_math_func_atanf=yes
17469 else
17470 gcc_cv_math_func_atanf=no
17472 rm -f core conftest.err conftest.$ac_objext \
17473 conftest$ac_exeext conftest.$ac_ext
17475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanf" >&5
17476 $as_echo "$gcc_cv_math_func_atanf" >&6; }
17477 if test $gcc_cv_math_func_atanf = yes; then
17479 cat >>confdefs.h <<_ACEOF
17480 #define HAVE_ATANF 1
17481 _ACEOF
17488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan" >&5
17489 $as_echo_n "checking for atan... " >&6; }
17490 if test "${gcc_cv_math_func_atan+set}" = set; then :
17491 $as_echo_n "(cached) " >&6
17492 else
17493 if test x$gcc_no_link = xyes; then
17494 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17497 /* end confdefs.h. */
17499 #ifdef HAVE_COMPLEX_H
17500 #include <complex.h>
17501 #endif
17502 #ifdef HAVE_MATH_H
17503 #include <math.h>
17504 #endif
17506 int (*ptr)() = (int (*)())atan;
17509 main ()
17511 return 0;
17514 _ACEOF
17515 if ac_fn_c_try_link "$LINENO"; then :
17516 gcc_cv_math_func_atan=yes
17517 else
17518 gcc_cv_math_func_atan=no
17520 rm -f core conftest.err conftest.$ac_objext \
17521 conftest$ac_exeext conftest.$ac_ext
17523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan" >&5
17524 $as_echo "$gcc_cv_math_func_atan" >&6; }
17525 if test $gcc_cv_math_func_atan = yes; then
17527 cat >>confdefs.h <<_ACEOF
17528 #define HAVE_ATAN 1
17529 _ACEOF
17536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanl" >&5
17537 $as_echo_n "checking for atanl... " >&6; }
17538 if test "${gcc_cv_math_func_atanl+set}" = set; then :
17539 $as_echo_n "(cached) " >&6
17540 else
17541 if test x$gcc_no_link = xyes; then
17542 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17545 /* end confdefs.h. */
17547 #ifdef HAVE_COMPLEX_H
17548 #include <complex.h>
17549 #endif
17550 #ifdef HAVE_MATH_H
17551 #include <math.h>
17552 #endif
17554 int (*ptr)() = (int (*)())atanl;
17557 main ()
17559 return 0;
17562 _ACEOF
17563 if ac_fn_c_try_link "$LINENO"; then :
17564 gcc_cv_math_func_atanl=yes
17565 else
17566 gcc_cv_math_func_atanl=no
17568 rm -f core conftest.err conftest.$ac_objext \
17569 conftest$ac_exeext conftest.$ac_ext
17571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanl" >&5
17572 $as_echo "$gcc_cv_math_func_atanl" >&6; }
17573 if test $gcc_cv_math_func_atanl = yes; then
17575 cat >>confdefs.h <<_ACEOF
17576 #define HAVE_ATANL 1
17577 _ACEOF
17584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhf" >&5
17585 $as_echo_n "checking for atanhf... " >&6; }
17586 if test "${gcc_cv_math_func_atanhf+set}" = set; then :
17587 $as_echo_n "(cached) " >&6
17588 else
17589 if test x$gcc_no_link = xyes; then
17590 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17593 /* end confdefs.h. */
17595 #ifdef HAVE_COMPLEX_H
17596 #include <complex.h>
17597 #endif
17598 #ifdef HAVE_MATH_H
17599 #include <math.h>
17600 #endif
17602 int (*ptr)() = (int (*)())atanhf;
17605 main ()
17607 return 0;
17610 _ACEOF
17611 if ac_fn_c_try_link "$LINENO"; then :
17612 gcc_cv_math_func_atanhf=yes
17613 else
17614 gcc_cv_math_func_atanhf=no
17616 rm -f core conftest.err conftest.$ac_objext \
17617 conftest$ac_exeext conftest.$ac_ext
17619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhf" >&5
17620 $as_echo "$gcc_cv_math_func_atanhf" >&6; }
17621 if test $gcc_cv_math_func_atanhf = yes; then
17623 cat >>confdefs.h <<_ACEOF
17624 #define HAVE_ATANHF 1
17625 _ACEOF
17632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanh" >&5
17633 $as_echo_n "checking for atanh... " >&6; }
17634 if test "${gcc_cv_math_func_atanh+set}" = set; then :
17635 $as_echo_n "(cached) " >&6
17636 else
17637 if test x$gcc_no_link = xyes; then
17638 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17641 /* end confdefs.h. */
17643 #ifdef HAVE_COMPLEX_H
17644 #include <complex.h>
17645 #endif
17646 #ifdef HAVE_MATH_H
17647 #include <math.h>
17648 #endif
17650 int (*ptr)() = (int (*)())atanh;
17653 main ()
17655 return 0;
17658 _ACEOF
17659 if ac_fn_c_try_link "$LINENO"; then :
17660 gcc_cv_math_func_atanh=yes
17661 else
17662 gcc_cv_math_func_atanh=no
17664 rm -f core conftest.err conftest.$ac_objext \
17665 conftest$ac_exeext conftest.$ac_ext
17667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanh" >&5
17668 $as_echo "$gcc_cv_math_func_atanh" >&6; }
17669 if test $gcc_cv_math_func_atanh = yes; then
17671 cat >>confdefs.h <<_ACEOF
17672 #define HAVE_ATANH 1
17673 _ACEOF
17680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhl" >&5
17681 $as_echo_n "checking for atanhl... " >&6; }
17682 if test "${gcc_cv_math_func_atanhl+set}" = set; then :
17683 $as_echo_n "(cached) " >&6
17684 else
17685 if test x$gcc_no_link = xyes; then
17686 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17689 /* end confdefs.h. */
17691 #ifdef HAVE_COMPLEX_H
17692 #include <complex.h>
17693 #endif
17694 #ifdef HAVE_MATH_H
17695 #include <math.h>
17696 #endif
17698 int (*ptr)() = (int (*)())atanhl;
17701 main ()
17703 return 0;
17706 _ACEOF
17707 if ac_fn_c_try_link "$LINENO"; then :
17708 gcc_cv_math_func_atanhl=yes
17709 else
17710 gcc_cv_math_func_atanhl=no
17712 rm -f core conftest.err conftest.$ac_objext \
17713 conftest$ac_exeext conftest.$ac_ext
17715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhl" >&5
17716 $as_echo "$gcc_cv_math_func_atanhl" >&6; }
17717 if test $gcc_cv_math_func_atanhl = yes; then
17719 cat >>confdefs.h <<_ACEOF
17720 #define HAVE_ATANHL 1
17721 _ACEOF
17728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargf" >&5
17729 $as_echo_n "checking for cargf... " >&6; }
17730 if test "${gcc_cv_math_func_cargf+set}" = set; then :
17731 $as_echo_n "(cached) " >&6
17732 else
17733 if test x$gcc_no_link = xyes; then
17734 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17737 /* end confdefs.h. */
17739 #ifdef HAVE_COMPLEX_H
17740 #include <complex.h>
17741 #endif
17742 #ifdef HAVE_MATH_H
17743 #include <math.h>
17744 #endif
17746 int (*ptr)() = (int (*)())cargf;
17749 main ()
17751 return 0;
17754 _ACEOF
17755 if ac_fn_c_try_link "$LINENO"; then :
17756 gcc_cv_math_func_cargf=yes
17757 else
17758 gcc_cv_math_func_cargf=no
17760 rm -f core conftest.err conftest.$ac_objext \
17761 conftest$ac_exeext conftest.$ac_ext
17763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargf" >&5
17764 $as_echo "$gcc_cv_math_func_cargf" >&6; }
17765 if test $gcc_cv_math_func_cargf = yes; then
17767 cat >>confdefs.h <<_ACEOF
17768 #define HAVE_CARGF 1
17769 _ACEOF
17776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for carg" >&5
17777 $as_echo_n "checking for carg... " >&6; }
17778 if test "${gcc_cv_math_func_carg+set}" = set; then :
17779 $as_echo_n "(cached) " >&6
17780 else
17781 if test x$gcc_no_link = xyes; then
17782 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17785 /* end confdefs.h. */
17787 #ifdef HAVE_COMPLEX_H
17788 #include <complex.h>
17789 #endif
17790 #ifdef HAVE_MATH_H
17791 #include <math.h>
17792 #endif
17794 int (*ptr)() = (int (*)())carg;
17797 main ()
17799 return 0;
17802 _ACEOF
17803 if ac_fn_c_try_link "$LINENO"; then :
17804 gcc_cv_math_func_carg=yes
17805 else
17806 gcc_cv_math_func_carg=no
17808 rm -f core conftest.err conftest.$ac_objext \
17809 conftest$ac_exeext conftest.$ac_ext
17811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_carg" >&5
17812 $as_echo "$gcc_cv_math_func_carg" >&6; }
17813 if test $gcc_cv_math_func_carg = yes; then
17815 cat >>confdefs.h <<_ACEOF
17816 #define HAVE_CARG 1
17817 _ACEOF
17824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargl" >&5
17825 $as_echo_n "checking for cargl... " >&6; }
17826 if test "${gcc_cv_math_func_cargl+set}" = set; then :
17827 $as_echo_n "(cached) " >&6
17828 else
17829 if test x$gcc_no_link = xyes; then
17830 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17833 /* end confdefs.h. */
17835 #ifdef HAVE_COMPLEX_H
17836 #include <complex.h>
17837 #endif
17838 #ifdef HAVE_MATH_H
17839 #include <math.h>
17840 #endif
17842 int (*ptr)() = (int (*)())cargl;
17845 main ()
17847 return 0;
17850 _ACEOF
17851 if ac_fn_c_try_link "$LINENO"; then :
17852 gcc_cv_math_func_cargl=yes
17853 else
17854 gcc_cv_math_func_cargl=no
17856 rm -f core conftest.err conftest.$ac_objext \
17857 conftest$ac_exeext conftest.$ac_ext
17859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargl" >&5
17860 $as_echo "$gcc_cv_math_func_cargl" >&6; }
17861 if test $gcc_cv_math_func_cargl = yes; then
17863 cat >>confdefs.h <<_ACEOF
17864 #define HAVE_CARGL 1
17865 _ACEOF
17872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceilf" >&5
17873 $as_echo_n "checking for ceilf... " >&6; }
17874 if test "${gcc_cv_math_func_ceilf+set}" = set; then :
17875 $as_echo_n "(cached) " >&6
17876 else
17877 if test x$gcc_no_link = xyes; then
17878 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17881 /* end confdefs.h. */
17883 #ifdef HAVE_COMPLEX_H
17884 #include <complex.h>
17885 #endif
17886 #ifdef HAVE_MATH_H
17887 #include <math.h>
17888 #endif
17890 int (*ptr)() = (int (*)())ceilf;
17893 main ()
17895 return 0;
17898 _ACEOF
17899 if ac_fn_c_try_link "$LINENO"; then :
17900 gcc_cv_math_func_ceilf=yes
17901 else
17902 gcc_cv_math_func_ceilf=no
17904 rm -f core conftest.err conftest.$ac_objext \
17905 conftest$ac_exeext conftest.$ac_ext
17907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceilf" >&5
17908 $as_echo "$gcc_cv_math_func_ceilf" >&6; }
17909 if test $gcc_cv_math_func_ceilf = yes; then
17911 cat >>confdefs.h <<_ACEOF
17912 #define HAVE_CEILF 1
17913 _ACEOF
17920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceil" >&5
17921 $as_echo_n "checking for ceil... " >&6; }
17922 if test "${gcc_cv_math_func_ceil+set}" = set; then :
17923 $as_echo_n "(cached) " >&6
17924 else
17925 if test x$gcc_no_link = xyes; then
17926 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17929 /* end confdefs.h. */
17931 #ifdef HAVE_COMPLEX_H
17932 #include <complex.h>
17933 #endif
17934 #ifdef HAVE_MATH_H
17935 #include <math.h>
17936 #endif
17938 int (*ptr)() = (int (*)())ceil;
17941 main ()
17943 return 0;
17946 _ACEOF
17947 if ac_fn_c_try_link "$LINENO"; then :
17948 gcc_cv_math_func_ceil=yes
17949 else
17950 gcc_cv_math_func_ceil=no
17952 rm -f core conftest.err conftest.$ac_objext \
17953 conftest$ac_exeext conftest.$ac_ext
17955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceil" >&5
17956 $as_echo "$gcc_cv_math_func_ceil" >&6; }
17957 if test $gcc_cv_math_func_ceil = yes; then
17959 cat >>confdefs.h <<_ACEOF
17960 #define HAVE_CEIL 1
17961 _ACEOF
17968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceill" >&5
17969 $as_echo_n "checking for ceill... " >&6; }
17970 if test "${gcc_cv_math_func_ceill+set}" = set; then :
17971 $as_echo_n "(cached) " >&6
17972 else
17973 if test x$gcc_no_link = xyes; then
17974 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17977 /* end confdefs.h. */
17979 #ifdef HAVE_COMPLEX_H
17980 #include <complex.h>
17981 #endif
17982 #ifdef HAVE_MATH_H
17983 #include <math.h>
17984 #endif
17986 int (*ptr)() = (int (*)())ceill;
17989 main ()
17991 return 0;
17994 _ACEOF
17995 if ac_fn_c_try_link "$LINENO"; then :
17996 gcc_cv_math_func_ceill=yes
17997 else
17998 gcc_cv_math_func_ceill=no
18000 rm -f core conftest.err conftest.$ac_objext \
18001 conftest$ac_exeext conftest.$ac_ext
18003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceill" >&5
18004 $as_echo "$gcc_cv_math_func_ceill" >&6; }
18005 if test $gcc_cv_math_func_ceill = yes; then
18007 cat >>confdefs.h <<_ACEOF
18008 #define HAVE_CEILL 1
18009 _ACEOF
18016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignf" >&5
18017 $as_echo_n "checking for copysignf... " >&6; }
18018 if test "${gcc_cv_math_func_copysignf+set}" = set; then :
18019 $as_echo_n "(cached) " >&6
18020 else
18021 if test x$gcc_no_link = xyes; then
18022 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18025 /* end confdefs.h. */
18027 #ifdef HAVE_COMPLEX_H
18028 #include <complex.h>
18029 #endif
18030 #ifdef HAVE_MATH_H
18031 #include <math.h>
18032 #endif
18034 int (*ptr)() = (int (*)())copysignf;
18037 main ()
18039 return 0;
18042 _ACEOF
18043 if ac_fn_c_try_link "$LINENO"; then :
18044 gcc_cv_math_func_copysignf=yes
18045 else
18046 gcc_cv_math_func_copysignf=no
18048 rm -f core conftest.err conftest.$ac_objext \
18049 conftest$ac_exeext conftest.$ac_ext
18051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignf" >&5
18052 $as_echo "$gcc_cv_math_func_copysignf" >&6; }
18053 if test $gcc_cv_math_func_copysignf = yes; then
18055 cat >>confdefs.h <<_ACEOF
18056 #define HAVE_COPYSIGNF 1
18057 _ACEOF
18064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysign" >&5
18065 $as_echo_n "checking for copysign... " >&6; }
18066 if test "${gcc_cv_math_func_copysign+set}" = set; then :
18067 $as_echo_n "(cached) " >&6
18068 else
18069 if test x$gcc_no_link = xyes; then
18070 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18073 /* end confdefs.h. */
18075 #ifdef HAVE_COMPLEX_H
18076 #include <complex.h>
18077 #endif
18078 #ifdef HAVE_MATH_H
18079 #include <math.h>
18080 #endif
18082 int (*ptr)() = (int (*)())copysign;
18085 main ()
18087 return 0;
18090 _ACEOF
18091 if ac_fn_c_try_link "$LINENO"; then :
18092 gcc_cv_math_func_copysign=yes
18093 else
18094 gcc_cv_math_func_copysign=no
18096 rm -f core conftest.err conftest.$ac_objext \
18097 conftest$ac_exeext conftest.$ac_ext
18099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysign" >&5
18100 $as_echo "$gcc_cv_math_func_copysign" >&6; }
18101 if test $gcc_cv_math_func_copysign = yes; then
18103 cat >>confdefs.h <<_ACEOF
18104 #define HAVE_COPYSIGN 1
18105 _ACEOF
18112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignl" >&5
18113 $as_echo_n "checking for copysignl... " >&6; }
18114 if test "${gcc_cv_math_func_copysignl+set}" = set; then :
18115 $as_echo_n "(cached) " >&6
18116 else
18117 if test x$gcc_no_link = xyes; then
18118 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18121 /* end confdefs.h. */
18123 #ifdef HAVE_COMPLEX_H
18124 #include <complex.h>
18125 #endif
18126 #ifdef HAVE_MATH_H
18127 #include <math.h>
18128 #endif
18130 int (*ptr)() = (int (*)())copysignl;
18133 main ()
18135 return 0;
18138 _ACEOF
18139 if ac_fn_c_try_link "$LINENO"; then :
18140 gcc_cv_math_func_copysignl=yes
18141 else
18142 gcc_cv_math_func_copysignl=no
18144 rm -f core conftest.err conftest.$ac_objext \
18145 conftest$ac_exeext conftest.$ac_ext
18147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignl" >&5
18148 $as_echo "$gcc_cv_math_func_copysignl" >&6; }
18149 if test $gcc_cv_math_func_copysignl = yes; then
18151 cat >>confdefs.h <<_ACEOF
18152 #define HAVE_COPYSIGNL 1
18153 _ACEOF
18160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosf" >&5
18161 $as_echo_n "checking for cosf... " >&6; }
18162 if test "${gcc_cv_math_func_cosf+set}" = set; then :
18163 $as_echo_n "(cached) " >&6
18164 else
18165 if test x$gcc_no_link = xyes; then
18166 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18169 /* end confdefs.h. */
18171 #ifdef HAVE_COMPLEX_H
18172 #include <complex.h>
18173 #endif
18174 #ifdef HAVE_MATH_H
18175 #include <math.h>
18176 #endif
18178 int (*ptr)() = (int (*)())cosf;
18181 main ()
18183 return 0;
18186 _ACEOF
18187 if ac_fn_c_try_link "$LINENO"; then :
18188 gcc_cv_math_func_cosf=yes
18189 else
18190 gcc_cv_math_func_cosf=no
18192 rm -f core conftest.err conftest.$ac_objext \
18193 conftest$ac_exeext conftest.$ac_ext
18195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosf" >&5
18196 $as_echo "$gcc_cv_math_func_cosf" >&6; }
18197 if test $gcc_cv_math_func_cosf = yes; then
18199 cat >>confdefs.h <<_ACEOF
18200 #define HAVE_COSF 1
18201 _ACEOF
18208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos" >&5
18209 $as_echo_n "checking for cos... " >&6; }
18210 if test "${gcc_cv_math_func_cos+set}" = set; then :
18211 $as_echo_n "(cached) " >&6
18212 else
18213 if test x$gcc_no_link = xyes; then
18214 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18217 /* end confdefs.h. */
18219 #ifdef HAVE_COMPLEX_H
18220 #include <complex.h>
18221 #endif
18222 #ifdef HAVE_MATH_H
18223 #include <math.h>
18224 #endif
18226 int (*ptr)() = (int (*)())cos;
18229 main ()
18231 return 0;
18234 _ACEOF
18235 if ac_fn_c_try_link "$LINENO"; then :
18236 gcc_cv_math_func_cos=yes
18237 else
18238 gcc_cv_math_func_cos=no
18240 rm -f core conftest.err conftest.$ac_objext \
18241 conftest$ac_exeext conftest.$ac_ext
18243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cos" >&5
18244 $as_echo "$gcc_cv_math_func_cos" >&6; }
18245 if test $gcc_cv_math_func_cos = yes; then
18247 cat >>confdefs.h <<_ACEOF
18248 #define HAVE_COS 1
18249 _ACEOF
18256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosl" >&5
18257 $as_echo_n "checking for cosl... " >&6; }
18258 if test "${gcc_cv_math_func_cosl+set}" = set; then :
18259 $as_echo_n "(cached) " >&6
18260 else
18261 if test x$gcc_no_link = xyes; then
18262 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18265 /* end confdefs.h. */
18267 #ifdef HAVE_COMPLEX_H
18268 #include <complex.h>
18269 #endif
18270 #ifdef HAVE_MATH_H
18271 #include <math.h>
18272 #endif
18274 int (*ptr)() = (int (*)())cosl;
18277 main ()
18279 return 0;
18282 _ACEOF
18283 if ac_fn_c_try_link "$LINENO"; then :
18284 gcc_cv_math_func_cosl=yes
18285 else
18286 gcc_cv_math_func_cosl=no
18288 rm -f core conftest.err conftest.$ac_objext \
18289 conftest$ac_exeext conftest.$ac_ext
18291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosl" >&5
18292 $as_echo "$gcc_cv_math_func_cosl" >&6; }
18293 if test $gcc_cv_math_func_cosl = yes; then
18295 cat >>confdefs.h <<_ACEOF
18296 #define HAVE_COSL 1
18297 _ACEOF
18304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosf" >&5
18305 $as_echo_n "checking for ccosf... " >&6; }
18306 if test "${gcc_cv_math_func_ccosf+set}" = set; then :
18307 $as_echo_n "(cached) " >&6
18308 else
18309 if test x$gcc_no_link = xyes; then
18310 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18313 /* end confdefs.h. */
18315 #ifdef HAVE_COMPLEX_H
18316 #include <complex.h>
18317 #endif
18318 #ifdef HAVE_MATH_H
18319 #include <math.h>
18320 #endif
18322 int (*ptr)() = (int (*)())ccosf;
18325 main ()
18327 return 0;
18330 _ACEOF
18331 if ac_fn_c_try_link "$LINENO"; then :
18332 gcc_cv_math_func_ccosf=yes
18333 else
18334 gcc_cv_math_func_ccosf=no
18336 rm -f core conftest.err conftest.$ac_objext \
18337 conftest$ac_exeext conftest.$ac_ext
18339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosf" >&5
18340 $as_echo "$gcc_cv_math_func_ccosf" >&6; }
18341 if test $gcc_cv_math_func_ccosf = yes; then
18343 cat >>confdefs.h <<_ACEOF
18344 #define HAVE_CCOSF 1
18345 _ACEOF
18352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccos" >&5
18353 $as_echo_n "checking for ccos... " >&6; }
18354 if test "${gcc_cv_math_func_ccos+set}" = set; then :
18355 $as_echo_n "(cached) " >&6
18356 else
18357 if test x$gcc_no_link = xyes; then
18358 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18361 /* end confdefs.h. */
18363 #ifdef HAVE_COMPLEX_H
18364 #include <complex.h>
18365 #endif
18366 #ifdef HAVE_MATH_H
18367 #include <math.h>
18368 #endif
18370 int (*ptr)() = (int (*)())ccos;
18373 main ()
18375 return 0;
18378 _ACEOF
18379 if ac_fn_c_try_link "$LINENO"; then :
18380 gcc_cv_math_func_ccos=yes
18381 else
18382 gcc_cv_math_func_ccos=no
18384 rm -f core conftest.err conftest.$ac_objext \
18385 conftest$ac_exeext conftest.$ac_ext
18387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccos" >&5
18388 $as_echo "$gcc_cv_math_func_ccos" >&6; }
18389 if test $gcc_cv_math_func_ccos = yes; then
18391 cat >>confdefs.h <<_ACEOF
18392 #define HAVE_CCOS 1
18393 _ACEOF
18400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosl" >&5
18401 $as_echo_n "checking for ccosl... " >&6; }
18402 if test "${gcc_cv_math_func_ccosl+set}" = set; then :
18403 $as_echo_n "(cached) " >&6
18404 else
18405 if test x$gcc_no_link = xyes; then
18406 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18409 /* end confdefs.h. */
18411 #ifdef HAVE_COMPLEX_H
18412 #include <complex.h>
18413 #endif
18414 #ifdef HAVE_MATH_H
18415 #include <math.h>
18416 #endif
18418 int (*ptr)() = (int (*)())ccosl;
18421 main ()
18423 return 0;
18426 _ACEOF
18427 if ac_fn_c_try_link "$LINENO"; then :
18428 gcc_cv_math_func_ccosl=yes
18429 else
18430 gcc_cv_math_func_ccosl=no
18432 rm -f core conftest.err conftest.$ac_objext \
18433 conftest$ac_exeext conftest.$ac_ext
18435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosl" >&5
18436 $as_echo "$gcc_cv_math_func_ccosl" >&6; }
18437 if test $gcc_cv_math_func_ccosl = yes; then
18439 cat >>confdefs.h <<_ACEOF
18440 #define HAVE_CCOSL 1
18441 _ACEOF
18448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshf" >&5
18449 $as_echo_n "checking for coshf... " >&6; }
18450 if test "${gcc_cv_math_func_coshf+set}" = set; then :
18451 $as_echo_n "(cached) " >&6
18452 else
18453 if test x$gcc_no_link = xyes; then
18454 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18457 /* end confdefs.h. */
18459 #ifdef HAVE_COMPLEX_H
18460 #include <complex.h>
18461 #endif
18462 #ifdef HAVE_MATH_H
18463 #include <math.h>
18464 #endif
18466 int (*ptr)() = (int (*)())coshf;
18469 main ()
18471 return 0;
18474 _ACEOF
18475 if ac_fn_c_try_link "$LINENO"; then :
18476 gcc_cv_math_func_coshf=yes
18477 else
18478 gcc_cv_math_func_coshf=no
18480 rm -f core conftest.err conftest.$ac_objext \
18481 conftest$ac_exeext conftest.$ac_ext
18483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshf" >&5
18484 $as_echo "$gcc_cv_math_func_coshf" >&6; }
18485 if test $gcc_cv_math_func_coshf = yes; then
18487 cat >>confdefs.h <<_ACEOF
18488 #define HAVE_COSHF 1
18489 _ACEOF
18496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosh" >&5
18497 $as_echo_n "checking for cosh... " >&6; }
18498 if test "${gcc_cv_math_func_cosh+set}" = set; then :
18499 $as_echo_n "(cached) " >&6
18500 else
18501 if test x$gcc_no_link = xyes; then
18502 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18505 /* end confdefs.h. */
18507 #ifdef HAVE_COMPLEX_H
18508 #include <complex.h>
18509 #endif
18510 #ifdef HAVE_MATH_H
18511 #include <math.h>
18512 #endif
18514 int (*ptr)() = (int (*)())cosh;
18517 main ()
18519 return 0;
18522 _ACEOF
18523 if ac_fn_c_try_link "$LINENO"; then :
18524 gcc_cv_math_func_cosh=yes
18525 else
18526 gcc_cv_math_func_cosh=no
18528 rm -f core conftest.err conftest.$ac_objext \
18529 conftest$ac_exeext conftest.$ac_ext
18531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosh" >&5
18532 $as_echo "$gcc_cv_math_func_cosh" >&6; }
18533 if test $gcc_cv_math_func_cosh = yes; then
18535 cat >>confdefs.h <<_ACEOF
18536 #define HAVE_COSH 1
18537 _ACEOF
18544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshl" >&5
18545 $as_echo_n "checking for coshl... " >&6; }
18546 if test "${gcc_cv_math_func_coshl+set}" = set; then :
18547 $as_echo_n "(cached) " >&6
18548 else
18549 if test x$gcc_no_link = xyes; then
18550 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18553 /* end confdefs.h. */
18555 #ifdef HAVE_COMPLEX_H
18556 #include <complex.h>
18557 #endif
18558 #ifdef HAVE_MATH_H
18559 #include <math.h>
18560 #endif
18562 int (*ptr)() = (int (*)())coshl;
18565 main ()
18567 return 0;
18570 _ACEOF
18571 if ac_fn_c_try_link "$LINENO"; then :
18572 gcc_cv_math_func_coshl=yes
18573 else
18574 gcc_cv_math_func_coshl=no
18576 rm -f core conftest.err conftest.$ac_objext \
18577 conftest$ac_exeext conftest.$ac_ext
18579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshl" >&5
18580 $as_echo "$gcc_cv_math_func_coshl" >&6; }
18581 if test $gcc_cv_math_func_coshl = yes; then
18583 cat >>confdefs.h <<_ACEOF
18584 #define HAVE_COSHL 1
18585 _ACEOF
18592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshf" >&5
18593 $as_echo_n "checking for ccoshf... " >&6; }
18594 if test "${gcc_cv_math_func_ccoshf+set}" = set; then :
18595 $as_echo_n "(cached) " >&6
18596 else
18597 if test x$gcc_no_link = xyes; then
18598 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18601 /* end confdefs.h. */
18603 #ifdef HAVE_COMPLEX_H
18604 #include <complex.h>
18605 #endif
18606 #ifdef HAVE_MATH_H
18607 #include <math.h>
18608 #endif
18610 int (*ptr)() = (int (*)())ccoshf;
18613 main ()
18615 return 0;
18618 _ACEOF
18619 if ac_fn_c_try_link "$LINENO"; then :
18620 gcc_cv_math_func_ccoshf=yes
18621 else
18622 gcc_cv_math_func_ccoshf=no
18624 rm -f core conftest.err conftest.$ac_objext \
18625 conftest$ac_exeext conftest.$ac_ext
18627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshf" >&5
18628 $as_echo "$gcc_cv_math_func_ccoshf" >&6; }
18629 if test $gcc_cv_math_func_ccoshf = yes; then
18631 cat >>confdefs.h <<_ACEOF
18632 #define HAVE_CCOSHF 1
18633 _ACEOF
18640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosh" >&5
18641 $as_echo_n "checking for ccosh... " >&6; }
18642 if test "${gcc_cv_math_func_ccosh+set}" = set; then :
18643 $as_echo_n "(cached) " >&6
18644 else
18645 if test x$gcc_no_link = xyes; then
18646 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18649 /* end confdefs.h. */
18651 #ifdef HAVE_COMPLEX_H
18652 #include <complex.h>
18653 #endif
18654 #ifdef HAVE_MATH_H
18655 #include <math.h>
18656 #endif
18658 int (*ptr)() = (int (*)())ccosh;
18661 main ()
18663 return 0;
18666 _ACEOF
18667 if ac_fn_c_try_link "$LINENO"; then :
18668 gcc_cv_math_func_ccosh=yes
18669 else
18670 gcc_cv_math_func_ccosh=no
18672 rm -f core conftest.err conftest.$ac_objext \
18673 conftest$ac_exeext conftest.$ac_ext
18675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosh" >&5
18676 $as_echo "$gcc_cv_math_func_ccosh" >&6; }
18677 if test $gcc_cv_math_func_ccosh = yes; then
18679 cat >>confdefs.h <<_ACEOF
18680 #define HAVE_CCOSH 1
18681 _ACEOF
18688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshl" >&5
18689 $as_echo_n "checking for ccoshl... " >&6; }
18690 if test "${gcc_cv_math_func_ccoshl+set}" = set; then :
18691 $as_echo_n "(cached) " >&6
18692 else
18693 if test x$gcc_no_link = xyes; then
18694 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18697 /* end confdefs.h. */
18699 #ifdef HAVE_COMPLEX_H
18700 #include <complex.h>
18701 #endif
18702 #ifdef HAVE_MATH_H
18703 #include <math.h>
18704 #endif
18706 int (*ptr)() = (int (*)())ccoshl;
18709 main ()
18711 return 0;
18714 _ACEOF
18715 if ac_fn_c_try_link "$LINENO"; then :
18716 gcc_cv_math_func_ccoshl=yes
18717 else
18718 gcc_cv_math_func_ccoshl=no
18720 rm -f core conftest.err conftest.$ac_objext \
18721 conftest$ac_exeext conftest.$ac_ext
18723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshl" >&5
18724 $as_echo "$gcc_cv_math_func_ccoshl" >&6; }
18725 if test $gcc_cv_math_func_ccoshl = yes; then
18727 cat >>confdefs.h <<_ACEOF
18728 #define HAVE_CCOSHL 1
18729 _ACEOF
18736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf" >&5
18737 $as_echo_n "checking for expf... " >&6; }
18738 if test "${gcc_cv_math_func_expf+set}" = set; then :
18739 $as_echo_n "(cached) " >&6
18740 else
18741 if test x$gcc_no_link = xyes; then
18742 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18745 /* end confdefs.h. */
18747 #ifdef HAVE_COMPLEX_H
18748 #include <complex.h>
18749 #endif
18750 #ifdef HAVE_MATH_H
18751 #include <math.h>
18752 #endif
18754 int (*ptr)() = (int (*)())expf;
18757 main ()
18759 return 0;
18762 _ACEOF
18763 if ac_fn_c_try_link "$LINENO"; then :
18764 gcc_cv_math_func_expf=yes
18765 else
18766 gcc_cv_math_func_expf=no
18768 rm -f core conftest.err conftest.$ac_objext \
18769 conftest$ac_exeext conftest.$ac_ext
18771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expf" >&5
18772 $as_echo "$gcc_cv_math_func_expf" >&6; }
18773 if test $gcc_cv_math_func_expf = yes; then
18775 cat >>confdefs.h <<_ACEOF
18776 #define HAVE_EXPF 1
18777 _ACEOF
18784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exp" >&5
18785 $as_echo_n "checking for exp... " >&6; }
18786 if test "${gcc_cv_math_func_exp+set}" = set; then :
18787 $as_echo_n "(cached) " >&6
18788 else
18789 if test x$gcc_no_link = xyes; then
18790 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18793 /* end confdefs.h. */
18795 #ifdef HAVE_COMPLEX_H
18796 #include <complex.h>
18797 #endif
18798 #ifdef HAVE_MATH_H
18799 #include <math.h>
18800 #endif
18802 int (*ptr)() = (int (*)())exp;
18805 main ()
18807 return 0;
18810 _ACEOF
18811 if ac_fn_c_try_link "$LINENO"; then :
18812 gcc_cv_math_func_exp=yes
18813 else
18814 gcc_cv_math_func_exp=no
18816 rm -f core conftest.err conftest.$ac_objext \
18817 conftest$ac_exeext conftest.$ac_ext
18819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_exp" >&5
18820 $as_echo "$gcc_cv_math_func_exp" >&6; }
18821 if test $gcc_cv_math_func_exp = yes; then
18823 cat >>confdefs.h <<_ACEOF
18824 #define HAVE_EXP 1
18825 _ACEOF
18832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl" >&5
18833 $as_echo_n "checking for expl... " >&6; }
18834 if test "${gcc_cv_math_func_expl+set}" = set; then :
18835 $as_echo_n "(cached) " >&6
18836 else
18837 if test x$gcc_no_link = xyes; then
18838 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18841 /* end confdefs.h. */
18843 #ifdef HAVE_COMPLEX_H
18844 #include <complex.h>
18845 #endif
18846 #ifdef HAVE_MATH_H
18847 #include <math.h>
18848 #endif
18850 int (*ptr)() = (int (*)())expl;
18853 main ()
18855 return 0;
18858 _ACEOF
18859 if ac_fn_c_try_link "$LINENO"; then :
18860 gcc_cv_math_func_expl=yes
18861 else
18862 gcc_cv_math_func_expl=no
18864 rm -f core conftest.err conftest.$ac_objext \
18865 conftest$ac_exeext conftest.$ac_ext
18867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expl" >&5
18868 $as_echo "$gcc_cv_math_func_expl" >&6; }
18869 if test $gcc_cv_math_func_expl = yes; then
18871 cat >>confdefs.h <<_ACEOF
18872 #define HAVE_EXPL 1
18873 _ACEOF
18880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpf" >&5
18881 $as_echo_n "checking for cexpf... " >&6; }
18882 if test "${gcc_cv_math_func_cexpf+set}" = set; then :
18883 $as_echo_n "(cached) " >&6
18884 else
18885 if test x$gcc_no_link = xyes; then
18886 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18889 /* end confdefs.h. */
18891 #ifdef HAVE_COMPLEX_H
18892 #include <complex.h>
18893 #endif
18894 #ifdef HAVE_MATH_H
18895 #include <math.h>
18896 #endif
18898 int (*ptr)() = (int (*)())cexpf;
18901 main ()
18903 return 0;
18906 _ACEOF
18907 if ac_fn_c_try_link "$LINENO"; then :
18908 gcc_cv_math_func_cexpf=yes
18909 else
18910 gcc_cv_math_func_cexpf=no
18912 rm -f core conftest.err conftest.$ac_objext \
18913 conftest$ac_exeext conftest.$ac_ext
18915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpf" >&5
18916 $as_echo "$gcc_cv_math_func_cexpf" >&6; }
18917 if test $gcc_cv_math_func_cexpf = yes; then
18919 cat >>confdefs.h <<_ACEOF
18920 #define HAVE_CEXPF 1
18921 _ACEOF
18928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexp" >&5
18929 $as_echo_n "checking for cexp... " >&6; }
18930 if test "${gcc_cv_math_func_cexp+set}" = set; then :
18931 $as_echo_n "(cached) " >&6
18932 else
18933 if test x$gcc_no_link = xyes; then
18934 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18937 /* end confdefs.h. */
18939 #ifdef HAVE_COMPLEX_H
18940 #include <complex.h>
18941 #endif
18942 #ifdef HAVE_MATH_H
18943 #include <math.h>
18944 #endif
18946 int (*ptr)() = (int (*)())cexp;
18949 main ()
18951 return 0;
18954 _ACEOF
18955 if ac_fn_c_try_link "$LINENO"; then :
18956 gcc_cv_math_func_cexp=yes
18957 else
18958 gcc_cv_math_func_cexp=no
18960 rm -f core conftest.err conftest.$ac_objext \
18961 conftest$ac_exeext conftest.$ac_ext
18963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexp" >&5
18964 $as_echo "$gcc_cv_math_func_cexp" >&6; }
18965 if test $gcc_cv_math_func_cexp = yes; then
18967 cat >>confdefs.h <<_ACEOF
18968 #define HAVE_CEXP 1
18969 _ACEOF
18976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpl" >&5
18977 $as_echo_n "checking for cexpl... " >&6; }
18978 if test "${gcc_cv_math_func_cexpl+set}" = set; then :
18979 $as_echo_n "(cached) " >&6
18980 else
18981 if test x$gcc_no_link = xyes; then
18982 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18985 /* end confdefs.h. */
18987 #ifdef HAVE_COMPLEX_H
18988 #include <complex.h>
18989 #endif
18990 #ifdef HAVE_MATH_H
18991 #include <math.h>
18992 #endif
18994 int (*ptr)() = (int (*)())cexpl;
18997 main ()
18999 return 0;
19002 _ACEOF
19003 if ac_fn_c_try_link "$LINENO"; then :
19004 gcc_cv_math_func_cexpl=yes
19005 else
19006 gcc_cv_math_func_cexpl=no
19008 rm -f core conftest.err conftest.$ac_objext \
19009 conftest$ac_exeext conftest.$ac_ext
19011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpl" >&5
19012 $as_echo "$gcc_cv_math_func_cexpl" >&6; }
19013 if test $gcc_cv_math_func_cexpl = yes; then
19015 cat >>confdefs.h <<_ACEOF
19016 #define HAVE_CEXPL 1
19017 _ACEOF
19024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf" >&5
19025 $as_echo_n "checking for fabsf... " >&6; }
19026 if test "${gcc_cv_math_func_fabsf+set}" = set; then :
19027 $as_echo_n "(cached) " >&6
19028 else
19029 if test x$gcc_no_link = xyes; then
19030 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19033 /* end confdefs.h. */
19035 #ifdef HAVE_COMPLEX_H
19036 #include <complex.h>
19037 #endif
19038 #ifdef HAVE_MATH_H
19039 #include <math.h>
19040 #endif
19042 int (*ptr)() = (int (*)())fabsf;
19045 main ()
19047 return 0;
19050 _ACEOF
19051 if ac_fn_c_try_link "$LINENO"; then :
19052 gcc_cv_math_func_fabsf=yes
19053 else
19054 gcc_cv_math_func_fabsf=no
19056 rm -f core conftest.err conftest.$ac_objext \
19057 conftest$ac_exeext conftest.$ac_ext
19059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsf" >&5
19060 $as_echo "$gcc_cv_math_func_fabsf" >&6; }
19061 if test $gcc_cv_math_func_fabsf = yes; then
19063 cat >>confdefs.h <<_ACEOF
19064 #define HAVE_FABSF 1
19065 _ACEOF
19072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabs" >&5
19073 $as_echo_n "checking for fabs... " >&6; }
19074 if test "${gcc_cv_math_func_fabs+set}" = set; then :
19075 $as_echo_n "(cached) " >&6
19076 else
19077 if test x$gcc_no_link = xyes; then
19078 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19081 /* end confdefs.h. */
19083 #ifdef HAVE_COMPLEX_H
19084 #include <complex.h>
19085 #endif
19086 #ifdef HAVE_MATH_H
19087 #include <math.h>
19088 #endif
19090 int (*ptr)() = (int (*)())fabs;
19093 main ()
19095 return 0;
19098 _ACEOF
19099 if ac_fn_c_try_link "$LINENO"; then :
19100 gcc_cv_math_func_fabs=yes
19101 else
19102 gcc_cv_math_func_fabs=no
19104 rm -f core conftest.err conftest.$ac_objext \
19105 conftest$ac_exeext conftest.$ac_ext
19107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabs" >&5
19108 $as_echo "$gcc_cv_math_func_fabs" >&6; }
19109 if test $gcc_cv_math_func_fabs = yes; then
19111 cat >>confdefs.h <<_ACEOF
19112 #define HAVE_FABS 1
19113 _ACEOF
19120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl" >&5
19121 $as_echo_n "checking for fabsl... " >&6; }
19122 if test "${gcc_cv_math_func_fabsl+set}" = set; then :
19123 $as_echo_n "(cached) " >&6
19124 else
19125 if test x$gcc_no_link = xyes; then
19126 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19129 /* end confdefs.h. */
19131 #ifdef HAVE_COMPLEX_H
19132 #include <complex.h>
19133 #endif
19134 #ifdef HAVE_MATH_H
19135 #include <math.h>
19136 #endif
19138 int (*ptr)() = (int (*)())fabsl;
19141 main ()
19143 return 0;
19146 _ACEOF
19147 if ac_fn_c_try_link "$LINENO"; then :
19148 gcc_cv_math_func_fabsl=yes
19149 else
19150 gcc_cv_math_func_fabsl=no
19152 rm -f core conftest.err conftest.$ac_objext \
19153 conftest$ac_exeext conftest.$ac_ext
19155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsl" >&5
19156 $as_echo "$gcc_cv_math_func_fabsl" >&6; }
19157 if test $gcc_cv_math_func_fabsl = yes; then
19159 cat >>confdefs.h <<_ACEOF
19160 #define HAVE_FABSL 1
19161 _ACEOF
19168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsf" >&5
19169 $as_echo_n "checking for cabsf... " >&6; }
19170 if test "${gcc_cv_math_func_cabsf+set}" = set; then :
19171 $as_echo_n "(cached) " >&6
19172 else
19173 if test x$gcc_no_link = xyes; then
19174 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19177 /* end confdefs.h. */
19179 #ifdef HAVE_COMPLEX_H
19180 #include <complex.h>
19181 #endif
19182 #ifdef HAVE_MATH_H
19183 #include <math.h>
19184 #endif
19186 int (*ptr)() = (int (*)())cabsf;
19189 main ()
19191 return 0;
19194 _ACEOF
19195 if ac_fn_c_try_link "$LINENO"; then :
19196 gcc_cv_math_func_cabsf=yes
19197 else
19198 gcc_cv_math_func_cabsf=no
19200 rm -f core conftest.err conftest.$ac_objext \
19201 conftest$ac_exeext conftest.$ac_ext
19203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsf" >&5
19204 $as_echo "$gcc_cv_math_func_cabsf" >&6; }
19205 if test $gcc_cv_math_func_cabsf = yes; then
19207 cat >>confdefs.h <<_ACEOF
19208 #define HAVE_CABSF 1
19209 _ACEOF
19216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabs" >&5
19217 $as_echo_n "checking for cabs... " >&6; }
19218 if test "${gcc_cv_math_func_cabs+set}" = set; then :
19219 $as_echo_n "(cached) " >&6
19220 else
19221 if test x$gcc_no_link = xyes; then
19222 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19225 /* end confdefs.h. */
19227 #ifdef HAVE_COMPLEX_H
19228 #include <complex.h>
19229 #endif
19230 #ifdef HAVE_MATH_H
19231 #include <math.h>
19232 #endif
19234 int (*ptr)() = (int (*)())cabs;
19237 main ()
19239 return 0;
19242 _ACEOF
19243 if ac_fn_c_try_link "$LINENO"; then :
19244 gcc_cv_math_func_cabs=yes
19245 else
19246 gcc_cv_math_func_cabs=no
19248 rm -f core conftest.err conftest.$ac_objext \
19249 conftest$ac_exeext conftest.$ac_ext
19251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabs" >&5
19252 $as_echo "$gcc_cv_math_func_cabs" >&6; }
19253 if test $gcc_cv_math_func_cabs = yes; then
19255 cat >>confdefs.h <<_ACEOF
19256 #define HAVE_CABS 1
19257 _ACEOF
19264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsl" >&5
19265 $as_echo_n "checking for cabsl... " >&6; }
19266 if test "${gcc_cv_math_func_cabsl+set}" = set; then :
19267 $as_echo_n "(cached) " >&6
19268 else
19269 if test x$gcc_no_link = xyes; then
19270 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19273 /* end confdefs.h. */
19275 #ifdef HAVE_COMPLEX_H
19276 #include <complex.h>
19277 #endif
19278 #ifdef HAVE_MATH_H
19279 #include <math.h>
19280 #endif
19282 int (*ptr)() = (int (*)())cabsl;
19285 main ()
19287 return 0;
19290 _ACEOF
19291 if ac_fn_c_try_link "$LINENO"; then :
19292 gcc_cv_math_func_cabsl=yes
19293 else
19294 gcc_cv_math_func_cabsl=no
19296 rm -f core conftest.err conftest.$ac_objext \
19297 conftest$ac_exeext conftest.$ac_ext
19299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsl" >&5
19300 $as_echo "$gcc_cv_math_func_cabsl" >&6; }
19301 if test $gcc_cv_math_func_cabsl = yes; then
19303 cat >>confdefs.h <<_ACEOF
19304 #define HAVE_CABSL 1
19305 _ACEOF
19312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorf" >&5
19313 $as_echo_n "checking for floorf... " >&6; }
19314 if test "${gcc_cv_math_func_floorf+set}" = set; then :
19315 $as_echo_n "(cached) " >&6
19316 else
19317 if test x$gcc_no_link = xyes; then
19318 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19321 /* end confdefs.h. */
19323 #ifdef HAVE_COMPLEX_H
19324 #include <complex.h>
19325 #endif
19326 #ifdef HAVE_MATH_H
19327 #include <math.h>
19328 #endif
19330 int (*ptr)() = (int (*)())floorf;
19333 main ()
19335 return 0;
19338 _ACEOF
19339 if ac_fn_c_try_link "$LINENO"; then :
19340 gcc_cv_math_func_floorf=yes
19341 else
19342 gcc_cv_math_func_floorf=no
19344 rm -f core conftest.err conftest.$ac_objext \
19345 conftest$ac_exeext conftest.$ac_ext
19347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorf" >&5
19348 $as_echo "$gcc_cv_math_func_floorf" >&6; }
19349 if test $gcc_cv_math_func_floorf = yes; then
19351 cat >>confdefs.h <<_ACEOF
19352 #define HAVE_FLOORF 1
19353 _ACEOF
19360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floor" >&5
19361 $as_echo_n "checking for floor... " >&6; }
19362 if test "${gcc_cv_math_func_floor+set}" = set; then :
19363 $as_echo_n "(cached) " >&6
19364 else
19365 if test x$gcc_no_link = xyes; then
19366 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19369 /* end confdefs.h. */
19371 #ifdef HAVE_COMPLEX_H
19372 #include <complex.h>
19373 #endif
19374 #ifdef HAVE_MATH_H
19375 #include <math.h>
19376 #endif
19378 int (*ptr)() = (int (*)())floor;
19381 main ()
19383 return 0;
19386 _ACEOF
19387 if ac_fn_c_try_link "$LINENO"; then :
19388 gcc_cv_math_func_floor=yes
19389 else
19390 gcc_cv_math_func_floor=no
19392 rm -f core conftest.err conftest.$ac_objext \
19393 conftest$ac_exeext conftest.$ac_ext
19395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floor" >&5
19396 $as_echo "$gcc_cv_math_func_floor" >&6; }
19397 if test $gcc_cv_math_func_floor = yes; then
19399 cat >>confdefs.h <<_ACEOF
19400 #define HAVE_FLOOR 1
19401 _ACEOF
19408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorl" >&5
19409 $as_echo_n "checking for floorl... " >&6; }
19410 if test "${gcc_cv_math_func_floorl+set}" = set; then :
19411 $as_echo_n "(cached) " >&6
19412 else
19413 if test x$gcc_no_link = xyes; then
19414 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19417 /* end confdefs.h. */
19419 #ifdef HAVE_COMPLEX_H
19420 #include <complex.h>
19421 #endif
19422 #ifdef HAVE_MATH_H
19423 #include <math.h>
19424 #endif
19426 int (*ptr)() = (int (*)())floorl;
19429 main ()
19431 return 0;
19434 _ACEOF
19435 if ac_fn_c_try_link "$LINENO"; then :
19436 gcc_cv_math_func_floorl=yes
19437 else
19438 gcc_cv_math_func_floorl=no
19440 rm -f core conftest.err conftest.$ac_objext \
19441 conftest$ac_exeext conftest.$ac_ext
19443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorl" >&5
19444 $as_echo "$gcc_cv_math_func_floorl" >&6; }
19445 if test $gcc_cv_math_func_floorl = yes; then
19447 cat >>confdefs.h <<_ACEOF
19448 #define HAVE_FLOORL 1
19449 _ACEOF
19456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf" >&5
19457 $as_echo_n "checking for fmodf... " >&6; }
19458 if test "${gcc_cv_math_func_fmodf+set}" = set; then :
19459 $as_echo_n "(cached) " >&6
19460 else
19461 if test x$gcc_no_link = xyes; then
19462 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19465 /* end confdefs.h. */
19467 #ifdef HAVE_COMPLEX_H
19468 #include <complex.h>
19469 #endif
19470 #ifdef HAVE_MATH_H
19471 #include <math.h>
19472 #endif
19474 int (*ptr)() = (int (*)())fmodf;
19477 main ()
19479 return 0;
19482 _ACEOF
19483 if ac_fn_c_try_link "$LINENO"; then :
19484 gcc_cv_math_func_fmodf=yes
19485 else
19486 gcc_cv_math_func_fmodf=no
19488 rm -f core conftest.err conftest.$ac_objext \
19489 conftest$ac_exeext conftest.$ac_ext
19491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodf" >&5
19492 $as_echo "$gcc_cv_math_func_fmodf" >&6; }
19493 if test $gcc_cv_math_func_fmodf = yes; then
19495 cat >>confdefs.h <<_ACEOF
19496 #define HAVE_FMODF 1
19497 _ACEOF
19504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmod" >&5
19505 $as_echo_n "checking for fmod... " >&6; }
19506 if test "${gcc_cv_math_func_fmod+set}" = set; then :
19507 $as_echo_n "(cached) " >&6
19508 else
19509 if test x$gcc_no_link = xyes; then
19510 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19513 /* end confdefs.h. */
19515 #ifdef HAVE_COMPLEX_H
19516 #include <complex.h>
19517 #endif
19518 #ifdef HAVE_MATH_H
19519 #include <math.h>
19520 #endif
19522 int (*ptr)() = (int (*)())fmod;
19525 main ()
19527 return 0;
19530 _ACEOF
19531 if ac_fn_c_try_link "$LINENO"; then :
19532 gcc_cv_math_func_fmod=yes
19533 else
19534 gcc_cv_math_func_fmod=no
19536 rm -f core conftest.err conftest.$ac_objext \
19537 conftest$ac_exeext conftest.$ac_ext
19539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmod" >&5
19540 $as_echo "$gcc_cv_math_func_fmod" >&6; }
19541 if test $gcc_cv_math_func_fmod = yes; then
19543 cat >>confdefs.h <<_ACEOF
19544 #define HAVE_FMOD 1
19545 _ACEOF
19552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl" >&5
19553 $as_echo_n "checking for fmodl... " >&6; }
19554 if test "${gcc_cv_math_func_fmodl+set}" = set; then :
19555 $as_echo_n "(cached) " >&6
19556 else
19557 if test x$gcc_no_link = xyes; then
19558 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19561 /* end confdefs.h. */
19563 #ifdef HAVE_COMPLEX_H
19564 #include <complex.h>
19565 #endif
19566 #ifdef HAVE_MATH_H
19567 #include <math.h>
19568 #endif
19570 int (*ptr)() = (int (*)())fmodl;
19573 main ()
19575 return 0;
19578 _ACEOF
19579 if ac_fn_c_try_link "$LINENO"; then :
19580 gcc_cv_math_func_fmodl=yes
19581 else
19582 gcc_cv_math_func_fmodl=no
19584 rm -f core conftest.err conftest.$ac_objext \
19585 conftest$ac_exeext conftest.$ac_ext
19587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodl" >&5
19588 $as_echo "$gcc_cv_math_func_fmodl" >&6; }
19589 if test $gcc_cv_math_func_fmodl = yes; then
19591 cat >>confdefs.h <<_ACEOF
19592 #define HAVE_FMODL 1
19593 _ACEOF
19600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf" >&5
19601 $as_echo_n "checking for frexpf... " >&6; }
19602 if test "${gcc_cv_math_func_frexpf+set}" = set; then :
19603 $as_echo_n "(cached) " >&6
19604 else
19605 if test x$gcc_no_link = xyes; then
19606 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19609 /* end confdefs.h. */
19611 #ifdef HAVE_COMPLEX_H
19612 #include <complex.h>
19613 #endif
19614 #ifdef HAVE_MATH_H
19615 #include <math.h>
19616 #endif
19618 int (*ptr)() = (int (*)())frexpf;
19621 main ()
19623 return 0;
19626 _ACEOF
19627 if ac_fn_c_try_link "$LINENO"; then :
19628 gcc_cv_math_func_frexpf=yes
19629 else
19630 gcc_cv_math_func_frexpf=no
19632 rm -f core conftest.err conftest.$ac_objext \
19633 conftest$ac_exeext conftest.$ac_ext
19635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpf" >&5
19636 $as_echo "$gcc_cv_math_func_frexpf" >&6; }
19637 if test $gcc_cv_math_func_frexpf = yes; then
19639 cat >>confdefs.h <<_ACEOF
19640 #define HAVE_FREXPF 1
19641 _ACEOF
19648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexp" >&5
19649 $as_echo_n "checking for frexp... " >&6; }
19650 if test "${gcc_cv_math_func_frexp+set}" = set; then :
19651 $as_echo_n "(cached) " >&6
19652 else
19653 if test x$gcc_no_link = xyes; then
19654 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19657 /* end confdefs.h. */
19659 #ifdef HAVE_COMPLEX_H
19660 #include <complex.h>
19661 #endif
19662 #ifdef HAVE_MATH_H
19663 #include <math.h>
19664 #endif
19666 int (*ptr)() = (int (*)())frexp;
19669 main ()
19671 return 0;
19674 _ACEOF
19675 if ac_fn_c_try_link "$LINENO"; then :
19676 gcc_cv_math_func_frexp=yes
19677 else
19678 gcc_cv_math_func_frexp=no
19680 rm -f core conftest.err conftest.$ac_objext \
19681 conftest$ac_exeext conftest.$ac_ext
19683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexp" >&5
19684 $as_echo "$gcc_cv_math_func_frexp" >&6; }
19685 if test $gcc_cv_math_func_frexp = yes; then
19687 cat >>confdefs.h <<_ACEOF
19688 #define HAVE_FREXP 1
19689 _ACEOF
19696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl" >&5
19697 $as_echo_n "checking for frexpl... " >&6; }
19698 if test "${gcc_cv_math_func_frexpl+set}" = set; then :
19699 $as_echo_n "(cached) " >&6
19700 else
19701 if test x$gcc_no_link = xyes; then
19702 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19705 /* end confdefs.h. */
19707 #ifdef HAVE_COMPLEX_H
19708 #include <complex.h>
19709 #endif
19710 #ifdef HAVE_MATH_H
19711 #include <math.h>
19712 #endif
19714 int (*ptr)() = (int (*)())frexpl;
19717 main ()
19719 return 0;
19722 _ACEOF
19723 if ac_fn_c_try_link "$LINENO"; then :
19724 gcc_cv_math_func_frexpl=yes
19725 else
19726 gcc_cv_math_func_frexpl=no
19728 rm -f core conftest.err conftest.$ac_objext \
19729 conftest$ac_exeext conftest.$ac_ext
19731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpl" >&5
19732 $as_echo "$gcc_cv_math_func_frexpl" >&6; }
19733 if test $gcc_cv_math_func_frexpl = yes; then
19735 cat >>confdefs.h <<_ACEOF
19736 #define HAVE_FREXPL 1
19737 _ACEOF
19744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf" >&5
19745 $as_echo_n "checking for hypotf... " >&6; }
19746 if test "${gcc_cv_math_func_hypotf+set}" = set; then :
19747 $as_echo_n "(cached) " >&6
19748 else
19749 if test x$gcc_no_link = xyes; then
19750 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19753 /* end confdefs.h. */
19755 #ifdef HAVE_COMPLEX_H
19756 #include <complex.h>
19757 #endif
19758 #ifdef HAVE_MATH_H
19759 #include <math.h>
19760 #endif
19762 int (*ptr)() = (int (*)())hypotf;
19765 main ()
19767 return 0;
19770 _ACEOF
19771 if ac_fn_c_try_link "$LINENO"; then :
19772 gcc_cv_math_func_hypotf=yes
19773 else
19774 gcc_cv_math_func_hypotf=no
19776 rm -f core conftest.err conftest.$ac_objext \
19777 conftest$ac_exeext conftest.$ac_ext
19779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotf" >&5
19780 $as_echo "$gcc_cv_math_func_hypotf" >&6; }
19781 if test $gcc_cv_math_func_hypotf = yes; then
19783 cat >>confdefs.h <<_ACEOF
19784 #define HAVE_HYPOTF 1
19785 _ACEOF
19792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot" >&5
19793 $as_echo_n "checking for hypot... " >&6; }
19794 if test "${gcc_cv_math_func_hypot+set}" = set; then :
19795 $as_echo_n "(cached) " >&6
19796 else
19797 if test x$gcc_no_link = xyes; then
19798 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19801 /* end confdefs.h. */
19803 #ifdef HAVE_COMPLEX_H
19804 #include <complex.h>
19805 #endif
19806 #ifdef HAVE_MATH_H
19807 #include <math.h>
19808 #endif
19810 int (*ptr)() = (int (*)())hypot;
19813 main ()
19815 return 0;
19818 _ACEOF
19819 if ac_fn_c_try_link "$LINENO"; then :
19820 gcc_cv_math_func_hypot=yes
19821 else
19822 gcc_cv_math_func_hypot=no
19824 rm -f core conftest.err conftest.$ac_objext \
19825 conftest$ac_exeext conftest.$ac_ext
19827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypot" >&5
19828 $as_echo "$gcc_cv_math_func_hypot" >&6; }
19829 if test $gcc_cv_math_func_hypot = yes; then
19831 cat >>confdefs.h <<_ACEOF
19832 #define HAVE_HYPOT 1
19833 _ACEOF
19840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl" >&5
19841 $as_echo_n "checking for hypotl... " >&6; }
19842 if test "${gcc_cv_math_func_hypotl+set}" = set; then :
19843 $as_echo_n "(cached) " >&6
19844 else
19845 if test x$gcc_no_link = xyes; then
19846 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19849 /* end confdefs.h. */
19851 #ifdef HAVE_COMPLEX_H
19852 #include <complex.h>
19853 #endif
19854 #ifdef HAVE_MATH_H
19855 #include <math.h>
19856 #endif
19858 int (*ptr)() = (int (*)())hypotl;
19861 main ()
19863 return 0;
19866 _ACEOF
19867 if ac_fn_c_try_link "$LINENO"; then :
19868 gcc_cv_math_func_hypotl=yes
19869 else
19870 gcc_cv_math_func_hypotl=no
19872 rm -f core conftest.err conftest.$ac_objext \
19873 conftest$ac_exeext conftest.$ac_ext
19875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotl" >&5
19876 $as_echo "$gcc_cv_math_func_hypotl" >&6; }
19877 if test $gcc_cv_math_func_hypotl = yes; then
19879 cat >>confdefs.h <<_ACEOF
19880 #define HAVE_HYPOTL 1
19881 _ACEOF
19888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf" >&5
19889 $as_echo_n "checking for ldexpf... " >&6; }
19890 if test "${gcc_cv_math_func_ldexpf+set}" = set; then :
19891 $as_echo_n "(cached) " >&6
19892 else
19893 if test x$gcc_no_link = xyes; then
19894 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19897 /* end confdefs.h. */
19899 #ifdef HAVE_COMPLEX_H
19900 #include <complex.h>
19901 #endif
19902 #ifdef HAVE_MATH_H
19903 #include <math.h>
19904 #endif
19906 int (*ptr)() = (int (*)())ldexpf;
19909 main ()
19911 return 0;
19914 _ACEOF
19915 if ac_fn_c_try_link "$LINENO"; then :
19916 gcc_cv_math_func_ldexpf=yes
19917 else
19918 gcc_cv_math_func_ldexpf=no
19920 rm -f core conftest.err conftest.$ac_objext \
19921 conftest$ac_exeext conftest.$ac_ext
19923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpf" >&5
19924 $as_echo "$gcc_cv_math_func_ldexpf" >&6; }
19925 if test $gcc_cv_math_func_ldexpf = yes; then
19927 cat >>confdefs.h <<_ACEOF
19928 #define HAVE_LDEXPF 1
19929 _ACEOF
19936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexp" >&5
19937 $as_echo_n "checking for ldexp... " >&6; }
19938 if test "${gcc_cv_math_func_ldexp+set}" = set; then :
19939 $as_echo_n "(cached) " >&6
19940 else
19941 if test x$gcc_no_link = xyes; then
19942 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19945 /* end confdefs.h. */
19947 #ifdef HAVE_COMPLEX_H
19948 #include <complex.h>
19949 #endif
19950 #ifdef HAVE_MATH_H
19951 #include <math.h>
19952 #endif
19954 int (*ptr)() = (int (*)())ldexp;
19957 main ()
19959 return 0;
19962 _ACEOF
19963 if ac_fn_c_try_link "$LINENO"; then :
19964 gcc_cv_math_func_ldexp=yes
19965 else
19966 gcc_cv_math_func_ldexp=no
19968 rm -f core conftest.err conftest.$ac_objext \
19969 conftest$ac_exeext conftest.$ac_ext
19971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexp" >&5
19972 $as_echo "$gcc_cv_math_func_ldexp" >&6; }
19973 if test $gcc_cv_math_func_ldexp = yes; then
19975 cat >>confdefs.h <<_ACEOF
19976 #define HAVE_LDEXP 1
19977 _ACEOF
19984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl" >&5
19985 $as_echo_n "checking for ldexpl... " >&6; }
19986 if test "${gcc_cv_math_func_ldexpl+set}" = set; then :
19987 $as_echo_n "(cached) " >&6
19988 else
19989 if test x$gcc_no_link = xyes; then
19990 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19993 /* end confdefs.h. */
19995 #ifdef HAVE_COMPLEX_H
19996 #include <complex.h>
19997 #endif
19998 #ifdef HAVE_MATH_H
19999 #include <math.h>
20000 #endif
20002 int (*ptr)() = (int (*)())ldexpl;
20005 main ()
20007 return 0;
20010 _ACEOF
20011 if ac_fn_c_try_link "$LINENO"; then :
20012 gcc_cv_math_func_ldexpl=yes
20013 else
20014 gcc_cv_math_func_ldexpl=no
20016 rm -f core conftest.err conftest.$ac_objext \
20017 conftest$ac_exeext conftest.$ac_ext
20019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpl" >&5
20020 $as_echo "$gcc_cv_math_func_ldexpl" >&6; }
20021 if test $gcc_cv_math_func_ldexpl = yes; then
20023 cat >>confdefs.h <<_ACEOF
20024 #define HAVE_LDEXPL 1
20025 _ACEOF
20032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf" >&5
20033 $as_echo_n "checking for logf... " >&6; }
20034 if test "${gcc_cv_math_func_logf+set}" = set; then :
20035 $as_echo_n "(cached) " >&6
20036 else
20037 if test x$gcc_no_link = xyes; then
20038 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20041 /* end confdefs.h. */
20043 #ifdef HAVE_COMPLEX_H
20044 #include <complex.h>
20045 #endif
20046 #ifdef HAVE_MATH_H
20047 #include <math.h>
20048 #endif
20050 int (*ptr)() = (int (*)())logf;
20053 main ()
20055 return 0;
20058 _ACEOF
20059 if ac_fn_c_try_link "$LINENO"; then :
20060 gcc_cv_math_func_logf=yes
20061 else
20062 gcc_cv_math_func_logf=no
20064 rm -f core conftest.err conftest.$ac_objext \
20065 conftest$ac_exeext conftest.$ac_ext
20067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logf" >&5
20068 $as_echo "$gcc_cv_math_func_logf" >&6; }
20069 if test $gcc_cv_math_func_logf = yes; then
20071 cat >>confdefs.h <<_ACEOF
20072 #define HAVE_LOGF 1
20073 _ACEOF
20080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log" >&5
20081 $as_echo_n "checking for log... " >&6; }
20082 if test "${gcc_cv_math_func_log+set}" = set; then :
20083 $as_echo_n "(cached) " >&6
20084 else
20085 if test x$gcc_no_link = xyes; then
20086 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20089 /* end confdefs.h. */
20091 #ifdef HAVE_COMPLEX_H
20092 #include <complex.h>
20093 #endif
20094 #ifdef HAVE_MATH_H
20095 #include <math.h>
20096 #endif
20098 int (*ptr)() = (int (*)())log;
20101 main ()
20103 return 0;
20106 _ACEOF
20107 if ac_fn_c_try_link "$LINENO"; then :
20108 gcc_cv_math_func_log=yes
20109 else
20110 gcc_cv_math_func_log=no
20112 rm -f core conftest.err conftest.$ac_objext \
20113 conftest$ac_exeext conftest.$ac_ext
20115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log" >&5
20116 $as_echo "$gcc_cv_math_func_log" >&6; }
20117 if test $gcc_cv_math_func_log = yes; then
20119 cat >>confdefs.h <<_ACEOF
20120 #define HAVE_LOG 1
20121 _ACEOF
20128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl" >&5
20129 $as_echo_n "checking for logl... " >&6; }
20130 if test "${gcc_cv_math_func_logl+set}" = set; then :
20131 $as_echo_n "(cached) " >&6
20132 else
20133 if test x$gcc_no_link = xyes; then
20134 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20137 /* end confdefs.h. */
20139 #ifdef HAVE_COMPLEX_H
20140 #include <complex.h>
20141 #endif
20142 #ifdef HAVE_MATH_H
20143 #include <math.h>
20144 #endif
20146 int (*ptr)() = (int (*)())logl;
20149 main ()
20151 return 0;
20154 _ACEOF
20155 if ac_fn_c_try_link "$LINENO"; then :
20156 gcc_cv_math_func_logl=yes
20157 else
20158 gcc_cv_math_func_logl=no
20160 rm -f core conftest.err conftest.$ac_objext \
20161 conftest$ac_exeext conftest.$ac_ext
20163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logl" >&5
20164 $as_echo "$gcc_cv_math_func_logl" >&6; }
20165 if test $gcc_cv_math_func_logl = yes; then
20167 cat >>confdefs.h <<_ACEOF
20168 #define HAVE_LOGL 1
20169 _ACEOF
20176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogf" >&5
20177 $as_echo_n "checking for clogf... " >&6; }
20178 if test "${gcc_cv_math_func_clogf+set}" = set; then :
20179 $as_echo_n "(cached) " >&6
20180 else
20181 if test x$gcc_no_link = xyes; then
20182 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20185 /* end confdefs.h. */
20187 #ifdef HAVE_COMPLEX_H
20188 #include <complex.h>
20189 #endif
20190 #ifdef HAVE_MATH_H
20191 #include <math.h>
20192 #endif
20194 int (*ptr)() = (int (*)())clogf;
20197 main ()
20199 return 0;
20202 _ACEOF
20203 if ac_fn_c_try_link "$LINENO"; then :
20204 gcc_cv_math_func_clogf=yes
20205 else
20206 gcc_cv_math_func_clogf=no
20208 rm -f core conftest.err conftest.$ac_objext \
20209 conftest$ac_exeext conftest.$ac_ext
20211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogf" >&5
20212 $as_echo "$gcc_cv_math_func_clogf" >&6; }
20213 if test $gcc_cv_math_func_clogf = yes; then
20215 cat >>confdefs.h <<_ACEOF
20216 #define HAVE_CLOGF 1
20217 _ACEOF
20224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog" >&5
20225 $as_echo_n "checking for clog... " >&6; }
20226 if test "${gcc_cv_math_func_clog+set}" = set; then :
20227 $as_echo_n "(cached) " >&6
20228 else
20229 if test x$gcc_no_link = xyes; then
20230 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20233 /* end confdefs.h. */
20235 #ifdef HAVE_COMPLEX_H
20236 #include <complex.h>
20237 #endif
20238 #ifdef HAVE_MATH_H
20239 #include <math.h>
20240 #endif
20242 int (*ptr)() = (int (*)())clog;
20245 main ()
20247 return 0;
20250 _ACEOF
20251 if ac_fn_c_try_link "$LINENO"; then :
20252 gcc_cv_math_func_clog=yes
20253 else
20254 gcc_cv_math_func_clog=no
20256 rm -f core conftest.err conftest.$ac_objext \
20257 conftest$ac_exeext conftest.$ac_ext
20259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog" >&5
20260 $as_echo "$gcc_cv_math_func_clog" >&6; }
20261 if test $gcc_cv_math_func_clog = yes; then
20263 cat >>confdefs.h <<_ACEOF
20264 #define HAVE_CLOG 1
20265 _ACEOF
20272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogl" >&5
20273 $as_echo_n "checking for clogl... " >&6; }
20274 if test "${gcc_cv_math_func_clogl+set}" = set; then :
20275 $as_echo_n "(cached) " >&6
20276 else
20277 if test x$gcc_no_link = xyes; then
20278 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20281 /* end confdefs.h. */
20283 #ifdef HAVE_COMPLEX_H
20284 #include <complex.h>
20285 #endif
20286 #ifdef HAVE_MATH_H
20287 #include <math.h>
20288 #endif
20290 int (*ptr)() = (int (*)())clogl;
20293 main ()
20295 return 0;
20298 _ACEOF
20299 if ac_fn_c_try_link "$LINENO"; then :
20300 gcc_cv_math_func_clogl=yes
20301 else
20302 gcc_cv_math_func_clogl=no
20304 rm -f core conftest.err conftest.$ac_objext \
20305 conftest$ac_exeext conftest.$ac_ext
20307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogl" >&5
20308 $as_echo "$gcc_cv_math_func_clogl" >&6; }
20309 if test $gcc_cv_math_func_clogl = yes; then
20311 cat >>confdefs.h <<_ACEOF
20312 #define HAVE_CLOGL 1
20313 _ACEOF
20320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f" >&5
20321 $as_echo_n "checking for log10f... " >&6; }
20322 if test "${gcc_cv_math_func_log10f+set}" = set; then :
20323 $as_echo_n "(cached) " >&6
20324 else
20325 if test x$gcc_no_link = xyes; then
20326 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20329 /* end confdefs.h. */
20331 #ifdef HAVE_COMPLEX_H
20332 #include <complex.h>
20333 #endif
20334 #ifdef HAVE_MATH_H
20335 #include <math.h>
20336 #endif
20338 int (*ptr)() = (int (*)())log10f;
20341 main ()
20343 return 0;
20346 _ACEOF
20347 if ac_fn_c_try_link "$LINENO"; then :
20348 gcc_cv_math_func_log10f=yes
20349 else
20350 gcc_cv_math_func_log10f=no
20352 rm -f core conftest.err conftest.$ac_objext \
20353 conftest$ac_exeext conftest.$ac_ext
20355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10f" >&5
20356 $as_echo "$gcc_cv_math_func_log10f" >&6; }
20357 if test $gcc_cv_math_func_log10f = yes; then
20359 cat >>confdefs.h <<_ACEOF
20360 #define HAVE_LOG10F 1
20361 _ACEOF
20368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10" >&5
20369 $as_echo_n "checking for log10... " >&6; }
20370 if test "${gcc_cv_math_func_log10+set}" = set; then :
20371 $as_echo_n "(cached) " >&6
20372 else
20373 if test x$gcc_no_link = xyes; then
20374 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20377 /* end confdefs.h. */
20379 #ifdef HAVE_COMPLEX_H
20380 #include <complex.h>
20381 #endif
20382 #ifdef HAVE_MATH_H
20383 #include <math.h>
20384 #endif
20386 int (*ptr)() = (int (*)())log10;
20389 main ()
20391 return 0;
20394 _ACEOF
20395 if ac_fn_c_try_link "$LINENO"; then :
20396 gcc_cv_math_func_log10=yes
20397 else
20398 gcc_cv_math_func_log10=no
20400 rm -f core conftest.err conftest.$ac_objext \
20401 conftest$ac_exeext conftest.$ac_ext
20403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10" >&5
20404 $as_echo "$gcc_cv_math_func_log10" >&6; }
20405 if test $gcc_cv_math_func_log10 = yes; then
20407 cat >>confdefs.h <<_ACEOF
20408 #define HAVE_LOG10 1
20409 _ACEOF
20416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l" >&5
20417 $as_echo_n "checking for log10l... " >&6; }
20418 if test "${gcc_cv_math_func_log10l+set}" = set; then :
20419 $as_echo_n "(cached) " >&6
20420 else
20421 if test x$gcc_no_link = xyes; then
20422 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20425 /* end confdefs.h. */
20427 #ifdef HAVE_COMPLEX_H
20428 #include <complex.h>
20429 #endif
20430 #ifdef HAVE_MATH_H
20431 #include <math.h>
20432 #endif
20434 int (*ptr)() = (int (*)())log10l;
20437 main ()
20439 return 0;
20442 _ACEOF
20443 if ac_fn_c_try_link "$LINENO"; then :
20444 gcc_cv_math_func_log10l=yes
20445 else
20446 gcc_cv_math_func_log10l=no
20448 rm -f core conftest.err conftest.$ac_objext \
20449 conftest$ac_exeext conftest.$ac_ext
20451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10l" >&5
20452 $as_echo "$gcc_cv_math_func_log10l" >&6; }
20453 if test $gcc_cv_math_func_log10l = yes; then
20455 cat >>confdefs.h <<_ACEOF
20456 #define HAVE_LOG10L 1
20457 _ACEOF
20464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10f" >&5
20465 $as_echo_n "checking for clog10f... " >&6; }
20466 if test "${gcc_cv_math_func_clog10f+set}" = set; then :
20467 $as_echo_n "(cached) " >&6
20468 else
20469 if test x$gcc_no_link = xyes; then
20470 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20473 /* end confdefs.h. */
20475 #ifdef HAVE_COMPLEX_H
20476 #include <complex.h>
20477 #endif
20478 #ifdef HAVE_MATH_H
20479 #include <math.h>
20480 #endif
20482 int (*ptr)() = (int (*)())clog10f;
20485 main ()
20487 return 0;
20490 _ACEOF
20491 if ac_fn_c_try_link "$LINENO"; then :
20492 gcc_cv_math_func_clog10f=yes
20493 else
20494 gcc_cv_math_func_clog10f=no
20496 rm -f core conftest.err conftest.$ac_objext \
20497 conftest$ac_exeext conftest.$ac_ext
20499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10f" >&5
20500 $as_echo "$gcc_cv_math_func_clog10f" >&6; }
20501 if test $gcc_cv_math_func_clog10f = yes; then
20503 cat >>confdefs.h <<_ACEOF
20504 #define HAVE_CLOG10F 1
20505 _ACEOF
20512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10" >&5
20513 $as_echo_n "checking for clog10... " >&6; }
20514 if test "${gcc_cv_math_func_clog10+set}" = set; then :
20515 $as_echo_n "(cached) " >&6
20516 else
20517 if test x$gcc_no_link = xyes; then
20518 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20521 /* end confdefs.h. */
20523 #ifdef HAVE_COMPLEX_H
20524 #include <complex.h>
20525 #endif
20526 #ifdef HAVE_MATH_H
20527 #include <math.h>
20528 #endif
20530 int (*ptr)() = (int (*)())clog10;
20533 main ()
20535 return 0;
20538 _ACEOF
20539 if ac_fn_c_try_link "$LINENO"; then :
20540 gcc_cv_math_func_clog10=yes
20541 else
20542 gcc_cv_math_func_clog10=no
20544 rm -f core conftest.err conftest.$ac_objext \
20545 conftest$ac_exeext conftest.$ac_ext
20547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10" >&5
20548 $as_echo "$gcc_cv_math_func_clog10" >&6; }
20549 if test $gcc_cv_math_func_clog10 = yes; then
20551 cat >>confdefs.h <<_ACEOF
20552 #define HAVE_CLOG10 1
20553 _ACEOF
20560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10l" >&5
20561 $as_echo_n "checking for clog10l... " >&6; }
20562 if test "${gcc_cv_math_func_clog10l+set}" = set; then :
20563 $as_echo_n "(cached) " >&6
20564 else
20565 if test x$gcc_no_link = xyes; then
20566 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20569 /* end confdefs.h. */
20571 #ifdef HAVE_COMPLEX_H
20572 #include <complex.h>
20573 #endif
20574 #ifdef HAVE_MATH_H
20575 #include <math.h>
20576 #endif
20578 int (*ptr)() = (int (*)())clog10l;
20581 main ()
20583 return 0;
20586 _ACEOF
20587 if ac_fn_c_try_link "$LINENO"; then :
20588 gcc_cv_math_func_clog10l=yes
20589 else
20590 gcc_cv_math_func_clog10l=no
20592 rm -f core conftest.err conftest.$ac_objext \
20593 conftest$ac_exeext conftest.$ac_ext
20595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10l" >&5
20596 $as_echo "$gcc_cv_math_func_clog10l" >&6; }
20597 if test $gcc_cv_math_func_clog10l = yes; then
20599 cat >>confdefs.h <<_ACEOF
20600 #define HAVE_CLOG10L 1
20601 _ACEOF
20608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterf" >&5
20609 $as_echo_n "checking for nextafterf... " >&6; }
20610 if test "${gcc_cv_math_func_nextafterf+set}" = set; then :
20611 $as_echo_n "(cached) " >&6
20612 else
20613 if test x$gcc_no_link = xyes; then
20614 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20617 /* end confdefs.h. */
20619 #ifdef HAVE_COMPLEX_H
20620 #include <complex.h>
20621 #endif
20622 #ifdef HAVE_MATH_H
20623 #include <math.h>
20624 #endif
20626 int (*ptr)() = (int (*)())nextafterf;
20629 main ()
20631 return 0;
20634 _ACEOF
20635 if ac_fn_c_try_link "$LINENO"; then :
20636 gcc_cv_math_func_nextafterf=yes
20637 else
20638 gcc_cv_math_func_nextafterf=no
20640 rm -f core conftest.err conftest.$ac_objext \
20641 conftest$ac_exeext conftest.$ac_ext
20643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterf" >&5
20644 $as_echo "$gcc_cv_math_func_nextafterf" >&6; }
20645 if test $gcc_cv_math_func_nextafterf = yes; then
20647 cat >>confdefs.h <<_ACEOF
20648 #define HAVE_NEXTAFTERF 1
20649 _ACEOF
20656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafter" >&5
20657 $as_echo_n "checking for nextafter... " >&6; }
20658 if test "${gcc_cv_math_func_nextafter+set}" = set; then :
20659 $as_echo_n "(cached) " >&6
20660 else
20661 if test x$gcc_no_link = xyes; then
20662 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20665 /* end confdefs.h. */
20667 #ifdef HAVE_COMPLEX_H
20668 #include <complex.h>
20669 #endif
20670 #ifdef HAVE_MATH_H
20671 #include <math.h>
20672 #endif
20674 int (*ptr)() = (int (*)())nextafter;
20677 main ()
20679 return 0;
20682 _ACEOF
20683 if ac_fn_c_try_link "$LINENO"; then :
20684 gcc_cv_math_func_nextafter=yes
20685 else
20686 gcc_cv_math_func_nextafter=no
20688 rm -f core conftest.err conftest.$ac_objext \
20689 conftest$ac_exeext conftest.$ac_ext
20691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafter" >&5
20692 $as_echo "$gcc_cv_math_func_nextafter" >&6; }
20693 if test $gcc_cv_math_func_nextafter = yes; then
20695 cat >>confdefs.h <<_ACEOF
20696 #define HAVE_NEXTAFTER 1
20697 _ACEOF
20704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterl" >&5
20705 $as_echo_n "checking for nextafterl... " >&6; }
20706 if test "${gcc_cv_math_func_nextafterl+set}" = set; then :
20707 $as_echo_n "(cached) " >&6
20708 else
20709 if test x$gcc_no_link = xyes; then
20710 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20713 /* end confdefs.h. */
20715 #ifdef HAVE_COMPLEX_H
20716 #include <complex.h>
20717 #endif
20718 #ifdef HAVE_MATH_H
20719 #include <math.h>
20720 #endif
20722 int (*ptr)() = (int (*)())nextafterl;
20725 main ()
20727 return 0;
20730 _ACEOF
20731 if ac_fn_c_try_link "$LINENO"; then :
20732 gcc_cv_math_func_nextafterl=yes
20733 else
20734 gcc_cv_math_func_nextafterl=no
20736 rm -f core conftest.err conftest.$ac_objext \
20737 conftest$ac_exeext conftest.$ac_ext
20739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterl" >&5
20740 $as_echo "$gcc_cv_math_func_nextafterl" >&6; }
20741 if test $gcc_cv_math_func_nextafterl = yes; then
20743 cat >>confdefs.h <<_ACEOF
20744 #define HAVE_NEXTAFTERL 1
20745 _ACEOF
20752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf" >&5
20753 $as_echo_n "checking for powf... " >&6; }
20754 if test "${gcc_cv_math_func_powf+set}" = set; then :
20755 $as_echo_n "(cached) " >&6
20756 else
20757 if test x$gcc_no_link = xyes; then
20758 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20761 /* end confdefs.h. */
20763 #ifdef HAVE_COMPLEX_H
20764 #include <complex.h>
20765 #endif
20766 #ifdef HAVE_MATH_H
20767 #include <math.h>
20768 #endif
20770 int (*ptr)() = (int (*)())powf;
20773 main ()
20775 return 0;
20778 _ACEOF
20779 if ac_fn_c_try_link "$LINENO"; then :
20780 gcc_cv_math_func_powf=yes
20781 else
20782 gcc_cv_math_func_powf=no
20784 rm -f core conftest.err conftest.$ac_objext \
20785 conftest$ac_exeext conftest.$ac_ext
20787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_powf" >&5
20788 $as_echo "$gcc_cv_math_func_powf" >&6; }
20789 if test $gcc_cv_math_func_powf = yes; then
20791 cat >>confdefs.h <<_ACEOF
20792 #define HAVE_POWF 1
20793 _ACEOF
20800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow" >&5
20801 $as_echo_n "checking for pow... " >&6; }
20802 if test "${gcc_cv_math_func_pow+set}" = set; then :
20803 $as_echo_n "(cached) " >&6
20804 else
20805 if test x$gcc_no_link = xyes; then
20806 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20809 /* end confdefs.h. */
20811 #ifdef HAVE_COMPLEX_H
20812 #include <complex.h>
20813 #endif
20814 #ifdef HAVE_MATH_H
20815 #include <math.h>
20816 #endif
20818 int (*ptr)() = (int (*)())pow;
20821 main ()
20823 return 0;
20826 _ACEOF
20827 if ac_fn_c_try_link "$LINENO"; then :
20828 gcc_cv_math_func_pow=yes
20829 else
20830 gcc_cv_math_func_pow=no
20832 rm -f core conftest.err conftest.$ac_objext \
20833 conftest$ac_exeext conftest.$ac_ext
20835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_pow" >&5
20836 $as_echo "$gcc_cv_math_func_pow" >&6; }
20837 if test $gcc_cv_math_func_pow = yes; then
20839 cat >>confdefs.h <<_ACEOF
20840 #define HAVE_POW 1
20841 _ACEOF
20848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl" >&5
20849 $as_echo_n "checking for powl... " >&6; }
20850 if test "${gcc_cv_math_func_powl+set}" = set; then :
20851 $as_echo_n "(cached) " >&6
20852 else
20853 if test x$gcc_no_link = xyes; then
20854 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20857 /* end confdefs.h. */
20859 #ifdef HAVE_COMPLEX_H
20860 #include <complex.h>
20861 #endif
20862 #ifdef HAVE_MATH_H
20863 #include <math.h>
20864 #endif
20866 int (*ptr)() = (int (*)())powl;
20869 main ()
20871 return 0;
20874 _ACEOF
20875 if ac_fn_c_try_link "$LINENO"; then :
20876 gcc_cv_math_func_powl=yes
20877 else
20878 gcc_cv_math_func_powl=no
20880 rm -f core conftest.err conftest.$ac_objext \
20881 conftest$ac_exeext conftest.$ac_ext
20883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_powl" >&5
20884 $as_echo "$gcc_cv_math_func_powl" >&6; }
20885 if test $gcc_cv_math_func_powl = yes; then
20887 cat >>confdefs.h <<_ACEOF
20888 #define HAVE_POWL 1
20889 _ACEOF
20896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowf" >&5
20897 $as_echo_n "checking for cpowf... " >&6; }
20898 if test "${gcc_cv_math_func_cpowf+set}" = set; then :
20899 $as_echo_n "(cached) " >&6
20900 else
20901 if test x$gcc_no_link = xyes; then
20902 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20905 /* end confdefs.h. */
20907 #ifdef HAVE_COMPLEX_H
20908 #include <complex.h>
20909 #endif
20910 #ifdef HAVE_MATH_H
20911 #include <math.h>
20912 #endif
20914 int (*ptr)() = (int (*)())cpowf;
20917 main ()
20919 return 0;
20922 _ACEOF
20923 if ac_fn_c_try_link "$LINENO"; then :
20924 gcc_cv_math_func_cpowf=yes
20925 else
20926 gcc_cv_math_func_cpowf=no
20928 rm -f core conftest.err conftest.$ac_objext \
20929 conftest$ac_exeext conftest.$ac_ext
20931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowf" >&5
20932 $as_echo "$gcc_cv_math_func_cpowf" >&6; }
20933 if test $gcc_cv_math_func_cpowf = yes; then
20935 cat >>confdefs.h <<_ACEOF
20936 #define HAVE_CPOWF 1
20937 _ACEOF
20944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpow" >&5
20945 $as_echo_n "checking for cpow... " >&6; }
20946 if test "${gcc_cv_math_func_cpow+set}" = set; then :
20947 $as_echo_n "(cached) " >&6
20948 else
20949 if test x$gcc_no_link = xyes; then
20950 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20953 /* end confdefs.h. */
20955 #ifdef HAVE_COMPLEX_H
20956 #include <complex.h>
20957 #endif
20958 #ifdef HAVE_MATH_H
20959 #include <math.h>
20960 #endif
20962 int (*ptr)() = (int (*)())cpow;
20965 main ()
20967 return 0;
20970 _ACEOF
20971 if ac_fn_c_try_link "$LINENO"; then :
20972 gcc_cv_math_func_cpow=yes
20973 else
20974 gcc_cv_math_func_cpow=no
20976 rm -f core conftest.err conftest.$ac_objext \
20977 conftest$ac_exeext conftest.$ac_ext
20979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpow" >&5
20980 $as_echo "$gcc_cv_math_func_cpow" >&6; }
20981 if test $gcc_cv_math_func_cpow = yes; then
20983 cat >>confdefs.h <<_ACEOF
20984 #define HAVE_CPOW 1
20985 _ACEOF
20992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowl" >&5
20993 $as_echo_n "checking for cpowl... " >&6; }
20994 if test "${gcc_cv_math_func_cpowl+set}" = set; then :
20995 $as_echo_n "(cached) " >&6
20996 else
20997 if test x$gcc_no_link = xyes; then
20998 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21001 /* end confdefs.h. */
21003 #ifdef HAVE_COMPLEX_H
21004 #include <complex.h>
21005 #endif
21006 #ifdef HAVE_MATH_H
21007 #include <math.h>
21008 #endif
21010 int (*ptr)() = (int (*)())cpowl;
21013 main ()
21015 return 0;
21018 _ACEOF
21019 if ac_fn_c_try_link "$LINENO"; then :
21020 gcc_cv_math_func_cpowl=yes
21021 else
21022 gcc_cv_math_func_cpowl=no
21024 rm -f core conftest.err conftest.$ac_objext \
21025 conftest$ac_exeext conftest.$ac_ext
21027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowl" >&5
21028 $as_echo "$gcc_cv_math_func_cpowl" >&6; }
21029 if test $gcc_cv_math_func_cpowl = yes; then
21031 cat >>confdefs.h <<_ACEOF
21032 #define HAVE_CPOWL 1
21033 _ACEOF
21040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundf" >&5
21041 $as_echo_n "checking for roundf... " >&6; }
21042 if test "${gcc_cv_math_func_roundf+set}" = set; then :
21043 $as_echo_n "(cached) " >&6
21044 else
21045 if test x$gcc_no_link = xyes; then
21046 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21049 /* end confdefs.h. */
21051 #ifdef HAVE_COMPLEX_H
21052 #include <complex.h>
21053 #endif
21054 #ifdef HAVE_MATH_H
21055 #include <math.h>
21056 #endif
21058 int (*ptr)() = (int (*)())roundf;
21061 main ()
21063 return 0;
21066 _ACEOF
21067 if ac_fn_c_try_link "$LINENO"; then :
21068 gcc_cv_math_func_roundf=yes
21069 else
21070 gcc_cv_math_func_roundf=no
21072 rm -f core conftest.err conftest.$ac_objext \
21073 conftest$ac_exeext conftest.$ac_ext
21075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundf" >&5
21076 $as_echo "$gcc_cv_math_func_roundf" >&6; }
21077 if test $gcc_cv_math_func_roundf = yes; then
21079 cat >>confdefs.h <<_ACEOF
21080 #define HAVE_ROUNDF 1
21081 _ACEOF
21088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for round" >&5
21089 $as_echo_n "checking for round... " >&6; }
21090 if test "${gcc_cv_math_func_round+set}" = set; then :
21091 $as_echo_n "(cached) " >&6
21092 else
21093 if test x$gcc_no_link = xyes; then
21094 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21097 /* end confdefs.h. */
21099 #ifdef HAVE_COMPLEX_H
21100 #include <complex.h>
21101 #endif
21102 #ifdef HAVE_MATH_H
21103 #include <math.h>
21104 #endif
21106 int (*ptr)() = (int (*)())round;
21109 main ()
21111 return 0;
21114 _ACEOF
21115 if ac_fn_c_try_link "$LINENO"; then :
21116 gcc_cv_math_func_round=yes
21117 else
21118 gcc_cv_math_func_round=no
21120 rm -f core conftest.err conftest.$ac_objext \
21121 conftest$ac_exeext conftest.$ac_ext
21123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_round" >&5
21124 $as_echo "$gcc_cv_math_func_round" >&6; }
21125 if test $gcc_cv_math_func_round = yes; then
21127 cat >>confdefs.h <<_ACEOF
21128 #define HAVE_ROUND 1
21129 _ACEOF
21136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundl" >&5
21137 $as_echo_n "checking for roundl... " >&6; }
21138 if test "${gcc_cv_math_func_roundl+set}" = set; then :
21139 $as_echo_n "(cached) " >&6
21140 else
21141 if test x$gcc_no_link = xyes; then
21142 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21145 /* end confdefs.h. */
21147 #ifdef HAVE_COMPLEX_H
21148 #include <complex.h>
21149 #endif
21150 #ifdef HAVE_MATH_H
21151 #include <math.h>
21152 #endif
21154 int (*ptr)() = (int (*)())roundl;
21157 main ()
21159 return 0;
21162 _ACEOF
21163 if ac_fn_c_try_link "$LINENO"; then :
21164 gcc_cv_math_func_roundl=yes
21165 else
21166 gcc_cv_math_func_roundl=no
21168 rm -f core conftest.err conftest.$ac_objext \
21169 conftest$ac_exeext conftest.$ac_ext
21171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundl" >&5
21172 $as_echo "$gcc_cv_math_func_roundl" >&6; }
21173 if test $gcc_cv_math_func_roundl = yes; then
21175 cat >>confdefs.h <<_ACEOF
21176 #define HAVE_ROUNDL 1
21177 _ACEOF
21184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundf" >&5
21185 $as_echo_n "checking for lroundf... " >&6; }
21186 if test "${gcc_cv_math_func_lroundf+set}" = set; then :
21187 $as_echo_n "(cached) " >&6
21188 else
21189 if test x$gcc_no_link = xyes; then
21190 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21193 /* end confdefs.h. */
21195 #ifdef HAVE_COMPLEX_H
21196 #include <complex.h>
21197 #endif
21198 #ifdef HAVE_MATH_H
21199 #include <math.h>
21200 #endif
21202 int (*ptr)() = (int (*)())lroundf;
21205 main ()
21207 return 0;
21210 _ACEOF
21211 if ac_fn_c_try_link "$LINENO"; then :
21212 gcc_cv_math_func_lroundf=yes
21213 else
21214 gcc_cv_math_func_lroundf=no
21216 rm -f core conftest.err conftest.$ac_objext \
21217 conftest$ac_exeext conftest.$ac_ext
21219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundf" >&5
21220 $as_echo "$gcc_cv_math_func_lroundf" >&6; }
21221 if test $gcc_cv_math_func_lroundf = yes; then
21223 cat >>confdefs.h <<_ACEOF
21224 #define HAVE_LROUNDF 1
21225 _ACEOF
21232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lround" >&5
21233 $as_echo_n "checking for lround... " >&6; }
21234 if test "${gcc_cv_math_func_lround+set}" = set; then :
21235 $as_echo_n "(cached) " >&6
21236 else
21237 if test x$gcc_no_link = xyes; then
21238 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21241 /* end confdefs.h. */
21243 #ifdef HAVE_COMPLEX_H
21244 #include <complex.h>
21245 #endif
21246 #ifdef HAVE_MATH_H
21247 #include <math.h>
21248 #endif
21250 int (*ptr)() = (int (*)())lround;
21253 main ()
21255 return 0;
21258 _ACEOF
21259 if ac_fn_c_try_link "$LINENO"; then :
21260 gcc_cv_math_func_lround=yes
21261 else
21262 gcc_cv_math_func_lround=no
21264 rm -f core conftest.err conftest.$ac_objext \
21265 conftest$ac_exeext conftest.$ac_ext
21267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lround" >&5
21268 $as_echo "$gcc_cv_math_func_lround" >&6; }
21269 if test $gcc_cv_math_func_lround = yes; then
21271 cat >>confdefs.h <<_ACEOF
21272 #define HAVE_LROUND 1
21273 _ACEOF
21280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundl" >&5
21281 $as_echo_n "checking for lroundl... " >&6; }
21282 if test "${gcc_cv_math_func_lroundl+set}" = set; then :
21283 $as_echo_n "(cached) " >&6
21284 else
21285 if test x$gcc_no_link = xyes; then
21286 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21289 /* end confdefs.h. */
21291 #ifdef HAVE_COMPLEX_H
21292 #include <complex.h>
21293 #endif
21294 #ifdef HAVE_MATH_H
21295 #include <math.h>
21296 #endif
21298 int (*ptr)() = (int (*)())lroundl;
21301 main ()
21303 return 0;
21306 _ACEOF
21307 if ac_fn_c_try_link "$LINENO"; then :
21308 gcc_cv_math_func_lroundl=yes
21309 else
21310 gcc_cv_math_func_lroundl=no
21312 rm -f core conftest.err conftest.$ac_objext \
21313 conftest$ac_exeext conftest.$ac_ext
21315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundl" >&5
21316 $as_echo "$gcc_cv_math_func_lroundl" >&6; }
21317 if test $gcc_cv_math_func_lroundl = yes; then
21319 cat >>confdefs.h <<_ACEOF
21320 #define HAVE_LROUNDL 1
21321 _ACEOF
21328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundf" >&5
21329 $as_echo_n "checking for llroundf... " >&6; }
21330 if test "${gcc_cv_math_func_llroundf+set}" = set; then :
21331 $as_echo_n "(cached) " >&6
21332 else
21333 if test x$gcc_no_link = xyes; then
21334 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21337 /* end confdefs.h. */
21339 #ifdef HAVE_COMPLEX_H
21340 #include <complex.h>
21341 #endif
21342 #ifdef HAVE_MATH_H
21343 #include <math.h>
21344 #endif
21346 int (*ptr)() = (int (*)())llroundf;
21349 main ()
21351 return 0;
21354 _ACEOF
21355 if ac_fn_c_try_link "$LINENO"; then :
21356 gcc_cv_math_func_llroundf=yes
21357 else
21358 gcc_cv_math_func_llroundf=no
21360 rm -f core conftest.err conftest.$ac_objext \
21361 conftest$ac_exeext conftest.$ac_ext
21363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundf" >&5
21364 $as_echo "$gcc_cv_math_func_llroundf" >&6; }
21365 if test $gcc_cv_math_func_llroundf = yes; then
21367 cat >>confdefs.h <<_ACEOF
21368 #define HAVE_LLROUNDF 1
21369 _ACEOF
21376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llround" >&5
21377 $as_echo_n "checking for llround... " >&6; }
21378 if test "${gcc_cv_math_func_llround+set}" = set; then :
21379 $as_echo_n "(cached) " >&6
21380 else
21381 if test x$gcc_no_link = xyes; then
21382 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21385 /* end confdefs.h. */
21387 #ifdef HAVE_COMPLEX_H
21388 #include <complex.h>
21389 #endif
21390 #ifdef HAVE_MATH_H
21391 #include <math.h>
21392 #endif
21394 int (*ptr)() = (int (*)())llround;
21397 main ()
21399 return 0;
21402 _ACEOF
21403 if ac_fn_c_try_link "$LINENO"; then :
21404 gcc_cv_math_func_llround=yes
21405 else
21406 gcc_cv_math_func_llround=no
21408 rm -f core conftest.err conftest.$ac_objext \
21409 conftest$ac_exeext conftest.$ac_ext
21411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llround" >&5
21412 $as_echo "$gcc_cv_math_func_llround" >&6; }
21413 if test $gcc_cv_math_func_llround = yes; then
21415 cat >>confdefs.h <<_ACEOF
21416 #define HAVE_LLROUND 1
21417 _ACEOF
21424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundl" >&5
21425 $as_echo_n "checking for llroundl... " >&6; }
21426 if test "${gcc_cv_math_func_llroundl+set}" = set; then :
21427 $as_echo_n "(cached) " >&6
21428 else
21429 if test x$gcc_no_link = xyes; then
21430 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21433 /* end confdefs.h. */
21435 #ifdef HAVE_COMPLEX_H
21436 #include <complex.h>
21437 #endif
21438 #ifdef HAVE_MATH_H
21439 #include <math.h>
21440 #endif
21442 int (*ptr)() = (int (*)())llroundl;
21445 main ()
21447 return 0;
21450 _ACEOF
21451 if ac_fn_c_try_link "$LINENO"; then :
21452 gcc_cv_math_func_llroundl=yes
21453 else
21454 gcc_cv_math_func_llroundl=no
21456 rm -f core conftest.err conftest.$ac_objext \
21457 conftest$ac_exeext conftest.$ac_ext
21459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundl" >&5
21460 $as_echo "$gcc_cv_math_func_llroundl" >&6; }
21461 if test $gcc_cv_math_func_llroundl = yes; then
21463 cat >>confdefs.h <<_ACEOF
21464 #define HAVE_LLROUNDL 1
21465 _ACEOF
21472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnf" >&5
21473 $as_echo_n "checking for scalbnf... " >&6; }
21474 if test "${gcc_cv_math_func_scalbnf+set}" = set; then :
21475 $as_echo_n "(cached) " >&6
21476 else
21477 if test x$gcc_no_link = xyes; then
21478 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21481 /* end confdefs.h. */
21483 #ifdef HAVE_COMPLEX_H
21484 #include <complex.h>
21485 #endif
21486 #ifdef HAVE_MATH_H
21487 #include <math.h>
21488 #endif
21490 int (*ptr)() = (int (*)())scalbnf;
21493 main ()
21495 return 0;
21498 _ACEOF
21499 if ac_fn_c_try_link "$LINENO"; then :
21500 gcc_cv_math_func_scalbnf=yes
21501 else
21502 gcc_cv_math_func_scalbnf=no
21504 rm -f core conftest.err conftest.$ac_objext \
21505 conftest$ac_exeext conftest.$ac_ext
21507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnf" >&5
21508 $as_echo "$gcc_cv_math_func_scalbnf" >&6; }
21509 if test $gcc_cv_math_func_scalbnf = yes; then
21511 cat >>confdefs.h <<_ACEOF
21512 #define HAVE_SCALBNF 1
21513 _ACEOF
21520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbn" >&5
21521 $as_echo_n "checking for scalbn... " >&6; }
21522 if test "${gcc_cv_math_func_scalbn+set}" = set; then :
21523 $as_echo_n "(cached) " >&6
21524 else
21525 if test x$gcc_no_link = xyes; then
21526 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21529 /* end confdefs.h. */
21531 #ifdef HAVE_COMPLEX_H
21532 #include <complex.h>
21533 #endif
21534 #ifdef HAVE_MATH_H
21535 #include <math.h>
21536 #endif
21538 int (*ptr)() = (int (*)())scalbn;
21541 main ()
21543 return 0;
21546 _ACEOF
21547 if ac_fn_c_try_link "$LINENO"; then :
21548 gcc_cv_math_func_scalbn=yes
21549 else
21550 gcc_cv_math_func_scalbn=no
21552 rm -f core conftest.err conftest.$ac_objext \
21553 conftest$ac_exeext conftest.$ac_ext
21555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbn" >&5
21556 $as_echo "$gcc_cv_math_func_scalbn" >&6; }
21557 if test $gcc_cv_math_func_scalbn = yes; then
21559 cat >>confdefs.h <<_ACEOF
21560 #define HAVE_SCALBN 1
21561 _ACEOF
21568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnl" >&5
21569 $as_echo_n "checking for scalbnl... " >&6; }
21570 if test "${gcc_cv_math_func_scalbnl+set}" = set; then :
21571 $as_echo_n "(cached) " >&6
21572 else
21573 if test x$gcc_no_link = xyes; then
21574 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21577 /* end confdefs.h. */
21579 #ifdef HAVE_COMPLEX_H
21580 #include <complex.h>
21581 #endif
21582 #ifdef HAVE_MATH_H
21583 #include <math.h>
21584 #endif
21586 int (*ptr)() = (int (*)())scalbnl;
21589 main ()
21591 return 0;
21594 _ACEOF
21595 if ac_fn_c_try_link "$LINENO"; then :
21596 gcc_cv_math_func_scalbnl=yes
21597 else
21598 gcc_cv_math_func_scalbnl=no
21600 rm -f core conftest.err conftest.$ac_objext \
21601 conftest$ac_exeext conftest.$ac_ext
21603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnl" >&5
21604 $as_echo "$gcc_cv_math_func_scalbnl" >&6; }
21605 if test $gcc_cv_math_func_scalbnl = yes; then
21607 cat >>confdefs.h <<_ACEOF
21608 #define HAVE_SCALBNL 1
21609 _ACEOF
21616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinf" >&5
21617 $as_echo_n "checking for sinf... " >&6; }
21618 if test "${gcc_cv_math_func_sinf+set}" = set; then :
21619 $as_echo_n "(cached) " >&6
21620 else
21621 if test x$gcc_no_link = xyes; then
21622 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21625 /* end confdefs.h. */
21627 #ifdef HAVE_COMPLEX_H
21628 #include <complex.h>
21629 #endif
21630 #ifdef HAVE_MATH_H
21631 #include <math.h>
21632 #endif
21634 int (*ptr)() = (int (*)())sinf;
21637 main ()
21639 return 0;
21642 _ACEOF
21643 if ac_fn_c_try_link "$LINENO"; then :
21644 gcc_cv_math_func_sinf=yes
21645 else
21646 gcc_cv_math_func_sinf=no
21648 rm -f core conftest.err conftest.$ac_objext \
21649 conftest$ac_exeext conftest.$ac_ext
21651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinf" >&5
21652 $as_echo "$gcc_cv_math_func_sinf" >&6; }
21653 if test $gcc_cv_math_func_sinf = yes; then
21655 cat >>confdefs.h <<_ACEOF
21656 #define HAVE_SINF 1
21657 _ACEOF
21664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin" >&5
21665 $as_echo_n "checking for sin... " >&6; }
21666 if test "${gcc_cv_math_func_sin+set}" = set; then :
21667 $as_echo_n "(cached) " >&6
21668 else
21669 if test x$gcc_no_link = xyes; then
21670 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21673 /* end confdefs.h. */
21675 #ifdef HAVE_COMPLEX_H
21676 #include <complex.h>
21677 #endif
21678 #ifdef HAVE_MATH_H
21679 #include <math.h>
21680 #endif
21682 int (*ptr)() = (int (*)())sin;
21685 main ()
21687 return 0;
21690 _ACEOF
21691 if ac_fn_c_try_link "$LINENO"; then :
21692 gcc_cv_math_func_sin=yes
21693 else
21694 gcc_cv_math_func_sin=no
21696 rm -f core conftest.err conftest.$ac_objext \
21697 conftest$ac_exeext conftest.$ac_ext
21699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sin" >&5
21700 $as_echo "$gcc_cv_math_func_sin" >&6; }
21701 if test $gcc_cv_math_func_sin = yes; then
21703 cat >>confdefs.h <<_ACEOF
21704 #define HAVE_SIN 1
21705 _ACEOF
21712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinl" >&5
21713 $as_echo_n "checking for sinl... " >&6; }
21714 if test "${gcc_cv_math_func_sinl+set}" = set; then :
21715 $as_echo_n "(cached) " >&6
21716 else
21717 if test x$gcc_no_link = xyes; then
21718 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21721 /* end confdefs.h. */
21723 #ifdef HAVE_COMPLEX_H
21724 #include <complex.h>
21725 #endif
21726 #ifdef HAVE_MATH_H
21727 #include <math.h>
21728 #endif
21730 int (*ptr)() = (int (*)())sinl;
21733 main ()
21735 return 0;
21738 _ACEOF
21739 if ac_fn_c_try_link "$LINENO"; then :
21740 gcc_cv_math_func_sinl=yes
21741 else
21742 gcc_cv_math_func_sinl=no
21744 rm -f core conftest.err conftest.$ac_objext \
21745 conftest$ac_exeext conftest.$ac_ext
21747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinl" >&5
21748 $as_echo "$gcc_cv_math_func_sinl" >&6; }
21749 if test $gcc_cv_math_func_sinl = yes; then
21751 cat >>confdefs.h <<_ACEOF
21752 #define HAVE_SINL 1
21753 _ACEOF
21760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinf" >&5
21761 $as_echo_n "checking for csinf... " >&6; }
21762 if test "${gcc_cv_math_func_csinf+set}" = set; then :
21763 $as_echo_n "(cached) " >&6
21764 else
21765 if test x$gcc_no_link = xyes; then
21766 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21769 /* end confdefs.h. */
21771 #ifdef HAVE_COMPLEX_H
21772 #include <complex.h>
21773 #endif
21774 #ifdef HAVE_MATH_H
21775 #include <math.h>
21776 #endif
21778 int (*ptr)() = (int (*)())csinf;
21781 main ()
21783 return 0;
21786 _ACEOF
21787 if ac_fn_c_try_link "$LINENO"; then :
21788 gcc_cv_math_func_csinf=yes
21789 else
21790 gcc_cv_math_func_csinf=no
21792 rm -f core conftest.err conftest.$ac_objext \
21793 conftest$ac_exeext conftest.$ac_ext
21795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinf" >&5
21796 $as_echo "$gcc_cv_math_func_csinf" >&6; }
21797 if test $gcc_cv_math_func_csinf = yes; then
21799 cat >>confdefs.h <<_ACEOF
21800 #define HAVE_CSINF 1
21801 _ACEOF
21808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csin" >&5
21809 $as_echo_n "checking for csin... " >&6; }
21810 if test "${gcc_cv_math_func_csin+set}" = set; then :
21811 $as_echo_n "(cached) " >&6
21812 else
21813 if test x$gcc_no_link = xyes; then
21814 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21817 /* end confdefs.h. */
21819 #ifdef HAVE_COMPLEX_H
21820 #include <complex.h>
21821 #endif
21822 #ifdef HAVE_MATH_H
21823 #include <math.h>
21824 #endif
21826 int (*ptr)() = (int (*)())csin;
21829 main ()
21831 return 0;
21834 _ACEOF
21835 if ac_fn_c_try_link "$LINENO"; then :
21836 gcc_cv_math_func_csin=yes
21837 else
21838 gcc_cv_math_func_csin=no
21840 rm -f core conftest.err conftest.$ac_objext \
21841 conftest$ac_exeext conftest.$ac_ext
21843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csin" >&5
21844 $as_echo "$gcc_cv_math_func_csin" >&6; }
21845 if test $gcc_cv_math_func_csin = yes; then
21847 cat >>confdefs.h <<_ACEOF
21848 #define HAVE_CSIN 1
21849 _ACEOF
21856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinl" >&5
21857 $as_echo_n "checking for csinl... " >&6; }
21858 if test "${gcc_cv_math_func_csinl+set}" = set; then :
21859 $as_echo_n "(cached) " >&6
21860 else
21861 if test x$gcc_no_link = xyes; then
21862 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21865 /* end confdefs.h. */
21867 #ifdef HAVE_COMPLEX_H
21868 #include <complex.h>
21869 #endif
21870 #ifdef HAVE_MATH_H
21871 #include <math.h>
21872 #endif
21874 int (*ptr)() = (int (*)())csinl;
21877 main ()
21879 return 0;
21882 _ACEOF
21883 if ac_fn_c_try_link "$LINENO"; then :
21884 gcc_cv_math_func_csinl=yes
21885 else
21886 gcc_cv_math_func_csinl=no
21888 rm -f core conftest.err conftest.$ac_objext \
21889 conftest$ac_exeext conftest.$ac_ext
21891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinl" >&5
21892 $as_echo "$gcc_cv_math_func_csinl" >&6; }
21893 if test $gcc_cv_math_func_csinl = yes; then
21895 cat >>confdefs.h <<_ACEOF
21896 #define HAVE_CSINL 1
21897 _ACEOF
21904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhf" >&5
21905 $as_echo_n "checking for sinhf... " >&6; }
21906 if test "${gcc_cv_math_func_sinhf+set}" = set; then :
21907 $as_echo_n "(cached) " >&6
21908 else
21909 if test x$gcc_no_link = xyes; then
21910 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21913 /* end confdefs.h. */
21915 #ifdef HAVE_COMPLEX_H
21916 #include <complex.h>
21917 #endif
21918 #ifdef HAVE_MATH_H
21919 #include <math.h>
21920 #endif
21922 int (*ptr)() = (int (*)())sinhf;
21925 main ()
21927 return 0;
21930 _ACEOF
21931 if ac_fn_c_try_link "$LINENO"; then :
21932 gcc_cv_math_func_sinhf=yes
21933 else
21934 gcc_cv_math_func_sinhf=no
21936 rm -f core conftest.err conftest.$ac_objext \
21937 conftest$ac_exeext conftest.$ac_ext
21939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhf" >&5
21940 $as_echo "$gcc_cv_math_func_sinhf" >&6; }
21941 if test $gcc_cv_math_func_sinhf = yes; then
21943 cat >>confdefs.h <<_ACEOF
21944 #define HAVE_SINHF 1
21945 _ACEOF
21952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinh" >&5
21953 $as_echo_n "checking for sinh... " >&6; }
21954 if test "${gcc_cv_math_func_sinh+set}" = set; then :
21955 $as_echo_n "(cached) " >&6
21956 else
21957 if test x$gcc_no_link = xyes; then
21958 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21961 /* end confdefs.h. */
21963 #ifdef HAVE_COMPLEX_H
21964 #include <complex.h>
21965 #endif
21966 #ifdef HAVE_MATH_H
21967 #include <math.h>
21968 #endif
21970 int (*ptr)() = (int (*)())sinh;
21973 main ()
21975 return 0;
21978 _ACEOF
21979 if ac_fn_c_try_link "$LINENO"; then :
21980 gcc_cv_math_func_sinh=yes
21981 else
21982 gcc_cv_math_func_sinh=no
21984 rm -f core conftest.err conftest.$ac_objext \
21985 conftest$ac_exeext conftest.$ac_ext
21987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinh" >&5
21988 $as_echo "$gcc_cv_math_func_sinh" >&6; }
21989 if test $gcc_cv_math_func_sinh = yes; then
21991 cat >>confdefs.h <<_ACEOF
21992 #define HAVE_SINH 1
21993 _ACEOF
22000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhl" >&5
22001 $as_echo_n "checking for sinhl... " >&6; }
22002 if test "${gcc_cv_math_func_sinhl+set}" = set; then :
22003 $as_echo_n "(cached) " >&6
22004 else
22005 if test x$gcc_no_link = xyes; then
22006 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22009 /* end confdefs.h. */
22011 #ifdef HAVE_COMPLEX_H
22012 #include <complex.h>
22013 #endif
22014 #ifdef HAVE_MATH_H
22015 #include <math.h>
22016 #endif
22018 int (*ptr)() = (int (*)())sinhl;
22021 main ()
22023 return 0;
22026 _ACEOF
22027 if ac_fn_c_try_link "$LINENO"; then :
22028 gcc_cv_math_func_sinhl=yes
22029 else
22030 gcc_cv_math_func_sinhl=no
22032 rm -f core conftest.err conftest.$ac_objext \
22033 conftest$ac_exeext conftest.$ac_ext
22035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhl" >&5
22036 $as_echo "$gcc_cv_math_func_sinhl" >&6; }
22037 if test $gcc_cv_math_func_sinhl = yes; then
22039 cat >>confdefs.h <<_ACEOF
22040 #define HAVE_SINHL 1
22041 _ACEOF
22048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhf" >&5
22049 $as_echo_n "checking for csinhf... " >&6; }
22050 if test "${gcc_cv_math_func_csinhf+set}" = set; then :
22051 $as_echo_n "(cached) " >&6
22052 else
22053 if test x$gcc_no_link = xyes; then
22054 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22057 /* end confdefs.h. */
22059 #ifdef HAVE_COMPLEX_H
22060 #include <complex.h>
22061 #endif
22062 #ifdef HAVE_MATH_H
22063 #include <math.h>
22064 #endif
22066 int (*ptr)() = (int (*)())csinhf;
22069 main ()
22071 return 0;
22074 _ACEOF
22075 if ac_fn_c_try_link "$LINENO"; then :
22076 gcc_cv_math_func_csinhf=yes
22077 else
22078 gcc_cv_math_func_csinhf=no
22080 rm -f core conftest.err conftest.$ac_objext \
22081 conftest$ac_exeext conftest.$ac_ext
22083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhf" >&5
22084 $as_echo "$gcc_cv_math_func_csinhf" >&6; }
22085 if test $gcc_cv_math_func_csinhf = yes; then
22087 cat >>confdefs.h <<_ACEOF
22088 #define HAVE_CSINHF 1
22089 _ACEOF
22096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinh" >&5
22097 $as_echo_n "checking for csinh... " >&6; }
22098 if test "${gcc_cv_math_func_csinh+set}" = set; then :
22099 $as_echo_n "(cached) " >&6
22100 else
22101 if test x$gcc_no_link = xyes; then
22102 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22105 /* end confdefs.h. */
22107 #ifdef HAVE_COMPLEX_H
22108 #include <complex.h>
22109 #endif
22110 #ifdef HAVE_MATH_H
22111 #include <math.h>
22112 #endif
22114 int (*ptr)() = (int (*)())csinh;
22117 main ()
22119 return 0;
22122 _ACEOF
22123 if ac_fn_c_try_link "$LINENO"; then :
22124 gcc_cv_math_func_csinh=yes
22125 else
22126 gcc_cv_math_func_csinh=no
22128 rm -f core conftest.err conftest.$ac_objext \
22129 conftest$ac_exeext conftest.$ac_ext
22131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinh" >&5
22132 $as_echo "$gcc_cv_math_func_csinh" >&6; }
22133 if test $gcc_cv_math_func_csinh = yes; then
22135 cat >>confdefs.h <<_ACEOF
22136 #define HAVE_CSINH 1
22137 _ACEOF
22144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhl" >&5
22145 $as_echo_n "checking for csinhl... " >&6; }
22146 if test "${gcc_cv_math_func_csinhl+set}" = set; then :
22147 $as_echo_n "(cached) " >&6
22148 else
22149 if test x$gcc_no_link = xyes; then
22150 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22153 /* end confdefs.h. */
22155 #ifdef HAVE_COMPLEX_H
22156 #include <complex.h>
22157 #endif
22158 #ifdef HAVE_MATH_H
22159 #include <math.h>
22160 #endif
22162 int (*ptr)() = (int (*)())csinhl;
22165 main ()
22167 return 0;
22170 _ACEOF
22171 if ac_fn_c_try_link "$LINENO"; then :
22172 gcc_cv_math_func_csinhl=yes
22173 else
22174 gcc_cv_math_func_csinhl=no
22176 rm -f core conftest.err conftest.$ac_objext \
22177 conftest$ac_exeext conftest.$ac_ext
22179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhl" >&5
22180 $as_echo "$gcc_cv_math_func_csinhl" >&6; }
22181 if test $gcc_cv_math_func_csinhl = yes; then
22183 cat >>confdefs.h <<_ACEOF
22184 #define HAVE_CSINHL 1
22185 _ACEOF
22192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf" >&5
22193 $as_echo_n "checking for sqrtf... " >&6; }
22194 if test "${gcc_cv_math_func_sqrtf+set}" = set; then :
22195 $as_echo_n "(cached) " >&6
22196 else
22197 if test x$gcc_no_link = xyes; then
22198 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22201 /* end confdefs.h. */
22203 #ifdef HAVE_COMPLEX_H
22204 #include <complex.h>
22205 #endif
22206 #ifdef HAVE_MATH_H
22207 #include <math.h>
22208 #endif
22210 int (*ptr)() = (int (*)())sqrtf;
22213 main ()
22215 return 0;
22218 _ACEOF
22219 if ac_fn_c_try_link "$LINENO"; then :
22220 gcc_cv_math_func_sqrtf=yes
22221 else
22222 gcc_cv_math_func_sqrtf=no
22224 rm -f core conftest.err conftest.$ac_objext \
22225 conftest$ac_exeext conftest.$ac_ext
22227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtf" >&5
22228 $as_echo "$gcc_cv_math_func_sqrtf" >&6; }
22229 if test $gcc_cv_math_func_sqrtf = yes; then
22231 cat >>confdefs.h <<_ACEOF
22232 #define HAVE_SQRTF 1
22233 _ACEOF
22240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt" >&5
22241 $as_echo_n "checking for sqrt... " >&6; }
22242 if test "${gcc_cv_math_func_sqrt+set}" = set; then :
22243 $as_echo_n "(cached) " >&6
22244 else
22245 if test x$gcc_no_link = xyes; then
22246 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22249 /* end confdefs.h. */
22251 #ifdef HAVE_COMPLEX_H
22252 #include <complex.h>
22253 #endif
22254 #ifdef HAVE_MATH_H
22255 #include <math.h>
22256 #endif
22258 int (*ptr)() = (int (*)())sqrt;
22261 main ()
22263 return 0;
22266 _ACEOF
22267 if ac_fn_c_try_link "$LINENO"; then :
22268 gcc_cv_math_func_sqrt=yes
22269 else
22270 gcc_cv_math_func_sqrt=no
22272 rm -f core conftest.err conftest.$ac_objext \
22273 conftest$ac_exeext conftest.$ac_ext
22275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrt" >&5
22276 $as_echo "$gcc_cv_math_func_sqrt" >&6; }
22277 if test $gcc_cv_math_func_sqrt = yes; then
22279 cat >>confdefs.h <<_ACEOF
22280 #define HAVE_SQRT 1
22281 _ACEOF
22288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl" >&5
22289 $as_echo_n "checking for sqrtl... " >&6; }
22290 if test "${gcc_cv_math_func_sqrtl+set}" = set; then :
22291 $as_echo_n "(cached) " >&6
22292 else
22293 if test x$gcc_no_link = xyes; then
22294 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22297 /* end confdefs.h. */
22299 #ifdef HAVE_COMPLEX_H
22300 #include <complex.h>
22301 #endif
22302 #ifdef HAVE_MATH_H
22303 #include <math.h>
22304 #endif
22306 int (*ptr)() = (int (*)())sqrtl;
22309 main ()
22311 return 0;
22314 _ACEOF
22315 if ac_fn_c_try_link "$LINENO"; then :
22316 gcc_cv_math_func_sqrtl=yes
22317 else
22318 gcc_cv_math_func_sqrtl=no
22320 rm -f core conftest.err conftest.$ac_objext \
22321 conftest$ac_exeext conftest.$ac_ext
22323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtl" >&5
22324 $as_echo "$gcc_cv_math_func_sqrtl" >&6; }
22325 if test $gcc_cv_math_func_sqrtl = yes; then
22327 cat >>confdefs.h <<_ACEOF
22328 #define HAVE_SQRTL 1
22329 _ACEOF
22336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtf" >&5
22337 $as_echo_n "checking for csqrtf... " >&6; }
22338 if test "${gcc_cv_math_func_csqrtf+set}" = set; then :
22339 $as_echo_n "(cached) " >&6
22340 else
22341 if test x$gcc_no_link = xyes; then
22342 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22345 /* end confdefs.h. */
22347 #ifdef HAVE_COMPLEX_H
22348 #include <complex.h>
22349 #endif
22350 #ifdef HAVE_MATH_H
22351 #include <math.h>
22352 #endif
22354 int (*ptr)() = (int (*)())csqrtf;
22357 main ()
22359 return 0;
22362 _ACEOF
22363 if ac_fn_c_try_link "$LINENO"; then :
22364 gcc_cv_math_func_csqrtf=yes
22365 else
22366 gcc_cv_math_func_csqrtf=no
22368 rm -f core conftest.err conftest.$ac_objext \
22369 conftest$ac_exeext conftest.$ac_ext
22371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtf" >&5
22372 $as_echo "$gcc_cv_math_func_csqrtf" >&6; }
22373 if test $gcc_cv_math_func_csqrtf = yes; then
22375 cat >>confdefs.h <<_ACEOF
22376 #define HAVE_CSQRTF 1
22377 _ACEOF
22384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrt" >&5
22385 $as_echo_n "checking for csqrt... " >&6; }
22386 if test "${gcc_cv_math_func_csqrt+set}" = set; then :
22387 $as_echo_n "(cached) " >&6
22388 else
22389 if test x$gcc_no_link = xyes; then
22390 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22393 /* end confdefs.h. */
22395 #ifdef HAVE_COMPLEX_H
22396 #include <complex.h>
22397 #endif
22398 #ifdef HAVE_MATH_H
22399 #include <math.h>
22400 #endif
22402 int (*ptr)() = (int (*)())csqrt;
22405 main ()
22407 return 0;
22410 _ACEOF
22411 if ac_fn_c_try_link "$LINENO"; then :
22412 gcc_cv_math_func_csqrt=yes
22413 else
22414 gcc_cv_math_func_csqrt=no
22416 rm -f core conftest.err conftest.$ac_objext \
22417 conftest$ac_exeext conftest.$ac_ext
22419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrt" >&5
22420 $as_echo "$gcc_cv_math_func_csqrt" >&6; }
22421 if test $gcc_cv_math_func_csqrt = yes; then
22423 cat >>confdefs.h <<_ACEOF
22424 #define HAVE_CSQRT 1
22425 _ACEOF
22432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtl" >&5
22433 $as_echo_n "checking for csqrtl... " >&6; }
22434 if test "${gcc_cv_math_func_csqrtl+set}" = set; then :
22435 $as_echo_n "(cached) " >&6
22436 else
22437 if test x$gcc_no_link = xyes; then
22438 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22441 /* end confdefs.h. */
22443 #ifdef HAVE_COMPLEX_H
22444 #include <complex.h>
22445 #endif
22446 #ifdef HAVE_MATH_H
22447 #include <math.h>
22448 #endif
22450 int (*ptr)() = (int (*)())csqrtl;
22453 main ()
22455 return 0;
22458 _ACEOF
22459 if ac_fn_c_try_link "$LINENO"; then :
22460 gcc_cv_math_func_csqrtl=yes
22461 else
22462 gcc_cv_math_func_csqrtl=no
22464 rm -f core conftest.err conftest.$ac_objext \
22465 conftest$ac_exeext conftest.$ac_ext
22467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtl" >&5
22468 $as_echo "$gcc_cv_math_func_csqrtl" >&6; }
22469 if test $gcc_cv_math_func_csqrtl = yes; then
22471 cat >>confdefs.h <<_ACEOF
22472 #define HAVE_CSQRTL 1
22473 _ACEOF
22480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanf" >&5
22481 $as_echo_n "checking for tanf... " >&6; }
22482 if test "${gcc_cv_math_func_tanf+set}" = set; then :
22483 $as_echo_n "(cached) " >&6
22484 else
22485 if test x$gcc_no_link = xyes; then
22486 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22489 /* end confdefs.h. */
22491 #ifdef HAVE_COMPLEX_H
22492 #include <complex.h>
22493 #endif
22494 #ifdef HAVE_MATH_H
22495 #include <math.h>
22496 #endif
22498 int (*ptr)() = (int (*)())tanf;
22501 main ()
22503 return 0;
22506 _ACEOF
22507 if ac_fn_c_try_link "$LINENO"; then :
22508 gcc_cv_math_func_tanf=yes
22509 else
22510 gcc_cv_math_func_tanf=no
22512 rm -f core conftest.err conftest.$ac_objext \
22513 conftest$ac_exeext conftest.$ac_ext
22515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanf" >&5
22516 $as_echo "$gcc_cv_math_func_tanf" >&6; }
22517 if test $gcc_cv_math_func_tanf = yes; then
22519 cat >>confdefs.h <<_ACEOF
22520 #define HAVE_TANF 1
22521 _ACEOF
22528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tan" >&5
22529 $as_echo_n "checking for tan... " >&6; }
22530 if test "${gcc_cv_math_func_tan+set}" = set; then :
22531 $as_echo_n "(cached) " >&6
22532 else
22533 if test x$gcc_no_link = xyes; then
22534 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22537 /* end confdefs.h. */
22539 #ifdef HAVE_COMPLEX_H
22540 #include <complex.h>
22541 #endif
22542 #ifdef HAVE_MATH_H
22543 #include <math.h>
22544 #endif
22546 int (*ptr)() = (int (*)())tan;
22549 main ()
22551 return 0;
22554 _ACEOF
22555 if ac_fn_c_try_link "$LINENO"; then :
22556 gcc_cv_math_func_tan=yes
22557 else
22558 gcc_cv_math_func_tan=no
22560 rm -f core conftest.err conftest.$ac_objext \
22561 conftest$ac_exeext conftest.$ac_ext
22563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tan" >&5
22564 $as_echo "$gcc_cv_math_func_tan" >&6; }
22565 if test $gcc_cv_math_func_tan = yes; then
22567 cat >>confdefs.h <<_ACEOF
22568 #define HAVE_TAN 1
22569 _ACEOF
22576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanl" >&5
22577 $as_echo_n "checking for tanl... " >&6; }
22578 if test "${gcc_cv_math_func_tanl+set}" = set; then :
22579 $as_echo_n "(cached) " >&6
22580 else
22581 if test x$gcc_no_link = xyes; then
22582 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22585 /* end confdefs.h. */
22587 #ifdef HAVE_COMPLEX_H
22588 #include <complex.h>
22589 #endif
22590 #ifdef HAVE_MATH_H
22591 #include <math.h>
22592 #endif
22594 int (*ptr)() = (int (*)())tanl;
22597 main ()
22599 return 0;
22602 _ACEOF
22603 if ac_fn_c_try_link "$LINENO"; then :
22604 gcc_cv_math_func_tanl=yes
22605 else
22606 gcc_cv_math_func_tanl=no
22608 rm -f core conftest.err conftest.$ac_objext \
22609 conftest$ac_exeext conftest.$ac_ext
22611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanl" >&5
22612 $as_echo "$gcc_cv_math_func_tanl" >&6; }
22613 if test $gcc_cv_math_func_tanl = yes; then
22615 cat >>confdefs.h <<_ACEOF
22616 #define HAVE_TANL 1
22617 _ACEOF
22624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanf" >&5
22625 $as_echo_n "checking for ctanf... " >&6; }
22626 if test "${gcc_cv_math_func_ctanf+set}" = set; then :
22627 $as_echo_n "(cached) " >&6
22628 else
22629 if test x$gcc_no_link = xyes; then
22630 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22633 /* end confdefs.h. */
22635 #ifdef HAVE_COMPLEX_H
22636 #include <complex.h>
22637 #endif
22638 #ifdef HAVE_MATH_H
22639 #include <math.h>
22640 #endif
22642 int (*ptr)() = (int (*)())ctanf;
22645 main ()
22647 return 0;
22650 _ACEOF
22651 if ac_fn_c_try_link "$LINENO"; then :
22652 gcc_cv_math_func_ctanf=yes
22653 else
22654 gcc_cv_math_func_ctanf=no
22656 rm -f core conftest.err conftest.$ac_objext \
22657 conftest$ac_exeext conftest.$ac_ext
22659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanf" >&5
22660 $as_echo "$gcc_cv_math_func_ctanf" >&6; }
22661 if test $gcc_cv_math_func_ctanf = yes; then
22663 cat >>confdefs.h <<_ACEOF
22664 #define HAVE_CTANF 1
22665 _ACEOF
22672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctan" >&5
22673 $as_echo_n "checking for ctan... " >&6; }
22674 if test "${gcc_cv_math_func_ctan+set}" = set; then :
22675 $as_echo_n "(cached) " >&6
22676 else
22677 if test x$gcc_no_link = xyes; then
22678 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22681 /* end confdefs.h. */
22683 #ifdef HAVE_COMPLEX_H
22684 #include <complex.h>
22685 #endif
22686 #ifdef HAVE_MATH_H
22687 #include <math.h>
22688 #endif
22690 int (*ptr)() = (int (*)())ctan;
22693 main ()
22695 return 0;
22698 _ACEOF
22699 if ac_fn_c_try_link "$LINENO"; then :
22700 gcc_cv_math_func_ctan=yes
22701 else
22702 gcc_cv_math_func_ctan=no
22704 rm -f core conftest.err conftest.$ac_objext \
22705 conftest$ac_exeext conftest.$ac_ext
22707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctan" >&5
22708 $as_echo "$gcc_cv_math_func_ctan" >&6; }
22709 if test $gcc_cv_math_func_ctan = yes; then
22711 cat >>confdefs.h <<_ACEOF
22712 #define HAVE_CTAN 1
22713 _ACEOF
22720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanl" >&5
22721 $as_echo_n "checking for ctanl... " >&6; }
22722 if test "${gcc_cv_math_func_ctanl+set}" = set; then :
22723 $as_echo_n "(cached) " >&6
22724 else
22725 if test x$gcc_no_link = xyes; then
22726 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22729 /* end confdefs.h. */
22731 #ifdef HAVE_COMPLEX_H
22732 #include <complex.h>
22733 #endif
22734 #ifdef HAVE_MATH_H
22735 #include <math.h>
22736 #endif
22738 int (*ptr)() = (int (*)())ctanl;
22741 main ()
22743 return 0;
22746 _ACEOF
22747 if ac_fn_c_try_link "$LINENO"; then :
22748 gcc_cv_math_func_ctanl=yes
22749 else
22750 gcc_cv_math_func_ctanl=no
22752 rm -f core conftest.err conftest.$ac_objext \
22753 conftest$ac_exeext conftest.$ac_ext
22755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanl" >&5
22756 $as_echo "$gcc_cv_math_func_ctanl" >&6; }
22757 if test $gcc_cv_math_func_ctanl = yes; then
22759 cat >>confdefs.h <<_ACEOF
22760 #define HAVE_CTANL 1
22761 _ACEOF
22768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhf" >&5
22769 $as_echo_n "checking for tanhf... " >&6; }
22770 if test "${gcc_cv_math_func_tanhf+set}" = set; then :
22771 $as_echo_n "(cached) " >&6
22772 else
22773 if test x$gcc_no_link = xyes; then
22774 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22777 /* end confdefs.h. */
22779 #ifdef HAVE_COMPLEX_H
22780 #include <complex.h>
22781 #endif
22782 #ifdef HAVE_MATH_H
22783 #include <math.h>
22784 #endif
22786 int (*ptr)() = (int (*)())tanhf;
22789 main ()
22791 return 0;
22794 _ACEOF
22795 if ac_fn_c_try_link "$LINENO"; then :
22796 gcc_cv_math_func_tanhf=yes
22797 else
22798 gcc_cv_math_func_tanhf=no
22800 rm -f core conftest.err conftest.$ac_objext \
22801 conftest$ac_exeext conftest.$ac_ext
22803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhf" >&5
22804 $as_echo "$gcc_cv_math_func_tanhf" >&6; }
22805 if test $gcc_cv_math_func_tanhf = yes; then
22807 cat >>confdefs.h <<_ACEOF
22808 #define HAVE_TANHF 1
22809 _ACEOF
22816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanh" >&5
22817 $as_echo_n "checking for tanh... " >&6; }
22818 if test "${gcc_cv_math_func_tanh+set}" = set; then :
22819 $as_echo_n "(cached) " >&6
22820 else
22821 if test x$gcc_no_link = xyes; then
22822 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22825 /* end confdefs.h. */
22827 #ifdef HAVE_COMPLEX_H
22828 #include <complex.h>
22829 #endif
22830 #ifdef HAVE_MATH_H
22831 #include <math.h>
22832 #endif
22834 int (*ptr)() = (int (*)())tanh;
22837 main ()
22839 return 0;
22842 _ACEOF
22843 if ac_fn_c_try_link "$LINENO"; then :
22844 gcc_cv_math_func_tanh=yes
22845 else
22846 gcc_cv_math_func_tanh=no
22848 rm -f core conftest.err conftest.$ac_objext \
22849 conftest$ac_exeext conftest.$ac_ext
22851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanh" >&5
22852 $as_echo "$gcc_cv_math_func_tanh" >&6; }
22853 if test $gcc_cv_math_func_tanh = yes; then
22855 cat >>confdefs.h <<_ACEOF
22856 #define HAVE_TANH 1
22857 _ACEOF
22864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhl" >&5
22865 $as_echo_n "checking for tanhl... " >&6; }
22866 if test "${gcc_cv_math_func_tanhl+set}" = set; then :
22867 $as_echo_n "(cached) " >&6
22868 else
22869 if test x$gcc_no_link = xyes; then
22870 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22873 /* end confdefs.h. */
22875 #ifdef HAVE_COMPLEX_H
22876 #include <complex.h>
22877 #endif
22878 #ifdef HAVE_MATH_H
22879 #include <math.h>
22880 #endif
22882 int (*ptr)() = (int (*)())tanhl;
22885 main ()
22887 return 0;
22890 _ACEOF
22891 if ac_fn_c_try_link "$LINENO"; then :
22892 gcc_cv_math_func_tanhl=yes
22893 else
22894 gcc_cv_math_func_tanhl=no
22896 rm -f core conftest.err conftest.$ac_objext \
22897 conftest$ac_exeext conftest.$ac_ext
22899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhl" >&5
22900 $as_echo "$gcc_cv_math_func_tanhl" >&6; }
22901 if test $gcc_cv_math_func_tanhl = yes; then
22903 cat >>confdefs.h <<_ACEOF
22904 #define HAVE_TANHL 1
22905 _ACEOF
22912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhf" >&5
22913 $as_echo_n "checking for ctanhf... " >&6; }
22914 if test "${gcc_cv_math_func_ctanhf+set}" = set; then :
22915 $as_echo_n "(cached) " >&6
22916 else
22917 if test x$gcc_no_link = xyes; then
22918 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22921 /* end confdefs.h. */
22923 #ifdef HAVE_COMPLEX_H
22924 #include <complex.h>
22925 #endif
22926 #ifdef HAVE_MATH_H
22927 #include <math.h>
22928 #endif
22930 int (*ptr)() = (int (*)())ctanhf;
22933 main ()
22935 return 0;
22938 _ACEOF
22939 if ac_fn_c_try_link "$LINENO"; then :
22940 gcc_cv_math_func_ctanhf=yes
22941 else
22942 gcc_cv_math_func_ctanhf=no
22944 rm -f core conftest.err conftest.$ac_objext \
22945 conftest$ac_exeext conftest.$ac_ext
22947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhf" >&5
22948 $as_echo "$gcc_cv_math_func_ctanhf" >&6; }
22949 if test $gcc_cv_math_func_ctanhf = yes; then
22951 cat >>confdefs.h <<_ACEOF
22952 #define HAVE_CTANHF 1
22953 _ACEOF
22960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanh" >&5
22961 $as_echo_n "checking for ctanh... " >&6; }
22962 if test "${gcc_cv_math_func_ctanh+set}" = set; then :
22963 $as_echo_n "(cached) " >&6
22964 else
22965 if test x$gcc_no_link = xyes; then
22966 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22969 /* end confdefs.h. */
22971 #ifdef HAVE_COMPLEX_H
22972 #include <complex.h>
22973 #endif
22974 #ifdef HAVE_MATH_H
22975 #include <math.h>
22976 #endif
22978 int (*ptr)() = (int (*)())ctanh;
22981 main ()
22983 return 0;
22986 _ACEOF
22987 if ac_fn_c_try_link "$LINENO"; then :
22988 gcc_cv_math_func_ctanh=yes
22989 else
22990 gcc_cv_math_func_ctanh=no
22992 rm -f core conftest.err conftest.$ac_objext \
22993 conftest$ac_exeext conftest.$ac_ext
22995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanh" >&5
22996 $as_echo "$gcc_cv_math_func_ctanh" >&6; }
22997 if test $gcc_cv_math_func_ctanh = yes; then
22999 cat >>confdefs.h <<_ACEOF
23000 #define HAVE_CTANH 1
23001 _ACEOF
23008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhl" >&5
23009 $as_echo_n "checking for ctanhl... " >&6; }
23010 if test "${gcc_cv_math_func_ctanhl+set}" = set; then :
23011 $as_echo_n "(cached) " >&6
23012 else
23013 if test x$gcc_no_link = xyes; then
23014 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23017 /* end confdefs.h. */
23019 #ifdef HAVE_COMPLEX_H
23020 #include <complex.h>
23021 #endif
23022 #ifdef HAVE_MATH_H
23023 #include <math.h>
23024 #endif
23026 int (*ptr)() = (int (*)())ctanhl;
23029 main ()
23031 return 0;
23034 _ACEOF
23035 if ac_fn_c_try_link "$LINENO"; then :
23036 gcc_cv_math_func_ctanhl=yes
23037 else
23038 gcc_cv_math_func_ctanhl=no
23040 rm -f core conftest.err conftest.$ac_objext \
23041 conftest$ac_exeext conftest.$ac_ext
23043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhl" >&5
23044 $as_echo "$gcc_cv_math_func_ctanhl" >&6; }
23045 if test $gcc_cv_math_func_ctanhl = yes; then
23047 cat >>confdefs.h <<_ACEOF
23048 #define HAVE_CTANHL 1
23049 _ACEOF
23056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncf" >&5
23057 $as_echo_n "checking for truncf... " >&6; }
23058 if test "${gcc_cv_math_func_truncf+set}" = set; then :
23059 $as_echo_n "(cached) " >&6
23060 else
23061 if test x$gcc_no_link = xyes; then
23062 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23065 /* end confdefs.h. */
23067 #ifdef HAVE_COMPLEX_H
23068 #include <complex.h>
23069 #endif
23070 #ifdef HAVE_MATH_H
23071 #include <math.h>
23072 #endif
23074 int (*ptr)() = (int (*)())truncf;
23077 main ()
23079 return 0;
23082 _ACEOF
23083 if ac_fn_c_try_link "$LINENO"; then :
23084 gcc_cv_math_func_truncf=yes
23085 else
23086 gcc_cv_math_func_truncf=no
23088 rm -f core conftest.err conftest.$ac_objext \
23089 conftest$ac_exeext conftest.$ac_ext
23091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncf" >&5
23092 $as_echo "$gcc_cv_math_func_truncf" >&6; }
23093 if test $gcc_cv_math_func_truncf = yes; then
23095 cat >>confdefs.h <<_ACEOF
23096 #define HAVE_TRUNCF 1
23097 _ACEOF
23104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for trunc" >&5
23105 $as_echo_n "checking for trunc... " >&6; }
23106 if test "${gcc_cv_math_func_trunc+set}" = set; then :
23107 $as_echo_n "(cached) " >&6
23108 else
23109 if test x$gcc_no_link = xyes; then
23110 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23113 /* end confdefs.h. */
23115 #ifdef HAVE_COMPLEX_H
23116 #include <complex.h>
23117 #endif
23118 #ifdef HAVE_MATH_H
23119 #include <math.h>
23120 #endif
23122 int (*ptr)() = (int (*)())trunc;
23125 main ()
23127 return 0;
23130 _ACEOF
23131 if ac_fn_c_try_link "$LINENO"; then :
23132 gcc_cv_math_func_trunc=yes
23133 else
23134 gcc_cv_math_func_trunc=no
23136 rm -f core conftest.err conftest.$ac_objext \
23137 conftest$ac_exeext conftest.$ac_ext
23139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_trunc" >&5
23140 $as_echo "$gcc_cv_math_func_trunc" >&6; }
23141 if test $gcc_cv_math_func_trunc = yes; then
23143 cat >>confdefs.h <<_ACEOF
23144 #define HAVE_TRUNC 1
23145 _ACEOF
23152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncl" >&5
23153 $as_echo_n "checking for truncl... " >&6; }
23154 if test "${gcc_cv_math_func_truncl+set}" = set; then :
23155 $as_echo_n "(cached) " >&6
23156 else
23157 if test x$gcc_no_link = xyes; then
23158 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23161 /* end confdefs.h. */
23163 #ifdef HAVE_COMPLEX_H
23164 #include <complex.h>
23165 #endif
23166 #ifdef HAVE_MATH_H
23167 #include <math.h>
23168 #endif
23170 int (*ptr)() = (int (*)())truncl;
23173 main ()
23175 return 0;
23178 _ACEOF
23179 if ac_fn_c_try_link "$LINENO"; then :
23180 gcc_cv_math_func_truncl=yes
23181 else
23182 gcc_cv_math_func_truncl=no
23184 rm -f core conftest.err conftest.$ac_objext \
23185 conftest$ac_exeext conftest.$ac_ext
23187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncl" >&5
23188 $as_echo "$gcc_cv_math_func_truncl" >&6; }
23189 if test $gcc_cv_math_func_truncl = yes; then
23191 cat >>confdefs.h <<_ACEOF
23192 #define HAVE_TRUNCL 1
23193 _ACEOF
23200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erff" >&5
23201 $as_echo_n "checking for erff... " >&6; }
23202 if test "${gcc_cv_math_func_erff+set}" = set; then :
23203 $as_echo_n "(cached) " >&6
23204 else
23205 if test x$gcc_no_link = xyes; then
23206 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23209 /* end confdefs.h. */
23211 #ifdef HAVE_COMPLEX_H
23212 #include <complex.h>
23213 #endif
23214 #ifdef HAVE_MATH_H
23215 #include <math.h>
23216 #endif
23218 int (*ptr)() = (int (*)())erff;
23221 main ()
23223 return 0;
23226 _ACEOF
23227 if ac_fn_c_try_link "$LINENO"; then :
23228 gcc_cv_math_func_erff=yes
23229 else
23230 gcc_cv_math_func_erff=no
23232 rm -f core conftest.err conftest.$ac_objext \
23233 conftest$ac_exeext conftest.$ac_ext
23235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erff" >&5
23236 $as_echo "$gcc_cv_math_func_erff" >&6; }
23237 if test $gcc_cv_math_func_erff = yes; then
23239 cat >>confdefs.h <<_ACEOF
23240 #define HAVE_ERFF 1
23241 _ACEOF
23248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erf" >&5
23249 $as_echo_n "checking for erf... " >&6; }
23250 if test "${gcc_cv_math_func_erf+set}" = set; then :
23251 $as_echo_n "(cached) " >&6
23252 else
23253 if test x$gcc_no_link = xyes; then
23254 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23257 /* end confdefs.h. */
23259 #ifdef HAVE_COMPLEX_H
23260 #include <complex.h>
23261 #endif
23262 #ifdef HAVE_MATH_H
23263 #include <math.h>
23264 #endif
23266 int (*ptr)() = (int (*)())erf;
23269 main ()
23271 return 0;
23274 _ACEOF
23275 if ac_fn_c_try_link "$LINENO"; then :
23276 gcc_cv_math_func_erf=yes
23277 else
23278 gcc_cv_math_func_erf=no
23280 rm -f core conftest.err conftest.$ac_objext \
23281 conftest$ac_exeext conftest.$ac_ext
23283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erf" >&5
23284 $as_echo "$gcc_cv_math_func_erf" >&6; }
23285 if test $gcc_cv_math_func_erf = yes; then
23287 cat >>confdefs.h <<_ACEOF
23288 #define HAVE_ERF 1
23289 _ACEOF
23296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfl" >&5
23297 $as_echo_n "checking for erfl... " >&6; }
23298 if test "${gcc_cv_math_func_erfl+set}" = set; then :
23299 $as_echo_n "(cached) " >&6
23300 else
23301 if test x$gcc_no_link = xyes; then
23302 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23305 /* end confdefs.h. */
23307 #ifdef HAVE_COMPLEX_H
23308 #include <complex.h>
23309 #endif
23310 #ifdef HAVE_MATH_H
23311 #include <math.h>
23312 #endif
23314 int (*ptr)() = (int (*)())erfl;
23317 main ()
23319 return 0;
23322 _ACEOF
23323 if ac_fn_c_try_link "$LINENO"; then :
23324 gcc_cv_math_func_erfl=yes
23325 else
23326 gcc_cv_math_func_erfl=no
23328 rm -f core conftest.err conftest.$ac_objext \
23329 conftest$ac_exeext conftest.$ac_ext
23331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfl" >&5
23332 $as_echo "$gcc_cv_math_func_erfl" >&6; }
23333 if test $gcc_cv_math_func_erfl = yes; then
23335 cat >>confdefs.h <<_ACEOF
23336 #define HAVE_ERFL 1
23337 _ACEOF
23344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcf" >&5
23345 $as_echo_n "checking for erfcf... " >&6; }
23346 if test "${gcc_cv_math_func_erfcf+set}" = set; then :
23347 $as_echo_n "(cached) " >&6
23348 else
23349 if test x$gcc_no_link = xyes; then
23350 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23353 /* end confdefs.h. */
23355 #ifdef HAVE_COMPLEX_H
23356 #include <complex.h>
23357 #endif
23358 #ifdef HAVE_MATH_H
23359 #include <math.h>
23360 #endif
23362 int (*ptr)() = (int (*)())erfcf;
23365 main ()
23367 return 0;
23370 _ACEOF
23371 if ac_fn_c_try_link "$LINENO"; then :
23372 gcc_cv_math_func_erfcf=yes
23373 else
23374 gcc_cv_math_func_erfcf=no
23376 rm -f core conftest.err conftest.$ac_objext \
23377 conftest$ac_exeext conftest.$ac_ext
23379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcf" >&5
23380 $as_echo "$gcc_cv_math_func_erfcf" >&6; }
23381 if test $gcc_cv_math_func_erfcf = yes; then
23383 cat >>confdefs.h <<_ACEOF
23384 #define HAVE_ERFCF 1
23385 _ACEOF
23392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfc" >&5
23393 $as_echo_n "checking for erfc... " >&6; }
23394 if test "${gcc_cv_math_func_erfc+set}" = set; then :
23395 $as_echo_n "(cached) " >&6
23396 else
23397 if test x$gcc_no_link = xyes; then
23398 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23401 /* end confdefs.h. */
23403 #ifdef HAVE_COMPLEX_H
23404 #include <complex.h>
23405 #endif
23406 #ifdef HAVE_MATH_H
23407 #include <math.h>
23408 #endif
23410 int (*ptr)() = (int (*)())erfc;
23413 main ()
23415 return 0;
23418 _ACEOF
23419 if ac_fn_c_try_link "$LINENO"; then :
23420 gcc_cv_math_func_erfc=yes
23421 else
23422 gcc_cv_math_func_erfc=no
23424 rm -f core conftest.err conftest.$ac_objext \
23425 conftest$ac_exeext conftest.$ac_ext
23427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfc" >&5
23428 $as_echo "$gcc_cv_math_func_erfc" >&6; }
23429 if test $gcc_cv_math_func_erfc = yes; then
23431 cat >>confdefs.h <<_ACEOF
23432 #define HAVE_ERFC 1
23433 _ACEOF
23440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcl" >&5
23441 $as_echo_n "checking for erfcl... " >&6; }
23442 if test "${gcc_cv_math_func_erfcl+set}" = set; then :
23443 $as_echo_n "(cached) " >&6
23444 else
23445 if test x$gcc_no_link = xyes; then
23446 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23449 /* end confdefs.h. */
23451 #ifdef HAVE_COMPLEX_H
23452 #include <complex.h>
23453 #endif
23454 #ifdef HAVE_MATH_H
23455 #include <math.h>
23456 #endif
23458 int (*ptr)() = (int (*)())erfcl;
23461 main ()
23463 return 0;
23466 _ACEOF
23467 if ac_fn_c_try_link "$LINENO"; then :
23468 gcc_cv_math_func_erfcl=yes
23469 else
23470 gcc_cv_math_func_erfcl=no
23472 rm -f core conftest.err conftest.$ac_objext \
23473 conftest$ac_exeext conftest.$ac_ext
23475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcl" >&5
23476 $as_echo "$gcc_cv_math_func_erfcl" >&6; }
23477 if test $gcc_cv_math_func_erfcl = yes; then
23479 cat >>confdefs.h <<_ACEOF
23480 #define HAVE_ERFCL 1
23481 _ACEOF
23488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0f" >&5
23489 $as_echo_n "checking for j0f... " >&6; }
23490 if test "${gcc_cv_math_func_j0f+set}" = set; then :
23491 $as_echo_n "(cached) " >&6
23492 else
23493 if test x$gcc_no_link = xyes; then
23494 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23497 /* end confdefs.h. */
23499 #ifdef HAVE_COMPLEX_H
23500 #include <complex.h>
23501 #endif
23502 #ifdef HAVE_MATH_H
23503 #include <math.h>
23504 #endif
23506 int (*ptr)() = (int (*)())j0f;
23509 main ()
23511 return 0;
23514 _ACEOF
23515 if ac_fn_c_try_link "$LINENO"; then :
23516 gcc_cv_math_func_j0f=yes
23517 else
23518 gcc_cv_math_func_j0f=no
23520 rm -f core conftest.err conftest.$ac_objext \
23521 conftest$ac_exeext conftest.$ac_ext
23523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0f" >&5
23524 $as_echo "$gcc_cv_math_func_j0f" >&6; }
23525 if test $gcc_cv_math_func_j0f = yes; then
23527 cat >>confdefs.h <<_ACEOF
23528 #define HAVE_J0F 1
23529 _ACEOF
23536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0" >&5
23537 $as_echo_n "checking for j0... " >&6; }
23538 if test "${gcc_cv_math_func_j0+set}" = set; then :
23539 $as_echo_n "(cached) " >&6
23540 else
23541 if test x$gcc_no_link = xyes; then
23542 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23545 /* end confdefs.h. */
23547 #ifdef HAVE_COMPLEX_H
23548 #include <complex.h>
23549 #endif
23550 #ifdef HAVE_MATH_H
23551 #include <math.h>
23552 #endif
23554 int (*ptr)() = (int (*)())j0;
23557 main ()
23559 return 0;
23562 _ACEOF
23563 if ac_fn_c_try_link "$LINENO"; then :
23564 gcc_cv_math_func_j0=yes
23565 else
23566 gcc_cv_math_func_j0=no
23568 rm -f core conftest.err conftest.$ac_objext \
23569 conftest$ac_exeext conftest.$ac_ext
23571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0" >&5
23572 $as_echo "$gcc_cv_math_func_j0" >&6; }
23573 if test $gcc_cv_math_func_j0 = yes; then
23575 cat >>confdefs.h <<_ACEOF
23576 #define HAVE_J0 1
23577 _ACEOF
23584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0l" >&5
23585 $as_echo_n "checking for j0l... " >&6; }
23586 if test "${gcc_cv_math_func_j0l+set}" = set; then :
23587 $as_echo_n "(cached) " >&6
23588 else
23589 if test x$gcc_no_link = xyes; then
23590 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23593 /* end confdefs.h. */
23595 #ifdef HAVE_COMPLEX_H
23596 #include <complex.h>
23597 #endif
23598 #ifdef HAVE_MATH_H
23599 #include <math.h>
23600 #endif
23602 int (*ptr)() = (int (*)())j0l;
23605 main ()
23607 return 0;
23610 _ACEOF
23611 if ac_fn_c_try_link "$LINENO"; then :
23612 gcc_cv_math_func_j0l=yes
23613 else
23614 gcc_cv_math_func_j0l=no
23616 rm -f core conftest.err conftest.$ac_objext \
23617 conftest$ac_exeext conftest.$ac_ext
23619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0l" >&5
23620 $as_echo "$gcc_cv_math_func_j0l" >&6; }
23621 if test $gcc_cv_math_func_j0l = yes; then
23623 cat >>confdefs.h <<_ACEOF
23624 #define HAVE_J0L 1
23625 _ACEOF
23632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1f" >&5
23633 $as_echo_n "checking for j1f... " >&6; }
23634 if test "${gcc_cv_math_func_j1f+set}" = set; then :
23635 $as_echo_n "(cached) " >&6
23636 else
23637 if test x$gcc_no_link = xyes; then
23638 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23641 /* end confdefs.h. */
23643 #ifdef HAVE_COMPLEX_H
23644 #include <complex.h>
23645 #endif
23646 #ifdef HAVE_MATH_H
23647 #include <math.h>
23648 #endif
23650 int (*ptr)() = (int (*)())j1f;
23653 main ()
23655 return 0;
23658 _ACEOF
23659 if ac_fn_c_try_link "$LINENO"; then :
23660 gcc_cv_math_func_j1f=yes
23661 else
23662 gcc_cv_math_func_j1f=no
23664 rm -f core conftest.err conftest.$ac_objext \
23665 conftest$ac_exeext conftest.$ac_ext
23667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1f" >&5
23668 $as_echo "$gcc_cv_math_func_j1f" >&6; }
23669 if test $gcc_cv_math_func_j1f = yes; then
23671 cat >>confdefs.h <<_ACEOF
23672 #define HAVE_J1F 1
23673 _ACEOF
23680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1" >&5
23681 $as_echo_n "checking for j1... " >&6; }
23682 if test "${gcc_cv_math_func_j1+set}" = set; then :
23683 $as_echo_n "(cached) " >&6
23684 else
23685 if test x$gcc_no_link = xyes; then
23686 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23689 /* end confdefs.h. */
23691 #ifdef HAVE_COMPLEX_H
23692 #include <complex.h>
23693 #endif
23694 #ifdef HAVE_MATH_H
23695 #include <math.h>
23696 #endif
23698 int (*ptr)() = (int (*)())j1;
23701 main ()
23703 return 0;
23706 _ACEOF
23707 if ac_fn_c_try_link "$LINENO"; then :
23708 gcc_cv_math_func_j1=yes
23709 else
23710 gcc_cv_math_func_j1=no
23712 rm -f core conftest.err conftest.$ac_objext \
23713 conftest$ac_exeext conftest.$ac_ext
23715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1" >&5
23716 $as_echo "$gcc_cv_math_func_j1" >&6; }
23717 if test $gcc_cv_math_func_j1 = yes; then
23719 cat >>confdefs.h <<_ACEOF
23720 #define HAVE_J1 1
23721 _ACEOF
23728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1l" >&5
23729 $as_echo_n "checking for j1l... " >&6; }
23730 if test "${gcc_cv_math_func_j1l+set}" = set; then :
23731 $as_echo_n "(cached) " >&6
23732 else
23733 if test x$gcc_no_link = xyes; then
23734 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23737 /* end confdefs.h. */
23739 #ifdef HAVE_COMPLEX_H
23740 #include <complex.h>
23741 #endif
23742 #ifdef HAVE_MATH_H
23743 #include <math.h>
23744 #endif
23746 int (*ptr)() = (int (*)())j1l;
23749 main ()
23751 return 0;
23754 _ACEOF
23755 if ac_fn_c_try_link "$LINENO"; then :
23756 gcc_cv_math_func_j1l=yes
23757 else
23758 gcc_cv_math_func_j1l=no
23760 rm -f core conftest.err conftest.$ac_objext \
23761 conftest$ac_exeext conftest.$ac_ext
23763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1l" >&5
23764 $as_echo "$gcc_cv_math_func_j1l" >&6; }
23765 if test $gcc_cv_math_func_j1l = yes; then
23767 cat >>confdefs.h <<_ACEOF
23768 #define HAVE_J1L 1
23769 _ACEOF
23776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnf" >&5
23777 $as_echo_n "checking for jnf... " >&6; }
23778 if test "${gcc_cv_math_func_jnf+set}" = set; then :
23779 $as_echo_n "(cached) " >&6
23780 else
23781 if test x$gcc_no_link = xyes; then
23782 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23785 /* end confdefs.h. */
23787 #ifdef HAVE_COMPLEX_H
23788 #include <complex.h>
23789 #endif
23790 #ifdef HAVE_MATH_H
23791 #include <math.h>
23792 #endif
23794 int (*ptr)() = (int (*)())jnf;
23797 main ()
23799 return 0;
23802 _ACEOF
23803 if ac_fn_c_try_link "$LINENO"; then :
23804 gcc_cv_math_func_jnf=yes
23805 else
23806 gcc_cv_math_func_jnf=no
23808 rm -f core conftest.err conftest.$ac_objext \
23809 conftest$ac_exeext conftest.$ac_ext
23811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnf" >&5
23812 $as_echo "$gcc_cv_math_func_jnf" >&6; }
23813 if test $gcc_cv_math_func_jnf = yes; then
23815 cat >>confdefs.h <<_ACEOF
23816 #define HAVE_JNF 1
23817 _ACEOF
23824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jn" >&5
23825 $as_echo_n "checking for jn... " >&6; }
23826 if test "${gcc_cv_math_func_jn+set}" = set; then :
23827 $as_echo_n "(cached) " >&6
23828 else
23829 if test x$gcc_no_link = xyes; then
23830 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23833 /* end confdefs.h. */
23835 #ifdef HAVE_COMPLEX_H
23836 #include <complex.h>
23837 #endif
23838 #ifdef HAVE_MATH_H
23839 #include <math.h>
23840 #endif
23842 int (*ptr)() = (int (*)())jn;
23845 main ()
23847 return 0;
23850 _ACEOF
23851 if ac_fn_c_try_link "$LINENO"; then :
23852 gcc_cv_math_func_jn=yes
23853 else
23854 gcc_cv_math_func_jn=no
23856 rm -f core conftest.err conftest.$ac_objext \
23857 conftest$ac_exeext conftest.$ac_ext
23859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jn" >&5
23860 $as_echo "$gcc_cv_math_func_jn" >&6; }
23861 if test $gcc_cv_math_func_jn = yes; then
23863 cat >>confdefs.h <<_ACEOF
23864 #define HAVE_JN 1
23865 _ACEOF
23872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnl" >&5
23873 $as_echo_n "checking for jnl... " >&6; }
23874 if test "${gcc_cv_math_func_jnl+set}" = set; then :
23875 $as_echo_n "(cached) " >&6
23876 else
23877 if test x$gcc_no_link = xyes; then
23878 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23881 /* end confdefs.h. */
23883 #ifdef HAVE_COMPLEX_H
23884 #include <complex.h>
23885 #endif
23886 #ifdef HAVE_MATH_H
23887 #include <math.h>
23888 #endif
23890 int (*ptr)() = (int (*)())jnl;
23893 main ()
23895 return 0;
23898 _ACEOF
23899 if ac_fn_c_try_link "$LINENO"; then :
23900 gcc_cv_math_func_jnl=yes
23901 else
23902 gcc_cv_math_func_jnl=no
23904 rm -f core conftest.err conftest.$ac_objext \
23905 conftest$ac_exeext conftest.$ac_ext
23907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnl" >&5
23908 $as_echo "$gcc_cv_math_func_jnl" >&6; }
23909 if test $gcc_cv_math_func_jnl = yes; then
23911 cat >>confdefs.h <<_ACEOF
23912 #define HAVE_JNL 1
23913 _ACEOF
23920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0f" >&5
23921 $as_echo_n "checking for y0f... " >&6; }
23922 if test "${gcc_cv_math_func_y0f+set}" = set; then :
23923 $as_echo_n "(cached) " >&6
23924 else
23925 if test x$gcc_no_link = xyes; then
23926 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23929 /* end confdefs.h. */
23931 #ifdef HAVE_COMPLEX_H
23932 #include <complex.h>
23933 #endif
23934 #ifdef HAVE_MATH_H
23935 #include <math.h>
23936 #endif
23938 int (*ptr)() = (int (*)())y0f;
23941 main ()
23943 return 0;
23946 _ACEOF
23947 if ac_fn_c_try_link "$LINENO"; then :
23948 gcc_cv_math_func_y0f=yes
23949 else
23950 gcc_cv_math_func_y0f=no
23952 rm -f core conftest.err conftest.$ac_objext \
23953 conftest$ac_exeext conftest.$ac_ext
23955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0f" >&5
23956 $as_echo "$gcc_cv_math_func_y0f" >&6; }
23957 if test $gcc_cv_math_func_y0f = yes; then
23959 cat >>confdefs.h <<_ACEOF
23960 #define HAVE_Y0F 1
23961 _ACEOF
23968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0" >&5
23969 $as_echo_n "checking for y0... " >&6; }
23970 if test "${gcc_cv_math_func_y0+set}" = set; then :
23971 $as_echo_n "(cached) " >&6
23972 else
23973 if test x$gcc_no_link = xyes; then
23974 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23977 /* end confdefs.h. */
23979 #ifdef HAVE_COMPLEX_H
23980 #include <complex.h>
23981 #endif
23982 #ifdef HAVE_MATH_H
23983 #include <math.h>
23984 #endif
23986 int (*ptr)() = (int (*)())y0;
23989 main ()
23991 return 0;
23994 _ACEOF
23995 if ac_fn_c_try_link "$LINENO"; then :
23996 gcc_cv_math_func_y0=yes
23997 else
23998 gcc_cv_math_func_y0=no
24000 rm -f core conftest.err conftest.$ac_objext \
24001 conftest$ac_exeext conftest.$ac_ext
24003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0" >&5
24004 $as_echo "$gcc_cv_math_func_y0" >&6; }
24005 if test $gcc_cv_math_func_y0 = yes; then
24007 cat >>confdefs.h <<_ACEOF
24008 #define HAVE_Y0 1
24009 _ACEOF
24016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0l" >&5
24017 $as_echo_n "checking for y0l... " >&6; }
24018 if test "${gcc_cv_math_func_y0l+set}" = set; then :
24019 $as_echo_n "(cached) " >&6
24020 else
24021 if test x$gcc_no_link = xyes; then
24022 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24025 /* end confdefs.h. */
24027 #ifdef HAVE_COMPLEX_H
24028 #include <complex.h>
24029 #endif
24030 #ifdef HAVE_MATH_H
24031 #include <math.h>
24032 #endif
24034 int (*ptr)() = (int (*)())y0l;
24037 main ()
24039 return 0;
24042 _ACEOF
24043 if ac_fn_c_try_link "$LINENO"; then :
24044 gcc_cv_math_func_y0l=yes
24045 else
24046 gcc_cv_math_func_y0l=no
24048 rm -f core conftest.err conftest.$ac_objext \
24049 conftest$ac_exeext conftest.$ac_ext
24051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0l" >&5
24052 $as_echo "$gcc_cv_math_func_y0l" >&6; }
24053 if test $gcc_cv_math_func_y0l = yes; then
24055 cat >>confdefs.h <<_ACEOF
24056 #define HAVE_Y0L 1
24057 _ACEOF
24064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1f" >&5
24065 $as_echo_n "checking for y1f... " >&6; }
24066 if test "${gcc_cv_math_func_y1f+set}" = set; then :
24067 $as_echo_n "(cached) " >&6
24068 else
24069 if test x$gcc_no_link = xyes; then
24070 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24073 /* end confdefs.h. */
24075 #ifdef HAVE_COMPLEX_H
24076 #include <complex.h>
24077 #endif
24078 #ifdef HAVE_MATH_H
24079 #include <math.h>
24080 #endif
24082 int (*ptr)() = (int (*)())y1f;
24085 main ()
24087 return 0;
24090 _ACEOF
24091 if ac_fn_c_try_link "$LINENO"; then :
24092 gcc_cv_math_func_y1f=yes
24093 else
24094 gcc_cv_math_func_y1f=no
24096 rm -f core conftest.err conftest.$ac_objext \
24097 conftest$ac_exeext conftest.$ac_ext
24099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1f" >&5
24100 $as_echo "$gcc_cv_math_func_y1f" >&6; }
24101 if test $gcc_cv_math_func_y1f = yes; then
24103 cat >>confdefs.h <<_ACEOF
24104 #define HAVE_Y1F 1
24105 _ACEOF
24112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1" >&5
24113 $as_echo_n "checking for y1... " >&6; }
24114 if test "${gcc_cv_math_func_y1+set}" = set; then :
24115 $as_echo_n "(cached) " >&6
24116 else
24117 if test x$gcc_no_link = xyes; then
24118 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24121 /* end confdefs.h. */
24123 #ifdef HAVE_COMPLEX_H
24124 #include <complex.h>
24125 #endif
24126 #ifdef HAVE_MATH_H
24127 #include <math.h>
24128 #endif
24130 int (*ptr)() = (int (*)())y1;
24133 main ()
24135 return 0;
24138 _ACEOF
24139 if ac_fn_c_try_link "$LINENO"; then :
24140 gcc_cv_math_func_y1=yes
24141 else
24142 gcc_cv_math_func_y1=no
24144 rm -f core conftest.err conftest.$ac_objext \
24145 conftest$ac_exeext conftest.$ac_ext
24147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1" >&5
24148 $as_echo "$gcc_cv_math_func_y1" >&6; }
24149 if test $gcc_cv_math_func_y1 = yes; then
24151 cat >>confdefs.h <<_ACEOF
24152 #define HAVE_Y1 1
24153 _ACEOF
24160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1l" >&5
24161 $as_echo_n "checking for y1l... " >&6; }
24162 if test "${gcc_cv_math_func_y1l+set}" = set; then :
24163 $as_echo_n "(cached) " >&6
24164 else
24165 if test x$gcc_no_link = xyes; then
24166 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24169 /* end confdefs.h. */
24171 #ifdef HAVE_COMPLEX_H
24172 #include <complex.h>
24173 #endif
24174 #ifdef HAVE_MATH_H
24175 #include <math.h>
24176 #endif
24178 int (*ptr)() = (int (*)())y1l;
24181 main ()
24183 return 0;
24186 _ACEOF
24187 if ac_fn_c_try_link "$LINENO"; then :
24188 gcc_cv_math_func_y1l=yes
24189 else
24190 gcc_cv_math_func_y1l=no
24192 rm -f core conftest.err conftest.$ac_objext \
24193 conftest$ac_exeext conftest.$ac_ext
24195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1l" >&5
24196 $as_echo "$gcc_cv_math_func_y1l" >&6; }
24197 if test $gcc_cv_math_func_y1l = yes; then
24199 cat >>confdefs.h <<_ACEOF
24200 #define HAVE_Y1L 1
24201 _ACEOF
24208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynf" >&5
24209 $as_echo_n "checking for ynf... " >&6; }
24210 if test "${gcc_cv_math_func_ynf+set}" = set; then :
24211 $as_echo_n "(cached) " >&6
24212 else
24213 if test x$gcc_no_link = xyes; then
24214 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24217 /* end confdefs.h. */
24219 #ifdef HAVE_COMPLEX_H
24220 #include <complex.h>
24221 #endif
24222 #ifdef HAVE_MATH_H
24223 #include <math.h>
24224 #endif
24226 int (*ptr)() = (int (*)())ynf;
24229 main ()
24231 return 0;
24234 _ACEOF
24235 if ac_fn_c_try_link "$LINENO"; then :
24236 gcc_cv_math_func_ynf=yes
24237 else
24238 gcc_cv_math_func_ynf=no
24240 rm -f core conftest.err conftest.$ac_objext \
24241 conftest$ac_exeext conftest.$ac_ext
24243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynf" >&5
24244 $as_echo "$gcc_cv_math_func_ynf" >&6; }
24245 if test $gcc_cv_math_func_ynf = yes; then
24247 cat >>confdefs.h <<_ACEOF
24248 #define HAVE_YNF 1
24249 _ACEOF
24256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for yn" >&5
24257 $as_echo_n "checking for yn... " >&6; }
24258 if test "${gcc_cv_math_func_yn+set}" = set; then :
24259 $as_echo_n "(cached) " >&6
24260 else
24261 if test x$gcc_no_link = xyes; then
24262 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24265 /* end confdefs.h. */
24267 #ifdef HAVE_COMPLEX_H
24268 #include <complex.h>
24269 #endif
24270 #ifdef HAVE_MATH_H
24271 #include <math.h>
24272 #endif
24274 int (*ptr)() = (int (*)())yn;
24277 main ()
24279 return 0;
24282 _ACEOF
24283 if ac_fn_c_try_link "$LINENO"; then :
24284 gcc_cv_math_func_yn=yes
24285 else
24286 gcc_cv_math_func_yn=no
24288 rm -f core conftest.err conftest.$ac_objext \
24289 conftest$ac_exeext conftest.$ac_ext
24291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_yn" >&5
24292 $as_echo "$gcc_cv_math_func_yn" >&6; }
24293 if test $gcc_cv_math_func_yn = yes; then
24295 cat >>confdefs.h <<_ACEOF
24296 #define HAVE_YN 1
24297 _ACEOF
24304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynl" >&5
24305 $as_echo_n "checking for ynl... " >&6; }
24306 if test "${gcc_cv_math_func_ynl+set}" = set; then :
24307 $as_echo_n "(cached) " >&6
24308 else
24309 if test x$gcc_no_link = xyes; then
24310 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24313 /* end confdefs.h. */
24315 #ifdef HAVE_COMPLEX_H
24316 #include <complex.h>
24317 #endif
24318 #ifdef HAVE_MATH_H
24319 #include <math.h>
24320 #endif
24322 int (*ptr)() = (int (*)())ynl;
24325 main ()
24327 return 0;
24330 _ACEOF
24331 if ac_fn_c_try_link "$LINENO"; then :
24332 gcc_cv_math_func_ynl=yes
24333 else
24334 gcc_cv_math_func_ynl=no
24336 rm -f core conftest.err conftest.$ac_objext \
24337 conftest$ac_exeext conftest.$ac_ext
24339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynl" >&5
24340 $as_echo "$gcc_cv_math_func_ynl" >&6; }
24341 if test $gcc_cv_math_func_ynl = yes; then
24343 cat >>confdefs.h <<_ACEOF
24344 #define HAVE_YNL 1
24345 _ACEOF
24352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgamma" >&5
24353 $as_echo_n "checking for tgamma... " >&6; }
24354 if test "${gcc_cv_math_func_tgamma+set}" = set; then :
24355 $as_echo_n "(cached) " >&6
24356 else
24357 if test x$gcc_no_link = xyes; then
24358 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24361 /* end confdefs.h. */
24363 #ifdef HAVE_COMPLEX_H
24364 #include <complex.h>
24365 #endif
24366 #ifdef HAVE_MATH_H
24367 #include <math.h>
24368 #endif
24370 int (*ptr)() = (int (*)())tgamma;
24373 main ()
24375 return 0;
24378 _ACEOF
24379 if ac_fn_c_try_link "$LINENO"; then :
24380 gcc_cv_math_func_tgamma=yes
24381 else
24382 gcc_cv_math_func_tgamma=no
24384 rm -f core conftest.err conftest.$ac_objext \
24385 conftest$ac_exeext conftest.$ac_ext
24387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgamma" >&5
24388 $as_echo "$gcc_cv_math_func_tgamma" >&6; }
24389 if test $gcc_cv_math_func_tgamma = yes; then
24391 cat >>confdefs.h <<_ACEOF
24392 #define HAVE_TGAMMA 1
24393 _ACEOF
24400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammaf" >&5
24401 $as_echo_n "checking for tgammaf... " >&6; }
24402 if test "${gcc_cv_math_func_tgammaf+set}" = set; then :
24403 $as_echo_n "(cached) " >&6
24404 else
24405 if test x$gcc_no_link = xyes; then
24406 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24409 /* end confdefs.h. */
24411 #ifdef HAVE_COMPLEX_H
24412 #include <complex.h>
24413 #endif
24414 #ifdef HAVE_MATH_H
24415 #include <math.h>
24416 #endif
24418 int (*ptr)() = (int (*)())tgammaf;
24421 main ()
24423 return 0;
24426 _ACEOF
24427 if ac_fn_c_try_link "$LINENO"; then :
24428 gcc_cv_math_func_tgammaf=yes
24429 else
24430 gcc_cv_math_func_tgammaf=no
24432 rm -f core conftest.err conftest.$ac_objext \
24433 conftest$ac_exeext conftest.$ac_ext
24435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgammaf" >&5
24436 $as_echo "$gcc_cv_math_func_tgammaf" >&6; }
24437 if test $gcc_cv_math_func_tgammaf = yes; then
24439 cat >>confdefs.h <<_ACEOF
24440 #define HAVE_TGAMMAF 1
24441 _ACEOF
24448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammal" >&5
24449 $as_echo_n "checking for tgammal... " >&6; }
24450 if test "${gcc_cv_math_func_tgammal+set}" = set; then :
24451 $as_echo_n "(cached) " >&6
24452 else
24453 if test x$gcc_no_link = xyes; then
24454 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24457 /* end confdefs.h. */
24459 #ifdef HAVE_COMPLEX_H
24460 #include <complex.h>
24461 #endif
24462 #ifdef HAVE_MATH_H
24463 #include <math.h>
24464 #endif
24466 int (*ptr)() = (int (*)())tgammal;
24469 main ()
24471 return 0;
24474 _ACEOF
24475 if ac_fn_c_try_link "$LINENO"; then :
24476 gcc_cv_math_func_tgammal=yes
24477 else
24478 gcc_cv_math_func_tgammal=no
24480 rm -f core conftest.err conftest.$ac_objext \
24481 conftest$ac_exeext conftest.$ac_ext
24483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgammal" >&5
24484 $as_echo "$gcc_cv_math_func_tgammal" >&6; }
24485 if test $gcc_cv_math_func_tgammal = yes; then
24487 cat >>confdefs.h <<_ACEOF
24488 #define HAVE_TGAMMAL 1
24489 _ACEOF
24496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgamma" >&5
24497 $as_echo_n "checking for lgamma... " >&6; }
24498 if test "${gcc_cv_math_func_lgamma+set}" = set; then :
24499 $as_echo_n "(cached) " >&6
24500 else
24501 if test x$gcc_no_link = xyes; then
24502 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24505 /* end confdefs.h. */
24507 #ifdef HAVE_COMPLEX_H
24508 #include <complex.h>
24509 #endif
24510 #ifdef HAVE_MATH_H
24511 #include <math.h>
24512 #endif
24514 int (*ptr)() = (int (*)())lgamma;
24517 main ()
24519 return 0;
24522 _ACEOF
24523 if ac_fn_c_try_link "$LINENO"; then :
24524 gcc_cv_math_func_lgamma=yes
24525 else
24526 gcc_cv_math_func_lgamma=no
24528 rm -f core conftest.err conftest.$ac_objext \
24529 conftest$ac_exeext conftest.$ac_ext
24531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgamma" >&5
24532 $as_echo "$gcc_cv_math_func_lgamma" >&6; }
24533 if test $gcc_cv_math_func_lgamma = yes; then
24535 cat >>confdefs.h <<_ACEOF
24536 #define HAVE_LGAMMA 1
24537 _ACEOF
24544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammaf" >&5
24545 $as_echo_n "checking for lgammaf... " >&6; }
24546 if test "${gcc_cv_math_func_lgammaf+set}" = set; then :
24547 $as_echo_n "(cached) " >&6
24548 else
24549 if test x$gcc_no_link = xyes; then
24550 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24553 /* end confdefs.h. */
24555 #ifdef HAVE_COMPLEX_H
24556 #include <complex.h>
24557 #endif
24558 #ifdef HAVE_MATH_H
24559 #include <math.h>
24560 #endif
24562 int (*ptr)() = (int (*)())lgammaf;
24565 main ()
24567 return 0;
24570 _ACEOF
24571 if ac_fn_c_try_link "$LINENO"; then :
24572 gcc_cv_math_func_lgammaf=yes
24573 else
24574 gcc_cv_math_func_lgammaf=no
24576 rm -f core conftest.err conftest.$ac_objext \
24577 conftest$ac_exeext conftest.$ac_ext
24579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgammaf" >&5
24580 $as_echo "$gcc_cv_math_func_lgammaf" >&6; }
24581 if test $gcc_cv_math_func_lgammaf = yes; then
24583 cat >>confdefs.h <<_ACEOF
24584 #define HAVE_LGAMMAF 1
24585 _ACEOF
24592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammal" >&5
24593 $as_echo_n "checking for lgammal... " >&6; }
24594 if test "${gcc_cv_math_func_lgammal+set}" = set; then :
24595 $as_echo_n "(cached) " >&6
24596 else
24597 if test x$gcc_no_link = xyes; then
24598 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24601 /* end confdefs.h. */
24603 #ifdef HAVE_COMPLEX_H
24604 #include <complex.h>
24605 #endif
24606 #ifdef HAVE_MATH_H
24607 #include <math.h>
24608 #endif
24610 int (*ptr)() = (int (*)())lgammal;
24613 main ()
24615 return 0;
24618 _ACEOF
24619 if ac_fn_c_try_link "$LINENO"; then :
24620 gcc_cv_math_func_lgammal=yes
24621 else
24622 gcc_cv_math_func_lgammal=no
24624 rm -f core conftest.err conftest.$ac_objext \
24625 conftest$ac_exeext conftest.$ac_ext
24627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgammal" >&5
24628 $as_echo "$gcc_cv_math_func_lgammal" >&6; }
24629 if test $gcc_cv_math_func_lgammal = yes; then
24631 cat >>confdefs.h <<_ACEOF
24632 #define HAVE_LGAMMAL 1
24633 _ACEOF
24638 # Check for GFORTRAN_C99_1.1 funcs
24642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacos" >&5
24643 $as_echo_n "checking for cacos... " >&6; }
24644 if test "${gcc_cv_math_func_cacos+set}" = set; then :
24645 $as_echo_n "(cached) " >&6
24646 else
24647 if test x$gcc_no_link = xyes; then
24648 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24651 /* end confdefs.h. */
24653 #ifdef HAVE_COMPLEX_H
24654 #include <complex.h>
24655 #endif
24656 #ifdef HAVE_MATH_H
24657 #include <math.h>
24658 #endif
24660 int (*ptr)() = (int (*)())cacos;
24663 main ()
24665 return 0;
24668 _ACEOF
24669 if ac_fn_c_try_link "$LINENO"; then :
24670 gcc_cv_math_func_cacos=yes
24671 else
24672 gcc_cv_math_func_cacos=no
24674 rm -f core conftest.err conftest.$ac_objext \
24675 conftest$ac_exeext conftest.$ac_ext
24677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacos" >&5
24678 $as_echo "$gcc_cv_math_func_cacos" >&6; }
24679 if test $gcc_cv_math_func_cacos = yes; then
24681 cat >>confdefs.h <<_ACEOF
24682 #define HAVE_CACOS 1
24683 _ACEOF
24690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosf" >&5
24691 $as_echo_n "checking for cacosf... " >&6; }
24692 if test "${gcc_cv_math_func_cacosf+set}" = set; then :
24693 $as_echo_n "(cached) " >&6
24694 else
24695 if test x$gcc_no_link = xyes; then
24696 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24699 /* end confdefs.h. */
24701 #ifdef HAVE_COMPLEX_H
24702 #include <complex.h>
24703 #endif
24704 #ifdef HAVE_MATH_H
24705 #include <math.h>
24706 #endif
24708 int (*ptr)() = (int (*)())cacosf;
24711 main ()
24713 return 0;
24716 _ACEOF
24717 if ac_fn_c_try_link "$LINENO"; then :
24718 gcc_cv_math_func_cacosf=yes
24719 else
24720 gcc_cv_math_func_cacosf=no
24722 rm -f core conftest.err conftest.$ac_objext \
24723 conftest$ac_exeext conftest.$ac_ext
24725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosf" >&5
24726 $as_echo "$gcc_cv_math_func_cacosf" >&6; }
24727 if test $gcc_cv_math_func_cacosf = yes; then
24729 cat >>confdefs.h <<_ACEOF
24730 #define HAVE_CACOSF 1
24731 _ACEOF
24738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosh" >&5
24739 $as_echo_n "checking for cacosh... " >&6; }
24740 if test "${gcc_cv_math_func_cacosh+set}" = set; then :
24741 $as_echo_n "(cached) " >&6
24742 else
24743 if test x$gcc_no_link = xyes; then
24744 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24747 /* end confdefs.h. */
24749 #ifdef HAVE_COMPLEX_H
24750 #include <complex.h>
24751 #endif
24752 #ifdef HAVE_MATH_H
24753 #include <math.h>
24754 #endif
24756 int (*ptr)() = (int (*)())cacosh;
24759 main ()
24761 return 0;
24764 _ACEOF
24765 if ac_fn_c_try_link "$LINENO"; then :
24766 gcc_cv_math_func_cacosh=yes
24767 else
24768 gcc_cv_math_func_cacosh=no
24770 rm -f core conftest.err conftest.$ac_objext \
24771 conftest$ac_exeext conftest.$ac_ext
24773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosh" >&5
24774 $as_echo "$gcc_cv_math_func_cacosh" >&6; }
24775 if test $gcc_cv_math_func_cacosh = yes; then
24777 cat >>confdefs.h <<_ACEOF
24778 #define HAVE_CACOSH 1
24779 _ACEOF
24786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshf" >&5
24787 $as_echo_n "checking for cacoshf... " >&6; }
24788 if test "${gcc_cv_math_func_cacoshf+set}" = set; then :
24789 $as_echo_n "(cached) " >&6
24790 else
24791 if test x$gcc_no_link = xyes; then
24792 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24795 /* end confdefs.h. */
24797 #ifdef HAVE_COMPLEX_H
24798 #include <complex.h>
24799 #endif
24800 #ifdef HAVE_MATH_H
24801 #include <math.h>
24802 #endif
24804 int (*ptr)() = (int (*)())cacoshf;
24807 main ()
24809 return 0;
24812 _ACEOF
24813 if ac_fn_c_try_link "$LINENO"; then :
24814 gcc_cv_math_func_cacoshf=yes
24815 else
24816 gcc_cv_math_func_cacoshf=no
24818 rm -f core conftest.err conftest.$ac_objext \
24819 conftest$ac_exeext conftest.$ac_ext
24821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshf" >&5
24822 $as_echo "$gcc_cv_math_func_cacoshf" >&6; }
24823 if test $gcc_cv_math_func_cacoshf = yes; then
24825 cat >>confdefs.h <<_ACEOF
24826 #define HAVE_CACOSHF 1
24827 _ACEOF
24834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshl" >&5
24835 $as_echo_n "checking for cacoshl... " >&6; }
24836 if test "${gcc_cv_math_func_cacoshl+set}" = set; then :
24837 $as_echo_n "(cached) " >&6
24838 else
24839 if test x$gcc_no_link = xyes; then
24840 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24843 /* end confdefs.h. */
24845 #ifdef HAVE_COMPLEX_H
24846 #include <complex.h>
24847 #endif
24848 #ifdef HAVE_MATH_H
24849 #include <math.h>
24850 #endif
24852 int (*ptr)() = (int (*)())cacoshl;
24855 main ()
24857 return 0;
24860 _ACEOF
24861 if ac_fn_c_try_link "$LINENO"; then :
24862 gcc_cv_math_func_cacoshl=yes
24863 else
24864 gcc_cv_math_func_cacoshl=no
24866 rm -f core conftest.err conftest.$ac_objext \
24867 conftest$ac_exeext conftest.$ac_ext
24869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshl" >&5
24870 $as_echo "$gcc_cv_math_func_cacoshl" >&6; }
24871 if test $gcc_cv_math_func_cacoshl = yes; then
24873 cat >>confdefs.h <<_ACEOF
24874 #define HAVE_CACOSHL 1
24875 _ACEOF
24882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosl" >&5
24883 $as_echo_n "checking for cacosl... " >&6; }
24884 if test "${gcc_cv_math_func_cacosl+set}" = set; then :
24885 $as_echo_n "(cached) " >&6
24886 else
24887 if test x$gcc_no_link = xyes; then
24888 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24891 /* end confdefs.h. */
24893 #ifdef HAVE_COMPLEX_H
24894 #include <complex.h>
24895 #endif
24896 #ifdef HAVE_MATH_H
24897 #include <math.h>
24898 #endif
24900 int (*ptr)() = (int (*)())cacosl;
24903 main ()
24905 return 0;
24908 _ACEOF
24909 if ac_fn_c_try_link "$LINENO"; then :
24910 gcc_cv_math_func_cacosl=yes
24911 else
24912 gcc_cv_math_func_cacosl=no
24914 rm -f core conftest.err conftest.$ac_objext \
24915 conftest$ac_exeext conftest.$ac_ext
24917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosl" >&5
24918 $as_echo "$gcc_cv_math_func_cacosl" >&6; }
24919 if test $gcc_cv_math_func_cacosl = yes; then
24921 cat >>confdefs.h <<_ACEOF
24922 #define HAVE_CACOSL 1
24923 _ACEOF
24930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casin" >&5
24931 $as_echo_n "checking for casin... " >&6; }
24932 if test "${gcc_cv_math_func_casin+set}" = set; then :
24933 $as_echo_n "(cached) " >&6
24934 else
24935 if test x$gcc_no_link = xyes; then
24936 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24939 /* end confdefs.h. */
24941 #ifdef HAVE_COMPLEX_H
24942 #include <complex.h>
24943 #endif
24944 #ifdef HAVE_MATH_H
24945 #include <math.h>
24946 #endif
24948 int (*ptr)() = (int (*)())casin;
24951 main ()
24953 return 0;
24956 _ACEOF
24957 if ac_fn_c_try_link "$LINENO"; then :
24958 gcc_cv_math_func_casin=yes
24959 else
24960 gcc_cv_math_func_casin=no
24962 rm -f core conftest.err conftest.$ac_objext \
24963 conftest$ac_exeext conftest.$ac_ext
24965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casin" >&5
24966 $as_echo "$gcc_cv_math_func_casin" >&6; }
24967 if test $gcc_cv_math_func_casin = yes; then
24969 cat >>confdefs.h <<_ACEOF
24970 #define HAVE_CASIN 1
24971 _ACEOF
24978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinf" >&5
24979 $as_echo_n "checking for casinf... " >&6; }
24980 if test "${gcc_cv_math_func_casinf+set}" = set; then :
24981 $as_echo_n "(cached) " >&6
24982 else
24983 if test x$gcc_no_link = xyes; then
24984 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24987 /* end confdefs.h. */
24989 #ifdef HAVE_COMPLEX_H
24990 #include <complex.h>
24991 #endif
24992 #ifdef HAVE_MATH_H
24993 #include <math.h>
24994 #endif
24996 int (*ptr)() = (int (*)())casinf;
24999 main ()
25001 return 0;
25004 _ACEOF
25005 if ac_fn_c_try_link "$LINENO"; then :
25006 gcc_cv_math_func_casinf=yes
25007 else
25008 gcc_cv_math_func_casinf=no
25010 rm -f core conftest.err conftest.$ac_objext \
25011 conftest$ac_exeext conftest.$ac_ext
25013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinf" >&5
25014 $as_echo "$gcc_cv_math_func_casinf" >&6; }
25015 if test $gcc_cv_math_func_casinf = yes; then
25017 cat >>confdefs.h <<_ACEOF
25018 #define HAVE_CASINF 1
25019 _ACEOF
25026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinh" >&5
25027 $as_echo_n "checking for casinh... " >&6; }
25028 if test "${gcc_cv_math_func_casinh+set}" = set; then :
25029 $as_echo_n "(cached) " >&6
25030 else
25031 if test x$gcc_no_link = xyes; then
25032 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25035 /* end confdefs.h. */
25037 #ifdef HAVE_COMPLEX_H
25038 #include <complex.h>
25039 #endif
25040 #ifdef HAVE_MATH_H
25041 #include <math.h>
25042 #endif
25044 int (*ptr)() = (int (*)())casinh;
25047 main ()
25049 return 0;
25052 _ACEOF
25053 if ac_fn_c_try_link "$LINENO"; then :
25054 gcc_cv_math_func_casinh=yes
25055 else
25056 gcc_cv_math_func_casinh=no
25058 rm -f core conftest.err conftest.$ac_objext \
25059 conftest$ac_exeext conftest.$ac_ext
25061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinh" >&5
25062 $as_echo "$gcc_cv_math_func_casinh" >&6; }
25063 if test $gcc_cv_math_func_casinh = yes; then
25065 cat >>confdefs.h <<_ACEOF
25066 #define HAVE_CASINH 1
25067 _ACEOF
25074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhf" >&5
25075 $as_echo_n "checking for casinhf... " >&6; }
25076 if test "${gcc_cv_math_func_casinhf+set}" = set; then :
25077 $as_echo_n "(cached) " >&6
25078 else
25079 if test x$gcc_no_link = xyes; then
25080 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25083 /* end confdefs.h. */
25085 #ifdef HAVE_COMPLEX_H
25086 #include <complex.h>
25087 #endif
25088 #ifdef HAVE_MATH_H
25089 #include <math.h>
25090 #endif
25092 int (*ptr)() = (int (*)())casinhf;
25095 main ()
25097 return 0;
25100 _ACEOF
25101 if ac_fn_c_try_link "$LINENO"; then :
25102 gcc_cv_math_func_casinhf=yes
25103 else
25104 gcc_cv_math_func_casinhf=no
25106 rm -f core conftest.err conftest.$ac_objext \
25107 conftest$ac_exeext conftest.$ac_ext
25109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhf" >&5
25110 $as_echo "$gcc_cv_math_func_casinhf" >&6; }
25111 if test $gcc_cv_math_func_casinhf = yes; then
25113 cat >>confdefs.h <<_ACEOF
25114 #define HAVE_CASINHF 1
25115 _ACEOF
25122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhl" >&5
25123 $as_echo_n "checking for casinhl... " >&6; }
25124 if test "${gcc_cv_math_func_casinhl+set}" = set; then :
25125 $as_echo_n "(cached) " >&6
25126 else
25127 if test x$gcc_no_link = xyes; then
25128 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25131 /* end confdefs.h. */
25133 #ifdef HAVE_COMPLEX_H
25134 #include <complex.h>
25135 #endif
25136 #ifdef HAVE_MATH_H
25137 #include <math.h>
25138 #endif
25140 int (*ptr)() = (int (*)())casinhl;
25143 main ()
25145 return 0;
25148 _ACEOF
25149 if ac_fn_c_try_link "$LINENO"; then :
25150 gcc_cv_math_func_casinhl=yes
25151 else
25152 gcc_cv_math_func_casinhl=no
25154 rm -f core conftest.err conftest.$ac_objext \
25155 conftest$ac_exeext conftest.$ac_ext
25157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhl" >&5
25158 $as_echo "$gcc_cv_math_func_casinhl" >&6; }
25159 if test $gcc_cv_math_func_casinhl = yes; then
25161 cat >>confdefs.h <<_ACEOF
25162 #define HAVE_CASINHL 1
25163 _ACEOF
25170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinl" >&5
25171 $as_echo_n "checking for casinl... " >&6; }
25172 if test "${gcc_cv_math_func_casinl+set}" = set; then :
25173 $as_echo_n "(cached) " >&6
25174 else
25175 if test x$gcc_no_link = xyes; then
25176 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25179 /* end confdefs.h. */
25181 #ifdef HAVE_COMPLEX_H
25182 #include <complex.h>
25183 #endif
25184 #ifdef HAVE_MATH_H
25185 #include <math.h>
25186 #endif
25188 int (*ptr)() = (int (*)())casinl;
25191 main ()
25193 return 0;
25196 _ACEOF
25197 if ac_fn_c_try_link "$LINENO"; then :
25198 gcc_cv_math_func_casinl=yes
25199 else
25200 gcc_cv_math_func_casinl=no
25202 rm -f core conftest.err conftest.$ac_objext \
25203 conftest$ac_exeext conftest.$ac_ext
25205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinl" >&5
25206 $as_echo "$gcc_cv_math_func_casinl" >&6; }
25207 if test $gcc_cv_math_func_casinl = yes; then
25209 cat >>confdefs.h <<_ACEOF
25210 #define HAVE_CASINL 1
25211 _ACEOF
25218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catan" >&5
25219 $as_echo_n "checking for catan... " >&6; }
25220 if test "${gcc_cv_math_func_catan+set}" = set; then :
25221 $as_echo_n "(cached) " >&6
25222 else
25223 if test x$gcc_no_link = xyes; then
25224 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25227 /* end confdefs.h. */
25229 #ifdef HAVE_COMPLEX_H
25230 #include <complex.h>
25231 #endif
25232 #ifdef HAVE_MATH_H
25233 #include <math.h>
25234 #endif
25236 int (*ptr)() = (int (*)())catan;
25239 main ()
25241 return 0;
25244 _ACEOF
25245 if ac_fn_c_try_link "$LINENO"; then :
25246 gcc_cv_math_func_catan=yes
25247 else
25248 gcc_cv_math_func_catan=no
25250 rm -f core conftest.err conftest.$ac_objext \
25251 conftest$ac_exeext conftest.$ac_ext
25253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catan" >&5
25254 $as_echo "$gcc_cv_math_func_catan" >&6; }
25255 if test $gcc_cv_math_func_catan = yes; then
25257 cat >>confdefs.h <<_ACEOF
25258 #define HAVE_CATAN 1
25259 _ACEOF
25266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanf" >&5
25267 $as_echo_n "checking for catanf... " >&6; }
25268 if test "${gcc_cv_math_func_catanf+set}" = set; then :
25269 $as_echo_n "(cached) " >&6
25270 else
25271 if test x$gcc_no_link = xyes; then
25272 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25275 /* end confdefs.h. */
25277 #ifdef HAVE_COMPLEX_H
25278 #include <complex.h>
25279 #endif
25280 #ifdef HAVE_MATH_H
25281 #include <math.h>
25282 #endif
25284 int (*ptr)() = (int (*)())catanf;
25287 main ()
25289 return 0;
25292 _ACEOF
25293 if ac_fn_c_try_link "$LINENO"; then :
25294 gcc_cv_math_func_catanf=yes
25295 else
25296 gcc_cv_math_func_catanf=no
25298 rm -f core conftest.err conftest.$ac_objext \
25299 conftest$ac_exeext conftest.$ac_ext
25301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanf" >&5
25302 $as_echo "$gcc_cv_math_func_catanf" >&6; }
25303 if test $gcc_cv_math_func_catanf = yes; then
25305 cat >>confdefs.h <<_ACEOF
25306 #define HAVE_CATANF 1
25307 _ACEOF
25314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanh" >&5
25315 $as_echo_n "checking for catanh... " >&6; }
25316 if test "${gcc_cv_math_func_catanh+set}" = set; then :
25317 $as_echo_n "(cached) " >&6
25318 else
25319 if test x$gcc_no_link = xyes; then
25320 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25323 /* end confdefs.h. */
25325 #ifdef HAVE_COMPLEX_H
25326 #include <complex.h>
25327 #endif
25328 #ifdef HAVE_MATH_H
25329 #include <math.h>
25330 #endif
25332 int (*ptr)() = (int (*)())catanh;
25335 main ()
25337 return 0;
25340 _ACEOF
25341 if ac_fn_c_try_link "$LINENO"; then :
25342 gcc_cv_math_func_catanh=yes
25343 else
25344 gcc_cv_math_func_catanh=no
25346 rm -f core conftest.err conftest.$ac_objext \
25347 conftest$ac_exeext conftest.$ac_ext
25349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanh" >&5
25350 $as_echo "$gcc_cv_math_func_catanh" >&6; }
25351 if test $gcc_cv_math_func_catanh = yes; then
25353 cat >>confdefs.h <<_ACEOF
25354 #define HAVE_CATANH 1
25355 _ACEOF
25362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhf" >&5
25363 $as_echo_n "checking for catanhf... " >&6; }
25364 if test "${gcc_cv_math_func_catanhf+set}" = set; then :
25365 $as_echo_n "(cached) " >&6
25366 else
25367 if test x$gcc_no_link = xyes; then
25368 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25371 /* end confdefs.h. */
25373 #ifdef HAVE_COMPLEX_H
25374 #include <complex.h>
25375 #endif
25376 #ifdef HAVE_MATH_H
25377 #include <math.h>
25378 #endif
25380 int (*ptr)() = (int (*)())catanhf;
25383 main ()
25385 return 0;
25388 _ACEOF
25389 if ac_fn_c_try_link "$LINENO"; then :
25390 gcc_cv_math_func_catanhf=yes
25391 else
25392 gcc_cv_math_func_catanhf=no
25394 rm -f core conftest.err conftest.$ac_objext \
25395 conftest$ac_exeext conftest.$ac_ext
25397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhf" >&5
25398 $as_echo "$gcc_cv_math_func_catanhf" >&6; }
25399 if test $gcc_cv_math_func_catanhf = yes; then
25401 cat >>confdefs.h <<_ACEOF
25402 #define HAVE_CATANHF 1
25403 _ACEOF
25410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhl" >&5
25411 $as_echo_n "checking for catanhl... " >&6; }
25412 if test "${gcc_cv_math_func_catanhl+set}" = set; then :
25413 $as_echo_n "(cached) " >&6
25414 else
25415 if test x$gcc_no_link = xyes; then
25416 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25419 /* end confdefs.h. */
25421 #ifdef HAVE_COMPLEX_H
25422 #include <complex.h>
25423 #endif
25424 #ifdef HAVE_MATH_H
25425 #include <math.h>
25426 #endif
25428 int (*ptr)() = (int (*)())catanhl;
25431 main ()
25433 return 0;
25436 _ACEOF
25437 if ac_fn_c_try_link "$LINENO"; then :
25438 gcc_cv_math_func_catanhl=yes
25439 else
25440 gcc_cv_math_func_catanhl=no
25442 rm -f core conftest.err conftest.$ac_objext \
25443 conftest$ac_exeext conftest.$ac_ext
25445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhl" >&5
25446 $as_echo "$gcc_cv_math_func_catanhl" >&6; }
25447 if test $gcc_cv_math_func_catanhl = yes; then
25449 cat >>confdefs.h <<_ACEOF
25450 #define HAVE_CATANHL 1
25451 _ACEOF
25458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanl" >&5
25459 $as_echo_n "checking for catanl... " >&6; }
25460 if test "${gcc_cv_math_func_catanl+set}" = set; then :
25461 $as_echo_n "(cached) " >&6
25462 else
25463 if test x$gcc_no_link = xyes; then
25464 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25467 /* end confdefs.h. */
25469 #ifdef HAVE_COMPLEX_H
25470 #include <complex.h>
25471 #endif
25472 #ifdef HAVE_MATH_H
25473 #include <math.h>
25474 #endif
25476 int (*ptr)() = (int (*)())catanl;
25479 main ()
25481 return 0;
25484 _ACEOF
25485 if ac_fn_c_try_link "$LINENO"; then :
25486 gcc_cv_math_func_catanl=yes
25487 else
25488 gcc_cv_math_func_catanl=no
25490 rm -f core conftest.err conftest.$ac_objext \
25491 conftest$ac_exeext conftest.$ac_ext
25493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanl" >&5
25494 $as_echo "$gcc_cv_math_func_catanl" >&6; }
25495 if test $gcc_cv_math_func_catanl = yes; then
25497 cat >>confdefs.h <<_ACEOF
25498 #define HAVE_CATANL 1
25499 _ACEOF
25504 # On AIX, clog is present in libm as __clog
25505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clog in -lm" >&5
25506 $as_echo_n "checking for __clog in -lm... " >&6; }
25507 if test "${ac_cv_lib_m___clog+set}" = set; then :
25508 $as_echo_n "(cached) " >&6
25509 else
25510 ac_check_lib_save_LIBS=$LIBS
25511 LIBS="-lm $LIBS"
25512 if test x$gcc_no_link = xyes; then
25513 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25516 /* end confdefs.h. */
25518 /* Override any GCC internal prototype to avoid an error.
25519 Use char because int might match the return type of a GCC
25520 builtin and then its argument prototype would still apply. */
25521 #ifdef __cplusplus
25522 extern "C"
25523 #endif
25524 char __clog ();
25526 main ()
25528 return __clog ();
25530 return 0;
25532 _ACEOF
25533 if ac_fn_c_try_link "$LINENO"; then :
25534 ac_cv_lib_m___clog=yes
25535 else
25536 ac_cv_lib_m___clog=no
25538 rm -f core conftest.err conftest.$ac_objext \
25539 conftest$ac_exeext conftest.$ac_ext
25540 LIBS=$ac_check_lib_save_LIBS
25542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m___clog" >&5
25543 $as_echo "$ac_cv_lib_m___clog" >&6; }
25544 if test "x$ac_cv_lib_m___clog" = x""yes; then :
25546 $as_echo "#define HAVE_CLOG 1" >>confdefs.h
25551 # Check whether the system has a working stat()
25553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target stat is reliable" >&5
25554 $as_echo_n "checking whether the target stat is reliable... " >&6; }
25555 if test "${libgfor_cv_have_working_stat+set}" = set; then :
25556 $as_echo_n "(cached) " >&6
25557 else
25559 if test "$cross_compiling" = yes; then :
25561 case "${target}" in
25562 *mingw*) libgfor_cv_have_working_stat=no ;;
25563 *) libgfor_cv_have_working_stat=yes;;
25564 esac
25565 else
25566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25567 /* end confdefs.h. */
25569 #include <stdio.h>
25570 #include <sys/types.h>
25571 #include <sys/stat.h>
25572 #include <unistd.h>
25574 int main ()
25576 FILE *f, *g;
25577 struct stat st1, st2;
25579 f = fopen ("foo", "w");
25580 g = fopen ("bar", "w");
25581 if (stat ("foo", &st1) != 0 || stat ("bar", &st2))
25582 return 1;
25583 if (st1.st_dev == st2.st_dev && st1.st_ino == st2.st_ino)
25584 return 1;
25585 fclose(f);
25586 fclose(g);
25587 return 0;
25589 _ACEOF
25590 if ac_fn_c_try_run "$LINENO"; then :
25591 libgfor_cv_have_working_stat=yes
25592 else
25593 libgfor_cv_have_working_stat=no
25595 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25596 conftest.$ac_objext conftest.beam conftest.$ac_ext
25600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_working_stat" >&5
25601 $as_echo "$libgfor_cv_have_working_stat" >&6; }
25602 if test x"$libgfor_cv_have_working_stat" = xyes; then
25604 $as_echo "#define HAVE_WORKING_STAT 1" >>confdefs.h
25608 # Check whether __mingw_snprintf() is present
25610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __mingw_snprintf is present" >&5
25611 $as_echo_n "checking whether __mingw_snprintf is present... " >&6; }
25612 if test "${libgfor_cv_have_mingw_snprintf+set}" = set; then :
25613 $as_echo_n "(cached) " >&6
25614 else
25616 if test x$gcc_no_link = xyes; then
25617 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25620 /* end confdefs.h. */
25622 #include <stdio.h>
25623 extern int __mingw_snprintf (char *, size_t, const char *, ...);
25626 main ()
25629 __mingw_snprintf (NULL, 0, "%d\n", 1);
25632 return 0;
25634 _ACEOF
25635 if ac_fn_c_try_link "$LINENO"; then :
25636 eval "libgfor_cv_have_mingw_snprintf=yes"
25637 else
25638 eval "libgfor_cv_have_mingw_snprintf=no"
25640 rm -f core conftest.err conftest.$ac_objext \
25641 conftest$ac_exeext conftest.$ac_ext
25644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_mingw_snprintf" >&5
25645 $as_echo "$libgfor_cv_have_mingw_snprintf" >&6; }
25646 if test x"$libgfor_cv_have_mingw_snprintf" = xyes; then
25648 $as_echo "#define HAVE_MINGW_SNPRINTF 1" >>confdefs.h
25653 # Check whether libquadmath should be used
25654 # Check whether --enable-libquadmath-support was given.
25655 if test "${enable_libquadmath_support+set}" = set; then :
25656 enableval=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT=$enableval
25657 else
25658 ENABLE_LIBQUADMATH_SUPPORT=yes
25661 enable_libquadmath_support=
25662 if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
25663 enable_libquadmath_support=no
25666 # Check whether we have a __float128 type, depends on enable_libquadmath_support
25668 LIBQUADSPEC=
25670 if test "x$enable_libquadmath_support" != xno; then
25672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have a usable __float128 type" >&5
25673 $as_echo_n "checking whether we have a usable __float128 type... " >&6; }
25674 if test "${libgfor_cv_have_float128+set}" = set; then :
25675 $as_echo_n "(cached) " >&6
25676 else
25678 if test x$gcc_no_link = xyes; then
25679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25680 /* end confdefs.h. */
25682 typedef _Complex float __attribute__((mode(TC))) __complex128;
25684 __float128 foo (__float128 x)
25687 __complex128 z1, z2;
25689 z1 = x;
25690 z2 = x / 7.Q;
25691 z2 /= z1;
25693 return (__float128) z2;
25696 __float128 bar (__float128 x)
25698 return x * __builtin_huge_valq ();
25702 main ()
25705 foo (1.2Q);
25706 bar (1.2Q);
25709 return 0;
25711 _ACEOF
25712 if ac_fn_c_try_compile "$LINENO"; then :
25714 libgfor_cv_have_float128=yes
25716 else
25718 libgfor_cv_have_float128=no
25721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25722 else
25723 if test x$gcc_no_link = xyes; then
25724 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25727 /* end confdefs.h. */
25729 typedef _Complex float __attribute__((mode(TC))) __complex128;
25731 __float128 foo (__float128 x)
25734 __complex128 z1, z2;
25736 z1 = x;
25737 z2 = x / 7.Q;
25738 z2 /= z1;
25740 return (__float128) z2;
25743 __float128 bar (__float128 x)
25745 return x * __builtin_huge_valq ();
25749 main ()
25752 foo (1.2Q);
25753 bar (1.2Q);
25756 return 0;
25758 _ACEOF
25759 if ac_fn_c_try_link "$LINENO"; then :
25761 libgfor_cv_have_float128=yes
25763 else
25765 libgfor_cv_have_float128=no
25768 rm -f core conftest.err conftest.$ac_objext \
25769 conftest$ac_exeext conftest.$ac_ext
25772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_float128" >&5
25773 $as_echo "$libgfor_cv_have_float128" >&6; }
25775 if test "x$libgfor_cv_have_float128" = xyes; then
25777 $as_echo "#define HAVE_FLOAT128 1" >>confdefs.h
25780 ac_xsave_c_werror_flag=$ac_c_werror_flag
25781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether --as-needed/-z ignore works" >&5
25782 $as_echo_n "checking whether --as-needed/-z ignore works... " >&6; }
25783 if test "${libgfor_cv_have_as_needed+set}" = set; then :
25784 $as_echo_n "(cached) " >&6
25785 else
25787 # Test for native Solaris options first.
25788 # No whitespace after -z to pass it through -Wl.
25789 libgfor_cv_as_needed_option="-zignore"
25790 libgfor_cv_no_as_needed_option="-zrecord"
25791 save_LDFLAGS="$LDFLAGS"
25792 LDFLAGS="$LDFLAGS -Wl,$libgfor_cv_as_needed_option -lm -Wl,$libgfor_cv_no_as_needed_option"
25793 libgfor_cv_have_as_needed=no
25795 ac_c_werror_flag=yes
25796 if test x$gcc_no_link = xyes; then
25797 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25800 /* end confdefs.h. */
25803 main ()
25807 return 0;
25809 _ACEOF
25810 if ac_fn_c_try_link "$LINENO"; then :
25811 libgfor_cv_have_as_needed=yes
25812 else
25813 libgfor_cv_have_as_needed=no
25815 rm -f core conftest.err conftest.$ac_objext \
25816 conftest$ac_exeext conftest.$ac_ext
25817 LDFLAGS="$save_LDFLAGS"
25818 if test "x$libgfor_cv_have_as_needed" = xno; then
25819 libgfor_cv_as_needed_option="--as-needed"
25820 libgfor_cv_no_as_needed_option="--no-as-needed"
25821 save_LDFLAGS="$LDFLAGS"
25822 LDFLAGS="$LDFLAGS -Wl,$libgfor_cv_as_needed_option -lm -Wl,$libgfor_cv_no_as_needed_option"
25823 libgfor_cv_have_as_needed=no
25825 ac_c_werror_flag=yes
25826 if test x$gcc_no_link = xyes; then
25827 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25830 /* end confdefs.h. */
25833 main ()
25837 return 0;
25839 _ACEOF
25840 if ac_fn_c_try_link "$LINENO"; then :
25841 libgfor_cv_have_as_needed=yes
25842 else
25843 libgfor_cv_have_as_needed=no
25845 rm -f core conftest.err conftest.$ac_objext \
25846 conftest$ac_exeext conftest.$ac_ext
25847 LDFLAGS="$save_LDFLAGS"
25849 ac_c_werror_flag=$ac_xsave_c_werror_flag
25852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_as_needed" >&5
25853 $as_echo "$libgfor_cv_have_as_needed" >&6; }
25855 if test "x$libgfor_cv_have_as_needed" = xyes; then
25856 LIBQUADSPEC="%{static-libgfortran:$libgfor_cv_as_needed_option} -lquadmath %{static-libgfortran:$libgfor_cv_no_as_needed_option}"
25857 else
25858 LIBQUADSPEC="-lquadmath"
25860 if test -f ../libquadmath/libquadmath.la; then
25861 LIBQUADLIB=../libquadmath/libquadmath.la
25862 LIBQUADLIB_DEP=../libquadmath/libquadmath.la
25863 LIBQUADINCLUDE='-I$(srcdir)/../libquadmath'
25864 else
25865 LIBQUADLIB="-lquadmath"
25866 LIBQUADLIB_DEP=
25867 LIBQUADINCLUDE=
25870 else
25871 # for --disable-quadmath
25872 LIBQUADLIB=
25873 LIBQUADLIB_DEP=
25874 LIBQUADINCLUDE=
25882 if test "x$libgfor_cv_have_float128" = xyes; then
25883 LIBGFOR_BUILD_QUAD_TRUE=
25884 LIBGFOR_BUILD_QUAD_FALSE='#'
25885 else
25886 LIBGFOR_BUILD_QUAD_TRUE='#'
25887 LIBGFOR_BUILD_QUAD_FALSE=
25892 # Check for GNU libc feenableexcept
25893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for feenableexcept in -lm" >&5
25894 $as_echo_n "checking for feenableexcept in -lm... " >&6; }
25895 if test "${ac_cv_lib_m_feenableexcept+set}" = set; then :
25896 $as_echo_n "(cached) " >&6
25897 else
25898 ac_check_lib_save_LIBS=$LIBS
25899 LIBS="-lm $LIBS"
25900 if test x$gcc_no_link = xyes; then
25901 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25904 /* end confdefs.h. */
25906 /* Override any GCC internal prototype to avoid an error.
25907 Use char because int might match the return type of a GCC
25908 builtin and then its argument prototype would still apply. */
25909 #ifdef __cplusplus
25910 extern "C"
25911 #endif
25912 char feenableexcept ();
25914 main ()
25916 return feenableexcept ();
25918 return 0;
25920 _ACEOF
25921 if ac_fn_c_try_link "$LINENO"; then :
25922 ac_cv_lib_m_feenableexcept=yes
25923 else
25924 ac_cv_lib_m_feenableexcept=no
25926 rm -f core conftest.err conftest.$ac_objext \
25927 conftest$ac_exeext conftest.$ac_ext
25928 LIBS=$ac_check_lib_save_LIBS
25930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_feenableexcept" >&5
25931 $as_echo "$ac_cv_lib_m_feenableexcept" >&6; }
25932 if test "x$ac_cv_lib_m_feenableexcept" = x""yes; then :
25933 have_feenableexcept=yes
25934 $as_echo "#define HAVE_FEENABLEEXCEPT 1" >>confdefs.h
25939 # At least for glibc, clock_gettime is in librt. But don't
25940 # pull that in if it still doesn't give us the function we want. This
25941 # test is copied from libgomp, and modified to not link in -lrt as
25942 # libgfortran calls clock_gettime via a weak reference if it's found
25943 # in librt.
25944 if test $ac_cv_func_clock_gettime = no; then
25945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
25946 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
25947 if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then :
25948 $as_echo_n "(cached) " >&6
25949 else
25950 ac_check_lib_save_LIBS=$LIBS
25951 LIBS="-lrt $LIBS"
25952 if test x$gcc_no_link = xyes; then
25953 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25956 /* end confdefs.h. */
25958 /* Override any GCC internal prototype to avoid an error.
25959 Use char because int might match the return type of a GCC
25960 builtin and then its argument prototype would still apply. */
25961 #ifdef __cplusplus
25962 extern "C"
25963 #endif
25964 char clock_gettime ();
25966 main ()
25968 return clock_gettime ();
25970 return 0;
25972 _ACEOF
25973 if ac_fn_c_try_link "$LINENO"; then :
25974 ac_cv_lib_rt_clock_gettime=yes
25975 else
25976 ac_cv_lib_rt_clock_gettime=no
25978 rm -f core conftest.err conftest.$ac_objext \
25979 conftest$ac_exeext conftest.$ac_ext
25980 LIBS=$ac_check_lib_save_LIBS
25982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
25983 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
25984 if test "x$ac_cv_lib_rt_clock_gettime" = x""yes; then :
25986 $as_echo "#define HAVE_CLOCK_GETTIME_LIBRT 1" >>confdefs.h
25992 # Check for SysV fpsetmask
25994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fpsetmask is present" >&5
25995 $as_echo_n "checking whether fpsetmask is present... " >&6; }
25996 if test "${libgfor_cv_have_fpsetmask+set}" = set; then :
25997 $as_echo_n "(cached) " >&6
25998 else
26000 if test x$gcc_no_link = xyes; then
26001 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26004 /* end confdefs.h. */
26006 #if HAVE_FLOATINGPOINT_H
26007 # include <floatingpoint.h>
26008 #endif /* HAVE_FLOATINGPOINT_H */
26009 #if HAVE_IEEEFP_H
26010 # include <ieeefp.h>
26011 #endif /* HAVE_IEEEFP_H */
26013 main ()
26015 fpsetmask(0);
26017 return 0;
26019 _ACEOF
26020 if ac_fn_c_try_link "$LINENO"; then :
26021 eval "libgfor_cv_have_fpsetmask=yes"
26022 else
26023 eval "libgfor_cv_have_fpsetmask=no"
26025 rm -f core conftest.err conftest.$ac_objext \
26026 conftest$ac_exeext conftest.$ac_ext
26029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_fpsetmask" >&5
26030 $as_echo "$libgfor_cv_have_fpsetmask" >&6; }
26031 if test x"$libgfor_cv_have_fpsetmask" = xyes; then
26032 have_fpsetmask=yes
26034 $as_echo "#define HAVE_FPSETMASK 1" >>confdefs.h
26038 ac_fn_c_check_type "$LINENO" "fp_except" "ac_cv_type_fp_except" "#include <ieeefp.h>
26040 if test "x$ac_cv_type_fp_except" = x""yes; then :
26042 cat >>confdefs.h <<_ACEOF
26043 #define HAVE_FP_EXCEPT 1
26044 _ACEOF
26048 ac_fn_c_check_type "$LINENO" "fp_except_t" "ac_cv_type_fp_except_t" "#include <ieeefp.h>
26050 if test "x$ac_cv_type_fp_except_t" = x""yes; then :
26052 cat >>confdefs.h <<_ACEOF
26053 #define HAVE_FP_EXCEPT_T 1
26054 _ACEOF
26059 ac_fn_c_check_type "$LINENO" "fp_rnd" "ac_cv_type_fp_rnd" "#include <ieeefp.h>
26061 if test "x$ac_cv_type_fp_rnd" = x""yes; then :
26063 cat >>confdefs.h <<_ACEOF
26064 #define HAVE_FP_RND 1
26065 _ACEOF
26069 ac_fn_c_check_type "$LINENO" "fp_rnd_t" "ac_cv_type_fp_rnd_t" "#include <ieeefp.h>
26071 if test "x$ac_cv_type_fp_rnd_t" = x""yes; then :
26073 cat >>confdefs.h <<_ACEOF
26074 #define HAVE_FP_RND_T 1
26075 _ACEOF
26081 # Check for AIX fp_trap and fp_enable
26082 ac_fn_c_check_func "$LINENO" "fp_trap" "ac_cv_func_fp_trap"
26083 if test "x$ac_cv_func_fp_trap" = x""yes; then :
26084 have_fp_trap=yes
26085 $as_echo "#define HAVE_FP_TRAP 1" >>confdefs.h
26089 ac_fn_c_check_func "$LINENO" "fp_enable" "ac_cv_func_fp_enable"
26090 if test "x$ac_cv_func_fp_enable" = x""yes; then :
26091 have_fp_enable=yes
26092 $as_echo "#define HAVE_FP_ENABLE 1" >>confdefs.h
26097 # Runs configure.host to set up necessary host-dependent shell variables.
26098 # We then display a message about it, and propagate them through the
26099 # build chain.
26100 . ${srcdir}/configure.host
26101 { $as_echo "$as_me:${as_lineno-$LINENO}: FPU dependent file will be ${fpu_host}.h" >&5
26102 $as_echo "$as_me: FPU dependent file will be ${fpu_host}.h" >&6;}
26103 FPU_HOST_HEADER=config/${fpu_host}.h
26106 # Some targets require additional compiler options for IEEE compatibility.
26107 IEEE_FLAGS="${ieee_flags}"
26111 # Check for POSIX getpwuid_r
26113 # There are two versions of getpwuid_r, the POSIX one with 5
26114 # arguments, and another one with 4 arguments used by at least HP-UX
26115 # 10.2.
26116 if test "$ac_cv_func_getpwuid_r" = "yes"; then
26117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking POSIX version of getpwuid_r with 5 arguments" >&5
26118 $as_echo_n "checking POSIX version of getpwuid_r with 5 arguments... " >&6; }
26119 if test "${libgfor_cv_posix_getpwuid_r+set}" = set; then :
26120 $as_echo_n "(cached) " >&6
26121 else
26123 if test x$gcc_no_link = xyes; then
26124 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26127 /* end confdefs.h. */
26129 #include <stdio.h>
26130 #include <sys/types.h>
26131 #include <pwd.h>
26133 main ()
26136 getpwuid_r(0, NULL, NULL, 0, NULL);
26139 return 0;
26141 _ACEOF
26142 if ac_fn_c_try_link "$LINENO"; then :
26143 libgfor_cv_posix_getpwuid_r="yes"
26144 else
26145 libgfor_cv_posix_getpwuid_r="no"
26147 rm -f core conftest.err conftest.$ac_objext \
26148 conftest$ac_exeext conftest.$ac_ext
26150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_posix_getpwuid_r" >&5
26151 $as_echo "$libgfor_cv_posix_getpwuid_r" >&6; }
26153 if test "$libgfor_cv_posix_getpwuid_r" = "yes"; then
26155 $as_echo "#define HAVE_POSIX_GETPWUID_R 1" >>confdefs.h
26160 # Check out attribute support.
26162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
26163 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
26164 if test "${libgfor_cv_have_attribute_visibility+set}" = set; then :
26165 $as_echo_n "(cached) " >&6
26166 else
26168 save_CFLAGS="$CFLAGS"
26169 CFLAGS="$CFLAGS -Werror"
26170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26171 /* end confdefs.h. */
26172 void __attribute__((visibility("hidden"))) foo(void) { }
26174 main ()
26178 return 0;
26180 _ACEOF
26181 if ac_fn_c_try_compile "$LINENO"; then :
26182 libgfor_cv_have_attribute_visibility=yes
26183 else
26184 libgfor_cv_have_attribute_visibility=no
26186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26187 CFLAGS="$save_CFLAGS"
26189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_visibility" >&5
26190 $as_echo "$libgfor_cv_have_attribute_visibility" >&6; }
26191 if test $libgfor_cv_have_attribute_visibility = yes; then
26193 $as_echo "#define HAVE_ATTRIBUTE_VISIBILITY 1" >>confdefs.h
26197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports dllexport" >&5
26198 $as_echo_n "checking whether the target supports dllexport... " >&6; }
26199 if test "${libgfor_cv_have_attribute_dllexport+set}" = set; then :
26200 $as_echo_n "(cached) " >&6
26201 else
26203 save_CFLAGS="$CFLAGS"
26204 CFLAGS="$CFLAGS -Werror"
26205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26206 /* end confdefs.h. */
26207 void __attribute__((dllexport)) foo(void) { }
26209 main ()
26213 return 0;
26215 _ACEOF
26216 if ac_fn_c_try_compile "$LINENO"; then :
26217 libgfor_cv_have_attribute_dllexport=yes
26218 else
26219 libgfor_cv_have_attribute_dllexport=no
26221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26222 CFLAGS="$save_CFLAGS"
26224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_dllexport" >&5
26225 $as_echo "$libgfor_cv_have_attribute_dllexport" >&6; }
26226 if test $libgfor_cv_have_attribute_dllexport = yes; then
26228 $as_echo "#define HAVE_ATTRIBUTE_DLLEXPORT 1" >>confdefs.h
26232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports symbol aliases" >&5
26233 $as_echo_n "checking whether the target supports symbol aliases... " >&6; }
26234 if test "${libgfor_cv_have_attribute_alias+set}" = set; then :
26235 $as_echo_n "(cached) " >&6
26236 else
26238 if test x$gcc_no_link = xyes; then
26239 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26242 /* end confdefs.h. */
26244 void foo(void) { }
26245 extern void bar(void) __attribute__((alias("foo")));
26247 main ()
26249 bar();
26251 return 0;
26253 _ACEOF
26254 if ac_fn_c_try_link "$LINENO"; then :
26255 libgfor_cv_have_attribute_alias=yes
26256 else
26257 libgfor_cv_have_attribute_alias=no
26259 rm -f core conftest.err conftest.$ac_objext \
26260 conftest$ac_exeext conftest.$ac_ext
26262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_alias" >&5
26263 $as_echo "$libgfor_cv_have_attribute_alias" >&6; }
26264 if test $libgfor_cv_have_attribute_alias = yes; then
26266 $as_echo "#define HAVE_ATTRIBUTE_ALIAS 1" >>confdefs.h
26270 # Check out sync builtins support.
26272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports __sync_fetch_and_add" >&5
26273 $as_echo_n "checking whether the target supports __sync_fetch_and_add... " >&6; }
26274 if test "${libgfor_cv_have_sync_fetch_and_add+set}" = set; then :
26275 $as_echo_n "(cached) " >&6
26276 else
26278 if test x$gcc_no_link = xyes; then
26279 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26282 /* end confdefs.h. */
26283 int foovar = 0;
26285 main ()
26288 if (foovar <= 0) return __sync_fetch_and_add (&foovar, 1);
26289 if (foovar > 10) return __sync_add_and_fetch (&foovar, -1);
26291 return 0;
26293 _ACEOF
26294 if ac_fn_c_try_link "$LINENO"; then :
26295 libgfor_cv_have_sync_fetch_and_add=yes
26296 else
26297 libgfor_cv_have_sync_fetch_and_add=no
26299 rm -f core conftest.err conftest.$ac_objext \
26300 conftest$ac_exeext conftest.$ac_ext
26302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_sync_fetch_and_add" >&5
26303 $as_echo "$libgfor_cv_have_sync_fetch_and_add" >&6; }
26304 if test $libgfor_cv_have_sync_fetch_and_add = yes; then
26306 $as_echo "#define HAVE_SYNC_FETCH_AND_ADD 1" >>confdefs.h
26310 # Check out #pragma weak.
26312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pragma weak works" >&5
26313 $as_echo_n "checking whether pragma weak works... " >&6; }
26314 if test "${libgfor_cv_have_pragma_weak+set}" = set; then :
26315 $as_echo_n "(cached) " >&6
26316 else
26318 gfor_save_CFLAGS="$CFLAGS"
26319 CFLAGS="$CFLAGS -Wunknown-pragmas"
26320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26321 /* end confdefs.h. */
26323 void foo (void);
26324 #pragma weak foo
26327 main ()
26329 if (foo) foo ();
26331 return 0;
26333 _ACEOF
26334 if ac_fn_c_try_compile "$LINENO"; then :
26335 libgfor_cv_have_pragma_weak=yes
26336 else
26337 libgfor_cv_have_pragma_weak=no
26339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_pragma_weak" >&5
26342 $as_echo "$libgfor_cv_have_pragma_weak" >&6; }
26343 if test $libgfor_cv_have_pragma_weak = yes; then
26345 $as_echo "#define SUPPORTS_WEAK 1" >>confdefs.h
26348 case "$host" in
26349 *-*-darwin* | *-*-hpux* | *-*-cygwin* | *-*-mingw* )
26351 $as_echo "#define GTHREAD_USE_WEAK 0" >>confdefs.h
26354 esac
26356 # Various other checks on target
26358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target can unlink an open file" >&5
26359 $as_echo_n "checking whether the target can unlink an open file... " >&6; }
26360 if test "${libgfor_cv_have_unlink_open_file+set}" = set; then :
26361 $as_echo_n "(cached) " >&6
26362 else
26364 if test "$cross_compiling" = yes; then :
26366 case "${target}" in
26367 *mingw*) libgfor_cv_have_unlink_open_file=no ;;
26368 *) libgfor_cv_have_unlink_open_file=yes;;
26369 esac
26370 else
26371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26372 /* end confdefs.h. */
26374 #include <errno.h>
26375 #include <fcntl.h>
26376 #include <unistd.h>
26377 #include <sys/stat.h>
26379 int main ()
26381 int fd;
26383 fd = open ("testfile", O_RDWR | O_CREAT, S_IWUSR | S_IRUSR);
26384 if (fd <= 0)
26385 return 0;
26386 if (unlink ("testfile") == -1)
26387 return 1;
26388 write (fd, "This is a test\n", 15);
26389 close (fd);
26391 if (open ("testfile", O_RDONLY) == -1 && errno == ENOENT)
26392 return 0;
26393 else
26394 return 1;
26396 _ACEOF
26397 if ac_fn_c_try_run "$LINENO"; then :
26398 libgfor_cv_have_unlink_open_file=yes
26399 else
26400 libgfor_cv_have_unlink_open_file=no
26402 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26403 conftest.$ac_objext conftest.beam conftest.$ac_ext
26407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_unlink_open_file" >&5
26408 $as_echo "$libgfor_cv_have_unlink_open_file" >&6; }
26409 if test x"$libgfor_cv_have_unlink_open_file" = xyes; then
26411 $as_echo "#define HAVE_UNLINK_OPEN_FILE 1" >>confdefs.h
26415 # Check whether line terminator is LF or CRLF
26417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target has CRLF as line terminator" >&5
26418 $as_echo_n "checking whether the target has CRLF as line terminator... " >&6; }
26419 if test "${libgfor_cv_have_crlf+set}" = set; then :
26420 $as_echo_n "(cached) " >&6
26421 else
26423 if test "$cross_compiling" = yes; then :
26425 case "${target}" in
26426 *mingw*) libgfor_cv_have_crlf=yes ;;
26427 *) libgfor_cv_have_crlf=no;;
26428 esac
26429 else
26430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26431 /* end confdefs.h. */
26433 /* This test program should exit with status 0 if system uses a CRLF as
26434 line terminator, and status 1 otherwise.
26435 Since it is used to check for mingw systems, and should return 0 in any
26436 other case, in case of a failure we will not use CRLF. */
26437 #include <sys/stat.h>
26438 #include <stdlib.h>
26439 #include <fcntl.h>
26440 #include <stdio.h>
26442 int main ()
26444 #ifndef O_BINARY
26445 exit(1);
26446 #else
26447 int fd, bytes;
26448 char buff[5];
26450 fd = open ("foo", O_WRONLY | O_CREAT | O_TRUNC, S_IRWXU);
26451 if (fd < 0)
26452 exit(1);
26453 if (write (fd, "\n", 1) < 0)
26454 perror ("write");
26456 close (fd);
26458 if ((fd = open ("foo", O_RDONLY | O_BINARY, S_IRWXU)) < 0)
26459 exit(1);
26460 bytes = read (fd, buff, 5);
26461 if (bytes == 2 && buff[0] == '\r' && buff[1] == '\n')
26462 exit(0);
26463 else
26464 exit(1);
26465 #endif
26467 _ACEOF
26468 if ac_fn_c_try_run "$LINENO"; then :
26469 libgfor_cv_have_crlf=yes
26470 else
26471 libgfor_cv_have_crlf=no
26473 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26474 conftest.$ac_objext conftest.beam conftest.$ac_ext
26478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_crlf" >&5
26479 $as_echo "$libgfor_cv_have_crlf" >&6; }
26480 if test x"$libgfor_cv_have_crlf" = xyes; then
26482 $as_echo "#define HAVE_CRLF 1" >>confdefs.h
26486 # Check whether we have _Unwind_GetIPInfo for backtrace
26489 # Check whether --with-system-libunwind was given.
26490 if test "${with_system_libunwind+set}" = set; then :
26491 withval=$with_system_libunwind;
26494 # If system-libunwind was not specifically set, pick a default setting.
26495 if test x$with_system_libunwind = x; then
26496 case ${target} in
26497 ia64-*-hpux*) with_system_libunwind=yes ;;
26498 *) with_system_libunwind=no ;;
26499 esac
26501 # Based on system-libunwind and target, do we have ipinfo?
26502 if test x$with_system_libunwind = xyes; then
26503 case ${target} in
26504 ia64-*-*) have_unwind_getipinfo=no ;;
26505 *) have_unwind_getipinfo=yes ;;
26506 esac
26507 else
26508 # Darwin before version 9 does not have _Unwind_GetIPInfo.
26510 case ${target} in
26511 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
26512 *) have_unwind_getipinfo=yes ;;
26513 esac
26517 if test x$have_unwind_getipinfo = xyes; then
26519 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
26524 cat >confcache <<\_ACEOF
26525 # This file is a shell script that caches the results of configure
26526 # tests run on this system so they can be shared between configure
26527 # scripts and configure runs, see configure's option --config-cache.
26528 # It is not useful on other systems. If it contains results you don't
26529 # want to keep, you may remove or edit it.
26531 # config.status only pays attention to the cache file if you give it
26532 # the --recheck option to rerun configure.
26534 # `ac_cv_env_foo' variables (set or unset) will be overridden when
26535 # loading this file, other *unset* `ac_cv_foo' will be assigned the
26536 # following values.
26538 _ACEOF
26540 # The following way of writing the cache mishandles newlines in values,
26541 # but we know of no workaround that is simple, portable, and efficient.
26542 # So, we kill variables containing newlines.
26543 # Ultrix sh set writes to stderr and can't be redirected directly,
26544 # and sets the high bit in the cache file unless we assign to the vars.
26546 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
26547 eval ac_val=\$$ac_var
26548 case $ac_val in #(
26549 *${as_nl}*)
26550 case $ac_var in #(
26551 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
26552 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
26553 esac
26554 case $ac_var in #(
26555 _ | IFS | as_nl) ;; #(
26556 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
26557 *) { eval $ac_var=; unset $ac_var;} ;;
26558 esac ;;
26559 esac
26560 done
26562 (set) 2>&1 |
26563 case $as_nl`(ac_space=' '; set) 2>&1` in #(
26564 *${as_nl}ac_space=\ *)
26565 # `set' does not quote correctly, so add quotes: double-quote
26566 # substitution turns \\\\ into \\, and sed turns \\ into \.
26567 sed -n \
26568 "s/'/'\\\\''/g;
26569 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26570 ;; #(
26572 # `set' quotes correctly as required by POSIX, so do not add quotes.
26573 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
26575 esac |
26576 sort
26578 sed '
26579 /^ac_cv_env_/b end
26580 t clear
26581 :clear
26582 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26583 t end
26584 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26585 :end' >>confcache
26586 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
26587 if test -w "$cache_file"; then
26588 test "x$cache_file" != "x/dev/null" &&
26589 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
26590 $as_echo "$as_me: updating cache $cache_file" >&6;}
26591 cat confcache >$cache_file
26592 else
26593 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
26594 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
26597 rm -f confcache
26599 if test ${multilib} = yes; then
26600 multilib_arg="--enable-multilib"
26601 else
26602 multilib_arg=
26605 # Write our Makefile and spec file.
26606 ac_config_files="$ac_config_files Makefile libgfortran.spec"
26608 cat >confcache <<\_ACEOF
26609 # This file is a shell script that caches the results of configure
26610 # tests run on this system so they can be shared between configure
26611 # scripts and configure runs, see configure's option --config-cache.
26612 # It is not useful on other systems. If it contains results you don't
26613 # want to keep, you may remove or edit it.
26615 # config.status only pays attention to the cache file if you give it
26616 # the --recheck option to rerun configure.
26618 # `ac_cv_env_foo' variables (set or unset) will be overridden when
26619 # loading this file, other *unset* `ac_cv_foo' will be assigned the
26620 # following values.
26622 _ACEOF
26624 # The following way of writing the cache mishandles newlines in values,
26625 # but we know of no workaround that is simple, portable, and efficient.
26626 # So, we kill variables containing newlines.
26627 # Ultrix sh set writes to stderr and can't be redirected directly,
26628 # and sets the high bit in the cache file unless we assign to the vars.
26630 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
26631 eval ac_val=\$$ac_var
26632 case $ac_val in #(
26633 *${as_nl}*)
26634 case $ac_var in #(
26635 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
26636 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
26637 esac
26638 case $ac_var in #(
26639 _ | IFS | as_nl) ;; #(
26640 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
26641 *) { eval $ac_var=; unset $ac_var;} ;;
26642 esac ;;
26643 esac
26644 done
26646 (set) 2>&1 |
26647 case $as_nl`(ac_space=' '; set) 2>&1` in #(
26648 *${as_nl}ac_space=\ *)
26649 # `set' does not quote correctly, so add quotes: double-quote
26650 # substitution turns \\\\ into \\, and sed turns \\ into \.
26651 sed -n \
26652 "s/'/'\\\\''/g;
26653 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26654 ;; #(
26656 # `set' quotes correctly as required by POSIX, so do not add quotes.
26657 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
26659 esac |
26660 sort
26662 sed '
26663 /^ac_cv_env_/b end
26664 t clear
26665 :clear
26666 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26667 t end
26668 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26669 :end' >>confcache
26670 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
26671 if test -w "$cache_file"; then
26672 test "x$cache_file" != "x/dev/null" &&
26673 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
26674 $as_echo "$as_me: updating cache $cache_file" >&6;}
26675 cat confcache >$cache_file
26676 else
26677 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
26678 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
26681 rm -f confcache
26683 test "x$prefix" = xNONE && prefix=$ac_default_prefix
26684 # Let make expand exec_prefix.
26685 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
26687 DEFS=-DHAVE_CONFIG_H
26689 ac_libobjs=
26690 ac_ltlibobjs=
26691 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
26692 # 1. Remove the extension, and $U if already installed.
26693 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
26694 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
26695 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
26696 # will be set to the directory where LIBOBJS objects are built.
26697 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
26698 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
26699 done
26700 LIBOBJS=$ac_libobjs
26702 LTLIBOBJS=$ac_ltlibobjs
26705 if test -z "${onestep_TRUE}" && test -z "${onestep_FALSE}"; then
26706 as_fn_error "conditional \"onestep\" was never defined.
26707 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26709 if test -n "$EXEEXT"; then
26710 am__EXEEXT_TRUE=
26711 am__EXEEXT_FALSE='#'
26712 else
26713 am__EXEEXT_TRUE='#'
26714 am__EXEEXT_FALSE=
26717 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
26718 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
26719 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26721 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
26722 as_fn_error "conditional \"AMDEP\" was never defined.
26723 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26725 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
26726 as_fn_error "conditional \"am__fastdepCC\" was never defined.
26727 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26729 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
26730 as_fn_error "conditional \"am__fastdepCC\" was never defined.
26731 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26733 if test -z "${LIBGFOR_USE_SYMVER_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_FALSE}"; then
26734 as_fn_error "conditional \"LIBGFOR_USE_SYMVER\" was never defined.
26735 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26737 if test -z "${LIBGFOR_USE_SYMVER_GNU_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_GNU_FALSE}"; then
26738 as_fn_error "conditional \"LIBGFOR_USE_SYMVER_GNU\" was never defined.
26739 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26741 if test -z "${LIBGFOR_USE_SYMVER_SUN_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_SUN_FALSE}"; then
26742 as_fn_error "conditional \"LIBGFOR_USE_SYMVER_SUN\" was never defined.
26743 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26745 if test -z "${LIBGFOR_BUILD_QUAD_TRUE}" && test -z "${LIBGFOR_BUILD_QUAD_FALSE}"; then
26746 as_fn_error "conditional \"LIBGFOR_BUILD_QUAD\" was never defined.
26747 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26750 : ${CONFIG_STATUS=./config.status}
26751 ac_write_fail=0
26752 ac_clean_files_save=$ac_clean_files
26753 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
26754 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
26755 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
26756 as_write_fail=0
26757 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
26758 #! $SHELL
26759 # Generated by $as_me.
26760 # Run this file to recreate the current configuration.
26761 # Compiler output produced by configure, useful for debugging
26762 # configure, is in config.log if it exists.
26764 debug=false
26765 ac_cs_recheck=false
26766 ac_cs_silent=false
26768 SHELL=\${CONFIG_SHELL-$SHELL}
26769 export SHELL
26770 _ASEOF
26771 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
26772 ## -------------------- ##
26773 ## M4sh Initialization. ##
26774 ## -------------------- ##
26776 # Be more Bourne compatible
26777 DUALCASE=1; export DUALCASE # for MKS sh
26778 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
26779 emulate sh
26780 NULLCMD=:
26781 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26782 # is contrary to our usage. Disable this feature.
26783 alias -g '${1+"$@"}'='"$@"'
26784 setopt NO_GLOB_SUBST
26785 else
26786 case `(set -o) 2>/dev/null` in #(
26787 *posix*) :
26788 set -o posix ;; #(
26789 *) :
26791 esac
26795 as_nl='
26797 export as_nl
26798 # Printing a long string crashes Solaris 7 /usr/bin/printf.
26799 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
26800 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
26801 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
26802 # Prefer a ksh shell builtin over an external printf program on Solaris,
26803 # but without wasting forks for bash or zsh.
26804 if test -z "$BASH_VERSION$ZSH_VERSION" \
26805 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
26806 as_echo='print -r --'
26807 as_echo_n='print -rn --'
26808 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
26809 as_echo='printf %s\n'
26810 as_echo_n='printf %s'
26811 else
26812 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
26813 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
26814 as_echo_n='/usr/ucb/echo -n'
26815 else
26816 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
26817 as_echo_n_body='eval
26818 arg=$1;
26819 case $arg in #(
26820 *"$as_nl"*)
26821 expr "X$arg" : "X\\(.*\\)$as_nl";
26822 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
26823 esac;
26824 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
26826 export as_echo_n_body
26827 as_echo_n='sh -c $as_echo_n_body as_echo'
26829 export as_echo_body
26830 as_echo='sh -c $as_echo_body as_echo'
26833 # The user is always right.
26834 if test "${PATH_SEPARATOR+set}" != set; then
26835 PATH_SEPARATOR=:
26836 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
26837 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
26838 PATH_SEPARATOR=';'
26843 # IFS
26844 # We need space, tab and new line, in precisely that order. Quoting is
26845 # there to prevent editors from complaining about space-tab.
26846 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
26847 # splitting by setting IFS to empty value.)
26848 IFS=" "" $as_nl"
26850 # Find who we are. Look in the path if we contain no directory separator.
26851 case $0 in #((
26852 *[\\/]* ) as_myself=$0 ;;
26853 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26854 for as_dir in $PATH
26856 IFS=$as_save_IFS
26857 test -z "$as_dir" && as_dir=.
26858 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
26859 done
26860 IFS=$as_save_IFS
26863 esac
26864 # We did not find ourselves, most probably we were run as `sh COMMAND'
26865 # in which case we are not to be found in the path.
26866 if test "x$as_myself" = x; then
26867 as_myself=$0
26869 if test ! -f "$as_myself"; then
26870 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
26871 exit 1
26874 # Unset variables that we do not need and which cause bugs (e.g. in
26875 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
26876 # suppresses any "Segmentation fault" message there. '((' could
26877 # trigger a bug in pdksh 5.2.14.
26878 for as_var in BASH_ENV ENV MAIL MAILPATH
26879 do eval test x\${$as_var+set} = xset \
26880 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
26881 done
26882 PS1='$ '
26883 PS2='> '
26884 PS4='+ '
26886 # NLS nuisances.
26887 LC_ALL=C
26888 export LC_ALL
26889 LANGUAGE=C
26890 export LANGUAGE
26892 # CDPATH.
26893 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
26896 # as_fn_error ERROR [LINENO LOG_FD]
26897 # ---------------------------------
26898 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
26899 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
26900 # script with status $?, using 1 if that was 0.
26901 as_fn_error ()
26903 as_status=$?; test $as_status -eq 0 && as_status=1
26904 if test "$3"; then
26905 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
26906 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
26908 $as_echo "$as_me: error: $1" >&2
26909 as_fn_exit $as_status
26910 } # as_fn_error
26913 # as_fn_set_status STATUS
26914 # -----------------------
26915 # Set $? to STATUS, without forking.
26916 as_fn_set_status ()
26918 return $1
26919 } # as_fn_set_status
26921 # as_fn_exit STATUS
26922 # -----------------
26923 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
26924 as_fn_exit ()
26926 set +e
26927 as_fn_set_status $1
26928 exit $1
26929 } # as_fn_exit
26931 # as_fn_unset VAR
26932 # ---------------
26933 # Portably unset VAR.
26934 as_fn_unset ()
26936 { eval $1=; unset $1;}
26938 as_unset=as_fn_unset
26939 # as_fn_append VAR VALUE
26940 # ----------------------
26941 # Append the text in VALUE to the end of the definition contained in VAR. Take
26942 # advantage of any shell optimizations that allow amortized linear growth over
26943 # repeated appends, instead of the typical quadratic growth present in naive
26944 # implementations.
26945 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
26946 eval 'as_fn_append ()
26948 eval $1+=\$2
26950 else
26951 as_fn_append ()
26953 eval $1=\$$1\$2
26955 fi # as_fn_append
26957 # as_fn_arith ARG...
26958 # ------------------
26959 # Perform arithmetic evaluation on the ARGs, and store the result in the
26960 # global $as_val. Take advantage of shells that can avoid forks. The arguments
26961 # must be portable across $(()) and expr.
26962 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
26963 eval 'as_fn_arith ()
26965 as_val=$(( $* ))
26967 else
26968 as_fn_arith ()
26970 as_val=`expr "$@" || test $? -eq 1`
26972 fi # as_fn_arith
26975 if expr a : '\(a\)' >/dev/null 2>&1 &&
26976 test "X`expr 00001 : '.*\(...\)'`" = X001; then
26977 as_expr=expr
26978 else
26979 as_expr=false
26982 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
26983 as_basename=basename
26984 else
26985 as_basename=false
26988 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
26989 as_dirname=dirname
26990 else
26991 as_dirname=false
26994 as_me=`$as_basename -- "$0" ||
26995 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
26996 X"$0" : 'X\(//\)$' \| \
26997 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
26998 $as_echo X/"$0" |
26999 sed '/^.*\/\([^/][^/]*\)\/*$/{
27000 s//\1/
27003 /^X\/\(\/\/\)$/{
27004 s//\1/
27007 /^X\/\(\/\).*/{
27008 s//\1/
27011 s/.*/./; q'`
27013 # Avoid depending upon Character Ranges.
27014 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
27015 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
27016 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
27017 as_cr_digits='0123456789'
27018 as_cr_alnum=$as_cr_Letters$as_cr_digits
27020 ECHO_C= ECHO_N= ECHO_T=
27021 case `echo -n x` in #(((((
27022 -n*)
27023 case `echo 'xy\c'` in
27024 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
27025 xy) ECHO_C='\c';;
27026 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
27027 ECHO_T=' ';;
27028 esac;;
27030 ECHO_N='-n';;
27031 esac
27033 rm -f conf$$ conf$$.exe conf$$.file
27034 if test -d conf$$.dir; then
27035 rm -f conf$$.dir/conf$$.file
27036 else
27037 rm -f conf$$.dir
27038 mkdir conf$$.dir 2>/dev/null
27040 if (echo >conf$$.file) 2>/dev/null; then
27041 if ln -s conf$$.file conf$$ 2>/dev/null; then
27042 as_ln_s='ln -s'
27043 # ... but there are two gotchas:
27044 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
27045 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
27046 # In both cases, we have to default to `cp -p'.
27047 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
27048 as_ln_s='cp -p'
27049 elif ln conf$$.file conf$$ 2>/dev/null; then
27050 as_ln_s=ln
27051 else
27052 as_ln_s='cp -p'
27054 else
27055 as_ln_s='cp -p'
27057 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
27058 rmdir conf$$.dir 2>/dev/null
27061 # as_fn_mkdir_p
27062 # -------------
27063 # Create "$as_dir" as a directory, including parents if necessary.
27064 as_fn_mkdir_p ()
27067 case $as_dir in #(
27068 -*) as_dir=./$as_dir;;
27069 esac
27070 test -d "$as_dir" || eval $as_mkdir_p || {
27071 as_dirs=
27072 while :; do
27073 case $as_dir in #(
27074 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
27075 *) as_qdir=$as_dir;;
27076 esac
27077 as_dirs="'$as_qdir' $as_dirs"
27078 as_dir=`$as_dirname -- "$as_dir" ||
27079 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27080 X"$as_dir" : 'X\(//\)[^/]' \| \
27081 X"$as_dir" : 'X\(//\)$' \| \
27082 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
27083 $as_echo X"$as_dir" |
27084 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27085 s//\1/
27088 /^X\(\/\/\)[^/].*/{
27089 s//\1/
27092 /^X\(\/\/\)$/{
27093 s//\1/
27096 /^X\(\/\).*/{
27097 s//\1/
27100 s/.*/./; q'`
27101 test -d "$as_dir" && break
27102 done
27103 test -z "$as_dirs" || eval "mkdir $as_dirs"
27104 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
27107 } # as_fn_mkdir_p
27108 if mkdir -p . 2>/dev/null; then
27109 as_mkdir_p='mkdir -p "$as_dir"'
27110 else
27111 test -d ./-p && rmdir ./-p
27112 as_mkdir_p=false
27115 if test -x / >/dev/null 2>&1; then
27116 as_test_x='test -x'
27117 else
27118 if ls -dL / >/dev/null 2>&1; then
27119 as_ls_L_option=L
27120 else
27121 as_ls_L_option=
27123 as_test_x='
27124 eval sh -c '\''
27125 if test -d "$1"; then
27126 test -d "$1/.";
27127 else
27128 case $1 in #(
27129 -*)set "./$1";;
27130 esac;
27131 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
27132 ???[sx]*):;;*)false;;esac;fi
27133 '\'' sh
27136 as_executable_p=$as_test_x
27138 # Sed expression to map a string onto a valid CPP name.
27139 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
27141 # Sed expression to map a string onto a valid variable name.
27142 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
27145 exec 6>&1
27146 ## ----------------------------------- ##
27147 ## Main body of $CONFIG_STATUS script. ##
27148 ## ----------------------------------- ##
27149 _ASEOF
27150 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
27152 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27153 # Save the log message, to keep $0 and so on meaningful, and to
27154 # report actual input values of CONFIG_FILES etc. instead of their
27155 # values after options handling.
27156 ac_log="
27157 This file was extended by GNU Fortran Runtime Library $as_me 0.3, which was
27158 generated by GNU Autoconf 2.64. Invocation command line was
27160 CONFIG_FILES = $CONFIG_FILES
27161 CONFIG_HEADERS = $CONFIG_HEADERS
27162 CONFIG_LINKS = $CONFIG_LINKS
27163 CONFIG_COMMANDS = $CONFIG_COMMANDS
27164 $ $0 $@
27166 on `(hostname || uname -n) 2>/dev/null | sed 1q`
27169 _ACEOF
27171 case $ac_config_files in *"
27172 "*) set x $ac_config_files; shift; ac_config_files=$*;;
27173 esac
27175 case $ac_config_headers in *"
27176 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
27177 esac
27180 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27181 # Files that config.status was made for.
27182 config_files="$ac_config_files"
27183 config_headers="$ac_config_headers"
27184 config_commands="$ac_config_commands"
27186 _ACEOF
27188 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27189 ac_cs_usage="\
27190 \`$as_me' instantiates files and other configuration actions
27191 from templates according to the current configuration. Unless the files
27192 and actions are specified as TAGs, all are instantiated by default.
27194 Usage: $0 [OPTION]... [TAG]...
27196 -h, --help print this help, then exit
27197 -V, --version print version number and configuration settings, then exit
27198 -q, --quiet, --silent
27199 do not print progress messages
27200 -d, --debug don't remove temporary files
27201 --recheck update $as_me by reconfiguring in the same conditions
27202 --file=FILE[:TEMPLATE]
27203 instantiate the configuration file FILE
27204 --header=FILE[:TEMPLATE]
27205 instantiate the configuration header FILE
27207 Configuration files:
27208 $config_files
27210 Configuration headers:
27211 $config_headers
27213 Configuration commands:
27214 $config_commands
27216 Report bugs to the package provider.
27217 GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
27218 General help using GNU software: <http://www.gnu.org/gethelp/>."
27220 _ACEOF
27221 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27222 ac_cs_version="\\
27223 GNU Fortran Runtime Library config.status 0.3
27224 configured by $0, generated by GNU Autoconf 2.64,
27225 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
27227 Copyright (C) 2009 Free Software Foundation, Inc.
27228 This config.status script is free software; the Free Software Foundation
27229 gives unlimited permission to copy, distribute and modify it."
27231 ac_pwd='$ac_pwd'
27232 srcdir='$srcdir'
27233 INSTALL='$INSTALL'
27234 MKDIR_P='$MKDIR_P'
27235 AWK='$AWK'
27236 test -n "\$AWK" || AWK=awk
27237 _ACEOF
27239 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27240 # The default lists apply if the user does not specify any file.
27241 ac_need_defaults=:
27242 while test $# != 0
27244 case $1 in
27245 --*=*)
27246 ac_option=`expr "X$1" : 'X\([^=]*\)='`
27247 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
27248 ac_shift=:
27251 ac_option=$1
27252 ac_optarg=$2
27253 ac_shift=shift
27255 esac
27257 case $ac_option in
27258 # Handling of the options.
27259 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
27260 ac_cs_recheck=: ;;
27261 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
27262 $as_echo "$ac_cs_version"; exit ;;
27263 --debug | --debu | --deb | --de | --d | -d )
27264 debug=: ;;
27265 --file | --fil | --fi | --f )
27266 $ac_shift
27267 case $ac_optarg in
27268 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
27269 esac
27270 as_fn_append CONFIG_FILES " '$ac_optarg'"
27271 ac_need_defaults=false;;
27272 --header | --heade | --head | --hea )
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_HEADERS " '$ac_optarg'"
27278 ac_need_defaults=false;;
27279 --he | --h)
27280 # Conflict between --help and --header
27281 as_fn_error "ambiguous option: \`$1'
27282 Try \`$0 --help' for more information.";;
27283 --help | --hel | -h )
27284 $as_echo "$ac_cs_usage"; exit ;;
27285 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
27286 | -silent | --silent | --silen | --sile | --sil | --si | --s)
27287 ac_cs_silent=: ;;
27289 # This is an error.
27290 -*) as_fn_error "unrecognized option: \`$1'
27291 Try \`$0 --help' for more information." ;;
27293 *) as_fn_append ac_config_targets " $1"
27294 ac_need_defaults=false ;;
27296 esac
27297 shift
27298 done
27300 ac_configure_extra_args=
27302 if $ac_cs_silent; then
27303 exec 6>/dev/null
27304 ac_configure_extra_args="$ac_configure_extra_args --silent"
27307 _ACEOF
27308 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27309 if \$ac_cs_recheck; then
27310 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
27311 shift
27312 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
27313 CONFIG_SHELL='$SHELL'
27314 export CONFIG_SHELL
27315 exec "\$@"
27318 _ACEOF
27319 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27320 exec 5>>config.log
27322 echo
27323 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
27324 ## Running $as_me. ##
27325 _ASBOX
27326 $as_echo "$ac_log"
27327 } >&5
27329 _ACEOF
27330 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27332 # INIT-COMMANDS
27335 srcdir="$srcdir"
27336 host="$host"
27337 target="$target"
27338 with_multisubdir="$with_multisubdir"
27339 with_multisrctop="$with_multisrctop"
27340 with_target_subdir="$with_target_subdir"
27341 ac_configure_args="${multilib_arg} ${ac_configure_args}"
27342 multi_basedir="$multi_basedir"
27343 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
27344 CC="$CC"
27345 CXX="$CXX"
27346 GFORTRAN="$GFORTRAN"
27347 GCJ="$GCJ"
27348 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
27351 # The HP-UX ksh and POSIX shell print the target directory to stdout
27352 # if CDPATH is set.
27353 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
27355 sed_quote_subst='$sed_quote_subst'
27356 double_quote_subst='$double_quote_subst'
27357 delay_variable_subst='$delay_variable_subst'
27358 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
27359 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
27360 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
27361 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
27362 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
27363 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
27364 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
27365 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
27366 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
27367 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
27368 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
27369 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
27370 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
27371 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
27372 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
27373 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
27374 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
27375 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
27376 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
27377 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
27378 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
27379 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
27380 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
27381 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
27382 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
27383 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
27384 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
27385 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
27386 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
27387 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
27388 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
27389 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
27390 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
27391 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
27392 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
27393 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
27394 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
27395 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
27396 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
27397 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
27398 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
27399 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
27400 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
27401 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
27402 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
27403 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
27404 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
27405 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
27406 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"`'
27407 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
27408 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
27409 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
27410 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
27411 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
27412 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
27413 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
27414 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
27415 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
27416 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
27417 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
27418 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
27419 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
27420 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
27421 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
27422 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
27423 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
27424 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
27425 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
27426 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
27427 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
27428 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
27429 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
27430 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
27431 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
27432 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
27433 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
27434 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
27435 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
27436 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
27437 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
27438 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
27439 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
27440 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
27441 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
27442 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
27443 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
27444 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
27445 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
27446 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
27447 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
27448 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
27449 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
27450 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
27451 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
27452 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
27453 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
27454 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
27455 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
27456 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
27457 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
27458 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
27459 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
27460 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
27461 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
27462 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
27463 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
27464 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
27465 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
27466 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
27467 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
27468 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
27469 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
27470 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
27471 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
27472 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
27473 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
27474 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
27475 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
27476 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
27477 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
27478 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
27479 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
27480 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
27481 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
27482 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
27483 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
27484 LD_FC='`$ECHO "$LD_FC" | $SED "$delay_single_quote_subst"`'
27485 reload_flag_FC='`$ECHO "$reload_flag_FC" | $SED "$delay_single_quote_subst"`'
27486 reload_cmds_FC='`$ECHO "$reload_cmds_FC" | $SED "$delay_single_quote_subst"`'
27487 old_archive_cmds_FC='`$ECHO "$old_archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
27488 compiler_FC='`$ECHO "$compiler_FC" | $SED "$delay_single_quote_subst"`'
27489 GCC_FC='`$ECHO "$GCC_FC" | $SED "$delay_single_quote_subst"`'
27490 lt_prog_compiler_no_builtin_flag_FC='`$ECHO "$lt_prog_compiler_no_builtin_flag_FC" | $SED "$delay_single_quote_subst"`'
27491 lt_prog_compiler_wl_FC='`$ECHO "$lt_prog_compiler_wl_FC" | $SED "$delay_single_quote_subst"`'
27492 lt_prog_compiler_pic_FC='`$ECHO "$lt_prog_compiler_pic_FC" | $SED "$delay_single_quote_subst"`'
27493 lt_prog_compiler_static_FC='`$ECHO "$lt_prog_compiler_static_FC" | $SED "$delay_single_quote_subst"`'
27494 lt_cv_prog_compiler_c_o_FC='`$ECHO "$lt_cv_prog_compiler_c_o_FC" | $SED "$delay_single_quote_subst"`'
27495 archive_cmds_need_lc_FC='`$ECHO "$archive_cmds_need_lc_FC" | $SED "$delay_single_quote_subst"`'
27496 enable_shared_with_static_runtimes_FC='`$ECHO "$enable_shared_with_static_runtimes_FC" | $SED "$delay_single_quote_subst"`'
27497 export_dynamic_flag_spec_FC='`$ECHO "$export_dynamic_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
27498 whole_archive_flag_spec_FC='`$ECHO "$whole_archive_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
27499 compiler_needs_object_FC='`$ECHO "$compiler_needs_object_FC" | $SED "$delay_single_quote_subst"`'
27500 old_archive_from_new_cmds_FC='`$ECHO "$old_archive_from_new_cmds_FC" | $SED "$delay_single_quote_subst"`'
27501 old_archive_from_expsyms_cmds_FC='`$ECHO "$old_archive_from_expsyms_cmds_FC" | $SED "$delay_single_quote_subst"`'
27502 archive_cmds_FC='`$ECHO "$archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
27503 archive_expsym_cmds_FC='`$ECHO "$archive_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
27504 module_cmds_FC='`$ECHO "$module_cmds_FC" | $SED "$delay_single_quote_subst"`'
27505 module_expsym_cmds_FC='`$ECHO "$module_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
27506 with_gnu_ld_FC='`$ECHO "$with_gnu_ld_FC" | $SED "$delay_single_quote_subst"`'
27507 allow_undefined_flag_FC='`$ECHO "$allow_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
27508 no_undefined_flag_FC='`$ECHO "$no_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
27509 hardcode_libdir_flag_spec_FC='`$ECHO "$hardcode_libdir_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
27510 hardcode_libdir_flag_spec_ld_FC='`$ECHO "$hardcode_libdir_flag_spec_ld_FC" | $SED "$delay_single_quote_subst"`'
27511 hardcode_libdir_separator_FC='`$ECHO "$hardcode_libdir_separator_FC" | $SED "$delay_single_quote_subst"`'
27512 hardcode_direct_FC='`$ECHO "$hardcode_direct_FC" | $SED "$delay_single_quote_subst"`'
27513 hardcode_direct_absolute_FC='`$ECHO "$hardcode_direct_absolute_FC" | $SED "$delay_single_quote_subst"`'
27514 hardcode_minus_L_FC='`$ECHO "$hardcode_minus_L_FC" | $SED "$delay_single_quote_subst"`'
27515 hardcode_shlibpath_var_FC='`$ECHO "$hardcode_shlibpath_var_FC" | $SED "$delay_single_quote_subst"`'
27516 hardcode_automatic_FC='`$ECHO "$hardcode_automatic_FC" | $SED "$delay_single_quote_subst"`'
27517 inherit_rpath_FC='`$ECHO "$inherit_rpath_FC" | $SED "$delay_single_quote_subst"`'
27518 link_all_deplibs_FC='`$ECHO "$link_all_deplibs_FC" | $SED "$delay_single_quote_subst"`'
27519 fix_srcfile_path_FC='`$ECHO "$fix_srcfile_path_FC" | $SED "$delay_single_quote_subst"`'
27520 always_export_symbols_FC='`$ECHO "$always_export_symbols_FC" | $SED "$delay_single_quote_subst"`'
27521 export_symbols_cmds_FC='`$ECHO "$export_symbols_cmds_FC" | $SED "$delay_single_quote_subst"`'
27522 exclude_expsyms_FC='`$ECHO "$exclude_expsyms_FC" | $SED "$delay_single_quote_subst"`'
27523 include_expsyms_FC='`$ECHO "$include_expsyms_FC" | $SED "$delay_single_quote_subst"`'
27524 prelink_cmds_FC='`$ECHO "$prelink_cmds_FC" | $SED "$delay_single_quote_subst"`'
27525 file_list_spec_FC='`$ECHO "$file_list_spec_FC" | $SED "$delay_single_quote_subst"`'
27526 hardcode_action_FC='`$ECHO "$hardcode_action_FC" | $SED "$delay_single_quote_subst"`'
27527 compiler_lib_search_dirs_FC='`$ECHO "$compiler_lib_search_dirs_FC" | $SED "$delay_single_quote_subst"`'
27528 predep_objects_FC='`$ECHO "$predep_objects_FC" | $SED "$delay_single_quote_subst"`'
27529 postdep_objects_FC='`$ECHO "$postdep_objects_FC" | $SED "$delay_single_quote_subst"`'
27530 predeps_FC='`$ECHO "$predeps_FC" | $SED "$delay_single_quote_subst"`'
27531 postdeps_FC='`$ECHO "$postdeps_FC" | $SED "$delay_single_quote_subst"`'
27532 compiler_lib_search_path_FC='`$ECHO "$compiler_lib_search_path_FC" | $SED "$delay_single_quote_subst"`'
27534 LTCC='$LTCC'
27535 LTCFLAGS='$LTCFLAGS'
27536 compiler='$compiler_DEFAULT'
27538 # A function that is used when there is no print builtin or printf.
27539 func_fallback_echo ()
27541 eval 'cat <<_LTECHO_EOF
27543 _LTECHO_EOF'
27546 # Quote evaled strings.
27547 for var in SHELL \
27548 ECHO \
27549 SED \
27550 GREP \
27551 EGREP \
27552 FGREP \
27553 LD \
27554 NM \
27555 LN_S \
27556 lt_SP2NL \
27557 lt_NL2SP \
27558 reload_flag \
27559 OBJDUMP \
27560 deplibs_check_method \
27561 file_magic_cmd \
27562 AR \
27563 AR_FLAGS \
27564 STRIP \
27565 RANLIB \
27566 CC \
27567 CFLAGS \
27568 compiler \
27569 lt_cv_sys_global_symbol_pipe \
27570 lt_cv_sys_global_symbol_to_cdecl \
27571 lt_cv_sys_global_symbol_to_c_name_address \
27572 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
27573 lt_prog_compiler_no_builtin_flag \
27574 lt_prog_compiler_wl \
27575 lt_prog_compiler_pic \
27576 lt_prog_compiler_static \
27577 lt_cv_prog_compiler_c_o \
27578 need_locks \
27579 DSYMUTIL \
27580 NMEDIT \
27581 LIPO \
27582 OTOOL \
27583 OTOOL64 \
27584 shrext_cmds \
27585 export_dynamic_flag_spec \
27586 whole_archive_flag_spec \
27587 compiler_needs_object \
27588 with_gnu_ld \
27589 allow_undefined_flag \
27590 no_undefined_flag \
27591 hardcode_libdir_flag_spec \
27592 hardcode_libdir_flag_spec_ld \
27593 hardcode_libdir_separator \
27594 fix_srcfile_path \
27595 exclude_expsyms \
27596 include_expsyms \
27597 file_list_spec \
27598 variables_saved_for_relink \
27599 libname_spec \
27600 library_names_spec \
27601 soname_spec \
27602 install_override_mode \
27603 finish_eval \
27604 old_striplib \
27605 striplib \
27606 compiler_lib_search_dirs \
27607 predep_objects \
27608 postdep_objects \
27609 predeps \
27610 postdeps \
27611 compiler_lib_search_path \
27612 LD_FC \
27613 reload_flag_FC \
27614 compiler_FC \
27615 lt_prog_compiler_no_builtin_flag_FC \
27616 lt_prog_compiler_wl_FC \
27617 lt_prog_compiler_pic_FC \
27618 lt_prog_compiler_static_FC \
27619 lt_cv_prog_compiler_c_o_FC \
27620 export_dynamic_flag_spec_FC \
27621 whole_archive_flag_spec_FC \
27622 compiler_needs_object_FC \
27623 with_gnu_ld_FC \
27624 allow_undefined_flag_FC \
27625 no_undefined_flag_FC \
27626 hardcode_libdir_flag_spec_FC \
27627 hardcode_libdir_flag_spec_ld_FC \
27628 hardcode_libdir_separator_FC \
27629 fix_srcfile_path_FC \
27630 exclude_expsyms_FC \
27631 include_expsyms_FC \
27632 file_list_spec_FC \
27633 compiler_lib_search_dirs_FC \
27634 predep_objects_FC \
27635 postdep_objects_FC \
27636 predeps_FC \
27637 postdeps_FC \
27638 compiler_lib_search_path_FC; do
27639 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
27640 *[\\\\\\\`\\"\\\$]*)
27641 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
27644 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
27646 esac
27647 done
27649 # Double-quote double-evaled strings.
27650 for var in reload_cmds \
27651 old_postinstall_cmds \
27652 old_postuninstall_cmds \
27653 old_archive_cmds \
27654 extract_expsyms_cmds \
27655 old_archive_from_new_cmds \
27656 old_archive_from_expsyms_cmds \
27657 archive_cmds \
27658 archive_expsym_cmds \
27659 module_cmds \
27660 module_expsym_cmds \
27661 export_symbols_cmds \
27662 prelink_cmds \
27663 postinstall_cmds \
27664 postuninstall_cmds \
27665 finish_cmds \
27666 sys_lib_search_path_spec \
27667 sys_lib_dlsearch_path_spec \
27668 reload_cmds_FC \
27669 old_archive_cmds_FC \
27670 old_archive_from_new_cmds_FC \
27671 old_archive_from_expsyms_cmds_FC \
27672 archive_cmds_FC \
27673 archive_expsym_cmds_FC \
27674 module_cmds_FC \
27675 module_expsym_cmds_FC \
27676 export_symbols_cmds_FC \
27677 prelink_cmds_FC; do
27678 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
27679 *[\\\\\\\`\\"\\\$]*)
27680 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
27683 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
27685 esac
27686 done
27688 ac_aux_dir='$ac_aux_dir'
27689 xsi_shell='$xsi_shell'
27690 lt_shell_append='$lt_shell_append'
27692 # See if we are running on zsh, and set the options which allow our
27693 # commands through without removal of \ escapes INIT.
27694 if test -n "\${ZSH_VERSION+set}" ; then
27695 setopt NO_GLOB_SUBST
27699 PACKAGE='$PACKAGE'
27700 VERSION='$VERSION'
27701 TIMESTAMP='$TIMESTAMP'
27702 RM='$RM'
27703 ofile='$ofile'
27710 GCC="$GCC"
27711 CC="$CC"
27712 acx_cv_header_stdint="$acx_cv_header_stdint"
27713 acx_cv_type_int8_t="$acx_cv_type_int8_t"
27714 acx_cv_type_int16_t="$acx_cv_type_int16_t"
27715 acx_cv_type_int32_t="$acx_cv_type_int32_t"
27716 acx_cv_type_int64_t="$acx_cv_type_int64_t"
27717 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
27718 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
27719 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
27720 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
27721 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
27722 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
27723 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
27724 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
27725 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
27728 _ACEOF
27730 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27732 # Handling of arguments.
27733 for ac_config_target in $ac_config_targets
27735 case $ac_config_target in
27736 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
27737 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
27738 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
27739 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
27740 "gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS gstdint.h" ;;
27741 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
27742 "libgfortran.spec") CONFIG_FILES="$CONFIG_FILES libgfortran.spec" ;;
27744 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
27745 esac
27746 done
27749 # If the user did not use the arguments to specify the items to instantiate,
27750 # then the envvar interface is used. Set only those that are not.
27751 # We use the long form for the default assignment because of an extremely
27752 # bizarre bug on SunOS 4.1.3.
27753 if $ac_need_defaults; then
27754 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
27755 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
27756 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
27759 # Have a temporary directory for convenience. Make it in the build tree
27760 # simply because there is no reason against having it here, and in addition,
27761 # creating and moving files from /tmp can sometimes cause problems.
27762 # Hook for its removal unless debugging.
27763 # Note that there is a small window in which the directory will not be cleaned:
27764 # after its creation but before its name has been assigned to `$tmp'.
27765 $debug ||
27767 tmp=
27768 trap 'exit_status=$?
27769 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
27771 trap 'as_fn_exit 1' 1 2 13 15
27773 # Create a (secure) tmp directory for tmp files.
27776 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
27777 test -n "$tmp" && test -d "$tmp"
27778 } ||
27780 tmp=./conf$$-$RANDOM
27781 (umask 077 && mkdir "$tmp")
27782 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
27784 # Set up the scripts for CONFIG_FILES section.
27785 # No need to generate them if there are no CONFIG_FILES.
27786 # This happens for instance with `./config.status config.h'.
27787 if test -n "$CONFIG_FILES"; then
27790 ac_cr=`echo X | tr X '\015'`
27791 # On cygwin, bash can eat \r inside `` if the user requested igncr.
27792 # But we know of no other shell where ac_cr would be empty at this
27793 # point, so we can use a bashism as a fallback.
27794 if test "x$ac_cr" = x; then
27795 eval ac_cr=\$\'\\r\'
27797 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
27798 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
27799 ac_cs_awk_cr='\r'
27800 else
27801 ac_cs_awk_cr=$ac_cr
27804 echo 'BEGIN {' >"$tmp/subs1.awk" &&
27805 _ACEOF
27809 echo "cat >conf$$subs.awk <<_ACEOF" &&
27810 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
27811 echo "_ACEOF"
27812 } >conf$$subs.sh ||
27813 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
27814 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
27815 ac_delim='%!_!# '
27816 for ac_last_try in false false false false false :; do
27817 . ./conf$$subs.sh ||
27818 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
27820 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
27821 if test $ac_delim_n = $ac_delim_num; then
27822 break
27823 elif $ac_last_try; then
27824 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
27825 else
27826 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
27828 done
27829 rm -f conf$$subs.sh
27831 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27832 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
27833 _ACEOF
27834 sed -n '
27836 s/^/S["/; s/!.*/"]=/
27839 s/^[^!]*!//
27840 :repl
27841 t repl
27842 s/'"$ac_delim"'$//
27843 t delim
27846 s/\(.\{148\}\).*/\1/
27847 t more1
27848 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
27851 b repl
27852 :more1
27853 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
27856 s/.\{148\}//
27857 t nl
27858 :delim
27860 s/\(.\{148\}\).*/\1/
27861 t more2
27862 s/["\\]/\\&/g; s/^/"/; s/$/"/
27865 :more2
27866 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
27869 s/.\{148\}//
27870 t delim
27871 ' <conf$$subs.awk | sed '
27872 /^[^""]/{
27874 s/\n//
27876 ' >>$CONFIG_STATUS || ac_write_fail=1
27877 rm -f conf$$subs.awk
27878 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27879 _ACAWK
27880 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
27881 for (key in S) S_is_set[key] = 1
27882 FS = "\a"
27886 line = $ 0
27887 nfields = split(line, field, "@")
27888 substed = 0
27889 len = length(field[1])
27890 for (i = 2; i < nfields; i++) {
27891 key = field[i]
27892 keylen = length(key)
27893 if (S_is_set[key]) {
27894 value = S[key]
27895 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
27896 len += length(value) + length(field[++i])
27897 substed = 1
27898 } else
27899 len += 1 + keylen
27902 print line
27905 _ACAWK
27906 _ACEOF
27907 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27908 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
27909 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
27910 else
27912 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
27913 || as_fn_error "could not setup config files machinery" "$LINENO" 5
27914 _ACEOF
27916 # VPATH may cause trouble with some makes, so we remove $(srcdir),
27917 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
27918 # trailing colons and then remove the whole line if VPATH becomes empty
27919 # (actually we leave an empty line to preserve line numbers).
27920 if test "x$srcdir" = x.; then
27921 ac_vpsub='/^[ ]*VPATH[ ]*=/{
27922 s/:*\$(srcdir):*/:/
27923 s/:*\${srcdir}:*/:/
27924 s/:*@srcdir@:*/:/
27925 s/^\([^=]*=[ ]*\):*/\1/
27926 s/:*$//
27927 s/^[^=]*=[ ]*$//
27931 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27932 fi # test -n "$CONFIG_FILES"
27934 # Set up the scripts for CONFIG_HEADERS section.
27935 # No need to generate them if there are no CONFIG_HEADERS.
27936 # This happens for instance with `./config.status Makefile'.
27937 if test -n "$CONFIG_HEADERS"; then
27938 cat >"$tmp/defines.awk" <<\_ACAWK ||
27939 BEGIN {
27940 _ACEOF
27942 # Transform confdefs.h into an awk script `defines.awk', embedded as
27943 # here-document in config.status, that substitutes the proper values into
27944 # config.h.in to produce config.h.
27946 # Create a delimiter string that does not exist in confdefs.h, to ease
27947 # handling of long lines.
27948 ac_delim='%!_!# '
27949 for ac_last_try in false false :; do
27950 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
27951 if test -z "$ac_t"; then
27952 break
27953 elif $ac_last_try; then
27954 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
27955 else
27956 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
27958 done
27960 # For the awk script, D is an array of macro values keyed by name,
27961 # likewise P contains macro parameters if any. Preserve backslash
27962 # newline sequences.
27964 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
27965 sed -n '
27966 s/.\{148\}/&'"$ac_delim"'/g
27967 t rset
27968 :rset
27969 s/^[ ]*#[ ]*define[ ][ ]*/ /
27970 t def
27972 :def
27973 s/\\$//
27974 t bsnl
27975 s/["\\]/\\&/g
27976 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
27977 D["\1"]=" \3"/p
27978 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
27980 :bsnl
27981 s/["\\]/\\&/g
27982 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
27983 D["\1"]=" \3\\\\\\n"\\/p
27984 t cont
27985 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
27986 t cont
27988 :cont
27990 s/.\{148\}/&'"$ac_delim"'/g
27991 t clear
27992 :clear
27993 s/\\$//
27994 t bsnlc
27995 s/["\\]/\\&/g; s/^/"/; s/$/"/p
27997 :bsnlc
27998 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
27999 b cont
28000 ' <confdefs.h | sed '
28001 s/'"$ac_delim"'/"\\\
28002 "/g' >>$CONFIG_STATUS || ac_write_fail=1
28004 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28005 for (key in D) D_is_set[key] = 1
28006 FS = "\a"
28008 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
28009 line = \$ 0
28010 split(line, arg, " ")
28011 if (arg[1] == "#") {
28012 defundef = arg[2]
28013 mac1 = arg[3]
28014 } else {
28015 defundef = substr(arg[1], 2)
28016 mac1 = arg[2]
28018 split(mac1, mac2, "(") #)
28019 macro = mac2[1]
28020 prefix = substr(line, 1, index(line, defundef) - 1)
28021 if (D_is_set[macro]) {
28022 # Preserve the white space surrounding the "#".
28023 print prefix "define", macro P[macro] D[macro]
28024 next
28025 } else {
28026 # Replace #undef with comments. This is necessary, for example,
28027 # in the case of _POSIX_SOURCE, which is predefined and required
28028 # on some systems where configure will not decide to define it.
28029 if (defundef == "undef") {
28030 print "/*", prefix defundef, macro, "*/"
28031 next
28035 { print }
28036 _ACAWK
28037 _ACEOF
28038 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28039 as_fn_error "could not setup config headers machinery" "$LINENO" 5
28040 fi # test -n "$CONFIG_HEADERS"
28043 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
28044 shift
28045 for ac_tag
28047 case $ac_tag in
28048 :[FHLC]) ac_mode=$ac_tag; continue;;
28049 esac
28050 case $ac_mode$ac_tag in
28051 :[FHL]*:*);;
28052 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
28053 :[FH]-) ac_tag=-:-;;
28054 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
28055 esac
28056 ac_save_IFS=$IFS
28057 IFS=:
28058 set x $ac_tag
28059 IFS=$ac_save_IFS
28060 shift
28061 ac_file=$1
28062 shift
28064 case $ac_mode in
28065 :L) ac_source=$1;;
28066 :[FH])
28067 ac_file_inputs=
28068 for ac_f
28070 case $ac_f in
28071 -) ac_f="$tmp/stdin";;
28072 *) # Look for the file first in the build tree, then in the source tree
28073 # (if the path is not absolute). The absolute path cannot be DOS-style,
28074 # because $ac_f cannot contain `:'.
28075 test -f "$ac_f" ||
28076 case $ac_f in
28077 [\\/$]*) false;;
28078 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
28079 esac ||
28080 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
28081 esac
28082 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
28083 as_fn_append ac_file_inputs " '$ac_f'"
28084 done
28086 # Let's still pretend it is `configure' which instantiates (i.e., don't
28087 # use $as_me), people would be surprised to read:
28088 # /* config.h. Generated by config.status. */
28089 configure_input='Generated from '`
28090 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
28091 `' by configure.'
28092 if test x"$ac_file" != x-; then
28093 configure_input="$ac_file. $configure_input"
28094 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
28095 $as_echo "$as_me: creating $ac_file" >&6;}
28097 # Neutralize special characters interpreted by sed in replacement strings.
28098 case $configure_input in #(
28099 *\&* | *\|* | *\\* )
28100 ac_sed_conf_input=`$as_echo "$configure_input" |
28101 sed 's/[\\\\&|]/\\\\&/g'`;; #(
28102 *) ac_sed_conf_input=$configure_input;;
28103 esac
28105 case $ac_tag in
28106 *:-:* | *:-) cat >"$tmp/stdin" \
28107 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
28108 esac
28110 esac
28112 ac_dir=`$as_dirname -- "$ac_file" ||
28113 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28114 X"$ac_file" : 'X\(//\)[^/]' \| \
28115 X"$ac_file" : 'X\(//\)$' \| \
28116 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
28117 $as_echo X"$ac_file" |
28118 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28119 s//\1/
28122 /^X\(\/\/\)[^/].*/{
28123 s//\1/
28126 /^X\(\/\/\)$/{
28127 s//\1/
28130 /^X\(\/\).*/{
28131 s//\1/
28134 s/.*/./; q'`
28135 as_dir="$ac_dir"; as_fn_mkdir_p
28136 ac_builddir=.
28138 case "$ac_dir" in
28139 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
28141 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
28142 # A ".." for each directory in $ac_dir_suffix.
28143 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
28144 case $ac_top_builddir_sub in
28145 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
28146 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
28147 esac ;;
28148 esac
28149 ac_abs_top_builddir=$ac_pwd
28150 ac_abs_builddir=$ac_pwd$ac_dir_suffix
28151 # for backward compatibility:
28152 ac_top_builddir=$ac_top_build_prefix
28154 case $srcdir in
28155 .) # We are building in place.
28156 ac_srcdir=.
28157 ac_top_srcdir=$ac_top_builddir_sub
28158 ac_abs_top_srcdir=$ac_pwd ;;
28159 [\\/]* | ?:[\\/]* ) # Absolute name.
28160 ac_srcdir=$srcdir$ac_dir_suffix;
28161 ac_top_srcdir=$srcdir
28162 ac_abs_top_srcdir=$srcdir ;;
28163 *) # Relative name.
28164 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
28165 ac_top_srcdir=$ac_top_build_prefix$srcdir
28166 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
28167 esac
28168 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
28171 case $ac_mode in
28174 # CONFIG_FILE
28177 case $INSTALL in
28178 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
28179 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
28180 esac
28181 ac_MKDIR_P=$MKDIR_P
28182 case $MKDIR_P in
28183 [\\/$]* | ?:[\\/]* ) ;;
28184 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
28185 esac
28186 _ACEOF
28188 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28189 # If the template does not know about datarootdir, expand it.
28190 # FIXME: This hack should be removed a few years after 2.60.
28191 ac_datarootdir_hack=; ac_datarootdir_seen=
28192 ac_sed_dataroot='
28193 /datarootdir/ {
28197 /@datadir@/p
28198 /@docdir@/p
28199 /@infodir@/p
28200 /@localedir@/p
28201 /@mandir@/p'
28202 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
28203 *datarootdir*) ac_datarootdir_seen=yes;;
28204 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
28205 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
28206 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
28207 _ACEOF
28208 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28209 ac_datarootdir_hack='
28210 s&@datadir@&$datadir&g
28211 s&@docdir@&$docdir&g
28212 s&@infodir@&$infodir&g
28213 s&@localedir@&$localedir&g
28214 s&@mandir@&$mandir&g
28215 s&\\\${datarootdir}&$datarootdir&g' ;;
28216 esac
28217 _ACEOF
28219 # Neutralize VPATH when `$srcdir' = `.'.
28220 # Shell code in configure.ac might set extrasub.
28221 # FIXME: do we really want to maintain this feature?
28222 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28223 ac_sed_extra="$ac_vpsub
28224 $extrasub
28225 _ACEOF
28226 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28228 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
28229 s|@configure_input@|$ac_sed_conf_input|;t t
28230 s&@top_builddir@&$ac_top_builddir_sub&;t t
28231 s&@top_build_prefix@&$ac_top_build_prefix&;t t
28232 s&@srcdir@&$ac_srcdir&;t t
28233 s&@abs_srcdir@&$ac_abs_srcdir&;t t
28234 s&@top_srcdir@&$ac_top_srcdir&;t t
28235 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
28236 s&@builddir@&$ac_builddir&;t t
28237 s&@abs_builddir@&$ac_abs_builddir&;t t
28238 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
28239 s&@INSTALL@&$ac_INSTALL&;t t
28240 s&@MKDIR_P@&$ac_MKDIR_P&;t t
28241 $ac_datarootdir_hack
28243 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
28244 || as_fn_error "could not create $ac_file" "$LINENO" 5
28246 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
28247 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
28248 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
28249 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
28250 which seems to be undefined. Please make sure it is defined." >&5
28251 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
28252 which seems to be undefined. Please make sure it is defined." >&2;}
28254 rm -f "$tmp/stdin"
28255 case $ac_file in
28256 -) cat "$tmp/out" && rm -f "$tmp/out";;
28257 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
28258 esac \
28259 || as_fn_error "could not create $ac_file" "$LINENO" 5
28263 # CONFIG_HEADER
28265 if test x"$ac_file" != x-; then
28267 $as_echo "/* $configure_input */" \
28268 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
28269 } >"$tmp/config.h" \
28270 || as_fn_error "could not create $ac_file" "$LINENO" 5
28271 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
28272 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
28273 $as_echo "$as_me: $ac_file is unchanged" >&6;}
28274 else
28275 rm -f "$ac_file"
28276 mv "$tmp/config.h" "$ac_file" \
28277 || as_fn_error "could not create $ac_file" "$LINENO" 5
28279 else
28280 $as_echo "/* $configure_input */" \
28281 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
28282 || as_fn_error "could not create -" "$LINENO" 5
28284 # Compute "$ac_file"'s index in $config_headers.
28285 _am_arg="$ac_file"
28286 _am_stamp_count=1
28287 for _am_header in $config_headers :; do
28288 case $_am_header in
28289 $_am_arg | $_am_arg:* )
28290 break ;;
28292 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
28293 esac
28294 done
28295 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
28296 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28297 X"$_am_arg" : 'X\(//\)[^/]' \| \
28298 X"$_am_arg" : 'X\(//\)$' \| \
28299 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
28300 $as_echo X"$_am_arg" |
28301 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28302 s//\1/
28305 /^X\(\/\/\)[^/].*/{
28306 s//\1/
28309 /^X\(\/\/\)$/{
28310 s//\1/
28313 /^X\(\/\).*/{
28314 s//\1/
28317 s/.*/./; q'`/stamp-h$_am_stamp_count
28320 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
28321 $as_echo "$as_me: executing $ac_file commands" >&6;}
28323 esac
28326 case $ac_file$ac_mode in
28327 "default-1":C)
28328 # Only add multilib support code if we just rebuilt the top-level
28329 # Makefile.
28330 case " $CONFIG_FILES " in
28331 *" Makefile "*)
28332 ac_file=Makefile . ${multi_basedir}/config-ml.in
28334 esac ;;
28335 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
28336 # Autoconf 2.62 quotes --file arguments for eval, but not when files
28337 # are listed without --file. Let's play safe and only enable the eval
28338 # if we detect the quoting.
28339 case $CONFIG_FILES in
28340 *\'*) eval set x "$CONFIG_FILES" ;;
28341 *) set x $CONFIG_FILES ;;
28342 esac
28343 shift
28344 for mf
28346 # Strip MF so we end up with the name of the file.
28347 mf=`echo "$mf" | sed -e 's/:.*$//'`
28348 # Check whether this is an Automake generated Makefile or not.
28349 # We used to match only the files named `Makefile.in', but
28350 # some people rename them; so instead we look at the file content.
28351 # Grep'ing the first line is not enough: some people post-process
28352 # each Makefile.in and add a new line on top of each file to say so.
28353 # Grep'ing the whole file is not good either: AIX grep has a line
28354 # limit of 2048, but all sed's we know have understand at least 4000.
28355 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
28356 dirpart=`$as_dirname -- "$mf" ||
28357 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28358 X"$mf" : 'X\(//\)[^/]' \| \
28359 X"$mf" : 'X\(//\)$' \| \
28360 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
28361 $as_echo X"$mf" |
28362 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28363 s//\1/
28366 /^X\(\/\/\)[^/].*/{
28367 s//\1/
28370 /^X\(\/\/\)$/{
28371 s//\1/
28374 /^X\(\/\).*/{
28375 s//\1/
28378 s/.*/./; q'`
28379 else
28380 continue
28382 # Extract the definition of DEPDIR, am__include, and am__quote
28383 # from the Makefile without running `make'.
28384 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
28385 test -z "$DEPDIR" && continue
28386 am__include=`sed -n 's/^am__include = //p' < "$mf"`
28387 test -z "am__include" && continue
28388 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
28389 # When using ansi2knr, U may be empty or an underscore; expand it
28390 U=`sed -n 's/^U = //p' < "$mf"`
28391 # Find all dependency output files, they are included files with
28392 # $(DEPDIR) in their names. We invoke sed twice because it is the
28393 # simplest approach to changing $(DEPDIR) to its actual value in the
28394 # expansion.
28395 for file in `sed -n "
28396 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
28397 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
28398 # Make sure the directory exists.
28399 test -f "$dirpart/$file" && continue
28400 fdir=`$as_dirname -- "$file" ||
28401 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28402 X"$file" : 'X\(//\)[^/]' \| \
28403 X"$file" : 'X\(//\)$' \| \
28404 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
28405 $as_echo X"$file" |
28406 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28407 s//\1/
28410 /^X\(\/\/\)[^/].*/{
28411 s//\1/
28414 /^X\(\/\/\)$/{
28415 s//\1/
28418 /^X\(\/\).*/{
28419 s//\1/
28422 s/.*/./; q'`
28423 as_dir=$dirpart/$fdir; as_fn_mkdir_p
28424 # echo "creating $dirpart/$file"
28425 echo '# dummy' > "$dirpart/$file"
28426 done
28427 done
28430 "libtool":C)
28432 # See if we are running on zsh, and set the options which allow our
28433 # commands through without removal of \ escapes.
28434 if test -n "${ZSH_VERSION+set}" ; then
28435 setopt NO_GLOB_SUBST
28438 cfgfile="${ofile}T"
28439 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
28440 $RM "$cfgfile"
28442 cat <<_LT_EOF >> "$cfgfile"
28443 #! $SHELL
28445 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
28446 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
28447 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
28448 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
28450 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
28451 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
28452 # Written by Gordon Matzigkeit, 1996
28454 # This file is part of GNU Libtool.
28456 # GNU Libtool is free software; you can redistribute it and/or
28457 # modify it under the terms of the GNU General Public License as
28458 # published by the Free Software Foundation; either version 2 of
28459 # the License, or (at your option) any later version.
28461 # As a special exception to the GNU General Public License,
28462 # if you distribute this file as part of a program or library that
28463 # is built using GNU Libtool, you may include this file under the
28464 # same distribution terms that you use for the rest of that program.
28466 # GNU Libtool is distributed in the hope that it will be useful,
28467 # but WITHOUT ANY WARRANTY; without even the implied warranty of
28468 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
28469 # GNU General Public License for more details.
28471 # You should have received a copy of the GNU General Public License
28472 # along with GNU Libtool; see the file COPYING. If not, a copy
28473 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
28474 # obtained by writing to the Free Software Foundation, Inc.,
28475 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
28478 # The names of the tagged configurations supported by this script.
28479 available_tags="FC "
28481 # ### BEGIN LIBTOOL CONFIG
28483 # Which release of libtool.m4 was used?
28484 macro_version=$macro_version
28485 macro_revision=$macro_revision
28487 # Whether or not to build shared libraries.
28488 build_libtool_libs=$enable_shared
28490 # Whether or not to build static libraries.
28491 build_old_libs=$enable_static
28493 # What type of objects to build.
28494 pic_mode=$pic_mode
28496 # Whether or not to optimize for fast installation.
28497 fast_install=$enable_fast_install
28499 # Shell to use when invoking shell scripts.
28500 SHELL=$lt_SHELL
28502 # An echo program that protects backslashes.
28503 ECHO=$lt_ECHO
28505 # The host system.
28506 host_alias=$host_alias
28507 host=$host
28508 host_os=$host_os
28510 # The build system.
28511 build_alias=$build_alias
28512 build=$build
28513 build_os=$build_os
28515 # A sed program that does not truncate output.
28516 SED=$lt_SED
28518 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
28519 Xsed="\$SED -e 1s/^X//"
28521 # A grep program that handles long lines.
28522 GREP=$lt_GREP
28524 # An ERE matcher.
28525 EGREP=$lt_EGREP
28527 # A literal string matcher.
28528 FGREP=$lt_FGREP
28530 # A BSD- or MS-compatible name lister.
28531 NM=$lt_NM
28533 # Whether we need soft or hard links.
28534 LN_S=$lt_LN_S
28536 # What is the maximum length of a command?
28537 max_cmd_len=$max_cmd_len
28539 # Object file suffix (normally "o").
28540 objext=$ac_objext
28542 # Executable file suffix (normally "").
28543 exeext=$exeext
28545 # whether the shell understands "unset".
28546 lt_unset=$lt_unset
28548 # turn spaces into newlines.
28549 SP2NL=$lt_lt_SP2NL
28551 # turn newlines into spaces.
28552 NL2SP=$lt_lt_NL2SP
28554 # An object symbol dumper.
28555 OBJDUMP=$lt_OBJDUMP
28557 # Method to check whether dependent libraries are shared objects.
28558 deplibs_check_method=$lt_deplibs_check_method
28560 # Command to use when deplibs_check_method == "file_magic".
28561 file_magic_cmd=$lt_file_magic_cmd
28563 # The archiver.
28564 AR=$lt_AR
28565 AR_FLAGS=$lt_AR_FLAGS
28567 # A symbol stripping program.
28568 STRIP=$lt_STRIP
28570 # Commands used to install an old-style archive.
28571 RANLIB=$lt_RANLIB
28572 old_postinstall_cmds=$lt_old_postinstall_cmds
28573 old_postuninstall_cmds=$lt_old_postuninstall_cmds
28575 # Whether to use a lock for old archive extraction.
28576 lock_old_archive_extraction=$lock_old_archive_extraction
28578 # A C compiler.
28579 LTCC=$lt_CC
28581 # LTCC compiler flags.
28582 LTCFLAGS=$lt_CFLAGS
28584 # Take the output of nm and produce a listing of raw symbols and C names.
28585 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
28587 # Transform the output of nm in a proper C declaration.
28588 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
28590 # Transform the output of nm in a C name address pair.
28591 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
28593 # Transform the output of nm in a C name address pair when lib prefix is needed.
28594 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
28596 # The name of the directory that contains temporary libtool files.
28597 objdir=$objdir
28599 # Used to examine libraries when file_magic_cmd begins with "file".
28600 MAGIC_CMD=$MAGIC_CMD
28602 # Must we lock files when doing compilation?
28603 need_locks=$lt_need_locks
28605 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
28606 DSYMUTIL=$lt_DSYMUTIL
28608 # Tool to change global to local symbols on Mac OS X.
28609 NMEDIT=$lt_NMEDIT
28611 # Tool to manipulate fat objects and archives on Mac OS X.
28612 LIPO=$lt_LIPO
28614 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
28615 OTOOL=$lt_OTOOL
28617 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
28618 OTOOL64=$lt_OTOOL64
28620 # Old archive suffix (normally "a").
28621 libext=$libext
28623 # Shared library suffix (normally ".so").
28624 shrext_cmds=$lt_shrext_cmds
28626 # The commands to extract the exported symbol list from a shared archive.
28627 extract_expsyms_cmds=$lt_extract_expsyms_cmds
28629 # Variables whose values should be saved in libtool wrapper scripts and
28630 # restored at link time.
28631 variables_saved_for_relink=$lt_variables_saved_for_relink
28633 # Do we need the "lib" prefix for modules?
28634 need_lib_prefix=$need_lib_prefix
28636 # Do we need a version for libraries?
28637 need_version=$need_version
28639 # Library versioning type.
28640 version_type=$version_type
28642 # Shared library runtime path variable.
28643 runpath_var=$runpath_var
28645 # Shared library path variable.
28646 shlibpath_var=$shlibpath_var
28648 # Is shlibpath searched before the hard-coded library search path?
28649 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
28651 # Format of library name prefix.
28652 libname_spec=$lt_libname_spec
28654 # List of archive names. First name is the real one, the rest are links.
28655 # The last name is the one that the linker finds with -lNAME
28656 library_names_spec=$lt_library_names_spec
28658 # The coded name of the library, if different from the real name.
28659 soname_spec=$lt_soname_spec
28661 # Permission mode override for installation of shared libraries.
28662 install_override_mode=$lt_install_override_mode
28664 # Command to use after installation of a shared archive.
28665 postinstall_cmds=$lt_postinstall_cmds
28667 # Command to use after uninstallation of a shared archive.
28668 postuninstall_cmds=$lt_postuninstall_cmds
28670 # Commands used to finish a libtool library installation in a directory.
28671 finish_cmds=$lt_finish_cmds
28673 # As "finish_cmds", except a single script fragment to be evaled but
28674 # not shown.
28675 finish_eval=$lt_finish_eval
28677 # Whether we should hardcode library paths into libraries.
28678 hardcode_into_libs=$hardcode_into_libs
28680 # Compile-time system search path for libraries.
28681 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
28683 # Run-time system search path for libraries.
28684 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
28686 # Whether dlopen is supported.
28687 dlopen_support=$enable_dlopen
28689 # Whether dlopen of programs is supported.
28690 dlopen_self=$enable_dlopen_self
28692 # Whether dlopen of statically linked programs is supported.
28693 dlopen_self_static=$enable_dlopen_self_static
28695 # Commands to strip libraries.
28696 old_striplib=$lt_old_striplib
28697 striplib=$lt_striplib
28700 # The linker used to build libraries.
28701 LD=$lt_LD
28703 # How to create reloadable object files.
28704 reload_flag=$lt_reload_flag
28705 reload_cmds=$lt_reload_cmds
28707 # Commands used to build an old-style archive.
28708 old_archive_cmds=$lt_old_archive_cmds
28710 # A language specific compiler.
28711 CC=$lt_compiler
28713 # Is the compiler the GNU compiler?
28714 with_gcc=$GCC
28716 # Compiler flag to turn off builtin functions.
28717 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
28719 # How to pass a linker flag through the compiler.
28720 wl=$lt_lt_prog_compiler_wl
28722 # Additional compiler flags for building library objects.
28723 pic_flag=$lt_lt_prog_compiler_pic
28725 # Compiler flag to prevent dynamic linking.
28726 link_static_flag=$lt_lt_prog_compiler_static
28728 # Does compiler simultaneously support -c and -o options?
28729 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
28731 # Whether or not to add -lc for building shared libraries.
28732 build_libtool_need_lc=$archive_cmds_need_lc
28734 # Whether or not to disallow shared libs when runtime libs are static.
28735 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
28737 # Compiler flag to allow reflexive dlopens.
28738 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
28740 # Compiler flag to generate shared objects directly from archives.
28741 whole_archive_flag_spec=$lt_whole_archive_flag_spec
28743 # Whether the compiler copes with passing no objects directly.
28744 compiler_needs_object=$lt_compiler_needs_object
28746 # Create an old-style archive from a shared archive.
28747 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
28749 # Create a temporary old-style archive to link instead of a shared archive.
28750 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
28752 # Commands used to build a shared archive.
28753 archive_cmds=$lt_archive_cmds
28754 archive_expsym_cmds=$lt_archive_expsym_cmds
28756 # Commands used to build a loadable module if different from building
28757 # a shared archive.
28758 module_cmds=$lt_module_cmds
28759 module_expsym_cmds=$lt_module_expsym_cmds
28761 # Whether we are building with GNU ld or not.
28762 with_gnu_ld=$lt_with_gnu_ld
28764 # Flag that allows shared libraries with undefined symbols to be built.
28765 allow_undefined_flag=$lt_allow_undefined_flag
28767 # Flag that enforces no undefined symbols.
28768 no_undefined_flag=$lt_no_undefined_flag
28770 # Flag to hardcode \$libdir into a binary during linking.
28771 # This must work even if \$libdir does not exist
28772 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
28774 # If ld is used when linking, flag to hardcode \$libdir into a binary
28775 # during linking. This must work even if \$libdir does not exist.
28776 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
28778 # Whether we need a single "-rpath" flag with a separated argument.
28779 hardcode_libdir_separator=$lt_hardcode_libdir_separator
28781 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
28782 # DIR into the resulting binary.
28783 hardcode_direct=$hardcode_direct
28785 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
28786 # DIR into the resulting binary and the resulting library dependency is
28787 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
28788 # library is relocated.
28789 hardcode_direct_absolute=$hardcode_direct_absolute
28791 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
28792 # into the resulting binary.
28793 hardcode_minus_L=$hardcode_minus_L
28795 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
28796 # into the resulting binary.
28797 hardcode_shlibpath_var=$hardcode_shlibpath_var
28799 # Set to "yes" if building a shared library automatically hardcodes DIR
28800 # into the library and all subsequent libraries and executables linked
28801 # against it.
28802 hardcode_automatic=$hardcode_automatic
28804 # Set to yes if linker adds runtime paths of dependent libraries
28805 # to runtime path list.
28806 inherit_rpath=$inherit_rpath
28808 # Whether libtool must link a program against all its dependency libraries.
28809 link_all_deplibs=$link_all_deplibs
28811 # Fix the shell variable \$srcfile for the compiler.
28812 fix_srcfile_path=$lt_fix_srcfile_path
28814 # Set to "yes" if exported symbols are required.
28815 always_export_symbols=$always_export_symbols
28817 # The commands to list exported symbols.
28818 export_symbols_cmds=$lt_export_symbols_cmds
28820 # Symbols that should not be listed in the preloaded symbols.
28821 exclude_expsyms=$lt_exclude_expsyms
28823 # Symbols that must always be exported.
28824 include_expsyms=$lt_include_expsyms
28826 # Commands necessary for linking programs (against libraries) with templates.
28827 prelink_cmds=$lt_prelink_cmds
28829 # Specify filename containing input files.
28830 file_list_spec=$lt_file_list_spec
28832 # How to hardcode a shared library path into an executable.
28833 hardcode_action=$hardcode_action
28835 # The directories searched by this compiler when creating a shared library.
28836 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
28838 # Dependencies to place before and after the objects being linked to
28839 # create a shared library.
28840 predep_objects=$lt_predep_objects
28841 postdep_objects=$lt_postdep_objects
28842 predeps=$lt_predeps
28843 postdeps=$lt_postdeps
28845 # The library search path used internally by the compiler when linking
28846 # a shared library.
28847 compiler_lib_search_path=$lt_compiler_lib_search_path
28849 # ### END LIBTOOL CONFIG
28851 _LT_EOF
28853 case $host_os in
28854 aix3*)
28855 cat <<\_LT_EOF >> "$cfgfile"
28856 # AIX sometimes has problems with the GCC collect2 program. For some
28857 # reason, if we set the COLLECT_NAMES environment variable, the problems
28858 # vanish in a puff of smoke.
28859 if test "X${COLLECT_NAMES+set}" != Xset; then
28860 COLLECT_NAMES=
28861 export COLLECT_NAMES
28863 _LT_EOF
28865 esac
28868 ltmain="$ac_aux_dir/ltmain.sh"
28871 # We use sed instead of cat because bash on DJGPP gets confused if
28872 # if finds mixed CR/LF and LF-only lines. Since sed operates in
28873 # text mode, it properly converts lines to CR/LF. This bash problem
28874 # is reportedly fixed, but why not run on old versions too?
28875 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
28876 || (rm -f "$cfgfile"; exit 1)
28878 case $xsi_shell in
28879 yes)
28880 cat << \_LT_EOF >> "$cfgfile"
28882 # func_dirname file append nondir_replacement
28883 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
28884 # otherwise set result to NONDIR_REPLACEMENT.
28885 func_dirname ()
28887 case ${1} in
28888 */*) func_dirname_result="${1%/*}${2}" ;;
28889 * ) func_dirname_result="${3}" ;;
28890 esac
28893 # func_basename file
28894 func_basename ()
28896 func_basename_result="${1##*/}"
28899 # func_dirname_and_basename file append nondir_replacement
28900 # perform func_basename and func_dirname in a single function
28901 # call:
28902 # dirname: Compute the dirname of FILE. If nonempty,
28903 # add APPEND to the result, otherwise set result
28904 # to NONDIR_REPLACEMENT.
28905 # value returned in "$func_dirname_result"
28906 # basename: Compute filename of FILE.
28907 # value retuned in "$func_basename_result"
28908 # Implementation must be kept synchronized with func_dirname
28909 # and func_basename. For efficiency, we do not delegate to
28910 # those functions but instead duplicate the functionality here.
28911 func_dirname_and_basename ()
28913 case ${1} in
28914 */*) func_dirname_result="${1%/*}${2}" ;;
28915 * ) func_dirname_result="${3}" ;;
28916 esac
28917 func_basename_result="${1##*/}"
28920 # func_stripname prefix suffix name
28921 # strip PREFIX and SUFFIX off of NAME.
28922 # PREFIX and SUFFIX must not contain globbing or regex special
28923 # characters, hashes, percent signs, but SUFFIX may contain a leading
28924 # dot (in which case that matches only a dot).
28925 func_stripname ()
28927 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
28928 # positional parameters, so assign one to ordinary parameter first.
28929 func_stripname_result=${3}
28930 func_stripname_result=${func_stripname_result#"${1}"}
28931 func_stripname_result=${func_stripname_result%"${2}"}
28934 # func_opt_split
28935 func_opt_split ()
28937 func_opt_split_opt=${1%%=*}
28938 func_opt_split_arg=${1#*=}
28941 # func_lo2o object
28942 func_lo2o ()
28944 case ${1} in
28945 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
28946 *) func_lo2o_result=${1} ;;
28947 esac
28950 # func_xform libobj-or-source
28951 func_xform ()
28953 func_xform_result=${1%.*}.lo
28956 # func_arith arithmetic-term...
28957 func_arith ()
28959 func_arith_result=$(( $* ))
28962 # func_len string
28963 # STRING may not start with a hyphen.
28964 func_len ()
28966 func_len_result=${#1}
28969 _LT_EOF
28971 *) # Bourne compatible functions.
28972 cat << \_LT_EOF >> "$cfgfile"
28974 # func_dirname file append nondir_replacement
28975 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
28976 # otherwise set result to NONDIR_REPLACEMENT.
28977 func_dirname ()
28979 # Extract subdirectory from the argument.
28980 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
28981 if test "X$func_dirname_result" = "X${1}"; then
28982 func_dirname_result="${3}"
28983 else
28984 func_dirname_result="$func_dirname_result${2}"
28988 # func_basename file
28989 func_basename ()
28991 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
28995 # func_stripname prefix suffix name
28996 # strip PREFIX and SUFFIX off of NAME.
28997 # PREFIX and SUFFIX must not contain globbing or regex special
28998 # characters, hashes, percent signs, but SUFFIX may contain a leading
28999 # dot (in which case that matches only a dot).
29000 # func_strip_suffix prefix name
29001 func_stripname ()
29003 case ${2} in
29004 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
29005 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
29006 esac
29009 # sed scripts:
29010 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
29011 my_sed_long_arg='1s/^-[^=]*=//'
29013 # func_opt_split
29014 func_opt_split ()
29016 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
29017 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
29020 # func_lo2o object
29021 func_lo2o ()
29023 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
29026 # func_xform libobj-or-source
29027 func_xform ()
29029 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
29032 # func_arith arithmetic-term...
29033 func_arith ()
29035 func_arith_result=`expr "$@"`
29038 # func_len string
29039 # STRING may not start with a hyphen.
29040 func_len ()
29042 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
29045 _LT_EOF
29046 esac
29048 case $lt_shell_append in
29049 yes)
29050 cat << \_LT_EOF >> "$cfgfile"
29052 # func_append var value
29053 # Append VALUE to the end of shell variable VAR.
29054 func_append ()
29056 eval "$1+=\$2"
29058 _LT_EOF
29061 cat << \_LT_EOF >> "$cfgfile"
29063 # func_append var value
29064 # Append VALUE to the end of shell variable VAR.
29065 func_append ()
29067 eval "$1=\$$1\$2"
29070 _LT_EOF
29072 esac
29075 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
29076 || (rm -f "$cfgfile"; exit 1)
29078 mv -f "$cfgfile" "$ofile" ||
29079 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
29080 chmod +x "$ofile"
29083 cat <<_LT_EOF >> "$ofile"
29085 # ### BEGIN LIBTOOL TAG CONFIG: FC
29087 # The linker used to build libraries.
29088 LD=$lt_LD_FC
29090 # How to create reloadable object files.
29091 reload_flag=$lt_reload_flag_FC
29092 reload_cmds=$lt_reload_cmds_FC
29094 # Commands used to build an old-style archive.
29095 old_archive_cmds=$lt_old_archive_cmds_FC
29097 # A language specific compiler.
29098 CC=$lt_compiler_FC
29100 # Is the compiler the GNU compiler?
29101 with_gcc=$GCC_FC
29103 # Compiler flag to turn off builtin functions.
29104 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_FC
29106 # How to pass a linker flag through the compiler.
29107 wl=$lt_lt_prog_compiler_wl_FC
29109 # Additional compiler flags for building library objects.
29110 pic_flag=$lt_lt_prog_compiler_pic_FC
29112 # Compiler flag to prevent dynamic linking.
29113 link_static_flag=$lt_lt_prog_compiler_static_FC
29115 # Does compiler simultaneously support -c and -o options?
29116 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_FC
29118 # Whether or not to add -lc for building shared libraries.
29119 build_libtool_need_lc=$archive_cmds_need_lc_FC
29121 # Whether or not to disallow shared libs when runtime libs are static.
29122 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_FC
29124 # Compiler flag to allow reflexive dlopens.
29125 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_FC
29127 # Compiler flag to generate shared objects directly from archives.
29128 whole_archive_flag_spec=$lt_whole_archive_flag_spec_FC
29130 # Whether the compiler copes with passing no objects directly.
29131 compiler_needs_object=$lt_compiler_needs_object_FC
29133 # Create an old-style archive from a shared archive.
29134 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_FC
29136 # Create a temporary old-style archive to link instead of a shared archive.
29137 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_FC
29139 # Commands used to build a shared archive.
29140 archive_cmds=$lt_archive_cmds_FC
29141 archive_expsym_cmds=$lt_archive_expsym_cmds_FC
29143 # Commands used to build a loadable module if different from building
29144 # a shared archive.
29145 module_cmds=$lt_module_cmds_FC
29146 module_expsym_cmds=$lt_module_expsym_cmds_FC
29148 # Whether we are building with GNU ld or not.
29149 with_gnu_ld=$lt_with_gnu_ld_FC
29151 # Flag that allows shared libraries with undefined symbols to be built.
29152 allow_undefined_flag=$lt_allow_undefined_flag_FC
29154 # Flag that enforces no undefined symbols.
29155 no_undefined_flag=$lt_no_undefined_flag_FC
29157 # Flag to hardcode \$libdir into a binary during linking.
29158 # This must work even if \$libdir does not exist
29159 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_FC
29161 # If ld is used when linking, flag to hardcode \$libdir into a binary
29162 # during linking. This must work even if \$libdir does not exist.
29163 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_FC
29165 # Whether we need a single "-rpath" flag with a separated argument.
29166 hardcode_libdir_separator=$lt_hardcode_libdir_separator_FC
29168 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
29169 # DIR into the resulting binary.
29170 hardcode_direct=$hardcode_direct_FC
29172 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
29173 # DIR into the resulting binary and the resulting library dependency is
29174 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
29175 # library is relocated.
29176 hardcode_direct_absolute=$hardcode_direct_absolute_FC
29178 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
29179 # into the resulting binary.
29180 hardcode_minus_L=$hardcode_minus_L_FC
29182 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
29183 # into the resulting binary.
29184 hardcode_shlibpath_var=$hardcode_shlibpath_var_FC
29186 # Set to "yes" if building a shared library automatically hardcodes DIR
29187 # into the library and all subsequent libraries and executables linked
29188 # against it.
29189 hardcode_automatic=$hardcode_automatic_FC
29191 # Set to yes if linker adds runtime paths of dependent libraries
29192 # to runtime path list.
29193 inherit_rpath=$inherit_rpath_FC
29195 # Whether libtool must link a program against all its dependency libraries.
29196 link_all_deplibs=$link_all_deplibs_FC
29198 # Fix the shell variable \$srcfile for the compiler.
29199 fix_srcfile_path=$lt_fix_srcfile_path_FC
29201 # Set to "yes" if exported symbols are required.
29202 always_export_symbols=$always_export_symbols_FC
29204 # The commands to list exported symbols.
29205 export_symbols_cmds=$lt_export_symbols_cmds_FC
29207 # Symbols that should not be listed in the preloaded symbols.
29208 exclude_expsyms=$lt_exclude_expsyms_FC
29210 # Symbols that must always be exported.
29211 include_expsyms=$lt_include_expsyms_FC
29213 # Commands necessary for linking programs (against libraries) with templates.
29214 prelink_cmds=$lt_prelink_cmds_FC
29216 # Specify filename containing input files.
29217 file_list_spec=$lt_file_list_spec_FC
29219 # How to hardcode a shared library path into an executable.
29220 hardcode_action=$hardcode_action_FC
29222 # The directories searched by this compiler when creating a shared library.
29223 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_FC
29225 # Dependencies to place before and after the objects being linked to
29226 # create a shared library.
29227 predep_objects=$lt_predep_objects_FC
29228 postdep_objects=$lt_postdep_objects_FC
29229 predeps=$lt_predeps_FC
29230 postdeps=$lt_postdeps_FC
29232 # The library search path used internally by the compiler when linking
29233 # a shared library.
29234 compiler_lib_search_path=$lt_compiler_lib_search_path_FC
29236 # ### END LIBTOOL TAG CONFIG: FC
29237 _LT_EOF
29240 "gstdint.h":C)
29241 if test "$GCC" = yes; then
29242 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
29243 else
29244 echo "/* generated for $CC */" > tmp-stdint.h
29247 sed 's/^ *//' >> tmp-stdint.h <<EOF
29249 #ifndef GCC_GENERATED_STDINT_H
29250 #define GCC_GENERATED_STDINT_H 1
29252 #include <sys/types.h>
29255 if test "$acx_cv_header_stdint" != stdint.h; then
29256 echo "#include <stddef.h>" >> tmp-stdint.h
29258 if test "$acx_cv_header_stdint" != stddef.h; then
29259 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
29262 sed 's/^ *//' >> tmp-stdint.h <<EOF
29263 /* glibc uses these symbols as guards to prevent redefinitions. */
29264 #ifdef __int8_t_defined
29265 #define _INT8_T
29266 #define _INT16_T
29267 #define _INT32_T
29268 #endif
29269 #ifdef __uint32_t_defined
29270 #define _UINT32_T
29271 #endif
29275 # ----------------- done header, emit basic int types -------------
29276 if test "$acx_cv_header_stdint" = stddef.h; then
29277 sed 's/^ *//' >> tmp-stdint.h <<EOF
29279 #ifndef _UINT8_T
29280 #define _UINT8_T
29281 #ifndef __uint8_t_defined
29282 #define __uint8_t_defined
29283 #ifndef uint8_t
29284 typedef unsigned $acx_cv_type_int8_t uint8_t;
29285 #endif
29286 #endif
29287 #endif
29289 #ifndef _UINT16_T
29290 #define _UINT16_T
29291 #ifndef __uint16_t_defined
29292 #define __uint16_t_defined
29293 #ifndef uint16_t
29294 typedef unsigned $acx_cv_type_int16_t uint16_t;
29295 #endif
29296 #endif
29297 #endif
29299 #ifndef _UINT32_T
29300 #define _UINT32_T
29301 #ifndef __uint32_t_defined
29302 #define __uint32_t_defined
29303 #ifndef uint32_t
29304 typedef unsigned $acx_cv_type_int32_t uint32_t;
29305 #endif
29306 #endif
29307 #endif
29309 #ifndef _INT8_T
29310 #define _INT8_T
29311 #ifndef __int8_t_defined
29312 #define __int8_t_defined
29313 #ifndef int8_t
29314 typedef $acx_cv_type_int8_t int8_t;
29315 #endif
29316 #endif
29317 #endif
29319 #ifndef _INT16_T
29320 #define _INT16_T
29321 #ifndef __int16_t_defined
29322 #define __int16_t_defined
29323 #ifndef int16_t
29324 typedef $acx_cv_type_int16_t int16_t;
29325 #endif
29326 #endif
29327 #endif
29329 #ifndef _INT32_T
29330 #define _INT32_T
29331 #ifndef __int32_t_defined
29332 #define __int32_t_defined
29333 #ifndef int32_t
29334 typedef $acx_cv_type_int32_t int32_t;
29335 #endif
29336 #endif
29337 #endif
29339 elif test "$ac_cv_type_u_int32_t" = yes; then
29340 sed 's/^ *//' >> tmp-stdint.h <<EOF
29342 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
29343 #ifndef _INT8_T
29344 #define _INT8_T
29345 #endif
29346 #ifndef _INT16_T
29347 #define _INT16_T
29348 #endif
29349 #ifndef _INT32_T
29350 #define _INT32_T
29351 #endif
29353 #ifndef _UINT8_T
29354 #define _UINT8_T
29355 #ifndef __uint8_t_defined
29356 #define __uint8_t_defined
29357 #ifndef uint8_t
29358 typedef u_int8_t uint8_t;
29359 #endif
29360 #endif
29361 #endif
29363 #ifndef _UINT16_T
29364 #define _UINT16_T
29365 #ifndef __uint16_t_defined
29366 #define __uint16_t_defined
29367 #ifndef uint16_t
29368 typedef u_int16_t uint16_t;
29369 #endif
29370 #endif
29371 #endif
29373 #ifndef _UINT32_T
29374 #define _UINT32_T
29375 #ifndef __uint32_t_defined
29376 #define __uint32_t_defined
29377 #ifndef uint32_t
29378 typedef u_int32_t uint32_t;
29379 #endif
29380 #endif
29381 #endif
29383 else
29384 sed 's/^ *//' >> tmp-stdint.h <<EOF
29386 /* Some systems have guard macros to prevent redefinitions, define them. */
29387 #ifndef _INT8_T
29388 #define _INT8_T
29389 #endif
29390 #ifndef _INT16_T
29391 #define _INT16_T
29392 #endif
29393 #ifndef _INT32_T
29394 #define _INT32_T
29395 #endif
29396 #ifndef _UINT8_T
29397 #define _UINT8_T
29398 #endif
29399 #ifndef _UINT16_T
29400 #define _UINT16_T
29401 #endif
29402 #ifndef _UINT32_T
29403 #define _UINT32_T
29404 #endif
29408 # ------------- done basic int types, emit int64_t types ------------
29409 if test "$ac_cv_type_uint64_t" = yes; then
29410 sed 's/^ *//' >> tmp-stdint.h <<EOF
29412 /* system headers have good uint64_t and int64_t */
29413 #ifndef _INT64_T
29414 #define _INT64_T
29415 #endif
29416 #ifndef _UINT64_T
29417 #define _UINT64_T
29418 #endif
29420 elif test "$ac_cv_type_u_int64_t" = yes; then
29421 sed 's/^ *//' >> tmp-stdint.h <<EOF
29423 /* system headers have an u_int64_t (and int64_t) */
29424 #ifndef _INT64_T
29425 #define _INT64_T
29426 #endif
29427 #ifndef _UINT64_T
29428 #define _UINT64_T
29429 #ifndef __uint64_t_defined
29430 #define __uint64_t_defined
29431 #ifndef uint64_t
29432 typedef u_int64_t uint64_t;
29433 #endif
29434 #endif
29435 #endif
29437 elif test -n "$acx_cv_type_int64_t"; then
29438 sed 's/^ *//' >> tmp-stdint.h <<EOF
29440 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
29441 #ifndef _INT64_T
29442 #define _INT64_T
29443 #ifndef int64_t
29444 typedef $acx_cv_type_int64_t int64_t;
29445 #endif
29446 #endif
29447 #ifndef _UINT64_T
29448 #define _UINT64_T
29449 #ifndef __uint64_t_defined
29450 #define __uint64_t_defined
29451 #ifndef uint64_t
29452 typedef unsigned $acx_cv_type_int64_t uint64_t;
29453 #endif
29454 #endif
29455 #endif
29457 else
29458 sed 's/^ *//' >> tmp-stdint.h <<EOF
29460 /* some common heuristics for int64_t, using compiler-specific tests */
29461 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
29462 #ifndef _INT64_T
29463 #define _INT64_T
29464 #ifndef __int64_t_defined
29465 #ifndef int64_t
29466 typedef long long int64_t;
29467 #endif
29468 #endif
29469 #endif
29470 #ifndef _UINT64_T
29471 #define _UINT64_T
29472 #ifndef uint64_t
29473 typedef unsigned long long uint64_t;
29474 #endif
29475 #endif
29477 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
29478 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
29479 does not implement __extension__. But that compiler doesn't define
29480 __GNUC_MINOR__. */
29481 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
29482 # define __extension__
29483 # endif
29485 # ifndef _INT64_T
29486 # define _INT64_T
29487 # ifndef int64_t
29488 __extension__ typedef long long int64_t;
29489 # endif
29490 # endif
29491 # ifndef _UINT64_T
29492 # define _UINT64_T
29493 # ifndef uint64_t
29494 __extension__ typedef unsigned long long uint64_t;
29495 # endif
29496 # endif
29498 #elif !defined __STRICT_ANSI__
29499 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
29501 # ifndef _INT64_T
29502 # define _INT64_T
29503 # ifndef int64_t
29504 typedef __int64 int64_t;
29505 # endif
29506 # endif
29507 # ifndef _UINT64_T
29508 # define _UINT64_T
29509 # ifndef uint64_t
29510 typedef unsigned __int64 uint64_t;
29511 # endif
29512 # endif
29513 # endif /* compiler */
29515 #endif /* ANSI version */
29519 # ------------- done int64_t types, emit intptr types ------------
29520 if test "$ac_cv_type_uintptr_t" != yes; then
29521 sed 's/^ *//' >> tmp-stdint.h <<EOF
29523 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
29524 #ifndef __uintptr_t_defined
29525 #ifndef uintptr_t
29526 typedef u$acx_cv_type_intptr_t uintptr_t;
29527 #endif
29528 #endif
29529 #ifndef __intptr_t_defined
29530 #ifndef intptr_t
29531 typedef $acx_cv_type_intptr_t intptr_t;
29532 #endif
29533 #endif
29537 # ------------- done intptr types, emit int_least types ------------
29538 if test "$ac_cv_type_int_least32_t" != yes; then
29539 sed 's/^ *//' >> tmp-stdint.h <<EOF
29541 /* Define int_least types */
29542 typedef int8_t int_least8_t;
29543 typedef int16_t int_least16_t;
29544 typedef int32_t int_least32_t;
29545 #ifdef _INT64_T
29546 typedef int64_t int_least64_t;
29547 #endif
29549 typedef uint8_t uint_least8_t;
29550 typedef uint16_t uint_least16_t;
29551 typedef uint32_t uint_least32_t;
29552 #ifdef _UINT64_T
29553 typedef uint64_t uint_least64_t;
29554 #endif
29558 # ------------- done intptr types, emit int_fast types ------------
29559 if test "$ac_cv_type_int_fast32_t" != yes; then
29560 sed 's/^ *//' >> tmp-stdint.h <<EOF
29562 /* Define int_fast types. short is often slow */
29563 typedef int8_t int_fast8_t;
29564 typedef int int_fast16_t;
29565 typedef int32_t int_fast32_t;
29566 #ifdef _INT64_T
29567 typedef int64_t int_fast64_t;
29568 #endif
29570 typedef uint8_t uint_fast8_t;
29571 typedef unsigned int uint_fast16_t;
29572 typedef uint32_t uint_fast32_t;
29573 #ifdef _UINT64_T
29574 typedef uint64_t uint_fast64_t;
29575 #endif
29579 if test "$ac_cv_type_uintmax_t" != yes; then
29580 sed 's/^ *//' >> tmp-stdint.h <<EOF
29582 /* Define intmax based on what we found */
29583 #ifndef intmax_t
29584 #ifdef _INT64_T
29585 typedef int64_t intmax_t;
29586 #else
29587 typedef long intmax_t;
29588 #endif
29589 #endif
29590 #ifndef uintmax_t
29591 #ifdef _UINT64_T
29592 typedef uint64_t uintmax_t;
29593 #else
29594 typedef unsigned long uintmax_t;
29595 #endif
29596 #endif
29600 sed 's/^ *//' >> tmp-stdint.h <<EOF
29602 #endif /* GCC_GENERATED_STDINT_H */
29605 if test -r gstdint.h && cmp -s tmp-stdint.h gstdint.h; then
29606 rm -f tmp-stdint.h
29607 else
29608 mv -f tmp-stdint.h gstdint.h
29613 esac
29614 done # for ac_tag
29617 as_fn_exit 0
29618 _ACEOF
29619 ac_clean_files=$ac_clean_files_save
29621 test $ac_write_fail = 0 ||
29622 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
29625 # configure is writing to config.log, and then calls config.status.
29626 # config.status does its own redirection, appending to config.log.
29627 # Unfortunately, on DOS this fails, as config.log is still kept open
29628 # by configure, so config.status won't be able to write to it; its
29629 # output is simply discarded. So we exec the FD to /dev/null,
29630 # effectively closing config.log, so it can be properly (re)opened and
29631 # appended to by config.status. When coming back to configure, we
29632 # need to make the FD available again.
29633 if test "$no_create" != yes; then
29634 ac_cs_success=:
29635 ac_config_status_args=
29636 test "$silent" = yes &&
29637 ac_config_status_args="$ac_config_status_args --quiet"
29638 exec 5>/dev/null
29639 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
29640 exec 5>>config.log
29641 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
29642 # would make configure fail if this is the last instruction.
29643 $ac_cs_success || as_fn_exit $?
29645 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
29646 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
29647 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}