Mark as release
[official-gcc.git] / libgfortran / configure
blobd26b379db8a8c25a7c0fb8645feb9d45ff4a87fd
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_subst_vars='am__EXEEXT_FALSE
604 am__EXEEXT_TRUE
605 LTLIBOBJS
606 LIBOBJS
607 IEEE_FLAGS
608 FPU_HOST_HEADER
609 LIBGFOR_BUILD_QUAD_FALSE
610 LIBGFOR_BUILD_QUAD_TRUE
611 LIBQUADINCLUDE
612 LIBQUADLIB_DEP
613 LIBQUADLIB
614 LIBQUADSPEC
615 extra_ldflags_libgfortran
616 ac_ct_FC
617 FCFLAGS
619 enable_static
620 enable_shared
621 lt_host_flags
622 OTOOL64
623 OTOOL
624 LIPO
625 NMEDIT
626 DSYMUTIL
627 OBJDUMP
628 LN_S
630 ac_ct_DUMPBIN
631 DUMPBIN
633 FGREP
635 LIBTOOL
636 RANLIB
639 SECTION_FLAGS
640 LIBGFOR_USE_SYMVER_SUN_FALSE
641 LIBGFOR_USE_SYMVER_SUN_TRUE
642 LIBGFOR_USE_SYMVER_GNU_FALSE
643 LIBGFOR_USE_SYMVER_GNU_TRUE
644 LIBGFOR_USE_SYMVER_FALSE
645 LIBGFOR_USE_SYMVER_TRUE
646 AM_CFLAGS
647 AM_FCFLAGS
648 toolexeclibdir
649 toolexecdir
650 EGREP
651 GREP
653 am__fastdepCC_FALSE
654 am__fastdepCC_TRUE
655 CCDEPMODE
656 am__nodep
657 AMDEPBACKSLASH
658 AMDEP_FALSE
659 AMDEP_TRUE
660 am__quote
661 am__include
662 DEPDIR
663 OBJEXT
664 EXEEXT
665 ac_ct_CC
666 CPPFLAGS
667 LDFLAGS
668 CFLAGS
670 multi_basedir
671 MAINT
672 MAINTAINER_MODE_FALSE
673 MAINTAINER_MODE_TRUE
674 am__untar
675 am__tar
676 AMTAR
677 am__leading_dot
678 SET_MAKE
680 mkdir_p
681 MKDIR_P
682 INSTALL_STRIP_PROGRAM
683 STRIP
684 install_sh
685 MAKEINFO
686 AUTOHEADER
687 AUTOMAKE
688 AUTOCONF
689 ACLOCAL
690 VERSION
691 PACKAGE
692 CYGPATH_W
693 am__isrc
694 INSTALL_DATA
695 INSTALL_SCRIPT
696 INSTALL_PROGRAM
697 target_noncanonical
698 target_os
699 target_vendor
700 target_cpu
701 target
702 host_os
703 host_vendor
704 host_cpu
705 host
706 onestep
707 onestep_FALSE
708 onestep_TRUE
709 target_subdir
710 host_subdir
711 build_subdir
712 build_libsubdir
713 build_os
714 build_vendor
715 build_cpu
716 build
717 target_alias
718 host_alias
719 build_alias
720 LIBS
721 ECHO_T
722 ECHO_N
723 ECHO_C
724 DEFS
725 mandir
726 localedir
727 libdir
728 psdir
729 pdfdir
730 dvidir
731 htmldir
732 infodir
733 docdir
734 oldincludedir
735 includedir
736 localstatedir
737 sharedstatedir
738 sysconfdir
739 datadir
740 datarootdir
741 libexecdir
742 sbindir
743 bindir
744 program_transform_name
745 prefix
746 exec_prefix
747 PACKAGE_URL
748 PACKAGE_BUGREPORT
749 PACKAGE_STRING
750 PACKAGE_VERSION
751 PACKAGE_TARNAME
752 PACKAGE_NAME
753 PATH_SEPARATOR
754 SHELL'
755 ac_subst_files=''
756 ac_user_opts='
757 enable_option_checking
758 with_build_libsubdir
759 enable_version_specific_runtime_libs
760 enable_intermodule
761 enable_maintainer_mode
762 enable_multilib
763 enable_dependency_tracking
764 enable_symvers
765 enable_shared
766 enable_static
767 with_pic
768 enable_fast_install
769 with_gnu_ld
770 enable_libtool_lock
771 enable_largefile
772 enable_libquadmath_support
773 with_system_libunwind
775 ac_precious_vars='build_alias
776 host_alias
777 target_alias
779 CFLAGS
780 LDFLAGS
781 LIBS
782 CPPFLAGS
785 FCFLAGS'
788 # Initialize some variables set by options.
789 ac_init_help=
790 ac_init_version=false
791 ac_unrecognized_opts=
792 ac_unrecognized_sep=
793 # The variables have the same names as the options, with
794 # dashes changed to underlines.
795 cache_file=/dev/null
796 exec_prefix=NONE
797 no_create=
798 no_recursion=
799 prefix=NONE
800 program_prefix=NONE
801 program_suffix=NONE
802 program_transform_name=s,x,x,
803 silent=
804 site=
805 srcdir=
806 verbose=
807 x_includes=NONE
808 x_libraries=NONE
810 # Installation directory options.
811 # These are left unexpanded so users can "make install exec_prefix=/foo"
812 # and all the variables that are supposed to be based on exec_prefix
813 # by default will actually change.
814 # Use braces instead of parens because sh, perl, etc. also accept them.
815 # (The list follows the same order as the GNU Coding Standards.)
816 bindir='${exec_prefix}/bin'
817 sbindir='${exec_prefix}/sbin'
818 libexecdir='${exec_prefix}/libexec'
819 datarootdir='${prefix}/share'
820 datadir='${datarootdir}'
821 sysconfdir='${prefix}/etc'
822 sharedstatedir='${prefix}/com'
823 localstatedir='${prefix}/var'
824 includedir='${prefix}/include'
825 oldincludedir='/usr/include'
826 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
827 infodir='${datarootdir}/info'
828 htmldir='${docdir}'
829 dvidir='${docdir}'
830 pdfdir='${docdir}'
831 psdir='${docdir}'
832 libdir='${exec_prefix}/lib'
833 localedir='${datarootdir}/locale'
834 mandir='${datarootdir}/man'
836 ac_prev=
837 ac_dashdash=
838 for ac_option
840 # If the previous option needs an argument, assign it.
841 if test -n "$ac_prev"; then
842 eval $ac_prev=\$ac_option
843 ac_prev=
844 continue
847 case $ac_option in
848 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
849 *) ac_optarg=yes ;;
850 esac
852 # Accept the important Cygnus configure options, so we can diagnose typos.
854 case $ac_dashdash$ac_option in
856 ac_dashdash=yes ;;
858 -bindir | --bindir | --bindi | --bind | --bin | --bi)
859 ac_prev=bindir ;;
860 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
861 bindir=$ac_optarg ;;
863 -build | --build | --buil | --bui | --bu)
864 ac_prev=build_alias ;;
865 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
866 build_alias=$ac_optarg ;;
868 -cache-file | --cache-file | --cache-fil | --cache-fi \
869 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
870 ac_prev=cache_file ;;
871 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
872 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
873 cache_file=$ac_optarg ;;
875 --config-cache | -C)
876 cache_file=config.cache ;;
878 -datadir | --datadir | --datadi | --datad)
879 ac_prev=datadir ;;
880 -datadir=* | --datadir=* | --datadi=* | --datad=*)
881 datadir=$ac_optarg ;;
883 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
884 | --dataroo | --dataro | --datar)
885 ac_prev=datarootdir ;;
886 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
887 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
888 datarootdir=$ac_optarg ;;
890 -disable-* | --disable-*)
891 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
892 # Reject names that are not valid shell variable names.
893 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
894 as_fn_error "invalid feature name: $ac_useropt"
895 ac_useropt_orig=$ac_useropt
896 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
897 case $ac_user_opts in
899 "enable_$ac_useropt"
900 "*) ;;
901 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
902 ac_unrecognized_sep=', ';;
903 esac
904 eval enable_$ac_useropt=no ;;
906 -docdir | --docdir | --docdi | --doc | --do)
907 ac_prev=docdir ;;
908 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
909 docdir=$ac_optarg ;;
911 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
912 ac_prev=dvidir ;;
913 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
914 dvidir=$ac_optarg ;;
916 -enable-* | --enable-*)
917 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
918 # Reject names that are not valid shell variable names.
919 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
920 as_fn_error "invalid feature name: $ac_useropt"
921 ac_useropt_orig=$ac_useropt
922 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
923 case $ac_user_opts in
925 "enable_$ac_useropt"
926 "*) ;;
927 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
928 ac_unrecognized_sep=', ';;
929 esac
930 eval enable_$ac_useropt=\$ac_optarg ;;
932 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
933 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
934 | --exec | --exe | --ex)
935 ac_prev=exec_prefix ;;
936 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
937 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
938 | --exec=* | --exe=* | --ex=*)
939 exec_prefix=$ac_optarg ;;
941 -gas | --gas | --ga | --g)
942 # Obsolete; use --with-gas.
943 with_gas=yes ;;
945 -help | --help | --hel | --he | -h)
946 ac_init_help=long ;;
947 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
948 ac_init_help=recursive ;;
949 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
950 ac_init_help=short ;;
952 -host | --host | --hos | --ho)
953 ac_prev=host_alias ;;
954 -host=* | --host=* | --hos=* | --ho=*)
955 host_alias=$ac_optarg ;;
957 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
958 ac_prev=htmldir ;;
959 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
960 | --ht=*)
961 htmldir=$ac_optarg ;;
963 -includedir | --includedir | --includedi | --included | --include \
964 | --includ | --inclu | --incl | --inc)
965 ac_prev=includedir ;;
966 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
967 | --includ=* | --inclu=* | --incl=* | --inc=*)
968 includedir=$ac_optarg ;;
970 -infodir | --infodir | --infodi | --infod | --info | --inf)
971 ac_prev=infodir ;;
972 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
973 infodir=$ac_optarg ;;
975 -libdir | --libdir | --libdi | --libd)
976 ac_prev=libdir ;;
977 -libdir=* | --libdir=* | --libdi=* | --libd=*)
978 libdir=$ac_optarg ;;
980 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
981 | --libexe | --libex | --libe)
982 ac_prev=libexecdir ;;
983 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
984 | --libexe=* | --libex=* | --libe=*)
985 libexecdir=$ac_optarg ;;
987 -localedir | --localedir | --localedi | --localed | --locale)
988 ac_prev=localedir ;;
989 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
990 localedir=$ac_optarg ;;
992 -localstatedir | --localstatedir | --localstatedi | --localstated \
993 | --localstate | --localstat | --localsta | --localst | --locals)
994 ac_prev=localstatedir ;;
995 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
996 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
997 localstatedir=$ac_optarg ;;
999 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1000 ac_prev=mandir ;;
1001 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1002 mandir=$ac_optarg ;;
1004 -nfp | --nfp | --nf)
1005 # Obsolete; use --without-fp.
1006 with_fp=no ;;
1008 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1009 | --no-cr | --no-c | -n)
1010 no_create=yes ;;
1012 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1013 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1014 no_recursion=yes ;;
1016 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1017 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1018 | --oldin | --oldi | --old | --ol | --o)
1019 ac_prev=oldincludedir ;;
1020 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1021 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1022 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1023 oldincludedir=$ac_optarg ;;
1025 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1026 ac_prev=prefix ;;
1027 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1028 prefix=$ac_optarg ;;
1030 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1031 | --program-pre | --program-pr | --program-p)
1032 ac_prev=program_prefix ;;
1033 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1034 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1035 program_prefix=$ac_optarg ;;
1037 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1038 | --program-suf | --program-su | --program-s)
1039 ac_prev=program_suffix ;;
1040 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1041 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1042 program_suffix=$ac_optarg ;;
1044 -program-transform-name | --program-transform-name \
1045 | --program-transform-nam | --program-transform-na \
1046 | --program-transform-n | --program-transform- \
1047 | --program-transform | --program-transfor \
1048 | --program-transfo | --program-transf \
1049 | --program-trans | --program-tran \
1050 | --progr-tra | --program-tr | --program-t)
1051 ac_prev=program_transform_name ;;
1052 -program-transform-name=* | --program-transform-name=* \
1053 | --program-transform-nam=* | --program-transform-na=* \
1054 | --program-transform-n=* | --program-transform-=* \
1055 | --program-transform=* | --program-transfor=* \
1056 | --program-transfo=* | --program-transf=* \
1057 | --program-trans=* | --program-tran=* \
1058 | --progr-tra=* | --program-tr=* | --program-t=*)
1059 program_transform_name=$ac_optarg ;;
1061 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1062 ac_prev=pdfdir ;;
1063 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1064 pdfdir=$ac_optarg ;;
1066 -psdir | --psdir | --psdi | --psd | --ps)
1067 ac_prev=psdir ;;
1068 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1069 psdir=$ac_optarg ;;
1071 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1072 | -silent | --silent | --silen | --sile | --sil)
1073 silent=yes ;;
1075 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1076 ac_prev=sbindir ;;
1077 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1078 | --sbi=* | --sb=*)
1079 sbindir=$ac_optarg ;;
1081 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1082 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1083 | --sharedst | --shareds | --shared | --share | --shar \
1084 | --sha | --sh)
1085 ac_prev=sharedstatedir ;;
1086 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1087 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1088 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1089 | --sha=* | --sh=*)
1090 sharedstatedir=$ac_optarg ;;
1092 -site | --site | --sit)
1093 ac_prev=site ;;
1094 -site=* | --site=* | --sit=*)
1095 site=$ac_optarg ;;
1097 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1098 ac_prev=srcdir ;;
1099 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1100 srcdir=$ac_optarg ;;
1102 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1103 | --syscon | --sysco | --sysc | --sys | --sy)
1104 ac_prev=sysconfdir ;;
1105 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1106 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1107 sysconfdir=$ac_optarg ;;
1109 -target | --target | --targe | --targ | --tar | --ta | --t)
1110 ac_prev=target_alias ;;
1111 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1112 target_alias=$ac_optarg ;;
1114 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1115 verbose=yes ;;
1117 -version | --version | --versio | --versi | --vers | -V)
1118 ac_init_version=: ;;
1120 -with-* | --with-*)
1121 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1122 # Reject names that are not valid shell variable names.
1123 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1124 as_fn_error "invalid package name: $ac_useropt"
1125 ac_useropt_orig=$ac_useropt
1126 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1127 case $ac_user_opts in
1129 "with_$ac_useropt"
1130 "*) ;;
1131 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1132 ac_unrecognized_sep=', ';;
1133 esac
1134 eval with_$ac_useropt=\$ac_optarg ;;
1136 -without-* | --without-*)
1137 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1138 # Reject names that are not valid shell variable names.
1139 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1140 as_fn_error "invalid package name: $ac_useropt"
1141 ac_useropt_orig=$ac_useropt
1142 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1143 case $ac_user_opts in
1145 "with_$ac_useropt"
1146 "*) ;;
1147 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1148 ac_unrecognized_sep=', ';;
1149 esac
1150 eval with_$ac_useropt=no ;;
1152 --x)
1153 # Obsolete; use --with-x.
1154 with_x=yes ;;
1156 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1157 | --x-incl | --x-inc | --x-in | --x-i)
1158 ac_prev=x_includes ;;
1159 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1160 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1161 x_includes=$ac_optarg ;;
1163 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1164 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1165 ac_prev=x_libraries ;;
1166 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1167 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1168 x_libraries=$ac_optarg ;;
1170 -*) as_fn_error "unrecognized option: \`$ac_option'
1171 Try \`$0 --help' for more information."
1174 *=*)
1175 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1176 # Reject names that are not valid shell variable names.
1177 case $ac_envvar in #(
1178 '' | [0-9]* | *[!_$as_cr_alnum]* )
1179 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1180 esac
1181 eval $ac_envvar=\$ac_optarg
1182 export $ac_envvar ;;
1185 # FIXME: should be removed in autoconf 3.0.
1186 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1187 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1188 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1189 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1192 esac
1193 done
1195 if test -n "$ac_prev"; then
1196 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1197 as_fn_error "missing argument to $ac_option"
1200 if test -n "$ac_unrecognized_opts"; then
1201 case $enable_option_checking in
1202 no) ;;
1203 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1204 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1205 esac
1208 # Check all directory arguments for consistency.
1209 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1210 datadir sysconfdir sharedstatedir localstatedir includedir \
1211 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1212 libdir localedir mandir
1214 eval ac_val=\$$ac_var
1215 # Remove trailing slashes.
1216 case $ac_val in
1217 */ )
1218 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1219 eval $ac_var=\$ac_val;;
1220 esac
1221 # Be sure to have absolute directory names.
1222 case $ac_val in
1223 [\\/$]* | ?:[\\/]* ) continue;;
1224 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1225 esac
1226 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1227 done
1229 # There might be people who depend on the old broken behavior: `$host'
1230 # used to hold the argument of --host etc.
1231 # FIXME: To remove some day.
1232 build=$build_alias
1233 host=$host_alias
1234 target=$target_alias
1236 # FIXME: To remove some day.
1237 if test "x$host_alias" != x; then
1238 if test "x$build_alias" = x; then
1239 cross_compiling=maybe
1240 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1241 If a cross compiler is detected then cross compile mode will be used." >&2
1242 elif test "x$build_alias" != "x$host_alias"; then
1243 cross_compiling=yes
1247 ac_tool_prefix=
1248 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1250 test "$silent" = yes && exec 6>/dev/null
1253 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1254 ac_ls_di=`ls -di .` &&
1255 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1256 as_fn_error "working directory cannot be determined"
1257 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1258 as_fn_error "pwd does not report name of working directory"
1261 # Find the source files, if location was not specified.
1262 if test -z "$srcdir"; then
1263 ac_srcdir_defaulted=yes
1264 # Try the directory containing this script, then the parent directory.
1265 ac_confdir=`$as_dirname -- "$as_myself" ||
1266 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1267 X"$as_myself" : 'X\(//\)[^/]' \| \
1268 X"$as_myself" : 'X\(//\)$' \| \
1269 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1270 $as_echo X"$as_myself" |
1271 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1272 s//\1/
1275 /^X\(\/\/\)[^/].*/{
1276 s//\1/
1279 /^X\(\/\/\)$/{
1280 s//\1/
1283 /^X\(\/\).*/{
1284 s//\1/
1287 s/.*/./; q'`
1288 srcdir=$ac_confdir
1289 if test ! -r "$srcdir/$ac_unique_file"; then
1290 srcdir=..
1292 else
1293 ac_srcdir_defaulted=no
1295 if test ! -r "$srcdir/$ac_unique_file"; then
1296 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1297 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1299 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1300 ac_abs_confdir=`(
1301 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1302 pwd)`
1303 # When building in place, set srcdir=.
1304 if test "$ac_abs_confdir" = "$ac_pwd"; then
1305 srcdir=.
1307 # Remove unnecessary trailing slashes from srcdir.
1308 # Double slashes in file names in object file debugging info
1309 # mess up M-x gdb in Emacs.
1310 case $srcdir in
1311 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1312 esac
1313 for ac_var in $ac_precious_vars; do
1314 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1315 eval ac_env_${ac_var}_value=\$${ac_var}
1316 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1317 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1318 done
1321 # Report the --help message.
1323 if test "$ac_init_help" = "long"; then
1324 # Omit some internal or obsolete options to make the list less imposing.
1325 # This message is too long to be a string in the A/UX 3.1 sh.
1326 cat <<_ACEOF
1327 \`configure' configures GNU Fortran Runtime Library 0.3 to adapt to many kinds of systems.
1329 Usage: $0 [OPTION]... [VAR=VALUE]...
1331 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1332 VAR=VALUE. See below for descriptions of some of the useful variables.
1334 Defaults for the options are specified in brackets.
1336 Configuration:
1337 -h, --help display this help and exit
1338 --help=short display options specific to this package
1339 --help=recursive display the short help of all the included packages
1340 -V, --version display version information and exit
1341 -q, --quiet, --silent do not print \`checking...' messages
1342 --cache-file=FILE cache test results in FILE [disabled]
1343 -C, --config-cache alias for \`--cache-file=config.cache'
1344 -n, --no-create do not create output files
1345 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1347 Installation directories:
1348 --prefix=PREFIX install architecture-independent files in PREFIX
1349 [$ac_default_prefix]
1350 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1351 [PREFIX]
1353 By default, \`make install' will install all the files in
1354 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1355 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1356 for instance \`--prefix=\$HOME'.
1358 For better control, use the options below.
1360 Fine tuning of the installation directories:
1361 --bindir=DIR user executables [EPREFIX/bin]
1362 --sbindir=DIR system admin executables [EPREFIX/sbin]
1363 --libexecdir=DIR program executables [EPREFIX/libexec]
1364 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1365 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1366 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1367 --libdir=DIR object code libraries [EPREFIX/lib]
1368 --includedir=DIR C header files [PREFIX/include]
1369 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1370 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1371 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1372 --infodir=DIR info documentation [DATAROOTDIR/info]
1373 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1374 --mandir=DIR man documentation [DATAROOTDIR/man]
1375 --docdir=DIR documentation root [DATAROOTDIR/doc/libgfortran]
1376 --htmldir=DIR html documentation [DOCDIR]
1377 --dvidir=DIR dvi documentation [DOCDIR]
1378 --pdfdir=DIR pdf documentation [DOCDIR]
1379 --psdir=DIR ps documentation [DOCDIR]
1380 _ACEOF
1382 cat <<\_ACEOF
1384 Program names:
1385 --program-prefix=PREFIX prepend PREFIX to installed program names
1386 --program-suffix=SUFFIX append SUFFIX to installed program names
1387 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1389 System types:
1390 --build=BUILD configure for building on BUILD [guessed]
1391 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1392 --target=TARGET configure for building compilers for TARGET [HOST]
1393 _ACEOF
1396 if test -n "$ac_init_help"; then
1397 case $ac_init_help in
1398 short | recursive ) echo "Configuration of GNU Fortran Runtime Library 0.3:";;
1399 esac
1400 cat <<\_ACEOF
1402 Optional Features:
1403 --disable-option-checking ignore unrecognized --enable/--with options
1404 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1405 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1406 --enable-version-specific-runtime-libs
1407 specify that runtime libraries should be installed
1408 in a compiler-specific directory
1409 --enable-intermodule build the library in one step
1410 --enable-maintainer-mode enable make rules and dependencies not useful
1411 (and sometimes confusing) to the casual installer
1412 --enable-multilib build many library versions (default)
1413 --disable-dependency-tracking speeds up one-time build
1414 --enable-dependency-tracking do not reject slow dependency extractors
1415 --disable-symvers disable symbol versioning for libgfortran
1416 --enable-shared[=PKGS] build shared libraries [default=yes]
1417 --enable-static[=PKGS] build static libraries [default=yes]
1418 --enable-fast-install[=PKGS]
1419 optimize for fast installation [default=yes]
1420 --disable-libtool-lock avoid locking (might break parallel builds)
1421 --disable-largefile omit support for large files
1422 --disable-libquadmath-support
1423 disable libquadmath support for Fortran
1425 Optional Packages:
1426 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1427 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1428 --with-build-libsubdir=DIR Directory where to find libraries for build system
1429 --with-pic try to use only PIC/non-PIC objects [default=use
1430 both]
1431 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1432 --with-system-libunwind use installed libunwind
1434 Some influential environment variables:
1435 CC C compiler command
1436 CFLAGS C compiler flags
1437 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1438 nonstandard directory <lib dir>
1439 LIBS libraries to pass to the linker, e.g. -l<library>
1440 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1441 you have headers in a nonstandard directory <include dir>
1442 CPP C preprocessor
1443 FC Fortran compiler command
1444 FCFLAGS Fortran compiler flags
1446 Use these variables to override the choices made by `configure' or to help
1447 it to find libraries and programs with nonstandard names/locations.
1449 Report bugs to the package provider.
1450 GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
1451 General help using GNU software: <http://www.gnu.org/gethelp/>.
1452 _ACEOF
1453 ac_status=$?
1456 if test "$ac_init_help" = "recursive"; then
1457 # If there are subdirs, report their specific --help.
1458 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1459 test -d "$ac_dir" ||
1460 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1461 continue
1462 ac_builddir=.
1464 case "$ac_dir" in
1465 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1467 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1468 # A ".." for each directory in $ac_dir_suffix.
1469 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1470 case $ac_top_builddir_sub in
1471 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1472 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1473 esac ;;
1474 esac
1475 ac_abs_top_builddir=$ac_pwd
1476 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1477 # for backward compatibility:
1478 ac_top_builddir=$ac_top_build_prefix
1480 case $srcdir in
1481 .) # We are building in place.
1482 ac_srcdir=.
1483 ac_top_srcdir=$ac_top_builddir_sub
1484 ac_abs_top_srcdir=$ac_pwd ;;
1485 [\\/]* | ?:[\\/]* ) # Absolute name.
1486 ac_srcdir=$srcdir$ac_dir_suffix;
1487 ac_top_srcdir=$srcdir
1488 ac_abs_top_srcdir=$srcdir ;;
1489 *) # Relative name.
1490 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1491 ac_top_srcdir=$ac_top_build_prefix$srcdir
1492 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1493 esac
1494 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1496 cd "$ac_dir" || { ac_status=$?; continue; }
1497 # Check for guested configure.
1498 if test -f "$ac_srcdir/configure.gnu"; then
1499 echo &&
1500 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1501 elif test -f "$ac_srcdir/configure"; then
1502 echo &&
1503 $SHELL "$ac_srcdir/configure" --help=recursive
1504 else
1505 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1506 fi || ac_status=$?
1507 cd "$ac_pwd" || { ac_status=$?; break; }
1508 done
1511 test -n "$ac_init_help" && exit $ac_status
1512 if $ac_init_version; then
1513 cat <<\_ACEOF
1514 GNU Fortran Runtime Library configure 0.3
1515 generated by GNU Autoconf 2.64
1517 Copyright (C) 2009 Free Software Foundation, Inc.
1518 This configure script is free software; the Free Software Foundation
1519 gives unlimited permission to copy, distribute and modify it.
1520 _ACEOF
1521 exit
1524 ## ------------------------ ##
1525 ## Autoconf initialization. ##
1526 ## ------------------------ ##
1528 # ac_fn_c_try_compile LINENO
1529 # --------------------------
1530 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1531 ac_fn_c_try_compile ()
1533 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1534 rm -f conftest.$ac_objext
1535 if { { ac_try="$ac_compile"
1536 case "(($ac_try" in
1537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1538 *) ac_try_echo=$ac_try;;
1539 esac
1540 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1541 $as_echo "$ac_try_echo"; } >&5
1542 (eval "$ac_compile") 2>conftest.err
1543 ac_status=$?
1544 if test -s conftest.err; then
1545 grep -v '^ *+' conftest.err >conftest.er1
1546 cat conftest.er1 >&5
1547 mv -f conftest.er1 conftest.err
1549 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1550 test $ac_status = 0; } && {
1551 test -z "$ac_c_werror_flag" ||
1552 test ! -s conftest.err
1553 } && test -s conftest.$ac_objext; then :
1554 ac_retval=0
1555 else
1556 $as_echo "$as_me: failed program was:" >&5
1557 sed 's/^/| /' conftest.$ac_ext >&5
1559 ac_retval=1
1561 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1562 return $ac_retval
1564 } # ac_fn_c_try_compile
1566 # ac_fn_c_try_cpp LINENO
1567 # ----------------------
1568 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1569 ac_fn_c_try_cpp ()
1571 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1572 if { { ac_try="$ac_cpp conftest.$ac_ext"
1573 case "(($ac_try" in
1574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1575 *) ac_try_echo=$ac_try;;
1576 esac
1577 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1578 $as_echo "$ac_try_echo"; } >&5
1579 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1580 ac_status=$?
1581 if test -s conftest.err; then
1582 grep -v '^ *+' conftest.err >conftest.er1
1583 cat conftest.er1 >&5
1584 mv -f conftest.er1 conftest.err
1586 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1587 test $ac_status = 0; } >/dev/null && {
1588 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1589 test ! -s conftest.err
1590 }; then :
1591 ac_retval=0
1592 else
1593 $as_echo "$as_me: failed program was:" >&5
1594 sed 's/^/| /' conftest.$ac_ext >&5
1596 ac_retval=1
1598 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1599 return $ac_retval
1601 } # ac_fn_c_try_cpp
1603 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1604 # -------------------------------------------------------
1605 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1606 # the include files in INCLUDES and setting the cache variable VAR
1607 # accordingly.
1608 ac_fn_c_check_header_mongrel ()
1610 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1611 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1613 $as_echo_n "checking for $2... " >&6; }
1614 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1615 $as_echo_n "(cached) " >&6
1617 eval ac_res=\$$3
1618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1619 $as_echo "$ac_res" >&6; }
1620 else
1621 # Is the header compilable?
1622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1623 $as_echo_n "checking $2 usability... " >&6; }
1624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1625 /* end confdefs.h. */
1627 #include <$2>
1628 _ACEOF
1629 if ac_fn_c_try_compile "$LINENO"; then :
1630 ac_header_compiler=yes
1631 else
1632 ac_header_compiler=no
1634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1636 $as_echo "$ac_header_compiler" >&6; }
1638 # Is the header present?
1639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1640 $as_echo_n "checking $2 presence... " >&6; }
1641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1642 /* end confdefs.h. */
1643 #include <$2>
1644 _ACEOF
1645 if ac_fn_c_try_cpp "$LINENO"; then :
1646 ac_header_preproc=yes
1647 else
1648 ac_header_preproc=no
1650 rm -f conftest.err conftest.$ac_ext
1651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1652 $as_echo "$ac_header_preproc" >&6; }
1654 # So? What about this header?
1655 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1656 yes:no: )
1657 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1658 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1659 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1660 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1662 no:yes:* )
1663 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1664 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1665 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1666 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1667 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1668 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1669 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1670 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1671 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1672 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1674 esac
1675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1676 $as_echo_n "checking for $2... " >&6; }
1677 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1678 $as_echo_n "(cached) " >&6
1679 else
1680 eval "$3=\$ac_header_compiler"
1682 eval ac_res=\$$3
1683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1684 $as_echo "$ac_res" >&6; }
1686 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1688 } # ac_fn_c_check_header_mongrel
1690 # ac_fn_c_try_run LINENO
1691 # ----------------------
1692 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1693 # that executables *can* be run.
1694 ac_fn_c_try_run ()
1696 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1697 if { { ac_try="$ac_link"
1698 case "(($ac_try" in
1699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1700 *) ac_try_echo=$ac_try;;
1701 esac
1702 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1703 $as_echo "$ac_try_echo"; } >&5
1704 (eval "$ac_link") 2>&5
1705 ac_status=$?
1706 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1707 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1708 { { case "(($ac_try" in
1709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1710 *) ac_try_echo=$ac_try;;
1711 esac
1712 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1713 $as_echo "$ac_try_echo"; } >&5
1714 (eval "$ac_try") 2>&5
1715 ac_status=$?
1716 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1717 test $ac_status = 0; }; }; then :
1718 ac_retval=0
1719 else
1720 $as_echo "$as_me: program exited with status $ac_status" >&5
1721 $as_echo "$as_me: failed program was:" >&5
1722 sed 's/^/| /' conftest.$ac_ext >&5
1724 ac_retval=$ac_status
1726 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1727 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1728 return $ac_retval
1730 } # ac_fn_c_try_run
1732 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1733 # -------------------------------------------------------
1734 # Tests whether HEADER exists and can be compiled using the include files in
1735 # INCLUDES, setting the cache variable VAR accordingly.
1736 ac_fn_c_check_header_compile ()
1738 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1740 $as_echo_n "checking for $2... " >&6; }
1741 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1742 $as_echo_n "(cached) " >&6
1743 else
1744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1745 /* end confdefs.h. */
1747 #include <$2>
1748 _ACEOF
1749 if ac_fn_c_try_compile "$LINENO"; then :
1750 eval "$3=yes"
1751 else
1752 eval "$3=no"
1754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1756 eval ac_res=\$$3
1757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1758 $as_echo "$ac_res" >&6; }
1759 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1761 } # ac_fn_c_check_header_compile
1763 # ac_fn_c_try_link LINENO
1764 # -----------------------
1765 # Try to link conftest.$ac_ext, and return whether this succeeded.
1766 ac_fn_c_try_link ()
1768 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1769 rm -f conftest.$ac_objext conftest$ac_exeext
1770 if { { ac_try="$ac_link"
1771 case "(($ac_try" in
1772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1773 *) ac_try_echo=$ac_try;;
1774 esac
1775 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1776 $as_echo "$ac_try_echo"; } >&5
1777 (eval "$ac_link") 2>conftest.err
1778 ac_status=$?
1779 if test -s conftest.err; then
1780 grep -v '^ *+' conftest.err >conftest.er1
1781 cat conftest.er1 >&5
1782 mv -f conftest.er1 conftest.err
1784 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1785 test $ac_status = 0; } && {
1786 test -z "$ac_c_werror_flag" ||
1787 test ! -s conftest.err
1788 } && test -s conftest$ac_exeext && {
1789 test "$cross_compiling" = yes ||
1790 $as_test_x conftest$ac_exeext
1791 }; then :
1792 ac_retval=0
1793 else
1794 $as_echo "$as_me: failed program was:" >&5
1795 sed 's/^/| /' conftest.$ac_ext >&5
1797 ac_retval=1
1799 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1800 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1801 # interfere with the next link command; also delete a directory that is
1802 # left behind by Apple's compiler. We do this before executing the actions.
1803 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1804 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1805 return $ac_retval
1807 } # ac_fn_c_try_link
1809 # ac_fn_c_check_func LINENO FUNC VAR
1810 # ----------------------------------
1811 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1812 ac_fn_c_check_func ()
1814 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1816 $as_echo_n "checking for $2... " >&6; }
1817 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1818 $as_echo_n "(cached) " >&6
1819 else
1820 if test x$gcc_no_link = xyes; then
1821 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1824 /* end confdefs.h. */
1825 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1826 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1827 #define $2 innocuous_$2
1829 /* System header to define __stub macros and hopefully few prototypes,
1830 which can conflict with char $2 (); below.
1831 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1832 <limits.h> exists even on freestanding compilers. */
1834 #ifdef __STDC__
1835 # include <limits.h>
1836 #else
1837 # include <assert.h>
1838 #endif
1840 #undef $2
1842 /* Override any GCC internal prototype to avoid an error.
1843 Use char because int might match the return type of a GCC
1844 builtin and then its argument prototype would still apply. */
1845 #ifdef __cplusplus
1846 extern "C"
1847 #endif
1848 char $2 ();
1849 /* The GNU C library defines this for functions which it implements
1850 to always fail with ENOSYS. Some functions are actually named
1851 something starting with __ and the normal name is an alias. */
1852 #if defined __stub_$2 || defined __stub___$2
1853 choke me
1854 #endif
1857 main ()
1859 return $2 ();
1861 return 0;
1863 _ACEOF
1864 if ac_fn_c_try_link "$LINENO"; then :
1865 eval "$3=yes"
1866 else
1867 eval "$3=no"
1869 rm -f core conftest.err conftest.$ac_objext \
1870 conftest$ac_exeext conftest.$ac_ext
1872 eval ac_res=\$$3
1873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1874 $as_echo "$ac_res" >&6; }
1875 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1877 } # ac_fn_c_check_func
1879 # ac_fn_fc_try_compile LINENO
1880 # ---------------------------
1881 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1882 ac_fn_fc_try_compile ()
1884 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1885 rm -f conftest.$ac_objext
1886 if { { ac_try="$ac_compile"
1887 case "(($ac_try" in
1888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1889 *) ac_try_echo=$ac_try;;
1890 esac
1891 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1892 $as_echo "$ac_try_echo"; } >&5
1893 (eval "$ac_compile") 2>conftest.err
1894 ac_status=$?
1895 if test -s conftest.err; then
1896 grep -v '^ *+' conftest.err >conftest.er1
1897 cat conftest.er1 >&5
1898 mv -f conftest.er1 conftest.err
1900 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1901 test $ac_status = 0; } && {
1902 test -z "$ac_fc_werror_flag" ||
1903 test ! -s conftest.err
1904 } && test -s conftest.$ac_objext; then :
1905 ac_retval=0
1906 else
1907 $as_echo "$as_me: failed program was:" >&5
1908 sed 's/^/| /' conftest.$ac_ext >&5
1910 ac_retval=1
1912 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1913 return $ac_retval
1915 } # ac_fn_fc_try_compile
1917 # ac_fn_fc_try_link LINENO
1918 # ------------------------
1919 # Try to link conftest.$ac_ext, and return whether this succeeded.
1920 ac_fn_fc_try_link ()
1922 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1923 rm -f conftest.$ac_objext conftest$ac_exeext
1924 if { { ac_try="$ac_link"
1925 case "(($ac_try" in
1926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1927 *) ac_try_echo=$ac_try;;
1928 esac
1929 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1930 $as_echo "$ac_try_echo"; } >&5
1931 (eval "$ac_link") 2>conftest.err
1932 ac_status=$?
1933 if test -s conftest.err; then
1934 grep -v '^ *+' conftest.err >conftest.er1
1935 cat conftest.er1 >&5
1936 mv -f conftest.er1 conftest.err
1938 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1939 test $ac_status = 0; } && {
1940 test -z "$ac_fc_werror_flag" ||
1941 test ! -s conftest.err
1942 } && test -s conftest$ac_exeext && {
1943 test "$cross_compiling" = yes ||
1944 $as_test_x conftest$ac_exeext
1945 }; then :
1946 ac_retval=0
1947 else
1948 $as_echo "$as_me: failed program was:" >&5
1949 sed 's/^/| /' conftest.$ac_ext >&5
1951 ac_retval=1
1953 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1954 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1955 # interfere with the next link command; also delete a directory that is
1956 # left behind by Apple's compiler. We do this before executing the actions.
1957 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1958 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1959 return $ac_retval
1961 } # ac_fn_fc_try_link
1963 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1964 # -------------------------------------------
1965 # Tests whether TYPE exists after having included INCLUDES, setting cache
1966 # variable VAR accordingly.
1967 ac_fn_c_check_type ()
1969 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1971 $as_echo_n "checking for $2... " >&6; }
1972 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1973 $as_echo_n "(cached) " >&6
1974 else
1975 eval "$3=no"
1976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1977 /* end confdefs.h. */
1980 main ()
1982 if (sizeof ($2))
1983 return 0;
1985 return 0;
1987 _ACEOF
1988 if ac_fn_c_try_compile "$LINENO"; then :
1989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1990 /* end confdefs.h. */
1993 main ()
1995 if (sizeof (($2)))
1996 return 0;
1998 return 0;
2000 _ACEOF
2001 if ac_fn_c_try_compile "$LINENO"; then :
2003 else
2004 eval "$3=yes"
2006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2010 eval ac_res=\$$3
2011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2012 $as_echo "$ac_res" >&6; }
2013 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2015 } # ac_fn_c_check_type
2017 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2018 # --------------------------------------------
2019 # Tries to find the compile-time value of EXPR in a program that includes
2020 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2021 # computed
2022 ac_fn_c_compute_int ()
2024 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2025 if test "$cross_compiling" = yes; then
2026 # Depending upon the size, compute the lo and hi bounds.
2027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2028 /* end confdefs.h. */
2031 main ()
2033 static int test_array [1 - 2 * !(($2) >= 0)];
2034 test_array [0] = 0
2037 return 0;
2039 _ACEOF
2040 if ac_fn_c_try_compile "$LINENO"; then :
2041 ac_lo=0 ac_mid=0
2042 while :; do
2043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2044 /* end confdefs.h. */
2047 main ()
2049 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2050 test_array [0] = 0
2053 return 0;
2055 _ACEOF
2056 if ac_fn_c_try_compile "$LINENO"; then :
2057 ac_hi=$ac_mid; break
2058 else
2059 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2060 if test $ac_lo -le $ac_mid; then
2061 ac_lo= ac_hi=
2062 break
2064 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2067 done
2068 else
2069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2070 /* end confdefs.h. */
2073 main ()
2075 static int test_array [1 - 2 * !(($2) < 0)];
2076 test_array [0] = 0
2079 return 0;
2081 _ACEOF
2082 if ac_fn_c_try_compile "$LINENO"; then :
2083 ac_hi=-1 ac_mid=-1
2084 while :; do
2085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2086 /* end confdefs.h. */
2089 main ()
2091 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2092 test_array [0] = 0
2095 return 0;
2097 _ACEOF
2098 if ac_fn_c_try_compile "$LINENO"; then :
2099 ac_lo=$ac_mid; break
2100 else
2101 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2102 if test $ac_mid -le $ac_hi; then
2103 ac_lo= ac_hi=
2104 break
2106 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2109 done
2110 else
2111 ac_lo= ac_hi=
2113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2116 # Binary search between lo and hi bounds.
2117 while test "x$ac_lo" != "x$ac_hi"; do
2118 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2120 /* end confdefs.h. */
2123 main ()
2125 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2126 test_array [0] = 0
2129 return 0;
2131 _ACEOF
2132 if ac_fn_c_try_compile "$LINENO"; then :
2133 ac_hi=$ac_mid
2134 else
2135 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2138 done
2139 case $ac_lo in #((
2140 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2141 '') ac_retval=1 ;;
2142 esac
2143 else
2144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2145 /* end confdefs.h. */
2147 static long int longval () { return $2; }
2148 static unsigned long int ulongval () { return $2; }
2149 #include <stdio.h>
2150 #include <stdlib.h>
2152 main ()
2155 FILE *f = fopen ("conftest.val", "w");
2156 if (! f)
2157 return 1;
2158 if (($2) < 0)
2160 long int i = longval ();
2161 if (i != ($2))
2162 return 1;
2163 fprintf (f, "%ld", i);
2165 else
2167 unsigned long int i = ulongval ();
2168 if (i != ($2))
2169 return 1;
2170 fprintf (f, "%lu", i);
2172 /* Do not output a trailing newline, as this causes \r\n confusion
2173 on some platforms. */
2174 return ferror (f) || fclose (f) != 0;
2177 return 0;
2179 _ACEOF
2180 if ac_fn_c_try_run "$LINENO"; then :
2181 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2182 else
2183 ac_retval=1
2185 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2186 conftest.$ac_objext conftest.beam conftest.$ac_ext
2187 rm -f conftest.val
2190 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2191 return $ac_retval
2193 } # ac_fn_c_compute_int
2195 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2196 # ----------------------------------------------------
2197 # Tries to find if the field MEMBER exists in type AGGR, after including
2198 # INCLUDES, setting cache variable VAR accordingly.
2199 ac_fn_c_check_member ()
2201 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2203 $as_echo_n "checking for $2.$3... " >&6; }
2204 if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
2205 $as_echo_n "(cached) " >&6
2206 else
2207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2208 /* end confdefs.h. */
2211 main ()
2213 static $2 ac_aggr;
2214 if (ac_aggr.$3)
2215 return 0;
2217 return 0;
2219 _ACEOF
2220 if ac_fn_c_try_compile "$LINENO"; then :
2221 eval "$4=yes"
2222 else
2223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2224 /* end confdefs.h. */
2227 main ()
2229 static $2 ac_aggr;
2230 if (sizeof ac_aggr.$3)
2231 return 0;
2233 return 0;
2235 _ACEOF
2236 if ac_fn_c_try_compile "$LINENO"; then :
2237 eval "$4=yes"
2238 else
2239 eval "$4=no"
2241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2245 eval ac_res=\$$4
2246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2247 $as_echo "$ac_res" >&6; }
2248 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2250 } # ac_fn_c_check_member
2251 cat >config.log <<_ACEOF
2252 This file contains any messages produced by compilers while
2253 running configure, to aid debugging if configure makes a mistake.
2255 It was created by GNU Fortran Runtime Library $as_me 0.3, which was
2256 generated by GNU Autoconf 2.64. Invocation command line was
2258 $ $0 $@
2260 _ACEOF
2261 exec 5>>config.log
2263 cat <<_ASUNAME
2264 ## --------- ##
2265 ## Platform. ##
2266 ## --------- ##
2268 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2269 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2270 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2271 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2272 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2274 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2275 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2277 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2278 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2279 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2280 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2281 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2282 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2283 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2285 _ASUNAME
2287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2288 for as_dir in $PATH
2290 IFS=$as_save_IFS
2291 test -z "$as_dir" && as_dir=.
2292 $as_echo "PATH: $as_dir"
2293 done
2294 IFS=$as_save_IFS
2296 } >&5
2298 cat >&5 <<_ACEOF
2301 ## ----------- ##
2302 ## Core tests. ##
2303 ## ----------- ##
2305 _ACEOF
2308 # Keep a trace of the command line.
2309 # Strip out --no-create and --no-recursion so they do not pile up.
2310 # Strip out --silent because we don't want to record it for future runs.
2311 # Also quote any args containing shell meta-characters.
2312 # Make two passes to allow for proper duplicate-argument suppression.
2313 ac_configure_args=
2314 ac_configure_args0=
2315 ac_configure_args1=
2316 ac_must_keep_next=false
2317 for ac_pass in 1 2
2319 for ac_arg
2321 case $ac_arg in
2322 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2323 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2324 | -silent | --silent | --silen | --sile | --sil)
2325 continue ;;
2326 *\'*)
2327 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2328 esac
2329 case $ac_pass in
2330 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2332 as_fn_append ac_configure_args1 " '$ac_arg'"
2333 if test $ac_must_keep_next = true; then
2334 ac_must_keep_next=false # Got value, back to normal.
2335 else
2336 case $ac_arg in
2337 *=* | --config-cache | -C | -disable-* | --disable-* \
2338 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2339 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2340 | -with-* | --with-* | -without-* | --without-* | --x)
2341 case "$ac_configure_args0 " in
2342 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2343 esac
2345 -* ) ac_must_keep_next=true ;;
2346 esac
2348 as_fn_append ac_configure_args " '$ac_arg'"
2350 esac
2351 done
2352 done
2353 { ac_configure_args0=; unset ac_configure_args0;}
2354 { ac_configure_args1=; unset ac_configure_args1;}
2356 # When interrupted or exit'd, cleanup temporary files, and complete
2357 # config.log. We remove comments because anyway the quotes in there
2358 # would cause problems or look ugly.
2359 # WARNING: Use '\'' to represent an apostrophe within the trap.
2360 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2361 trap 'exit_status=$?
2362 # Save into config.log some information that might help in debugging.
2364 echo
2366 cat <<\_ASBOX
2367 ## ---------------- ##
2368 ## Cache variables. ##
2369 ## ---------------- ##
2370 _ASBOX
2371 echo
2372 # The following way of writing the cache mishandles newlines in values,
2374 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2375 eval ac_val=\$$ac_var
2376 case $ac_val in #(
2377 *${as_nl}*)
2378 case $ac_var in #(
2379 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2380 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2381 esac
2382 case $ac_var in #(
2383 _ | IFS | as_nl) ;; #(
2384 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2385 *) { eval $ac_var=; unset $ac_var;} ;;
2386 esac ;;
2387 esac
2388 done
2389 (set) 2>&1 |
2390 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2391 *${as_nl}ac_space=\ *)
2392 sed -n \
2393 "s/'\''/'\''\\\\'\'''\''/g;
2394 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2395 ;; #(
2397 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2399 esac |
2400 sort
2402 echo
2404 cat <<\_ASBOX
2405 ## ----------------- ##
2406 ## Output variables. ##
2407 ## ----------------- ##
2408 _ASBOX
2409 echo
2410 for ac_var in $ac_subst_vars
2412 eval ac_val=\$$ac_var
2413 case $ac_val in
2414 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2415 esac
2416 $as_echo "$ac_var='\''$ac_val'\''"
2417 done | sort
2418 echo
2420 if test -n "$ac_subst_files"; then
2421 cat <<\_ASBOX
2422 ## ------------------- ##
2423 ## File substitutions. ##
2424 ## ------------------- ##
2425 _ASBOX
2426 echo
2427 for ac_var in $ac_subst_files
2429 eval ac_val=\$$ac_var
2430 case $ac_val in
2431 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2432 esac
2433 $as_echo "$ac_var='\''$ac_val'\''"
2434 done | sort
2435 echo
2438 if test -s confdefs.h; then
2439 cat <<\_ASBOX
2440 ## ----------- ##
2441 ## confdefs.h. ##
2442 ## ----------- ##
2443 _ASBOX
2444 echo
2445 cat confdefs.h
2446 echo
2448 test "$ac_signal" != 0 &&
2449 $as_echo "$as_me: caught signal $ac_signal"
2450 $as_echo "$as_me: exit $exit_status"
2451 } >&5
2452 rm -f core *.core core.conftest.* &&
2453 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2454 exit $exit_status
2456 for ac_signal in 1 2 13 15; do
2457 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2458 done
2459 ac_signal=0
2461 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2462 rm -f -r conftest* confdefs.h
2464 $as_echo "/* confdefs.h */" > confdefs.h
2466 # Predefined preprocessor variables.
2468 cat >>confdefs.h <<_ACEOF
2469 #define PACKAGE_NAME "$PACKAGE_NAME"
2470 _ACEOF
2472 cat >>confdefs.h <<_ACEOF
2473 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2474 _ACEOF
2476 cat >>confdefs.h <<_ACEOF
2477 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2478 _ACEOF
2480 cat >>confdefs.h <<_ACEOF
2481 #define PACKAGE_STRING "$PACKAGE_STRING"
2482 _ACEOF
2484 cat >>confdefs.h <<_ACEOF
2485 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2486 _ACEOF
2488 cat >>confdefs.h <<_ACEOF
2489 #define PACKAGE_URL "$PACKAGE_URL"
2490 _ACEOF
2493 # Let the site file select an alternate cache file if it wants to.
2494 # Prefer an explicitly selected file to automatically selected ones.
2495 ac_site_file1=NONE
2496 ac_site_file2=NONE
2497 if test -n "$CONFIG_SITE"; then
2498 ac_site_file1=$CONFIG_SITE
2499 elif test "x$prefix" != xNONE; then
2500 ac_site_file1=$prefix/share/config.site
2501 ac_site_file2=$prefix/etc/config.site
2502 else
2503 ac_site_file1=$ac_default_prefix/share/config.site
2504 ac_site_file2=$ac_default_prefix/etc/config.site
2506 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2508 test "x$ac_site_file" = xNONE && continue
2509 if test -r "$ac_site_file"; then
2510 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2511 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2512 sed 's/^/| /' "$ac_site_file" >&5
2513 . "$ac_site_file"
2515 done
2517 if test -r "$cache_file"; then
2518 # Some versions of bash will fail to source /dev/null (special
2519 # files actually), so we avoid doing that.
2520 if test -f "$cache_file"; then
2521 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2522 $as_echo "$as_me: loading cache $cache_file" >&6;}
2523 case $cache_file in
2524 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2525 *) . "./$cache_file";;
2526 esac
2528 else
2529 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2530 $as_echo "$as_me: creating cache $cache_file" >&6;}
2531 >$cache_file
2534 as_fn_append ac_header_list " unistd.h"
2535 as_fn_append ac_header_list " sys/time.h"
2536 as_fn_append ac_header_list " sys/times.h"
2537 as_fn_append ac_header_list " sys/resource.h"
2538 as_fn_append ac_header_list " sys/types.h"
2539 as_fn_append ac_header_list " sys/stat.h"
2540 as_fn_append ac_header_list " sys/wait.h"
2541 as_fn_append ac_header_list " floatingpoint.h"
2542 as_fn_append ac_header_list " ieeefp.h"
2543 as_fn_append ac_header_list " fenv.h"
2544 as_fn_append ac_header_list " fptrap.h"
2545 as_fn_append ac_header_list " pwd.h"
2546 as_fn_append ac_header_list " complex.h"
2547 as_fn_append ac_func_list " getrusage"
2548 as_fn_append ac_func_list " times"
2549 as_fn_append ac_func_list " mkstemp"
2550 as_fn_append ac_func_list " strtof"
2551 as_fn_append ac_func_list " strtold"
2552 as_fn_append ac_func_list " snprintf"
2553 as_fn_append ac_func_list " ftruncate"
2554 as_fn_append ac_func_list " chsize"
2555 as_fn_append ac_func_list " chdir"
2556 as_fn_append ac_func_list " getlogin"
2557 as_fn_append ac_func_list " gethostname"
2558 as_fn_append ac_func_list " kill"
2559 as_fn_append ac_func_list " link"
2560 as_fn_append ac_func_list " symlink"
2561 as_fn_append ac_func_list " sleep"
2562 as_fn_append ac_func_list " ttyname"
2563 as_fn_append ac_func_list " alarm"
2564 as_fn_append ac_func_list " access"
2565 as_fn_append ac_func_list " fork"
2566 as_fn_append ac_func_list " execl"
2567 as_fn_append ac_func_list " wait"
2568 as_fn_append ac_func_list " setmode"
2569 as_fn_append ac_func_list " execve"
2570 as_fn_append ac_func_list " pipe"
2571 as_fn_append ac_func_list " dup2"
2572 as_fn_append ac_func_list " close"
2573 as_fn_append ac_func_list " strcasestr"
2574 as_fn_append ac_func_list " getrlimit"
2575 as_fn_append ac_func_list " gettimeofday"
2576 as_fn_append ac_func_list " stat"
2577 as_fn_append ac_func_list " fstat"
2578 as_fn_append ac_func_list " lstat"
2579 as_fn_append ac_func_list " getpwuid"
2580 as_fn_append ac_func_list " vsnprintf"
2581 as_fn_append ac_func_list " dup"
2582 as_fn_append ac_func_list " getcwd"
2583 as_fn_append ac_func_list " localtime_r"
2584 as_fn_append ac_func_list " gmtime_r"
2585 as_fn_append ac_func_list " getpwuid_r"
2586 as_fn_append ac_func_list " ttyname_r"
2587 as_fn_append ac_func_list " clock_gettime"
2588 as_fn_append ac_func_list " readlink"
2589 as_fn_append ac_func_list " getgid"
2590 as_fn_append ac_func_list " getpid"
2591 as_fn_append ac_func_list " getppid"
2592 as_fn_append ac_func_list " getuid"
2593 as_fn_append ac_func_list " geteuid"
2594 as_fn_append ac_func_list " umask"
2595 as_fn_append ac_func_list " getegid"
2596 as_fn_append ac_func_list " secure_getenv"
2597 as_fn_append ac_func_list " __secure_getenv"
2598 as_fn_append ac_func_list " strtok_r"
2599 as_fn_append ac_header_list " math.h"
2600 # Check that the precious variables saved in the cache have kept the same
2601 # value.
2602 ac_cache_corrupted=false
2603 for ac_var in $ac_precious_vars; do
2604 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2605 eval ac_new_set=\$ac_env_${ac_var}_set
2606 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2607 eval ac_new_val=\$ac_env_${ac_var}_value
2608 case $ac_old_set,$ac_new_set in
2609 set,)
2610 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2611 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2612 ac_cache_corrupted=: ;;
2613 ,set)
2614 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2615 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2616 ac_cache_corrupted=: ;;
2617 ,);;
2619 if test "x$ac_old_val" != "x$ac_new_val"; then
2620 # differences in whitespace do not lead to failure.
2621 ac_old_val_w=`echo x $ac_old_val`
2622 ac_new_val_w=`echo x $ac_new_val`
2623 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2624 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2625 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2626 ac_cache_corrupted=:
2627 else
2628 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2629 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2630 eval $ac_var=\$ac_old_val
2632 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2633 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2634 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2635 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2636 fi;;
2637 esac
2638 # Pass precious variables to config.status.
2639 if test "$ac_new_set" = set; then
2640 case $ac_new_val in
2641 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2642 *) ac_arg=$ac_var=$ac_new_val ;;
2643 esac
2644 case " $ac_configure_args " in
2645 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2646 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2647 esac
2649 done
2650 if $ac_cache_corrupted; then
2651 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2652 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2653 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2654 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2655 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2657 ## -------------------- ##
2658 ## Main body of script. ##
2659 ## -------------------- ##
2661 ac_ext=c
2662 ac_cpp='$CPP $CPPFLAGS'
2663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2671 ac_config_headers="$ac_config_headers config.h"
2673 ac_aux_dir=
2674 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2675 for ac_t in install-sh install.sh shtool; do
2676 if test -f "$ac_dir/$ac_t"; then
2677 ac_aux_dir=$ac_dir
2678 ac_install_sh="$ac_aux_dir/$ac_t -c"
2679 break 2
2681 done
2682 done
2683 if test -z "$ac_aux_dir"; then
2684 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2687 # These three variables are undocumented and unsupported,
2688 # and are intended to be withdrawn in a future Autoconf release.
2689 # They can cause serious problems if a builder's source tree is in a directory
2690 # whose full name contains unusual characters.
2691 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2692 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2693 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2696 # Make sure we can run config.sub.
2697 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2698 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2701 $as_echo_n "checking build system type... " >&6; }
2702 if test "${ac_cv_build+set}" = set; then :
2703 $as_echo_n "(cached) " >&6
2704 else
2705 ac_build_alias=$build_alias
2706 test "x$ac_build_alias" = x &&
2707 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2708 test "x$ac_build_alias" = x &&
2709 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2710 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2711 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2715 $as_echo "$ac_cv_build" >&6; }
2716 case $ac_cv_build in
2717 *-*-*) ;;
2718 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2719 esac
2720 build=$ac_cv_build
2721 ac_save_IFS=$IFS; IFS='-'
2722 set x $ac_cv_build
2723 shift
2724 build_cpu=$1
2725 build_vendor=$2
2726 shift; shift
2727 # Remember, the first character of IFS is used to create $*,
2728 # except with old shells:
2729 build_os=$*
2730 IFS=$ac_save_IFS
2731 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2734 case ${build_alias} in
2735 "") build_noncanonical=${build} ;;
2736 *) build_noncanonical=${build_alias} ;;
2737 esac
2739 case ${host_alias} in
2740 "") host_noncanonical=${build_noncanonical} ;;
2741 *) host_noncanonical=${host_alias} ;;
2742 esac
2744 case ${target_alias} in
2745 "") target_noncanonical=${host_noncanonical} ;;
2746 *) target_noncanonical=${target_alias} ;;
2747 esac
2750 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2751 # have matching libraries, they should use host libraries: Makefile.tpl
2752 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2753 # However, they still use the build modules, because the corresponding
2754 # host modules (e.g. bison) are only built for the host when bootstrap
2755 # finishes. So:
2756 # - build_subdir is where we find build modules, and never changes.
2757 # - build_libsubdir is where we find build libraries, and can be overridden.
2759 # Prefix 'build-' so this never conflicts with target_subdir.
2760 build_subdir="build-${build_noncanonical}"
2762 # Check whether --with-build-libsubdir was given.
2763 if test "${with_build_libsubdir+set}" = set; then :
2764 withval=$with_build_libsubdir; build_libsubdir="$withval"
2765 else
2766 build_libsubdir="$build_subdir"
2769 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2770 if ( test $srcdir = . && test -d gcc ) \
2771 || test -d $srcdir/../host-${host_noncanonical}; then
2772 host_subdir="host-${host_noncanonical}"
2773 else
2774 host_subdir=.
2776 # No prefix.
2777 target_subdir=${target_noncanonical}
2780 # -------
2781 # Options
2782 # -------
2784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2785 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2786 # Check whether --enable-version-specific-runtime-libs was given.
2787 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2788 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
2789 yes) version_specific_libs=yes ;;
2790 no) version_specific_libs=no ;;
2791 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
2792 esac
2793 else
2794 version_specific_libs=no
2797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
2798 $as_echo "$version_specific_libs" >&6; }
2800 # Build with intermodule optimisations
2801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-intermodule" >&5
2802 $as_echo_n "checking for --enable-intermodule... " >&6; }
2803 # Check whether --enable-intermodule was given.
2804 if test "${enable_intermodule+set}" = set; then :
2805 enableval=$enable_intermodule; case "$enable_intermodule" in
2806 yes) onestep="-onestep";;
2807 *) onestep="";;
2808 esac
2809 else
2810 onestep=""
2813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_intermodule" >&5
2814 $as_echo "$enable_intermodule" >&6; }
2815 if test x$onestep = x-onestep; then
2816 onestep_TRUE=
2817 onestep_FALSE='#'
2818 else
2819 onestep_TRUE='#'
2820 onestep_FALSE=
2825 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2827 # You will slowly go insane if you do not grok the following fact: when
2828 # building this library, the top-level /target/ becomes the library's /host/.
2830 # configure then causes --target to default to --host, exactly like any
2831 # other package using autoconf. Therefore, 'target' and 'host' will
2832 # always be the same. This makes sense both for native and cross compilers
2833 # just think about it for a little while. :-)
2835 # Also, if this library is being configured as part of a cross compiler, the
2836 # top-level configure script will pass the "real" host as $with_cross_host.
2838 # Do not delete or change the following two lines. For why, see
2839 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2841 $as_echo_n "checking host system type... " >&6; }
2842 if test "${ac_cv_host+set}" = set; then :
2843 $as_echo_n "(cached) " >&6
2844 else
2845 if test "x$host_alias" = x; then
2846 ac_cv_host=$ac_cv_build
2847 else
2848 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2849 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2854 $as_echo "$ac_cv_host" >&6; }
2855 case $ac_cv_host in
2856 *-*-*) ;;
2857 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2858 esac
2859 host=$ac_cv_host
2860 ac_save_IFS=$IFS; IFS='-'
2861 set x $ac_cv_host
2862 shift
2863 host_cpu=$1
2864 host_vendor=$2
2865 shift; shift
2866 # Remember, the first character of IFS is used to create $*,
2867 # except with old shells:
2868 host_os=$*
2869 IFS=$ac_save_IFS
2870 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2874 $as_echo_n "checking target system type... " >&6; }
2875 if test "${ac_cv_target+set}" = set; then :
2876 $as_echo_n "(cached) " >&6
2877 else
2878 if test "x$target_alias" = x; then
2879 ac_cv_target=$ac_cv_host
2880 else
2881 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2882 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2887 $as_echo "$ac_cv_target" >&6; }
2888 case $ac_cv_target in
2889 *-*-*) ;;
2890 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2891 esac
2892 target=$ac_cv_target
2893 ac_save_IFS=$IFS; IFS='-'
2894 set x $ac_cv_target
2895 shift
2896 target_cpu=$1
2897 target_vendor=$2
2898 shift; shift
2899 # Remember, the first character of IFS is used to create $*,
2900 # except with old shells:
2901 target_os=$*
2902 IFS=$ac_save_IFS
2903 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2906 # The aliases save the names the user supplied, while $host etc.
2907 # will get canonicalized.
2908 test -n "$target_alias" &&
2909 test "$program_prefix$program_suffix$program_transform_name" = \
2910 NONENONEs,x,x, &&
2911 program_prefix=${target_alias}-
2916 target_alias=${target_alias-$host_alias}
2919 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
2920 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
2921 # 1.9.6: minimum required version
2922 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
2923 # of other PACKAGE_* variables will, however, and there's nothing
2924 # we can do about that; they come from AC_INIT).
2925 # foreign: we don't follow the normal rules for GNU packages (no COPYING
2926 # file in the top srcdir, etc, etc), so stop complaining.
2927 # no-dist: we don't want 'dist' and related rules.
2928 # -Wall: turns on all automake warnings...
2929 # -Wno-portability: ...except this one, since GNU make is required.
2930 am__api_version='1.11'
2932 # Find a good install program. We prefer a C program (faster),
2933 # so one script is as good as another. But avoid the broken or
2934 # incompatible versions:
2935 # SysV /etc/install, /usr/sbin/install
2936 # SunOS /usr/etc/install
2937 # IRIX /sbin/install
2938 # AIX /bin/install
2939 # AmigaOS /C/install, which installs bootblocks on floppy discs
2940 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2941 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2942 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2943 # OS/2's system install, which has a completely different semantic
2944 # ./install, which can be erroneously created by make from ./install.sh.
2945 # Reject install programs that cannot install multiple files.
2946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2947 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2948 if test -z "$INSTALL"; then
2949 if test "${ac_cv_path_install+set}" = set; then :
2950 $as_echo_n "(cached) " >&6
2951 else
2952 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2953 for as_dir in $PATH
2955 IFS=$as_save_IFS
2956 test -z "$as_dir" && as_dir=.
2957 # Account for people who put trailing slashes in PATH elements.
2958 case $as_dir/ in #((
2959 ./ | .// | /[cC]/* | \
2960 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2961 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2962 /usr/ucb/* ) ;;
2964 # OSF1 and SCO ODT 3.0 have their own names for install.
2965 # Don't use installbsd from OSF since it installs stuff as root
2966 # by default.
2967 for ac_prog in ginstall scoinst install; do
2968 for ac_exec_ext in '' $ac_executable_extensions; do
2969 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2970 if test $ac_prog = install &&
2971 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2972 # AIX install. It has an incompatible calling convention.
2974 elif test $ac_prog = install &&
2975 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2976 # program-specific install script used by HP pwplus--don't use.
2978 else
2979 rm -rf conftest.one conftest.two conftest.dir
2980 echo one > conftest.one
2981 echo two > conftest.two
2982 mkdir conftest.dir
2983 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2984 test -s conftest.one && test -s conftest.two &&
2985 test -s conftest.dir/conftest.one &&
2986 test -s conftest.dir/conftest.two
2987 then
2988 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2989 break 3
2993 done
2994 done
2996 esac
2998 done
2999 IFS=$as_save_IFS
3001 rm -rf conftest.one conftest.two conftest.dir
3004 if test "${ac_cv_path_install+set}" = set; then
3005 INSTALL=$ac_cv_path_install
3006 else
3007 # As a last resort, use the slow shell script. Don't cache a
3008 # value for INSTALL within a source directory, because that will
3009 # break other packages using the cache if that directory is
3010 # removed, or if the value is a relative name.
3011 INSTALL=$ac_install_sh
3014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3015 $as_echo "$INSTALL" >&6; }
3017 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3018 # It thinks the first close brace ends the variable substitution.
3019 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3021 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3023 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3026 $as_echo_n "checking whether build environment is sane... " >&6; }
3027 # Just in case
3028 sleep 1
3029 echo timestamp > conftest.file
3030 # Reject unsafe characters in $srcdir or the absolute working directory
3031 # name. Accept space and tab only in the latter.
3032 am_lf='
3034 case `pwd` in
3035 *[\\\"\#\$\&\'\`$am_lf]*)
3036 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3037 esac
3038 case $srcdir in
3039 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3040 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3041 esac
3043 # Do `set' in a subshell so we don't clobber the current shell's
3044 # arguments. Must try -L first in case configure is actually a
3045 # symlink; some systems play weird games with the mod time of symlinks
3046 # (eg FreeBSD returns the mod time of the symlink's containing
3047 # directory).
3048 if (
3049 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3050 if test "$*" = "X"; then
3051 # -L didn't work.
3052 set X `ls -t "$srcdir/configure" conftest.file`
3054 rm -f conftest.file
3055 if test "$*" != "X $srcdir/configure conftest.file" \
3056 && test "$*" != "X conftest.file $srcdir/configure"; then
3058 # If neither matched, then we have a broken ls. This can happen
3059 # if, for instance, CONFIG_SHELL is bash and it inherits a
3060 # broken ls alias from the environment. This has actually
3061 # happened. Such a system could not be considered "sane".
3062 as_fn_error "ls -t appears to fail. Make sure there is not a broken
3063 alias in your environment" "$LINENO" 5
3066 test "$2" = conftest.file
3068 then
3069 # Ok.
3071 else
3072 as_fn_error "newly created file is older than distributed files!
3073 Check your system clock" "$LINENO" 5
3075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3076 $as_echo "yes" >&6; }
3077 test "$program_prefix" != NONE &&
3078 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3079 # Use a double $ so make ignores it.
3080 test "$program_suffix" != NONE &&
3081 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3082 # Double any \ or $.
3083 # By default was `s,x,x', remove it if useless.
3084 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3085 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3087 # expand $ac_aux_dir to an absolute path
3088 am_aux_dir=`cd $ac_aux_dir && pwd`
3090 if test x"${MISSING+set}" != xset; then
3091 case $am_aux_dir in
3092 *\ * | *\ *)
3093 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3095 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3096 esac
3098 # Use eval to expand $SHELL
3099 if eval "$MISSING --run true"; then
3100 am_missing_run="$MISSING --run "
3101 else
3102 am_missing_run=
3103 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3104 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3107 if test x"${install_sh}" != xset; then
3108 case $am_aux_dir in
3109 *\ * | *\ *)
3110 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3112 install_sh="\${SHELL} $am_aux_dir/install-sh"
3113 esac
3116 # Installed binaries are usually stripped using `strip' when the user
3117 # run `make install-strip'. However `strip' might not be the right
3118 # tool to use in cross-compilation environments, therefore Automake
3119 # will honor the `STRIP' environment variable to overrule this program.
3120 if test "$cross_compiling" != no; then
3121 if test -n "$ac_tool_prefix"; then
3122 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3123 set dummy ${ac_tool_prefix}strip; ac_word=$2
3124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3125 $as_echo_n "checking for $ac_word... " >&6; }
3126 if test "${ac_cv_prog_STRIP+set}" = set; then :
3127 $as_echo_n "(cached) " >&6
3128 else
3129 if test -n "$STRIP"; then
3130 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3131 else
3132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3133 for as_dir in $PATH
3135 IFS=$as_save_IFS
3136 test -z "$as_dir" && as_dir=.
3137 for ac_exec_ext in '' $ac_executable_extensions; do
3138 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3139 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3140 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3141 break 2
3143 done
3144 done
3145 IFS=$as_save_IFS
3149 STRIP=$ac_cv_prog_STRIP
3150 if test -n "$STRIP"; then
3151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3152 $as_echo "$STRIP" >&6; }
3153 else
3154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3155 $as_echo "no" >&6; }
3160 if test -z "$ac_cv_prog_STRIP"; then
3161 ac_ct_STRIP=$STRIP
3162 # Extract the first word of "strip", so it can be a program name with args.
3163 set dummy strip; ac_word=$2
3164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3165 $as_echo_n "checking for $ac_word... " >&6; }
3166 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3167 $as_echo_n "(cached) " >&6
3168 else
3169 if test -n "$ac_ct_STRIP"; then
3170 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3171 else
3172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3173 for as_dir in $PATH
3175 IFS=$as_save_IFS
3176 test -z "$as_dir" && as_dir=.
3177 for ac_exec_ext in '' $ac_executable_extensions; do
3178 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3179 ac_cv_prog_ac_ct_STRIP="strip"
3180 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3181 break 2
3183 done
3184 done
3185 IFS=$as_save_IFS
3189 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3190 if test -n "$ac_ct_STRIP"; then
3191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3192 $as_echo "$ac_ct_STRIP" >&6; }
3193 else
3194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3195 $as_echo "no" >&6; }
3198 if test "x$ac_ct_STRIP" = x; then
3199 STRIP=":"
3200 else
3201 case $cross_compiling:$ac_tool_warned in
3202 yes:)
3203 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3204 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3205 ac_tool_warned=yes ;;
3206 esac
3207 STRIP=$ac_ct_STRIP
3209 else
3210 STRIP="$ac_cv_prog_STRIP"
3214 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3217 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3218 if test -z "$MKDIR_P"; then
3219 if test "${ac_cv_path_mkdir+set}" = set; then :
3220 $as_echo_n "(cached) " >&6
3221 else
3222 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3223 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3225 IFS=$as_save_IFS
3226 test -z "$as_dir" && as_dir=.
3227 for ac_prog in mkdir gmkdir; do
3228 for ac_exec_ext in '' $ac_executable_extensions; do
3229 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3230 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3231 'mkdir (GNU coreutils) '* | \
3232 'mkdir (coreutils) '* | \
3233 'mkdir (fileutils) '4.1*)
3234 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3235 break 3;;
3236 esac
3237 done
3238 done
3239 done
3240 IFS=$as_save_IFS
3244 if test "${ac_cv_path_mkdir+set}" = set; then
3245 MKDIR_P="$ac_cv_path_mkdir -p"
3246 else
3247 # As a last resort, use the slow shell script. Don't cache a
3248 # value for MKDIR_P within a source directory, because that will
3249 # break other packages using the cache if that directory is
3250 # removed, or if the value is a relative name.
3251 test -d ./--version && rmdir ./--version
3252 MKDIR_P="$ac_install_sh -d"
3255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3256 $as_echo "$MKDIR_P" >&6; }
3258 mkdir_p="$MKDIR_P"
3259 case $mkdir_p in
3260 [\\/$]* | ?:[\\/]*) ;;
3261 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3262 esac
3264 for ac_prog in gawk mawk nawk awk
3266 # Extract the first word of "$ac_prog", so it can be a program name with args.
3267 set dummy $ac_prog; ac_word=$2
3268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3269 $as_echo_n "checking for $ac_word... " >&6; }
3270 if test "${ac_cv_prog_AWK+set}" = set; then :
3271 $as_echo_n "(cached) " >&6
3272 else
3273 if test -n "$AWK"; then
3274 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3275 else
3276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3277 for as_dir in $PATH
3279 IFS=$as_save_IFS
3280 test -z "$as_dir" && as_dir=.
3281 for ac_exec_ext in '' $ac_executable_extensions; do
3282 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3283 ac_cv_prog_AWK="$ac_prog"
3284 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3285 break 2
3287 done
3288 done
3289 IFS=$as_save_IFS
3293 AWK=$ac_cv_prog_AWK
3294 if test -n "$AWK"; then
3295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3296 $as_echo "$AWK" >&6; }
3297 else
3298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3299 $as_echo "no" >&6; }
3303 test -n "$AWK" && break
3304 done
3306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3307 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3308 set x ${MAKE-make}
3309 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3310 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3311 $as_echo_n "(cached) " >&6
3312 else
3313 cat >conftest.make <<\_ACEOF
3314 SHELL = /bin/sh
3315 all:
3316 @echo '@@@%%%=$(MAKE)=@@@%%%'
3317 _ACEOF
3318 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3319 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3320 *@@@%%%=?*=@@@%%%*)
3321 eval ac_cv_prog_make_${ac_make}_set=yes;;
3323 eval ac_cv_prog_make_${ac_make}_set=no;;
3324 esac
3325 rm -f conftest.make
3327 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3329 $as_echo "yes" >&6; }
3330 SET_MAKE=
3331 else
3332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3333 $as_echo "no" >&6; }
3334 SET_MAKE="MAKE=${MAKE-make}"
3337 rm -rf .tst 2>/dev/null
3338 mkdir .tst 2>/dev/null
3339 if test -d .tst; then
3340 am__leading_dot=.
3341 else
3342 am__leading_dot=_
3344 rmdir .tst 2>/dev/null
3346 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3347 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3348 # is not polluted with repeated "-I."
3349 am__isrc=' -I$(srcdir)'
3350 # test to see if srcdir already configured
3351 if test -f $srcdir/config.status; then
3352 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3356 # test whether we have cygpath
3357 if test -z "$CYGPATH_W"; then
3358 if (cygpath --version) >/dev/null 2>/dev/null; then
3359 CYGPATH_W='cygpath -w'
3360 else
3361 CYGPATH_W=echo
3366 # Define the identity of the package.
3367 PACKAGE='libgfortran'
3368 VERSION='0.3'
3371 # Some tools Automake needs.
3373 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3376 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3379 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3382 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3385 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3387 # We need awk for the "check" target. The system "awk" is bad on
3388 # some platforms.
3389 # Always define AMTAR for backward compatibility. Yes, it's still used
3390 # in the wild :-( We should find a proper way to deprecate it ...
3391 AMTAR='$${TAR-tar}'
3393 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3402 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3403 # Check whether --enable-maintainer-mode was given.
3404 if test "${enable_maintainer_mode+set}" = set; then :
3405 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3406 else
3407 USE_MAINTAINER_MODE=no
3410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3411 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3412 if test $USE_MAINTAINER_MODE = yes; then
3413 MAINTAINER_MODE_TRUE=
3414 MAINTAINER_MODE_FALSE='#'
3415 else
3416 MAINTAINER_MODE_TRUE='#'
3417 MAINTAINER_MODE_FALSE=
3420 MAINT=$MAINTAINER_MODE_TRUE
3423 # Default to --enable-multilib
3424 # Check whether --enable-multilib was given.
3425 if test "${enable_multilib+set}" = set; then :
3426 enableval=$enable_multilib; case "$enableval" in
3427 yes) multilib=yes ;;
3428 no) multilib=no ;;
3429 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
3430 esac
3431 else
3432 multilib=yes
3436 # We may get other options which we leave undocumented:
3437 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3438 # See config-ml.in if you want the gory details.
3440 if test "$srcdir" = "."; then
3441 if test "$with_target_subdir" != "."; then
3442 multi_basedir="$srcdir/$with_multisrctop../.."
3443 else
3444 multi_basedir="$srcdir/$with_multisrctop.."
3446 else
3447 multi_basedir="$srcdir/.."
3451 # Even if the default multilib is not a cross compilation,
3452 # it may be that some of the other multilibs are.
3453 if test $cross_compiling = no && test $multilib = yes \
3454 && test "x${with_multisubdir}" != x ; then
3455 cross_compiling=maybe
3458 ac_config_commands="$ac_config_commands default-1"
3461 # Handy for debugging:
3462 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3464 # Are we being configured with some form of cross compiler?
3465 # NB: We don't actually need to know this just now, but when, say, a test
3466 # suite is included, we'll have to know.
3467 if test "$build" != "$host"; then
3468 LIBGFOR_IS_NATIVE=false
3470 else
3471 LIBGFOR_IS_NATIVE=true
3474 DEPDIR="${am__leading_dot}deps"
3476 ac_config_commands="$ac_config_commands depfiles"
3479 am_make=${MAKE-make}
3480 cat > confinc << 'END'
3481 am__doit:
3482 @echo this is the am__doit target
3483 .PHONY: am__doit
3485 # If we don't find an include directive, just comment out the code.
3486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3487 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3488 am__include="#"
3489 am__quote=
3490 _am_result=none
3491 # First try GNU make style include.
3492 echo "include confinc" > confmf
3493 # Ignore all kinds of additional output from `make'.
3494 case `$am_make -s -f confmf 2> /dev/null` in #(
3495 *the\ am__doit\ target*)
3496 am__include=include
3497 am__quote=
3498 _am_result=GNU
3500 esac
3501 # Now try BSD make style include.
3502 if test "$am__include" = "#"; then
3503 echo '.include "confinc"' > confmf
3504 case `$am_make -s -f confmf 2> /dev/null` in #(
3505 *the\ am__doit\ target*)
3506 am__include=.include
3507 am__quote="\""
3508 _am_result=BSD
3510 esac
3514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3515 $as_echo "$_am_result" >&6; }
3516 rm -f confinc confmf
3518 # Check whether --enable-dependency-tracking was given.
3519 if test "${enable_dependency_tracking+set}" = set; then :
3520 enableval=$enable_dependency_tracking;
3523 if test "x$enable_dependency_tracking" != xno; then
3524 am_depcomp="$ac_aux_dir/depcomp"
3525 AMDEPBACKSLASH='\'
3526 am__nodep='_no'
3528 if test "x$enable_dependency_tracking" != xno; then
3529 AMDEP_TRUE=
3530 AMDEP_FALSE='#'
3531 else
3532 AMDEP_TRUE='#'
3533 AMDEP_FALSE=
3537 ac_ext=c
3538 ac_cpp='$CPP $CPPFLAGS'
3539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3542 if test -n "$ac_tool_prefix"; then
3543 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3544 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3546 $as_echo_n "checking for $ac_word... " >&6; }
3547 if test "${ac_cv_prog_CC+set}" = set; then :
3548 $as_echo_n "(cached) " >&6
3549 else
3550 if test -n "$CC"; then
3551 ac_cv_prog_CC="$CC" # Let the user override the test.
3552 else
3553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3554 for as_dir in $PATH
3556 IFS=$as_save_IFS
3557 test -z "$as_dir" && as_dir=.
3558 for ac_exec_ext in '' $ac_executable_extensions; do
3559 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3560 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3561 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3562 break 2
3564 done
3565 done
3566 IFS=$as_save_IFS
3570 CC=$ac_cv_prog_CC
3571 if test -n "$CC"; then
3572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3573 $as_echo "$CC" >&6; }
3574 else
3575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3576 $as_echo "no" >&6; }
3581 if test -z "$ac_cv_prog_CC"; then
3582 ac_ct_CC=$CC
3583 # Extract the first word of "gcc", so it can be a program name with args.
3584 set dummy gcc; ac_word=$2
3585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3586 $as_echo_n "checking for $ac_word... " >&6; }
3587 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3588 $as_echo_n "(cached) " >&6
3589 else
3590 if test -n "$ac_ct_CC"; then
3591 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3592 else
3593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3594 for as_dir in $PATH
3596 IFS=$as_save_IFS
3597 test -z "$as_dir" && as_dir=.
3598 for ac_exec_ext in '' $ac_executable_extensions; do
3599 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3600 ac_cv_prog_ac_ct_CC="gcc"
3601 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3602 break 2
3604 done
3605 done
3606 IFS=$as_save_IFS
3610 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3611 if test -n "$ac_ct_CC"; then
3612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3613 $as_echo "$ac_ct_CC" >&6; }
3614 else
3615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3616 $as_echo "no" >&6; }
3619 if test "x$ac_ct_CC" = x; then
3620 CC=""
3621 else
3622 case $cross_compiling:$ac_tool_warned in
3623 yes:)
3624 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3625 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3626 ac_tool_warned=yes ;;
3627 esac
3628 CC=$ac_ct_CC
3630 else
3631 CC="$ac_cv_prog_CC"
3634 if test -z "$CC"; then
3635 if test -n "$ac_tool_prefix"; then
3636 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3637 set dummy ${ac_tool_prefix}cc; ac_word=$2
3638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3639 $as_echo_n "checking for $ac_word... " >&6; }
3640 if test "${ac_cv_prog_CC+set}" = set; then :
3641 $as_echo_n "(cached) " >&6
3642 else
3643 if test -n "$CC"; then
3644 ac_cv_prog_CC="$CC" # Let the user override the test.
3645 else
3646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3647 for as_dir in $PATH
3649 IFS=$as_save_IFS
3650 test -z "$as_dir" && as_dir=.
3651 for ac_exec_ext in '' $ac_executable_extensions; do
3652 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3653 ac_cv_prog_CC="${ac_tool_prefix}cc"
3654 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3655 break 2
3657 done
3658 done
3659 IFS=$as_save_IFS
3663 CC=$ac_cv_prog_CC
3664 if test -n "$CC"; then
3665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3666 $as_echo "$CC" >&6; }
3667 else
3668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3669 $as_echo "no" >&6; }
3675 if test -z "$CC"; then
3676 # Extract the first word of "cc", so it can be a program name with args.
3677 set dummy cc; ac_word=$2
3678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3679 $as_echo_n "checking for $ac_word... " >&6; }
3680 if test "${ac_cv_prog_CC+set}" = set; then :
3681 $as_echo_n "(cached) " >&6
3682 else
3683 if test -n "$CC"; then
3684 ac_cv_prog_CC="$CC" # Let the user override the test.
3685 else
3686 ac_prog_rejected=no
3687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3688 for as_dir in $PATH
3690 IFS=$as_save_IFS
3691 test -z "$as_dir" && as_dir=.
3692 for ac_exec_ext in '' $ac_executable_extensions; do
3693 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3694 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3695 ac_prog_rejected=yes
3696 continue
3698 ac_cv_prog_CC="cc"
3699 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3700 break 2
3702 done
3703 done
3704 IFS=$as_save_IFS
3706 if test $ac_prog_rejected = yes; then
3707 # We found a bogon in the path, so make sure we never use it.
3708 set dummy $ac_cv_prog_CC
3709 shift
3710 if test $# != 0; then
3711 # We chose a different compiler from the bogus one.
3712 # However, it has the same basename, so the bogon will be chosen
3713 # first if we set CC to just the basename; use the full file name.
3714 shift
3715 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3720 CC=$ac_cv_prog_CC
3721 if test -n "$CC"; then
3722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3723 $as_echo "$CC" >&6; }
3724 else
3725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3726 $as_echo "no" >&6; }
3731 if test -z "$CC"; then
3732 if test -n "$ac_tool_prefix"; then
3733 for ac_prog in cl.exe
3735 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3736 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3738 $as_echo_n "checking for $ac_word... " >&6; }
3739 if test "${ac_cv_prog_CC+set}" = set; then :
3740 $as_echo_n "(cached) " >&6
3741 else
3742 if test -n "$CC"; then
3743 ac_cv_prog_CC="$CC" # Let the user override the test.
3744 else
3745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3746 for as_dir in $PATH
3748 IFS=$as_save_IFS
3749 test -z "$as_dir" && as_dir=.
3750 for ac_exec_ext in '' $ac_executable_extensions; do
3751 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3752 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3753 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3754 break 2
3756 done
3757 done
3758 IFS=$as_save_IFS
3762 CC=$ac_cv_prog_CC
3763 if test -n "$CC"; then
3764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3765 $as_echo "$CC" >&6; }
3766 else
3767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3768 $as_echo "no" >&6; }
3772 test -n "$CC" && break
3773 done
3775 if test -z "$CC"; then
3776 ac_ct_CC=$CC
3777 for ac_prog in cl.exe
3779 # Extract the first word of "$ac_prog", so it can be a program name with args.
3780 set dummy $ac_prog; ac_word=$2
3781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3782 $as_echo_n "checking for $ac_word... " >&6; }
3783 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3784 $as_echo_n "(cached) " >&6
3785 else
3786 if test -n "$ac_ct_CC"; then
3787 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3788 else
3789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3790 for as_dir in $PATH
3792 IFS=$as_save_IFS
3793 test -z "$as_dir" && as_dir=.
3794 for ac_exec_ext in '' $ac_executable_extensions; do
3795 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3796 ac_cv_prog_ac_ct_CC="$ac_prog"
3797 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3798 break 2
3800 done
3801 done
3802 IFS=$as_save_IFS
3806 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3807 if test -n "$ac_ct_CC"; then
3808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3809 $as_echo "$ac_ct_CC" >&6; }
3810 else
3811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3812 $as_echo "no" >&6; }
3816 test -n "$ac_ct_CC" && break
3817 done
3819 if test "x$ac_ct_CC" = x; then
3820 CC=""
3821 else
3822 case $cross_compiling:$ac_tool_warned in
3823 yes:)
3824 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3825 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3826 ac_tool_warned=yes ;;
3827 esac
3828 CC=$ac_ct_CC
3835 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3836 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3837 as_fn_error "no acceptable C compiler found in \$PATH
3838 See \`config.log' for more details." "$LINENO" 5; }
3840 # Provide some information about the compiler.
3841 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3842 set X $ac_compile
3843 ac_compiler=$2
3844 for ac_option in --version -v -V -qversion; do
3845 { { ac_try="$ac_compiler $ac_option >&5"
3846 case "(($ac_try" in
3847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3848 *) ac_try_echo=$ac_try;;
3849 esac
3850 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3851 $as_echo "$ac_try_echo"; } >&5
3852 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3853 ac_status=$?
3854 if test -s conftest.err; then
3855 sed '10a\
3856 ... rest of stderr output deleted ...
3857 10q' conftest.err >conftest.er1
3858 cat conftest.er1 >&5
3859 rm -f conftest.er1 conftest.err
3861 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3862 test $ac_status = 0; }
3863 done
3865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3866 /* end confdefs.h. */
3869 main ()
3873 return 0;
3875 _ACEOF
3876 # FIXME: Cleanup?
3877 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3878 (eval $ac_link) 2>&5
3879 ac_status=$?
3880 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3881 test $ac_status = 0; }; then :
3882 gcc_no_link=no
3883 else
3884 gcc_no_link=yes
3886 if test x$gcc_no_link = xyes; then
3887 # Setting cross_compile will disable run tests; it will
3888 # also disable AC_CHECK_FILE but that's generally
3889 # correct if we can't link.
3890 cross_compiling=yes
3891 EXEEXT=
3892 else
3893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3894 /* end confdefs.h. */
3897 main ()
3901 return 0;
3903 _ACEOF
3904 ac_clean_files_save=$ac_clean_files
3905 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3906 # Try to create an executable without -o first, disregard a.out.
3907 # It will help us diagnose broken compilers, and finding out an intuition
3908 # of exeext.
3909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3910 $as_echo_n "checking for C compiler default output file name... " >&6; }
3911 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3913 # The possible output files:
3914 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3916 ac_rmfiles=
3917 for ac_file in $ac_files
3919 case $ac_file in
3920 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3921 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3922 esac
3923 done
3924 rm -f $ac_rmfiles
3926 if { { ac_try="$ac_link_default"
3927 case "(($ac_try" in
3928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3929 *) ac_try_echo=$ac_try;;
3930 esac
3931 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3932 $as_echo "$ac_try_echo"; } >&5
3933 (eval "$ac_link_default") 2>&5
3934 ac_status=$?
3935 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3936 test $ac_status = 0; }; then :
3937 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3938 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3939 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3940 # so that the user can short-circuit this test for compilers unknown to
3941 # Autoconf.
3942 for ac_file in $ac_files ''
3944 test -f "$ac_file" || continue
3945 case $ac_file in
3946 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3948 [ab].out )
3949 # We found the default executable, but exeext='' is most
3950 # certainly right.
3951 break;;
3952 *.* )
3953 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3954 then :; else
3955 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3957 # We set ac_cv_exeext here because the later test for it is not
3958 # safe: cross compilers may not add the suffix if given an `-o'
3959 # argument, so we may need to know it at that point already.
3960 # Even if this section looks crufty: it has the advantage of
3961 # actually working.
3962 break;;
3964 break;;
3965 esac
3966 done
3967 test "$ac_cv_exeext" = no && ac_cv_exeext=
3969 else
3970 ac_file=''
3972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3973 $as_echo "$ac_file" >&6; }
3974 if test -z "$ac_file"; then :
3975 $as_echo "$as_me: failed program was:" >&5
3976 sed 's/^/| /' conftest.$ac_ext >&5
3978 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3979 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3980 { as_fn_set_status 77
3981 as_fn_error "C compiler cannot create executables
3982 See \`config.log' for more details." "$LINENO" 5; }; }
3984 ac_exeext=$ac_cv_exeext
3986 # Check that the compiler produces executables we can run. If not, either
3987 # the compiler is broken, or we cross compile.
3988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3989 $as_echo_n "checking whether the C compiler works... " >&6; }
3990 # If not cross compiling, check that we can run a simple program.
3991 if test "$cross_compiling" != yes; then
3992 if { ac_try='./$ac_file'
3993 { { case "(($ac_try" in
3994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3995 *) ac_try_echo=$ac_try;;
3996 esac
3997 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3998 $as_echo "$ac_try_echo"; } >&5
3999 (eval "$ac_try") 2>&5
4000 ac_status=$?
4001 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4002 test $ac_status = 0; }; }; then
4003 cross_compiling=no
4004 else
4005 if test "$cross_compiling" = maybe; then
4006 cross_compiling=yes
4007 else
4008 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4009 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4010 as_fn_error "cannot run C compiled programs.
4011 If you meant to cross compile, use \`--host'.
4012 See \`config.log' for more details." "$LINENO" 5; }
4016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4017 $as_echo "yes" >&6; }
4019 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4020 ac_clean_files=$ac_clean_files_save
4021 # Check that the compiler produces executables we can run. If not, either
4022 # the compiler is broken, or we cross compile.
4023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4024 $as_echo_n "checking whether we are cross compiling... " >&6; }
4025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4026 $as_echo "$cross_compiling" >&6; }
4028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4029 $as_echo_n "checking for suffix of executables... " >&6; }
4030 if { { ac_try="$ac_link"
4031 case "(($ac_try" in
4032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4033 *) ac_try_echo=$ac_try;;
4034 esac
4035 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4036 $as_echo "$ac_try_echo"; } >&5
4037 (eval "$ac_link") 2>&5
4038 ac_status=$?
4039 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4040 test $ac_status = 0; }; then :
4041 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4042 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4043 # work properly (i.e., refer to `conftest.exe'), while it won't with
4044 # `rm'.
4045 for ac_file in conftest.exe conftest conftest.*; do
4046 test -f "$ac_file" || continue
4047 case $ac_file in
4048 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4049 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4050 break;;
4051 * ) break;;
4052 esac
4053 done
4054 else
4055 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4056 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4057 as_fn_error "cannot compute suffix of executables: cannot compile and link
4058 See \`config.log' for more details." "$LINENO" 5; }
4060 rm -f conftest$ac_cv_exeext
4061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4062 $as_echo "$ac_cv_exeext" >&6; }
4064 rm -f conftest.$ac_ext
4065 EXEEXT=$ac_cv_exeext
4066 ac_exeext=$EXEEXT
4068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4069 $as_echo_n "checking for suffix of object files... " >&6; }
4070 if test "${ac_cv_objext+set}" = set; then :
4071 $as_echo_n "(cached) " >&6
4072 else
4073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4074 /* end confdefs.h. */
4077 main ()
4081 return 0;
4083 _ACEOF
4084 rm -f conftest.o conftest.obj
4085 if { { ac_try="$ac_compile"
4086 case "(($ac_try" in
4087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4088 *) ac_try_echo=$ac_try;;
4089 esac
4090 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4091 $as_echo "$ac_try_echo"; } >&5
4092 (eval "$ac_compile") 2>&5
4093 ac_status=$?
4094 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4095 test $ac_status = 0; }; then :
4096 for ac_file in conftest.o conftest.obj conftest.*; do
4097 test -f "$ac_file" || continue;
4098 case $ac_file in
4099 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4100 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4101 break;;
4102 esac
4103 done
4104 else
4105 $as_echo "$as_me: failed program was:" >&5
4106 sed 's/^/| /' conftest.$ac_ext >&5
4108 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4109 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4110 as_fn_error "cannot compute suffix of object files: cannot compile
4111 See \`config.log' for more details." "$LINENO" 5; }
4113 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4116 $as_echo "$ac_cv_objext" >&6; }
4117 OBJEXT=$ac_cv_objext
4118 ac_objext=$OBJEXT
4119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4120 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4121 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4122 $as_echo_n "(cached) " >&6
4123 else
4124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4125 /* end confdefs.h. */
4128 main ()
4130 #ifndef __GNUC__
4131 choke me
4132 #endif
4135 return 0;
4137 _ACEOF
4138 if ac_fn_c_try_compile "$LINENO"; then :
4139 ac_compiler_gnu=yes
4140 else
4141 ac_compiler_gnu=no
4143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4144 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4148 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4149 if test $ac_compiler_gnu = yes; then
4150 GCC=yes
4151 else
4152 GCC=
4154 ac_test_CFLAGS=${CFLAGS+set}
4155 ac_save_CFLAGS=$CFLAGS
4156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4157 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4158 if test "${ac_cv_prog_cc_g+set}" = set; then :
4159 $as_echo_n "(cached) " >&6
4160 else
4161 ac_save_c_werror_flag=$ac_c_werror_flag
4162 ac_c_werror_flag=yes
4163 ac_cv_prog_cc_g=no
4164 CFLAGS="-g"
4165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4166 /* end confdefs.h. */
4169 main ()
4173 return 0;
4175 _ACEOF
4176 if ac_fn_c_try_compile "$LINENO"; then :
4177 ac_cv_prog_cc_g=yes
4178 else
4179 CFLAGS=""
4180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4181 /* end confdefs.h. */
4184 main ()
4188 return 0;
4190 _ACEOF
4191 if ac_fn_c_try_compile "$LINENO"; then :
4193 else
4194 ac_c_werror_flag=$ac_save_c_werror_flag
4195 CFLAGS="-g"
4196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4197 /* end confdefs.h. */
4200 main ()
4204 return 0;
4206 _ACEOF
4207 if ac_fn_c_try_compile "$LINENO"; then :
4208 ac_cv_prog_cc_g=yes
4210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4215 ac_c_werror_flag=$ac_save_c_werror_flag
4217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4218 $as_echo "$ac_cv_prog_cc_g" >&6; }
4219 if test "$ac_test_CFLAGS" = set; then
4220 CFLAGS=$ac_save_CFLAGS
4221 elif test $ac_cv_prog_cc_g = yes; then
4222 if test "$GCC" = yes; then
4223 CFLAGS="-g -O2"
4224 else
4225 CFLAGS="-g"
4227 else
4228 if test "$GCC" = yes; then
4229 CFLAGS="-O2"
4230 else
4231 CFLAGS=
4234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4235 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4236 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4237 $as_echo_n "(cached) " >&6
4238 else
4239 ac_cv_prog_cc_c89=no
4240 ac_save_CC=$CC
4241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4242 /* end confdefs.h. */
4243 #include <stdarg.h>
4244 #include <stdio.h>
4245 #include <sys/types.h>
4246 #include <sys/stat.h>
4247 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4248 struct buf { int x; };
4249 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4250 static char *e (p, i)
4251 char **p;
4252 int i;
4254 return p[i];
4256 static char *f (char * (*g) (char **, int), char **p, ...)
4258 char *s;
4259 va_list v;
4260 va_start (v,p);
4261 s = g (p, va_arg (v,int));
4262 va_end (v);
4263 return s;
4266 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4267 function prototypes and stuff, but not '\xHH' hex character constants.
4268 These don't provoke an error unfortunately, instead are silently treated
4269 as 'x'. The following induces an error, until -std is added to get
4270 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4271 array size at least. It's necessary to write '\x00'==0 to get something
4272 that's true only with -std. */
4273 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4275 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4276 inside strings and character constants. */
4277 #define FOO(x) 'x'
4278 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4280 int test (int i, double x);
4281 struct s1 {int (*f) (int a);};
4282 struct s2 {int (*f) (double a);};
4283 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4284 int argc;
4285 char **argv;
4287 main ()
4289 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4291 return 0;
4293 _ACEOF
4294 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4295 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4297 CC="$ac_save_CC $ac_arg"
4298 if ac_fn_c_try_compile "$LINENO"; then :
4299 ac_cv_prog_cc_c89=$ac_arg
4301 rm -f core conftest.err conftest.$ac_objext
4302 test "x$ac_cv_prog_cc_c89" != "xno" && break
4303 done
4304 rm -f conftest.$ac_ext
4305 CC=$ac_save_CC
4308 # AC_CACHE_VAL
4309 case "x$ac_cv_prog_cc_c89" in
4311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4312 $as_echo "none needed" >&6; } ;;
4313 xno)
4314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4315 $as_echo "unsupported" >&6; } ;;
4317 CC="$CC $ac_cv_prog_cc_c89"
4318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4319 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4320 esac
4321 if test "x$ac_cv_prog_cc_c89" != xno; then :
4325 ac_ext=c
4326 ac_cpp='$CPP $CPPFLAGS'
4327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4331 depcc="$CC" am_compiler_list=
4333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4334 $as_echo_n "checking dependency style of $depcc... " >&6; }
4335 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4336 $as_echo_n "(cached) " >&6
4337 else
4338 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4339 # We make a subdir and do the tests there. Otherwise we can end up
4340 # making bogus files that we don't know about and never remove. For
4341 # instance it was reported that on HP-UX the gcc test will end up
4342 # making a dummy file named `D' -- because `-MD' means `put the output
4343 # in D'.
4344 rm -rf conftest.dir
4345 mkdir conftest.dir
4346 # Copy depcomp to subdir because otherwise we won't find it if we're
4347 # using a relative directory.
4348 cp "$am_depcomp" conftest.dir
4349 cd conftest.dir
4350 # We will build objects and dependencies in a subdirectory because
4351 # it helps to detect inapplicable dependency modes. For instance
4352 # both Tru64's cc and ICC support -MD to output dependencies as a
4353 # side effect of compilation, but ICC will put the dependencies in
4354 # the current directory while Tru64 will put them in the object
4355 # directory.
4356 mkdir sub
4358 am_cv_CC_dependencies_compiler_type=none
4359 if test "$am_compiler_list" = ""; then
4360 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4362 am__universal=false
4363 case " $depcc " in #(
4364 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4365 esac
4367 for depmode in $am_compiler_list; do
4368 # Setup a source with many dependencies, because some compilers
4369 # like to wrap large dependency lists on column 80 (with \), and
4370 # we should not choose a depcomp mode which is confused by this.
4372 # We need to recreate these files for each test, as the compiler may
4373 # overwrite some of them when testing with obscure command lines.
4374 # This happens at least with the AIX C compiler.
4375 : > sub/conftest.c
4376 for i in 1 2 3 4 5 6; do
4377 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4378 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4379 # Solaris 8's {/usr,}/bin/sh.
4380 touch sub/conftst$i.h
4381 done
4382 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4384 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4385 # mode. It turns out that the SunPro C++ compiler does not properly
4386 # handle `-M -o', and we need to detect this. Also, some Intel
4387 # versions had trouble with output in subdirs
4388 am__obj=sub/conftest.${OBJEXT-o}
4389 am__minus_obj="-o $am__obj"
4390 case $depmode in
4391 gcc)
4392 # This depmode causes a compiler race in universal mode.
4393 test "$am__universal" = false || continue
4395 nosideeffect)
4396 # after this tag, mechanisms are not by side-effect, so they'll
4397 # only be used when explicitly requested
4398 if test "x$enable_dependency_tracking" = xyes; then
4399 continue
4400 else
4401 break
4404 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4405 # This compiler won't grok `-c -o', but also, the minuso test has
4406 # not run yet. These depmodes are late enough in the game, and
4407 # so weak that their functioning should not be impacted.
4408 am__obj=conftest.${OBJEXT-o}
4409 am__minus_obj=
4411 none) break ;;
4412 esac
4413 if depmode=$depmode \
4414 source=sub/conftest.c object=$am__obj \
4415 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4416 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4417 >/dev/null 2>conftest.err &&
4418 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4419 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4420 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4421 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4422 # icc doesn't choke on unknown options, it will just issue warnings
4423 # or remarks (even with -Werror). So we grep stderr for any message
4424 # that says an option was ignored or not supported.
4425 # When given -MP, icc 7.0 and 7.1 complain thusly:
4426 # icc: Command line warning: ignoring option '-M'; no argument required
4427 # The diagnosis changed in icc 8.0:
4428 # icc: Command line remark: option '-MP' not supported
4429 if (grep 'ignoring option' conftest.err ||
4430 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4431 am_cv_CC_dependencies_compiler_type=$depmode
4432 break
4435 done
4437 cd ..
4438 rm -rf conftest.dir
4439 else
4440 am_cv_CC_dependencies_compiler_type=none
4444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4445 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4446 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4449 test "x$enable_dependency_tracking" != xno \
4450 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4451 am__fastdepCC_TRUE=
4452 am__fastdepCC_FALSE='#'
4453 else
4454 am__fastdepCC_TRUE='#'
4455 am__fastdepCC_FALSE=
4460 ac_ext=c
4461 ac_cpp='$CPP $CPPFLAGS'
4462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4466 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4467 # On Suns, sometimes $CPP names a directory.
4468 if test -n "$CPP" && test -d "$CPP"; then
4469 CPP=
4471 if test -z "$CPP"; then
4472 if test "${ac_cv_prog_CPP+set}" = set; then :
4473 $as_echo_n "(cached) " >&6
4474 else
4475 # Double quotes because CPP needs to be expanded
4476 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4478 ac_preproc_ok=false
4479 for ac_c_preproc_warn_flag in '' yes
4481 # Use a header file that comes with gcc, so configuring glibc
4482 # with a fresh cross-compiler works.
4483 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4484 # <limits.h> exists even on freestanding compilers.
4485 # On the NeXT, cc -E runs the code through the compiler's parser,
4486 # not just through cpp. "Syntax error" is here to catch this case.
4487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4488 /* end confdefs.h. */
4489 #ifdef __STDC__
4490 # include <limits.h>
4491 #else
4492 # include <assert.h>
4493 #endif
4494 Syntax error
4495 _ACEOF
4496 if ac_fn_c_try_cpp "$LINENO"; then :
4498 else
4499 # Broken: fails on valid input.
4500 continue
4502 rm -f conftest.err conftest.$ac_ext
4504 # OK, works on sane cases. Now check whether nonexistent headers
4505 # can be detected and how.
4506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4507 /* end confdefs.h. */
4508 #include <ac_nonexistent.h>
4509 _ACEOF
4510 if ac_fn_c_try_cpp "$LINENO"; then :
4511 # Broken: success on invalid input.
4512 continue
4513 else
4514 # Passes both tests.
4515 ac_preproc_ok=:
4516 break
4518 rm -f conftest.err conftest.$ac_ext
4520 done
4521 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4522 rm -f conftest.err conftest.$ac_ext
4523 if $ac_preproc_ok; then :
4524 break
4527 done
4528 ac_cv_prog_CPP=$CPP
4531 CPP=$ac_cv_prog_CPP
4532 else
4533 ac_cv_prog_CPP=$CPP
4535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4536 $as_echo "$CPP" >&6; }
4537 ac_preproc_ok=false
4538 for ac_c_preproc_warn_flag in '' yes
4540 # Use a header file that comes with gcc, so configuring glibc
4541 # with a fresh cross-compiler works.
4542 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4543 # <limits.h> exists even on freestanding compilers.
4544 # On the NeXT, cc -E runs the code through the compiler's parser,
4545 # not just through cpp. "Syntax error" is here to catch this case.
4546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4547 /* end confdefs.h. */
4548 #ifdef __STDC__
4549 # include <limits.h>
4550 #else
4551 # include <assert.h>
4552 #endif
4553 Syntax error
4554 _ACEOF
4555 if ac_fn_c_try_cpp "$LINENO"; then :
4557 else
4558 # Broken: fails on valid input.
4559 continue
4561 rm -f conftest.err conftest.$ac_ext
4563 # OK, works on sane cases. Now check whether nonexistent headers
4564 # can be detected and how.
4565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4566 /* end confdefs.h. */
4567 #include <ac_nonexistent.h>
4568 _ACEOF
4569 if ac_fn_c_try_cpp "$LINENO"; then :
4570 # Broken: success on invalid input.
4571 continue
4572 else
4573 # Passes both tests.
4574 ac_preproc_ok=:
4575 break
4577 rm -f conftest.err conftest.$ac_ext
4579 done
4580 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4581 rm -f conftest.err conftest.$ac_ext
4582 if $ac_preproc_ok; then :
4584 else
4585 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4586 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4587 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4588 See \`config.log' for more details." "$LINENO" 5; }
4591 ac_ext=c
4592 ac_cpp='$CPP $CPPFLAGS'
4593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4599 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4600 if test "${ac_cv_path_GREP+set}" = set; then :
4601 $as_echo_n "(cached) " >&6
4602 else
4603 if test -z "$GREP"; then
4604 ac_path_GREP_found=false
4605 # Loop through the user's path and test for each of PROGNAME-LIST
4606 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4607 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4609 IFS=$as_save_IFS
4610 test -z "$as_dir" && as_dir=.
4611 for ac_prog in grep ggrep; do
4612 for ac_exec_ext in '' $ac_executable_extensions; do
4613 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4614 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4615 # Check for GNU ac_path_GREP and select it if it is found.
4616 # Check for GNU $ac_path_GREP
4617 case `"$ac_path_GREP" --version 2>&1` in
4618 *GNU*)
4619 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4621 ac_count=0
4622 $as_echo_n 0123456789 >"conftest.in"
4623 while :
4625 cat "conftest.in" "conftest.in" >"conftest.tmp"
4626 mv "conftest.tmp" "conftest.in"
4627 cp "conftest.in" "conftest.nl"
4628 $as_echo 'GREP' >> "conftest.nl"
4629 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4630 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4631 as_fn_arith $ac_count + 1 && ac_count=$as_val
4632 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4633 # Best one so far, save it but keep looking for a better one
4634 ac_cv_path_GREP="$ac_path_GREP"
4635 ac_path_GREP_max=$ac_count
4637 # 10*(2^10) chars as input seems more than enough
4638 test $ac_count -gt 10 && break
4639 done
4640 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4641 esac
4643 $ac_path_GREP_found && break 3
4644 done
4645 done
4646 done
4647 IFS=$as_save_IFS
4648 if test -z "$ac_cv_path_GREP"; then
4649 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4651 else
4652 ac_cv_path_GREP=$GREP
4656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4657 $as_echo "$ac_cv_path_GREP" >&6; }
4658 GREP="$ac_cv_path_GREP"
4661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4662 $as_echo_n "checking for egrep... " >&6; }
4663 if test "${ac_cv_path_EGREP+set}" = set; then :
4664 $as_echo_n "(cached) " >&6
4665 else
4666 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4667 then ac_cv_path_EGREP="$GREP -E"
4668 else
4669 if test -z "$EGREP"; then
4670 ac_path_EGREP_found=false
4671 # Loop through the user's path and test for each of PROGNAME-LIST
4672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4673 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4675 IFS=$as_save_IFS
4676 test -z "$as_dir" && as_dir=.
4677 for ac_prog in egrep; do
4678 for ac_exec_ext in '' $ac_executable_extensions; do
4679 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4680 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4681 # Check for GNU ac_path_EGREP and select it if it is found.
4682 # Check for GNU $ac_path_EGREP
4683 case `"$ac_path_EGREP" --version 2>&1` in
4684 *GNU*)
4685 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4687 ac_count=0
4688 $as_echo_n 0123456789 >"conftest.in"
4689 while :
4691 cat "conftest.in" "conftest.in" >"conftest.tmp"
4692 mv "conftest.tmp" "conftest.in"
4693 cp "conftest.in" "conftest.nl"
4694 $as_echo 'EGREP' >> "conftest.nl"
4695 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4696 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4697 as_fn_arith $ac_count + 1 && ac_count=$as_val
4698 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4699 # Best one so far, save it but keep looking for a better one
4700 ac_cv_path_EGREP="$ac_path_EGREP"
4701 ac_path_EGREP_max=$ac_count
4703 # 10*(2^10) chars as input seems more than enough
4704 test $ac_count -gt 10 && break
4705 done
4706 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4707 esac
4709 $ac_path_EGREP_found && break 3
4710 done
4711 done
4712 done
4713 IFS=$as_save_IFS
4714 if test -z "$ac_cv_path_EGREP"; then
4715 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4717 else
4718 ac_cv_path_EGREP=$EGREP
4723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4724 $as_echo "$ac_cv_path_EGREP" >&6; }
4725 EGREP="$ac_cv_path_EGREP"
4728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4729 $as_echo_n "checking for ANSI C header files... " >&6; }
4730 if test "${ac_cv_header_stdc+set}" = set; then :
4731 $as_echo_n "(cached) " >&6
4732 else
4733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4734 /* end confdefs.h. */
4735 #include <stdlib.h>
4736 #include <stdarg.h>
4737 #include <string.h>
4738 #include <float.h>
4741 main ()
4745 return 0;
4747 _ACEOF
4748 if ac_fn_c_try_compile "$LINENO"; then :
4749 ac_cv_header_stdc=yes
4750 else
4751 ac_cv_header_stdc=no
4753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4755 if test $ac_cv_header_stdc = yes; then
4756 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4758 /* end confdefs.h. */
4759 #include <string.h>
4761 _ACEOF
4762 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4763 $EGREP "memchr" >/dev/null 2>&1; then :
4765 else
4766 ac_cv_header_stdc=no
4768 rm -f conftest*
4772 if test $ac_cv_header_stdc = yes; then
4773 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4775 /* end confdefs.h. */
4776 #include <stdlib.h>
4778 _ACEOF
4779 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4780 $EGREP "free" >/dev/null 2>&1; then :
4782 else
4783 ac_cv_header_stdc=no
4785 rm -f conftest*
4789 if test $ac_cv_header_stdc = yes; then
4790 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4791 if test "$cross_compiling" = yes; then :
4793 else
4794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4795 /* end confdefs.h. */
4796 #include <ctype.h>
4797 #include <stdlib.h>
4798 #if ((' ' & 0x0FF) == 0x020)
4799 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4800 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4801 #else
4802 # define ISLOWER(c) \
4803 (('a' <= (c) && (c) <= 'i') \
4804 || ('j' <= (c) && (c) <= 'r') \
4805 || ('s' <= (c) && (c) <= 'z'))
4806 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4807 #endif
4809 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4811 main ()
4813 int i;
4814 for (i = 0; i < 256; i++)
4815 if (XOR (islower (i), ISLOWER (i))
4816 || toupper (i) != TOUPPER (i))
4817 return 2;
4818 return 0;
4820 _ACEOF
4821 if ac_fn_c_try_run "$LINENO"; then :
4823 else
4824 ac_cv_header_stdc=no
4826 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4827 conftest.$ac_objext conftest.beam conftest.$ac_ext
4832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4833 $as_echo "$ac_cv_header_stdc" >&6; }
4834 if test $ac_cv_header_stdc = yes; then
4836 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4840 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4841 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4842 inttypes.h stdint.h unistd.h
4843 do :
4844 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4845 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4847 eval as_val=\$$as_ac_Header
4848 if test "x$as_val" = x""yes; then :
4849 cat >>confdefs.h <<_ACEOF
4850 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4851 _ACEOF
4855 done
4859 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4860 if test "x$ac_cv_header_minix_config_h" = x""yes; then :
4861 MINIX=yes
4862 else
4863 MINIX=
4867 if test "$MINIX" = yes; then
4869 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4872 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4875 $as_echo "#define _MINIX 1" >>confdefs.h
4880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4881 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4882 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
4883 $as_echo_n "(cached) " >&6
4884 else
4885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4886 /* end confdefs.h. */
4888 # define __EXTENSIONS__ 1
4889 $ac_includes_default
4891 main ()
4895 return 0;
4897 _ACEOF
4898 if ac_fn_c_try_compile "$LINENO"; then :
4899 ac_cv_safe_to_define___extensions__=yes
4900 else
4901 ac_cv_safe_to_define___extensions__=no
4903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4906 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4907 test $ac_cv_safe_to_define___extensions__ = yes &&
4908 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4910 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4912 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4914 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4916 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4920 # Calculate toolexeclibdir
4921 # Also toolexecdir, though it's only used in toolexeclibdir
4922 case ${version_specific_libs} in
4923 yes)
4924 # Need the gcc compiler version to know where to install libraries
4925 # and header files if --enable-version-specific-runtime-libs option
4926 # is selected.
4927 toolexecdir='$(libdir)/gcc/$(target_alias)'
4928 toolexeclibdir='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
4931 if test -n "$with_cross_host" &&
4932 test x"$with_cross_host" != x"no"; then
4933 # Install a library built with a cross compiler in tooldir, not libdir.
4934 toolexecdir='$(exec_prefix)/$(target_alias)'
4935 toolexeclibdir='$(toolexecdir)/lib'
4936 else
4937 toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
4938 toolexeclibdir='$(libdir)'
4940 multi_os_directory=`$CC -print-multi-os-directory`
4941 case $multi_os_directory in
4942 .) ;; # Avoid trailing /.
4943 *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;
4944 esac
4946 esac
4950 # Create a spec file, so that compile/link tests don't fail
4951 test -f libgfortran.spec || touch libgfortran.spec
4953 ac_ext=c
4954 ac_cpp='$CPP $CPPFLAGS'
4955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4959 # Check the compiler.
4960 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
4961 # We must force CC to /not/ be precious variables; otherwise
4962 # the wrong, non-multilib-adjusted value will be used in multilibs.
4963 # As a side effect, we have to subst CFLAGS ourselves.
4967 ac_ext=c
4968 ac_cpp='$CPP $CPPFLAGS'
4969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4972 if test -n "$ac_tool_prefix"; then
4973 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4974 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4976 $as_echo_n "checking for $ac_word... " >&6; }
4977 if test "${ac_cv_prog_CC+set}" = set; then :
4978 $as_echo_n "(cached) " >&6
4979 else
4980 if test -n "$CC"; then
4981 ac_cv_prog_CC="$CC" # Let the user override the test.
4982 else
4983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4984 for as_dir in $PATH
4986 IFS=$as_save_IFS
4987 test -z "$as_dir" && as_dir=.
4988 for ac_exec_ext in '' $ac_executable_extensions; do
4989 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4990 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4991 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4992 break 2
4994 done
4995 done
4996 IFS=$as_save_IFS
5000 CC=$ac_cv_prog_CC
5001 if test -n "$CC"; then
5002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5003 $as_echo "$CC" >&6; }
5004 else
5005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5006 $as_echo "no" >&6; }
5011 if test -z "$ac_cv_prog_CC"; then
5012 ac_ct_CC=$CC
5013 # Extract the first word of "gcc", so it can be a program name with args.
5014 set dummy gcc; ac_word=$2
5015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5016 $as_echo_n "checking for $ac_word... " >&6; }
5017 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
5018 $as_echo_n "(cached) " >&6
5019 else
5020 if test -n "$ac_ct_CC"; then
5021 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5022 else
5023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5024 for as_dir in $PATH
5026 IFS=$as_save_IFS
5027 test -z "$as_dir" && as_dir=.
5028 for ac_exec_ext in '' $ac_executable_extensions; do
5029 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5030 ac_cv_prog_ac_ct_CC="gcc"
5031 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5032 break 2
5034 done
5035 done
5036 IFS=$as_save_IFS
5040 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5041 if test -n "$ac_ct_CC"; then
5042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5043 $as_echo "$ac_ct_CC" >&6; }
5044 else
5045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5046 $as_echo "no" >&6; }
5049 if test "x$ac_ct_CC" = x; then
5050 CC=""
5051 else
5052 case $cross_compiling:$ac_tool_warned in
5053 yes:)
5054 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5055 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5056 ac_tool_warned=yes ;;
5057 esac
5058 CC=$ac_ct_CC
5060 else
5061 CC="$ac_cv_prog_CC"
5064 if test -z "$CC"; then
5065 if test -n "$ac_tool_prefix"; then
5066 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5067 set dummy ${ac_tool_prefix}cc; ac_word=$2
5068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5069 $as_echo_n "checking for $ac_word... " >&6; }
5070 if test "${ac_cv_prog_CC+set}" = set; then :
5071 $as_echo_n "(cached) " >&6
5072 else
5073 if test -n "$CC"; then
5074 ac_cv_prog_CC="$CC" # Let the user override the test.
5075 else
5076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5077 for as_dir in $PATH
5079 IFS=$as_save_IFS
5080 test -z "$as_dir" && as_dir=.
5081 for ac_exec_ext in '' $ac_executable_extensions; do
5082 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5083 ac_cv_prog_CC="${ac_tool_prefix}cc"
5084 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5085 break 2
5087 done
5088 done
5089 IFS=$as_save_IFS
5093 CC=$ac_cv_prog_CC
5094 if test -n "$CC"; then
5095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5096 $as_echo "$CC" >&6; }
5097 else
5098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5099 $as_echo "no" >&6; }
5105 if test -z "$CC"; then
5106 # Extract the first word of "cc", so it can be a program name with args.
5107 set dummy cc; ac_word=$2
5108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5109 $as_echo_n "checking for $ac_word... " >&6; }
5110 if test "${ac_cv_prog_CC+set}" = set; then :
5111 $as_echo_n "(cached) " >&6
5112 else
5113 if test -n "$CC"; then
5114 ac_cv_prog_CC="$CC" # Let the user override the test.
5115 else
5116 ac_prog_rejected=no
5117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5118 for as_dir in $PATH
5120 IFS=$as_save_IFS
5121 test -z "$as_dir" && as_dir=.
5122 for ac_exec_ext in '' $ac_executable_extensions; do
5123 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5124 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5125 ac_prog_rejected=yes
5126 continue
5128 ac_cv_prog_CC="cc"
5129 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5130 break 2
5132 done
5133 done
5134 IFS=$as_save_IFS
5136 if test $ac_prog_rejected = yes; then
5137 # We found a bogon in the path, so make sure we never use it.
5138 set dummy $ac_cv_prog_CC
5139 shift
5140 if test $# != 0; then
5141 # We chose a different compiler from the bogus one.
5142 # However, it has the same basename, so the bogon will be chosen
5143 # first if we set CC to just the basename; use the full file name.
5144 shift
5145 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
5150 CC=$ac_cv_prog_CC
5151 if test -n "$CC"; then
5152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5153 $as_echo "$CC" >&6; }
5154 else
5155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5156 $as_echo "no" >&6; }
5161 if test -z "$CC"; then
5162 if test -n "$ac_tool_prefix"; then
5163 for ac_prog in cl.exe
5165 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5166 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5168 $as_echo_n "checking for $ac_word... " >&6; }
5169 if test "${ac_cv_prog_CC+set}" = set; then :
5170 $as_echo_n "(cached) " >&6
5171 else
5172 if test -n "$CC"; then
5173 ac_cv_prog_CC="$CC" # Let the user override the test.
5174 else
5175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5176 for as_dir in $PATH
5178 IFS=$as_save_IFS
5179 test -z "$as_dir" && as_dir=.
5180 for ac_exec_ext in '' $ac_executable_extensions; do
5181 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5182 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
5183 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5184 break 2
5186 done
5187 done
5188 IFS=$as_save_IFS
5192 CC=$ac_cv_prog_CC
5193 if test -n "$CC"; then
5194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5195 $as_echo "$CC" >&6; }
5196 else
5197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5198 $as_echo "no" >&6; }
5202 test -n "$CC" && break
5203 done
5205 if test -z "$CC"; then
5206 ac_ct_CC=$CC
5207 for ac_prog in cl.exe
5209 # Extract the first word of "$ac_prog", so it can be a program name with args.
5210 set dummy $ac_prog; ac_word=$2
5211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5212 $as_echo_n "checking for $ac_word... " >&6; }
5213 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
5214 $as_echo_n "(cached) " >&6
5215 else
5216 if test -n "$ac_ct_CC"; then
5217 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5218 else
5219 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5220 for as_dir in $PATH
5222 IFS=$as_save_IFS
5223 test -z "$as_dir" && as_dir=.
5224 for ac_exec_ext in '' $ac_executable_extensions; do
5225 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5226 ac_cv_prog_ac_ct_CC="$ac_prog"
5227 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5228 break 2
5230 done
5231 done
5232 IFS=$as_save_IFS
5236 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5237 if test -n "$ac_ct_CC"; then
5238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5239 $as_echo "$ac_ct_CC" >&6; }
5240 else
5241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5242 $as_echo "no" >&6; }
5246 test -n "$ac_ct_CC" && break
5247 done
5249 if test "x$ac_ct_CC" = x; then
5250 CC=""
5251 else
5252 case $cross_compiling:$ac_tool_warned in
5253 yes:)
5254 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5255 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5256 ac_tool_warned=yes ;;
5257 esac
5258 CC=$ac_ct_CC
5265 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5266 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5267 as_fn_error "no acceptable C compiler found in \$PATH
5268 See \`config.log' for more details." "$LINENO" 5; }
5270 # Provide some information about the compiler.
5271 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5272 set X $ac_compile
5273 ac_compiler=$2
5274 for ac_option in --version -v -V -qversion; do
5275 { { ac_try="$ac_compiler $ac_option >&5"
5276 case "(($ac_try" in
5277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5278 *) ac_try_echo=$ac_try;;
5279 esac
5280 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5281 $as_echo "$ac_try_echo"; } >&5
5282 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5283 ac_status=$?
5284 if test -s conftest.err; then
5285 sed '10a\
5286 ... rest of stderr output deleted ...
5287 10q' conftest.err >conftest.er1
5288 cat conftest.er1 >&5
5289 rm -f conftest.er1 conftest.err
5291 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5292 test $ac_status = 0; }
5293 done
5295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5296 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5297 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
5298 $as_echo_n "(cached) " >&6
5299 else
5300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5301 /* end confdefs.h. */
5304 main ()
5306 #ifndef __GNUC__
5307 choke me
5308 #endif
5311 return 0;
5313 _ACEOF
5314 if ac_fn_c_try_compile "$LINENO"; then :
5315 ac_compiler_gnu=yes
5316 else
5317 ac_compiler_gnu=no
5319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5320 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5324 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5325 if test $ac_compiler_gnu = yes; then
5326 GCC=yes
5327 else
5328 GCC=
5330 ac_test_CFLAGS=${CFLAGS+set}
5331 ac_save_CFLAGS=$CFLAGS
5332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5333 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5334 if test "${ac_cv_prog_cc_g+set}" = set; then :
5335 $as_echo_n "(cached) " >&6
5336 else
5337 ac_save_c_werror_flag=$ac_c_werror_flag
5338 ac_c_werror_flag=yes
5339 ac_cv_prog_cc_g=no
5340 CFLAGS="-g"
5341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5342 /* end confdefs.h. */
5345 main ()
5349 return 0;
5351 _ACEOF
5352 if ac_fn_c_try_compile "$LINENO"; then :
5353 ac_cv_prog_cc_g=yes
5354 else
5355 CFLAGS=""
5356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5357 /* end confdefs.h. */
5360 main ()
5364 return 0;
5366 _ACEOF
5367 if ac_fn_c_try_compile "$LINENO"; then :
5369 else
5370 ac_c_werror_flag=$ac_save_c_werror_flag
5371 CFLAGS="-g"
5372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5373 /* end confdefs.h. */
5376 main ()
5380 return 0;
5382 _ACEOF
5383 if ac_fn_c_try_compile "$LINENO"; then :
5384 ac_cv_prog_cc_g=yes
5386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5391 ac_c_werror_flag=$ac_save_c_werror_flag
5393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5394 $as_echo "$ac_cv_prog_cc_g" >&6; }
5395 if test "$ac_test_CFLAGS" = set; then
5396 CFLAGS=$ac_save_CFLAGS
5397 elif test $ac_cv_prog_cc_g = yes; then
5398 if test "$GCC" = yes; then
5399 CFLAGS="-g -O2"
5400 else
5401 CFLAGS="-g"
5403 else
5404 if test "$GCC" = yes; then
5405 CFLAGS="-O2"
5406 else
5407 CFLAGS=
5410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5411 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5412 if test "${ac_cv_prog_cc_c89+set}" = set; then :
5413 $as_echo_n "(cached) " >&6
5414 else
5415 ac_cv_prog_cc_c89=no
5416 ac_save_CC=$CC
5417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5418 /* end confdefs.h. */
5419 #include <stdarg.h>
5420 #include <stdio.h>
5421 #include <sys/types.h>
5422 #include <sys/stat.h>
5423 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5424 struct buf { int x; };
5425 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5426 static char *e (p, i)
5427 char **p;
5428 int i;
5430 return p[i];
5432 static char *f (char * (*g) (char **, int), char **p, ...)
5434 char *s;
5435 va_list v;
5436 va_start (v,p);
5437 s = g (p, va_arg (v,int));
5438 va_end (v);
5439 return s;
5442 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5443 function prototypes and stuff, but not '\xHH' hex character constants.
5444 These don't provoke an error unfortunately, instead are silently treated
5445 as 'x'. The following induces an error, until -std is added to get
5446 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5447 array size at least. It's necessary to write '\x00'==0 to get something
5448 that's true only with -std. */
5449 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5451 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5452 inside strings and character constants. */
5453 #define FOO(x) 'x'
5454 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5456 int test (int i, double x);
5457 struct s1 {int (*f) (int a);};
5458 struct s2 {int (*f) (double a);};
5459 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5460 int argc;
5461 char **argv;
5463 main ()
5465 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5467 return 0;
5469 _ACEOF
5470 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5471 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5473 CC="$ac_save_CC $ac_arg"
5474 if ac_fn_c_try_compile "$LINENO"; then :
5475 ac_cv_prog_cc_c89=$ac_arg
5477 rm -f core conftest.err conftest.$ac_objext
5478 test "x$ac_cv_prog_cc_c89" != "xno" && break
5479 done
5480 rm -f conftest.$ac_ext
5481 CC=$ac_save_CC
5484 # AC_CACHE_VAL
5485 case "x$ac_cv_prog_cc_c89" in
5487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5488 $as_echo "none needed" >&6; } ;;
5489 xno)
5490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5491 $as_echo "unsupported" >&6; } ;;
5493 CC="$CC $ac_cv_prog_cc_c89"
5494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5495 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5496 esac
5497 if test "x$ac_cv_prog_cc_c89" != xno; then :
5501 ac_ext=c
5502 ac_cpp='$CPP $CPPFLAGS'
5503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5507 depcc="$CC" am_compiler_list=
5509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5510 $as_echo_n "checking dependency style of $depcc... " >&6; }
5511 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
5512 $as_echo_n "(cached) " >&6
5513 else
5514 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5515 # We make a subdir and do the tests there. Otherwise we can end up
5516 # making bogus files that we don't know about and never remove. For
5517 # instance it was reported that on HP-UX the gcc test will end up
5518 # making a dummy file named `D' -- because `-MD' means `put the output
5519 # in D'.
5520 rm -rf conftest.dir
5521 mkdir conftest.dir
5522 # Copy depcomp to subdir because otherwise we won't find it if we're
5523 # using a relative directory.
5524 cp "$am_depcomp" conftest.dir
5525 cd conftest.dir
5526 # We will build objects and dependencies in a subdirectory because
5527 # it helps to detect inapplicable dependency modes. For instance
5528 # both Tru64's cc and ICC support -MD to output dependencies as a
5529 # side effect of compilation, but ICC will put the dependencies in
5530 # the current directory while Tru64 will put them in the object
5531 # directory.
5532 mkdir sub
5534 am_cv_CC_dependencies_compiler_type=none
5535 if test "$am_compiler_list" = ""; then
5536 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5538 am__universal=false
5539 case " $depcc " in #(
5540 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5541 esac
5543 for depmode in $am_compiler_list; do
5544 # Setup a source with many dependencies, because some compilers
5545 # like to wrap large dependency lists on column 80 (with \), and
5546 # we should not choose a depcomp mode which is confused by this.
5548 # We need to recreate these files for each test, as the compiler may
5549 # overwrite some of them when testing with obscure command lines.
5550 # This happens at least with the AIX C compiler.
5551 : > sub/conftest.c
5552 for i in 1 2 3 4 5 6; do
5553 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5554 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5555 # Solaris 8's {/usr,}/bin/sh.
5556 touch sub/conftst$i.h
5557 done
5558 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5560 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5561 # mode. It turns out that the SunPro C++ compiler does not properly
5562 # handle `-M -o', and we need to detect this. Also, some Intel
5563 # versions had trouble with output in subdirs
5564 am__obj=sub/conftest.${OBJEXT-o}
5565 am__minus_obj="-o $am__obj"
5566 case $depmode in
5567 gcc)
5568 # This depmode causes a compiler race in universal mode.
5569 test "$am__universal" = false || continue
5571 nosideeffect)
5572 # after this tag, mechanisms are not by side-effect, so they'll
5573 # only be used when explicitly requested
5574 if test "x$enable_dependency_tracking" = xyes; then
5575 continue
5576 else
5577 break
5580 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5581 # This compiler won't grok `-c -o', but also, the minuso test has
5582 # not run yet. These depmodes are late enough in the game, and
5583 # so weak that their functioning should not be impacted.
5584 am__obj=conftest.${OBJEXT-o}
5585 am__minus_obj=
5587 none) break ;;
5588 esac
5589 if depmode=$depmode \
5590 source=sub/conftest.c object=$am__obj \
5591 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5592 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5593 >/dev/null 2>conftest.err &&
5594 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5595 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5596 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5597 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5598 # icc doesn't choke on unknown options, it will just issue warnings
5599 # or remarks (even with -Werror). So we grep stderr for any message
5600 # that says an option was ignored or not supported.
5601 # When given -MP, icc 7.0 and 7.1 complain thusly:
5602 # icc: Command line warning: ignoring option '-M'; no argument required
5603 # The diagnosis changed in icc 8.0:
5604 # icc: Command line remark: option '-MP' not supported
5605 if (grep 'ignoring option' conftest.err ||
5606 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5607 am_cv_CC_dependencies_compiler_type=$depmode
5608 break
5611 done
5613 cd ..
5614 rm -rf conftest.dir
5615 else
5616 am_cv_CC_dependencies_compiler_type=none
5620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5621 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5622 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5625 test "x$enable_dependency_tracking" != xno \
5626 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5627 am__fastdepCC_TRUE=
5628 am__fastdepCC_FALSE='#'
5629 else
5630 am__fastdepCC_TRUE='#'
5631 am__fastdepCC_FALSE=
5639 if test "x$CC" != xcc; then
5640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
5641 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
5642 else
5643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
5644 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
5646 set dummy $CC; ac_cc=`$as_echo "$2" |
5647 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5648 if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
5649 $as_echo_n "(cached) " >&6
5650 else
5651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5652 /* end confdefs.h. */
5655 main ()
5659 return 0;
5661 _ACEOF
5662 # Make sure it works both with $CC and with simple cc.
5663 # We do the test twice because some compilers refuse to overwrite an
5664 # existing .o file with -o, though they will create one.
5665 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5666 rm -f conftest2.*
5667 if { { case "(($ac_try" in
5668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5669 *) ac_try_echo=$ac_try;;
5670 esac
5671 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5672 $as_echo "$ac_try_echo"; } >&5
5673 (eval "$ac_try") 2>&5
5674 ac_status=$?
5675 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5676 test $ac_status = 0; } &&
5677 test -f conftest2.$ac_objext && { { case "(($ac_try" in
5678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5679 *) ac_try_echo=$ac_try;;
5680 esac
5681 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5682 $as_echo "$ac_try_echo"; } >&5
5683 (eval "$ac_try") 2>&5
5684 ac_status=$?
5685 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5686 test $ac_status = 0; };
5687 then
5688 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
5689 if test "x$CC" != xcc; then
5690 # Test first that cc exists at all.
5691 if { ac_try='cc -c conftest.$ac_ext >&5'
5692 { { case "(($ac_try" in
5693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5694 *) ac_try_echo=$ac_try;;
5695 esac
5696 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5697 $as_echo "$ac_try_echo"; } >&5
5698 (eval "$ac_try") 2>&5
5699 ac_status=$?
5700 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5701 test $ac_status = 0; }; }; then
5702 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5703 rm -f conftest2.*
5704 if { { case "(($ac_try" in
5705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5706 *) ac_try_echo=$ac_try;;
5707 esac
5708 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5709 $as_echo "$ac_try_echo"; } >&5
5710 (eval "$ac_try") 2>&5
5711 ac_status=$?
5712 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5713 test $ac_status = 0; } &&
5714 test -f conftest2.$ac_objext && { { case "(($ac_try" in
5715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5716 *) ac_try_echo=$ac_try;;
5717 esac
5718 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5719 $as_echo "$ac_try_echo"; } >&5
5720 (eval "$ac_try") 2>&5
5721 ac_status=$?
5722 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5723 test $ac_status = 0; };
5724 then
5725 # cc works too.
5727 else
5728 # cc exists but doesn't like -o.
5729 eval ac_cv_prog_cc_${ac_cc}_c_o=no
5733 else
5734 eval ac_cv_prog_cc_${ac_cc}_c_o=no
5736 rm -f core conftest*
5739 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
5740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5741 $as_echo "yes" >&6; }
5742 else
5743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5744 $as_echo "no" >&6; }
5746 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
5750 # FIXME: we rely on the cache variable name because
5751 # there is no other way.
5752 set dummy $CC
5753 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5754 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
5755 if test "$am_t" != yes; then
5756 # Losing compiler, so override with the script.
5757 # FIXME: It is wrong to rewrite CC.
5758 # But if we don't then we get into trouble of one sort or another.
5759 # A longer-term fix would be to have automake use am__CC in this case,
5760 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5761 CC="$am_aux_dir/compile $CC"
5766 # Add -Wall -fno-repack-arrays -fno-underscoring if we are using GCC.
5767 if test "x$GCC" = "xyes"; then
5768 AM_FCFLAGS="-I . -Wall -Werror -fimplicit-none -fno-repack-arrays -fno-underscoring"
5769 ## We like to use C99 routines when available. This makes sure that
5770 ## __STDC_VERSION__ is set such that libc includes make them available.
5771 AM_CFLAGS="-std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings"
5772 ## Compile the following tests with the same system header contents
5773 ## that we'll encounter when compiling our own source files.
5774 CFLAGS="-std=gnu99 $CFLAGS"
5780 # Check for symbol versioning (copied from libssp).
5781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether symbol versioning is supported" >&5
5782 $as_echo_n "checking whether symbol versioning is supported... " >&6; }
5783 # Check whether --enable-symvers was given.
5784 if test "${enable_symvers+set}" = set; then :
5785 enableval=$enable_symvers; gfortran_use_symver=$enableval
5786 else
5787 gfortran_use_symver=yes
5790 if test "x$gfortran_use_symver" != xno; then
5791 save_LDFLAGS="$LDFLAGS"
5792 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,--version-script,./conftest.map"
5793 cat > conftest.map <<EOF
5794 FOO_1.0 {
5795 global: *foo*; bar; local: *;
5798 if test x$gcc_no_link = xyes; then
5799 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
5801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5802 /* end confdefs.h. */
5803 int foo;
5805 main ()
5809 return 0;
5811 _ACEOF
5812 if ac_fn_c_try_link "$LINENO"; then :
5813 gfortran_use_symver=gnu
5814 else
5815 gfortran_use_symver=no
5817 rm -f core conftest.err conftest.$ac_objext \
5818 conftest$ac_exeext conftest.$ac_ext
5819 if test x$gfortran_use_symver = xno; then
5820 case "$target_os" in
5821 solaris2*)
5822 LDFLAGS="$save_LDFLAGS"
5823 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,-M,./conftest.map"
5824 # Sun ld cannot handle wildcards and treats all entries as undefined.
5825 cat > conftest.map <<EOF
5826 FOO_1.0 {
5827 global: foo; local: *;
5830 if test x$gcc_no_link = xyes; then
5831 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
5833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5834 /* end confdefs.h. */
5835 int foo;
5837 main ()
5841 return 0;
5843 _ACEOF
5844 if ac_fn_c_try_link "$LINENO"; then :
5845 gfortran_use_symver=sun
5846 else
5847 gfortran_use_symver=no
5849 rm -f core conftest.err conftest.$ac_objext \
5850 conftest$ac_exeext conftest.$ac_ext
5852 esac
5854 LDFLAGS="$save_LDFLAGS"
5856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gfortran_use_symver" >&5
5857 $as_echo "$gfortran_use_symver" >&6; }
5858 if test "x$gfortran_use_symver" != xno; then
5859 LIBGFOR_USE_SYMVER_TRUE=
5860 LIBGFOR_USE_SYMVER_FALSE='#'
5861 else
5862 LIBGFOR_USE_SYMVER_TRUE='#'
5863 LIBGFOR_USE_SYMVER_FALSE=
5866 if test "x$gfortran_use_symver" = xgnu; then
5867 LIBGFOR_USE_SYMVER_GNU_TRUE=
5868 LIBGFOR_USE_SYMVER_GNU_FALSE='#'
5869 else
5870 LIBGFOR_USE_SYMVER_GNU_TRUE='#'
5871 LIBGFOR_USE_SYMVER_GNU_FALSE=
5874 if test "x$gfortran_use_symver" = xsun; then
5875 LIBGFOR_USE_SYMVER_SUN_TRUE=
5876 LIBGFOR_USE_SYMVER_SUN_FALSE='#'
5877 else
5878 LIBGFOR_USE_SYMVER_SUN_TRUE='#'
5879 LIBGFOR_USE_SYMVER_SUN_FALSE=
5883 # Figure out whether the compiler supports "-ffunction-sections -fdata-sections",
5884 # similarly to how libstdc++ does it
5885 ac_test_CFLAGS="${CFLAGS+set}"
5886 ac_save_CFLAGS="$CFLAGS"
5888 # Check for -ffunction-sections -fdata-sections
5889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc that supports -ffunction-sections -fdata-sections" >&5
5890 $as_echo_n "checking for gcc that supports -ffunction-sections -fdata-sections... " >&6; }
5891 CFLAGS='-Werror -ffunction-sections -fdata-sections'
5892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5893 /* end confdefs.h. */
5896 main ()
5898 int foo;
5900 return 0;
5902 _ACEOF
5903 if ac_fn_c_try_compile "$LINENO"; then :
5904 ac_fdsections=yes
5905 else
5906 ac_fdsections=no
5908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5909 if test "$ac_test_CFLAGS" = set; then
5910 CFLAGS="$ac_save_CFLAGS"
5911 else
5912 # this is the suspicious part
5913 CFLAGS=""
5915 if test x"$ac_fdsections" = x"yes"; then
5916 SECTION_FLAGS='-ffunction-sections -fdata-sections'
5918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
5919 $as_echo "$ac_fdsections" >&6; }
5922 # Find other programs we need.
5923 if test -n "$ac_tool_prefix"; then
5924 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5925 set dummy ${ac_tool_prefix}as; ac_word=$2
5926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5927 $as_echo_n "checking for $ac_word... " >&6; }
5928 if test "${ac_cv_prog_AS+set}" = set; then :
5929 $as_echo_n "(cached) " >&6
5930 else
5931 if test -n "$AS"; then
5932 ac_cv_prog_AS="$AS" # Let the user override the test.
5933 else
5934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5935 for as_dir in $PATH
5937 IFS=$as_save_IFS
5938 test -z "$as_dir" && as_dir=.
5939 for ac_exec_ext in '' $ac_executable_extensions; do
5940 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5941 ac_cv_prog_AS="${ac_tool_prefix}as"
5942 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5943 break 2
5945 done
5946 done
5947 IFS=$as_save_IFS
5951 AS=$ac_cv_prog_AS
5952 if test -n "$AS"; then
5953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5954 $as_echo "$AS" >&6; }
5955 else
5956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5957 $as_echo "no" >&6; }
5962 if test -z "$ac_cv_prog_AS"; then
5963 ac_ct_AS=$AS
5964 # Extract the first word of "as", so it can be a program name with args.
5965 set dummy as; ac_word=$2
5966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5967 $as_echo_n "checking for $ac_word... " >&6; }
5968 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
5969 $as_echo_n "(cached) " >&6
5970 else
5971 if test -n "$ac_ct_AS"; then
5972 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5973 else
5974 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5975 for as_dir in $PATH
5977 IFS=$as_save_IFS
5978 test -z "$as_dir" && as_dir=.
5979 for ac_exec_ext in '' $ac_executable_extensions; do
5980 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5981 ac_cv_prog_ac_ct_AS="as"
5982 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5983 break 2
5985 done
5986 done
5987 IFS=$as_save_IFS
5991 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5992 if test -n "$ac_ct_AS"; then
5993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5994 $as_echo "$ac_ct_AS" >&6; }
5995 else
5996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5997 $as_echo "no" >&6; }
6000 if test "x$ac_ct_AS" = x; then
6001 AS=""
6002 else
6003 case $cross_compiling:$ac_tool_warned in
6004 yes:)
6005 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6006 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6007 ac_tool_warned=yes ;;
6008 esac
6009 AS=$ac_ct_AS
6011 else
6012 AS="$ac_cv_prog_AS"
6015 if test -n "$ac_tool_prefix"; then
6016 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6017 set dummy ${ac_tool_prefix}ar; ac_word=$2
6018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6019 $as_echo_n "checking for $ac_word... " >&6; }
6020 if test "${ac_cv_prog_AR+set}" = set; then :
6021 $as_echo_n "(cached) " >&6
6022 else
6023 if test -n "$AR"; then
6024 ac_cv_prog_AR="$AR" # Let the user override the test.
6025 else
6026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6027 for as_dir in $PATH
6029 IFS=$as_save_IFS
6030 test -z "$as_dir" && as_dir=.
6031 for ac_exec_ext in '' $ac_executable_extensions; do
6032 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6033 ac_cv_prog_AR="${ac_tool_prefix}ar"
6034 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6035 break 2
6037 done
6038 done
6039 IFS=$as_save_IFS
6043 AR=$ac_cv_prog_AR
6044 if test -n "$AR"; then
6045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6046 $as_echo "$AR" >&6; }
6047 else
6048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6049 $as_echo "no" >&6; }
6054 if test -z "$ac_cv_prog_AR"; then
6055 ac_ct_AR=$AR
6056 # Extract the first word of "ar", so it can be a program name with args.
6057 set dummy ar; ac_word=$2
6058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6059 $as_echo_n "checking for $ac_word... " >&6; }
6060 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6061 $as_echo_n "(cached) " >&6
6062 else
6063 if test -n "$ac_ct_AR"; then
6064 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6065 else
6066 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6067 for as_dir in $PATH
6069 IFS=$as_save_IFS
6070 test -z "$as_dir" && as_dir=.
6071 for ac_exec_ext in '' $ac_executable_extensions; do
6072 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6073 ac_cv_prog_ac_ct_AR="ar"
6074 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6075 break 2
6077 done
6078 done
6079 IFS=$as_save_IFS
6083 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6084 if test -n "$ac_ct_AR"; then
6085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6086 $as_echo "$ac_ct_AR" >&6; }
6087 else
6088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6089 $as_echo "no" >&6; }
6092 if test "x$ac_ct_AR" = x; then
6093 AR=""
6094 else
6095 case $cross_compiling:$ac_tool_warned in
6096 yes:)
6097 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6098 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6099 ac_tool_warned=yes ;;
6100 esac
6101 AR=$ac_ct_AR
6103 else
6104 AR="$ac_cv_prog_AR"
6107 if test -n "$ac_tool_prefix"; then
6108 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6109 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6111 $as_echo_n "checking for $ac_word... " >&6; }
6112 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6113 $as_echo_n "(cached) " >&6
6114 else
6115 if test -n "$RANLIB"; then
6116 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6117 else
6118 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6119 for as_dir in $PATH
6121 IFS=$as_save_IFS
6122 test -z "$as_dir" && as_dir=.
6123 for ac_exec_ext in '' $ac_executable_extensions; do
6124 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6125 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6126 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6127 break 2
6129 done
6130 done
6131 IFS=$as_save_IFS
6135 RANLIB=$ac_cv_prog_RANLIB
6136 if test -n "$RANLIB"; then
6137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6138 $as_echo "$RANLIB" >&6; }
6139 else
6140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6141 $as_echo "no" >&6; }
6146 if test -z "$ac_cv_prog_RANLIB"; then
6147 ac_ct_RANLIB=$RANLIB
6148 # Extract the first word of "ranlib", so it can be a program name with args.
6149 set dummy ranlib; ac_word=$2
6150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6151 $as_echo_n "checking for $ac_word... " >&6; }
6152 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6153 $as_echo_n "(cached) " >&6
6154 else
6155 if test -n "$ac_ct_RANLIB"; then
6156 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6157 else
6158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6159 for as_dir in $PATH
6161 IFS=$as_save_IFS
6162 test -z "$as_dir" && as_dir=.
6163 for ac_exec_ext in '' $ac_executable_extensions; do
6164 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6165 ac_cv_prog_ac_ct_RANLIB="ranlib"
6166 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6167 break 2
6169 done
6170 done
6171 IFS=$as_save_IFS
6175 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6176 if test -n "$ac_ct_RANLIB"; then
6177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6178 $as_echo "$ac_ct_RANLIB" >&6; }
6179 else
6180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6181 $as_echo "no" >&6; }
6184 if test "x$ac_ct_RANLIB" = x; then
6185 RANLIB="ranlib-not-found-in-path-error"
6186 else
6187 case $cross_compiling:$ac_tool_warned in
6188 yes:)
6189 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6190 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6191 ac_tool_warned=yes ;;
6192 esac
6193 RANLIB=$ac_ct_RANLIB
6195 else
6196 RANLIB="$ac_cv_prog_RANLIB"
6199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6200 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
6201 set x ${MAKE-make}
6202 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
6203 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
6204 $as_echo_n "(cached) " >&6
6205 else
6206 cat >conftest.make <<\_ACEOF
6207 SHELL = /bin/sh
6208 all:
6209 @echo '@@@%%%=$(MAKE)=@@@%%%'
6210 _ACEOF
6211 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
6212 case `${MAKE-make} -f conftest.make 2>/dev/null` in
6213 *@@@%%%=?*=@@@%%%*)
6214 eval ac_cv_prog_make_${ac_make}_set=yes;;
6216 eval ac_cv_prog_make_${ac_make}_set=no;;
6217 esac
6218 rm -f conftest.make
6220 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
6221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6222 $as_echo "yes" >&6; }
6223 SET_MAKE=
6224 else
6225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6226 $as_echo "no" >&6; }
6227 SET_MAKE="MAKE=${MAKE-make}"
6232 # Configure libtool
6233 #AC_MSG_NOTICE([====== Starting libtool configuration])
6234 enable_dlopen=yes
6238 case `pwd` in
6239 *\ * | *\ *)
6240 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
6241 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
6242 esac
6246 macro_version='2.2.7a'
6247 macro_revision='1.3134'
6261 ltmain="$ac_aux_dir/ltmain.sh"
6263 # Backslashify metacharacters that are still active within
6264 # double-quoted strings.
6265 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
6267 # Same as above, but do not quote variable references.
6268 double_quote_subst='s/\(["`\\]\)/\\\1/g'
6270 # Sed substitution to delay expansion of an escaped shell variable in a
6271 # double_quote_subst'ed string.
6272 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6274 # Sed substitution to delay expansion of an escaped single quote.
6275 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6277 # Sed substitution to avoid accidental globbing in evaled expressions
6278 no_glob_subst='s/\*/\\\*/g'
6280 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6281 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6282 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
6285 $as_echo_n "checking how to print strings... " >&6; }
6286 # Test print first, because it will be a builtin if present.
6287 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
6288 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
6289 ECHO='print -r --'
6290 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
6291 ECHO='printf %s\n'
6292 else
6293 # Use this function as a fallback that always works.
6294 func_fallback_echo ()
6296 eval 'cat <<_LTECHO_EOF
6298 _LTECHO_EOF'
6300 ECHO='func_fallback_echo'
6303 # func_echo_all arg...
6304 # Invoke $ECHO with all args, space-separated.
6305 func_echo_all ()
6307 $ECHO ""
6310 case "$ECHO" in
6311 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6312 $as_echo "printf" >&6; } ;;
6313 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6314 $as_echo "print -r" >&6; } ;;
6315 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6316 $as_echo "cat" >&6; } ;;
6317 esac
6332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6333 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6334 if test "${ac_cv_path_SED+set}" = set; then :
6335 $as_echo_n "(cached) " >&6
6336 else
6337 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6338 for ac_i in 1 2 3 4 5 6 7; do
6339 ac_script="$ac_script$as_nl$ac_script"
6340 done
6341 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6342 { ac_script=; unset ac_script;}
6343 if test -z "$SED"; then
6344 ac_path_SED_found=false
6345 # Loop through the user's path and test for each of PROGNAME-LIST
6346 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6347 for as_dir in $PATH
6349 IFS=$as_save_IFS
6350 test -z "$as_dir" && as_dir=.
6351 for ac_prog in sed gsed; do
6352 for ac_exec_ext in '' $ac_executable_extensions; do
6353 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6354 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
6355 # Check for GNU ac_path_SED and select it if it is found.
6356 # Check for GNU $ac_path_SED
6357 case `"$ac_path_SED" --version 2>&1` in
6358 *GNU*)
6359 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6361 ac_count=0
6362 $as_echo_n 0123456789 >"conftest.in"
6363 while :
6365 cat "conftest.in" "conftest.in" >"conftest.tmp"
6366 mv "conftest.tmp" "conftest.in"
6367 cp "conftest.in" "conftest.nl"
6368 $as_echo '' >> "conftest.nl"
6369 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6370 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6371 as_fn_arith $ac_count + 1 && ac_count=$as_val
6372 if test $ac_count -gt ${ac_path_SED_max-0}; then
6373 # Best one so far, save it but keep looking for a better one
6374 ac_cv_path_SED="$ac_path_SED"
6375 ac_path_SED_max=$ac_count
6377 # 10*(2^10) chars as input seems more than enough
6378 test $ac_count -gt 10 && break
6379 done
6380 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6381 esac
6383 $ac_path_SED_found && break 3
6384 done
6385 done
6386 done
6387 IFS=$as_save_IFS
6388 if test -z "$ac_cv_path_SED"; then
6389 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
6391 else
6392 ac_cv_path_SED=$SED
6396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6397 $as_echo "$ac_cv_path_SED" >&6; }
6398 SED="$ac_cv_path_SED"
6399 rm -f conftest.sed
6401 test -z "$SED" && SED=sed
6402 Xsed="$SED -e 1s/^X//"
6414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6415 $as_echo_n "checking for fgrep... " >&6; }
6416 if test "${ac_cv_path_FGREP+set}" = set; then :
6417 $as_echo_n "(cached) " >&6
6418 else
6419 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6420 then ac_cv_path_FGREP="$GREP -F"
6421 else
6422 if test -z "$FGREP"; then
6423 ac_path_FGREP_found=false
6424 # Loop through the user's path and test for each of PROGNAME-LIST
6425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6426 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6428 IFS=$as_save_IFS
6429 test -z "$as_dir" && as_dir=.
6430 for ac_prog in fgrep; do
6431 for ac_exec_ext in '' $ac_executable_extensions; do
6432 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6433 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
6434 # Check for GNU ac_path_FGREP and select it if it is found.
6435 # Check for GNU $ac_path_FGREP
6436 case `"$ac_path_FGREP" --version 2>&1` in
6437 *GNU*)
6438 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6440 ac_count=0
6441 $as_echo_n 0123456789 >"conftest.in"
6442 while :
6444 cat "conftest.in" "conftest.in" >"conftest.tmp"
6445 mv "conftest.tmp" "conftest.in"
6446 cp "conftest.in" "conftest.nl"
6447 $as_echo 'FGREP' >> "conftest.nl"
6448 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6449 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6450 as_fn_arith $ac_count + 1 && ac_count=$as_val
6451 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6452 # Best one so far, save it but keep looking for a better one
6453 ac_cv_path_FGREP="$ac_path_FGREP"
6454 ac_path_FGREP_max=$ac_count
6456 # 10*(2^10) chars as input seems more than enough
6457 test $ac_count -gt 10 && break
6458 done
6459 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6460 esac
6462 $ac_path_FGREP_found && break 3
6463 done
6464 done
6465 done
6466 IFS=$as_save_IFS
6467 if test -z "$ac_cv_path_FGREP"; then
6468 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6470 else
6471 ac_cv_path_FGREP=$FGREP
6476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6477 $as_echo "$ac_cv_path_FGREP" >&6; }
6478 FGREP="$ac_cv_path_FGREP"
6481 test -z "$GREP" && GREP=grep
6501 # Check whether --with-gnu-ld was given.
6502 if test "${with_gnu_ld+set}" = set; then :
6503 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6504 else
6505 with_gnu_ld=no
6508 ac_prog=ld
6509 if test "$GCC" = yes; then
6510 # Check if gcc -print-prog-name=ld gives a path.
6511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6512 $as_echo_n "checking for ld used by $CC... " >&6; }
6513 case $host in
6514 *-*-mingw*)
6515 # gcc leaves a trailing carriage return which upsets mingw
6516 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6518 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6519 esac
6520 case $ac_prog in
6521 # Accept absolute paths.
6522 [\\/]* | ?:[\\/]*)
6523 re_direlt='/[^/][^/]*/\.\./'
6524 # Canonicalize the pathname of ld
6525 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6526 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6527 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6528 done
6529 test -z "$LD" && LD="$ac_prog"
6532 # If it fails, then pretend we aren't using GCC.
6533 ac_prog=ld
6536 # If it is relative, then search for the first ld in PATH.
6537 with_gnu_ld=unknown
6539 esac
6540 elif test "$with_gnu_ld" = yes; then
6541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6542 $as_echo_n "checking for GNU ld... " >&6; }
6543 else
6544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6545 $as_echo_n "checking for non-GNU ld... " >&6; }
6547 if test "${lt_cv_path_LD+set}" = set; then :
6548 $as_echo_n "(cached) " >&6
6549 else
6550 if test -z "$LD"; then
6551 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6552 for ac_dir in $PATH; do
6553 IFS="$lt_save_ifs"
6554 test -z "$ac_dir" && ac_dir=.
6555 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6556 lt_cv_path_LD="$ac_dir/$ac_prog"
6557 # Check to see if the program is GNU ld. I'd rather use --version,
6558 # but apparently some variants of GNU ld only accept -v.
6559 # Break only if it was the GNU/non-GNU ld that we prefer.
6560 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6561 *GNU* | *'with BFD'*)
6562 test "$with_gnu_ld" != no && break
6565 test "$with_gnu_ld" != yes && break
6567 esac
6569 done
6570 IFS="$lt_save_ifs"
6571 else
6572 lt_cv_path_LD="$LD" # Let the user override the test with a path.
6576 LD="$lt_cv_path_LD"
6577 if test -n "$LD"; then
6578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6579 $as_echo "$LD" >&6; }
6580 else
6581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6582 $as_echo "no" >&6; }
6584 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
6585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6586 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6587 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
6588 $as_echo_n "(cached) " >&6
6589 else
6590 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6591 case `$LD -v 2>&1 </dev/null` in
6592 *GNU* | *'with BFD'*)
6593 lt_cv_prog_gnu_ld=yes
6596 lt_cv_prog_gnu_ld=no
6598 esac
6600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6601 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6602 with_gnu_ld=$lt_cv_prog_gnu_ld
6612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6613 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6614 if test "${lt_cv_path_NM+set}" = set; then :
6615 $as_echo_n "(cached) " >&6
6616 else
6617 if test -n "$NM"; then
6618 # Let the user override the test.
6619 lt_cv_path_NM="$NM"
6620 else
6621 lt_nm_to_check="${ac_tool_prefix}nm"
6622 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6623 lt_nm_to_check="$lt_nm_to_check nm"
6625 for lt_tmp_nm in $lt_nm_to_check; do
6626 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6627 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6628 IFS="$lt_save_ifs"
6629 test -z "$ac_dir" && ac_dir=.
6630 tmp_nm="$ac_dir/$lt_tmp_nm"
6631 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6632 # Check to see if the nm accepts a BSD-compat flag.
6633 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6634 # nm: unknown option "B" ignored
6635 # Tru64's nm complains that /dev/null is an invalid object file
6636 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6637 */dev/null* | *'Invalid file or object type'*)
6638 lt_cv_path_NM="$tmp_nm -B"
6639 break
6642 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6643 */dev/null*)
6644 lt_cv_path_NM="$tmp_nm -p"
6645 break
6648 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6649 continue # so that we can try to find one that supports BSD flags
6651 esac
6653 esac
6655 done
6656 IFS="$lt_save_ifs"
6657 done
6658 : ${lt_cv_path_NM=no}
6661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6662 $as_echo "$lt_cv_path_NM" >&6; }
6663 if test "$lt_cv_path_NM" != "no"; then
6664 NM="$lt_cv_path_NM"
6665 else
6666 # Didn't find any BSD compatible name lister, look for dumpbin.
6667 if test -n "$DUMPBIN"; then :
6668 # Let the user override the test.
6669 else
6670 if test -n "$ac_tool_prefix"; then
6671 for ac_prog in dumpbin "link -dump"
6673 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6674 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6676 $as_echo_n "checking for $ac_word... " >&6; }
6677 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
6678 $as_echo_n "(cached) " >&6
6679 else
6680 if test -n "$DUMPBIN"; then
6681 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6682 else
6683 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6684 for as_dir in $PATH
6686 IFS=$as_save_IFS
6687 test -z "$as_dir" && as_dir=.
6688 for ac_exec_ext in '' $ac_executable_extensions; do
6689 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6690 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6691 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6692 break 2
6694 done
6695 done
6696 IFS=$as_save_IFS
6700 DUMPBIN=$ac_cv_prog_DUMPBIN
6701 if test -n "$DUMPBIN"; then
6702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6703 $as_echo "$DUMPBIN" >&6; }
6704 else
6705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6706 $as_echo "no" >&6; }
6710 test -n "$DUMPBIN" && break
6711 done
6713 if test -z "$DUMPBIN"; then
6714 ac_ct_DUMPBIN=$DUMPBIN
6715 for ac_prog in dumpbin "link -dump"
6717 # Extract the first word of "$ac_prog", so it can be a program name with args.
6718 set dummy $ac_prog; ac_word=$2
6719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6720 $as_echo_n "checking for $ac_word... " >&6; }
6721 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
6722 $as_echo_n "(cached) " >&6
6723 else
6724 if test -n "$ac_ct_DUMPBIN"; then
6725 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6726 else
6727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6728 for as_dir in $PATH
6730 IFS=$as_save_IFS
6731 test -z "$as_dir" && as_dir=.
6732 for ac_exec_ext in '' $ac_executable_extensions; do
6733 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6734 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6735 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6736 break 2
6738 done
6739 done
6740 IFS=$as_save_IFS
6744 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6745 if test -n "$ac_ct_DUMPBIN"; then
6746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6747 $as_echo "$ac_ct_DUMPBIN" >&6; }
6748 else
6749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6750 $as_echo "no" >&6; }
6754 test -n "$ac_ct_DUMPBIN" && break
6755 done
6757 if test "x$ac_ct_DUMPBIN" = x; then
6758 DUMPBIN=":"
6759 else
6760 case $cross_compiling:$ac_tool_warned in
6761 yes:)
6762 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6763 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6764 ac_tool_warned=yes ;;
6765 esac
6766 DUMPBIN=$ac_ct_DUMPBIN
6770 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6771 *COFF*)
6772 DUMPBIN="$DUMPBIN -symbols"
6775 DUMPBIN=:
6777 esac
6780 if test "$DUMPBIN" != ":"; then
6781 NM="$DUMPBIN"
6784 test -z "$NM" && NM=nm
6791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6792 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6793 if test "${lt_cv_nm_interface+set}" = set; then :
6794 $as_echo_n "(cached) " >&6
6795 else
6796 lt_cv_nm_interface="BSD nm"
6797 echo "int some_variable = 0;" > conftest.$ac_ext
6798 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6799 (eval "$ac_compile" 2>conftest.err)
6800 cat conftest.err >&5
6801 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6802 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6803 cat conftest.err >&5
6804 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6805 cat conftest.out >&5
6806 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6807 lt_cv_nm_interface="MS dumpbin"
6809 rm -f conftest*
6811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6812 $as_echo "$lt_cv_nm_interface" >&6; }
6814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6815 $as_echo_n "checking whether ln -s works... " >&6; }
6816 LN_S=$as_ln_s
6817 if test "$LN_S" = "ln -s"; then
6818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6819 $as_echo "yes" >&6; }
6820 else
6821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6822 $as_echo "no, using $LN_S" >&6; }
6825 # find the maximum length of command line arguments
6826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6827 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6828 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
6829 $as_echo_n "(cached) " >&6
6830 else
6832 teststring="ABCD"
6834 case $build_os in
6835 msdosdjgpp*)
6836 # On DJGPP, this test can blow up pretty badly due to problems in libc
6837 # (any single argument exceeding 2000 bytes causes a buffer overrun
6838 # during glob expansion). Even if it were fixed, the result of this
6839 # check would be larger than it should be.
6840 lt_cv_sys_max_cmd_len=12288; # 12K is about right
6843 gnu*)
6844 # Under GNU Hurd, this test is not required because there is
6845 # no limit to the length of command line arguments.
6846 # Libtool will interpret -1 as no limit whatsoever
6847 lt_cv_sys_max_cmd_len=-1;
6850 cygwin* | mingw* | cegcc*)
6851 # On Win9x/ME, this test blows up -- it succeeds, but takes
6852 # about 5 minutes as the teststring grows exponentially.
6853 # Worse, since 9x/ME are not pre-emptively multitasking,
6854 # you end up with a "frozen" computer, even though with patience
6855 # the test eventually succeeds (with a max line length of 256k).
6856 # Instead, let's just punt: use the minimum linelength reported by
6857 # all of the supported platforms: 8192 (on NT/2K/XP).
6858 lt_cv_sys_max_cmd_len=8192;
6861 mint*)
6862 # On MiNT this can take a long time and run out of memory.
6863 lt_cv_sys_max_cmd_len=8192;
6866 amigaos*)
6867 # On AmigaOS with pdksh, this test takes hours, literally.
6868 # So we just punt and use a minimum line length of 8192.
6869 lt_cv_sys_max_cmd_len=8192;
6872 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6873 # This has been around since 386BSD, at least. Likely further.
6874 if test -x /sbin/sysctl; then
6875 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6876 elif test -x /usr/sbin/sysctl; then
6877 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6878 else
6879 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6881 # And add a safety zone
6882 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6883 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6886 interix*)
6887 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6888 lt_cv_sys_max_cmd_len=196608
6891 osf*)
6892 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6893 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6894 # nice to cause kernel panics so lets avoid the loop below.
6895 # First set a reasonable default.
6896 lt_cv_sys_max_cmd_len=16384
6898 if test -x /sbin/sysconfig; then
6899 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6900 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6901 esac
6904 sco3.2v5*)
6905 lt_cv_sys_max_cmd_len=102400
6907 sysv5* | sco5v6* | sysv4.2uw2*)
6908 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6909 if test -n "$kargmax"; then
6910 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6911 else
6912 lt_cv_sys_max_cmd_len=32768
6916 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6917 if test -n "$lt_cv_sys_max_cmd_len"; then
6918 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6919 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6920 else
6921 # Make teststring a little bigger before we do anything with it.
6922 # a 1K string should be a reasonable start.
6923 for i in 1 2 3 4 5 6 7 8 ; do
6924 teststring=$teststring$teststring
6925 done
6926 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6927 # If test is not a shell built-in, we'll probably end up computing a
6928 # maximum length that is only half of the actual maximum length, but
6929 # we can't tell.
6930 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6931 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6932 test $i != 17 # 1/2 MB should be enough
6934 i=`expr $i + 1`
6935 teststring=$teststring$teststring
6936 done
6937 # Only check the string length outside the loop.
6938 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6939 teststring=
6940 # Add a significant safety factor because C++ compilers can tack on
6941 # massive amounts of additional arguments before passing them to the
6942 # linker. It appears as though 1/2 is a usable value.
6943 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6946 esac
6950 if test -n $lt_cv_sys_max_cmd_len ; then
6951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6952 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6953 else
6954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6955 $as_echo "none" >&6; }
6957 max_cmd_len=$lt_cv_sys_max_cmd_len
6964 : ${CP="cp -f"}
6965 : ${MV="mv -f"}
6966 : ${RM="rm -f"}
6968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6969 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6970 # Try some XSI features
6971 xsi_shell=no
6972 ( _lt_dummy="a/b/c"
6973 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6974 = c,a/b,, \
6975 && eval 'test $(( 1 + 1 )) -eq 2 \
6976 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6977 && xsi_shell=yes
6978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6979 $as_echo "$xsi_shell" >&6; }
6982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6983 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6984 lt_shell_append=no
6985 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6986 >/dev/null 2>&1 \
6987 && lt_shell_append=yes
6988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6989 $as_echo "$lt_shell_append" >&6; }
6992 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6993 lt_unset=unset
6994 else
6995 lt_unset=false
7002 # test EBCDIC or ASCII
7003 case `echo X|tr X '\101'` in
7004 A) # ASCII based system
7005 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
7006 lt_SP2NL='tr \040 \012'
7007 lt_NL2SP='tr \015\012 \040\040'
7009 *) # EBCDIC based system
7010 lt_SP2NL='tr \100 \n'
7011 lt_NL2SP='tr \r\n \100\100'
7013 esac
7023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
7024 $as_echo_n "checking for $LD option to reload object files... " >&6; }
7025 if test "${lt_cv_ld_reload_flag+set}" = set; then :
7026 $as_echo_n "(cached) " >&6
7027 else
7028 lt_cv_ld_reload_flag='-r'
7030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
7031 $as_echo "$lt_cv_ld_reload_flag" >&6; }
7032 reload_flag=$lt_cv_ld_reload_flag
7033 case $reload_flag in
7034 "" | " "*) ;;
7035 *) reload_flag=" $reload_flag" ;;
7036 esac
7037 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7038 case $host_os in
7039 darwin*)
7040 if test "$GCC" = yes; then
7041 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
7042 else
7043 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7046 esac
7056 if test -n "$ac_tool_prefix"; then
7057 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7058 set dummy ${ac_tool_prefix}objdump; ac_word=$2
7059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7060 $as_echo_n "checking for $ac_word... " >&6; }
7061 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
7062 $as_echo_n "(cached) " >&6
7063 else
7064 if test -n "$OBJDUMP"; then
7065 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7066 else
7067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7068 for as_dir in $PATH
7070 IFS=$as_save_IFS
7071 test -z "$as_dir" && as_dir=.
7072 for ac_exec_ext in '' $ac_executable_extensions; do
7073 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7074 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
7075 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7076 break 2
7078 done
7079 done
7080 IFS=$as_save_IFS
7084 OBJDUMP=$ac_cv_prog_OBJDUMP
7085 if test -n "$OBJDUMP"; then
7086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7087 $as_echo "$OBJDUMP" >&6; }
7088 else
7089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7090 $as_echo "no" >&6; }
7095 if test -z "$ac_cv_prog_OBJDUMP"; then
7096 ac_ct_OBJDUMP=$OBJDUMP
7097 # Extract the first word of "objdump", so it can be a program name with args.
7098 set dummy objdump; ac_word=$2
7099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7100 $as_echo_n "checking for $ac_word... " >&6; }
7101 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
7102 $as_echo_n "(cached) " >&6
7103 else
7104 if test -n "$ac_ct_OBJDUMP"; then
7105 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
7106 else
7107 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7108 for as_dir in $PATH
7110 IFS=$as_save_IFS
7111 test -z "$as_dir" && as_dir=.
7112 for ac_exec_ext in '' $ac_executable_extensions; do
7113 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7114 ac_cv_prog_ac_ct_OBJDUMP="objdump"
7115 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7116 break 2
7118 done
7119 done
7120 IFS=$as_save_IFS
7124 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7125 if test -n "$ac_ct_OBJDUMP"; then
7126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7127 $as_echo "$ac_ct_OBJDUMP" >&6; }
7128 else
7129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7130 $as_echo "no" >&6; }
7133 if test "x$ac_ct_OBJDUMP" = x; then
7134 OBJDUMP="false"
7135 else
7136 case $cross_compiling:$ac_tool_warned in
7137 yes:)
7138 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7139 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7140 ac_tool_warned=yes ;;
7141 esac
7142 OBJDUMP=$ac_ct_OBJDUMP
7144 else
7145 OBJDUMP="$ac_cv_prog_OBJDUMP"
7148 test -z "$OBJDUMP" && OBJDUMP=objdump
7158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
7159 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
7160 if test "${lt_cv_deplibs_check_method+set}" = set; then :
7161 $as_echo_n "(cached) " >&6
7162 else
7163 lt_cv_file_magic_cmd='$MAGIC_CMD'
7164 lt_cv_file_magic_test_file=
7165 lt_cv_deplibs_check_method='unknown'
7166 # Need to set the preceding variable on all platforms that support
7167 # interlibrary dependencies.
7168 # 'none' -- dependencies not supported.
7169 # `unknown' -- same as none, but documents that we really don't know.
7170 # 'pass_all' -- all dependencies passed with no checks.
7171 # 'test_compile' -- check by making test program.
7172 # 'file_magic [[regex]]' -- check by looking for files in library path
7173 # which responds to the $file_magic_cmd with a given extended regex.
7174 # If you have `file' or equivalent on your system and you're not sure
7175 # whether `pass_all' will *always* work, you probably want this one.
7177 case $host_os in
7178 aix[4-9]*)
7179 lt_cv_deplibs_check_method=pass_all
7182 beos*)
7183 lt_cv_deplibs_check_method=pass_all
7186 bsdi[45]*)
7187 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7188 lt_cv_file_magic_cmd='/usr/bin/file -L'
7189 lt_cv_file_magic_test_file=/shlib/libc.so
7192 cygwin*)
7193 # func_win32_libid is a shell function defined in ltmain.sh
7194 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7195 lt_cv_file_magic_cmd='func_win32_libid'
7198 mingw* | pw32*)
7199 # Base MSYS/MinGW do not provide the 'file' command needed by
7200 # func_win32_libid shell function, so use a weaker test based on 'objdump',
7201 # unless we find 'file', for example because we are cross-compiling.
7202 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
7203 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
7204 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7205 lt_cv_file_magic_cmd='func_win32_libid'
7206 else
7207 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
7208 lt_cv_file_magic_cmd='$OBJDUMP -f'
7212 cegcc*)
7213 # use the weaker test based on 'objdump'. See mingw*.
7214 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7215 lt_cv_file_magic_cmd='$OBJDUMP -f'
7218 darwin* | rhapsody*)
7219 lt_cv_deplibs_check_method=pass_all
7222 freebsd* | dragonfly*)
7223 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7224 case $host_cpu in
7225 i*86 )
7226 # Not sure whether the presence of OpenBSD here was a mistake.
7227 # Let's accept both of them until this is cleared up.
7228 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7229 lt_cv_file_magic_cmd=/usr/bin/file
7230 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
7232 esac
7233 else
7234 lt_cv_deplibs_check_method=pass_all
7238 gnu*)
7239 lt_cv_deplibs_check_method=pass_all
7242 haiku*)
7243 lt_cv_deplibs_check_method=pass_all
7246 hpux10.20* | hpux11*)
7247 lt_cv_file_magic_cmd=/usr/bin/file
7248 case $host_cpu in
7249 ia64*)
7250 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7251 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
7253 hppa*64*)
7254 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]'
7255 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
7258 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7259 lt_cv_file_magic_test_file=/usr/lib/libc.sl
7261 esac
7264 interix[3-9]*)
7265 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7266 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
7269 irix5* | irix6* | nonstopux*)
7270 case $LD in
7271 *-32|*"-32 ") libmagic=32-bit;;
7272 *-n32|*"-n32 ") libmagic=N32;;
7273 *-64|*"-64 ") libmagic=64-bit;;
7274 *) libmagic=never-match;;
7275 esac
7276 lt_cv_deplibs_check_method=pass_all
7279 # This must be Linux ELF.
7280 linux* | k*bsd*-gnu | kopensolaris*-gnu)
7281 lt_cv_deplibs_check_method=pass_all
7284 netbsd*)
7285 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7286 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7287 else
7288 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7292 newos6*)
7293 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7294 lt_cv_file_magic_cmd=/usr/bin/file
7295 lt_cv_file_magic_test_file=/usr/lib/libnls.so
7298 *nto* | *qnx*)
7299 lt_cv_deplibs_check_method=pass_all
7302 openbsd*)
7303 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7304 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7305 else
7306 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7310 osf3* | osf4* | osf5*)
7311 lt_cv_deplibs_check_method=pass_all
7314 rdos*)
7315 lt_cv_deplibs_check_method=pass_all
7318 solaris*)
7319 lt_cv_deplibs_check_method=pass_all
7322 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7323 lt_cv_deplibs_check_method=pass_all
7326 sysv4 | sysv4.3*)
7327 case $host_vendor in
7328 motorola)
7329 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]'
7330 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7332 ncr)
7333 lt_cv_deplibs_check_method=pass_all
7335 sequent)
7336 lt_cv_file_magic_cmd='/bin/file'
7337 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7339 sni)
7340 lt_cv_file_magic_cmd='/bin/file'
7341 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7342 lt_cv_file_magic_test_file=/lib/libc.so
7344 siemens)
7345 lt_cv_deplibs_check_method=pass_all
7348 lt_cv_deplibs_check_method=pass_all
7350 esac
7353 tpf*)
7354 lt_cv_deplibs_check_method=pass_all
7356 esac
7359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7360 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7361 file_magic_cmd=$lt_cv_file_magic_cmd
7362 deplibs_check_method=$lt_cv_deplibs_check_method
7363 test -z "$deplibs_check_method" && deplibs_check_method=unknown
7376 if test -n "$ac_tool_prefix"; then
7377 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7378 set dummy ${ac_tool_prefix}ar; ac_word=$2
7379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7380 $as_echo_n "checking for $ac_word... " >&6; }
7381 if test "${ac_cv_prog_AR+set}" = set; then :
7382 $as_echo_n "(cached) " >&6
7383 else
7384 if test -n "$AR"; then
7385 ac_cv_prog_AR="$AR" # Let the user override the test.
7386 else
7387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7388 for as_dir in $PATH
7390 IFS=$as_save_IFS
7391 test -z "$as_dir" && as_dir=.
7392 for ac_exec_ext in '' $ac_executable_extensions; do
7393 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7394 ac_cv_prog_AR="${ac_tool_prefix}ar"
7395 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7396 break 2
7398 done
7399 done
7400 IFS=$as_save_IFS
7404 AR=$ac_cv_prog_AR
7405 if test -n "$AR"; then
7406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7407 $as_echo "$AR" >&6; }
7408 else
7409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7410 $as_echo "no" >&6; }
7415 if test -z "$ac_cv_prog_AR"; then
7416 ac_ct_AR=$AR
7417 # Extract the first word of "ar", so it can be a program name with args.
7418 set dummy ar; ac_word=$2
7419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7420 $as_echo_n "checking for $ac_word... " >&6; }
7421 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
7422 $as_echo_n "(cached) " >&6
7423 else
7424 if test -n "$ac_ct_AR"; then
7425 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7426 else
7427 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7428 for as_dir in $PATH
7430 IFS=$as_save_IFS
7431 test -z "$as_dir" && as_dir=.
7432 for ac_exec_ext in '' $ac_executable_extensions; do
7433 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7434 ac_cv_prog_ac_ct_AR="ar"
7435 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7436 break 2
7438 done
7439 done
7440 IFS=$as_save_IFS
7444 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7445 if test -n "$ac_ct_AR"; then
7446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7447 $as_echo "$ac_ct_AR" >&6; }
7448 else
7449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7450 $as_echo "no" >&6; }
7453 if test "x$ac_ct_AR" = x; then
7454 AR="false"
7455 else
7456 case $cross_compiling:$ac_tool_warned in
7457 yes:)
7458 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7459 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7460 ac_tool_warned=yes ;;
7461 esac
7462 AR=$ac_ct_AR
7464 else
7465 AR="$ac_cv_prog_AR"
7468 test -z "$AR" && AR=ar
7469 test -z "$AR_FLAGS" && AR_FLAGS=cru
7481 if test -n "$ac_tool_prefix"; then
7482 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7483 set dummy ${ac_tool_prefix}strip; ac_word=$2
7484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7485 $as_echo_n "checking for $ac_word... " >&6; }
7486 if test "${ac_cv_prog_STRIP+set}" = set; then :
7487 $as_echo_n "(cached) " >&6
7488 else
7489 if test -n "$STRIP"; then
7490 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7491 else
7492 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7493 for as_dir in $PATH
7495 IFS=$as_save_IFS
7496 test -z "$as_dir" && as_dir=.
7497 for ac_exec_ext in '' $ac_executable_extensions; do
7498 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7499 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7500 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7501 break 2
7503 done
7504 done
7505 IFS=$as_save_IFS
7509 STRIP=$ac_cv_prog_STRIP
7510 if test -n "$STRIP"; then
7511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7512 $as_echo "$STRIP" >&6; }
7513 else
7514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7515 $as_echo "no" >&6; }
7520 if test -z "$ac_cv_prog_STRIP"; then
7521 ac_ct_STRIP=$STRIP
7522 # Extract the first word of "strip", so it can be a program name with args.
7523 set dummy strip; ac_word=$2
7524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7525 $as_echo_n "checking for $ac_word... " >&6; }
7526 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
7527 $as_echo_n "(cached) " >&6
7528 else
7529 if test -n "$ac_ct_STRIP"; then
7530 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7531 else
7532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7533 for as_dir in $PATH
7535 IFS=$as_save_IFS
7536 test -z "$as_dir" && as_dir=.
7537 for ac_exec_ext in '' $ac_executable_extensions; do
7538 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7539 ac_cv_prog_ac_ct_STRIP="strip"
7540 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7541 break 2
7543 done
7544 done
7545 IFS=$as_save_IFS
7549 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7550 if test -n "$ac_ct_STRIP"; then
7551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7552 $as_echo "$ac_ct_STRIP" >&6; }
7553 else
7554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7555 $as_echo "no" >&6; }
7558 if test "x$ac_ct_STRIP" = x; then
7559 STRIP=":"
7560 else
7561 case $cross_compiling:$ac_tool_warned in
7562 yes:)
7563 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7564 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7565 ac_tool_warned=yes ;;
7566 esac
7567 STRIP=$ac_ct_STRIP
7569 else
7570 STRIP="$ac_cv_prog_STRIP"
7573 test -z "$STRIP" && STRIP=:
7580 if test -n "$ac_tool_prefix"; then
7581 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7582 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7584 $as_echo_n "checking for $ac_word... " >&6; }
7585 if test "${ac_cv_prog_RANLIB+set}" = set; then :
7586 $as_echo_n "(cached) " >&6
7587 else
7588 if test -n "$RANLIB"; then
7589 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7590 else
7591 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7592 for as_dir in $PATH
7594 IFS=$as_save_IFS
7595 test -z "$as_dir" && as_dir=.
7596 for ac_exec_ext in '' $ac_executable_extensions; do
7597 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7598 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7599 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7600 break 2
7602 done
7603 done
7604 IFS=$as_save_IFS
7608 RANLIB=$ac_cv_prog_RANLIB
7609 if test -n "$RANLIB"; then
7610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7611 $as_echo "$RANLIB" >&6; }
7612 else
7613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7614 $as_echo "no" >&6; }
7619 if test -z "$ac_cv_prog_RANLIB"; then
7620 ac_ct_RANLIB=$RANLIB
7621 # Extract the first word of "ranlib", so it can be a program name with args.
7622 set dummy ranlib; ac_word=$2
7623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7624 $as_echo_n "checking for $ac_word... " >&6; }
7625 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
7626 $as_echo_n "(cached) " >&6
7627 else
7628 if test -n "$ac_ct_RANLIB"; then
7629 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7630 else
7631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7632 for as_dir in $PATH
7634 IFS=$as_save_IFS
7635 test -z "$as_dir" && as_dir=.
7636 for ac_exec_ext in '' $ac_executable_extensions; do
7637 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7638 ac_cv_prog_ac_ct_RANLIB="ranlib"
7639 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7640 break 2
7642 done
7643 done
7644 IFS=$as_save_IFS
7648 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7649 if test -n "$ac_ct_RANLIB"; then
7650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7651 $as_echo "$ac_ct_RANLIB" >&6; }
7652 else
7653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7654 $as_echo "no" >&6; }
7657 if test "x$ac_ct_RANLIB" = x; then
7658 RANLIB=":"
7659 else
7660 case $cross_compiling:$ac_tool_warned in
7661 yes:)
7662 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7663 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7664 ac_tool_warned=yes ;;
7665 esac
7666 RANLIB=$ac_ct_RANLIB
7668 else
7669 RANLIB="$ac_cv_prog_RANLIB"
7672 test -z "$RANLIB" && RANLIB=:
7679 # Determine commands to create old-style static archives.
7680 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7681 old_postinstall_cmds='chmod 644 $oldlib'
7682 old_postuninstall_cmds=
7684 if test -n "$RANLIB"; then
7685 case $host_os in
7686 openbsd*)
7687 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7690 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
7692 esac
7693 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
7696 case $host_os in
7697 darwin*)
7698 lock_old_archive_extraction=yes ;;
7700 lock_old_archive_extraction=no ;;
7701 esac
7741 # If no C compiler was specified, use CC.
7742 LTCC=${LTCC-"$CC"}
7744 # If no C compiler flags were specified, use CFLAGS.
7745 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7747 # Allow CC to be a program name with arguments.
7748 compiler=$CC
7751 # Check for command to grab the raw symbol name followed by C symbol from nm.
7752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7753 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7754 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
7755 $as_echo_n "(cached) " >&6
7756 else
7758 # These are sane defaults that work on at least a few old systems.
7759 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7761 # Character class describing NM global symbol codes.
7762 symcode='[BCDEGRST]'
7764 # Regexp to match symbols that can be accessed directly from C.
7765 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7767 # Define system-specific variables.
7768 case $host_os in
7769 aix*)
7770 symcode='[BCDT]'
7772 cygwin* | mingw* | pw32* | cegcc*)
7773 symcode='[ABCDGISTW]'
7775 hpux*)
7776 if test "$host_cpu" = ia64; then
7777 symcode='[ABCDEGRST]'
7780 irix* | nonstopux*)
7781 symcode='[BCDEGRST]'
7783 osf*)
7784 symcode='[BCDEGQRST]'
7786 solaris*)
7787 symcode='[BDRT]'
7789 sco3.2v5*)
7790 symcode='[DT]'
7792 sysv4.2uw2*)
7793 symcode='[DT]'
7795 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7796 symcode='[ABDT]'
7798 sysv4)
7799 symcode='[DFNSTU]'
7801 esac
7803 # If we're using GNU nm, then use its standard symbol codes.
7804 case `$NM -V 2>&1` in
7805 *GNU* | *'with BFD'*)
7806 symcode='[ABCDGIRSTW]' ;;
7807 esac
7809 # Transform an extracted symbol line into a proper C declaration.
7810 # Some systems (esp. on ia64) link data and code symbols differently,
7811 # so use this general approach.
7812 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7814 # Transform an extracted symbol line into symbol name and symbol address
7815 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7816 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'"
7818 # Handle CRLF in mingw tool chain
7819 opt_cr=
7820 case $build_os in
7821 mingw*)
7822 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7824 esac
7826 # Try without a prefix underscore, then with it.
7827 for ac_symprfx in "" "_"; do
7829 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7830 symxfrm="\\1 $ac_symprfx\\2 \\2"
7832 # Write the raw and C identifiers.
7833 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7834 # Fake it for dumpbin and say T for any non-static function
7835 # and D for any global variable.
7836 # Also find C++ and __fastcall symbols from MSVC++,
7837 # which start with @ or ?.
7838 lt_cv_sys_global_symbol_pipe="$AWK '"\
7839 " {last_section=section; section=\$ 3};"\
7840 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7841 " \$ 0!~/External *\|/{next};"\
7842 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7843 " {if(hide[section]) next};"\
7844 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7845 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7846 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7847 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7848 " ' prfx=^$ac_symprfx"
7849 else
7850 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7853 # Check to see that the pipe works correctly.
7854 pipe_works=no
7856 rm -f conftest*
7857 cat > conftest.$ac_ext <<_LT_EOF
7858 #ifdef __cplusplus
7859 extern "C" {
7860 #endif
7861 char nm_test_var;
7862 void nm_test_func(void);
7863 void nm_test_func(void){}
7864 #ifdef __cplusplus
7866 #endif
7867 int main(){nm_test_var='a';nm_test_func();return(0);}
7868 _LT_EOF
7870 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7871 (eval $ac_compile) 2>&5
7872 ac_status=$?
7873 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7874 test $ac_status = 0; }; then
7875 # Now try to grab the symbols.
7876 nlist=conftest.nm
7877 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7878 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7879 ac_status=$?
7880 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7881 test $ac_status = 0; } && test -s "$nlist"; then
7882 # Try sorting and uniquifying the output.
7883 if sort "$nlist" | uniq > "$nlist"T; then
7884 mv -f "$nlist"T "$nlist"
7885 else
7886 rm -f "$nlist"T
7889 # Make sure that we snagged all the symbols we need.
7890 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7891 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7892 cat <<_LT_EOF > conftest.$ac_ext
7893 #ifdef __cplusplus
7894 extern "C" {
7895 #endif
7897 _LT_EOF
7898 # Now generate the symbol file.
7899 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7901 cat <<_LT_EOF >> conftest.$ac_ext
7903 /* The mapping between symbol names and symbols. */
7904 const struct {
7905 const char *name;
7906 void *address;
7908 lt__PROGRAM__LTX_preloaded_symbols[] =
7910 { "@PROGRAM@", (void *) 0 },
7911 _LT_EOF
7912 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7913 cat <<\_LT_EOF >> conftest.$ac_ext
7914 {0, (void *) 0}
7917 /* This works around a problem in FreeBSD linker */
7918 #ifdef FREEBSD_WORKAROUND
7919 static const void *lt_preloaded_setup() {
7920 return lt__PROGRAM__LTX_preloaded_symbols;
7922 #endif
7924 #ifdef __cplusplus
7926 #endif
7927 _LT_EOF
7928 # Now try linking the two files.
7929 mv conftest.$ac_objext conftstm.$ac_objext
7930 lt_save_LIBS="$LIBS"
7931 lt_save_CFLAGS="$CFLAGS"
7932 LIBS="conftstm.$ac_objext"
7933 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7934 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7935 (eval $ac_link) 2>&5
7936 ac_status=$?
7937 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7938 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7939 pipe_works=yes
7941 LIBS="$lt_save_LIBS"
7942 CFLAGS="$lt_save_CFLAGS"
7943 else
7944 echo "cannot find nm_test_func in $nlist" >&5
7946 else
7947 echo "cannot find nm_test_var in $nlist" >&5
7949 else
7950 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7952 else
7953 echo "$progname: failed program was:" >&5
7954 cat conftest.$ac_ext >&5
7956 rm -rf conftest* conftst*
7958 # Do not use the global_symbol_pipe unless it works.
7959 if test "$pipe_works" = yes; then
7960 break
7961 else
7962 lt_cv_sys_global_symbol_pipe=
7964 done
7968 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7969 lt_cv_sys_global_symbol_to_cdecl=
7971 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7973 $as_echo "failed" >&6; }
7974 else
7975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7976 $as_echo "ok" >&6; }
8000 # Check whether --enable-libtool-lock was given.
8001 if test "${enable_libtool_lock+set}" = set; then :
8002 enableval=$enable_libtool_lock;
8005 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
8007 # Some flags need to be propagated to the compiler or linker for good
8008 # libtool support.
8009 case $host in
8010 ia64-*-hpux*)
8011 # Find out which ABI we are using.
8012 echo 'int i;' > conftest.$ac_ext
8013 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8014 (eval $ac_compile) 2>&5
8015 ac_status=$?
8016 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8017 test $ac_status = 0; }; then
8018 case `/usr/bin/file conftest.$ac_objext` in
8019 *ELF-32*)
8020 HPUX_IA64_MODE="32"
8022 *ELF-64*)
8023 HPUX_IA64_MODE="64"
8025 esac
8027 rm -rf conftest*
8029 *-*-irix6*)
8030 # Find out which ABI we are using.
8031 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
8032 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8033 (eval $ac_compile) 2>&5
8034 ac_status=$?
8035 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8036 test $ac_status = 0; }; then
8037 if test "$lt_cv_prog_gnu_ld" = yes; then
8038 case `/usr/bin/file conftest.$ac_objext` in
8039 *32-bit*)
8040 LD="${LD-ld} -melf32bsmip"
8042 *N32*)
8043 LD="${LD-ld} -melf32bmipn32"
8045 *64-bit*)
8046 LD="${LD-ld} -melf64bmip"
8048 esac
8049 else
8050 case `/usr/bin/file conftest.$ac_objext` in
8051 *32-bit*)
8052 LD="${LD-ld} -32"
8054 *N32*)
8055 LD="${LD-ld} -n32"
8057 *64-bit*)
8058 LD="${LD-ld} -64"
8060 esac
8063 rm -rf conftest*
8066 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
8067 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
8068 # Find out which ABI we are using.
8069 echo 'int i;' > conftest.$ac_ext
8070 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8071 (eval $ac_compile) 2>&5
8072 ac_status=$?
8073 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8074 test $ac_status = 0; }; then
8075 case `/usr/bin/file conftest.o` in
8076 *32-bit*)
8077 case $host in
8078 x86_64-*kfreebsd*-gnu)
8079 LD="${LD-ld} -m elf_i386_fbsd"
8081 x86_64-*linux*)
8082 case `/usr/bin/file conftest.o` in
8083 *x86-64*)
8084 LD="${LD-ld} -m elf32_x86_64"
8087 LD="${LD-ld} -m elf_i386"
8089 esac
8091 powerpc64le-*linux*)
8092 LD="${LD-ld} -m elf32lppclinux"
8094 powerpc64-*linux*)
8095 LD="${LD-ld} -m elf32ppclinux"
8097 s390x-*linux*)
8098 LD="${LD-ld} -m elf_s390"
8100 sparc64-*linux*)
8101 LD="${LD-ld} -m elf32_sparc"
8103 esac
8105 *64-bit*)
8106 case $host in
8107 x86_64-*kfreebsd*-gnu)
8108 LD="${LD-ld} -m elf_x86_64_fbsd"
8110 x86_64-*linux*)
8111 LD="${LD-ld} -m elf_x86_64"
8113 powerpcle-*linux*)
8114 LD="${LD-ld} -m elf64lppc"
8116 powerpc-*linux*)
8117 LD="${LD-ld} -m elf64ppc"
8119 s390*-*linux*|s390*-*tpf*)
8120 LD="${LD-ld} -m elf64_s390"
8122 sparc*-*linux*)
8123 LD="${LD-ld} -m elf64_sparc"
8125 esac
8127 esac
8129 rm -rf conftest*
8132 *-*-sco3.2v5*)
8133 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8134 SAVE_CFLAGS="$CFLAGS"
8135 CFLAGS="$CFLAGS -belf"
8136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8137 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8138 if test "${lt_cv_cc_needs_belf+set}" = set; then :
8139 $as_echo_n "(cached) " >&6
8140 else
8141 ac_ext=c
8142 ac_cpp='$CPP $CPPFLAGS'
8143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8147 if test x$gcc_no_link = xyes; then
8148 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8151 /* end confdefs.h. */
8154 main ()
8158 return 0;
8160 _ACEOF
8161 if ac_fn_c_try_link "$LINENO"; then :
8162 lt_cv_cc_needs_belf=yes
8163 else
8164 lt_cv_cc_needs_belf=no
8166 rm -f core conftest.err conftest.$ac_objext \
8167 conftest$ac_exeext conftest.$ac_ext
8168 ac_ext=c
8169 ac_cpp='$CPP $CPPFLAGS'
8170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8176 $as_echo "$lt_cv_cc_needs_belf" >&6; }
8177 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
8178 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8179 CFLAGS="$SAVE_CFLAGS"
8182 sparc*-*solaris*)
8183 # Find out which ABI we are using.
8184 echo 'int i;' > conftest.$ac_ext
8185 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8186 (eval $ac_compile) 2>&5
8187 ac_status=$?
8188 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8189 test $ac_status = 0; }; then
8190 case `/usr/bin/file conftest.o` in
8191 *64-bit*)
8192 case $lt_cv_prog_gnu_ld in
8193 yes*) LD="${LD-ld} -m elf64_sparc" ;;
8195 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8196 LD="${LD-ld} -64"
8199 esac
8201 esac
8203 rm -rf conftest*
8205 esac
8207 need_locks="$enable_libtool_lock"
8210 case $host_os in
8211 rhapsody* | darwin*)
8212 if test -n "$ac_tool_prefix"; then
8213 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8214 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8216 $as_echo_n "checking for $ac_word... " >&6; }
8217 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
8218 $as_echo_n "(cached) " >&6
8219 else
8220 if test -n "$DSYMUTIL"; then
8221 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8222 else
8223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8224 for as_dir in $PATH
8226 IFS=$as_save_IFS
8227 test -z "$as_dir" && as_dir=.
8228 for ac_exec_ext in '' $ac_executable_extensions; do
8229 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8230 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8231 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8232 break 2
8234 done
8235 done
8236 IFS=$as_save_IFS
8240 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8241 if test -n "$DSYMUTIL"; then
8242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8243 $as_echo "$DSYMUTIL" >&6; }
8244 else
8245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8246 $as_echo "no" >&6; }
8251 if test -z "$ac_cv_prog_DSYMUTIL"; then
8252 ac_ct_DSYMUTIL=$DSYMUTIL
8253 # Extract the first word of "dsymutil", so it can be a program name with args.
8254 set dummy dsymutil; ac_word=$2
8255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8256 $as_echo_n "checking for $ac_word... " >&6; }
8257 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
8258 $as_echo_n "(cached) " >&6
8259 else
8260 if test -n "$ac_ct_DSYMUTIL"; then
8261 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8262 else
8263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8264 for as_dir in $PATH
8266 IFS=$as_save_IFS
8267 test -z "$as_dir" && as_dir=.
8268 for ac_exec_ext in '' $ac_executable_extensions; do
8269 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8270 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8271 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8272 break 2
8274 done
8275 done
8276 IFS=$as_save_IFS
8280 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8281 if test -n "$ac_ct_DSYMUTIL"; then
8282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8283 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8284 else
8285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8286 $as_echo "no" >&6; }
8289 if test "x$ac_ct_DSYMUTIL" = x; then
8290 DSYMUTIL=":"
8291 else
8292 case $cross_compiling:$ac_tool_warned in
8293 yes:)
8294 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8295 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8296 ac_tool_warned=yes ;;
8297 esac
8298 DSYMUTIL=$ac_ct_DSYMUTIL
8300 else
8301 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8304 if test -n "$ac_tool_prefix"; then
8305 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8306 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8308 $as_echo_n "checking for $ac_word... " >&6; }
8309 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
8310 $as_echo_n "(cached) " >&6
8311 else
8312 if test -n "$NMEDIT"; then
8313 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8314 else
8315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8316 for as_dir in $PATH
8318 IFS=$as_save_IFS
8319 test -z "$as_dir" && as_dir=.
8320 for ac_exec_ext in '' $ac_executable_extensions; do
8321 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8322 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8323 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8324 break 2
8326 done
8327 done
8328 IFS=$as_save_IFS
8332 NMEDIT=$ac_cv_prog_NMEDIT
8333 if test -n "$NMEDIT"; then
8334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8335 $as_echo "$NMEDIT" >&6; }
8336 else
8337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8338 $as_echo "no" >&6; }
8343 if test -z "$ac_cv_prog_NMEDIT"; then
8344 ac_ct_NMEDIT=$NMEDIT
8345 # Extract the first word of "nmedit", so it can be a program name with args.
8346 set dummy nmedit; ac_word=$2
8347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8348 $as_echo_n "checking for $ac_word... " >&6; }
8349 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
8350 $as_echo_n "(cached) " >&6
8351 else
8352 if test -n "$ac_ct_NMEDIT"; then
8353 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8354 else
8355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8356 for as_dir in $PATH
8358 IFS=$as_save_IFS
8359 test -z "$as_dir" && as_dir=.
8360 for ac_exec_ext in '' $ac_executable_extensions; do
8361 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8362 ac_cv_prog_ac_ct_NMEDIT="nmedit"
8363 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8364 break 2
8366 done
8367 done
8368 IFS=$as_save_IFS
8372 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8373 if test -n "$ac_ct_NMEDIT"; then
8374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8375 $as_echo "$ac_ct_NMEDIT" >&6; }
8376 else
8377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8378 $as_echo "no" >&6; }
8381 if test "x$ac_ct_NMEDIT" = x; then
8382 NMEDIT=":"
8383 else
8384 case $cross_compiling:$ac_tool_warned in
8385 yes:)
8386 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8387 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8388 ac_tool_warned=yes ;;
8389 esac
8390 NMEDIT=$ac_ct_NMEDIT
8392 else
8393 NMEDIT="$ac_cv_prog_NMEDIT"
8396 if test -n "$ac_tool_prefix"; then
8397 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8398 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8400 $as_echo_n "checking for $ac_word... " >&6; }
8401 if test "${ac_cv_prog_LIPO+set}" = set; then :
8402 $as_echo_n "(cached) " >&6
8403 else
8404 if test -n "$LIPO"; then
8405 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8406 else
8407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8408 for as_dir in $PATH
8410 IFS=$as_save_IFS
8411 test -z "$as_dir" && as_dir=.
8412 for ac_exec_ext in '' $ac_executable_extensions; do
8413 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8414 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8415 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8416 break 2
8418 done
8419 done
8420 IFS=$as_save_IFS
8424 LIPO=$ac_cv_prog_LIPO
8425 if test -n "$LIPO"; then
8426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8427 $as_echo "$LIPO" >&6; }
8428 else
8429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8430 $as_echo "no" >&6; }
8435 if test -z "$ac_cv_prog_LIPO"; then
8436 ac_ct_LIPO=$LIPO
8437 # Extract the first word of "lipo", so it can be a program name with args.
8438 set dummy lipo; ac_word=$2
8439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8440 $as_echo_n "checking for $ac_word... " >&6; }
8441 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
8442 $as_echo_n "(cached) " >&6
8443 else
8444 if test -n "$ac_ct_LIPO"; then
8445 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8446 else
8447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8448 for as_dir in $PATH
8450 IFS=$as_save_IFS
8451 test -z "$as_dir" && as_dir=.
8452 for ac_exec_ext in '' $ac_executable_extensions; do
8453 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8454 ac_cv_prog_ac_ct_LIPO="lipo"
8455 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8456 break 2
8458 done
8459 done
8460 IFS=$as_save_IFS
8464 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8465 if test -n "$ac_ct_LIPO"; then
8466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8467 $as_echo "$ac_ct_LIPO" >&6; }
8468 else
8469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8470 $as_echo "no" >&6; }
8473 if test "x$ac_ct_LIPO" = x; then
8474 LIPO=":"
8475 else
8476 case $cross_compiling:$ac_tool_warned in
8477 yes:)
8478 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8479 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8480 ac_tool_warned=yes ;;
8481 esac
8482 LIPO=$ac_ct_LIPO
8484 else
8485 LIPO="$ac_cv_prog_LIPO"
8488 if test -n "$ac_tool_prefix"; then
8489 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8490 set dummy ${ac_tool_prefix}otool; ac_word=$2
8491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8492 $as_echo_n "checking for $ac_word... " >&6; }
8493 if test "${ac_cv_prog_OTOOL+set}" = set; then :
8494 $as_echo_n "(cached) " >&6
8495 else
8496 if test -n "$OTOOL"; then
8497 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8498 else
8499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8500 for as_dir in $PATH
8502 IFS=$as_save_IFS
8503 test -z "$as_dir" && as_dir=.
8504 for ac_exec_ext in '' $ac_executable_extensions; do
8505 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8506 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8507 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8508 break 2
8510 done
8511 done
8512 IFS=$as_save_IFS
8516 OTOOL=$ac_cv_prog_OTOOL
8517 if test -n "$OTOOL"; then
8518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8519 $as_echo "$OTOOL" >&6; }
8520 else
8521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8522 $as_echo "no" >&6; }
8527 if test -z "$ac_cv_prog_OTOOL"; then
8528 ac_ct_OTOOL=$OTOOL
8529 # Extract the first word of "otool", so it can be a program name with args.
8530 set dummy otool; ac_word=$2
8531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8532 $as_echo_n "checking for $ac_word... " >&6; }
8533 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
8534 $as_echo_n "(cached) " >&6
8535 else
8536 if test -n "$ac_ct_OTOOL"; then
8537 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8538 else
8539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8540 for as_dir in $PATH
8542 IFS=$as_save_IFS
8543 test -z "$as_dir" && as_dir=.
8544 for ac_exec_ext in '' $ac_executable_extensions; do
8545 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8546 ac_cv_prog_ac_ct_OTOOL="otool"
8547 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8548 break 2
8550 done
8551 done
8552 IFS=$as_save_IFS
8556 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8557 if test -n "$ac_ct_OTOOL"; then
8558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8559 $as_echo "$ac_ct_OTOOL" >&6; }
8560 else
8561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8562 $as_echo "no" >&6; }
8565 if test "x$ac_ct_OTOOL" = x; then
8566 OTOOL=":"
8567 else
8568 case $cross_compiling:$ac_tool_warned in
8569 yes:)
8570 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8571 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8572 ac_tool_warned=yes ;;
8573 esac
8574 OTOOL=$ac_ct_OTOOL
8576 else
8577 OTOOL="$ac_cv_prog_OTOOL"
8580 if test -n "$ac_tool_prefix"; then
8581 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8582 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8584 $as_echo_n "checking for $ac_word... " >&6; }
8585 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
8586 $as_echo_n "(cached) " >&6
8587 else
8588 if test -n "$OTOOL64"; then
8589 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8590 else
8591 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8592 for as_dir in $PATH
8594 IFS=$as_save_IFS
8595 test -z "$as_dir" && as_dir=.
8596 for ac_exec_ext in '' $ac_executable_extensions; do
8597 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8598 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8599 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8600 break 2
8602 done
8603 done
8604 IFS=$as_save_IFS
8608 OTOOL64=$ac_cv_prog_OTOOL64
8609 if test -n "$OTOOL64"; then
8610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8611 $as_echo "$OTOOL64" >&6; }
8612 else
8613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8614 $as_echo "no" >&6; }
8619 if test -z "$ac_cv_prog_OTOOL64"; then
8620 ac_ct_OTOOL64=$OTOOL64
8621 # Extract the first word of "otool64", so it can be a program name with args.
8622 set dummy otool64; ac_word=$2
8623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8624 $as_echo_n "checking for $ac_word... " >&6; }
8625 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
8626 $as_echo_n "(cached) " >&6
8627 else
8628 if test -n "$ac_ct_OTOOL64"; then
8629 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8630 else
8631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8632 for as_dir in $PATH
8634 IFS=$as_save_IFS
8635 test -z "$as_dir" && as_dir=.
8636 for ac_exec_ext in '' $ac_executable_extensions; do
8637 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8638 ac_cv_prog_ac_ct_OTOOL64="otool64"
8639 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8640 break 2
8642 done
8643 done
8644 IFS=$as_save_IFS
8648 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8649 if test -n "$ac_ct_OTOOL64"; then
8650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8651 $as_echo "$ac_ct_OTOOL64" >&6; }
8652 else
8653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8654 $as_echo "no" >&6; }
8657 if test "x$ac_ct_OTOOL64" = x; then
8658 OTOOL64=":"
8659 else
8660 case $cross_compiling:$ac_tool_warned in
8661 yes:)
8662 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8663 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8664 ac_tool_warned=yes ;;
8665 esac
8666 OTOOL64=$ac_ct_OTOOL64
8668 else
8669 OTOOL64="$ac_cv_prog_OTOOL64"
8698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8699 $as_echo_n "checking for -single_module linker flag... " >&6; }
8700 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
8701 $as_echo_n "(cached) " >&6
8702 else
8703 lt_cv_apple_cc_single_mod=no
8704 if test -z "${LT_MULTI_MODULE}"; then
8705 # By default we will add the -single_module flag. You can override
8706 # by either setting the environment variable LT_MULTI_MODULE
8707 # non-empty at configure time, or by adding -multi_module to the
8708 # link flags.
8709 rm -rf libconftest.dylib*
8710 echo "int foo(void){return 1;}" > conftest.c
8711 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8712 -dynamiclib -Wl,-single_module conftest.c" >&5
8713 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8714 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8715 _lt_result=$?
8716 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8717 lt_cv_apple_cc_single_mod=yes
8718 else
8719 cat conftest.err >&5
8721 rm -rf libconftest.dylib*
8722 rm -f conftest.*
8725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8726 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8728 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8729 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
8730 $as_echo_n "(cached) " >&6
8731 else
8732 lt_cv_ld_exported_symbols_list=no
8733 save_LDFLAGS=$LDFLAGS
8734 echo "_main" > conftest.sym
8735 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8736 if test x$gcc_no_link = xyes; then
8737 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8740 /* end confdefs.h. */
8743 main ()
8747 return 0;
8749 _ACEOF
8750 if ac_fn_c_try_link "$LINENO"; then :
8751 lt_cv_ld_exported_symbols_list=yes
8752 else
8753 lt_cv_ld_exported_symbols_list=no
8755 rm -f core conftest.err conftest.$ac_objext \
8756 conftest$ac_exeext conftest.$ac_ext
8757 LDFLAGS="$save_LDFLAGS"
8760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8761 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8763 $as_echo_n "checking for -force_load linker flag... " >&6; }
8764 if test "${lt_cv_ld_force_load+set}" = set; then :
8765 $as_echo_n "(cached) " >&6
8766 else
8767 lt_cv_ld_force_load=no
8768 cat > conftest.c << _LT_EOF
8769 int forced_loaded() { return 2;}
8770 _LT_EOF
8771 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8772 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8773 echo "$AR cru libconftest.a conftest.o" >&5
8774 $AR cru libconftest.a conftest.o 2>&5
8775 cat > conftest.c << _LT_EOF
8776 int main() { return 0;}
8777 _LT_EOF
8778 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8779 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8780 _lt_result=$?
8781 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
8782 lt_cv_ld_force_load=yes
8783 else
8784 cat conftest.err >&5
8786 rm -f conftest.err libconftest.a conftest conftest.c
8787 rm -rf conftest.dSYM
8790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8791 $as_echo "$lt_cv_ld_force_load" >&6; }
8792 case $host_os in
8793 rhapsody* | darwin1.[012])
8794 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8795 darwin1.*)
8796 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8797 darwin*) # darwin 5.x on
8798 # if running on 10.5 or later, the deployment target defaults
8799 # to the OS version, if on x86, and 10.4, the deployment
8800 # target defaults to 10.4. Don't you love it?
8801 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8802 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8803 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8804 10.[012]*)
8805 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8806 10.*)
8807 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8808 esac
8810 esac
8811 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8812 _lt_dar_single_mod='$single_module'
8814 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8815 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8816 else
8817 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8819 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8820 _lt_dsymutil='~$DSYMUTIL $lib || :'
8821 else
8822 _lt_dsymutil=
8825 esac
8827 for ac_header in dlfcn.h
8828 do :
8829 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8831 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8832 cat >>confdefs.h <<_ACEOF
8833 #define HAVE_DLFCN_H 1
8834 _ACEOF
8838 done
8844 # Set options
8849 enable_win32_dll=no
8852 # Check whether --enable-shared was given.
8853 if test "${enable_shared+set}" = set; then :
8854 enableval=$enable_shared; p=${PACKAGE-default}
8855 case $enableval in
8856 yes) enable_shared=yes ;;
8857 no) enable_shared=no ;;
8859 enable_shared=no
8860 # Look at the argument we got. We use all the common list separators.
8861 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8862 for pkg in $enableval; do
8863 IFS="$lt_save_ifs"
8864 if test "X$pkg" = "X$p"; then
8865 enable_shared=yes
8867 done
8868 IFS="$lt_save_ifs"
8870 esac
8871 else
8872 enable_shared=yes
8883 # Check whether --enable-static was given.
8884 if test "${enable_static+set}" = set; then :
8885 enableval=$enable_static; p=${PACKAGE-default}
8886 case $enableval in
8887 yes) enable_static=yes ;;
8888 no) enable_static=no ;;
8890 enable_static=no
8891 # Look at the argument we got. We use all the common list separators.
8892 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8893 for pkg in $enableval; do
8894 IFS="$lt_save_ifs"
8895 if test "X$pkg" = "X$p"; then
8896 enable_static=yes
8898 done
8899 IFS="$lt_save_ifs"
8901 esac
8902 else
8903 enable_static=yes
8915 # Check whether --with-pic was given.
8916 if test "${with_pic+set}" = set; then :
8917 withval=$with_pic; pic_mode="$withval"
8918 else
8919 pic_mode=default
8923 test -z "$pic_mode" && pic_mode=default
8931 # Check whether --enable-fast-install was given.
8932 if test "${enable_fast_install+set}" = set; then :
8933 enableval=$enable_fast_install; p=${PACKAGE-default}
8934 case $enableval in
8935 yes) enable_fast_install=yes ;;
8936 no) enable_fast_install=no ;;
8938 enable_fast_install=no
8939 # Look at the argument we got. We use all the common list separators.
8940 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8941 for pkg in $enableval; do
8942 IFS="$lt_save_ifs"
8943 if test "X$pkg" = "X$p"; then
8944 enable_fast_install=yes
8946 done
8947 IFS="$lt_save_ifs"
8949 esac
8950 else
8951 enable_fast_install=yes
8964 # This can be used to rebuild libtool when needed
8965 LIBTOOL_DEPS="$ltmain"
8967 # Always use our own libtool.
8968 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8995 test -z "$LN_S" && LN_S="ln -s"
9010 if test -n "${ZSH_VERSION+set}" ; then
9011 setopt NO_GLOB_SUBST
9014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9015 $as_echo_n "checking for objdir... " >&6; }
9016 if test "${lt_cv_objdir+set}" = set; then :
9017 $as_echo_n "(cached) " >&6
9018 else
9019 rm -f .libs 2>/dev/null
9020 mkdir .libs 2>/dev/null
9021 if test -d .libs; then
9022 lt_cv_objdir=.libs
9023 else
9024 # MS-DOS does not allow filenames that begin with a dot.
9025 lt_cv_objdir=_libs
9027 rmdir .libs 2>/dev/null
9029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9030 $as_echo "$lt_cv_objdir" >&6; }
9031 objdir=$lt_cv_objdir
9037 cat >>confdefs.h <<_ACEOF
9038 #define LT_OBJDIR "$lt_cv_objdir/"
9039 _ACEOF
9044 case $host_os in
9045 aix3*)
9046 # AIX sometimes has problems with the GCC collect2 program. For some
9047 # reason, if we set the COLLECT_NAMES environment variable, the problems
9048 # vanish in a puff of smoke.
9049 if test "X${COLLECT_NAMES+set}" != Xset; then
9050 COLLECT_NAMES=
9051 export COLLECT_NAMES
9054 esac
9056 # Global variables:
9057 ofile=libtool
9058 can_build_shared=yes
9060 # All known linkers require a `.a' archive for static linking (except MSVC,
9061 # which needs '.lib').
9062 libext=a
9064 with_gnu_ld="$lt_cv_prog_gnu_ld"
9066 old_CC="$CC"
9067 old_CFLAGS="$CFLAGS"
9069 # Set sane defaults for various variables
9070 test -z "$CC" && CC=cc
9071 test -z "$LTCC" && LTCC=$CC
9072 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9073 test -z "$LD" && LD=ld
9074 test -z "$ac_objext" && ac_objext=o
9076 for cc_temp in $compiler""; do
9077 case $cc_temp in
9078 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
9079 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
9080 \-*) ;;
9081 *) break;;
9082 esac
9083 done
9084 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
9087 # Only perform the check for file, if the check method requires it
9088 test -z "$MAGIC_CMD" && MAGIC_CMD=file
9089 case $deplibs_check_method in
9090 file_magic*)
9091 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9093 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9094 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
9095 $as_echo_n "(cached) " >&6
9096 else
9097 case $MAGIC_CMD in
9098 [\\/*] | ?:[\\/]*)
9099 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9102 lt_save_MAGIC_CMD="$MAGIC_CMD"
9103 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9104 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9105 for ac_dir in $ac_dummy; do
9106 IFS="$lt_save_ifs"
9107 test -z "$ac_dir" && ac_dir=.
9108 if test -f $ac_dir/${ac_tool_prefix}file; then
9109 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
9110 if test -n "$file_magic_test_file"; then
9111 case $deplibs_check_method in
9112 "file_magic "*)
9113 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9114 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9115 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9116 $EGREP "$file_magic_regex" > /dev/null; then
9118 else
9119 cat <<_LT_EOF 1>&2
9121 *** Warning: the command libtool uses to detect shared libraries,
9122 *** $file_magic_cmd, produces output that libtool cannot recognize.
9123 *** The result is that libtool may fail to recognize shared libraries
9124 *** as such. This will affect the creation of libtool libraries that
9125 *** depend on shared libraries, but programs linked with such libtool
9126 *** libraries will work regardless of this problem. Nevertheless, you
9127 *** may want to report the problem to your system manager and/or to
9128 *** bug-libtool@gnu.org
9130 _LT_EOF
9131 fi ;;
9132 esac
9134 break
9136 done
9137 IFS="$lt_save_ifs"
9138 MAGIC_CMD="$lt_save_MAGIC_CMD"
9140 esac
9143 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9144 if test -n "$MAGIC_CMD"; then
9145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9146 $as_echo "$MAGIC_CMD" >&6; }
9147 else
9148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9149 $as_echo "no" >&6; }
9156 if test -z "$lt_cv_path_MAGIC_CMD"; then
9157 if test -n "$ac_tool_prefix"; then
9158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9159 $as_echo_n "checking for file... " >&6; }
9160 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
9161 $as_echo_n "(cached) " >&6
9162 else
9163 case $MAGIC_CMD in
9164 [\\/*] | ?:[\\/]*)
9165 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9168 lt_save_MAGIC_CMD="$MAGIC_CMD"
9169 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9170 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9171 for ac_dir in $ac_dummy; do
9172 IFS="$lt_save_ifs"
9173 test -z "$ac_dir" && ac_dir=.
9174 if test -f $ac_dir/file; then
9175 lt_cv_path_MAGIC_CMD="$ac_dir/file"
9176 if test -n "$file_magic_test_file"; then
9177 case $deplibs_check_method in
9178 "file_magic "*)
9179 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9180 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9181 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9182 $EGREP "$file_magic_regex" > /dev/null; then
9184 else
9185 cat <<_LT_EOF 1>&2
9187 *** Warning: the command libtool uses to detect shared libraries,
9188 *** $file_magic_cmd, produces output that libtool cannot recognize.
9189 *** The result is that libtool may fail to recognize shared libraries
9190 *** as such. This will affect the creation of libtool libraries that
9191 *** depend on shared libraries, but programs linked with such libtool
9192 *** libraries will work regardless of this problem. Nevertheless, you
9193 *** may want to report the problem to your system manager and/or to
9194 *** bug-libtool@gnu.org
9196 _LT_EOF
9197 fi ;;
9198 esac
9200 break
9202 done
9203 IFS="$lt_save_ifs"
9204 MAGIC_CMD="$lt_save_MAGIC_CMD"
9206 esac
9209 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9210 if test -n "$MAGIC_CMD"; then
9211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9212 $as_echo "$MAGIC_CMD" >&6; }
9213 else
9214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9215 $as_echo "no" >&6; }
9219 else
9220 MAGIC_CMD=:
9226 esac
9228 # Use C for the default configuration in the libtool script
9230 lt_save_CC="$CC"
9231 ac_ext=c
9232 ac_cpp='$CPP $CPPFLAGS'
9233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9238 # Source file extension for C test sources.
9239 ac_ext=c
9241 # Object file extension for compiled C test sources.
9242 objext=o
9243 objext=$objext
9245 # Code to be used in simple compile tests
9246 lt_simple_compile_test_code="int some_variable = 0;"
9248 # Code to be used in simple link tests
9249 lt_simple_link_test_code='int main(){return(0);}'
9257 # If no C compiler was specified, use CC.
9258 LTCC=${LTCC-"$CC"}
9260 # If no C compiler flags were specified, use CFLAGS.
9261 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9263 # Allow CC to be a program name with arguments.
9264 compiler=$CC
9266 # Save the default compiler, since it gets overwritten when the other
9267 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9268 compiler_DEFAULT=$CC
9270 # save warnings/boilerplate of simple test code
9271 ac_outfile=conftest.$ac_objext
9272 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9273 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9274 _lt_compiler_boilerplate=`cat conftest.err`
9275 $RM conftest*
9277 ac_outfile=conftest.$ac_objext
9278 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9279 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9280 _lt_linker_boilerplate=`cat conftest.err`
9281 $RM -r conftest*
9284 ## CAVEAT EMPTOR:
9285 ## There is no encapsulation within the following macros, do not change
9286 ## the running order or otherwise move them around unless you know exactly
9287 ## what you are doing...
9288 if test -n "$compiler"; then
9290 lt_prog_compiler_no_builtin_flag=
9292 if test "$GCC" = yes; then
9293 case $cc_basename in
9294 nvcc*)
9295 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9297 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9298 esac
9300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9301 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9302 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
9303 $as_echo_n "(cached) " >&6
9304 else
9305 lt_cv_prog_compiler_rtti_exceptions=no
9306 ac_outfile=conftest.$ac_objext
9307 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9308 lt_compiler_flag="-fno-rtti -fno-exceptions"
9309 # Insert the option either (1) after the last *FLAGS variable, or
9310 # (2) before a word containing "conftest.", or (3) at the end.
9311 # Note that $ac_compile itself does not contain backslashes and begins
9312 # with a dollar sign (not a hyphen), so the echo should work correctly.
9313 # The option is referenced via a variable to avoid confusing sed.
9314 lt_compile=`echo "$ac_compile" | $SED \
9315 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9316 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9317 -e 's:$: $lt_compiler_flag:'`
9318 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9319 (eval "$lt_compile" 2>conftest.err)
9320 ac_status=$?
9321 cat conftest.err >&5
9322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9323 if (exit $ac_status) && test -s "$ac_outfile"; then
9324 # The compiler can only warn and ignore the option if not recognized
9325 # So say no if there are warnings other than the usual output.
9326 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9327 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9328 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9329 lt_cv_prog_compiler_rtti_exceptions=yes
9332 $RM conftest*
9335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9336 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9338 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9339 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9340 else
9351 lt_prog_compiler_wl=
9352 lt_prog_compiler_pic=
9353 lt_prog_compiler_static=
9355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9356 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9358 if test "$GCC" = yes; then
9359 lt_prog_compiler_wl='-Wl,'
9360 lt_prog_compiler_static='-static'
9362 case $host_os in
9363 aix*)
9364 # All AIX code is PIC.
9365 if test "$host_cpu" = ia64; then
9366 # AIX 5 now supports IA64 processor
9367 lt_prog_compiler_static='-Bstatic'
9369 lt_prog_compiler_pic='-fPIC'
9372 amigaos*)
9373 case $host_cpu in
9374 powerpc)
9375 # see comment about AmigaOS4 .so support
9376 lt_prog_compiler_pic='-fPIC'
9378 m68k)
9379 # FIXME: we need at least 68020 code to build shared libraries, but
9380 # adding the `-m68020' flag to GCC prevents building anything better,
9381 # like `-m68040'.
9382 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9384 esac
9387 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9388 # PIC is the default for these OSes.
9391 mingw* | cygwin* | pw32* | os2* | cegcc*)
9392 # This hack is so that the source file can tell whether it is being
9393 # built for inclusion in a dll (and should export symbols for example).
9394 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9395 # (--disable-auto-import) libraries
9396 lt_prog_compiler_pic='-DDLL_EXPORT'
9399 darwin* | rhapsody*)
9400 # PIC is the default on this platform
9401 # Common symbols not allowed in MH_DYLIB files
9402 lt_prog_compiler_pic='-fno-common'
9405 haiku*)
9406 # PIC is the default for Haiku.
9407 # The "-static" flag exists, but is broken.
9408 lt_prog_compiler_static=
9411 hpux*)
9412 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9413 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9414 # sets the default TLS model and affects inlining.
9415 case $host_cpu in
9416 hppa*64*)
9417 # +Z the default
9420 lt_prog_compiler_pic='-fPIC'
9422 esac
9425 interix[3-9]*)
9426 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9427 # Instead, we relocate shared libraries at runtime.
9430 msdosdjgpp*)
9431 # Just because we use GCC doesn't mean we suddenly get shared libraries
9432 # on systems that don't support them.
9433 lt_prog_compiler_can_build_shared=no
9434 enable_shared=no
9437 *nto* | *qnx*)
9438 # QNX uses GNU C++, but need to define -shared option too, otherwise
9439 # it will coredump.
9440 lt_prog_compiler_pic='-fPIC -shared'
9443 sysv4*MP*)
9444 if test -d /usr/nec; then
9445 lt_prog_compiler_pic=-Kconform_pic
9450 lt_prog_compiler_pic='-fPIC'
9452 esac
9454 case $cc_basename in
9455 nvcc*) # Cuda Compiler Driver 2.2
9456 lt_prog_compiler_wl='-Xlinker '
9457 lt_prog_compiler_pic='-Xcompiler -fPIC'
9459 esac
9460 else
9461 # PORTME Check for flag to pass linker flags through the system compiler.
9462 case $host_os in
9463 aix*)
9464 lt_prog_compiler_wl='-Wl,'
9465 if test "$host_cpu" = ia64; then
9466 # AIX 5 now supports IA64 processor
9467 lt_prog_compiler_static='-Bstatic'
9468 else
9469 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9473 mingw* | cygwin* | pw32* | os2* | cegcc*)
9474 # This hack is so that the source file can tell whether it is being
9475 # built for inclusion in a dll (and should export symbols for example).
9476 lt_prog_compiler_pic='-DDLL_EXPORT'
9479 hpux9* | hpux10* | hpux11*)
9480 lt_prog_compiler_wl='-Wl,'
9481 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9482 # not for PA HP-UX.
9483 case $host_cpu in
9484 hppa*64*|ia64*)
9485 # +Z the default
9488 lt_prog_compiler_pic='+Z'
9490 esac
9491 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9492 lt_prog_compiler_static='${wl}-a ${wl}archive'
9495 irix5* | irix6* | nonstopux*)
9496 lt_prog_compiler_wl='-Wl,'
9497 # PIC (with -KPIC) is the default.
9498 lt_prog_compiler_static='-non_shared'
9501 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9502 case $cc_basename in
9503 # old Intel for x86_64 which still supported -KPIC.
9504 ecc*)
9505 lt_prog_compiler_wl='-Wl,'
9506 lt_prog_compiler_pic='-KPIC'
9507 lt_prog_compiler_static='-static'
9509 # icc used to be incompatible with GCC.
9510 # ICC 10 doesn't accept -KPIC any more.
9511 icc* | ifort*)
9512 lt_prog_compiler_wl='-Wl,'
9513 lt_prog_compiler_pic='-fPIC'
9514 lt_prog_compiler_static='-static'
9516 # Lahey Fortran 8.1.
9517 lf95*)
9518 lt_prog_compiler_wl='-Wl,'
9519 lt_prog_compiler_pic='--shared'
9520 lt_prog_compiler_static='--static'
9522 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9523 # Portland Group compilers (*not* the Pentium gcc compiler,
9524 # which looks to be a dead project)
9525 lt_prog_compiler_wl='-Wl,'
9526 lt_prog_compiler_pic='-fpic'
9527 lt_prog_compiler_static='-Bstatic'
9529 ccc*)
9530 lt_prog_compiler_wl='-Wl,'
9531 # All Alpha code is PIC.
9532 lt_prog_compiler_static='-non_shared'
9534 xl* | bgxl* | bgf* | mpixl*)
9535 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9536 lt_prog_compiler_wl='-Wl,'
9537 lt_prog_compiler_pic='-qpic'
9538 lt_prog_compiler_static='-qstaticlink'
9541 case `$CC -V 2>&1 | sed 5q` in
9542 *Sun\ F* | *Sun*Fortran*)
9543 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9544 lt_prog_compiler_pic='-KPIC'
9545 lt_prog_compiler_static='-Bstatic'
9546 lt_prog_compiler_wl=''
9548 *Sun\ C*)
9549 # Sun C 5.9
9550 lt_prog_compiler_pic='-KPIC'
9551 lt_prog_compiler_static='-Bstatic'
9552 lt_prog_compiler_wl='-Wl,'
9554 esac
9556 esac
9559 newsos6)
9560 lt_prog_compiler_pic='-KPIC'
9561 lt_prog_compiler_static='-Bstatic'
9564 *nto* | *qnx*)
9565 # QNX uses GNU C++, but need to define -shared option too, otherwise
9566 # it will coredump.
9567 lt_prog_compiler_pic='-fPIC -shared'
9570 osf3* | osf4* | osf5*)
9571 lt_prog_compiler_wl='-Wl,'
9572 # All OSF/1 code is PIC.
9573 lt_prog_compiler_static='-non_shared'
9576 rdos*)
9577 lt_prog_compiler_static='-non_shared'
9580 solaris*)
9581 lt_prog_compiler_pic='-KPIC'
9582 lt_prog_compiler_static='-Bstatic'
9583 case $cc_basename in
9584 f77* | f90* | f95*)
9585 lt_prog_compiler_wl='-Qoption ld ';;
9587 lt_prog_compiler_wl='-Wl,';;
9588 esac
9591 sunos4*)
9592 lt_prog_compiler_wl='-Qoption ld '
9593 lt_prog_compiler_pic='-PIC'
9594 lt_prog_compiler_static='-Bstatic'
9597 sysv4 | sysv4.2uw2* | sysv4.3*)
9598 lt_prog_compiler_wl='-Wl,'
9599 lt_prog_compiler_pic='-KPIC'
9600 lt_prog_compiler_static='-Bstatic'
9603 sysv4*MP*)
9604 if test -d /usr/nec ;then
9605 lt_prog_compiler_pic='-Kconform_pic'
9606 lt_prog_compiler_static='-Bstatic'
9610 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9611 lt_prog_compiler_wl='-Wl,'
9612 lt_prog_compiler_pic='-KPIC'
9613 lt_prog_compiler_static='-Bstatic'
9616 unicos*)
9617 lt_prog_compiler_wl='-Wl,'
9618 lt_prog_compiler_can_build_shared=no
9621 uts4*)
9622 lt_prog_compiler_pic='-pic'
9623 lt_prog_compiler_static='-Bstatic'
9627 lt_prog_compiler_can_build_shared=no
9629 esac
9632 case $host_os in
9633 # For platforms which do not support PIC, -DPIC is meaningless:
9634 *djgpp*)
9635 lt_prog_compiler_pic=
9638 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9640 esac
9641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9642 $as_echo "$lt_prog_compiler_pic" >&6; }
9650 # Check to make sure the PIC flag actually works.
9652 if test -n "$lt_prog_compiler_pic"; then
9653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9654 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9655 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
9656 $as_echo_n "(cached) " >&6
9657 else
9658 lt_cv_prog_compiler_pic_works=no
9659 ac_outfile=conftest.$ac_objext
9660 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9661 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9662 # Insert the option either (1) after the last *FLAGS variable, or
9663 # (2) before a word containing "conftest.", or (3) at the end.
9664 # Note that $ac_compile itself does not contain backslashes and begins
9665 # with a dollar sign (not a hyphen), so the echo should work correctly.
9666 # The option is referenced via a variable to avoid confusing sed.
9667 lt_compile=`echo "$ac_compile" | $SED \
9668 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9669 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9670 -e 's:$: $lt_compiler_flag:'`
9671 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9672 (eval "$lt_compile" 2>conftest.err)
9673 ac_status=$?
9674 cat conftest.err >&5
9675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9676 if (exit $ac_status) && test -s "$ac_outfile"; then
9677 # The compiler can only warn and ignore the option if not recognized
9678 # So say no if there are warnings other than the usual output.
9679 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9680 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9681 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9682 lt_cv_prog_compiler_pic_works=yes
9685 $RM conftest*
9688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9689 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9691 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9692 case $lt_prog_compiler_pic in
9693 "" | " "*) ;;
9694 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9695 esac
9696 else
9697 lt_prog_compiler_pic=
9698 lt_prog_compiler_can_build_shared=no
9709 # Check to make sure the static flag actually works.
9711 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9713 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9714 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
9715 $as_echo_n "(cached) " >&6
9716 else
9717 lt_cv_prog_compiler_static_works=no
9718 save_LDFLAGS="$LDFLAGS"
9719 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9720 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9721 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9722 # The linker can only warn and ignore the option if not recognized
9723 # So say no if there are warnings
9724 if test -s conftest.err; then
9725 # Append any errors to the config.log.
9726 cat conftest.err 1>&5
9727 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9728 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9729 if diff conftest.exp conftest.er2 >/dev/null; then
9730 lt_cv_prog_compiler_static_works=yes
9732 else
9733 lt_cv_prog_compiler_static_works=yes
9736 $RM -r conftest*
9737 LDFLAGS="$save_LDFLAGS"
9740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9741 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9743 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9745 else
9746 lt_prog_compiler_static=
9755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9756 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9757 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9758 $as_echo_n "(cached) " >&6
9759 else
9760 lt_cv_prog_compiler_c_o=no
9761 $RM -r conftest 2>/dev/null
9762 mkdir conftest
9763 cd conftest
9764 mkdir out
9765 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9767 lt_compiler_flag="-o out/conftest2.$ac_objext"
9768 # Insert the option either (1) after the last *FLAGS variable, or
9769 # (2) before a word containing "conftest.", or (3) at the end.
9770 # Note that $ac_compile itself does not contain backslashes and begins
9771 # with a dollar sign (not a hyphen), so the echo should work correctly.
9772 lt_compile=`echo "$ac_compile" | $SED \
9773 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9774 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9775 -e 's:$: $lt_compiler_flag:'`
9776 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9777 (eval "$lt_compile" 2>out/conftest.err)
9778 ac_status=$?
9779 cat out/conftest.err >&5
9780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9781 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9782 then
9783 # The compiler can only warn and ignore the option if not recognized
9784 # So say no if there are warnings
9785 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9786 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9787 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9788 lt_cv_prog_compiler_c_o=yes
9791 chmod u+w . 2>&5
9792 $RM conftest*
9793 # SGI C++ compiler will create directory out/ii_files/ for
9794 # template instantiation
9795 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9796 $RM out/* && rmdir out
9797 cd ..
9798 $RM -r conftest
9799 $RM conftest*
9802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9803 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9811 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9812 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9813 $as_echo_n "(cached) " >&6
9814 else
9815 lt_cv_prog_compiler_c_o=no
9816 $RM -r conftest 2>/dev/null
9817 mkdir conftest
9818 cd conftest
9819 mkdir out
9820 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9822 lt_compiler_flag="-o out/conftest2.$ac_objext"
9823 # Insert the option either (1) after the last *FLAGS variable, or
9824 # (2) before a word containing "conftest.", or (3) at the end.
9825 # Note that $ac_compile itself does not contain backslashes and begins
9826 # with a dollar sign (not a hyphen), so the echo should work correctly.
9827 lt_compile=`echo "$ac_compile" | $SED \
9828 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9829 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9830 -e 's:$: $lt_compiler_flag:'`
9831 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9832 (eval "$lt_compile" 2>out/conftest.err)
9833 ac_status=$?
9834 cat out/conftest.err >&5
9835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9836 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9837 then
9838 # The compiler can only warn and ignore the option if not recognized
9839 # So say no if there are warnings
9840 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9841 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9842 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9843 lt_cv_prog_compiler_c_o=yes
9846 chmod u+w . 2>&5
9847 $RM conftest*
9848 # SGI C++ compiler will create directory out/ii_files/ for
9849 # template instantiation
9850 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9851 $RM out/* && rmdir out
9852 cd ..
9853 $RM -r conftest
9854 $RM conftest*
9857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9858 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9863 hard_links="nottested"
9864 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9865 # do not overwrite the value of need_locks provided by the user
9866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9867 $as_echo_n "checking if we can lock with hard links... " >&6; }
9868 hard_links=yes
9869 $RM conftest*
9870 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9871 touch conftest.a
9872 ln conftest.a conftest.b 2>&5 || hard_links=no
9873 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9875 $as_echo "$hard_links" >&6; }
9876 if test "$hard_links" = no; then
9877 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9878 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9879 need_locks=warn
9881 else
9882 need_locks=no
9890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9891 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9893 runpath_var=
9894 allow_undefined_flag=
9895 always_export_symbols=no
9896 archive_cmds=
9897 archive_expsym_cmds=
9898 compiler_needs_object=no
9899 enable_shared_with_static_runtimes=no
9900 export_dynamic_flag_spec=
9901 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9902 hardcode_automatic=no
9903 hardcode_direct=no
9904 hardcode_direct_absolute=no
9905 hardcode_libdir_flag_spec=
9906 hardcode_libdir_flag_spec_ld=
9907 hardcode_libdir_separator=
9908 hardcode_minus_L=no
9909 hardcode_shlibpath_var=unsupported
9910 inherit_rpath=no
9911 link_all_deplibs=unknown
9912 module_cmds=
9913 module_expsym_cmds=
9914 old_archive_from_new_cmds=
9915 old_archive_from_expsyms_cmds=
9916 thread_safe_flag_spec=
9917 whole_archive_flag_spec=
9918 # include_expsyms should be a list of space-separated symbols to be *always*
9919 # included in the symbol list
9920 include_expsyms=
9921 # exclude_expsyms can be an extended regexp of symbols to exclude
9922 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9923 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9924 # as well as any symbol that contains `d'.
9925 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9926 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9927 # platforms (ab)use it in PIC code, but their linkers get confused if
9928 # the symbol is explicitly referenced. Since portable code cannot
9929 # rely on this symbol name, it's probably fine to never include it in
9930 # preloaded symbol tables.
9931 # Exclude shared library initialization/finalization symbols.
9932 extract_expsyms_cmds=
9934 case $host_os in
9935 cygwin* | mingw* | pw32* | cegcc*)
9936 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9937 # When not using gcc, we currently assume that we are using
9938 # Microsoft Visual C++.
9939 if test "$GCC" != yes; then
9940 with_gnu_ld=no
9943 interix*)
9944 # we just hope/assume this is gcc and not c89 (= MSVC++)
9945 with_gnu_ld=yes
9947 openbsd*)
9948 with_gnu_ld=no
9950 esac
9952 ld_shlibs=yes
9954 # On some targets, GNU ld is compatible enough with the native linker
9955 # that we're better off using the native interface for both.
9956 lt_use_gnu_ld_interface=no
9957 if test "$with_gnu_ld" = yes; then
9958 case $host_os in
9959 aix*)
9960 # The AIX port of GNU ld has always aspired to compatibility
9961 # with the native linker. However, as the warning in the GNU ld
9962 # block says, versions before 2.19.5* couldn't really create working
9963 # shared libraries, regardless of the interface used.
9964 case `$LD -v 2>&1` in
9965 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9966 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9967 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9969 lt_use_gnu_ld_interface=yes
9971 esac
9974 lt_use_gnu_ld_interface=yes
9976 esac
9979 if test "$lt_use_gnu_ld_interface" = yes; then
9980 # If archive_cmds runs LD, not CC, wlarc should be empty
9981 wlarc='${wl}'
9983 # Set some defaults for GNU ld with shared library support. These
9984 # are reset later if shared libraries are not supported. Putting them
9985 # here allows them to be overridden if necessary.
9986 runpath_var=LD_RUN_PATH
9987 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9988 export_dynamic_flag_spec='${wl}--export-dynamic'
9989 # ancient GNU ld didn't support --whole-archive et. al.
9990 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9991 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9992 else
9993 whole_archive_flag_spec=
9995 supports_anon_versioning=no
9996 case `$LD -v 2>&1` in
9997 *GNU\ gold*) supports_anon_versioning=yes ;;
9998 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9999 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10000 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10001 *\ 2.11.*) ;; # other 2.11 versions
10002 *) supports_anon_versioning=yes ;;
10003 esac
10005 # See if GNU ld supports shared libraries.
10006 case $host_os in
10007 aix[3-9]*)
10008 # On AIX/PPC, the GNU linker is very broken
10009 if test "$host_cpu" != ia64; then
10010 ld_shlibs=no
10011 cat <<_LT_EOF 1>&2
10013 *** Warning: the GNU linker, at least up to release 2.19, is reported
10014 *** to be unable to reliably create shared libraries on AIX.
10015 *** Therefore, libtool is disabling shared libraries support. If you
10016 *** really care for shared libraries, you may want to install binutils
10017 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10018 *** You will then need to restart the configuration process.
10020 _LT_EOF
10024 amigaos*)
10025 case $host_cpu in
10026 powerpc)
10027 # see comment about AmigaOS4 .so support
10028 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10029 archive_expsym_cmds=''
10031 m68k)
10032 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)'
10033 hardcode_libdir_flag_spec='-L$libdir'
10034 hardcode_minus_L=yes
10036 esac
10039 beos*)
10040 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10041 allow_undefined_flag=unsupported
10042 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10043 # support --undefined. This deserves some investigation. FIXME
10044 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10045 else
10046 ld_shlibs=no
10050 cygwin* | mingw* | pw32* | cegcc*)
10051 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10052 # as there is no search path for DLLs.
10053 hardcode_libdir_flag_spec='-L$libdir'
10054 export_dynamic_flag_spec='${wl}--export-all-symbols'
10055 allow_undefined_flag=unsupported
10056 always_export_symbols=no
10057 enable_shared_with_static_runtimes=yes
10058 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10060 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
10061 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10062 # If the export-symbols file already is a .def file (1st line
10063 # is EXPORTS), use it as is; otherwise, prepend...
10064 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10065 cp $export_symbols $output_objdir/$soname.def;
10066 else
10067 echo EXPORTS > $output_objdir/$soname.def;
10068 cat $export_symbols >> $output_objdir/$soname.def;
10070 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10071 else
10072 ld_shlibs=no
10076 haiku*)
10077 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10078 link_all_deplibs=yes
10081 interix[3-9]*)
10082 hardcode_direct=no
10083 hardcode_shlibpath_var=no
10084 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10085 export_dynamic_flag_spec='${wl}-E'
10086 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10087 # Instead, shared libraries are loaded at an image base (0x10000000 by
10088 # default) and relocated if they conflict, which is a slow very memory
10089 # consuming and fragmenting process. To avoid this, we pick a random,
10090 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10091 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10092 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10093 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'
10096 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
10097 tmp_diet=no
10098 if test "$host_os" = linux-dietlibc; then
10099 case $cc_basename in
10100 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
10101 esac
10103 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
10104 && test "$tmp_diet" = no
10105 then
10106 tmp_addflag=
10107 tmp_sharedflag='-shared'
10108 case $cc_basename,$host_cpu in
10109 pgcc*) # Portland Group C compiler
10110 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
10111 tmp_addflag=' $pic_flag'
10113 pgf77* | pgf90* | pgf95* | pgfortran*)
10114 # Portland Group f77 and f90 compilers
10115 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'
10116 tmp_addflag=' $pic_flag -Mnomain' ;;
10117 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
10118 tmp_addflag=' -i_dynamic' ;;
10119 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
10120 tmp_addflag=' -i_dynamic -nofor_main' ;;
10121 ifc* | ifort*) # Intel Fortran compiler
10122 tmp_addflag=' -nofor_main' ;;
10123 lf95*) # Lahey Fortran 8.1
10124 whole_archive_flag_spec=
10125 tmp_sharedflag='--shared' ;;
10126 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10127 tmp_sharedflag='-qmkshrobj'
10128 tmp_addflag= ;;
10129 nvcc*) # Cuda Compiler Driver 2.2
10130 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'
10131 compiler_needs_object=yes
10133 esac
10134 case `$CC -V 2>&1 | sed 5q` in
10135 *Sun\ C*) # Sun C 5.9
10136 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'
10137 compiler_needs_object=yes
10138 tmp_sharedflag='-G' ;;
10139 *Sun\ F*) # Sun Fortran 8.3
10140 tmp_sharedflag='-G' ;;
10141 esac
10142 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10144 if test "x$supports_anon_versioning" = xyes; then
10145 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10146 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10147 echo "local: *; };" >> $output_objdir/$libname.ver~
10148 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10151 case $cc_basename in
10152 xlf* | bgf* | bgxlf* | mpixlf*)
10153 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10154 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10155 hardcode_libdir_flag_spec=
10156 hardcode_libdir_flag_spec_ld='-rpath $libdir'
10157 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
10158 if test "x$supports_anon_versioning" = xyes; then
10159 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10160 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10161 echo "local: *; };" >> $output_objdir/$libname.ver~
10162 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10165 esac
10166 else
10167 ld_shlibs=no
10171 netbsd*)
10172 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10173 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10174 wlarc=
10175 else
10176 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10177 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10181 solaris*)
10182 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10183 ld_shlibs=no
10184 cat <<_LT_EOF 1>&2
10186 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10187 *** create shared libraries on Solaris systems. Therefore, libtool
10188 *** is disabling shared libraries support. We urge you to upgrade GNU
10189 *** binutils to release 2.9.1 or newer. Another option is to modify
10190 *** your PATH or compiler configuration so that the native linker is
10191 *** used, and then restart.
10193 _LT_EOF
10194 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10195 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10196 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10197 else
10198 ld_shlibs=no
10202 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10203 case `$LD -v 2>&1` in
10204 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10205 ld_shlibs=no
10206 cat <<_LT_EOF 1>&2
10208 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10209 *** reliably create shared libraries on SCO systems. Therefore, libtool
10210 *** is disabling shared libraries support. We urge you to upgrade GNU
10211 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10212 *** your PATH or compiler configuration so that the native linker is
10213 *** used, and then restart.
10215 _LT_EOF
10218 # For security reasons, it is highly recommended that you always
10219 # use absolute paths for naming shared libraries, and exclude the
10220 # DT_RUNPATH tag from executables and libraries. But doing so
10221 # requires that you compile everything twice, which is a pain.
10222 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10223 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10224 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10225 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10226 else
10227 ld_shlibs=no
10230 esac
10233 sunos4*)
10234 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10235 wlarc=
10236 hardcode_direct=yes
10237 hardcode_shlibpath_var=no
10241 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10242 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10243 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10244 else
10245 ld_shlibs=no
10248 esac
10250 if test "$ld_shlibs" = no; then
10251 runpath_var=
10252 hardcode_libdir_flag_spec=
10253 export_dynamic_flag_spec=
10254 whole_archive_flag_spec=
10256 else
10257 # PORTME fill in a description of your system's linker (not GNU ld)
10258 case $host_os in
10259 aix3*)
10260 allow_undefined_flag=unsupported
10261 always_export_symbols=yes
10262 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'
10263 # Note: this linker hardcodes the directories in LIBPATH if there
10264 # are no directories specified by -L.
10265 hardcode_minus_L=yes
10266 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10267 # Neither direct hardcoding nor static linking is supported with a
10268 # broken collect2.
10269 hardcode_direct=unsupported
10273 aix[4-9]*)
10274 if test "$host_cpu" = ia64; then
10275 # On IA64, the linker does run time linking by default, so we don't
10276 # have to do anything special.
10277 aix_use_runtimelinking=no
10278 exp_sym_flag='-Bexport'
10279 no_entry_flag=""
10280 else
10281 # If we're using GNU nm, then we don't want the "-C" option.
10282 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10283 # Also, AIX nm treats weak defined symbols like other global
10284 # defined symbols, whereas GNU nm marks them as "W".
10285 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10286 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'
10287 else
10288 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'
10290 aix_use_runtimelinking=no
10292 # Test if we are trying to use run time linking or normal
10293 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10294 # need to do runtime linking.
10295 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10296 for ld_flag in $LDFLAGS; do
10297 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10298 aix_use_runtimelinking=yes
10299 break
10301 done
10303 esac
10305 exp_sym_flag='-bexport'
10306 no_entry_flag='-bnoentry'
10309 # When large executables or shared objects are built, AIX ld can
10310 # have problems creating the table of contents. If linking a library
10311 # or program results in "error TOC overflow" add -mminimal-toc to
10312 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10313 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10315 archive_cmds=''
10316 hardcode_direct=yes
10317 hardcode_direct_absolute=yes
10318 hardcode_libdir_separator=':'
10319 link_all_deplibs=yes
10320 file_list_spec='${wl}-f,'
10322 if test "$GCC" = yes; then
10323 case $host_os in aix4.[012]|aix4.[012].*)
10324 # We only want to do this on AIX 4.2 and lower, the check
10325 # below for broken collect2 doesn't work under 4.3+
10326 collect2name=`${CC} -print-prog-name=collect2`
10327 if test -f "$collect2name" &&
10328 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10329 then
10330 # We have reworked collect2
10332 else
10333 # We have old collect2
10334 hardcode_direct=unsupported
10335 # It fails to find uninstalled libraries when the uninstalled
10336 # path is not listed in the libpath. Setting hardcode_minus_L
10337 # to unsupported forces relinking
10338 hardcode_minus_L=yes
10339 hardcode_libdir_flag_spec='-L$libdir'
10340 hardcode_libdir_separator=
10343 esac
10344 shared_flag='-shared'
10345 if test "$aix_use_runtimelinking" = yes; then
10346 shared_flag="$shared_flag "'${wl}-G'
10348 else
10349 # not using gcc
10350 if test "$host_cpu" = ia64; then
10351 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10352 # chokes on -Wl,-G. The following line is correct:
10353 shared_flag='-G'
10354 else
10355 if test "$aix_use_runtimelinking" = yes; then
10356 shared_flag='${wl}-G'
10357 else
10358 shared_flag='${wl}-bM:SRE'
10363 export_dynamic_flag_spec='${wl}-bexpall'
10364 # It seems that -bexpall does not export symbols beginning with
10365 # underscore (_), so it is better to generate a list of symbols to export.
10366 always_export_symbols=yes
10367 if test "$aix_use_runtimelinking" = yes; then
10368 # Warning - without using the other runtime loading flags (-brtl),
10369 # -berok will link without error, but may produce a broken library.
10370 allow_undefined_flag='-berok'
10371 # Determine the default libpath from the value encoded in an
10372 # empty executable.
10373 if test x$gcc_no_link = xyes; then
10374 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10377 /* end confdefs.h. */
10380 main ()
10384 return 0;
10386 _ACEOF
10387 if ac_fn_c_try_link "$LINENO"; then :
10389 lt_aix_libpath_sed='
10390 /Import File Strings/,/^$/ {
10391 /^0/ {
10392 s/^0 *\(.*\)$/\1/
10396 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10397 # Check for a 64-bit object if we didn't find anything.
10398 if test -z "$aix_libpath"; then
10399 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10402 rm -f core conftest.err conftest.$ac_objext \
10403 conftest$ac_exeext conftest.$ac_ext
10404 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10406 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10407 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"
10408 else
10409 if test "$host_cpu" = ia64; then
10410 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10411 allow_undefined_flag="-z nodefs"
10412 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"
10413 else
10414 # Determine the default libpath from the value encoded in an
10415 # empty executable.
10416 if test x$gcc_no_link = xyes; then
10417 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10420 /* end confdefs.h. */
10423 main ()
10427 return 0;
10429 _ACEOF
10430 if ac_fn_c_try_link "$LINENO"; then :
10432 lt_aix_libpath_sed='
10433 /Import File Strings/,/^$/ {
10434 /^0/ {
10435 s/^0 *\(.*\)$/\1/
10439 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10440 # Check for a 64-bit object if we didn't find anything.
10441 if test -z "$aix_libpath"; then
10442 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10445 rm -f core conftest.err conftest.$ac_objext \
10446 conftest$ac_exeext conftest.$ac_ext
10447 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10449 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10450 # Warning - without using the other run time loading flags,
10451 # -berok will link without error, but may produce a broken library.
10452 no_undefined_flag=' ${wl}-bernotok'
10453 allow_undefined_flag=' ${wl}-berok'
10454 if test "$with_gnu_ld" = yes; then
10455 # We only use this code for GNU lds that support --whole-archive.
10456 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10457 else
10458 # Exported symbols can be pulled into shared objects from archives
10459 whole_archive_flag_spec='$convenience'
10461 archive_cmds_need_lc=yes
10462 # This is similar to how AIX traditionally builds its shared libraries.
10463 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'
10468 amigaos*)
10469 case $host_cpu in
10470 powerpc)
10471 # see comment about AmigaOS4 .so support
10472 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10473 archive_expsym_cmds=''
10475 m68k)
10476 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)'
10477 hardcode_libdir_flag_spec='-L$libdir'
10478 hardcode_minus_L=yes
10480 esac
10483 bsdi[45]*)
10484 export_dynamic_flag_spec=-rdynamic
10487 cygwin* | mingw* | pw32* | cegcc*)
10488 # When not using gcc, we currently assume that we are using
10489 # Microsoft Visual C++.
10490 # hardcode_libdir_flag_spec is actually meaningless, as there is
10491 # no search path for DLLs.
10492 hardcode_libdir_flag_spec=' '
10493 allow_undefined_flag=unsupported
10494 # Tell ltmain to make .lib files, not .a files.
10495 libext=lib
10496 # Tell ltmain to make .dll files, not .so files.
10497 shrext_cmds=".dll"
10498 # FIXME: Setting linknames here is a bad hack.
10499 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10500 # The linker will automatically build a .lib file if we build a DLL.
10501 old_archive_from_new_cmds='true'
10502 # FIXME: Should let the user specify the lib program.
10503 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10504 fix_srcfile_path='`cygpath -w "$srcfile"`'
10505 enable_shared_with_static_runtimes=yes
10508 darwin* | rhapsody*)
10511 archive_cmds_need_lc=no
10512 hardcode_direct=no
10513 hardcode_automatic=yes
10514 hardcode_shlibpath_var=unsupported
10515 if test "$lt_cv_ld_force_load" = "yes"; then
10516 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\"`'
10517 else
10518 whole_archive_flag_spec=''
10520 link_all_deplibs=yes
10521 allow_undefined_flag="$_lt_dar_allow_undefined"
10522 case $cc_basename in
10523 ifort*) _lt_dar_can_shared=yes ;;
10524 *) _lt_dar_can_shared=$GCC ;;
10525 esac
10526 if test "$_lt_dar_can_shared" = "yes"; then
10527 output_verbose_link_cmd=func_echo_all
10528 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10529 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10530 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}"
10531 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}"
10533 else
10534 ld_shlibs=no
10539 dgux*)
10540 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10541 hardcode_libdir_flag_spec='-L$libdir'
10542 hardcode_shlibpath_var=no
10545 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10546 # support. Future versions do this automatically, but an explicit c++rt0.o
10547 # does not break anything, and helps significantly (at the cost of a little
10548 # extra space).
10549 freebsd2.2*)
10550 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10551 hardcode_libdir_flag_spec='-R$libdir'
10552 hardcode_direct=yes
10553 hardcode_shlibpath_var=no
10556 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10557 freebsd2.*)
10558 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10559 hardcode_direct=yes
10560 hardcode_minus_L=yes
10561 hardcode_shlibpath_var=no
10564 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10565 freebsd* | dragonfly*)
10566 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10567 hardcode_libdir_flag_spec='-R$libdir'
10568 hardcode_direct=yes
10569 hardcode_shlibpath_var=no
10572 hpux9*)
10573 if test "$GCC" = yes; then
10574 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'
10575 else
10576 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'
10578 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10579 hardcode_libdir_separator=:
10580 hardcode_direct=yes
10582 # hardcode_minus_L: Not really in the search PATH,
10583 # but as the default location of the library.
10584 hardcode_minus_L=yes
10585 export_dynamic_flag_spec='${wl}-E'
10588 hpux10*)
10589 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10590 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10591 else
10592 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10594 if test "$with_gnu_ld" = no; then
10595 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10596 hardcode_libdir_flag_spec_ld='+b $libdir'
10597 hardcode_libdir_separator=:
10598 hardcode_direct=yes
10599 hardcode_direct_absolute=yes
10600 export_dynamic_flag_spec='${wl}-E'
10601 # hardcode_minus_L: Not really in the search PATH,
10602 # but as the default location of the library.
10603 hardcode_minus_L=yes
10607 hpux11*)
10608 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10609 case $host_cpu in
10610 hppa*64*)
10611 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10613 ia64*)
10614 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10617 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10619 esac
10620 else
10621 case $host_cpu in
10622 hppa*64*)
10623 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10625 ia64*)
10626 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10630 # Older versions of the 11.00 compiler do not understand -b yet
10631 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10633 $as_echo_n "checking if $CC understands -b... " >&6; }
10634 if test "${lt_cv_prog_compiler__b+set}" = set; then :
10635 $as_echo_n "(cached) " >&6
10636 else
10637 lt_cv_prog_compiler__b=no
10638 save_LDFLAGS="$LDFLAGS"
10639 LDFLAGS="$LDFLAGS -b"
10640 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10641 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10642 # The linker can only warn and ignore the option if not recognized
10643 # So say no if there are warnings
10644 if test -s conftest.err; then
10645 # Append any errors to the config.log.
10646 cat conftest.err 1>&5
10647 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10648 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10649 if diff conftest.exp conftest.er2 >/dev/null; then
10650 lt_cv_prog_compiler__b=yes
10652 else
10653 lt_cv_prog_compiler__b=yes
10656 $RM -r conftest*
10657 LDFLAGS="$save_LDFLAGS"
10660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10661 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10663 if test x"$lt_cv_prog_compiler__b" = xyes; then
10664 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10665 else
10666 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10670 esac
10672 if test "$with_gnu_ld" = no; then
10673 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10674 hardcode_libdir_separator=:
10676 case $host_cpu in
10677 hppa*64*|ia64*)
10678 hardcode_direct=no
10679 hardcode_shlibpath_var=no
10682 hardcode_direct=yes
10683 hardcode_direct_absolute=yes
10684 export_dynamic_flag_spec='${wl}-E'
10686 # hardcode_minus_L: Not really in the search PATH,
10687 # but as the default location of the library.
10688 hardcode_minus_L=yes
10690 esac
10694 irix5* | irix6* | nonstopux*)
10695 if test "$GCC" = yes; then
10696 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'
10697 # Try to use the -exported_symbol ld option, if it does not
10698 # work, assume that -exports_file does not work either and
10699 # implicitly export all symbols.
10700 save_LDFLAGS="$LDFLAGS"
10701 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10702 if test x$gcc_no_link = xyes; then
10703 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10706 /* end confdefs.h. */
10707 int foo(void) {}
10708 _ACEOF
10709 if ac_fn_c_try_link "$LINENO"; then :
10710 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'
10713 rm -f core conftest.err conftest.$ac_objext \
10714 conftest$ac_exeext conftest.$ac_ext
10715 LDFLAGS="$save_LDFLAGS"
10716 else
10717 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'
10718 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'
10720 archive_cmds_need_lc='no'
10721 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10722 hardcode_libdir_separator=:
10723 inherit_rpath=yes
10724 link_all_deplibs=yes
10727 netbsd*)
10728 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10729 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10730 else
10731 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10733 hardcode_libdir_flag_spec='-R$libdir'
10734 hardcode_direct=yes
10735 hardcode_shlibpath_var=no
10738 newsos6)
10739 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10740 hardcode_direct=yes
10741 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10742 hardcode_libdir_separator=:
10743 hardcode_shlibpath_var=no
10746 *nto* | *qnx*)
10749 openbsd*)
10750 if test -f /usr/libexec/ld.so; then
10751 hardcode_direct=yes
10752 hardcode_shlibpath_var=no
10753 hardcode_direct_absolute=yes
10754 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10755 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10756 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10757 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10758 export_dynamic_flag_spec='${wl}-E'
10759 else
10760 case $host_os in
10761 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10762 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10763 hardcode_libdir_flag_spec='-R$libdir'
10766 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10767 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10769 esac
10771 else
10772 ld_shlibs=no
10776 os2*)
10777 hardcode_libdir_flag_spec='-L$libdir'
10778 hardcode_minus_L=yes
10779 allow_undefined_flag=unsupported
10780 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'
10781 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10784 osf3*)
10785 if test "$GCC" = yes; then
10786 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10787 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'
10788 else
10789 allow_undefined_flag=' -expect_unresolved \*'
10790 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'
10792 archive_cmds_need_lc='no'
10793 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10794 hardcode_libdir_separator=:
10797 osf4* | osf5*) # as osf3* with the addition of -msym flag
10798 if test "$GCC" = yes; then
10799 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10800 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'
10801 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10802 else
10803 allow_undefined_flag=' -expect_unresolved \*'
10804 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'
10805 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~
10806 $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'
10808 # Both c and cxx compiler support -rpath directly
10809 hardcode_libdir_flag_spec='-rpath $libdir'
10811 archive_cmds_need_lc='no'
10812 hardcode_libdir_separator=:
10815 solaris*)
10816 no_undefined_flag=' -z defs'
10817 if test "$GCC" = yes; then
10818 wlarc='${wl}'
10819 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10820 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10821 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10822 else
10823 case `$CC -V 2>&1` in
10824 *"Compilers 5.0"*)
10825 wlarc=''
10826 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10827 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10828 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10831 wlarc='${wl}'
10832 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10833 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10834 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10836 esac
10838 hardcode_libdir_flag_spec='-R$libdir'
10839 hardcode_shlibpath_var=no
10840 case $host_os in
10841 solaris2.[0-5] | solaris2.[0-5].*) ;;
10843 # The compiler driver will combine and reorder linker options,
10844 # but understands `-z linker_flag'. GCC discards it without `$wl',
10845 # but is careful enough not to reorder.
10846 # Supported since Solaris 2.6 (maybe 2.5.1?)
10847 if test "$GCC" = yes; then
10848 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10849 else
10850 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10853 esac
10854 link_all_deplibs=yes
10857 sunos4*)
10858 if test "x$host_vendor" = xsequent; then
10859 # Use $CC to link under sequent, because it throws in some extra .o
10860 # files that make .init and .fini sections work.
10861 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10862 else
10863 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10865 hardcode_libdir_flag_spec='-L$libdir'
10866 hardcode_direct=yes
10867 hardcode_minus_L=yes
10868 hardcode_shlibpath_var=no
10871 sysv4)
10872 case $host_vendor in
10873 sni)
10874 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10875 hardcode_direct=yes # is this really true???
10877 siemens)
10878 ## LD is ld it makes a PLAMLIB
10879 ## CC just makes a GrossModule.
10880 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10881 reload_cmds='$CC -r -o $output$reload_objs'
10882 hardcode_direct=no
10884 motorola)
10885 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10886 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10888 esac
10889 runpath_var='LD_RUN_PATH'
10890 hardcode_shlibpath_var=no
10893 sysv4.3*)
10894 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10895 hardcode_shlibpath_var=no
10896 export_dynamic_flag_spec='-Bexport'
10899 sysv4*MP*)
10900 if test -d /usr/nec; then
10901 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10902 hardcode_shlibpath_var=no
10903 runpath_var=LD_RUN_PATH
10904 hardcode_runpath_var=yes
10905 ld_shlibs=yes
10909 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10910 no_undefined_flag='${wl}-z,text'
10911 archive_cmds_need_lc=no
10912 hardcode_shlibpath_var=no
10913 runpath_var='LD_RUN_PATH'
10915 if test "$GCC" = yes; then
10916 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10917 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10918 else
10919 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10920 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10924 sysv5* | sco3.2v5* | sco5v6*)
10925 # Note: We can NOT use -z defs as we might desire, because we do not
10926 # link with -lc, and that would cause any symbols used from libc to
10927 # always be unresolved, which means just about no library would
10928 # ever link correctly. If we're not using GNU ld we use -z text
10929 # though, which does catch some bad symbols but isn't as heavy-handed
10930 # as -z defs.
10931 no_undefined_flag='${wl}-z,text'
10932 allow_undefined_flag='${wl}-z,nodefs'
10933 archive_cmds_need_lc=no
10934 hardcode_shlibpath_var=no
10935 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10936 hardcode_libdir_separator=':'
10937 link_all_deplibs=yes
10938 export_dynamic_flag_spec='${wl}-Bexport'
10939 runpath_var='LD_RUN_PATH'
10941 if test "$GCC" = yes; then
10942 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10943 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10944 else
10945 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10946 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10950 uts4*)
10951 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10952 hardcode_libdir_flag_spec='-L$libdir'
10953 hardcode_shlibpath_var=no
10957 ld_shlibs=no
10959 esac
10961 if test x$host_vendor = xsni; then
10962 case $host in
10963 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10964 export_dynamic_flag_spec='${wl}-Blargedynsym'
10966 esac
10970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10971 $as_echo "$ld_shlibs" >&6; }
10972 test "$ld_shlibs" = no && can_build_shared=no
10974 with_gnu_ld=$with_gnu_ld
10991 # Do we need to explicitly link libc?
10993 case "x$archive_cmds_need_lc" in
10994 x|xyes)
10995 # Assume -lc should be added
10996 archive_cmds_need_lc=yes
10998 if test "$enable_shared" = yes && test "$GCC" = yes; then
10999 case $archive_cmds in
11000 *'~'*)
11001 # FIXME: we may have to deal with multi-command sequences.
11003 '$CC '*)
11004 # Test whether the compiler implicitly links with -lc since on some
11005 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11006 # to ld, don't add -lc before -lgcc.
11007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11008 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11009 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
11010 $as_echo_n "(cached) " >&6
11011 else
11012 $RM conftest*
11013 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11015 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11016 (eval $ac_compile) 2>&5
11017 ac_status=$?
11018 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11019 test $ac_status = 0; } 2>conftest.err; then
11020 soname=conftest
11021 lib=conftest
11022 libobjs=conftest.$ac_objext
11023 deplibs=
11024 wl=$lt_prog_compiler_wl
11025 pic_flag=$lt_prog_compiler_pic
11026 compiler_flags=-v
11027 linker_flags=-v
11028 verstring=
11029 output_objdir=.
11030 libname=conftest
11031 lt_save_allow_undefined_flag=$allow_undefined_flag
11032 allow_undefined_flag=
11033 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11034 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11035 ac_status=$?
11036 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11037 test $ac_status = 0; }
11038 then
11039 lt_cv_archive_cmds_need_lc=no
11040 else
11041 lt_cv_archive_cmds_need_lc=yes
11043 allow_undefined_flag=$lt_save_allow_undefined_flag
11044 else
11045 cat conftest.err 1>&5
11047 $RM conftest*
11050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11051 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11052 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
11054 esac
11057 esac
11215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11216 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11218 if test "$GCC" = yes; then
11219 case $host_os in
11220 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
11221 *) lt_awk_arg="/^libraries:/" ;;
11222 esac
11223 case $host_os in
11224 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
11225 *) lt_sed_strip_eq="s,=/,/,g" ;;
11226 esac
11227 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11228 case $lt_search_path_spec in
11229 *\;*)
11230 # if the path contains ";" then we assume it to be the separator
11231 # otherwise default to the standard path separator (i.e. ":") - it is
11232 # assumed that no part of a normal pathname contains ";" but that should
11233 # okay in the real world where ";" in dirpaths is itself problematic.
11234 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11237 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11239 esac
11240 # Ok, now we have the path, separated by spaces, we can step through it
11241 # and add multilib dir if necessary.
11242 lt_tmp_lt_search_path_spec=
11243 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11244 for lt_sys_path in $lt_search_path_spec; do
11245 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11246 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11247 else
11248 test -d "$lt_sys_path" && \
11249 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11251 done
11252 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11253 BEGIN {RS=" "; FS="/|\n";} {
11254 lt_foo="";
11255 lt_count=0;
11256 for (lt_i = NF; lt_i > 0; lt_i--) {
11257 if ($lt_i != "" && $lt_i != ".") {
11258 if ($lt_i == "..") {
11259 lt_count++;
11260 } else {
11261 if (lt_count == 0) {
11262 lt_foo="/" $lt_i lt_foo;
11263 } else {
11264 lt_count--;
11269 if (lt_foo != "") { lt_freq[lt_foo]++; }
11270 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11272 # AWK program above erroneously prepends '/' to C:/dos/paths
11273 # for these hosts.
11274 case $host_os in
11275 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11276 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11277 esac
11278 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11279 else
11280 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11282 library_names_spec=
11283 libname_spec='lib$name'
11284 soname_spec=
11285 shrext_cmds=".so"
11286 postinstall_cmds=
11287 postuninstall_cmds=
11288 finish_cmds=
11289 finish_eval=
11290 shlibpath_var=
11291 shlibpath_overrides_runpath=unknown
11292 version_type=none
11293 dynamic_linker="$host_os ld.so"
11294 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11295 need_lib_prefix=unknown
11296 hardcode_into_libs=no
11298 # when you set need_version to no, make sure it does not cause -set_version
11299 # flags to be left without arguments
11300 need_version=unknown
11302 case $host_os in
11303 aix3*)
11304 version_type=linux
11305 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11306 shlibpath_var=LIBPATH
11308 # AIX 3 has no versioning support, so we append a major version to the name.
11309 soname_spec='${libname}${release}${shared_ext}$major'
11312 aix[4-9]*)
11313 version_type=linux
11314 need_lib_prefix=no
11315 need_version=no
11316 hardcode_into_libs=yes
11317 if test "$host_cpu" = ia64; then
11318 # AIX 5 supports IA64
11319 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11320 shlibpath_var=LD_LIBRARY_PATH
11321 else
11322 # With GCC up to 2.95.x, collect2 would create an import file
11323 # for dependence libraries. The import file would start with
11324 # the line `#! .'. This would cause the generated library to
11325 # depend on `.', always an invalid library. This was fixed in
11326 # development snapshots of GCC prior to 3.0.
11327 case $host_os in
11328 aix4 | aix4.[01] | aix4.[01].*)
11329 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11330 echo ' yes '
11331 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11333 else
11334 can_build_shared=no
11337 esac
11338 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11339 # soname into executable. Probably we can add versioning support to
11340 # collect2, so additional links can be useful in future.
11341 if test "$aix_use_runtimelinking" = yes; then
11342 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11343 # instead of lib<name>.a to let people know that these are not
11344 # typical AIX shared libraries.
11345 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11346 else
11347 # We preserve .a as extension for shared libraries through AIX4.2
11348 # and later when we are not doing run time linking.
11349 library_names_spec='${libname}${release}.a $libname.a'
11350 soname_spec='${libname}${release}${shared_ext}$major'
11352 shlibpath_var=LIBPATH
11356 amigaos*)
11357 case $host_cpu in
11358 powerpc)
11359 # Since July 2007 AmigaOS4 officially supports .so libraries.
11360 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11361 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11363 m68k)
11364 library_names_spec='$libname.ixlibrary $libname.a'
11365 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11366 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'
11368 esac
11371 beos*)
11372 library_names_spec='${libname}${shared_ext}'
11373 dynamic_linker="$host_os ld.so"
11374 shlibpath_var=LIBRARY_PATH
11377 bsdi[45]*)
11378 version_type=linux
11379 need_version=no
11380 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11381 soname_spec='${libname}${release}${shared_ext}$major'
11382 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11383 shlibpath_var=LD_LIBRARY_PATH
11384 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11385 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11386 # the default ld.so.conf also contains /usr/contrib/lib and
11387 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11388 # libtool to hard-code these into programs
11391 cygwin* | mingw* | pw32* | cegcc*)
11392 version_type=windows
11393 shrext_cmds=".dll"
11394 need_version=no
11395 need_lib_prefix=no
11397 case $GCC,$host_os in
11398 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
11399 library_names_spec='$libname.dll.a'
11400 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11401 postinstall_cmds='base_file=`basename \${file}`~
11402 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11403 dldir=$destdir/`dirname \$dlpath`~
11404 test -d \$dldir || mkdir -p \$dldir~
11405 $install_prog $dir/$dlname \$dldir/$dlname~
11406 chmod a+x \$dldir/$dlname~
11407 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11408 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11410 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11411 dlpath=$dir/\$dldll~
11412 $RM \$dlpath'
11413 shlibpath_overrides_runpath=yes
11415 case $host_os in
11416 cygwin*)
11417 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11418 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11420 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11422 mingw* | cegcc*)
11423 # MinGW DLLs use traditional 'lib' prefix
11424 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11426 pw32*)
11427 # pw32 DLLs use 'pw' prefix rather than 'lib'
11428 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11430 esac
11434 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11436 esac
11437 dynamic_linker='Win32 ld.exe'
11438 # FIXME: first we should search . and the directory the executable is in
11439 shlibpath_var=PATH
11442 darwin* | rhapsody*)
11443 dynamic_linker="$host_os dyld"
11444 version_type=darwin
11445 need_lib_prefix=no
11446 need_version=no
11447 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11448 soname_spec='${libname}${release}${major}$shared_ext'
11449 shlibpath_overrides_runpath=yes
11450 shlibpath_var=DYLD_LIBRARY_PATH
11451 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11453 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11454 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11457 dgux*)
11458 version_type=linux
11459 need_lib_prefix=no
11460 need_version=no
11461 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11462 soname_spec='${libname}${release}${shared_ext}$major'
11463 shlibpath_var=LD_LIBRARY_PATH
11466 freebsd* | dragonfly*)
11467 # DragonFly does not have aout. When/if they implement a new
11468 # versioning mechanism, adjust this.
11469 if test -x /usr/bin/objformat; then
11470 objformat=`/usr/bin/objformat`
11471 else
11472 case $host_os in
11473 freebsd[23].*) objformat=aout ;;
11474 *) objformat=elf ;;
11475 esac
11477 version_type=freebsd-$objformat
11478 case $version_type in
11479 freebsd-elf*)
11480 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11481 need_version=no
11482 need_lib_prefix=no
11484 freebsd-*)
11485 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11486 need_version=yes
11488 esac
11489 shlibpath_var=LD_LIBRARY_PATH
11490 case $host_os in
11491 freebsd2.*)
11492 shlibpath_overrides_runpath=yes
11494 freebsd3.[01]* | freebsdelf3.[01]*)
11495 shlibpath_overrides_runpath=yes
11496 hardcode_into_libs=yes
11498 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11499 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11500 shlibpath_overrides_runpath=no
11501 hardcode_into_libs=yes
11503 *) # from 4.6 on, and DragonFly
11504 shlibpath_overrides_runpath=yes
11505 hardcode_into_libs=yes
11507 esac
11510 gnu*)
11511 version_type=linux
11512 need_lib_prefix=no
11513 need_version=no
11514 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11515 soname_spec='${libname}${release}${shared_ext}$major'
11516 shlibpath_var=LD_LIBRARY_PATH
11517 hardcode_into_libs=yes
11520 haiku*)
11521 version_type=linux
11522 need_lib_prefix=no
11523 need_version=no
11524 dynamic_linker="$host_os runtime_loader"
11525 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11526 soname_spec='${libname}${release}${shared_ext}$major'
11527 shlibpath_var=LIBRARY_PATH
11528 shlibpath_overrides_runpath=yes
11529 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
11530 hardcode_into_libs=yes
11533 hpux9* | hpux10* | hpux11*)
11534 # Give a soname corresponding to the major version so that dld.sl refuses to
11535 # link against other versions.
11536 version_type=sunos
11537 need_lib_prefix=no
11538 need_version=no
11539 case $host_cpu in
11540 ia64*)
11541 shrext_cmds='.so'
11542 hardcode_into_libs=yes
11543 dynamic_linker="$host_os dld.so"
11544 shlibpath_var=LD_LIBRARY_PATH
11545 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11546 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11547 soname_spec='${libname}${release}${shared_ext}$major'
11548 if test "X$HPUX_IA64_MODE" = X32; then
11549 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11550 else
11551 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11553 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11555 hppa*64*)
11556 shrext_cmds='.sl'
11557 hardcode_into_libs=yes
11558 dynamic_linker="$host_os dld.sl"
11559 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11560 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11561 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11562 soname_spec='${libname}${release}${shared_ext}$major'
11563 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11564 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11567 shrext_cmds='.sl'
11568 dynamic_linker="$host_os dld.sl"
11569 shlibpath_var=SHLIB_PATH
11570 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11571 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11572 soname_spec='${libname}${release}${shared_ext}$major'
11574 esac
11575 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11576 postinstall_cmds='chmod 555 $lib'
11577 # or fails outright, so override atomically:
11578 install_override_mode=555
11581 interix[3-9]*)
11582 version_type=linux
11583 need_lib_prefix=no
11584 need_version=no
11585 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11586 soname_spec='${libname}${release}${shared_ext}$major'
11587 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11588 shlibpath_var=LD_LIBRARY_PATH
11589 shlibpath_overrides_runpath=no
11590 hardcode_into_libs=yes
11593 irix5* | irix6* | nonstopux*)
11594 case $host_os in
11595 nonstopux*) version_type=nonstopux ;;
11597 if test "$lt_cv_prog_gnu_ld" = yes; then
11598 version_type=linux
11599 else
11600 version_type=irix
11601 fi ;;
11602 esac
11603 need_lib_prefix=no
11604 need_version=no
11605 soname_spec='${libname}${release}${shared_ext}$major'
11606 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11607 case $host_os in
11608 irix5* | nonstopux*)
11609 libsuff= shlibsuff=
11612 case $LD in # libtool.m4 will add one of these switches to LD
11613 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11614 libsuff= shlibsuff= libmagic=32-bit;;
11615 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11616 libsuff=32 shlibsuff=N32 libmagic=N32;;
11617 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11618 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11619 *) libsuff= shlibsuff= libmagic=never-match;;
11620 esac
11622 esac
11623 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11624 shlibpath_overrides_runpath=no
11625 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11626 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11627 hardcode_into_libs=yes
11630 # No shared lib support for Linux oldld, aout, or coff.
11631 linux*oldld* | linux*aout* | linux*coff*)
11632 dynamic_linker=no
11635 # This must be Linux ELF.
11636 linux* | k*bsd*-gnu | kopensolaris*-gnu)
11637 version_type=linux
11638 need_lib_prefix=no
11639 need_version=no
11640 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11641 soname_spec='${libname}${release}${shared_ext}$major'
11642 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11643 shlibpath_var=LD_LIBRARY_PATH
11644 shlibpath_overrides_runpath=no
11646 # Some binutils ld are patched to set DT_RUNPATH
11647 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
11648 $as_echo_n "(cached) " >&6
11649 else
11650 lt_cv_shlibpath_overrides_runpath=no
11651 save_LDFLAGS=$LDFLAGS
11652 save_libdir=$libdir
11653 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11654 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11655 if test x$gcc_no_link = xyes; then
11656 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11659 /* end confdefs.h. */
11662 main ()
11666 return 0;
11668 _ACEOF
11669 if ac_fn_c_try_link "$LINENO"; then :
11670 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11671 lt_cv_shlibpath_overrides_runpath=yes
11674 rm -f core conftest.err conftest.$ac_objext \
11675 conftest$ac_exeext conftest.$ac_ext
11676 LDFLAGS=$save_LDFLAGS
11677 libdir=$save_libdir
11681 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11683 # This implies no fast_install, which is unacceptable.
11684 # Some rework will be needed to allow for fast_install
11685 # before this can be enabled.
11686 hardcode_into_libs=yes
11688 # Append ld.so.conf contents to the search path
11689 if test -f /etc/ld.so.conf; then
11690 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' ' '`
11691 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11694 # We used to test for /lib/ld.so.1 and disable shared libraries on
11695 # powerpc, because MkLinux only supported shared libraries with the
11696 # GNU dynamic linker. Since this was broken with cross compilers,
11697 # most powerpc-linux boxes support dynamic linking these days and
11698 # people can always --disable-shared, the test was removed, and we
11699 # assume the GNU/Linux dynamic linker is in use.
11700 dynamic_linker='GNU/Linux ld.so'
11703 netbsd*)
11704 version_type=sunos
11705 need_lib_prefix=no
11706 need_version=no
11707 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11708 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11709 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11710 dynamic_linker='NetBSD (a.out) ld.so'
11711 else
11712 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11713 soname_spec='${libname}${release}${shared_ext}$major'
11714 dynamic_linker='NetBSD ld.elf_so'
11716 shlibpath_var=LD_LIBRARY_PATH
11717 shlibpath_overrides_runpath=yes
11718 hardcode_into_libs=yes
11721 newsos6)
11722 version_type=linux
11723 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11724 shlibpath_var=LD_LIBRARY_PATH
11725 shlibpath_overrides_runpath=yes
11728 *nto* | *qnx*)
11729 version_type=qnx
11730 need_lib_prefix=no
11731 need_version=no
11732 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11733 soname_spec='${libname}${release}${shared_ext}$major'
11734 shlibpath_var=LD_LIBRARY_PATH
11735 shlibpath_overrides_runpath=no
11736 hardcode_into_libs=yes
11737 dynamic_linker='ldqnx.so'
11740 openbsd*)
11741 version_type=sunos
11742 sys_lib_dlsearch_path_spec="/usr/lib"
11743 need_lib_prefix=no
11744 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11745 case $host_os in
11746 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11747 *) need_version=no ;;
11748 esac
11749 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11750 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11751 shlibpath_var=LD_LIBRARY_PATH
11752 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11753 case $host_os in
11754 openbsd2.[89] | openbsd2.[89].*)
11755 shlibpath_overrides_runpath=no
11758 shlibpath_overrides_runpath=yes
11760 esac
11761 else
11762 shlibpath_overrides_runpath=yes
11766 os2*)
11767 libname_spec='$name'
11768 shrext_cmds=".dll"
11769 need_lib_prefix=no
11770 library_names_spec='$libname${shared_ext} $libname.a'
11771 dynamic_linker='OS/2 ld.exe'
11772 shlibpath_var=LIBPATH
11775 osf3* | osf4* | osf5*)
11776 version_type=osf
11777 need_lib_prefix=no
11778 need_version=no
11779 soname_spec='${libname}${release}${shared_ext}$major'
11780 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11781 shlibpath_var=LD_LIBRARY_PATH
11782 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11783 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11786 rdos*)
11787 dynamic_linker=no
11790 solaris*)
11791 version_type=linux
11792 need_lib_prefix=no
11793 need_version=no
11794 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11795 soname_spec='${libname}${release}${shared_ext}$major'
11796 shlibpath_var=LD_LIBRARY_PATH
11797 shlibpath_overrides_runpath=yes
11798 hardcode_into_libs=yes
11799 # ldd complains unless libraries are executable
11800 postinstall_cmds='chmod +x $lib'
11803 sunos4*)
11804 version_type=sunos
11805 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11806 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11807 shlibpath_var=LD_LIBRARY_PATH
11808 shlibpath_overrides_runpath=yes
11809 if test "$with_gnu_ld" = yes; then
11810 need_lib_prefix=no
11812 need_version=yes
11815 sysv4 | sysv4.3*)
11816 version_type=linux
11817 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11818 soname_spec='${libname}${release}${shared_ext}$major'
11819 shlibpath_var=LD_LIBRARY_PATH
11820 case $host_vendor in
11821 sni)
11822 shlibpath_overrides_runpath=no
11823 need_lib_prefix=no
11824 runpath_var=LD_RUN_PATH
11826 siemens)
11827 need_lib_prefix=no
11829 motorola)
11830 need_lib_prefix=no
11831 need_version=no
11832 shlibpath_overrides_runpath=no
11833 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11835 esac
11838 sysv4*MP*)
11839 if test -d /usr/nec ;then
11840 version_type=linux
11841 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11842 soname_spec='$libname${shared_ext}.$major'
11843 shlibpath_var=LD_LIBRARY_PATH
11847 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11848 version_type=freebsd-elf
11849 need_lib_prefix=no
11850 need_version=no
11851 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11852 soname_spec='${libname}${release}${shared_ext}$major'
11853 shlibpath_var=LD_LIBRARY_PATH
11854 shlibpath_overrides_runpath=yes
11855 hardcode_into_libs=yes
11856 if test "$with_gnu_ld" = yes; then
11857 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11858 else
11859 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11860 case $host_os in
11861 sco3.2v5*)
11862 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11864 esac
11866 sys_lib_dlsearch_path_spec='/usr/lib'
11869 tpf*)
11870 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11871 version_type=linux
11872 need_lib_prefix=no
11873 need_version=no
11874 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11875 shlibpath_var=LD_LIBRARY_PATH
11876 shlibpath_overrides_runpath=no
11877 hardcode_into_libs=yes
11880 uts4*)
11881 version_type=linux
11882 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11883 soname_spec='${libname}${release}${shared_ext}$major'
11884 shlibpath_var=LD_LIBRARY_PATH
11888 dynamic_linker=no
11890 esac
11891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11892 $as_echo "$dynamic_linker" >&6; }
11893 test "$dynamic_linker" = no && can_build_shared=no
11895 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11896 if test "$GCC" = yes; then
11897 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11900 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11901 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11903 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11904 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11999 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12000 hardcode_action=
12001 if test -n "$hardcode_libdir_flag_spec" ||
12002 test -n "$runpath_var" ||
12003 test "X$hardcode_automatic" = "Xyes" ; then
12005 # We can hardcode non-existent directories.
12006 if test "$hardcode_direct" != no &&
12007 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12008 # have to relink, otherwise we might link with an installed library
12009 # when we should be linking with a yet-to-be-installed one
12010 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12011 test "$hardcode_minus_L" != no; then
12012 # Linking always hardcodes the temporary library directory.
12013 hardcode_action=relink
12014 else
12015 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12016 hardcode_action=immediate
12018 else
12019 # We cannot hardcode anything, or else we can only hardcode existing
12020 # directories.
12021 hardcode_action=unsupported
12023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12024 $as_echo "$hardcode_action" >&6; }
12026 if test "$hardcode_action" = relink ||
12027 test "$inherit_rpath" = yes; then
12028 # Fast installation is not supported
12029 enable_fast_install=no
12030 elif test "$shlibpath_overrides_runpath" = yes ||
12031 test "$enable_shared" = no; then
12032 # Fast installation is not necessary
12033 enable_fast_install=needless
12041 if test "x$enable_dlopen" != xyes; then
12042 enable_dlopen=unknown
12043 enable_dlopen_self=unknown
12044 enable_dlopen_self_static=unknown
12045 else
12046 lt_cv_dlopen=no
12047 lt_cv_dlopen_libs=
12049 case $host_os in
12050 beos*)
12051 lt_cv_dlopen="load_add_on"
12052 lt_cv_dlopen_libs=
12053 lt_cv_dlopen_self=yes
12056 mingw* | pw32* | cegcc*)
12057 lt_cv_dlopen="LoadLibrary"
12058 lt_cv_dlopen_libs=
12061 cygwin*)
12062 lt_cv_dlopen="dlopen"
12063 lt_cv_dlopen_libs=
12066 darwin*)
12067 # if libdl is installed we need to link against it
12068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12069 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12070 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
12071 $as_echo_n "(cached) " >&6
12072 else
12073 ac_check_lib_save_LIBS=$LIBS
12074 LIBS="-ldl $LIBS"
12075 if test x$gcc_no_link = xyes; then
12076 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12079 /* end confdefs.h. */
12081 /* Override any GCC internal prototype to avoid an error.
12082 Use char because int might match the return type of a GCC
12083 builtin and then its argument prototype would still apply. */
12084 #ifdef __cplusplus
12085 extern "C"
12086 #endif
12087 char dlopen ();
12089 main ()
12091 return dlopen ();
12093 return 0;
12095 _ACEOF
12096 if ac_fn_c_try_link "$LINENO"; then :
12097 ac_cv_lib_dl_dlopen=yes
12098 else
12099 ac_cv_lib_dl_dlopen=no
12101 rm -f core conftest.err conftest.$ac_objext \
12102 conftest$ac_exeext conftest.$ac_ext
12103 LIBS=$ac_check_lib_save_LIBS
12105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12106 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12107 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
12108 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12109 else
12111 lt_cv_dlopen="dyld"
12112 lt_cv_dlopen_libs=
12113 lt_cv_dlopen_self=yes
12120 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12121 if test "x$ac_cv_func_shl_load" = x""yes; then :
12122 lt_cv_dlopen="shl_load"
12123 else
12124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12125 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12126 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
12127 $as_echo_n "(cached) " >&6
12128 else
12129 ac_check_lib_save_LIBS=$LIBS
12130 LIBS="-ldld $LIBS"
12131 if test x$gcc_no_link = xyes; then
12132 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12135 /* end confdefs.h. */
12137 /* Override any GCC internal prototype to avoid an error.
12138 Use char because int might match the return type of a GCC
12139 builtin and then its argument prototype would still apply. */
12140 #ifdef __cplusplus
12141 extern "C"
12142 #endif
12143 char shl_load ();
12145 main ()
12147 return shl_load ();
12149 return 0;
12151 _ACEOF
12152 if ac_fn_c_try_link "$LINENO"; then :
12153 ac_cv_lib_dld_shl_load=yes
12154 else
12155 ac_cv_lib_dld_shl_load=no
12157 rm -f core conftest.err conftest.$ac_objext \
12158 conftest$ac_exeext conftest.$ac_ext
12159 LIBS=$ac_check_lib_save_LIBS
12161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12162 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12163 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
12164 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
12165 else
12166 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12167 if test "x$ac_cv_func_dlopen" = x""yes; then :
12168 lt_cv_dlopen="dlopen"
12169 else
12170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12171 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12172 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
12173 $as_echo_n "(cached) " >&6
12174 else
12175 ac_check_lib_save_LIBS=$LIBS
12176 LIBS="-ldl $LIBS"
12177 if test x$gcc_no_link = xyes; then
12178 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12181 /* end confdefs.h. */
12183 /* Override any GCC internal prototype to avoid an error.
12184 Use char because int might match the return type of a GCC
12185 builtin and then its argument prototype would still apply. */
12186 #ifdef __cplusplus
12187 extern "C"
12188 #endif
12189 char dlopen ();
12191 main ()
12193 return dlopen ();
12195 return 0;
12197 _ACEOF
12198 if ac_fn_c_try_link "$LINENO"; then :
12199 ac_cv_lib_dl_dlopen=yes
12200 else
12201 ac_cv_lib_dl_dlopen=no
12203 rm -f core conftest.err conftest.$ac_objext \
12204 conftest$ac_exeext conftest.$ac_ext
12205 LIBS=$ac_check_lib_save_LIBS
12207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12208 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12209 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
12210 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12211 else
12212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12213 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12214 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
12215 $as_echo_n "(cached) " >&6
12216 else
12217 ac_check_lib_save_LIBS=$LIBS
12218 LIBS="-lsvld $LIBS"
12219 if test x$gcc_no_link = xyes; then
12220 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12223 /* end confdefs.h. */
12225 /* Override any GCC internal prototype to avoid an error.
12226 Use char because int might match the return type of a GCC
12227 builtin and then its argument prototype would still apply. */
12228 #ifdef __cplusplus
12229 extern "C"
12230 #endif
12231 char dlopen ();
12233 main ()
12235 return dlopen ();
12237 return 0;
12239 _ACEOF
12240 if ac_fn_c_try_link "$LINENO"; then :
12241 ac_cv_lib_svld_dlopen=yes
12242 else
12243 ac_cv_lib_svld_dlopen=no
12245 rm -f core conftest.err conftest.$ac_objext \
12246 conftest$ac_exeext conftest.$ac_ext
12247 LIBS=$ac_check_lib_save_LIBS
12249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12250 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12251 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
12252 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12253 else
12254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12255 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12256 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
12257 $as_echo_n "(cached) " >&6
12258 else
12259 ac_check_lib_save_LIBS=$LIBS
12260 LIBS="-ldld $LIBS"
12261 if test x$gcc_no_link = xyes; then
12262 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12265 /* end confdefs.h. */
12267 /* Override any GCC internal prototype to avoid an error.
12268 Use char because int might match the return type of a GCC
12269 builtin and then its argument prototype would still apply. */
12270 #ifdef __cplusplus
12271 extern "C"
12272 #endif
12273 char dld_link ();
12275 main ()
12277 return dld_link ();
12279 return 0;
12281 _ACEOF
12282 if ac_fn_c_try_link "$LINENO"; then :
12283 ac_cv_lib_dld_dld_link=yes
12284 else
12285 ac_cv_lib_dld_dld_link=no
12287 rm -f core conftest.err conftest.$ac_objext \
12288 conftest$ac_exeext conftest.$ac_ext
12289 LIBS=$ac_check_lib_save_LIBS
12291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12292 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12293 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
12294 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12313 esac
12315 if test "x$lt_cv_dlopen" != xno; then
12316 enable_dlopen=yes
12317 else
12318 enable_dlopen=no
12321 case $lt_cv_dlopen in
12322 dlopen)
12323 save_CPPFLAGS="$CPPFLAGS"
12324 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12326 save_LDFLAGS="$LDFLAGS"
12327 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12329 save_LIBS="$LIBS"
12330 LIBS="$lt_cv_dlopen_libs $LIBS"
12332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12333 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12334 if test "${lt_cv_dlopen_self+set}" = set; then :
12335 $as_echo_n "(cached) " >&6
12336 else
12337 if test "$cross_compiling" = yes; then :
12338 lt_cv_dlopen_self=cross
12339 else
12340 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12341 lt_status=$lt_dlunknown
12342 cat > conftest.$ac_ext <<_LT_EOF
12343 #line 12343 "configure"
12344 #include "confdefs.h"
12346 #if HAVE_DLFCN_H
12347 #include <dlfcn.h>
12348 #endif
12350 #include <stdio.h>
12352 #ifdef RTLD_GLOBAL
12353 # define LT_DLGLOBAL RTLD_GLOBAL
12354 #else
12355 # ifdef DL_GLOBAL
12356 # define LT_DLGLOBAL DL_GLOBAL
12357 # else
12358 # define LT_DLGLOBAL 0
12359 # endif
12360 #endif
12362 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12363 find out it does not work in some platform. */
12364 #ifndef LT_DLLAZY_OR_NOW
12365 # ifdef RTLD_LAZY
12366 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12367 # else
12368 # ifdef DL_LAZY
12369 # define LT_DLLAZY_OR_NOW DL_LAZY
12370 # else
12371 # ifdef RTLD_NOW
12372 # define LT_DLLAZY_OR_NOW RTLD_NOW
12373 # else
12374 # ifdef DL_NOW
12375 # define LT_DLLAZY_OR_NOW DL_NOW
12376 # else
12377 # define LT_DLLAZY_OR_NOW 0
12378 # endif
12379 # endif
12380 # endif
12381 # endif
12382 #endif
12384 /* When -fvisbility=hidden is used, assume the code has been annotated
12385 correspondingly for the symbols needed. */
12386 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12387 void fnord () __attribute__((visibility("default")));
12388 #endif
12390 void fnord () { int i=42; }
12391 int main ()
12393 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12394 int status = $lt_dlunknown;
12396 if (self)
12398 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12399 else
12401 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12402 else puts (dlerror ());
12404 /* dlclose (self); */
12406 else
12407 puts (dlerror ());
12409 return status;
12411 _LT_EOF
12412 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12413 (eval $ac_link) 2>&5
12414 ac_status=$?
12415 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12416 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12417 (./conftest; exit; ) >&5 2>/dev/null
12418 lt_status=$?
12419 case x$lt_status in
12420 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12421 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12422 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12423 esac
12424 else :
12425 # compilation failed
12426 lt_cv_dlopen_self=no
12429 rm -fr conftest*
12433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12434 $as_echo "$lt_cv_dlopen_self" >&6; }
12436 if test "x$lt_cv_dlopen_self" = xyes; then
12437 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12439 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12440 if test "${lt_cv_dlopen_self_static+set}" = set; then :
12441 $as_echo_n "(cached) " >&6
12442 else
12443 if test "$cross_compiling" = yes; then :
12444 lt_cv_dlopen_self_static=cross
12445 else
12446 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12447 lt_status=$lt_dlunknown
12448 cat > conftest.$ac_ext <<_LT_EOF
12449 #line 12449 "configure"
12450 #include "confdefs.h"
12452 #if HAVE_DLFCN_H
12453 #include <dlfcn.h>
12454 #endif
12456 #include <stdio.h>
12458 #ifdef RTLD_GLOBAL
12459 # define LT_DLGLOBAL RTLD_GLOBAL
12460 #else
12461 # ifdef DL_GLOBAL
12462 # define LT_DLGLOBAL DL_GLOBAL
12463 # else
12464 # define LT_DLGLOBAL 0
12465 # endif
12466 #endif
12468 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12469 find out it does not work in some platform. */
12470 #ifndef LT_DLLAZY_OR_NOW
12471 # ifdef RTLD_LAZY
12472 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12473 # else
12474 # ifdef DL_LAZY
12475 # define LT_DLLAZY_OR_NOW DL_LAZY
12476 # else
12477 # ifdef RTLD_NOW
12478 # define LT_DLLAZY_OR_NOW RTLD_NOW
12479 # else
12480 # ifdef DL_NOW
12481 # define LT_DLLAZY_OR_NOW DL_NOW
12482 # else
12483 # define LT_DLLAZY_OR_NOW 0
12484 # endif
12485 # endif
12486 # endif
12487 # endif
12488 #endif
12490 /* When -fvisbility=hidden is used, assume the code has been annotated
12491 correspondingly for the symbols needed. */
12492 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12493 void fnord () __attribute__((visibility("default")));
12494 #endif
12496 void fnord () { int i=42; }
12497 int main ()
12499 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12500 int status = $lt_dlunknown;
12502 if (self)
12504 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12505 else
12507 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12508 else puts (dlerror ());
12510 /* dlclose (self); */
12512 else
12513 puts (dlerror ());
12515 return status;
12517 _LT_EOF
12518 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12519 (eval $ac_link) 2>&5
12520 ac_status=$?
12521 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12522 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12523 (./conftest; exit; ) >&5 2>/dev/null
12524 lt_status=$?
12525 case x$lt_status in
12526 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12527 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12528 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12529 esac
12530 else :
12531 # compilation failed
12532 lt_cv_dlopen_self_static=no
12535 rm -fr conftest*
12539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12540 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12543 CPPFLAGS="$save_CPPFLAGS"
12544 LDFLAGS="$save_LDFLAGS"
12545 LIBS="$save_LIBS"
12547 esac
12549 case $lt_cv_dlopen_self in
12550 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12551 *) enable_dlopen_self=unknown ;;
12552 esac
12554 case $lt_cv_dlopen_self_static in
12555 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12556 *) enable_dlopen_self_static=unknown ;;
12557 esac
12576 striplib=
12577 old_striplib=
12578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12579 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12580 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12581 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12582 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12584 $as_echo "yes" >&6; }
12585 else
12586 # FIXME - insert some real tests, host_os isn't really good enough
12587 case $host_os in
12588 darwin*)
12589 if test -n "$STRIP" ; then
12590 striplib="$STRIP -x"
12591 old_striplib="$STRIP -S"
12592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12593 $as_echo "yes" >&6; }
12594 else
12595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12596 $as_echo "no" >&6; }
12600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12601 $as_echo "no" >&6; }
12603 esac
12617 # Report which library types will actually be built
12618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12619 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12621 $as_echo "$can_build_shared" >&6; }
12623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12624 $as_echo_n "checking whether to build shared libraries... " >&6; }
12625 test "$can_build_shared" = "no" && enable_shared=no
12627 # On AIX, shared libraries and static libraries use the same namespace, and
12628 # are all built from PIC.
12629 case $host_os in
12630 aix3*)
12631 test "$enable_shared" = yes && enable_static=no
12632 if test -n "$RANLIB"; then
12633 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12634 postinstall_cmds='$RANLIB $lib'
12638 aix[4-9]*)
12639 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12640 test "$enable_shared" = yes && enable_static=no
12643 esac
12644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12645 $as_echo "$enable_shared" >&6; }
12647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12648 $as_echo_n "checking whether to build static libraries... " >&6; }
12649 # Make sure either enable_shared or enable_static is yes.
12650 test "$enable_shared" = yes || enable_static=yes
12651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12652 $as_echo "$enable_static" >&6; }
12658 ac_ext=c
12659 ac_cpp='$CPP $CPPFLAGS'
12660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12664 CC="$lt_save_CC"
12678 ac_config_commands="$ac_config_commands libtool"
12683 # Only expand once:
12689 case $host in
12690 *-cygwin* | *-mingw*)
12691 # 'host' will be top-level target in the case of a target lib,
12692 # we must compare to with_cross_host to decide if this is a native
12693 # or cross-compiler and select where to install dlls appropriately.
12694 if test -n "$with_cross_host" &&
12695 test x"$with_cross_host" != x"no"; then
12696 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
12697 else
12698 lt_host_flags='-no-undefined -bindir "$(bindir)"';
12702 lt_host_flags=
12704 esac
12710 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
12712 # We need gfortran to compile parts of the library
12713 #AC_PROG_FC(gfortran)
12714 FC="$GFORTRAN"
12715 ac_ext=${ac_fc_srcext-f}
12716 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
12717 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
12718 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
12719 if test -n "$ac_tool_prefix"; then
12720 for ac_prog in gfortran
12722 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12723 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12725 $as_echo_n "checking for $ac_word... " >&6; }
12726 if test "${ac_cv_prog_FC+set}" = set; then :
12727 $as_echo_n "(cached) " >&6
12728 else
12729 if test -n "$FC"; then
12730 ac_cv_prog_FC="$FC" # Let the user override the test.
12731 else
12732 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12733 for as_dir in $PATH
12735 IFS=$as_save_IFS
12736 test -z "$as_dir" && as_dir=.
12737 for ac_exec_ext in '' $ac_executable_extensions; do
12738 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12739 ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
12740 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12741 break 2
12743 done
12744 done
12745 IFS=$as_save_IFS
12749 FC=$ac_cv_prog_FC
12750 if test -n "$FC"; then
12751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FC" >&5
12752 $as_echo "$FC" >&6; }
12753 else
12754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12755 $as_echo "no" >&6; }
12759 test -n "$FC" && break
12760 done
12762 if test -z "$FC"; then
12763 ac_ct_FC=$FC
12764 for ac_prog in gfortran
12766 # Extract the first word of "$ac_prog", so it can be a program name with args.
12767 set dummy $ac_prog; ac_word=$2
12768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12769 $as_echo_n "checking for $ac_word... " >&6; }
12770 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then :
12771 $as_echo_n "(cached) " >&6
12772 else
12773 if test -n "$ac_ct_FC"; then
12774 ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
12775 else
12776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12777 for as_dir in $PATH
12779 IFS=$as_save_IFS
12780 test -z "$as_dir" && as_dir=.
12781 for ac_exec_ext in '' $ac_executable_extensions; do
12782 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12783 ac_cv_prog_ac_ct_FC="$ac_prog"
12784 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12785 break 2
12787 done
12788 done
12789 IFS=$as_save_IFS
12793 ac_ct_FC=$ac_cv_prog_ac_ct_FC
12794 if test -n "$ac_ct_FC"; then
12795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FC" >&5
12796 $as_echo "$ac_ct_FC" >&6; }
12797 else
12798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12799 $as_echo "no" >&6; }
12803 test -n "$ac_ct_FC" && break
12804 done
12806 if test "x$ac_ct_FC" = x; then
12807 FC=""
12808 else
12809 case $cross_compiling:$ac_tool_warned in
12810 yes:)
12811 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12812 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12813 ac_tool_warned=yes ;;
12814 esac
12815 FC=$ac_ct_FC
12820 # Provide some information about the compiler.
12821 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran compiler version" >&5
12822 set X $ac_compile
12823 ac_compiler=$2
12824 for ac_option in --version -v -V -qversion; do
12825 { { ac_try="$ac_compiler $ac_option >&5"
12826 case "(($ac_try" in
12827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12828 *) ac_try_echo=$ac_try;;
12829 esac
12830 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12831 $as_echo "$ac_try_echo"; } >&5
12832 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12833 ac_status=$?
12834 if test -s conftest.err; then
12835 sed '10a\
12836 ... rest of stderr output deleted ...
12837 10q' conftest.err >conftest.er1
12838 cat conftest.er1 >&5
12839 rm -f conftest.er1 conftest.err
12841 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12842 test $ac_status = 0; }
12843 done
12844 rm -f a.out
12846 # If we don't use `.F' as extension, the preprocessor is not run on the
12847 # input file. (Note that this only needs to work for GNU compilers.)
12848 ac_save_ext=$ac_ext
12849 ac_ext=F
12850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&5
12851 $as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; }
12852 if test "${ac_cv_fc_compiler_gnu+set}" = set; then :
12853 $as_echo_n "(cached) " >&6
12854 else
12855 cat > conftest.$ac_ext <<_ACEOF
12856 program main
12857 #ifndef __GNUC__
12858 choke me
12859 #endif
12862 _ACEOF
12863 if ac_fn_fc_try_compile "$LINENO"; then :
12864 ac_compiler_gnu=yes
12865 else
12866 ac_compiler_gnu=no
12868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12869 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
12872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_compiler_gnu" >&5
12873 $as_echo "$ac_cv_fc_compiler_gnu" >&6; }
12874 ac_ext=$ac_save_ext
12875 ac_test_FCFLAGS=${FCFLAGS+set}
12876 ac_save_FCFLAGS=$FCFLAGS
12877 FCFLAGS=
12878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5
12879 $as_echo_n "checking whether $FC accepts -g... " >&6; }
12880 if test "${ac_cv_prog_fc_g+set}" = set; then :
12881 $as_echo_n "(cached) " >&6
12882 else
12883 FCFLAGS=-g
12884 cat > conftest.$ac_ext <<_ACEOF
12885 program main
12888 _ACEOF
12889 if ac_fn_fc_try_compile "$LINENO"; then :
12890 ac_cv_prog_fc_g=yes
12891 else
12892 ac_cv_prog_fc_g=no
12894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_fc_g" >&5
12898 $as_echo "$ac_cv_prog_fc_g" >&6; }
12899 if test "$ac_test_FCFLAGS" = set; then
12900 FCFLAGS=$ac_save_FCFLAGS
12901 elif test $ac_cv_prog_fc_g = yes; then
12902 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
12903 FCFLAGS="-g -O2"
12904 else
12905 FCFLAGS="-g"
12907 else
12908 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
12909 FCFLAGS="-O2"
12910 else
12911 FCFLAGS=
12915 ac_ext=c
12916 ac_cpp='$CPP $CPPFLAGS'
12917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12921 ac_ext=${ac_fc_srcext-f}
12922 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
12923 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
12924 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
12927 if test -z "$FC" || test "X$FC" = "Xno"; then
12928 _lt_disable_FC=yes
12931 archive_cmds_need_lc_FC=no
12932 allow_undefined_flag_FC=
12933 always_export_symbols_FC=no
12934 archive_expsym_cmds_FC=
12935 export_dynamic_flag_spec_FC=
12936 hardcode_direct_FC=no
12937 hardcode_direct_absolute_FC=no
12938 hardcode_libdir_flag_spec_FC=
12939 hardcode_libdir_flag_spec_ld_FC=
12940 hardcode_libdir_separator_FC=
12941 hardcode_minus_L_FC=no
12942 hardcode_automatic_FC=no
12943 inherit_rpath_FC=no
12944 module_cmds_FC=
12945 module_expsym_cmds_FC=
12946 link_all_deplibs_FC=unknown
12947 old_archive_cmds_FC=$old_archive_cmds
12948 reload_flag_FC=$reload_flag
12949 reload_cmds_FC=$reload_cmds
12950 no_undefined_flag_FC=
12951 whole_archive_flag_spec_FC=
12952 enable_shared_with_static_runtimes_FC=no
12954 # Source file extension for fc test sources.
12955 ac_ext=${ac_fc_srcext-f}
12957 # Object file extension for compiled fc test sources.
12958 objext=o
12959 objext_FC=$objext
12961 # No sense in running all these tests if we already determined that
12962 # the FC compiler isn't working. Some variables (like enable_shared)
12963 # are currently assumed to apply to all compilers on this platform,
12964 # and will be corrupted by setting them based on a non-working compiler.
12965 if test "$_lt_disable_FC" != yes; then
12966 # Code to be used in simple compile tests
12967 lt_simple_compile_test_code="\
12968 subroutine t
12969 return
12973 # Code to be used in simple link tests
12974 lt_simple_link_test_code="\
12975 program t
12979 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12986 # If no C compiler was specified, use CC.
12987 LTCC=${LTCC-"$CC"}
12989 # If no C compiler flags were specified, use CFLAGS.
12990 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12992 # Allow CC to be a program name with arguments.
12993 compiler=$CC
12996 # save warnings/boilerplate of simple test code
12997 ac_outfile=conftest.$ac_objext
12998 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12999 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13000 _lt_compiler_boilerplate=`cat conftest.err`
13001 $RM conftest*
13003 ac_outfile=conftest.$ac_objext
13004 echo "$lt_simple_link_test_code" >conftest.$ac_ext
13005 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13006 _lt_linker_boilerplate=`cat conftest.err`
13007 $RM -r conftest*
13010 # Allow CC to be a program name with arguments.
13011 lt_save_CC="$CC"
13012 lt_save_GCC=$GCC
13013 CC=${FC-"f95"}
13014 compiler=$CC
13015 GCC=$ac_cv_fc_compiler_gnu
13017 compiler_FC=$CC
13018 for cc_temp in $compiler""; do
13019 case $cc_temp in
13020 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
13021 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
13022 \-*) ;;
13023 *) break;;
13024 esac
13025 done
13026 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
13029 if test -n "$compiler"; then
13030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13031 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13033 $as_echo "$can_build_shared" >&6; }
13035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13036 $as_echo_n "checking whether to build shared libraries... " >&6; }
13037 test "$can_build_shared" = "no" && enable_shared=no
13039 # On AIX, shared libraries and static libraries use the same namespace, and
13040 # are all built from PIC.
13041 case $host_os in
13042 aix3*)
13043 test "$enable_shared" = yes && enable_static=no
13044 if test -n "$RANLIB"; then
13045 archive_cmds="$archive_cmds~\$RANLIB \$lib"
13046 postinstall_cmds='$RANLIB $lib'
13049 aix[4-9]*)
13050 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
13051 test "$enable_shared" = yes && enable_static=no
13054 esac
13055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13056 $as_echo "$enable_shared" >&6; }
13058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13059 $as_echo_n "checking whether to build static libraries... " >&6; }
13060 # Make sure either enable_shared or enable_static is yes.
13061 test "$enable_shared" = yes || enable_static=yes
13062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13063 $as_echo "$enable_static" >&6; }
13065 GCC_FC="$ac_cv_fc_compiler_gnu"
13066 LD_FC="$LD"
13068 ## CAVEAT EMPTOR:
13069 ## There is no encapsulation within the following macros, do not change
13070 ## the running order or otherwise move them around unless you know exactly
13071 ## what you are doing...
13072 # Dependencies to place before and after the object being linked:
13073 predep_objects_FC=
13074 postdep_objects_FC=
13075 predeps_FC=
13076 postdeps_FC=
13077 compiler_lib_search_path_FC=
13079 cat > conftest.$ac_ext <<_LT_EOF
13080 subroutine foo
13081 implicit none
13082 integer a
13084 return
13086 _LT_EOF
13088 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13089 (eval $ac_compile) 2>&5
13090 ac_status=$?
13091 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13092 test $ac_status = 0; }; then
13093 # Parse the compiler output and extract the necessary
13094 # objects, libraries and library flags.
13096 # Sentinel used to keep track of whether or not we are before
13097 # the conftest object file.
13098 pre_test_object_deps_done=no
13100 for p in `eval "$output_verbose_link_cmd"`; do
13101 case $p in
13103 -L* | -R* | -l*)
13104 # Some compilers place space between "-{L,R}" and the path.
13105 # Remove the space.
13106 if test $p = "-L" ||
13107 test $p = "-R"; then
13108 prev=$p
13109 continue
13110 else
13111 prev=
13114 if test "$pre_test_object_deps_done" = no; then
13115 case $p in
13116 -L* | -R*)
13117 # Internal compiler library paths should come after those
13118 # provided the user. The postdeps already come after the
13119 # user supplied libs so there is no need to process them.
13120 if test -z "$compiler_lib_search_path_FC"; then
13121 compiler_lib_search_path_FC="${prev}${p}"
13122 else
13123 compiler_lib_search_path_FC="${compiler_lib_search_path_FC} ${prev}${p}"
13126 # The "-l" case would never come before the object being
13127 # linked, so don't bother handling this case.
13128 esac
13129 else
13130 if test -z "$postdeps_FC"; then
13131 postdeps_FC="${prev}${p}"
13132 else
13133 postdeps_FC="${postdeps_FC} ${prev}${p}"
13138 *.$objext)
13139 # This assumes that the test object file only shows up
13140 # once in the compiler output.
13141 if test "$p" = "conftest.$objext"; then
13142 pre_test_object_deps_done=yes
13143 continue
13146 if test "$pre_test_object_deps_done" = no; then
13147 if test -z "$predep_objects_FC"; then
13148 predep_objects_FC="$p"
13149 else
13150 predep_objects_FC="$predep_objects_FC $p"
13152 else
13153 if test -z "$postdep_objects_FC"; then
13154 postdep_objects_FC="$p"
13155 else
13156 postdep_objects_FC="$postdep_objects_FC $p"
13161 *) ;; # Ignore the rest.
13163 esac
13164 done
13166 # Clean up.
13167 rm -f a.out a.exe
13168 else
13169 echo "libtool.m4: error: problem compiling FC test program"
13172 $RM -f confest.$objext
13174 # PORTME: override above test on systems where it is broken
13177 case " $postdeps_FC " in
13178 *" -lc "*) archive_cmds_need_lc_FC=no ;;
13179 esac
13180 compiler_lib_search_dirs_FC=
13181 if test -n "${compiler_lib_search_path_FC}"; then
13182 compiler_lib_search_dirs_FC=`echo " ${compiler_lib_search_path_FC}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13215 lt_prog_compiler_wl_FC=
13216 lt_prog_compiler_pic_FC=
13217 lt_prog_compiler_static_FC=
13219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13220 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13222 if test "$GCC" = yes; then
13223 lt_prog_compiler_wl_FC='-Wl,'
13224 lt_prog_compiler_static_FC='-static'
13226 case $host_os in
13227 aix*)
13228 # All AIX code is PIC.
13229 if test "$host_cpu" = ia64; then
13230 # AIX 5 now supports IA64 processor
13231 lt_prog_compiler_static_FC='-Bstatic'
13233 lt_prog_compiler_pic_FC='-fPIC'
13236 amigaos*)
13237 case $host_cpu in
13238 powerpc)
13239 # see comment about AmigaOS4 .so support
13240 lt_prog_compiler_pic_FC='-fPIC'
13242 m68k)
13243 # FIXME: we need at least 68020 code to build shared libraries, but
13244 # adding the `-m68020' flag to GCC prevents building anything better,
13245 # like `-m68040'.
13246 lt_prog_compiler_pic_FC='-m68020 -resident32 -malways-restore-a4'
13248 esac
13251 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13252 # PIC is the default for these OSes.
13255 mingw* | cygwin* | pw32* | os2* | cegcc*)
13256 # This hack is so that the source file can tell whether it is being
13257 # built for inclusion in a dll (and should export symbols for example).
13258 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13259 # (--disable-auto-import) libraries
13260 lt_prog_compiler_pic_FC='-DDLL_EXPORT'
13263 darwin* | rhapsody*)
13264 # PIC is the default on this platform
13265 # Common symbols not allowed in MH_DYLIB files
13266 lt_prog_compiler_pic_FC='-fno-common'
13269 haiku*)
13270 # PIC is the default for Haiku.
13271 # The "-static" flag exists, but is broken.
13272 lt_prog_compiler_static_FC=
13275 hpux*)
13276 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13277 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13278 # sets the default TLS model and affects inlining.
13279 case $host_cpu in
13280 hppa*64*)
13281 # +Z the default
13284 lt_prog_compiler_pic_FC='-fPIC'
13286 esac
13289 interix[3-9]*)
13290 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13291 # Instead, we relocate shared libraries at runtime.
13294 msdosdjgpp*)
13295 # Just because we use GCC doesn't mean we suddenly get shared libraries
13296 # on systems that don't support them.
13297 lt_prog_compiler_can_build_shared_FC=no
13298 enable_shared=no
13301 *nto* | *qnx*)
13302 # QNX uses GNU C++, but need to define -shared option too, otherwise
13303 # it will coredump.
13304 lt_prog_compiler_pic_FC='-fPIC -shared'
13307 sysv4*MP*)
13308 if test -d /usr/nec; then
13309 lt_prog_compiler_pic_FC=-Kconform_pic
13314 lt_prog_compiler_pic_FC='-fPIC'
13316 esac
13318 case $cc_basename in
13319 nvcc*) # Cuda Compiler Driver 2.2
13320 lt_prog_compiler_wl_FC='-Xlinker '
13321 lt_prog_compiler_pic_FC='-Xcompiler -fPIC'
13323 esac
13324 else
13325 # PORTME Check for flag to pass linker flags through the system compiler.
13326 case $host_os in
13327 aix*)
13328 lt_prog_compiler_wl_FC='-Wl,'
13329 if test "$host_cpu" = ia64; then
13330 # AIX 5 now supports IA64 processor
13331 lt_prog_compiler_static_FC='-Bstatic'
13332 else
13333 lt_prog_compiler_static_FC='-bnso -bI:/lib/syscalls.exp'
13337 mingw* | cygwin* | pw32* | os2* | cegcc*)
13338 # This hack is so that the source file can tell whether it is being
13339 # built for inclusion in a dll (and should export symbols for example).
13340 lt_prog_compiler_pic_FC='-DDLL_EXPORT'
13343 hpux9* | hpux10* | hpux11*)
13344 lt_prog_compiler_wl_FC='-Wl,'
13345 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13346 # not for PA HP-UX.
13347 case $host_cpu in
13348 hppa*64*|ia64*)
13349 # +Z the default
13352 lt_prog_compiler_pic_FC='+Z'
13354 esac
13355 # Is there a better lt_prog_compiler_static that works with the bundled CC?
13356 lt_prog_compiler_static_FC='${wl}-a ${wl}archive'
13359 irix5* | irix6* | nonstopux*)
13360 lt_prog_compiler_wl_FC='-Wl,'
13361 # PIC (with -KPIC) is the default.
13362 lt_prog_compiler_static_FC='-non_shared'
13365 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13366 case $cc_basename in
13367 # old Intel for x86_64 which still supported -KPIC.
13368 ecc*)
13369 lt_prog_compiler_wl_FC='-Wl,'
13370 lt_prog_compiler_pic_FC='-KPIC'
13371 lt_prog_compiler_static_FC='-static'
13373 # icc used to be incompatible with GCC.
13374 # ICC 10 doesn't accept -KPIC any more.
13375 icc* | ifort*)
13376 lt_prog_compiler_wl_FC='-Wl,'
13377 lt_prog_compiler_pic_FC='-fPIC'
13378 lt_prog_compiler_static_FC='-static'
13380 # Lahey Fortran 8.1.
13381 lf95*)
13382 lt_prog_compiler_wl_FC='-Wl,'
13383 lt_prog_compiler_pic_FC='--shared'
13384 lt_prog_compiler_static_FC='--static'
13386 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
13387 # Portland Group compilers (*not* the Pentium gcc compiler,
13388 # which looks to be a dead project)
13389 lt_prog_compiler_wl_FC='-Wl,'
13390 lt_prog_compiler_pic_FC='-fpic'
13391 lt_prog_compiler_static_FC='-Bstatic'
13393 ccc*)
13394 lt_prog_compiler_wl_FC='-Wl,'
13395 # All Alpha code is PIC.
13396 lt_prog_compiler_static_FC='-non_shared'
13398 xl* | bgxl* | bgf* | mpixl*)
13399 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
13400 lt_prog_compiler_wl_FC='-Wl,'
13401 lt_prog_compiler_pic_FC='-qpic'
13402 lt_prog_compiler_static_FC='-qstaticlink'
13405 case `$CC -V 2>&1 | sed 5q` in
13406 *Sun\ F* | *Sun*Fortran*)
13407 # Sun Fortran 8.3 passes all unrecognized flags to the linker
13408 lt_prog_compiler_pic_FC='-KPIC'
13409 lt_prog_compiler_static_FC='-Bstatic'
13410 lt_prog_compiler_wl_FC=''
13412 *Sun\ C*)
13413 # Sun C 5.9
13414 lt_prog_compiler_pic_FC='-KPIC'
13415 lt_prog_compiler_static_FC='-Bstatic'
13416 lt_prog_compiler_wl_FC='-Wl,'
13418 esac
13420 esac
13423 newsos6)
13424 lt_prog_compiler_pic_FC='-KPIC'
13425 lt_prog_compiler_static_FC='-Bstatic'
13428 *nto* | *qnx*)
13429 # QNX uses GNU C++, but need to define -shared option too, otherwise
13430 # it will coredump.
13431 lt_prog_compiler_pic_FC='-fPIC -shared'
13434 osf3* | osf4* | osf5*)
13435 lt_prog_compiler_wl_FC='-Wl,'
13436 # All OSF/1 code is PIC.
13437 lt_prog_compiler_static_FC='-non_shared'
13440 rdos*)
13441 lt_prog_compiler_static_FC='-non_shared'
13444 solaris*)
13445 lt_prog_compiler_pic_FC='-KPIC'
13446 lt_prog_compiler_static_FC='-Bstatic'
13447 case $cc_basename in
13448 f77* | f90* | f95*)
13449 lt_prog_compiler_wl_FC='-Qoption ld ';;
13451 lt_prog_compiler_wl_FC='-Wl,';;
13452 esac
13455 sunos4*)
13456 lt_prog_compiler_wl_FC='-Qoption ld '
13457 lt_prog_compiler_pic_FC='-PIC'
13458 lt_prog_compiler_static_FC='-Bstatic'
13461 sysv4 | sysv4.2uw2* | sysv4.3*)
13462 lt_prog_compiler_wl_FC='-Wl,'
13463 lt_prog_compiler_pic_FC='-KPIC'
13464 lt_prog_compiler_static_FC='-Bstatic'
13467 sysv4*MP*)
13468 if test -d /usr/nec ;then
13469 lt_prog_compiler_pic_FC='-Kconform_pic'
13470 lt_prog_compiler_static_FC='-Bstatic'
13474 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13475 lt_prog_compiler_wl_FC='-Wl,'
13476 lt_prog_compiler_pic_FC='-KPIC'
13477 lt_prog_compiler_static_FC='-Bstatic'
13480 unicos*)
13481 lt_prog_compiler_wl_FC='-Wl,'
13482 lt_prog_compiler_can_build_shared_FC=no
13485 uts4*)
13486 lt_prog_compiler_pic_FC='-pic'
13487 lt_prog_compiler_static_FC='-Bstatic'
13491 lt_prog_compiler_can_build_shared_FC=no
13493 esac
13496 case $host_os in
13497 # For platforms which do not support PIC, -DPIC is meaningless:
13498 *djgpp*)
13499 lt_prog_compiler_pic_FC=
13502 lt_prog_compiler_pic_FC="$lt_prog_compiler_pic_FC"
13504 esac
13505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_FC" >&5
13506 $as_echo "$lt_prog_compiler_pic_FC" >&6; }
13511 # Check to make sure the PIC flag actually works.
13513 if test -n "$lt_prog_compiler_pic_FC"; then
13514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_FC works" >&5
13515 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_FC works... " >&6; }
13516 if test "${lt_cv_prog_compiler_pic_works_FC+set}" = set; then :
13517 $as_echo_n "(cached) " >&6
13518 else
13519 lt_cv_prog_compiler_pic_works_FC=no
13520 ac_outfile=conftest.$ac_objext
13521 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13522 lt_compiler_flag="$lt_prog_compiler_pic_FC"
13523 # Insert the option either (1) after the last *FLAGS variable, or
13524 # (2) before a word containing "conftest.", or (3) at the end.
13525 # Note that $ac_compile itself does not contain backslashes and begins
13526 # with a dollar sign (not a hyphen), so the echo should work correctly.
13527 # The option is referenced via a variable to avoid confusing sed.
13528 lt_compile=`echo "$ac_compile" | $SED \
13529 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13530 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13531 -e 's:$: $lt_compiler_flag:'`
13532 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13533 (eval "$lt_compile" 2>conftest.err)
13534 ac_status=$?
13535 cat conftest.err >&5
13536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13537 if (exit $ac_status) && test -s "$ac_outfile"; then
13538 # The compiler can only warn and ignore the option if not recognized
13539 # So say no if there are warnings other than the usual output.
13540 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13541 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13542 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13543 lt_cv_prog_compiler_pic_works_FC=yes
13546 $RM conftest*
13549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_FC" >&5
13550 $as_echo "$lt_cv_prog_compiler_pic_works_FC" >&6; }
13552 if test x"$lt_cv_prog_compiler_pic_works_FC" = xyes; then
13553 case $lt_prog_compiler_pic_FC in
13554 "" | " "*) ;;
13555 *) lt_prog_compiler_pic_FC=" $lt_prog_compiler_pic_FC" ;;
13556 esac
13557 else
13558 lt_prog_compiler_pic_FC=
13559 lt_prog_compiler_can_build_shared_FC=no
13567 # Check to make sure the static flag actually works.
13569 wl=$lt_prog_compiler_wl_FC eval lt_tmp_static_flag=\"$lt_prog_compiler_static_FC\"
13570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13571 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13572 if test "${lt_cv_prog_compiler_static_works_FC+set}" = set; then :
13573 $as_echo_n "(cached) " >&6
13574 else
13575 lt_cv_prog_compiler_static_works_FC=no
13576 save_LDFLAGS="$LDFLAGS"
13577 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13578 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13579 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13580 # The linker can only warn and ignore the option if not recognized
13581 # So say no if there are warnings
13582 if test -s conftest.err; then
13583 # Append any errors to the config.log.
13584 cat conftest.err 1>&5
13585 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13586 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13587 if diff conftest.exp conftest.er2 >/dev/null; then
13588 lt_cv_prog_compiler_static_works_FC=yes
13590 else
13591 lt_cv_prog_compiler_static_works_FC=yes
13594 $RM -r conftest*
13595 LDFLAGS="$save_LDFLAGS"
13598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_FC" >&5
13599 $as_echo "$lt_cv_prog_compiler_static_works_FC" >&6; }
13601 if test x"$lt_cv_prog_compiler_static_works_FC" = xyes; then
13603 else
13604 lt_prog_compiler_static_FC=
13610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13611 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13612 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then :
13613 $as_echo_n "(cached) " >&6
13614 else
13615 lt_cv_prog_compiler_c_o_FC=no
13616 $RM -r conftest 2>/dev/null
13617 mkdir conftest
13618 cd conftest
13619 mkdir out
13620 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13622 lt_compiler_flag="-o out/conftest2.$ac_objext"
13623 # Insert the option either (1) after the last *FLAGS variable, or
13624 # (2) before a word containing "conftest.", or (3) at the end.
13625 # Note that $ac_compile itself does not contain backslashes and begins
13626 # with a dollar sign (not a hyphen), so the echo should work correctly.
13627 lt_compile=`echo "$ac_compile" | $SED \
13628 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13629 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13630 -e 's:$: $lt_compiler_flag:'`
13631 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13632 (eval "$lt_compile" 2>out/conftest.err)
13633 ac_status=$?
13634 cat out/conftest.err >&5
13635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13636 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13637 then
13638 # The compiler can only warn and ignore the option if not recognized
13639 # So say no if there are warnings
13640 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13641 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13642 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13643 lt_cv_prog_compiler_c_o_FC=yes
13646 chmod u+w . 2>&5
13647 $RM conftest*
13648 # SGI C++ compiler will create directory out/ii_files/ for
13649 # template instantiation
13650 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13651 $RM out/* && rmdir out
13652 cd ..
13653 $RM -r conftest
13654 $RM conftest*
13657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
13658 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
13662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13663 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13664 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then :
13665 $as_echo_n "(cached) " >&6
13666 else
13667 lt_cv_prog_compiler_c_o_FC=no
13668 $RM -r conftest 2>/dev/null
13669 mkdir conftest
13670 cd conftest
13671 mkdir out
13672 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13674 lt_compiler_flag="-o out/conftest2.$ac_objext"
13675 # Insert the option either (1) after the last *FLAGS variable, or
13676 # (2) before a word containing "conftest.", or (3) at the end.
13677 # Note that $ac_compile itself does not contain backslashes and begins
13678 # with a dollar sign (not a hyphen), so the echo should work correctly.
13679 lt_compile=`echo "$ac_compile" | $SED \
13680 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13681 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13682 -e 's:$: $lt_compiler_flag:'`
13683 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13684 (eval "$lt_compile" 2>out/conftest.err)
13685 ac_status=$?
13686 cat out/conftest.err >&5
13687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13688 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13689 then
13690 # The compiler can only warn and ignore the option if not recognized
13691 # So say no if there are warnings
13692 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13693 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13694 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13695 lt_cv_prog_compiler_c_o_FC=yes
13698 chmod u+w . 2>&5
13699 $RM conftest*
13700 # SGI C++ compiler will create directory out/ii_files/ for
13701 # template instantiation
13702 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13703 $RM out/* && rmdir out
13704 cd ..
13705 $RM -r conftest
13706 $RM conftest*
13709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
13710 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
13715 hard_links="nottested"
13716 if test "$lt_cv_prog_compiler_c_o_FC" = no && test "$need_locks" != no; then
13717 # do not overwrite the value of need_locks provided by the user
13718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13719 $as_echo_n "checking if we can lock with hard links... " >&6; }
13720 hard_links=yes
13721 $RM conftest*
13722 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13723 touch conftest.a
13724 ln conftest.a conftest.b 2>&5 || hard_links=no
13725 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13727 $as_echo "$hard_links" >&6; }
13728 if test "$hard_links" = no; then
13729 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13730 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13731 need_locks=warn
13733 else
13734 need_locks=no
13739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13740 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13742 runpath_var=
13743 allow_undefined_flag_FC=
13744 always_export_symbols_FC=no
13745 archive_cmds_FC=
13746 archive_expsym_cmds_FC=
13747 compiler_needs_object_FC=no
13748 enable_shared_with_static_runtimes_FC=no
13749 export_dynamic_flag_spec_FC=
13750 export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13751 hardcode_automatic_FC=no
13752 hardcode_direct_FC=no
13753 hardcode_direct_absolute_FC=no
13754 hardcode_libdir_flag_spec_FC=
13755 hardcode_libdir_flag_spec_ld_FC=
13756 hardcode_libdir_separator_FC=
13757 hardcode_minus_L_FC=no
13758 hardcode_shlibpath_var_FC=unsupported
13759 inherit_rpath_FC=no
13760 link_all_deplibs_FC=unknown
13761 module_cmds_FC=
13762 module_expsym_cmds_FC=
13763 old_archive_from_new_cmds_FC=
13764 old_archive_from_expsyms_cmds_FC=
13765 thread_safe_flag_spec_FC=
13766 whole_archive_flag_spec_FC=
13767 # include_expsyms should be a list of space-separated symbols to be *always*
13768 # included in the symbol list
13769 include_expsyms_FC=
13770 # exclude_expsyms can be an extended regexp of symbols to exclude
13771 # it will be wrapped by ` (' and `)$', so one must not match beginning or
13772 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
13773 # as well as any symbol that contains `d'.
13774 exclude_expsyms_FC='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13775 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
13776 # platforms (ab)use it in PIC code, but their linkers get confused if
13777 # the symbol is explicitly referenced. Since portable code cannot
13778 # rely on this symbol name, it's probably fine to never include it in
13779 # preloaded symbol tables.
13780 # Exclude shared library initialization/finalization symbols.
13781 extract_expsyms_cmds=
13783 case $host_os in
13784 cygwin* | mingw* | pw32* | cegcc*)
13785 # FIXME: the MSVC++ port hasn't been tested in a loooong time
13786 # When not using gcc, we currently assume that we are using
13787 # Microsoft Visual C++.
13788 if test "$GCC" != yes; then
13789 with_gnu_ld=no
13792 interix*)
13793 # we just hope/assume this is gcc and not c89 (= MSVC++)
13794 with_gnu_ld=yes
13796 openbsd*)
13797 with_gnu_ld=no
13799 esac
13801 ld_shlibs_FC=yes
13803 # On some targets, GNU ld is compatible enough with the native linker
13804 # that we're better off using the native interface for both.
13805 lt_use_gnu_ld_interface=no
13806 if test "$with_gnu_ld" = yes; then
13807 case $host_os in
13808 aix*)
13809 # The AIX port of GNU ld has always aspired to compatibility
13810 # with the native linker. However, as the warning in the GNU ld
13811 # block says, versions before 2.19.5* couldn't really create working
13812 # shared libraries, regardless of the interface used.
13813 case `$LD -v 2>&1` in
13814 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
13815 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
13816 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
13818 lt_use_gnu_ld_interface=yes
13820 esac
13823 lt_use_gnu_ld_interface=yes
13825 esac
13828 if test "$lt_use_gnu_ld_interface" = yes; then
13829 # If archive_cmds runs LD, not CC, wlarc should be empty
13830 wlarc='${wl}'
13832 # Set some defaults for GNU ld with shared library support. These
13833 # are reset later if shared libraries are not supported. Putting them
13834 # here allows them to be overridden if necessary.
13835 runpath_var=LD_RUN_PATH
13836 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
13837 export_dynamic_flag_spec_FC='${wl}--export-dynamic'
13838 # ancient GNU ld didn't support --whole-archive et. al.
13839 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
13840 whole_archive_flag_spec_FC="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13841 else
13842 whole_archive_flag_spec_FC=
13844 supports_anon_versioning=no
13845 case `$LD -v 2>&1` in
13846 *GNU\ gold*) supports_anon_versioning=yes ;;
13847 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
13848 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
13849 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
13850 *\ 2.11.*) ;; # other 2.11 versions
13851 *) supports_anon_versioning=yes ;;
13852 esac
13854 # See if GNU ld supports shared libraries.
13855 case $host_os in
13856 aix[3-9]*)
13857 # On AIX/PPC, the GNU linker is very broken
13858 if test "$host_cpu" != ia64; then
13859 ld_shlibs_FC=no
13860 cat <<_LT_EOF 1>&2
13862 *** Warning: the GNU linker, at least up to release 2.19, is reported
13863 *** to be unable to reliably create shared libraries on AIX.
13864 *** Therefore, libtool is disabling shared libraries support. If you
13865 *** really care for shared libraries, you may want to install binutils
13866 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
13867 *** You will then need to restart the configuration process.
13869 _LT_EOF
13873 amigaos*)
13874 case $host_cpu in
13875 powerpc)
13876 # see comment about AmigaOS4 .so support
13877 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13878 archive_expsym_cmds_FC=''
13880 m68k)
13881 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)'
13882 hardcode_libdir_flag_spec_FC='-L$libdir'
13883 hardcode_minus_L_FC=yes
13885 esac
13888 beos*)
13889 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13890 allow_undefined_flag_FC=unsupported
13891 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13892 # support --undefined. This deserves some investigation. FIXME
13893 archive_cmds_FC='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13894 else
13895 ld_shlibs_FC=no
13899 cygwin* | mingw* | pw32* | cegcc*)
13900 # _LT_TAGVAR(hardcode_libdir_flag_spec, FC) is actually meaningless,
13901 # as there is no search path for DLLs.
13902 hardcode_libdir_flag_spec_FC='-L$libdir'
13903 export_dynamic_flag_spec_FC='${wl}--export-all-symbols'
13904 allow_undefined_flag_FC=unsupported
13905 always_export_symbols_FC=no
13906 enable_shared_with_static_runtimes_FC=yes
13907 export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
13909 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
13910 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13911 # If the export-symbols file already is a .def file (1st line
13912 # is EXPORTS), use it as is; otherwise, prepend...
13913 archive_expsym_cmds_FC='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13914 cp $export_symbols $output_objdir/$soname.def;
13915 else
13916 echo EXPORTS > $output_objdir/$soname.def;
13917 cat $export_symbols >> $output_objdir/$soname.def;
13919 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13920 else
13921 ld_shlibs_FC=no
13925 haiku*)
13926 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13927 link_all_deplibs_FC=yes
13930 interix[3-9]*)
13931 hardcode_direct_FC=no
13932 hardcode_shlibpath_var_FC=no
13933 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
13934 export_dynamic_flag_spec_FC='${wl}-E'
13935 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13936 # Instead, shared libraries are loaded at an image base (0x10000000 by
13937 # default) and relocated if they conflict, which is a slow very memory
13938 # consuming and fragmenting process. To avoid this, we pick a random,
13939 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13940 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13941 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'
13942 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'
13945 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
13946 tmp_diet=no
13947 if test "$host_os" = linux-dietlibc; then
13948 case $cc_basename in
13949 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
13950 esac
13952 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
13953 && test "$tmp_diet" = no
13954 then
13955 tmp_addflag=
13956 tmp_sharedflag='-shared'
13957 case $cc_basename,$host_cpu in
13958 pgcc*) # Portland Group C compiler
13959 whole_archive_flag_spec_FC='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
13960 tmp_addflag=' $pic_flag'
13962 pgf77* | pgf90* | pgf95* | pgfortran*)
13963 # Portland Group f77 and f90 compilers
13964 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'
13965 tmp_addflag=' $pic_flag -Mnomain' ;;
13966 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
13967 tmp_addflag=' -i_dynamic' ;;
13968 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
13969 tmp_addflag=' -i_dynamic -nofor_main' ;;
13970 ifc* | ifort*) # Intel Fortran compiler
13971 tmp_addflag=' -nofor_main' ;;
13972 lf95*) # Lahey Fortran 8.1
13973 whole_archive_flag_spec_FC=
13974 tmp_sharedflag='--shared' ;;
13975 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
13976 tmp_sharedflag='-qmkshrobj'
13977 tmp_addflag= ;;
13978 nvcc*) # Cuda Compiler Driver 2.2
13979 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'
13980 compiler_needs_object_FC=yes
13982 esac
13983 case `$CC -V 2>&1 | sed 5q` in
13984 *Sun\ C*) # Sun C 5.9
13985 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'
13986 compiler_needs_object_FC=yes
13987 tmp_sharedflag='-G' ;;
13988 *Sun\ F*) # Sun Fortran 8.3
13989 tmp_sharedflag='-G' ;;
13990 esac
13991 archive_cmds_FC='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13993 if test "x$supports_anon_versioning" = xyes; then
13994 archive_expsym_cmds_FC='echo "{ global:" > $output_objdir/$libname.ver~
13995 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13996 echo "local: *; };" >> $output_objdir/$libname.ver~
13997 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14000 case $cc_basename in
14001 xlf* | bgf* | bgxlf* | mpixlf*)
14002 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
14003 whole_archive_flag_spec_FC='--whole-archive$convenience --no-whole-archive'
14004 hardcode_libdir_flag_spec_FC=
14005 hardcode_libdir_flag_spec_ld_FC='-rpath $libdir'
14006 archive_cmds_FC='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
14007 if test "x$supports_anon_versioning" = xyes; then
14008 archive_expsym_cmds_FC='echo "{ global:" > $output_objdir/$libname.ver~
14009 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14010 echo "local: *; };" >> $output_objdir/$libname.ver~
14011 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
14014 esac
14015 else
14016 ld_shlibs_FC=no
14020 netbsd*)
14021 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14022 archive_cmds_FC='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14023 wlarc=
14024 else
14025 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14026 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14030 solaris*)
14031 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
14032 ld_shlibs_FC=no
14033 cat <<_LT_EOF 1>&2
14035 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
14036 *** create shared libraries on Solaris systems. Therefore, libtool
14037 *** is disabling shared libraries support. We urge you to upgrade GNU
14038 *** binutils to release 2.9.1 or newer. Another option is to modify
14039 *** your PATH or compiler configuration so that the native linker is
14040 *** used, and then restart.
14042 _LT_EOF
14043 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14044 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14045 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14046 else
14047 ld_shlibs_FC=no
14051 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
14052 case `$LD -v 2>&1` in
14053 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
14054 ld_shlibs_FC=no
14055 cat <<_LT_EOF 1>&2
14057 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
14058 *** reliably create shared libraries on SCO systems. Therefore, libtool
14059 *** is disabling shared libraries support. We urge you to upgrade GNU
14060 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
14061 *** your PATH or compiler configuration so that the native linker is
14062 *** used, and then restart.
14064 _LT_EOF
14067 # For security reasons, it is highly recommended that you always
14068 # use absolute paths for naming shared libraries, and exclude the
14069 # DT_RUNPATH tag from executables and libraries. But doing so
14070 # requires that you compile everything twice, which is a pain.
14071 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14072 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
14073 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14074 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14075 else
14076 ld_shlibs_FC=no
14079 esac
14082 sunos4*)
14083 archive_cmds_FC='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14084 wlarc=
14085 hardcode_direct_FC=yes
14086 hardcode_shlibpath_var_FC=no
14090 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14091 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14092 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14093 else
14094 ld_shlibs_FC=no
14097 esac
14099 if test "$ld_shlibs_FC" = no; then
14100 runpath_var=
14101 hardcode_libdir_flag_spec_FC=
14102 export_dynamic_flag_spec_FC=
14103 whole_archive_flag_spec_FC=
14105 else
14106 # PORTME fill in a description of your system's linker (not GNU ld)
14107 case $host_os in
14108 aix3*)
14109 allow_undefined_flag_FC=unsupported
14110 always_export_symbols_FC=yes
14111 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'
14112 # Note: this linker hardcodes the directories in LIBPATH if there
14113 # are no directories specified by -L.
14114 hardcode_minus_L_FC=yes
14115 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14116 # Neither direct hardcoding nor static linking is supported with a
14117 # broken collect2.
14118 hardcode_direct_FC=unsupported
14122 aix[4-9]*)
14123 if test "$host_cpu" = ia64; then
14124 # On IA64, the linker does run time linking by default, so we don't
14125 # have to do anything special.
14126 aix_use_runtimelinking=no
14127 exp_sym_flag='-Bexport'
14128 no_entry_flag=""
14129 else
14130 # If we're using GNU nm, then we don't want the "-C" option.
14131 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14132 # Also, AIX nm treats weak defined symbols like other global
14133 # defined symbols, whereas GNU nm marks them as "W".
14134 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14135 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'
14136 else
14137 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'
14139 aix_use_runtimelinking=no
14141 # Test if we are trying to use run time linking or normal
14142 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14143 # need to do runtime linking.
14144 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
14145 for ld_flag in $LDFLAGS; do
14146 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
14147 aix_use_runtimelinking=yes
14148 break
14150 done
14152 esac
14154 exp_sym_flag='-bexport'
14155 no_entry_flag='-bnoentry'
14158 # When large executables or shared objects are built, AIX ld can
14159 # have problems creating the table of contents. If linking a library
14160 # or program results in "error TOC overflow" add -mminimal-toc to
14161 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14162 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14164 archive_cmds_FC=''
14165 hardcode_direct_FC=yes
14166 hardcode_direct_absolute_FC=yes
14167 hardcode_libdir_separator_FC=':'
14168 link_all_deplibs_FC=yes
14169 file_list_spec_FC='${wl}-f,'
14171 if test "$GCC" = yes; then
14172 case $host_os in aix4.[012]|aix4.[012].*)
14173 # We only want to do this on AIX 4.2 and lower, the check
14174 # below for broken collect2 doesn't work under 4.3+
14175 collect2name=`${CC} -print-prog-name=collect2`
14176 if test -f "$collect2name" &&
14177 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
14178 then
14179 # We have reworked collect2
14181 else
14182 # We have old collect2
14183 hardcode_direct_FC=unsupported
14184 # It fails to find uninstalled libraries when the uninstalled
14185 # path is not listed in the libpath. Setting hardcode_minus_L
14186 # to unsupported forces relinking
14187 hardcode_minus_L_FC=yes
14188 hardcode_libdir_flag_spec_FC='-L$libdir'
14189 hardcode_libdir_separator_FC=
14192 esac
14193 shared_flag='-shared'
14194 if test "$aix_use_runtimelinking" = yes; then
14195 shared_flag="$shared_flag "'${wl}-G'
14197 else
14198 # not using gcc
14199 if test "$host_cpu" = ia64; then
14200 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14201 # chokes on -Wl,-G. The following line is correct:
14202 shared_flag='-G'
14203 else
14204 if test "$aix_use_runtimelinking" = yes; then
14205 shared_flag='${wl}-G'
14206 else
14207 shared_flag='${wl}-bM:SRE'
14212 export_dynamic_flag_spec_FC='${wl}-bexpall'
14213 # It seems that -bexpall does not export symbols beginning with
14214 # underscore (_), so it is better to generate a list of symbols to export.
14215 always_export_symbols_FC=yes
14216 if test "$aix_use_runtimelinking" = yes; then
14217 # Warning - without using the other runtime loading flags (-brtl),
14218 # -berok will link without error, but may produce a broken library.
14219 allow_undefined_flag_FC='-berok'
14220 # Determine the default libpath from the value encoded in an
14221 # empty executable.
14222 if test x$gcc_no_link = xyes; then
14223 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14225 cat > conftest.$ac_ext <<_ACEOF
14226 program main
14229 _ACEOF
14230 if ac_fn_fc_try_link "$LINENO"; then :
14232 lt_aix_libpath_sed='
14233 /Import File Strings/,/^$/ {
14234 /^0/ {
14235 s/^0 *\(.*\)$/\1/
14239 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14240 # Check for a 64-bit object if we didn't find anything.
14241 if test -z "$aix_libpath"; then
14242 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14245 rm -f core conftest.err conftest.$ac_objext \
14246 conftest$ac_exeext conftest.$ac_ext
14247 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14249 hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath"
14250 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"
14251 else
14252 if test "$host_cpu" = ia64; then
14253 hardcode_libdir_flag_spec_FC='${wl}-R $libdir:/usr/lib:/lib'
14254 allow_undefined_flag_FC="-z nodefs"
14255 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"
14256 else
14257 # Determine the default libpath from the value encoded in an
14258 # empty executable.
14259 if test x$gcc_no_link = xyes; then
14260 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14262 cat > conftest.$ac_ext <<_ACEOF
14263 program main
14266 _ACEOF
14267 if ac_fn_fc_try_link "$LINENO"; then :
14269 lt_aix_libpath_sed='
14270 /Import File Strings/,/^$/ {
14271 /^0/ {
14272 s/^0 *\(.*\)$/\1/
14276 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14277 # Check for a 64-bit object if we didn't find anything.
14278 if test -z "$aix_libpath"; then
14279 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14282 rm -f core conftest.err conftest.$ac_objext \
14283 conftest$ac_exeext conftest.$ac_ext
14284 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14286 hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath"
14287 # Warning - without using the other run time loading flags,
14288 # -berok will link without error, but may produce a broken library.
14289 no_undefined_flag_FC=' ${wl}-bernotok'
14290 allow_undefined_flag_FC=' ${wl}-berok'
14291 if test "$with_gnu_ld" = yes; then
14292 # We only use this code for GNU lds that support --whole-archive.
14293 whole_archive_flag_spec_FC='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14294 else
14295 # Exported symbols can be pulled into shared objects from archives
14296 whole_archive_flag_spec_FC='$convenience'
14298 archive_cmds_need_lc_FC=yes
14299 # This is similar to how AIX traditionally builds its shared libraries.
14300 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'
14305 amigaos*)
14306 case $host_cpu in
14307 powerpc)
14308 # see comment about AmigaOS4 .so support
14309 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14310 archive_expsym_cmds_FC=''
14312 m68k)
14313 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)'
14314 hardcode_libdir_flag_spec_FC='-L$libdir'
14315 hardcode_minus_L_FC=yes
14317 esac
14320 bsdi[45]*)
14321 export_dynamic_flag_spec_FC=-rdynamic
14324 cygwin* | mingw* | pw32* | cegcc*)
14325 # When not using gcc, we currently assume that we are using
14326 # Microsoft Visual C++.
14327 # hardcode_libdir_flag_spec is actually meaningless, as there is
14328 # no search path for DLLs.
14329 hardcode_libdir_flag_spec_FC=' '
14330 allow_undefined_flag_FC=unsupported
14331 # Tell ltmain to make .lib files, not .a files.
14332 libext=lib
14333 # Tell ltmain to make .dll files, not .so files.
14334 shrext_cmds=".dll"
14335 # FIXME: Setting linknames here is a bad hack.
14336 archive_cmds_FC='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
14337 # The linker will automatically build a .lib file if we build a DLL.
14338 old_archive_from_new_cmds_FC='true'
14339 # FIXME: Should let the user specify the lib program.
14340 old_archive_cmds_FC='lib -OUT:$oldlib$oldobjs$old_deplibs'
14341 fix_srcfile_path_FC='`cygpath -w "$srcfile"`'
14342 enable_shared_with_static_runtimes_FC=yes
14345 darwin* | rhapsody*)
14348 archive_cmds_need_lc_FC=no
14349 hardcode_direct_FC=no
14350 hardcode_automatic_FC=yes
14351 hardcode_shlibpath_var_FC=unsupported
14352 if test "$lt_cv_ld_force_load" = "yes"; then
14353 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\"`'
14354 else
14355 whole_archive_flag_spec_FC=''
14357 link_all_deplibs_FC=yes
14358 allow_undefined_flag_FC="$_lt_dar_allow_undefined"
14359 case $cc_basename in
14360 ifort*) _lt_dar_can_shared=yes ;;
14361 *) _lt_dar_can_shared=$GCC ;;
14362 esac
14363 if test "$_lt_dar_can_shared" = "yes"; then
14364 output_verbose_link_cmd=func_echo_all
14365 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}"
14366 module_cmds_FC="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
14367 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}"
14368 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}"
14370 else
14371 ld_shlibs_FC=no
14376 dgux*)
14377 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14378 hardcode_libdir_flag_spec_FC='-L$libdir'
14379 hardcode_shlibpath_var_FC=no
14382 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
14383 # support. Future versions do this automatically, but an explicit c++rt0.o
14384 # does not break anything, and helps significantly (at the cost of a little
14385 # extra space).
14386 freebsd2.2*)
14387 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
14388 hardcode_libdir_flag_spec_FC='-R$libdir'
14389 hardcode_direct_FC=yes
14390 hardcode_shlibpath_var_FC=no
14393 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
14394 freebsd2.*)
14395 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14396 hardcode_direct_FC=yes
14397 hardcode_minus_L_FC=yes
14398 hardcode_shlibpath_var_FC=no
14401 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14402 freebsd* | dragonfly*)
14403 archive_cmds_FC='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14404 hardcode_libdir_flag_spec_FC='-R$libdir'
14405 hardcode_direct_FC=yes
14406 hardcode_shlibpath_var_FC=no
14409 hpux9*)
14410 if test "$GCC" = yes; then
14411 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'
14412 else
14413 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'
14415 hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
14416 hardcode_libdir_separator_FC=:
14417 hardcode_direct_FC=yes
14419 # hardcode_minus_L: Not really in the search PATH,
14420 # but as the default location of the library.
14421 hardcode_minus_L_FC=yes
14422 export_dynamic_flag_spec_FC='${wl}-E'
14425 hpux10*)
14426 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
14427 archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14428 else
14429 archive_cmds_FC='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14431 if test "$with_gnu_ld" = no; then
14432 hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
14433 hardcode_libdir_flag_spec_ld_FC='+b $libdir'
14434 hardcode_libdir_separator_FC=:
14435 hardcode_direct_FC=yes
14436 hardcode_direct_absolute_FC=yes
14437 export_dynamic_flag_spec_FC='${wl}-E'
14438 # hardcode_minus_L: Not really in the search PATH,
14439 # but as the default location of the library.
14440 hardcode_minus_L_FC=yes
14444 hpux11*)
14445 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
14446 case $host_cpu in
14447 hppa*64*)
14448 archive_cmds_FC='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14450 ia64*)
14451 archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14454 archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14456 esac
14457 else
14458 case $host_cpu in
14459 hppa*64*)
14460 archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14462 ia64*)
14463 archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14466 archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14468 esac
14470 if test "$with_gnu_ld" = no; then
14471 hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
14472 hardcode_libdir_separator_FC=:
14474 case $host_cpu in
14475 hppa*64*|ia64*)
14476 hardcode_direct_FC=no
14477 hardcode_shlibpath_var_FC=no
14480 hardcode_direct_FC=yes
14481 hardcode_direct_absolute_FC=yes
14482 export_dynamic_flag_spec_FC='${wl}-E'
14484 # hardcode_minus_L: Not really in the search PATH,
14485 # but as the default location of the library.
14486 hardcode_minus_L_FC=yes
14488 esac
14492 irix5* | irix6* | nonstopux*)
14493 if test "$GCC" = yes; then
14494 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'
14495 # Try to use the -exported_symbol ld option, if it does not
14496 # work, assume that -exports_file does not work either and
14497 # implicitly export all symbols.
14498 save_LDFLAGS="$LDFLAGS"
14499 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
14500 if test x$gcc_no_link = xyes; then
14501 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14503 cat > conftest.$ac_ext <<_ACEOF
14504 int foo(void) {}
14505 _ACEOF
14506 if ac_fn_fc_try_link "$LINENO"; then :
14507 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'
14510 rm -f core conftest.err conftest.$ac_objext \
14511 conftest$ac_exeext conftest.$ac_ext
14512 LDFLAGS="$save_LDFLAGS"
14513 else
14514 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'
14515 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'
14517 archive_cmds_need_lc_FC='no'
14518 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
14519 hardcode_libdir_separator_FC=:
14520 inherit_rpath_FC=yes
14521 link_all_deplibs_FC=yes
14524 netbsd*)
14525 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14526 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
14527 else
14528 archive_cmds_FC='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
14530 hardcode_libdir_flag_spec_FC='-R$libdir'
14531 hardcode_direct_FC=yes
14532 hardcode_shlibpath_var_FC=no
14535 newsos6)
14536 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14537 hardcode_direct_FC=yes
14538 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
14539 hardcode_libdir_separator_FC=:
14540 hardcode_shlibpath_var_FC=no
14543 *nto* | *qnx*)
14546 openbsd*)
14547 if test -f /usr/libexec/ld.so; then
14548 hardcode_direct_FC=yes
14549 hardcode_shlibpath_var_FC=no
14550 hardcode_direct_absolute_FC=yes
14551 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14552 archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14553 archive_expsym_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
14554 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
14555 export_dynamic_flag_spec_FC='${wl}-E'
14556 else
14557 case $host_os in
14558 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
14559 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14560 hardcode_libdir_flag_spec_FC='-R$libdir'
14563 archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14564 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
14566 esac
14568 else
14569 ld_shlibs_FC=no
14573 os2*)
14574 hardcode_libdir_flag_spec_FC='-L$libdir'
14575 hardcode_minus_L_FC=yes
14576 allow_undefined_flag_FC=unsupported
14577 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'
14578 old_archive_from_new_cmds_FC='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
14581 osf3*)
14582 if test "$GCC" = yes; then
14583 allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*'
14584 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'
14585 else
14586 allow_undefined_flag_FC=' -expect_unresolved \*'
14587 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'
14589 archive_cmds_need_lc_FC='no'
14590 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
14591 hardcode_libdir_separator_FC=:
14594 osf4* | osf5*) # as osf3* with the addition of -msym flag
14595 if test "$GCC" = yes; then
14596 allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*'
14597 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'
14598 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
14599 else
14600 allow_undefined_flag_FC=' -expect_unresolved \*'
14601 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'
14602 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~
14603 $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'
14605 # Both c and cxx compiler support -rpath directly
14606 hardcode_libdir_flag_spec_FC='-rpath $libdir'
14608 archive_cmds_need_lc_FC='no'
14609 hardcode_libdir_separator_FC=:
14612 solaris*)
14613 no_undefined_flag_FC=' -z defs'
14614 if test "$GCC" = yes; then
14615 wlarc='${wl}'
14616 archive_cmds_FC='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14617 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14618 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
14619 else
14620 case `$CC -V 2>&1` in
14621 *"Compilers 5.0"*)
14622 wlarc=''
14623 archive_cmds_FC='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
14624 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14625 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
14628 wlarc='${wl}'
14629 archive_cmds_FC='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
14630 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14631 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
14633 esac
14635 hardcode_libdir_flag_spec_FC='-R$libdir'
14636 hardcode_shlibpath_var_FC=no
14637 case $host_os in
14638 solaris2.[0-5] | solaris2.[0-5].*) ;;
14640 # The compiler driver will combine and reorder linker options,
14641 # but understands `-z linker_flag'. GCC discards it without `$wl',
14642 # but is careful enough not to reorder.
14643 # Supported since Solaris 2.6 (maybe 2.5.1?)
14644 if test "$GCC" = yes; then
14645 whole_archive_flag_spec_FC='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14646 else
14647 whole_archive_flag_spec_FC='-z allextract$convenience -z defaultextract'
14650 esac
14651 link_all_deplibs_FC=yes
14654 sunos4*)
14655 if test "x$host_vendor" = xsequent; then
14656 # Use $CC to link under sequent, because it throws in some extra .o
14657 # files that make .init and .fini sections work.
14658 archive_cmds_FC='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
14659 else
14660 archive_cmds_FC='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
14662 hardcode_libdir_flag_spec_FC='-L$libdir'
14663 hardcode_direct_FC=yes
14664 hardcode_minus_L_FC=yes
14665 hardcode_shlibpath_var_FC=no
14668 sysv4)
14669 case $host_vendor in
14670 sni)
14671 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14672 hardcode_direct_FC=yes # is this really true???
14674 siemens)
14675 ## LD is ld it makes a PLAMLIB
14676 ## CC just makes a GrossModule.
14677 archive_cmds_FC='$LD -G -o $lib $libobjs $deplibs $linker_flags'
14678 reload_cmds_FC='$CC -r -o $output$reload_objs'
14679 hardcode_direct_FC=no
14681 motorola)
14682 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14683 hardcode_direct_FC=no #Motorola manual says yes, but my tests say they lie
14685 esac
14686 runpath_var='LD_RUN_PATH'
14687 hardcode_shlibpath_var_FC=no
14690 sysv4.3*)
14691 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14692 hardcode_shlibpath_var_FC=no
14693 export_dynamic_flag_spec_FC='-Bexport'
14696 sysv4*MP*)
14697 if test -d /usr/nec; then
14698 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14699 hardcode_shlibpath_var_FC=no
14700 runpath_var=LD_RUN_PATH
14701 hardcode_runpath_var=yes
14702 ld_shlibs_FC=yes
14706 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
14707 no_undefined_flag_FC='${wl}-z,text'
14708 archive_cmds_need_lc_FC=no
14709 hardcode_shlibpath_var_FC=no
14710 runpath_var='LD_RUN_PATH'
14712 if test "$GCC" = yes; then
14713 archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14714 archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14715 else
14716 archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14717 archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14721 sysv5* | sco3.2v5* | sco5v6*)
14722 # Note: We can NOT use -z defs as we might desire, because we do not
14723 # link with -lc, and that would cause any symbols used from libc to
14724 # always be unresolved, which means just about no library would
14725 # ever link correctly. If we're not using GNU ld we use -z text
14726 # though, which does catch some bad symbols but isn't as heavy-handed
14727 # as -z defs.
14728 no_undefined_flag_FC='${wl}-z,text'
14729 allow_undefined_flag_FC='${wl}-z,nodefs'
14730 archive_cmds_need_lc_FC=no
14731 hardcode_shlibpath_var_FC=no
14732 hardcode_libdir_flag_spec_FC='${wl}-R,$libdir'
14733 hardcode_libdir_separator_FC=':'
14734 link_all_deplibs_FC=yes
14735 export_dynamic_flag_spec_FC='${wl}-Bexport'
14736 runpath_var='LD_RUN_PATH'
14738 if test "$GCC" = yes; then
14739 archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14740 archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14741 else
14742 archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14743 archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14747 uts4*)
14748 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14749 hardcode_libdir_flag_spec_FC='-L$libdir'
14750 hardcode_shlibpath_var_FC=no
14754 ld_shlibs_FC=no
14756 esac
14758 if test x$host_vendor = xsni; then
14759 case $host in
14760 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
14761 export_dynamic_flag_spec_FC='${wl}-Blargedynsym'
14763 esac
14767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_FC" >&5
14768 $as_echo "$ld_shlibs_FC" >&6; }
14769 test "$ld_shlibs_FC" = no && can_build_shared=no
14771 with_gnu_ld_FC=$with_gnu_ld
14779 # Do we need to explicitly link libc?
14781 case "x$archive_cmds_need_lc_FC" in
14782 x|xyes)
14783 # Assume -lc should be added
14784 archive_cmds_need_lc_FC=yes
14786 if test "$enable_shared" = yes && test "$GCC" = yes; then
14787 case $archive_cmds_FC in
14788 *'~'*)
14789 # FIXME: we may have to deal with multi-command sequences.
14791 '$CC '*)
14792 # Test whether the compiler implicitly links with -lc since on some
14793 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14794 # to ld, don't add -lc before -lgcc.
14795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14796 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14797 if test "${lt_cv_archive_cmds_need_lc_FC+set}" = set; then :
14798 $as_echo_n "(cached) " >&6
14799 else
14800 $RM conftest*
14801 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14803 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14804 (eval $ac_compile) 2>&5
14805 ac_status=$?
14806 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14807 test $ac_status = 0; } 2>conftest.err; then
14808 soname=conftest
14809 lib=conftest
14810 libobjs=conftest.$ac_objext
14811 deplibs=
14812 wl=$lt_prog_compiler_wl_FC
14813 pic_flag=$lt_prog_compiler_pic_FC
14814 compiler_flags=-v
14815 linker_flags=-v
14816 verstring=
14817 output_objdir=.
14818 libname=conftest
14819 lt_save_allow_undefined_flag=$allow_undefined_flag_FC
14820 allow_undefined_flag_FC=
14821 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14822 (eval $archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14823 ac_status=$?
14824 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14825 test $ac_status = 0; }
14826 then
14827 lt_cv_archive_cmds_need_lc_FC=no
14828 else
14829 lt_cv_archive_cmds_need_lc_FC=yes
14831 allow_undefined_flag_FC=$lt_save_allow_undefined_flag
14832 else
14833 cat conftest.err 1>&5
14835 $RM conftest*
14838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_FC" >&5
14839 $as_echo "$lt_cv_archive_cmds_need_lc_FC" >&6; }
14840 archive_cmds_need_lc_FC=$lt_cv_archive_cmds_need_lc_FC
14842 esac
14845 esac
14910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14911 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14913 library_names_spec=
14914 libname_spec='lib$name'
14915 soname_spec=
14916 shrext_cmds=".so"
14917 postinstall_cmds=
14918 postuninstall_cmds=
14919 finish_cmds=
14920 finish_eval=
14921 shlibpath_var=
14922 shlibpath_overrides_runpath=unknown
14923 version_type=none
14924 dynamic_linker="$host_os ld.so"
14925 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14926 need_lib_prefix=unknown
14927 hardcode_into_libs=no
14929 # when you set need_version to no, make sure it does not cause -set_version
14930 # flags to be left without arguments
14931 need_version=unknown
14933 case $host_os in
14934 aix3*)
14935 version_type=linux
14936 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14937 shlibpath_var=LIBPATH
14939 # AIX 3 has no versioning support, so we append a major version to the name.
14940 soname_spec='${libname}${release}${shared_ext}$major'
14943 aix[4-9]*)
14944 version_type=linux
14945 need_lib_prefix=no
14946 need_version=no
14947 hardcode_into_libs=yes
14948 if test "$host_cpu" = ia64; then
14949 # AIX 5 supports IA64
14950 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14951 shlibpath_var=LD_LIBRARY_PATH
14952 else
14953 # With GCC up to 2.95.x, collect2 would create an import file
14954 # for dependence libraries. The import file would start with
14955 # the line `#! .'. This would cause the generated library to
14956 # depend on `.', always an invalid library. This was fixed in
14957 # development snapshots of GCC prior to 3.0.
14958 case $host_os in
14959 aix4 | aix4.[01] | aix4.[01].*)
14960 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14961 echo ' yes '
14962 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14964 else
14965 can_build_shared=no
14968 esac
14969 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14970 # soname into executable. Probably we can add versioning support to
14971 # collect2, so additional links can be useful in future.
14972 if test "$aix_use_runtimelinking" = yes; then
14973 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14974 # instead of lib<name>.a to let people know that these are not
14975 # typical AIX shared libraries.
14976 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14977 else
14978 # We preserve .a as extension for shared libraries through AIX4.2
14979 # and later when we are not doing run time linking.
14980 library_names_spec='${libname}${release}.a $libname.a'
14981 soname_spec='${libname}${release}${shared_ext}$major'
14983 shlibpath_var=LIBPATH
14987 amigaos*)
14988 case $host_cpu in
14989 powerpc)
14990 # Since July 2007 AmigaOS4 officially supports .so libraries.
14991 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14992 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14994 m68k)
14995 library_names_spec='$libname.ixlibrary $libname.a'
14996 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14997 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'
14999 esac
15002 beos*)
15003 library_names_spec='${libname}${shared_ext}'
15004 dynamic_linker="$host_os ld.so"
15005 shlibpath_var=LIBRARY_PATH
15008 bsdi[45]*)
15009 version_type=linux
15010 need_version=no
15011 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15012 soname_spec='${libname}${release}${shared_ext}$major'
15013 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
15014 shlibpath_var=LD_LIBRARY_PATH
15015 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15016 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
15017 # the default ld.so.conf also contains /usr/contrib/lib and
15018 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15019 # libtool to hard-code these into programs
15022 cygwin* | mingw* | pw32* | cegcc*)
15023 version_type=windows
15024 shrext_cmds=".dll"
15025 need_version=no
15026 need_lib_prefix=no
15028 case $GCC,$host_os in
15029 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
15030 library_names_spec='$libname.dll.a'
15031 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15032 postinstall_cmds='base_file=`basename \${file}`~
15033 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15034 dldir=$destdir/`dirname \$dlpath`~
15035 test -d \$dldir || mkdir -p \$dldir~
15036 $install_prog $dir/$dlname \$dldir/$dlname~
15037 chmod a+x \$dldir/$dlname~
15038 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15039 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15041 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15042 dlpath=$dir/\$dldll~
15043 $RM \$dlpath'
15044 shlibpath_overrides_runpath=yes
15046 case $host_os in
15047 cygwin*)
15048 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15049 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15052 mingw* | cegcc*)
15053 # MinGW DLLs use traditional 'lib' prefix
15054 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15056 pw32*)
15057 # pw32 DLLs use 'pw' prefix rather than 'lib'
15058 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15060 esac
15064 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15066 esac
15067 dynamic_linker='Win32 ld.exe'
15068 # FIXME: first we should search . and the directory the executable is in
15069 shlibpath_var=PATH
15072 darwin* | rhapsody*)
15073 dynamic_linker="$host_os dyld"
15074 version_type=darwin
15075 need_lib_prefix=no
15076 need_version=no
15077 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15078 soname_spec='${libname}${release}${major}$shared_ext'
15079 shlibpath_overrides_runpath=yes
15080 shlibpath_var=DYLD_LIBRARY_PATH
15081 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15083 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15086 dgux*)
15087 version_type=linux
15088 need_lib_prefix=no
15089 need_version=no
15090 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15091 soname_spec='${libname}${release}${shared_ext}$major'
15092 shlibpath_var=LD_LIBRARY_PATH
15095 freebsd* | dragonfly*)
15096 # DragonFly does not have aout. When/if they implement a new
15097 # versioning mechanism, adjust this.
15098 if test -x /usr/bin/objformat; then
15099 objformat=`/usr/bin/objformat`
15100 else
15101 case $host_os in
15102 freebsd[23].*) objformat=aout ;;
15103 *) objformat=elf ;;
15104 esac
15106 version_type=freebsd-$objformat
15107 case $version_type in
15108 freebsd-elf*)
15109 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15110 need_version=no
15111 need_lib_prefix=no
15113 freebsd-*)
15114 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15115 need_version=yes
15117 esac
15118 shlibpath_var=LD_LIBRARY_PATH
15119 case $host_os in
15120 freebsd2.*)
15121 shlibpath_overrides_runpath=yes
15123 freebsd3.[01]* | freebsdelf3.[01]*)
15124 shlibpath_overrides_runpath=yes
15125 hardcode_into_libs=yes
15127 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
15128 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
15129 shlibpath_overrides_runpath=no
15130 hardcode_into_libs=yes
15132 *) # from 4.6 on, and DragonFly
15133 shlibpath_overrides_runpath=yes
15134 hardcode_into_libs=yes
15136 esac
15139 gnu*)
15140 version_type=linux
15141 need_lib_prefix=no
15142 need_version=no
15143 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15144 soname_spec='${libname}${release}${shared_ext}$major'
15145 shlibpath_var=LD_LIBRARY_PATH
15146 hardcode_into_libs=yes
15149 haiku*)
15150 version_type=linux
15151 need_lib_prefix=no
15152 need_version=no
15153 dynamic_linker="$host_os runtime_loader"
15154 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15155 soname_spec='${libname}${release}${shared_ext}$major'
15156 shlibpath_var=LIBRARY_PATH
15157 shlibpath_overrides_runpath=yes
15158 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
15159 hardcode_into_libs=yes
15162 hpux9* | hpux10* | hpux11*)
15163 # Give a soname corresponding to the major version so that dld.sl refuses to
15164 # link against other versions.
15165 version_type=sunos
15166 need_lib_prefix=no
15167 need_version=no
15168 case $host_cpu in
15169 ia64*)
15170 shrext_cmds='.so'
15171 hardcode_into_libs=yes
15172 dynamic_linker="$host_os dld.so"
15173 shlibpath_var=LD_LIBRARY_PATH
15174 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15175 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15176 soname_spec='${libname}${release}${shared_ext}$major'
15177 if test "X$HPUX_IA64_MODE" = X32; then
15178 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15179 else
15180 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15182 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15184 hppa*64*)
15185 shrext_cmds='.sl'
15186 hardcode_into_libs=yes
15187 dynamic_linker="$host_os dld.sl"
15188 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15189 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15190 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15191 soname_spec='${libname}${release}${shared_ext}$major'
15192 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15193 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15196 shrext_cmds='.sl'
15197 dynamic_linker="$host_os dld.sl"
15198 shlibpath_var=SHLIB_PATH
15199 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15200 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15201 soname_spec='${libname}${release}${shared_ext}$major'
15203 esac
15204 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15205 postinstall_cmds='chmod 555 $lib'
15206 # or fails outright, so override atomically:
15207 install_override_mode=555
15210 interix[3-9]*)
15211 version_type=linux
15212 need_lib_prefix=no
15213 need_version=no
15214 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15215 soname_spec='${libname}${release}${shared_ext}$major'
15216 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
15217 shlibpath_var=LD_LIBRARY_PATH
15218 shlibpath_overrides_runpath=no
15219 hardcode_into_libs=yes
15222 irix5* | irix6* | nonstopux*)
15223 case $host_os in
15224 nonstopux*) version_type=nonstopux ;;
15226 if test "$lt_cv_prog_gnu_ld" = yes; then
15227 version_type=linux
15228 else
15229 version_type=irix
15230 fi ;;
15231 esac
15232 need_lib_prefix=no
15233 need_version=no
15234 soname_spec='${libname}${release}${shared_ext}$major'
15235 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15236 case $host_os in
15237 irix5* | nonstopux*)
15238 libsuff= shlibsuff=
15241 case $LD in # libtool.m4 will add one of these switches to LD
15242 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15243 libsuff= shlibsuff= libmagic=32-bit;;
15244 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15245 libsuff=32 shlibsuff=N32 libmagic=N32;;
15246 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15247 libsuff=64 shlibsuff=64 libmagic=64-bit;;
15248 *) libsuff= shlibsuff= libmagic=never-match;;
15249 esac
15251 esac
15252 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15253 shlibpath_overrides_runpath=no
15254 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15255 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15256 hardcode_into_libs=yes
15259 # No shared lib support for Linux oldld, aout, or coff.
15260 linux*oldld* | linux*aout* | linux*coff*)
15261 dynamic_linker=no
15264 # This must be Linux ELF.
15265 linux* | k*bsd*-gnu | kopensolaris*-gnu)
15266 version_type=linux
15267 need_lib_prefix=no
15268 need_version=no
15269 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15270 soname_spec='${libname}${release}${shared_ext}$major'
15271 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15272 shlibpath_var=LD_LIBRARY_PATH
15273 shlibpath_overrides_runpath=no
15275 # Some binutils ld are patched to set DT_RUNPATH
15276 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
15277 $as_echo_n "(cached) " >&6
15278 else
15279 lt_cv_shlibpath_overrides_runpath=no
15280 save_LDFLAGS=$LDFLAGS
15281 save_libdir=$libdir
15282 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_FC\"; \
15283 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_FC\""
15284 if test x$gcc_no_link = xyes; then
15285 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15287 cat > conftest.$ac_ext <<_ACEOF
15288 program main
15291 _ACEOF
15292 if ac_fn_fc_try_link "$LINENO"; then :
15293 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
15294 lt_cv_shlibpath_overrides_runpath=yes
15297 rm -f core conftest.err conftest.$ac_objext \
15298 conftest$ac_exeext conftest.$ac_ext
15299 LDFLAGS=$save_LDFLAGS
15300 libdir=$save_libdir
15304 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
15306 # This implies no fast_install, which is unacceptable.
15307 # Some rework will be needed to allow for fast_install
15308 # before this can be enabled.
15309 hardcode_into_libs=yes
15311 # Append ld.so.conf contents to the search path
15312 if test -f /etc/ld.so.conf; then
15313 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' ' '`
15314 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15317 # We used to test for /lib/ld.so.1 and disable shared libraries on
15318 # powerpc, because MkLinux only supported shared libraries with the
15319 # GNU dynamic linker. Since this was broken with cross compilers,
15320 # most powerpc-linux boxes support dynamic linking these days and
15321 # people can always --disable-shared, the test was removed, and we
15322 # assume the GNU/Linux dynamic linker is in use.
15323 dynamic_linker='GNU/Linux ld.so'
15326 netbsd*)
15327 version_type=sunos
15328 need_lib_prefix=no
15329 need_version=no
15330 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15331 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15332 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15333 dynamic_linker='NetBSD (a.out) ld.so'
15334 else
15335 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15336 soname_spec='${libname}${release}${shared_ext}$major'
15337 dynamic_linker='NetBSD ld.elf_so'
15339 shlibpath_var=LD_LIBRARY_PATH
15340 shlibpath_overrides_runpath=yes
15341 hardcode_into_libs=yes
15344 newsos6)
15345 version_type=linux
15346 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15347 shlibpath_var=LD_LIBRARY_PATH
15348 shlibpath_overrides_runpath=yes
15351 *nto* | *qnx*)
15352 version_type=qnx
15353 need_lib_prefix=no
15354 need_version=no
15355 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15356 soname_spec='${libname}${release}${shared_ext}$major'
15357 shlibpath_var=LD_LIBRARY_PATH
15358 shlibpath_overrides_runpath=no
15359 hardcode_into_libs=yes
15360 dynamic_linker='ldqnx.so'
15363 openbsd*)
15364 version_type=sunos
15365 sys_lib_dlsearch_path_spec="/usr/lib"
15366 need_lib_prefix=no
15367 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15368 case $host_os in
15369 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
15370 *) need_version=no ;;
15371 esac
15372 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15373 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15374 shlibpath_var=LD_LIBRARY_PATH
15375 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15376 case $host_os in
15377 openbsd2.[89] | openbsd2.[89].*)
15378 shlibpath_overrides_runpath=no
15381 shlibpath_overrides_runpath=yes
15383 esac
15384 else
15385 shlibpath_overrides_runpath=yes
15389 os2*)
15390 libname_spec='$name'
15391 shrext_cmds=".dll"
15392 need_lib_prefix=no
15393 library_names_spec='$libname${shared_ext} $libname.a'
15394 dynamic_linker='OS/2 ld.exe'
15395 shlibpath_var=LIBPATH
15398 osf3* | osf4* | osf5*)
15399 version_type=osf
15400 need_lib_prefix=no
15401 need_version=no
15402 soname_spec='${libname}${release}${shared_ext}$major'
15403 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15404 shlibpath_var=LD_LIBRARY_PATH
15405 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15406 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15409 rdos*)
15410 dynamic_linker=no
15413 solaris*)
15414 version_type=linux
15415 need_lib_prefix=no
15416 need_version=no
15417 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15418 soname_spec='${libname}${release}${shared_ext}$major'
15419 shlibpath_var=LD_LIBRARY_PATH
15420 shlibpath_overrides_runpath=yes
15421 hardcode_into_libs=yes
15422 # ldd complains unless libraries are executable
15423 postinstall_cmds='chmod +x $lib'
15426 sunos4*)
15427 version_type=sunos
15428 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15429 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15430 shlibpath_var=LD_LIBRARY_PATH
15431 shlibpath_overrides_runpath=yes
15432 if test "$with_gnu_ld" = yes; then
15433 need_lib_prefix=no
15435 need_version=yes
15438 sysv4 | sysv4.3*)
15439 version_type=linux
15440 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15441 soname_spec='${libname}${release}${shared_ext}$major'
15442 shlibpath_var=LD_LIBRARY_PATH
15443 case $host_vendor in
15444 sni)
15445 shlibpath_overrides_runpath=no
15446 need_lib_prefix=no
15447 runpath_var=LD_RUN_PATH
15449 siemens)
15450 need_lib_prefix=no
15452 motorola)
15453 need_lib_prefix=no
15454 need_version=no
15455 shlibpath_overrides_runpath=no
15456 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15458 esac
15461 sysv4*MP*)
15462 if test -d /usr/nec ;then
15463 version_type=linux
15464 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15465 soname_spec='$libname${shared_ext}.$major'
15466 shlibpath_var=LD_LIBRARY_PATH
15470 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
15471 version_type=freebsd-elf
15472 need_lib_prefix=no
15473 need_version=no
15474 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15475 soname_spec='${libname}${release}${shared_ext}$major'
15476 shlibpath_var=LD_LIBRARY_PATH
15477 shlibpath_overrides_runpath=yes
15478 hardcode_into_libs=yes
15479 if test "$with_gnu_ld" = yes; then
15480 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15481 else
15482 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
15483 case $host_os in
15484 sco3.2v5*)
15485 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
15487 esac
15489 sys_lib_dlsearch_path_spec='/usr/lib'
15492 tpf*)
15493 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15494 version_type=linux
15495 need_lib_prefix=no
15496 need_version=no
15497 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15498 shlibpath_var=LD_LIBRARY_PATH
15499 shlibpath_overrides_runpath=no
15500 hardcode_into_libs=yes
15503 uts4*)
15504 version_type=linux
15505 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15506 soname_spec='${libname}${release}${shared_ext}$major'
15507 shlibpath_var=LD_LIBRARY_PATH
15511 dynamic_linker=no
15513 esac
15514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15515 $as_echo "$dynamic_linker" >&6; }
15516 test "$dynamic_linker" = no && can_build_shared=no
15518 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15519 if test "$GCC" = yes; then
15520 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15523 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15524 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
15526 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15527 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
15567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15568 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15569 hardcode_action_FC=
15570 if test -n "$hardcode_libdir_flag_spec_FC" ||
15571 test -n "$runpath_var_FC" ||
15572 test "X$hardcode_automatic_FC" = "Xyes" ; then
15574 # We can hardcode non-existent directories.
15575 if test "$hardcode_direct_FC" != no &&
15576 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15577 # have to relink, otherwise we might link with an installed library
15578 # when we should be linking with a yet-to-be-installed one
15579 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, FC)" != no &&
15580 test "$hardcode_minus_L_FC" != no; then
15581 # Linking always hardcodes the temporary library directory.
15582 hardcode_action_FC=relink
15583 else
15584 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15585 hardcode_action_FC=immediate
15587 else
15588 # We cannot hardcode anything, or else we can only hardcode existing
15589 # directories.
15590 hardcode_action_FC=unsupported
15592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_FC" >&5
15593 $as_echo "$hardcode_action_FC" >&6; }
15595 if test "$hardcode_action_FC" = relink ||
15596 test "$inherit_rpath_FC" = yes; then
15597 # Fast installation is not supported
15598 enable_fast_install=no
15599 elif test "$shlibpath_overrides_runpath" = yes ||
15600 test "$enable_shared" = no; then
15601 # Fast installation is not necessary
15602 enable_fast_install=needless
15611 fi # test -n "$compiler"
15613 GCC=$lt_save_GCC
15614 CC="$lt_save_CC"
15615 fi # test "$_lt_disable_FC" != yes
15617 ac_ext=c
15618 ac_cpp='$CPP $CPPFLAGS'
15619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15625 # extra LD Flags which are required for targets
15626 case "${host}" in
15627 *-darwin*)
15628 # Darwin needs -single_module when linking libgfortran
15629 extra_ldflags_libgfortran=-Wl,-single_module
15631 esac
15634 # We need a working compiler at that point, otherwise give a clear
15635 # error message and bail out.
15637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the GNU Fortran compiler is working" >&5
15638 $as_echo_n "checking whether the GNU Fortran compiler is working... " >&6; }
15639 ac_ext=${ac_fc_srcext-f}
15640 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
15641 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
15642 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
15644 cat > conftest.$ac_ext <<_ACEOF
15646 program foo
15647 real, parameter :: bar = sin (12.34 / 2.5)
15648 end program foo
15649 _ACEOF
15650 if ac_fn_fc_try_compile "$LINENO"; then :
15651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15652 $as_echo "yes" >&6; }
15653 else
15654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15655 $as_echo "no" >&6; }
15656 as_fn_error "GNU Fortran is not working; please report a bug in http://gcc.gnu.org/bugzilla, attaching $PWD/config.log" "$LINENO" 5
15659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15660 ac_ext=c
15661 ac_cpp='$CPP $CPPFLAGS'
15662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15668 # Check whether --enable-largefile was given.
15669 if test "${enable_largefile+set}" = set; then :
15670 enableval=$enable_largefile;
15673 if test "$enable_largefile" != no; then
15675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
15676 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
15677 if test "${ac_cv_sys_largefile_CC+set}" = set; then :
15678 $as_echo_n "(cached) " >&6
15679 else
15680 ac_cv_sys_largefile_CC=no
15681 if test "$GCC" != yes; then
15682 ac_save_CC=$CC
15683 while :; do
15684 # IRIX 6.2 and later do not support large files by default,
15685 # so use the C compiler's -n32 option if that helps.
15686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15687 /* end confdefs.h. */
15688 #include <sys/types.h>
15689 /* Check that off_t can represent 2**63 - 1 correctly.
15690 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15691 since some C++ compilers masquerading as C compilers
15692 incorrectly reject 9223372036854775807. */
15693 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15694 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15695 && LARGE_OFF_T % 2147483647 == 1)
15696 ? 1 : -1];
15698 main ()
15702 return 0;
15704 _ACEOF
15705 if ac_fn_c_try_compile "$LINENO"; then :
15706 break
15708 rm -f core conftest.err conftest.$ac_objext
15709 CC="$CC -n32"
15710 if ac_fn_c_try_compile "$LINENO"; then :
15711 ac_cv_sys_largefile_CC=' -n32'; break
15713 rm -f core conftest.err conftest.$ac_objext
15714 break
15715 done
15716 CC=$ac_save_CC
15717 rm -f conftest.$ac_ext
15720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
15721 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
15722 if test "$ac_cv_sys_largefile_CC" != no; then
15723 CC=$CC$ac_cv_sys_largefile_CC
15726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
15727 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
15728 if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
15729 $as_echo_n "(cached) " >&6
15730 else
15731 while :; do
15732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15733 /* end confdefs.h. */
15734 #include <sys/types.h>
15735 /* Check that off_t can represent 2**63 - 1 correctly.
15736 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15737 since some C++ compilers masquerading as C compilers
15738 incorrectly reject 9223372036854775807. */
15739 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15740 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15741 && LARGE_OFF_T % 2147483647 == 1)
15742 ? 1 : -1];
15744 main ()
15748 return 0;
15750 _ACEOF
15751 if ac_fn_c_try_compile "$LINENO"; then :
15752 ac_cv_sys_file_offset_bits=no; break
15754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15756 /* end confdefs.h. */
15757 #define _FILE_OFFSET_BITS 64
15758 #include <sys/types.h>
15759 /* Check that off_t can represent 2**63 - 1 correctly.
15760 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15761 since some C++ compilers masquerading as C compilers
15762 incorrectly reject 9223372036854775807. */
15763 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15764 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15765 && LARGE_OFF_T % 2147483647 == 1)
15766 ? 1 : -1];
15768 main ()
15772 return 0;
15774 _ACEOF
15775 if ac_fn_c_try_compile "$LINENO"; then :
15776 ac_cv_sys_file_offset_bits=64; break
15778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15779 ac_cv_sys_file_offset_bits=unknown
15780 break
15781 done
15783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
15784 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
15785 case $ac_cv_sys_file_offset_bits in #(
15786 no | unknown) ;;
15788 cat >>confdefs.h <<_ACEOF
15789 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
15790 _ACEOF
15792 esac
15793 rm -rf conftest*
15794 if test $ac_cv_sys_file_offset_bits = unknown; then
15795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
15796 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
15797 if test "${ac_cv_sys_large_files+set}" = set; then :
15798 $as_echo_n "(cached) " >&6
15799 else
15800 while :; do
15801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15802 /* end confdefs.h. */
15803 #include <sys/types.h>
15804 /* Check that off_t can represent 2**63 - 1 correctly.
15805 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15806 since some C++ compilers masquerading as C compilers
15807 incorrectly reject 9223372036854775807. */
15808 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15809 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15810 && LARGE_OFF_T % 2147483647 == 1)
15811 ? 1 : -1];
15813 main ()
15817 return 0;
15819 _ACEOF
15820 if ac_fn_c_try_compile "$LINENO"; then :
15821 ac_cv_sys_large_files=no; break
15823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15825 /* end confdefs.h. */
15826 #define _LARGE_FILES 1
15827 #include <sys/types.h>
15828 /* Check that off_t can represent 2**63 - 1 correctly.
15829 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15830 since some C++ compilers masquerading as C compilers
15831 incorrectly reject 9223372036854775807. */
15832 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15833 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15834 && LARGE_OFF_T % 2147483647 == 1)
15835 ? 1 : -1];
15837 main ()
15841 return 0;
15843 _ACEOF
15844 if ac_fn_c_try_compile "$LINENO"; then :
15845 ac_cv_sys_large_files=1; break
15847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15848 ac_cv_sys_large_files=unknown
15849 break
15850 done
15852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
15853 $as_echo "$ac_cv_sys_large_files" >&6; }
15854 case $ac_cv_sys_large_files in #(
15855 no | unknown) ;;
15857 cat >>confdefs.h <<_ACEOF
15858 #define _LARGE_FILES $ac_cv_sys_large_files
15859 _ACEOF
15861 esac
15862 rm -rf conftest*
15867 # Types
15868 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15869 if test "x$ac_cv_type_off_t" = x""yes; then :
15871 else
15873 cat >>confdefs.h <<_ACEOF
15874 #define off_t long int
15875 _ACEOF
15880 ac_fn_c_check_type "$LINENO" "intptr_t" "ac_cv_type_intptr_t" "$ac_includes_default"
15881 if test "x$ac_cv_type_intptr_t" = x""yes; then :
15883 $as_echo "#define HAVE_INTPTR_T 1" >>confdefs.h
15885 else
15886 for ac_type in 'int' 'long int' 'long long int'; do
15887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15888 /* end confdefs.h. */
15889 $ac_includes_default
15891 main ()
15893 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
15894 test_array [0] = 0
15897 return 0;
15899 _ACEOF
15900 if ac_fn_c_try_compile "$LINENO"; then :
15902 cat >>confdefs.h <<_ACEOF
15903 #define intptr_t $ac_type
15904 _ACEOF
15906 ac_type=
15908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15909 test -z "$ac_type" && break
15910 done
15915 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default"
15916 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
15918 $as_echo "#define HAVE_UINTPTR_T 1" >>confdefs.h
15920 else
15921 for ac_type in 'unsigned int' 'unsigned long int' \
15922 'unsigned long long int'; do
15923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15924 /* end confdefs.h. */
15925 $ac_includes_default
15927 main ()
15929 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
15930 test_array [0] = 0
15933 return 0;
15935 _ACEOF
15936 if ac_fn_c_try_compile "$LINENO"; then :
15938 cat >>confdefs.h <<_ACEOF
15939 #define uintptr_t $ac_type
15940 _ACEOF
15942 ac_type=
15944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15945 test -z "$ac_type" && break
15946 done
15950 ac_fn_c_check_type "$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
15951 if test "x$ac_cv_type_ptrdiff_t" = x""yes; then :
15953 cat >>confdefs.h <<_ACEOF
15954 #define HAVE_PTRDIFF_T 1
15955 _ACEOF
15961 # check header files (we assume C89 is available, so don't check for that)
15965 for ac_header in $ac_header_list
15966 do :
15967 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15968 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
15970 eval as_val=\$$as_ac_Header
15971 if test "x$as_val" = x""yes; then :
15972 cat >>confdefs.h <<_ACEOF
15973 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15974 _ACEOF
15978 done
16010 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
16012 acx_cv_header_stdint=stddef.h
16013 acx_cv_header_stdint_kind="(already complete)"
16014 for i in stdint.h $inttype_headers; do
16015 unset ac_cv_type_uintptr_t
16016 unset ac_cv_type_uintmax_t
16017 unset ac_cv_type_int_least32_t
16018 unset ac_cv_type_int_fast32_t
16019 unset ac_cv_type_uint64_t
16020 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
16021 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
16022 #include <$i>
16024 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
16025 acx_cv_header_stdint=$i
16026 else
16027 continue
16030 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
16031 #include <$i>
16033 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
16035 else
16036 acx_cv_header_stdint_kind="(mostly complete)"
16039 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
16040 #include <$i>
16042 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
16044 else
16045 acx_cv_header_stdint_kind="(mostly complete)"
16048 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
16049 #include <$i>
16051 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
16053 else
16054 acx_cv_header_stdint_kind="(mostly complete)"
16057 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
16058 #include <$i>
16060 if test "x$ac_cv_type_uint64_t" = x""yes; then :
16062 else
16063 acx_cv_header_stdint_kind="(lacks uint64_t)"
16066 break
16067 done
16068 if test "$acx_cv_header_stdint" = stddef.h; then
16069 acx_cv_header_stdint_kind="(lacks uintmax_t)"
16070 for i in stdint.h $inttype_headers; do
16071 unset ac_cv_type_uintptr_t
16072 unset ac_cv_type_uint32_t
16073 unset ac_cv_type_uint64_t
16074 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
16075 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
16076 #include <$i>
16078 if test "x$ac_cv_type_uint32_t" = x""yes; then :
16079 acx_cv_header_stdint=$i
16080 else
16081 continue
16084 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
16085 #include <$i>
16087 if test "x$ac_cv_type_uint64_t" = x""yes; then :
16091 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
16092 #include <$i>
16094 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
16098 break
16099 done
16101 if test "$acx_cv_header_stdint" = stddef.h; then
16102 acx_cv_header_stdint_kind="(u_intXX_t style)"
16103 for i in sys/types.h $inttype_headers; do
16104 unset ac_cv_type_u_int32_t
16105 unset ac_cv_type_u_int64_t
16106 $as_echo_n "looking for u_intXX_t types in $i, " >&6
16107 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
16108 #include <$i>
16110 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
16111 acx_cv_header_stdint=$i
16112 else
16113 continue
16116 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
16117 #include <$i>
16119 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
16123 break
16124 done
16126 if test "$acx_cv_header_stdint" = stddef.h; then
16127 acx_cv_header_stdint_kind="(using manual detection)"
16130 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
16131 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
16132 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
16133 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
16134 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
16136 # ----------------- Summarize what we found so far
16138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in gstdint.h" >&5
16139 $as_echo_n "checking what to include in gstdint.h... " >&6; }
16141 case `$as_basename -- gstdint.h ||
16142 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
16143 Xgstdint.h : 'X\(//\)$' \| \
16144 Xgstdint.h : 'X\(/\)' \| . 2>/dev/null ||
16145 $as_echo X/gstdint.h |
16146 sed '/^.*\/\([^/][^/]*\)\/*$/{
16147 s//\1/
16150 /^X\/\(\/\/\)$/{
16151 s//\1/
16154 /^X\/\(\/\).*/{
16155 s//\1/
16158 s/.*/./; q'` in
16159 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
16160 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16161 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
16162 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16163 *) ;;
16164 esac
16166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
16167 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
16169 # ----------------- done included file, check C basic types --------
16171 # Lacking an uintptr_t? Test size of void *
16172 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
16173 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
16174 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16175 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16176 # This bug is HP SR number 8606223364.
16177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
16178 $as_echo_n "checking size of void *... " >&6; }
16179 if test "${ac_cv_sizeof_void_p+set}" = set; then :
16180 $as_echo_n "(cached) " >&6
16181 else
16182 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
16184 else
16185 if test "$ac_cv_type_void_p" = yes; then
16186 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16187 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16188 { as_fn_set_status 77
16189 as_fn_error "cannot compute sizeof (void *)
16190 See \`config.log' for more details." "$LINENO" 5; }; }
16191 else
16192 ac_cv_sizeof_void_p=0
16197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
16198 $as_echo "$ac_cv_sizeof_void_p" >&6; }
16202 cat >>confdefs.h <<_ACEOF
16203 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16204 _ACEOF
16207 esac
16209 # Lacking an uint64_t? Test size of long
16210 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
16211 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
16212 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16213 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16214 # This bug is HP SR number 8606223364.
16215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
16216 $as_echo_n "checking size of long... " >&6; }
16217 if test "${ac_cv_sizeof_long+set}" = set; then :
16218 $as_echo_n "(cached) " >&6
16219 else
16220 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
16222 else
16223 if test "$ac_cv_type_long" = yes; then
16224 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16225 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16226 { as_fn_set_status 77
16227 as_fn_error "cannot compute sizeof (long)
16228 See \`config.log' for more details." "$LINENO" 5; }; }
16229 else
16230 ac_cv_sizeof_long=0
16235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
16236 $as_echo "$ac_cv_sizeof_long" >&6; }
16240 cat >>confdefs.h <<_ACEOF
16241 #define SIZEOF_LONG $ac_cv_sizeof_long
16242 _ACEOF
16245 esac
16247 if test $acx_cv_header_stdint = stddef.h; then
16248 # Lacking a good header? Test size of everything and deduce all types.
16249 # The cast to long int works around a bug in the HP C Compiler
16250 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16251 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16252 # This bug is HP SR number 8606223364.
16253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
16254 $as_echo_n "checking size of int... " >&6; }
16255 if test "${ac_cv_sizeof_int+set}" = set; then :
16256 $as_echo_n "(cached) " >&6
16257 else
16258 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
16260 else
16261 if test "$ac_cv_type_int" = yes; then
16262 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16263 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16264 { as_fn_set_status 77
16265 as_fn_error "cannot compute sizeof (int)
16266 See \`config.log' for more details." "$LINENO" 5; }; }
16267 else
16268 ac_cv_sizeof_int=0
16273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
16274 $as_echo "$ac_cv_sizeof_int" >&6; }
16278 cat >>confdefs.h <<_ACEOF
16279 #define SIZEOF_INT $ac_cv_sizeof_int
16280 _ACEOF
16283 # The cast to long int works around a bug in the HP C Compiler
16284 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16285 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16286 # This bug is HP SR number 8606223364.
16287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
16288 $as_echo_n "checking size of short... " >&6; }
16289 if test "${ac_cv_sizeof_short+set}" = set; then :
16290 $as_echo_n "(cached) " >&6
16291 else
16292 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
16294 else
16295 if test "$ac_cv_type_short" = yes; then
16296 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16297 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16298 { as_fn_set_status 77
16299 as_fn_error "cannot compute sizeof (short)
16300 See \`config.log' for more details." "$LINENO" 5; }; }
16301 else
16302 ac_cv_sizeof_short=0
16307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
16308 $as_echo "$ac_cv_sizeof_short" >&6; }
16312 cat >>confdefs.h <<_ACEOF
16313 #define SIZEOF_SHORT $ac_cv_sizeof_short
16314 _ACEOF
16317 # The cast to long int works around a bug in the HP C Compiler
16318 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16319 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16320 # This bug is HP SR number 8606223364.
16321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
16322 $as_echo_n "checking size of char... " >&6; }
16323 if test "${ac_cv_sizeof_char+set}" = set; then :
16324 $as_echo_n "(cached) " >&6
16325 else
16326 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
16328 else
16329 if test "$ac_cv_type_char" = yes; then
16330 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16331 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16332 { as_fn_set_status 77
16333 as_fn_error "cannot compute sizeof (char)
16334 See \`config.log' for more details." "$LINENO" 5; }; }
16335 else
16336 ac_cv_sizeof_char=0
16341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
16342 $as_echo "$ac_cv_sizeof_char" >&6; }
16346 cat >>confdefs.h <<_ACEOF
16347 #define SIZEOF_CHAR $ac_cv_sizeof_char
16348 _ACEOF
16352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
16353 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
16354 case "$ac_cv_sizeof_char" in
16355 1) acx_cv_type_int8_t=char ;;
16356 *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
16357 esac
16358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
16359 $as_echo "$acx_cv_type_int8_t" >&6; }
16361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
16362 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
16363 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
16364 2:*) acx_cv_type_int16_t=int ;;
16365 *:2) acx_cv_type_int16_t=short ;;
16366 *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
16367 esac
16368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
16369 $as_echo "$acx_cv_type_int16_t" >&6; }
16371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
16372 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
16373 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
16374 4:*) acx_cv_type_int32_t=int ;;
16375 *:4) acx_cv_type_int32_t=long ;;
16376 *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
16377 esac
16378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
16379 $as_echo "$acx_cv_type_int32_t" >&6; }
16382 # These tests are here to make the output prettier
16384 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
16385 case "$ac_cv_sizeof_long" in
16386 8) acx_cv_type_int64_t=long ;;
16387 esac
16388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
16389 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
16390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
16391 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
16394 # Now we can use the above types
16396 if test "$ac_cv_type_uintptr_t" != yes; then
16397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
16398 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
16399 case $ac_cv_sizeof_void_p in
16400 2) acx_cv_type_intptr_t=int16_t ;;
16401 4) acx_cv_type_intptr_t=int32_t ;;
16402 8) acx_cv_type_intptr_t=int64_t ;;
16403 *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
16404 esac
16405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
16406 $as_echo "$acx_cv_type_intptr_t" >&6; }
16409 # ----------------- done all checks, emit header -------------
16410 ac_config_commands="$ac_config_commands gstdint.h"
16415 ac_fn_c_check_member "$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
16416 if test "x$ac_cv_member_struct_stat_st_blksize" = x""yes; then :
16418 cat >>confdefs.h <<_ACEOF
16419 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
16420 _ACEOF
16424 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16425 if test "x$ac_cv_member_struct_stat_st_blocks" = x""yes; then :
16427 cat >>confdefs.h <<_ACEOF
16428 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16429 _ACEOF
16433 ac_fn_c_check_member "$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
16434 if test "x$ac_cv_member_struct_stat_st_rdev" = x""yes; then :
16436 cat >>confdefs.h <<_ACEOF
16437 #define HAVE_STRUCT_STAT_ST_RDEV 1
16438 _ACEOF
16444 # Check for library functions.
16448 for ac_func in $ac_func_list
16449 do :
16450 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16451 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16452 eval as_val=\$$as_ac_var
16453 if test "x$as_val" = x""yes; then :
16454 cat >>confdefs.h <<_ACEOF
16455 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16456 _ACEOF
16459 done
16567 # Check strerror_r, cannot be above as versions with two and three arguments exist
16569 ac_save_CFLAGS="$CFLAGS"
16570 CFLAGS="-Wimplicit-function-declaration -Werror"
16571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16572 /* end confdefs.h. */
16573 #define _GNU_SOURCE 1
16574 #include <string.h>
16575 #include <locale.h>
16577 main ()
16579 char s[128]; strerror_r(5, s, 128);
16581 return 0;
16583 _ACEOF
16584 if ac_fn_c_try_compile "$LINENO"; then :
16586 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
16589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16590 CFLAGS="$ac_save_CFLAGS"
16592 ac_save_CFLAGS="$CFLAGS"
16593 CFLAGS="-Wimplicit-function-declaration -Werror"
16594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16595 /* end confdefs.h. */
16596 #define _GNU_SOURCE 1
16597 #include <string.h>
16598 #include <locale.h>
16600 main ()
16602 char s[128]; strerror_r(5, s);
16604 return 0;
16606 _ACEOF
16607 if ac_fn_c_try_compile "$LINENO"; then :
16609 $as_echo "#define HAVE_STRERROR_R_2ARGS 1" >>confdefs.h
16612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16613 CFLAGS="$ac_save_CFLAGS"
16616 # Check for C99 (and other IEEE) math functions
16617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16618 $as_echo_n "checking for sin in -lm... " >&6; }
16619 if test "${ac_cv_lib_m_sin+set}" = set; then :
16620 $as_echo_n "(cached) " >&6
16621 else
16622 ac_check_lib_save_LIBS=$LIBS
16623 LIBS="-lm $LIBS"
16624 if test x$gcc_no_link = xyes; then
16625 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16628 /* end confdefs.h. */
16630 /* Override any GCC internal prototype to avoid an error.
16631 Use char because int might match the return type of a GCC
16632 builtin and then its argument prototype would still apply. */
16633 #ifdef __cplusplus
16634 extern "C"
16635 #endif
16636 char sin ();
16638 main ()
16640 return sin ();
16642 return 0;
16644 _ACEOF
16645 if ac_fn_c_try_link "$LINENO"; then :
16646 ac_cv_lib_m_sin=yes
16647 else
16648 ac_cv_lib_m_sin=no
16650 rm -f core conftest.err conftest.$ac_objext \
16651 conftest$ac_exeext conftest.$ac_ext
16652 LIBS=$ac_check_lib_save_LIBS
16654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16655 $as_echo "$ac_cv_lib_m_sin" >&6; }
16656 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16657 cat >>confdefs.h <<_ACEOF
16658 #define HAVE_LIBM 1
16659 _ACEOF
16661 LIBS="-lm $LIBS"
16671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosf" >&5
16672 $as_echo_n "checking for acosf... " >&6; }
16673 if test "${gcc_cv_math_func_acosf+set}" = set; then :
16674 $as_echo_n "(cached) " >&6
16675 else
16676 if test x$gcc_no_link = xyes; then
16677 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16680 /* end confdefs.h. */
16682 #ifdef HAVE_COMPLEX_H
16683 #include <complex.h>
16684 #endif
16685 #ifdef HAVE_MATH_H
16686 #include <math.h>
16687 #endif
16689 int (*ptr)() = (int (*)())acosf;
16692 main ()
16694 return 0;
16697 _ACEOF
16698 if ac_fn_c_try_link "$LINENO"; then :
16699 gcc_cv_math_func_acosf=yes
16700 else
16701 gcc_cv_math_func_acosf=no
16703 rm -f core conftest.err conftest.$ac_objext \
16704 conftest$ac_exeext conftest.$ac_ext
16706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosf" >&5
16707 $as_echo "$gcc_cv_math_func_acosf" >&6; }
16708 if test $gcc_cv_math_func_acosf = yes; then
16710 cat >>confdefs.h <<_ACEOF
16711 #define HAVE_ACOSF 1
16712 _ACEOF
16719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acos" >&5
16720 $as_echo_n "checking for acos... " >&6; }
16721 if test "${gcc_cv_math_func_acos+set}" = set; then :
16722 $as_echo_n "(cached) " >&6
16723 else
16724 if test x$gcc_no_link = xyes; then
16725 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16728 /* end confdefs.h. */
16730 #ifdef HAVE_COMPLEX_H
16731 #include <complex.h>
16732 #endif
16733 #ifdef HAVE_MATH_H
16734 #include <math.h>
16735 #endif
16737 int (*ptr)() = (int (*)())acos;
16740 main ()
16742 return 0;
16745 _ACEOF
16746 if ac_fn_c_try_link "$LINENO"; then :
16747 gcc_cv_math_func_acos=yes
16748 else
16749 gcc_cv_math_func_acos=no
16751 rm -f core conftest.err conftest.$ac_objext \
16752 conftest$ac_exeext conftest.$ac_ext
16754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acos" >&5
16755 $as_echo "$gcc_cv_math_func_acos" >&6; }
16756 if test $gcc_cv_math_func_acos = yes; then
16758 cat >>confdefs.h <<_ACEOF
16759 #define HAVE_ACOS 1
16760 _ACEOF
16767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosl" >&5
16768 $as_echo_n "checking for acosl... " >&6; }
16769 if test "${gcc_cv_math_func_acosl+set}" = set; then :
16770 $as_echo_n "(cached) " >&6
16771 else
16772 if test x$gcc_no_link = xyes; then
16773 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16776 /* end confdefs.h. */
16778 #ifdef HAVE_COMPLEX_H
16779 #include <complex.h>
16780 #endif
16781 #ifdef HAVE_MATH_H
16782 #include <math.h>
16783 #endif
16785 int (*ptr)() = (int (*)())acosl;
16788 main ()
16790 return 0;
16793 _ACEOF
16794 if ac_fn_c_try_link "$LINENO"; then :
16795 gcc_cv_math_func_acosl=yes
16796 else
16797 gcc_cv_math_func_acosl=no
16799 rm -f core conftest.err conftest.$ac_objext \
16800 conftest$ac_exeext conftest.$ac_ext
16802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosl" >&5
16803 $as_echo "$gcc_cv_math_func_acosl" >&6; }
16804 if test $gcc_cv_math_func_acosl = yes; then
16806 cat >>confdefs.h <<_ACEOF
16807 #define HAVE_ACOSL 1
16808 _ACEOF
16815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshf" >&5
16816 $as_echo_n "checking for acoshf... " >&6; }
16817 if test "${gcc_cv_math_func_acoshf+set}" = set; then :
16818 $as_echo_n "(cached) " >&6
16819 else
16820 if test x$gcc_no_link = xyes; then
16821 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16824 /* end confdefs.h. */
16826 #ifdef HAVE_COMPLEX_H
16827 #include <complex.h>
16828 #endif
16829 #ifdef HAVE_MATH_H
16830 #include <math.h>
16831 #endif
16833 int (*ptr)() = (int (*)())acoshf;
16836 main ()
16838 return 0;
16841 _ACEOF
16842 if ac_fn_c_try_link "$LINENO"; then :
16843 gcc_cv_math_func_acoshf=yes
16844 else
16845 gcc_cv_math_func_acoshf=no
16847 rm -f core conftest.err conftest.$ac_objext \
16848 conftest$ac_exeext conftest.$ac_ext
16850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshf" >&5
16851 $as_echo "$gcc_cv_math_func_acoshf" >&6; }
16852 if test $gcc_cv_math_func_acoshf = yes; then
16854 cat >>confdefs.h <<_ACEOF
16855 #define HAVE_ACOSHF 1
16856 _ACEOF
16863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosh" >&5
16864 $as_echo_n "checking for acosh... " >&6; }
16865 if test "${gcc_cv_math_func_acosh+set}" = set; then :
16866 $as_echo_n "(cached) " >&6
16867 else
16868 if test x$gcc_no_link = xyes; then
16869 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16872 /* end confdefs.h. */
16874 #ifdef HAVE_COMPLEX_H
16875 #include <complex.h>
16876 #endif
16877 #ifdef HAVE_MATH_H
16878 #include <math.h>
16879 #endif
16881 int (*ptr)() = (int (*)())acosh;
16884 main ()
16886 return 0;
16889 _ACEOF
16890 if ac_fn_c_try_link "$LINENO"; then :
16891 gcc_cv_math_func_acosh=yes
16892 else
16893 gcc_cv_math_func_acosh=no
16895 rm -f core conftest.err conftest.$ac_objext \
16896 conftest$ac_exeext conftest.$ac_ext
16898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosh" >&5
16899 $as_echo "$gcc_cv_math_func_acosh" >&6; }
16900 if test $gcc_cv_math_func_acosh = yes; then
16902 cat >>confdefs.h <<_ACEOF
16903 #define HAVE_ACOSH 1
16904 _ACEOF
16911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshl" >&5
16912 $as_echo_n "checking for acoshl... " >&6; }
16913 if test "${gcc_cv_math_func_acoshl+set}" = set; then :
16914 $as_echo_n "(cached) " >&6
16915 else
16916 if test x$gcc_no_link = xyes; then
16917 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16920 /* end confdefs.h. */
16922 #ifdef HAVE_COMPLEX_H
16923 #include <complex.h>
16924 #endif
16925 #ifdef HAVE_MATH_H
16926 #include <math.h>
16927 #endif
16929 int (*ptr)() = (int (*)())acoshl;
16932 main ()
16934 return 0;
16937 _ACEOF
16938 if ac_fn_c_try_link "$LINENO"; then :
16939 gcc_cv_math_func_acoshl=yes
16940 else
16941 gcc_cv_math_func_acoshl=no
16943 rm -f core conftest.err conftest.$ac_objext \
16944 conftest$ac_exeext conftest.$ac_ext
16946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshl" >&5
16947 $as_echo "$gcc_cv_math_func_acoshl" >&6; }
16948 if test $gcc_cv_math_func_acoshl = yes; then
16950 cat >>confdefs.h <<_ACEOF
16951 #define HAVE_ACOSHL 1
16952 _ACEOF
16959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinf" >&5
16960 $as_echo_n "checking for asinf... " >&6; }
16961 if test "${gcc_cv_math_func_asinf+set}" = set; then :
16962 $as_echo_n "(cached) " >&6
16963 else
16964 if test x$gcc_no_link = xyes; then
16965 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16968 /* end confdefs.h. */
16970 #ifdef HAVE_COMPLEX_H
16971 #include <complex.h>
16972 #endif
16973 #ifdef HAVE_MATH_H
16974 #include <math.h>
16975 #endif
16977 int (*ptr)() = (int (*)())asinf;
16980 main ()
16982 return 0;
16985 _ACEOF
16986 if ac_fn_c_try_link "$LINENO"; then :
16987 gcc_cv_math_func_asinf=yes
16988 else
16989 gcc_cv_math_func_asinf=no
16991 rm -f core conftest.err conftest.$ac_objext \
16992 conftest$ac_exeext conftest.$ac_ext
16994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinf" >&5
16995 $as_echo "$gcc_cv_math_func_asinf" >&6; }
16996 if test $gcc_cv_math_func_asinf = yes; then
16998 cat >>confdefs.h <<_ACEOF
16999 #define HAVE_ASINF 1
17000 _ACEOF
17007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asin" >&5
17008 $as_echo_n "checking for asin... " >&6; }
17009 if test "${gcc_cv_math_func_asin+set}" = set; then :
17010 $as_echo_n "(cached) " >&6
17011 else
17012 if test x$gcc_no_link = xyes; then
17013 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17016 /* end confdefs.h. */
17018 #ifdef HAVE_COMPLEX_H
17019 #include <complex.h>
17020 #endif
17021 #ifdef HAVE_MATH_H
17022 #include <math.h>
17023 #endif
17025 int (*ptr)() = (int (*)())asin;
17028 main ()
17030 return 0;
17033 _ACEOF
17034 if ac_fn_c_try_link "$LINENO"; then :
17035 gcc_cv_math_func_asin=yes
17036 else
17037 gcc_cv_math_func_asin=no
17039 rm -f core conftest.err conftest.$ac_objext \
17040 conftest$ac_exeext conftest.$ac_ext
17042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asin" >&5
17043 $as_echo "$gcc_cv_math_func_asin" >&6; }
17044 if test $gcc_cv_math_func_asin = yes; then
17046 cat >>confdefs.h <<_ACEOF
17047 #define HAVE_ASIN 1
17048 _ACEOF
17055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinl" >&5
17056 $as_echo_n "checking for asinl... " >&6; }
17057 if test "${gcc_cv_math_func_asinl+set}" = set; then :
17058 $as_echo_n "(cached) " >&6
17059 else
17060 if test x$gcc_no_link = xyes; then
17061 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17064 /* end confdefs.h. */
17066 #ifdef HAVE_COMPLEX_H
17067 #include <complex.h>
17068 #endif
17069 #ifdef HAVE_MATH_H
17070 #include <math.h>
17071 #endif
17073 int (*ptr)() = (int (*)())asinl;
17076 main ()
17078 return 0;
17081 _ACEOF
17082 if ac_fn_c_try_link "$LINENO"; then :
17083 gcc_cv_math_func_asinl=yes
17084 else
17085 gcc_cv_math_func_asinl=no
17087 rm -f core conftest.err conftest.$ac_objext \
17088 conftest$ac_exeext conftest.$ac_ext
17090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinl" >&5
17091 $as_echo "$gcc_cv_math_func_asinl" >&6; }
17092 if test $gcc_cv_math_func_asinl = yes; then
17094 cat >>confdefs.h <<_ACEOF
17095 #define HAVE_ASINL 1
17096 _ACEOF
17103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhf" >&5
17104 $as_echo_n "checking for asinhf... " >&6; }
17105 if test "${gcc_cv_math_func_asinhf+set}" = set; then :
17106 $as_echo_n "(cached) " >&6
17107 else
17108 if test x$gcc_no_link = xyes; then
17109 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17112 /* end confdefs.h. */
17114 #ifdef HAVE_COMPLEX_H
17115 #include <complex.h>
17116 #endif
17117 #ifdef HAVE_MATH_H
17118 #include <math.h>
17119 #endif
17121 int (*ptr)() = (int (*)())asinhf;
17124 main ()
17126 return 0;
17129 _ACEOF
17130 if ac_fn_c_try_link "$LINENO"; then :
17131 gcc_cv_math_func_asinhf=yes
17132 else
17133 gcc_cv_math_func_asinhf=no
17135 rm -f core conftest.err conftest.$ac_objext \
17136 conftest$ac_exeext conftest.$ac_ext
17138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhf" >&5
17139 $as_echo "$gcc_cv_math_func_asinhf" >&6; }
17140 if test $gcc_cv_math_func_asinhf = yes; then
17142 cat >>confdefs.h <<_ACEOF
17143 #define HAVE_ASINHF 1
17144 _ACEOF
17151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinh" >&5
17152 $as_echo_n "checking for asinh... " >&6; }
17153 if test "${gcc_cv_math_func_asinh+set}" = set; then :
17154 $as_echo_n "(cached) " >&6
17155 else
17156 if test x$gcc_no_link = xyes; then
17157 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17160 /* end confdefs.h. */
17162 #ifdef HAVE_COMPLEX_H
17163 #include <complex.h>
17164 #endif
17165 #ifdef HAVE_MATH_H
17166 #include <math.h>
17167 #endif
17169 int (*ptr)() = (int (*)())asinh;
17172 main ()
17174 return 0;
17177 _ACEOF
17178 if ac_fn_c_try_link "$LINENO"; then :
17179 gcc_cv_math_func_asinh=yes
17180 else
17181 gcc_cv_math_func_asinh=no
17183 rm -f core conftest.err conftest.$ac_objext \
17184 conftest$ac_exeext conftest.$ac_ext
17186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinh" >&5
17187 $as_echo "$gcc_cv_math_func_asinh" >&6; }
17188 if test $gcc_cv_math_func_asinh = yes; then
17190 cat >>confdefs.h <<_ACEOF
17191 #define HAVE_ASINH 1
17192 _ACEOF
17199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhl" >&5
17200 $as_echo_n "checking for asinhl... " >&6; }
17201 if test "${gcc_cv_math_func_asinhl+set}" = set; then :
17202 $as_echo_n "(cached) " >&6
17203 else
17204 if test x$gcc_no_link = xyes; then
17205 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17208 /* end confdefs.h. */
17210 #ifdef HAVE_COMPLEX_H
17211 #include <complex.h>
17212 #endif
17213 #ifdef HAVE_MATH_H
17214 #include <math.h>
17215 #endif
17217 int (*ptr)() = (int (*)())asinhl;
17220 main ()
17222 return 0;
17225 _ACEOF
17226 if ac_fn_c_try_link "$LINENO"; then :
17227 gcc_cv_math_func_asinhl=yes
17228 else
17229 gcc_cv_math_func_asinhl=no
17231 rm -f core conftest.err conftest.$ac_objext \
17232 conftest$ac_exeext conftest.$ac_ext
17234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhl" >&5
17235 $as_echo "$gcc_cv_math_func_asinhl" >&6; }
17236 if test $gcc_cv_math_func_asinhl = yes; then
17238 cat >>confdefs.h <<_ACEOF
17239 #define HAVE_ASINHL 1
17240 _ACEOF
17247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f" >&5
17248 $as_echo_n "checking for atan2f... " >&6; }
17249 if test "${gcc_cv_math_func_atan2f+set}" = set; then :
17250 $as_echo_n "(cached) " >&6
17251 else
17252 if test x$gcc_no_link = xyes; then
17253 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17256 /* end confdefs.h. */
17258 #ifdef HAVE_COMPLEX_H
17259 #include <complex.h>
17260 #endif
17261 #ifdef HAVE_MATH_H
17262 #include <math.h>
17263 #endif
17265 int (*ptr)() = (int (*)())atan2f;
17268 main ()
17270 return 0;
17273 _ACEOF
17274 if ac_fn_c_try_link "$LINENO"; then :
17275 gcc_cv_math_func_atan2f=yes
17276 else
17277 gcc_cv_math_func_atan2f=no
17279 rm -f core conftest.err conftest.$ac_objext \
17280 conftest$ac_exeext conftest.$ac_ext
17282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2f" >&5
17283 $as_echo "$gcc_cv_math_func_atan2f" >&6; }
17284 if test $gcc_cv_math_func_atan2f = yes; then
17286 cat >>confdefs.h <<_ACEOF
17287 #define HAVE_ATAN2F 1
17288 _ACEOF
17295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2" >&5
17296 $as_echo_n "checking for atan2... " >&6; }
17297 if test "${gcc_cv_math_func_atan2+set}" = set; then :
17298 $as_echo_n "(cached) " >&6
17299 else
17300 if test x$gcc_no_link = xyes; then
17301 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17304 /* end confdefs.h. */
17306 #ifdef HAVE_COMPLEX_H
17307 #include <complex.h>
17308 #endif
17309 #ifdef HAVE_MATH_H
17310 #include <math.h>
17311 #endif
17313 int (*ptr)() = (int (*)())atan2;
17316 main ()
17318 return 0;
17321 _ACEOF
17322 if ac_fn_c_try_link "$LINENO"; then :
17323 gcc_cv_math_func_atan2=yes
17324 else
17325 gcc_cv_math_func_atan2=no
17327 rm -f core conftest.err conftest.$ac_objext \
17328 conftest$ac_exeext conftest.$ac_ext
17330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2" >&5
17331 $as_echo "$gcc_cv_math_func_atan2" >&6; }
17332 if test $gcc_cv_math_func_atan2 = yes; then
17334 cat >>confdefs.h <<_ACEOF
17335 #define HAVE_ATAN2 1
17336 _ACEOF
17343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l" >&5
17344 $as_echo_n "checking for atan2l... " >&6; }
17345 if test "${gcc_cv_math_func_atan2l+set}" = set; then :
17346 $as_echo_n "(cached) " >&6
17347 else
17348 if test x$gcc_no_link = xyes; then
17349 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17352 /* end confdefs.h. */
17354 #ifdef HAVE_COMPLEX_H
17355 #include <complex.h>
17356 #endif
17357 #ifdef HAVE_MATH_H
17358 #include <math.h>
17359 #endif
17361 int (*ptr)() = (int (*)())atan2l;
17364 main ()
17366 return 0;
17369 _ACEOF
17370 if ac_fn_c_try_link "$LINENO"; then :
17371 gcc_cv_math_func_atan2l=yes
17372 else
17373 gcc_cv_math_func_atan2l=no
17375 rm -f core conftest.err conftest.$ac_objext \
17376 conftest$ac_exeext conftest.$ac_ext
17378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2l" >&5
17379 $as_echo "$gcc_cv_math_func_atan2l" >&6; }
17380 if test $gcc_cv_math_func_atan2l = yes; then
17382 cat >>confdefs.h <<_ACEOF
17383 #define HAVE_ATAN2L 1
17384 _ACEOF
17391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanf" >&5
17392 $as_echo_n "checking for atanf... " >&6; }
17393 if test "${gcc_cv_math_func_atanf+set}" = set; then :
17394 $as_echo_n "(cached) " >&6
17395 else
17396 if test x$gcc_no_link = xyes; then
17397 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17400 /* end confdefs.h. */
17402 #ifdef HAVE_COMPLEX_H
17403 #include <complex.h>
17404 #endif
17405 #ifdef HAVE_MATH_H
17406 #include <math.h>
17407 #endif
17409 int (*ptr)() = (int (*)())atanf;
17412 main ()
17414 return 0;
17417 _ACEOF
17418 if ac_fn_c_try_link "$LINENO"; then :
17419 gcc_cv_math_func_atanf=yes
17420 else
17421 gcc_cv_math_func_atanf=no
17423 rm -f core conftest.err conftest.$ac_objext \
17424 conftest$ac_exeext conftest.$ac_ext
17426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanf" >&5
17427 $as_echo "$gcc_cv_math_func_atanf" >&6; }
17428 if test $gcc_cv_math_func_atanf = yes; then
17430 cat >>confdefs.h <<_ACEOF
17431 #define HAVE_ATANF 1
17432 _ACEOF
17439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan" >&5
17440 $as_echo_n "checking for atan... " >&6; }
17441 if test "${gcc_cv_math_func_atan+set}" = set; then :
17442 $as_echo_n "(cached) " >&6
17443 else
17444 if test x$gcc_no_link = xyes; then
17445 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17448 /* end confdefs.h. */
17450 #ifdef HAVE_COMPLEX_H
17451 #include <complex.h>
17452 #endif
17453 #ifdef HAVE_MATH_H
17454 #include <math.h>
17455 #endif
17457 int (*ptr)() = (int (*)())atan;
17460 main ()
17462 return 0;
17465 _ACEOF
17466 if ac_fn_c_try_link "$LINENO"; then :
17467 gcc_cv_math_func_atan=yes
17468 else
17469 gcc_cv_math_func_atan=no
17471 rm -f core conftest.err conftest.$ac_objext \
17472 conftest$ac_exeext conftest.$ac_ext
17474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan" >&5
17475 $as_echo "$gcc_cv_math_func_atan" >&6; }
17476 if test $gcc_cv_math_func_atan = yes; then
17478 cat >>confdefs.h <<_ACEOF
17479 #define HAVE_ATAN 1
17480 _ACEOF
17487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanl" >&5
17488 $as_echo_n "checking for atanl... " >&6; }
17489 if test "${gcc_cv_math_func_atanl+set}" = set; then :
17490 $as_echo_n "(cached) " >&6
17491 else
17492 if test x$gcc_no_link = xyes; then
17493 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17496 /* end confdefs.h. */
17498 #ifdef HAVE_COMPLEX_H
17499 #include <complex.h>
17500 #endif
17501 #ifdef HAVE_MATH_H
17502 #include <math.h>
17503 #endif
17505 int (*ptr)() = (int (*)())atanl;
17508 main ()
17510 return 0;
17513 _ACEOF
17514 if ac_fn_c_try_link "$LINENO"; then :
17515 gcc_cv_math_func_atanl=yes
17516 else
17517 gcc_cv_math_func_atanl=no
17519 rm -f core conftest.err conftest.$ac_objext \
17520 conftest$ac_exeext conftest.$ac_ext
17522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanl" >&5
17523 $as_echo "$gcc_cv_math_func_atanl" >&6; }
17524 if test $gcc_cv_math_func_atanl = yes; then
17526 cat >>confdefs.h <<_ACEOF
17527 #define HAVE_ATANL 1
17528 _ACEOF
17535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhf" >&5
17536 $as_echo_n "checking for atanhf... " >&6; }
17537 if test "${gcc_cv_math_func_atanhf+set}" = set; then :
17538 $as_echo_n "(cached) " >&6
17539 else
17540 if test x$gcc_no_link = xyes; then
17541 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17544 /* end confdefs.h. */
17546 #ifdef HAVE_COMPLEX_H
17547 #include <complex.h>
17548 #endif
17549 #ifdef HAVE_MATH_H
17550 #include <math.h>
17551 #endif
17553 int (*ptr)() = (int (*)())atanhf;
17556 main ()
17558 return 0;
17561 _ACEOF
17562 if ac_fn_c_try_link "$LINENO"; then :
17563 gcc_cv_math_func_atanhf=yes
17564 else
17565 gcc_cv_math_func_atanhf=no
17567 rm -f core conftest.err conftest.$ac_objext \
17568 conftest$ac_exeext conftest.$ac_ext
17570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhf" >&5
17571 $as_echo "$gcc_cv_math_func_atanhf" >&6; }
17572 if test $gcc_cv_math_func_atanhf = yes; then
17574 cat >>confdefs.h <<_ACEOF
17575 #define HAVE_ATANHF 1
17576 _ACEOF
17583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanh" >&5
17584 $as_echo_n "checking for atanh... " >&6; }
17585 if test "${gcc_cv_math_func_atanh+set}" = set; then :
17586 $as_echo_n "(cached) " >&6
17587 else
17588 if test x$gcc_no_link = xyes; then
17589 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17592 /* end confdefs.h. */
17594 #ifdef HAVE_COMPLEX_H
17595 #include <complex.h>
17596 #endif
17597 #ifdef HAVE_MATH_H
17598 #include <math.h>
17599 #endif
17601 int (*ptr)() = (int (*)())atanh;
17604 main ()
17606 return 0;
17609 _ACEOF
17610 if ac_fn_c_try_link "$LINENO"; then :
17611 gcc_cv_math_func_atanh=yes
17612 else
17613 gcc_cv_math_func_atanh=no
17615 rm -f core conftest.err conftest.$ac_objext \
17616 conftest$ac_exeext conftest.$ac_ext
17618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanh" >&5
17619 $as_echo "$gcc_cv_math_func_atanh" >&6; }
17620 if test $gcc_cv_math_func_atanh = yes; then
17622 cat >>confdefs.h <<_ACEOF
17623 #define HAVE_ATANH 1
17624 _ACEOF
17631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhl" >&5
17632 $as_echo_n "checking for atanhl... " >&6; }
17633 if test "${gcc_cv_math_func_atanhl+set}" = set; then :
17634 $as_echo_n "(cached) " >&6
17635 else
17636 if test x$gcc_no_link = xyes; then
17637 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17640 /* end confdefs.h. */
17642 #ifdef HAVE_COMPLEX_H
17643 #include <complex.h>
17644 #endif
17645 #ifdef HAVE_MATH_H
17646 #include <math.h>
17647 #endif
17649 int (*ptr)() = (int (*)())atanhl;
17652 main ()
17654 return 0;
17657 _ACEOF
17658 if ac_fn_c_try_link "$LINENO"; then :
17659 gcc_cv_math_func_atanhl=yes
17660 else
17661 gcc_cv_math_func_atanhl=no
17663 rm -f core conftest.err conftest.$ac_objext \
17664 conftest$ac_exeext conftest.$ac_ext
17666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhl" >&5
17667 $as_echo "$gcc_cv_math_func_atanhl" >&6; }
17668 if test $gcc_cv_math_func_atanhl = yes; then
17670 cat >>confdefs.h <<_ACEOF
17671 #define HAVE_ATANHL 1
17672 _ACEOF
17679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargf" >&5
17680 $as_echo_n "checking for cargf... " >&6; }
17681 if test "${gcc_cv_math_func_cargf+set}" = set; then :
17682 $as_echo_n "(cached) " >&6
17683 else
17684 if test x$gcc_no_link = xyes; then
17685 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17688 /* end confdefs.h. */
17690 #ifdef HAVE_COMPLEX_H
17691 #include <complex.h>
17692 #endif
17693 #ifdef HAVE_MATH_H
17694 #include <math.h>
17695 #endif
17697 int (*ptr)() = (int (*)())cargf;
17700 main ()
17702 return 0;
17705 _ACEOF
17706 if ac_fn_c_try_link "$LINENO"; then :
17707 gcc_cv_math_func_cargf=yes
17708 else
17709 gcc_cv_math_func_cargf=no
17711 rm -f core conftest.err conftest.$ac_objext \
17712 conftest$ac_exeext conftest.$ac_ext
17714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargf" >&5
17715 $as_echo "$gcc_cv_math_func_cargf" >&6; }
17716 if test $gcc_cv_math_func_cargf = yes; then
17718 cat >>confdefs.h <<_ACEOF
17719 #define HAVE_CARGF 1
17720 _ACEOF
17727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for carg" >&5
17728 $as_echo_n "checking for carg... " >&6; }
17729 if test "${gcc_cv_math_func_carg+set}" = set; then :
17730 $as_echo_n "(cached) " >&6
17731 else
17732 if test x$gcc_no_link = xyes; then
17733 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17736 /* end confdefs.h. */
17738 #ifdef HAVE_COMPLEX_H
17739 #include <complex.h>
17740 #endif
17741 #ifdef HAVE_MATH_H
17742 #include <math.h>
17743 #endif
17745 int (*ptr)() = (int (*)())carg;
17748 main ()
17750 return 0;
17753 _ACEOF
17754 if ac_fn_c_try_link "$LINENO"; then :
17755 gcc_cv_math_func_carg=yes
17756 else
17757 gcc_cv_math_func_carg=no
17759 rm -f core conftest.err conftest.$ac_objext \
17760 conftest$ac_exeext conftest.$ac_ext
17762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_carg" >&5
17763 $as_echo "$gcc_cv_math_func_carg" >&6; }
17764 if test $gcc_cv_math_func_carg = yes; then
17766 cat >>confdefs.h <<_ACEOF
17767 #define HAVE_CARG 1
17768 _ACEOF
17775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargl" >&5
17776 $as_echo_n "checking for cargl... " >&6; }
17777 if test "${gcc_cv_math_func_cargl+set}" = set; then :
17778 $as_echo_n "(cached) " >&6
17779 else
17780 if test x$gcc_no_link = xyes; then
17781 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17784 /* end confdefs.h. */
17786 #ifdef HAVE_COMPLEX_H
17787 #include <complex.h>
17788 #endif
17789 #ifdef HAVE_MATH_H
17790 #include <math.h>
17791 #endif
17793 int (*ptr)() = (int (*)())cargl;
17796 main ()
17798 return 0;
17801 _ACEOF
17802 if ac_fn_c_try_link "$LINENO"; then :
17803 gcc_cv_math_func_cargl=yes
17804 else
17805 gcc_cv_math_func_cargl=no
17807 rm -f core conftest.err conftest.$ac_objext \
17808 conftest$ac_exeext conftest.$ac_ext
17810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargl" >&5
17811 $as_echo "$gcc_cv_math_func_cargl" >&6; }
17812 if test $gcc_cv_math_func_cargl = yes; then
17814 cat >>confdefs.h <<_ACEOF
17815 #define HAVE_CARGL 1
17816 _ACEOF
17823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceilf" >&5
17824 $as_echo_n "checking for ceilf... " >&6; }
17825 if test "${gcc_cv_math_func_ceilf+set}" = set; then :
17826 $as_echo_n "(cached) " >&6
17827 else
17828 if test x$gcc_no_link = xyes; then
17829 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17832 /* end confdefs.h. */
17834 #ifdef HAVE_COMPLEX_H
17835 #include <complex.h>
17836 #endif
17837 #ifdef HAVE_MATH_H
17838 #include <math.h>
17839 #endif
17841 int (*ptr)() = (int (*)())ceilf;
17844 main ()
17846 return 0;
17849 _ACEOF
17850 if ac_fn_c_try_link "$LINENO"; then :
17851 gcc_cv_math_func_ceilf=yes
17852 else
17853 gcc_cv_math_func_ceilf=no
17855 rm -f core conftest.err conftest.$ac_objext \
17856 conftest$ac_exeext conftest.$ac_ext
17858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceilf" >&5
17859 $as_echo "$gcc_cv_math_func_ceilf" >&6; }
17860 if test $gcc_cv_math_func_ceilf = yes; then
17862 cat >>confdefs.h <<_ACEOF
17863 #define HAVE_CEILF 1
17864 _ACEOF
17871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceil" >&5
17872 $as_echo_n "checking for ceil... " >&6; }
17873 if test "${gcc_cv_math_func_ceil+set}" = set; then :
17874 $as_echo_n "(cached) " >&6
17875 else
17876 if test x$gcc_no_link = xyes; then
17877 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17880 /* end confdefs.h. */
17882 #ifdef HAVE_COMPLEX_H
17883 #include <complex.h>
17884 #endif
17885 #ifdef HAVE_MATH_H
17886 #include <math.h>
17887 #endif
17889 int (*ptr)() = (int (*)())ceil;
17892 main ()
17894 return 0;
17897 _ACEOF
17898 if ac_fn_c_try_link "$LINENO"; then :
17899 gcc_cv_math_func_ceil=yes
17900 else
17901 gcc_cv_math_func_ceil=no
17903 rm -f core conftest.err conftest.$ac_objext \
17904 conftest$ac_exeext conftest.$ac_ext
17906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceil" >&5
17907 $as_echo "$gcc_cv_math_func_ceil" >&6; }
17908 if test $gcc_cv_math_func_ceil = yes; then
17910 cat >>confdefs.h <<_ACEOF
17911 #define HAVE_CEIL 1
17912 _ACEOF
17919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceill" >&5
17920 $as_echo_n "checking for ceill... " >&6; }
17921 if test "${gcc_cv_math_func_ceill+set}" = set; then :
17922 $as_echo_n "(cached) " >&6
17923 else
17924 if test x$gcc_no_link = xyes; then
17925 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17928 /* end confdefs.h. */
17930 #ifdef HAVE_COMPLEX_H
17931 #include <complex.h>
17932 #endif
17933 #ifdef HAVE_MATH_H
17934 #include <math.h>
17935 #endif
17937 int (*ptr)() = (int (*)())ceill;
17940 main ()
17942 return 0;
17945 _ACEOF
17946 if ac_fn_c_try_link "$LINENO"; then :
17947 gcc_cv_math_func_ceill=yes
17948 else
17949 gcc_cv_math_func_ceill=no
17951 rm -f core conftest.err conftest.$ac_objext \
17952 conftest$ac_exeext conftest.$ac_ext
17954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceill" >&5
17955 $as_echo "$gcc_cv_math_func_ceill" >&6; }
17956 if test $gcc_cv_math_func_ceill = yes; then
17958 cat >>confdefs.h <<_ACEOF
17959 #define HAVE_CEILL 1
17960 _ACEOF
17967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignf" >&5
17968 $as_echo_n "checking for copysignf... " >&6; }
17969 if test "${gcc_cv_math_func_copysignf+set}" = set; then :
17970 $as_echo_n "(cached) " >&6
17971 else
17972 if test x$gcc_no_link = xyes; then
17973 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17976 /* end confdefs.h. */
17978 #ifdef HAVE_COMPLEX_H
17979 #include <complex.h>
17980 #endif
17981 #ifdef HAVE_MATH_H
17982 #include <math.h>
17983 #endif
17985 int (*ptr)() = (int (*)())copysignf;
17988 main ()
17990 return 0;
17993 _ACEOF
17994 if ac_fn_c_try_link "$LINENO"; then :
17995 gcc_cv_math_func_copysignf=yes
17996 else
17997 gcc_cv_math_func_copysignf=no
17999 rm -f core conftest.err conftest.$ac_objext \
18000 conftest$ac_exeext conftest.$ac_ext
18002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignf" >&5
18003 $as_echo "$gcc_cv_math_func_copysignf" >&6; }
18004 if test $gcc_cv_math_func_copysignf = yes; then
18006 cat >>confdefs.h <<_ACEOF
18007 #define HAVE_COPYSIGNF 1
18008 _ACEOF
18015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysign" >&5
18016 $as_echo_n "checking for copysign... " >&6; }
18017 if test "${gcc_cv_math_func_copysign+set}" = set; then :
18018 $as_echo_n "(cached) " >&6
18019 else
18020 if test x$gcc_no_link = xyes; then
18021 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18024 /* end confdefs.h. */
18026 #ifdef HAVE_COMPLEX_H
18027 #include <complex.h>
18028 #endif
18029 #ifdef HAVE_MATH_H
18030 #include <math.h>
18031 #endif
18033 int (*ptr)() = (int (*)())copysign;
18036 main ()
18038 return 0;
18041 _ACEOF
18042 if ac_fn_c_try_link "$LINENO"; then :
18043 gcc_cv_math_func_copysign=yes
18044 else
18045 gcc_cv_math_func_copysign=no
18047 rm -f core conftest.err conftest.$ac_objext \
18048 conftest$ac_exeext conftest.$ac_ext
18050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysign" >&5
18051 $as_echo "$gcc_cv_math_func_copysign" >&6; }
18052 if test $gcc_cv_math_func_copysign = yes; then
18054 cat >>confdefs.h <<_ACEOF
18055 #define HAVE_COPYSIGN 1
18056 _ACEOF
18063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignl" >&5
18064 $as_echo_n "checking for copysignl... " >&6; }
18065 if test "${gcc_cv_math_func_copysignl+set}" = set; then :
18066 $as_echo_n "(cached) " >&6
18067 else
18068 if test x$gcc_no_link = xyes; then
18069 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18072 /* end confdefs.h. */
18074 #ifdef HAVE_COMPLEX_H
18075 #include <complex.h>
18076 #endif
18077 #ifdef HAVE_MATH_H
18078 #include <math.h>
18079 #endif
18081 int (*ptr)() = (int (*)())copysignl;
18084 main ()
18086 return 0;
18089 _ACEOF
18090 if ac_fn_c_try_link "$LINENO"; then :
18091 gcc_cv_math_func_copysignl=yes
18092 else
18093 gcc_cv_math_func_copysignl=no
18095 rm -f core conftest.err conftest.$ac_objext \
18096 conftest$ac_exeext conftest.$ac_ext
18098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignl" >&5
18099 $as_echo "$gcc_cv_math_func_copysignl" >&6; }
18100 if test $gcc_cv_math_func_copysignl = yes; then
18102 cat >>confdefs.h <<_ACEOF
18103 #define HAVE_COPYSIGNL 1
18104 _ACEOF
18111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosf" >&5
18112 $as_echo_n "checking for cosf... " >&6; }
18113 if test "${gcc_cv_math_func_cosf+set}" = set; then :
18114 $as_echo_n "(cached) " >&6
18115 else
18116 if test x$gcc_no_link = xyes; then
18117 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18120 /* end confdefs.h. */
18122 #ifdef HAVE_COMPLEX_H
18123 #include <complex.h>
18124 #endif
18125 #ifdef HAVE_MATH_H
18126 #include <math.h>
18127 #endif
18129 int (*ptr)() = (int (*)())cosf;
18132 main ()
18134 return 0;
18137 _ACEOF
18138 if ac_fn_c_try_link "$LINENO"; then :
18139 gcc_cv_math_func_cosf=yes
18140 else
18141 gcc_cv_math_func_cosf=no
18143 rm -f core conftest.err conftest.$ac_objext \
18144 conftest$ac_exeext conftest.$ac_ext
18146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosf" >&5
18147 $as_echo "$gcc_cv_math_func_cosf" >&6; }
18148 if test $gcc_cv_math_func_cosf = yes; then
18150 cat >>confdefs.h <<_ACEOF
18151 #define HAVE_COSF 1
18152 _ACEOF
18159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos" >&5
18160 $as_echo_n "checking for cos... " >&6; }
18161 if test "${gcc_cv_math_func_cos+set}" = set; then :
18162 $as_echo_n "(cached) " >&6
18163 else
18164 if test x$gcc_no_link = xyes; then
18165 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18168 /* end confdefs.h. */
18170 #ifdef HAVE_COMPLEX_H
18171 #include <complex.h>
18172 #endif
18173 #ifdef HAVE_MATH_H
18174 #include <math.h>
18175 #endif
18177 int (*ptr)() = (int (*)())cos;
18180 main ()
18182 return 0;
18185 _ACEOF
18186 if ac_fn_c_try_link "$LINENO"; then :
18187 gcc_cv_math_func_cos=yes
18188 else
18189 gcc_cv_math_func_cos=no
18191 rm -f core conftest.err conftest.$ac_objext \
18192 conftest$ac_exeext conftest.$ac_ext
18194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cos" >&5
18195 $as_echo "$gcc_cv_math_func_cos" >&6; }
18196 if test $gcc_cv_math_func_cos = yes; then
18198 cat >>confdefs.h <<_ACEOF
18199 #define HAVE_COS 1
18200 _ACEOF
18207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosl" >&5
18208 $as_echo_n "checking for cosl... " >&6; }
18209 if test "${gcc_cv_math_func_cosl+set}" = set; then :
18210 $as_echo_n "(cached) " >&6
18211 else
18212 if test x$gcc_no_link = xyes; then
18213 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18216 /* end confdefs.h. */
18218 #ifdef HAVE_COMPLEX_H
18219 #include <complex.h>
18220 #endif
18221 #ifdef HAVE_MATH_H
18222 #include <math.h>
18223 #endif
18225 int (*ptr)() = (int (*)())cosl;
18228 main ()
18230 return 0;
18233 _ACEOF
18234 if ac_fn_c_try_link "$LINENO"; then :
18235 gcc_cv_math_func_cosl=yes
18236 else
18237 gcc_cv_math_func_cosl=no
18239 rm -f core conftest.err conftest.$ac_objext \
18240 conftest$ac_exeext conftest.$ac_ext
18242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosl" >&5
18243 $as_echo "$gcc_cv_math_func_cosl" >&6; }
18244 if test $gcc_cv_math_func_cosl = yes; then
18246 cat >>confdefs.h <<_ACEOF
18247 #define HAVE_COSL 1
18248 _ACEOF
18255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosf" >&5
18256 $as_echo_n "checking for ccosf... " >&6; }
18257 if test "${gcc_cv_math_func_ccosf+set}" = set; then :
18258 $as_echo_n "(cached) " >&6
18259 else
18260 if test x$gcc_no_link = xyes; then
18261 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18264 /* end confdefs.h. */
18266 #ifdef HAVE_COMPLEX_H
18267 #include <complex.h>
18268 #endif
18269 #ifdef HAVE_MATH_H
18270 #include <math.h>
18271 #endif
18273 int (*ptr)() = (int (*)())ccosf;
18276 main ()
18278 return 0;
18281 _ACEOF
18282 if ac_fn_c_try_link "$LINENO"; then :
18283 gcc_cv_math_func_ccosf=yes
18284 else
18285 gcc_cv_math_func_ccosf=no
18287 rm -f core conftest.err conftest.$ac_objext \
18288 conftest$ac_exeext conftest.$ac_ext
18290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosf" >&5
18291 $as_echo "$gcc_cv_math_func_ccosf" >&6; }
18292 if test $gcc_cv_math_func_ccosf = yes; then
18294 cat >>confdefs.h <<_ACEOF
18295 #define HAVE_CCOSF 1
18296 _ACEOF
18303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccos" >&5
18304 $as_echo_n "checking for ccos... " >&6; }
18305 if test "${gcc_cv_math_func_ccos+set}" = set; then :
18306 $as_echo_n "(cached) " >&6
18307 else
18308 if test x$gcc_no_link = xyes; then
18309 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18312 /* end confdefs.h. */
18314 #ifdef HAVE_COMPLEX_H
18315 #include <complex.h>
18316 #endif
18317 #ifdef HAVE_MATH_H
18318 #include <math.h>
18319 #endif
18321 int (*ptr)() = (int (*)())ccos;
18324 main ()
18326 return 0;
18329 _ACEOF
18330 if ac_fn_c_try_link "$LINENO"; then :
18331 gcc_cv_math_func_ccos=yes
18332 else
18333 gcc_cv_math_func_ccos=no
18335 rm -f core conftest.err conftest.$ac_objext \
18336 conftest$ac_exeext conftest.$ac_ext
18338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccos" >&5
18339 $as_echo "$gcc_cv_math_func_ccos" >&6; }
18340 if test $gcc_cv_math_func_ccos = yes; then
18342 cat >>confdefs.h <<_ACEOF
18343 #define HAVE_CCOS 1
18344 _ACEOF
18351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosl" >&5
18352 $as_echo_n "checking for ccosl... " >&6; }
18353 if test "${gcc_cv_math_func_ccosl+set}" = set; then :
18354 $as_echo_n "(cached) " >&6
18355 else
18356 if test x$gcc_no_link = xyes; then
18357 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18360 /* end confdefs.h. */
18362 #ifdef HAVE_COMPLEX_H
18363 #include <complex.h>
18364 #endif
18365 #ifdef HAVE_MATH_H
18366 #include <math.h>
18367 #endif
18369 int (*ptr)() = (int (*)())ccosl;
18372 main ()
18374 return 0;
18377 _ACEOF
18378 if ac_fn_c_try_link "$LINENO"; then :
18379 gcc_cv_math_func_ccosl=yes
18380 else
18381 gcc_cv_math_func_ccosl=no
18383 rm -f core conftest.err conftest.$ac_objext \
18384 conftest$ac_exeext conftest.$ac_ext
18386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosl" >&5
18387 $as_echo "$gcc_cv_math_func_ccosl" >&6; }
18388 if test $gcc_cv_math_func_ccosl = yes; then
18390 cat >>confdefs.h <<_ACEOF
18391 #define HAVE_CCOSL 1
18392 _ACEOF
18399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshf" >&5
18400 $as_echo_n "checking for coshf... " >&6; }
18401 if test "${gcc_cv_math_func_coshf+set}" = set; then :
18402 $as_echo_n "(cached) " >&6
18403 else
18404 if test x$gcc_no_link = xyes; then
18405 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18408 /* end confdefs.h. */
18410 #ifdef HAVE_COMPLEX_H
18411 #include <complex.h>
18412 #endif
18413 #ifdef HAVE_MATH_H
18414 #include <math.h>
18415 #endif
18417 int (*ptr)() = (int (*)())coshf;
18420 main ()
18422 return 0;
18425 _ACEOF
18426 if ac_fn_c_try_link "$LINENO"; then :
18427 gcc_cv_math_func_coshf=yes
18428 else
18429 gcc_cv_math_func_coshf=no
18431 rm -f core conftest.err conftest.$ac_objext \
18432 conftest$ac_exeext conftest.$ac_ext
18434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshf" >&5
18435 $as_echo "$gcc_cv_math_func_coshf" >&6; }
18436 if test $gcc_cv_math_func_coshf = yes; then
18438 cat >>confdefs.h <<_ACEOF
18439 #define HAVE_COSHF 1
18440 _ACEOF
18447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosh" >&5
18448 $as_echo_n "checking for cosh... " >&6; }
18449 if test "${gcc_cv_math_func_cosh+set}" = set; then :
18450 $as_echo_n "(cached) " >&6
18451 else
18452 if test x$gcc_no_link = xyes; then
18453 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18456 /* end confdefs.h. */
18458 #ifdef HAVE_COMPLEX_H
18459 #include <complex.h>
18460 #endif
18461 #ifdef HAVE_MATH_H
18462 #include <math.h>
18463 #endif
18465 int (*ptr)() = (int (*)())cosh;
18468 main ()
18470 return 0;
18473 _ACEOF
18474 if ac_fn_c_try_link "$LINENO"; then :
18475 gcc_cv_math_func_cosh=yes
18476 else
18477 gcc_cv_math_func_cosh=no
18479 rm -f core conftest.err conftest.$ac_objext \
18480 conftest$ac_exeext conftest.$ac_ext
18482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosh" >&5
18483 $as_echo "$gcc_cv_math_func_cosh" >&6; }
18484 if test $gcc_cv_math_func_cosh = yes; then
18486 cat >>confdefs.h <<_ACEOF
18487 #define HAVE_COSH 1
18488 _ACEOF
18495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshl" >&5
18496 $as_echo_n "checking for coshl... " >&6; }
18497 if test "${gcc_cv_math_func_coshl+set}" = set; then :
18498 $as_echo_n "(cached) " >&6
18499 else
18500 if test x$gcc_no_link = xyes; then
18501 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18504 /* end confdefs.h. */
18506 #ifdef HAVE_COMPLEX_H
18507 #include <complex.h>
18508 #endif
18509 #ifdef HAVE_MATH_H
18510 #include <math.h>
18511 #endif
18513 int (*ptr)() = (int (*)())coshl;
18516 main ()
18518 return 0;
18521 _ACEOF
18522 if ac_fn_c_try_link "$LINENO"; then :
18523 gcc_cv_math_func_coshl=yes
18524 else
18525 gcc_cv_math_func_coshl=no
18527 rm -f core conftest.err conftest.$ac_objext \
18528 conftest$ac_exeext conftest.$ac_ext
18530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshl" >&5
18531 $as_echo "$gcc_cv_math_func_coshl" >&6; }
18532 if test $gcc_cv_math_func_coshl = yes; then
18534 cat >>confdefs.h <<_ACEOF
18535 #define HAVE_COSHL 1
18536 _ACEOF
18543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshf" >&5
18544 $as_echo_n "checking for ccoshf... " >&6; }
18545 if test "${gcc_cv_math_func_ccoshf+set}" = set; then :
18546 $as_echo_n "(cached) " >&6
18547 else
18548 if test x$gcc_no_link = xyes; then
18549 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18552 /* end confdefs.h. */
18554 #ifdef HAVE_COMPLEX_H
18555 #include <complex.h>
18556 #endif
18557 #ifdef HAVE_MATH_H
18558 #include <math.h>
18559 #endif
18561 int (*ptr)() = (int (*)())ccoshf;
18564 main ()
18566 return 0;
18569 _ACEOF
18570 if ac_fn_c_try_link "$LINENO"; then :
18571 gcc_cv_math_func_ccoshf=yes
18572 else
18573 gcc_cv_math_func_ccoshf=no
18575 rm -f core conftest.err conftest.$ac_objext \
18576 conftest$ac_exeext conftest.$ac_ext
18578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshf" >&5
18579 $as_echo "$gcc_cv_math_func_ccoshf" >&6; }
18580 if test $gcc_cv_math_func_ccoshf = yes; then
18582 cat >>confdefs.h <<_ACEOF
18583 #define HAVE_CCOSHF 1
18584 _ACEOF
18591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosh" >&5
18592 $as_echo_n "checking for ccosh... " >&6; }
18593 if test "${gcc_cv_math_func_ccosh+set}" = set; then :
18594 $as_echo_n "(cached) " >&6
18595 else
18596 if test x$gcc_no_link = xyes; then
18597 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18600 /* end confdefs.h. */
18602 #ifdef HAVE_COMPLEX_H
18603 #include <complex.h>
18604 #endif
18605 #ifdef HAVE_MATH_H
18606 #include <math.h>
18607 #endif
18609 int (*ptr)() = (int (*)())ccosh;
18612 main ()
18614 return 0;
18617 _ACEOF
18618 if ac_fn_c_try_link "$LINENO"; then :
18619 gcc_cv_math_func_ccosh=yes
18620 else
18621 gcc_cv_math_func_ccosh=no
18623 rm -f core conftest.err conftest.$ac_objext \
18624 conftest$ac_exeext conftest.$ac_ext
18626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosh" >&5
18627 $as_echo "$gcc_cv_math_func_ccosh" >&6; }
18628 if test $gcc_cv_math_func_ccosh = yes; then
18630 cat >>confdefs.h <<_ACEOF
18631 #define HAVE_CCOSH 1
18632 _ACEOF
18639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshl" >&5
18640 $as_echo_n "checking for ccoshl... " >&6; }
18641 if test "${gcc_cv_math_func_ccoshl+set}" = set; then :
18642 $as_echo_n "(cached) " >&6
18643 else
18644 if test x$gcc_no_link = xyes; then
18645 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18648 /* end confdefs.h. */
18650 #ifdef HAVE_COMPLEX_H
18651 #include <complex.h>
18652 #endif
18653 #ifdef HAVE_MATH_H
18654 #include <math.h>
18655 #endif
18657 int (*ptr)() = (int (*)())ccoshl;
18660 main ()
18662 return 0;
18665 _ACEOF
18666 if ac_fn_c_try_link "$LINENO"; then :
18667 gcc_cv_math_func_ccoshl=yes
18668 else
18669 gcc_cv_math_func_ccoshl=no
18671 rm -f core conftest.err conftest.$ac_objext \
18672 conftest$ac_exeext conftest.$ac_ext
18674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshl" >&5
18675 $as_echo "$gcc_cv_math_func_ccoshl" >&6; }
18676 if test $gcc_cv_math_func_ccoshl = yes; then
18678 cat >>confdefs.h <<_ACEOF
18679 #define HAVE_CCOSHL 1
18680 _ACEOF
18687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf" >&5
18688 $as_echo_n "checking for expf... " >&6; }
18689 if test "${gcc_cv_math_func_expf+set}" = set; then :
18690 $as_echo_n "(cached) " >&6
18691 else
18692 if test x$gcc_no_link = xyes; then
18693 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18696 /* end confdefs.h. */
18698 #ifdef HAVE_COMPLEX_H
18699 #include <complex.h>
18700 #endif
18701 #ifdef HAVE_MATH_H
18702 #include <math.h>
18703 #endif
18705 int (*ptr)() = (int (*)())expf;
18708 main ()
18710 return 0;
18713 _ACEOF
18714 if ac_fn_c_try_link "$LINENO"; then :
18715 gcc_cv_math_func_expf=yes
18716 else
18717 gcc_cv_math_func_expf=no
18719 rm -f core conftest.err conftest.$ac_objext \
18720 conftest$ac_exeext conftest.$ac_ext
18722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expf" >&5
18723 $as_echo "$gcc_cv_math_func_expf" >&6; }
18724 if test $gcc_cv_math_func_expf = yes; then
18726 cat >>confdefs.h <<_ACEOF
18727 #define HAVE_EXPF 1
18728 _ACEOF
18735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exp" >&5
18736 $as_echo_n "checking for exp... " >&6; }
18737 if test "${gcc_cv_math_func_exp+set}" = set; then :
18738 $as_echo_n "(cached) " >&6
18739 else
18740 if test x$gcc_no_link = xyes; then
18741 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18744 /* end confdefs.h. */
18746 #ifdef HAVE_COMPLEX_H
18747 #include <complex.h>
18748 #endif
18749 #ifdef HAVE_MATH_H
18750 #include <math.h>
18751 #endif
18753 int (*ptr)() = (int (*)())exp;
18756 main ()
18758 return 0;
18761 _ACEOF
18762 if ac_fn_c_try_link "$LINENO"; then :
18763 gcc_cv_math_func_exp=yes
18764 else
18765 gcc_cv_math_func_exp=no
18767 rm -f core conftest.err conftest.$ac_objext \
18768 conftest$ac_exeext conftest.$ac_ext
18770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_exp" >&5
18771 $as_echo "$gcc_cv_math_func_exp" >&6; }
18772 if test $gcc_cv_math_func_exp = yes; then
18774 cat >>confdefs.h <<_ACEOF
18775 #define HAVE_EXP 1
18776 _ACEOF
18783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl" >&5
18784 $as_echo_n "checking for expl... " >&6; }
18785 if test "${gcc_cv_math_func_expl+set}" = set; then :
18786 $as_echo_n "(cached) " >&6
18787 else
18788 if test x$gcc_no_link = xyes; then
18789 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18792 /* end confdefs.h. */
18794 #ifdef HAVE_COMPLEX_H
18795 #include <complex.h>
18796 #endif
18797 #ifdef HAVE_MATH_H
18798 #include <math.h>
18799 #endif
18801 int (*ptr)() = (int (*)())expl;
18804 main ()
18806 return 0;
18809 _ACEOF
18810 if ac_fn_c_try_link "$LINENO"; then :
18811 gcc_cv_math_func_expl=yes
18812 else
18813 gcc_cv_math_func_expl=no
18815 rm -f core conftest.err conftest.$ac_objext \
18816 conftest$ac_exeext conftest.$ac_ext
18818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expl" >&5
18819 $as_echo "$gcc_cv_math_func_expl" >&6; }
18820 if test $gcc_cv_math_func_expl = yes; then
18822 cat >>confdefs.h <<_ACEOF
18823 #define HAVE_EXPL 1
18824 _ACEOF
18831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpf" >&5
18832 $as_echo_n "checking for cexpf... " >&6; }
18833 if test "${gcc_cv_math_func_cexpf+set}" = set; then :
18834 $as_echo_n "(cached) " >&6
18835 else
18836 if test x$gcc_no_link = xyes; then
18837 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18840 /* end confdefs.h. */
18842 #ifdef HAVE_COMPLEX_H
18843 #include <complex.h>
18844 #endif
18845 #ifdef HAVE_MATH_H
18846 #include <math.h>
18847 #endif
18849 int (*ptr)() = (int (*)())cexpf;
18852 main ()
18854 return 0;
18857 _ACEOF
18858 if ac_fn_c_try_link "$LINENO"; then :
18859 gcc_cv_math_func_cexpf=yes
18860 else
18861 gcc_cv_math_func_cexpf=no
18863 rm -f core conftest.err conftest.$ac_objext \
18864 conftest$ac_exeext conftest.$ac_ext
18866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpf" >&5
18867 $as_echo "$gcc_cv_math_func_cexpf" >&6; }
18868 if test $gcc_cv_math_func_cexpf = yes; then
18870 cat >>confdefs.h <<_ACEOF
18871 #define HAVE_CEXPF 1
18872 _ACEOF
18879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexp" >&5
18880 $as_echo_n "checking for cexp... " >&6; }
18881 if test "${gcc_cv_math_func_cexp+set}" = set; then :
18882 $as_echo_n "(cached) " >&6
18883 else
18884 if test x$gcc_no_link = xyes; then
18885 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18888 /* end confdefs.h. */
18890 #ifdef HAVE_COMPLEX_H
18891 #include <complex.h>
18892 #endif
18893 #ifdef HAVE_MATH_H
18894 #include <math.h>
18895 #endif
18897 int (*ptr)() = (int (*)())cexp;
18900 main ()
18902 return 0;
18905 _ACEOF
18906 if ac_fn_c_try_link "$LINENO"; then :
18907 gcc_cv_math_func_cexp=yes
18908 else
18909 gcc_cv_math_func_cexp=no
18911 rm -f core conftest.err conftest.$ac_objext \
18912 conftest$ac_exeext conftest.$ac_ext
18914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexp" >&5
18915 $as_echo "$gcc_cv_math_func_cexp" >&6; }
18916 if test $gcc_cv_math_func_cexp = yes; then
18918 cat >>confdefs.h <<_ACEOF
18919 #define HAVE_CEXP 1
18920 _ACEOF
18927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpl" >&5
18928 $as_echo_n "checking for cexpl... " >&6; }
18929 if test "${gcc_cv_math_func_cexpl+set}" = set; then :
18930 $as_echo_n "(cached) " >&6
18931 else
18932 if test x$gcc_no_link = xyes; then
18933 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18936 /* end confdefs.h. */
18938 #ifdef HAVE_COMPLEX_H
18939 #include <complex.h>
18940 #endif
18941 #ifdef HAVE_MATH_H
18942 #include <math.h>
18943 #endif
18945 int (*ptr)() = (int (*)())cexpl;
18948 main ()
18950 return 0;
18953 _ACEOF
18954 if ac_fn_c_try_link "$LINENO"; then :
18955 gcc_cv_math_func_cexpl=yes
18956 else
18957 gcc_cv_math_func_cexpl=no
18959 rm -f core conftest.err conftest.$ac_objext \
18960 conftest$ac_exeext conftest.$ac_ext
18962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpl" >&5
18963 $as_echo "$gcc_cv_math_func_cexpl" >&6; }
18964 if test $gcc_cv_math_func_cexpl = yes; then
18966 cat >>confdefs.h <<_ACEOF
18967 #define HAVE_CEXPL 1
18968 _ACEOF
18975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf" >&5
18976 $as_echo_n "checking for fabsf... " >&6; }
18977 if test "${gcc_cv_math_func_fabsf+set}" = set; then :
18978 $as_echo_n "(cached) " >&6
18979 else
18980 if test x$gcc_no_link = xyes; then
18981 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18984 /* end confdefs.h. */
18986 #ifdef HAVE_COMPLEX_H
18987 #include <complex.h>
18988 #endif
18989 #ifdef HAVE_MATH_H
18990 #include <math.h>
18991 #endif
18993 int (*ptr)() = (int (*)())fabsf;
18996 main ()
18998 return 0;
19001 _ACEOF
19002 if ac_fn_c_try_link "$LINENO"; then :
19003 gcc_cv_math_func_fabsf=yes
19004 else
19005 gcc_cv_math_func_fabsf=no
19007 rm -f core conftest.err conftest.$ac_objext \
19008 conftest$ac_exeext conftest.$ac_ext
19010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsf" >&5
19011 $as_echo "$gcc_cv_math_func_fabsf" >&6; }
19012 if test $gcc_cv_math_func_fabsf = yes; then
19014 cat >>confdefs.h <<_ACEOF
19015 #define HAVE_FABSF 1
19016 _ACEOF
19023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabs" >&5
19024 $as_echo_n "checking for fabs... " >&6; }
19025 if test "${gcc_cv_math_func_fabs+set}" = set; then :
19026 $as_echo_n "(cached) " >&6
19027 else
19028 if test x$gcc_no_link = xyes; then
19029 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19032 /* end confdefs.h. */
19034 #ifdef HAVE_COMPLEX_H
19035 #include <complex.h>
19036 #endif
19037 #ifdef HAVE_MATH_H
19038 #include <math.h>
19039 #endif
19041 int (*ptr)() = (int (*)())fabs;
19044 main ()
19046 return 0;
19049 _ACEOF
19050 if ac_fn_c_try_link "$LINENO"; then :
19051 gcc_cv_math_func_fabs=yes
19052 else
19053 gcc_cv_math_func_fabs=no
19055 rm -f core conftest.err conftest.$ac_objext \
19056 conftest$ac_exeext conftest.$ac_ext
19058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabs" >&5
19059 $as_echo "$gcc_cv_math_func_fabs" >&6; }
19060 if test $gcc_cv_math_func_fabs = yes; then
19062 cat >>confdefs.h <<_ACEOF
19063 #define HAVE_FABS 1
19064 _ACEOF
19071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl" >&5
19072 $as_echo_n "checking for fabsl... " >&6; }
19073 if test "${gcc_cv_math_func_fabsl+set}" = set; then :
19074 $as_echo_n "(cached) " >&6
19075 else
19076 if test x$gcc_no_link = xyes; then
19077 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19080 /* end confdefs.h. */
19082 #ifdef HAVE_COMPLEX_H
19083 #include <complex.h>
19084 #endif
19085 #ifdef HAVE_MATH_H
19086 #include <math.h>
19087 #endif
19089 int (*ptr)() = (int (*)())fabsl;
19092 main ()
19094 return 0;
19097 _ACEOF
19098 if ac_fn_c_try_link "$LINENO"; then :
19099 gcc_cv_math_func_fabsl=yes
19100 else
19101 gcc_cv_math_func_fabsl=no
19103 rm -f core conftest.err conftest.$ac_objext \
19104 conftest$ac_exeext conftest.$ac_ext
19106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsl" >&5
19107 $as_echo "$gcc_cv_math_func_fabsl" >&6; }
19108 if test $gcc_cv_math_func_fabsl = yes; then
19110 cat >>confdefs.h <<_ACEOF
19111 #define HAVE_FABSL 1
19112 _ACEOF
19119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsf" >&5
19120 $as_echo_n "checking for cabsf... " >&6; }
19121 if test "${gcc_cv_math_func_cabsf+set}" = set; then :
19122 $as_echo_n "(cached) " >&6
19123 else
19124 if test x$gcc_no_link = xyes; then
19125 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19128 /* end confdefs.h. */
19130 #ifdef HAVE_COMPLEX_H
19131 #include <complex.h>
19132 #endif
19133 #ifdef HAVE_MATH_H
19134 #include <math.h>
19135 #endif
19137 int (*ptr)() = (int (*)())cabsf;
19140 main ()
19142 return 0;
19145 _ACEOF
19146 if ac_fn_c_try_link "$LINENO"; then :
19147 gcc_cv_math_func_cabsf=yes
19148 else
19149 gcc_cv_math_func_cabsf=no
19151 rm -f core conftest.err conftest.$ac_objext \
19152 conftest$ac_exeext conftest.$ac_ext
19154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsf" >&5
19155 $as_echo "$gcc_cv_math_func_cabsf" >&6; }
19156 if test $gcc_cv_math_func_cabsf = yes; then
19158 cat >>confdefs.h <<_ACEOF
19159 #define HAVE_CABSF 1
19160 _ACEOF
19167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabs" >&5
19168 $as_echo_n "checking for cabs... " >&6; }
19169 if test "${gcc_cv_math_func_cabs+set}" = set; then :
19170 $as_echo_n "(cached) " >&6
19171 else
19172 if test x$gcc_no_link = xyes; then
19173 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19176 /* end confdefs.h. */
19178 #ifdef HAVE_COMPLEX_H
19179 #include <complex.h>
19180 #endif
19181 #ifdef HAVE_MATH_H
19182 #include <math.h>
19183 #endif
19185 int (*ptr)() = (int (*)())cabs;
19188 main ()
19190 return 0;
19193 _ACEOF
19194 if ac_fn_c_try_link "$LINENO"; then :
19195 gcc_cv_math_func_cabs=yes
19196 else
19197 gcc_cv_math_func_cabs=no
19199 rm -f core conftest.err conftest.$ac_objext \
19200 conftest$ac_exeext conftest.$ac_ext
19202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabs" >&5
19203 $as_echo "$gcc_cv_math_func_cabs" >&6; }
19204 if test $gcc_cv_math_func_cabs = yes; then
19206 cat >>confdefs.h <<_ACEOF
19207 #define HAVE_CABS 1
19208 _ACEOF
19215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsl" >&5
19216 $as_echo_n "checking for cabsl... " >&6; }
19217 if test "${gcc_cv_math_func_cabsl+set}" = set; then :
19218 $as_echo_n "(cached) " >&6
19219 else
19220 if test x$gcc_no_link = xyes; then
19221 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19224 /* end confdefs.h. */
19226 #ifdef HAVE_COMPLEX_H
19227 #include <complex.h>
19228 #endif
19229 #ifdef HAVE_MATH_H
19230 #include <math.h>
19231 #endif
19233 int (*ptr)() = (int (*)())cabsl;
19236 main ()
19238 return 0;
19241 _ACEOF
19242 if ac_fn_c_try_link "$LINENO"; then :
19243 gcc_cv_math_func_cabsl=yes
19244 else
19245 gcc_cv_math_func_cabsl=no
19247 rm -f core conftest.err conftest.$ac_objext \
19248 conftest$ac_exeext conftest.$ac_ext
19250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsl" >&5
19251 $as_echo "$gcc_cv_math_func_cabsl" >&6; }
19252 if test $gcc_cv_math_func_cabsl = yes; then
19254 cat >>confdefs.h <<_ACEOF
19255 #define HAVE_CABSL 1
19256 _ACEOF
19263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorf" >&5
19264 $as_echo_n "checking for floorf... " >&6; }
19265 if test "${gcc_cv_math_func_floorf+set}" = set; then :
19266 $as_echo_n "(cached) " >&6
19267 else
19268 if test x$gcc_no_link = xyes; then
19269 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19272 /* end confdefs.h. */
19274 #ifdef HAVE_COMPLEX_H
19275 #include <complex.h>
19276 #endif
19277 #ifdef HAVE_MATH_H
19278 #include <math.h>
19279 #endif
19281 int (*ptr)() = (int (*)())floorf;
19284 main ()
19286 return 0;
19289 _ACEOF
19290 if ac_fn_c_try_link "$LINENO"; then :
19291 gcc_cv_math_func_floorf=yes
19292 else
19293 gcc_cv_math_func_floorf=no
19295 rm -f core conftest.err conftest.$ac_objext \
19296 conftest$ac_exeext conftest.$ac_ext
19298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorf" >&5
19299 $as_echo "$gcc_cv_math_func_floorf" >&6; }
19300 if test $gcc_cv_math_func_floorf = yes; then
19302 cat >>confdefs.h <<_ACEOF
19303 #define HAVE_FLOORF 1
19304 _ACEOF
19311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floor" >&5
19312 $as_echo_n "checking for floor... " >&6; }
19313 if test "${gcc_cv_math_func_floor+set}" = set; then :
19314 $as_echo_n "(cached) " >&6
19315 else
19316 if test x$gcc_no_link = xyes; then
19317 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19320 /* end confdefs.h. */
19322 #ifdef HAVE_COMPLEX_H
19323 #include <complex.h>
19324 #endif
19325 #ifdef HAVE_MATH_H
19326 #include <math.h>
19327 #endif
19329 int (*ptr)() = (int (*)())floor;
19332 main ()
19334 return 0;
19337 _ACEOF
19338 if ac_fn_c_try_link "$LINENO"; then :
19339 gcc_cv_math_func_floor=yes
19340 else
19341 gcc_cv_math_func_floor=no
19343 rm -f core conftest.err conftest.$ac_objext \
19344 conftest$ac_exeext conftest.$ac_ext
19346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floor" >&5
19347 $as_echo "$gcc_cv_math_func_floor" >&6; }
19348 if test $gcc_cv_math_func_floor = yes; then
19350 cat >>confdefs.h <<_ACEOF
19351 #define HAVE_FLOOR 1
19352 _ACEOF
19359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorl" >&5
19360 $as_echo_n "checking for floorl... " >&6; }
19361 if test "${gcc_cv_math_func_floorl+set}" = set; then :
19362 $as_echo_n "(cached) " >&6
19363 else
19364 if test x$gcc_no_link = xyes; then
19365 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19368 /* end confdefs.h. */
19370 #ifdef HAVE_COMPLEX_H
19371 #include <complex.h>
19372 #endif
19373 #ifdef HAVE_MATH_H
19374 #include <math.h>
19375 #endif
19377 int (*ptr)() = (int (*)())floorl;
19380 main ()
19382 return 0;
19385 _ACEOF
19386 if ac_fn_c_try_link "$LINENO"; then :
19387 gcc_cv_math_func_floorl=yes
19388 else
19389 gcc_cv_math_func_floorl=no
19391 rm -f core conftest.err conftest.$ac_objext \
19392 conftest$ac_exeext conftest.$ac_ext
19394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorl" >&5
19395 $as_echo "$gcc_cv_math_func_floorl" >&6; }
19396 if test $gcc_cv_math_func_floorl = yes; then
19398 cat >>confdefs.h <<_ACEOF
19399 #define HAVE_FLOORL 1
19400 _ACEOF
19407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf" >&5
19408 $as_echo_n "checking for fmodf... " >&6; }
19409 if test "${gcc_cv_math_func_fmodf+set}" = set; then :
19410 $as_echo_n "(cached) " >&6
19411 else
19412 if test x$gcc_no_link = xyes; then
19413 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19416 /* end confdefs.h. */
19418 #ifdef HAVE_COMPLEX_H
19419 #include <complex.h>
19420 #endif
19421 #ifdef HAVE_MATH_H
19422 #include <math.h>
19423 #endif
19425 int (*ptr)() = (int (*)())fmodf;
19428 main ()
19430 return 0;
19433 _ACEOF
19434 if ac_fn_c_try_link "$LINENO"; then :
19435 gcc_cv_math_func_fmodf=yes
19436 else
19437 gcc_cv_math_func_fmodf=no
19439 rm -f core conftest.err conftest.$ac_objext \
19440 conftest$ac_exeext conftest.$ac_ext
19442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodf" >&5
19443 $as_echo "$gcc_cv_math_func_fmodf" >&6; }
19444 if test $gcc_cv_math_func_fmodf = yes; then
19446 cat >>confdefs.h <<_ACEOF
19447 #define HAVE_FMODF 1
19448 _ACEOF
19455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmod" >&5
19456 $as_echo_n "checking for fmod... " >&6; }
19457 if test "${gcc_cv_math_func_fmod+set}" = set; then :
19458 $as_echo_n "(cached) " >&6
19459 else
19460 if test x$gcc_no_link = xyes; then
19461 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19464 /* end confdefs.h. */
19466 #ifdef HAVE_COMPLEX_H
19467 #include <complex.h>
19468 #endif
19469 #ifdef HAVE_MATH_H
19470 #include <math.h>
19471 #endif
19473 int (*ptr)() = (int (*)())fmod;
19476 main ()
19478 return 0;
19481 _ACEOF
19482 if ac_fn_c_try_link "$LINENO"; then :
19483 gcc_cv_math_func_fmod=yes
19484 else
19485 gcc_cv_math_func_fmod=no
19487 rm -f core conftest.err conftest.$ac_objext \
19488 conftest$ac_exeext conftest.$ac_ext
19490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmod" >&5
19491 $as_echo "$gcc_cv_math_func_fmod" >&6; }
19492 if test $gcc_cv_math_func_fmod = yes; then
19494 cat >>confdefs.h <<_ACEOF
19495 #define HAVE_FMOD 1
19496 _ACEOF
19503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl" >&5
19504 $as_echo_n "checking for fmodl... " >&6; }
19505 if test "${gcc_cv_math_func_fmodl+set}" = set; then :
19506 $as_echo_n "(cached) " >&6
19507 else
19508 if test x$gcc_no_link = xyes; then
19509 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19512 /* end confdefs.h. */
19514 #ifdef HAVE_COMPLEX_H
19515 #include <complex.h>
19516 #endif
19517 #ifdef HAVE_MATH_H
19518 #include <math.h>
19519 #endif
19521 int (*ptr)() = (int (*)())fmodl;
19524 main ()
19526 return 0;
19529 _ACEOF
19530 if ac_fn_c_try_link "$LINENO"; then :
19531 gcc_cv_math_func_fmodl=yes
19532 else
19533 gcc_cv_math_func_fmodl=no
19535 rm -f core conftest.err conftest.$ac_objext \
19536 conftest$ac_exeext conftest.$ac_ext
19538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodl" >&5
19539 $as_echo "$gcc_cv_math_func_fmodl" >&6; }
19540 if test $gcc_cv_math_func_fmodl = yes; then
19542 cat >>confdefs.h <<_ACEOF
19543 #define HAVE_FMODL 1
19544 _ACEOF
19551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf" >&5
19552 $as_echo_n "checking for frexpf... " >&6; }
19553 if test "${gcc_cv_math_func_frexpf+set}" = set; then :
19554 $as_echo_n "(cached) " >&6
19555 else
19556 if test x$gcc_no_link = xyes; then
19557 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19560 /* end confdefs.h. */
19562 #ifdef HAVE_COMPLEX_H
19563 #include <complex.h>
19564 #endif
19565 #ifdef HAVE_MATH_H
19566 #include <math.h>
19567 #endif
19569 int (*ptr)() = (int (*)())frexpf;
19572 main ()
19574 return 0;
19577 _ACEOF
19578 if ac_fn_c_try_link "$LINENO"; then :
19579 gcc_cv_math_func_frexpf=yes
19580 else
19581 gcc_cv_math_func_frexpf=no
19583 rm -f core conftest.err conftest.$ac_objext \
19584 conftest$ac_exeext conftest.$ac_ext
19586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpf" >&5
19587 $as_echo "$gcc_cv_math_func_frexpf" >&6; }
19588 if test $gcc_cv_math_func_frexpf = yes; then
19590 cat >>confdefs.h <<_ACEOF
19591 #define HAVE_FREXPF 1
19592 _ACEOF
19599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexp" >&5
19600 $as_echo_n "checking for frexp... " >&6; }
19601 if test "${gcc_cv_math_func_frexp+set}" = set; then :
19602 $as_echo_n "(cached) " >&6
19603 else
19604 if test x$gcc_no_link = xyes; then
19605 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19608 /* end confdefs.h. */
19610 #ifdef HAVE_COMPLEX_H
19611 #include <complex.h>
19612 #endif
19613 #ifdef HAVE_MATH_H
19614 #include <math.h>
19615 #endif
19617 int (*ptr)() = (int (*)())frexp;
19620 main ()
19622 return 0;
19625 _ACEOF
19626 if ac_fn_c_try_link "$LINENO"; then :
19627 gcc_cv_math_func_frexp=yes
19628 else
19629 gcc_cv_math_func_frexp=no
19631 rm -f core conftest.err conftest.$ac_objext \
19632 conftest$ac_exeext conftest.$ac_ext
19634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexp" >&5
19635 $as_echo "$gcc_cv_math_func_frexp" >&6; }
19636 if test $gcc_cv_math_func_frexp = yes; then
19638 cat >>confdefs.h <<_ACEOF
19639 #define HAVE_FREXP 1
19640 _ACEOF
19647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl" >&5
19648 $as_echo_n "checking for frexpl... " >&6; }
19649 if test "${gcc_cv_math_func_frexpl+set}" = set; then :
19650 $as_echo_n "(cached) " >&6
19651 else
19652 if test x$gcc_no_link = xyes; then
19653 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19656 /* end confdefs.h. */
19658 #ifdef HAVE_COMPLEX_H
19659 #include <complex.h>
19660 #endif
19661 #ifdef HAVE_MATH_H
19662 #include <math.h>
19663 #endif
19665 int (*ptr)() = (int (*)())frexpl;
19668 main ()
19670 return 0;
19673 _ACEOF
19674 if ac_fn_c_try_link "$LINENO"; then :
19675 gcc_cv_math_func_frexpl=yes
19676 else
19677 gcc_cv_math_func_frexpl=no
19679 rm -f core conftest.err conftest.$ac_objext \
19680 conftest$ac_exeext conftest.$ac_ext
19682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpl" >&5
19683 $as_echo "$gcc_cv_math_func_frexpl" >&6; }
19684 if test $gcc_cv_math_func_frexpl = yes; then
19686 cat >>confdefs.h <<_ACEOF
19687 #define HAVE_FREXPL 1
19688 _ACEOF
19695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf" >&5
19696 $as_echo_n "checking for hypotf... " >&6; }
19697 if test "${gcc_cv_math_func_hypotf+set}" = set; then :
19698 $as_echo_n "(cached) " >&6
19699 else
19700 if test x$gcc_no_link = xyes; then
19701 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19704 /* end confdefs.h. */
19706 #ifdef HAVE_COMPLEX_H
19707 #include <complex.h>
19708 #endif
19709 #ifdef HAVE_MATH_H
19710 #include <math.h>
19711 #endif
19713 int (*ptr)() = (int (*)())hypotf;
19716 main ()
19718 return 0;
19721 _ACEOF
19722 if ac_fn_c_try_link "$LINENO"; then :
19723 gcc_cv_math_func_hypotf=yes
19724 else
19725 gcc_cv_math_func_hypotf=no
19727 rm -f core conftest.err conftest.$ac_objext \
19728 conftest$ac_exeext conftest.$ac_ext
19730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotf" >&5
19731 $as_echo "$gcc_cv_math_func_hypotf" >&6; }
19732 if test $gcc_cv_math_func_hypotf = yes; then
19734 cat >>confdefs.h <<_ACEOF
19735 #define HAVE_HYPOTF 1
19736 _ACEOF
19743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot" >&5
19744 $as_echo_n "checking for hypot... " >&6; }
19745 if test "${gcc_cv_math_func_hypot+set}" = set; then :
19746 $as_echo_n "(cached) " >&6
19747 else
19748 if test x$gcc_no_link = xyes; then
19749 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19752 /* end confdefs.h. */
19754 #ifdef HAVE_COMPLEX_H
19755 #include <complex.h>
19756 #endif
19757 #ifdef HAVE_MATH_H
19758 #include <math.h>
19759 #endif
19761 int (*ptr)() = (int (*)())hypot;
19764 main ()
19766 return 0;
19769 _ACEOF
19770 if ac_fn_c_try_link "$LINENO"; then :
19771 gcc_cv_math_func_hypot=yes
19772 else
19773 gcc_cv_math_func_hypot=no
19775 rm -f core conftest.err conftest.$ac_objext \
19776 conftest$ac_exeext conftest.$ac_ext
19778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypot" >&5
19779 $as_echo "$gcc_cv_math_func_hypot" >&6; }
19780 if test $gcc_cv_math_func_hypot = yes; then
19782 cat >>confdefs.h <<_ACEOF
19783 #define HAVE_HYPOT 1
19784 _ACEOF
19791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl" >&5
19792 $as_echo_n "checking for hypotl... " >&6; }
19793 if test "${gcc_cv_math_func_hypotl+set}" = set; then :
19794 $as_echo_n "(cached) " >&6
19795 else
19796 if test x$gcc_no_link = xyes; then
19797 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19800 /* end confdefs.h. */
19802 #ifdef HAVE_COMPLEX_H
19803 #include <complex.h>
19804 #endif
19805 #ifdef HAVE_MATH_H
19806 #include <math.h>
19807 #endif
19809 int (*ptr)() = (int (*)())hypotl;
19812 main ()
19814 return 0;
19817 _ACEOF
19818 if ac_fn_c_try_link "$LINENO"; then :
19819 gcc_cv_math_func_hypotl=yes
19820 else
19821 gcc_cv_math_func_hypotl=no
19823 rm -f core conftest.err conftest.$ac_objext \
19824 conftest$ac_exeext conftest.$ac_ext
19826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotl" >&5
19827 $as_echo "$gcc_cv_math_func_hypotl" >&6; }
19828 if test $gcc_cv_math_func_hypotl = yes; then
19830 cat >>confdefs.h <<_ACEOF
19831 #define HAVE_HYPOTL 1
19832 _ACEOF
19839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf" >&5
19840 $as_echo_n "checking for ldexpf... " >&6; }
19841 if test "${gcc_cv_math_func_ldexpf+set}" = set; then :
19842 $as_echo_n "(cached) " >&6
19843 else
19844 if test x$gcc_no_link = xyes; then
19845 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19848 /* end confdefs.h. */
19850 #ifdef HAVE_COMPLEX_H
19851 #include <complex.h>
19852 #endif
19853 #ifdef HAVE_MATH_H
19854 #include <math.h>
19855 #endif
19857 int (*ptr)() = (int (*)())ldexpf;
19860 main ()
19862 return 0;
19865 _ACEOF
19866 if ac_fn_c_try_link "$LINENO"; then :
19867 gcc_cv_math_func_ldexpf=yes
19868 else
19869 gcc_cv_math_func_ldexpf=no
19871 rm -f core conftest.err conftest.$ac_objext \
19872 conftest$ac_exeext conftest.$ac_ext
19874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpf" >&5
19875 $as_echo "$gcc_cv_math_func_ldexpf" >&6; }
19876 if test $gcc_cv_math_func_ldexpf = yes; then
19878 cat >>confdefs.h <<_ACEOF
19879 #define HAVE_LDEXPF 1
19880 _ACEOF
19887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexp" >&5
19888 $as_echo_n "checking for ldexp... " >&6; }
19889 if test "${gcc_cv_math_func_ldexp+set}" = set; then :
19890 $as_echo_n "(cached) " >&6
19891 else
19892 if test x$gcc_no_link = xyes; then
19893 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19896 /* end confdefs.h. */
19898 #ifdef HAVE_COMPLEX_H
19899 #include <complex.h>
19900 #endif
19901 #ifdef HAVE_MATH_H
19902 #include <math.h>
19903 #endif
19905 int (*ptr)() = (int (*)())ldexp;
19908 main ()
19910 return 0;
19913 _ACEOF
19914 if ac_fn_c_try_link "$LINENO"; then :
19915 gcc_cv_math_func_ldexp=yes
19916 else
19917 gcc_cv_math_func_ldexp=no
19919 rm -f core conftest.err conftest.$ac_objext \
19920 conftest$ac_exeext conftest.$ac_ext
19922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexp" >&5
19923 $as_echo "$gcc_cv_math_func_ldexp" >&6; }
19924 if test $gcc_cv_math_func_ldexp = yes; then
19926 cat >>confdefs.h <<_ACEOF
19927 #define HAVE_LDEXP 1
19928 _ACEOF
19935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl" >&5
19936 $as_echo_n "checking for ldexpl... " >&6; }
19937 if test "${gcc_cv_math_func_ldexpl+set}" = set; then :
19938 $as_echo_n "(cached) " >&6
19939 else
19940 if test x$gcc_no_link = xyes; then
19941 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19944 /* end confdefs.h. */
19946 #ifdef HAVE_COMPLEX_H
19947 #include <complex.h>
19948 #endif
19949 #ifdef HAVE_MATH_H
19950 #include <math.h>
19951 #endif
19953 int (*ptr)() = (int (*)())ldexpl;
19956 main ()
19958 return 0;
19961 _ACEOF
19962 if ac_fn_c_try_link "$LINENO"; then :
19963 gcc_cv_math_func_ldexpl=yes
19964 else
19965 gcc_cv_math_func_ldexpl=no
19967 rm -f core conftest.err conftest.$ac_objext \
19968 conftest$ac_exeext conftest.$ac_ext
19970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpl" >&5
19971 $as_echo "$gcc_cv_math_func_ldexpl" >&6; }
19972 if test $gcc_cv_math_func_ldexpl = yes; then
19974 cat >>confdefs.h <<_ACEOF
19975 #define HAVE_LDEXPL 1
19976 _ACEOF
19983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf" >&5
19984 $as_echo_n "checking for logf... " >&6; }
19985 if test "${gcc_cv_math_func_logf+set}" = set; then :
19986 $as_echo_n "(cached) " >&6
19987 else
19988 if test x$gcc_no_link = xyes; then
19989 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19992 /* end confdefs.h. */
19994 #ifdef HAVE_COMPLEX_H
19995 #include <complex.h>
19996 #endif
19997 #ifdef HAVE_MATH_H
19998 #include <math.h>
19999 #endif
20001 int (*ptr)() = (int (*)())logf;
20004 main ()
20006 return 0;
20009 _ACEOF
20010 if ac_fn_c_try_link "$LINENO"; then :
20011 gcc_cv_math_func_logf=yes
20012 else
20013 gcc_cv_math_func_logf=no
20015 rm -f core conftest.err conftest.$ac_objext \
20016 conftest$ac_exeext conftest.$ac_ext
20018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logf" >&5
20019 $as_echo "$gcc_cv_math_func_logf" >&6; }
20020 if test $gcc_cv_math_func_logf = yes; then
20022 cat >>confdefs.h <<_ACEOF
20023 #define HAVE_LOGF 1
20024 _ACEOF
20031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log" >&5
20032 $as_echo_n "checking for log... " >&6; }
20033 if test "${gcc_cv_math_func_log+set}" = set; then :
20034 $as_echo_n "(cached) " >&6
20035 else
20036 if test x$gcc_no_link = xyes; then
20037 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20040 /* end confdefs.h. */
20042 #ifdef HAVE_COMPLEX_H
20043 #include <complex.h>
20044 #endif
20045 #ifdef HAVE_MATH_H
20046 #include <math.h>
20047 #endif
20049 int (*ptr)() = (int (*)())log;
20052 main ()
20054 return 0;
20057 _ACEOF
20058 if ac_fn_c_try_link "$LINENO"; then :
20059 gcc_cv_math_func_log=yes
20060 else
20061 gcc_cv_math_func_log=no
20063 rm -f core conftest.err conftest.$ac_objext \
20064 conftest$ac_exeext conftest.$ac_ext
20066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log" >&5
20067 $as_echo "$gcc_cv_math_func_log" >&6; }
20068 if test $gcc_cv_math_func_log = yes; then
20070 cat >>confdefs.h <<_ACEOF
20071 #define HAVE_LOG 1
20072 _ACEOF
20079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl" >&5
20080 $as_echo_n "checking for logl... " >&6; }
20081 if test "${gcc_cv_math_func_logl+set}" = set; then :
20082 $as_echo_n "(cached) " >&6
20083 else
20084 if test x$gcc_no_link = xyes; then
20085 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20088 /* end confdefs.h. */
20090 #ifdef HAVE_COMPLEX_H
20091 #include <complex.h>
20092 #endif
20093 #ifdef HAVE_MATH_H
20094 #include <math.h>
20095 #endif
20097 int (*ptr)() = (int (*)())logl;
20100 main ()
20102 return 0;
20105 _ACEOF
20106 if ac_fn_c_try_link "$LINENO"; then :
20107 gcc_cv_math_func_logl=yes
20108 else
20109 gcc_cv_math_func_logl=no
20111 rm -f core conftest.err conftest.$ac_objext \
20112 conftest$ac_exeext conftest.$ac_ext
20114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logl" >&5
20115 $as_echo "$gcc_cv_math_func_logl" >&6; }
20116 if test $gcc_cv_math_func_logl = yes; then
20118 cat >>confdefs.h <<_ACEOF
20119 #define HAVE_LOGL 1
20120 _ACEOF
20127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogf" >&5
20128 $as_echo_n "checking for clogf... " >&6; }
20129 if test "${gcc_cv_math_func_clogf+set}" = set; then :
20130 $as_echo_n "(cached) " >&6
20131 else
20132 if test x$gcc_no_link = xyes; then
20133 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20136 /* end confdefs.h. */
20138 #ifdef HAVE_COMPLEX_H
20139 #include <complex.h>
20140 #endif
20141 #ifdef HAVE_MATH_H
20142 #include <math.h>
20143 #endif
20145 int (*ptr)() = (int (*)())clogf;
20148 main ()
20150 return 0;
20153 _ACEOF
20154 if ac_fn_c_try_link "$LINENO"; then :
20155 gcc_cv_math_func_clogf=yes
20156 else
20157 gcc_cv_math_func_clogf=no
20159 rm -f core conftest.err conftest.$ac_objext \
20160 conftest$ac_exeext conftest.$ac_ext
20162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogf" >&5
20163 $as_echo "$gcc_cv_math_func_clogf" >&6; }
20164 if test $gcc_cv_math_func_clogf = yes; then
20166 cat >>confdefs.h <<_ACEOF
20167 #define HAVE_CLOGF 1
20168 _ACEOF
20175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog" >&5
20176 $as_echo_n "checking for clog... " >&6; }
20177 if test "${gcc_cv_math_func_clog+set}" = set; then :
20178 $as_echo_n "(cached) " >&6
20179 else
20180 if test x$gcc_no_link = xyes; then
20181 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20184 /* end confdefs.h. */
20186 #ifdef HAVE_COMPLEX_H
20187 #include <complex.h>
20188 #endif
20189 #ifdef HAVE_MATH_H
20190 #include <math.h>
20191 #endif
20193 int (*ptr)() = (int (*)())clog;
20196 main ()
20198 return 0;
20201 _ACEOF
20202 if ac_fn_c_try_link "$LINENO"; then :
20203 gcc_cv_math_func_clog=yes
20204 else
20205 gcc_cv_math_func_clog=no
20207 rm -f core conftest.err conftest.$ac_objext \
20208 conftest$ac_exeext conftest.$ac_ext
20210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog" >&5
20211 $as_echo "$gcc_cv_math_func_clog" >&6; }
20212 if test $gcc_cv_math_func_clog = yes; then
20214 cat >>confdefs.h <<_ACEOF
20215 #define HAVE_CLOG 1
20216 _ACEOF
20223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogl" >&5
20224 $as_echo_n "checking for clogl... " >&6; }
20225 if test "${gcc_cv_math_func_clogl+set}" = set; then :
20226 $as_echo_n "(cached) " >&6
20227 else
20228 if test x$gcc_no_link = xyes; then
20229 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20232 /* end confdefs.h. */
20234 #ifdef HAVE_COMPLEX_H
20235 #include <complex.h>
20236 #endif
20237 #ifdef HAVE_MATH_H
20238 #include <math.h>
20239 #endif
20241 int (*ptr)() = (int (*)())clogl;
20244 main ()
20246 return 0;
20249 _ACEOF
20250 if ac_fn_c_try_link "$LINENO"; then :
20251 gcc_cv_math_func_clogl=yes
20252 else
20253 gcc_cv_math_func_clogl=no
20255 rm -f core conftest.err conftest.$ac_objext \
20256 conftest$ac_exeext conftest.$ac_ext
20258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogl" >&5
20259 $as_echo "$gcc_cv_math_func_clogl" >&6; }
20260 if test $gcc_cv_math_func_clogl = yes; then
20262 cat >>confdefs.h <<_ACEOF
20263 #define HAVE_CLOGL 1
20264 _ACEOF
20271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f" >&5
20272 $as_echo_n "checking for log10f... " >&6; }
20273 if test "${gcc_cv_math_func_log10f+set}" = set; then :
20274 $as_echo_n "(cached) " >&6
20275 else
20276 if test x$gcc_no_link = xyes; then
20277 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20280 /* end confdefs.h. */
20282 #ifdef HAVE_COMPLEX_H
20283 #include <complex.h>
20284 #endif
20285 #ifdef HAVE_MATH_H
20286 #include <math.h>
20287 #endif
20289 int (*ptr)() = (int (*)())log10f;
20292 main ()
20294 return 0;
20297 _ACEOF
20298 if ac_fn_c_try_link "$LINENO"; then :
20299 gcc_cv_math_func_log10f=yes
20300 else
20301 gcc_cv_math_func_log10f=no
20303 rm -f core conftest.err conftest.$ac_objext \
20304 conftest$ac_exeext conftest.$ac_ext
20306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10f" >&5
20307 $as_echo "$gcc_cv_math_func_log10f" >&6; }
20308 if test $gcc_cv_math_func_log10f = yes; then
20310 cat >>confdefs.h <<_ACEOF
20311 #define HAVE_LOG10F 1
20312 _ACEOF
20319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10" >&5
20320 $as_echo_n "checking for log10... " >&6; }
20321 if test "${gcc_cv_math_func_log10+set}" = set; then :
20322 $as_echo_n "(cached) " >&6
20323 else
20324 if test x$gcc_no_link = xyes; then
20325 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20328 /* end confdefs.h. */
20330 #ifdef HAVE_COMPLEX_H
20331 #include <complex.h>
20332 #endif
20333 #ifdef HAVE_MATH_H
20334 #include <math.h>
20335 #endif
20337 int (*ptr)() = (int (*)())log10;
20340 main ()
20342 return 0;
20345 _ACEOF
20346 if ac_fn_c_try_link "$LINENO"; then :
20347 gcc_cv_math_func_log10=yes
20348 else
20349 gcc_cv_math_func_log10=no
20351 rm -f core conftest.err conftest.$ac_objext \
20352 conftest$ac_exeext conftest.$ac_ext
20354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10" >&5
20355 $as_echo "$gcc_cv_math_func_log10" >&6; }
20356 if test $gcc_cv_math_func_log10 = yes; then
20358 cat >>confdefs.h <<_ACEOF
20359 #define HAVE_LOG10 1
20360 _ACEOF
20367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l" >&5
20368 $as_echo_n "checking for log10l... " >&6; }
20369 if test "${gcc_cv_math_func_log10l+set}" = set; then :
20370 $as_echo_n "(cached) " >&6
20371 else
20372 if test x$gcc_no_link = xyes; then
20373 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20376 /* end confdefs.h. */
20378 #ifdef HAVE_COMPLEX_H
20379 #include <complex.h>
20380 #endif
20381 #ifdef HAVE_MATH_H
20382 #include <math.h>
20383 #endif
20385 int (*ptr)() = (int (*)())log10l;
20388 main ()
20390 return 0;
20393 _ACEOF
20394 if ac_fn_c_try_link "$LINENO"; then :
20395 gcc_cv_math_func_log10l=yes
20396 else
20397 gcc_cv_math_func_log10l=no
20399 rm -f core conftest.err conftest.$ac_objext \
20400 conftest$ac_exeext conftest.$ac_ext
20402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10l" >&5
20403 $as_echo "$gcc_cv_math_func_log10l" >&6; }
20404 if test $gcc_cv_math_func_log10l = yes; then
20406 cat >>confdefs.h <<_ACEOF
20407 #define HAVE_LOG10L 1
20408 _ACEOF
20415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10f" >&5
20416 $as_echo_n "checking for clog10f... " >&6; }
20417 if test "${gcc_cv_math_func_clog10f+set}" = set; then :
20418 $as_echo_n "(cached) " >&6
20419 else
20420 if test x$gcc_no_link = xyes; then
20421 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20424 /* end confdefs.h. */
20426 #ifdef HAVE_COMPLEX_H
20427 #include <complex.h>
20428 #endif
20429 #ifdef HAVE_MATH_H
20430 #include <math.h>
20431 #endif
20433 int (*ptr)() = (int (*)())clog10f;
20436 main ()
20438 return 0;
20441 _ACEOF
20442 if ac_fn_c_try_link "$LINENO"; then :
20443 gcc_cv_math_func_clog10f=yes
20444 else
20445 gcc_cv_math_func_clog10f=no
20447 rm -f core conftest.err conftest.$ac_objext \
20448 conftest$ac_exeext conftest.$ac_ext
20450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10f" >&5
20451 $as_echo "$gcc_cv_math_func_clog10f" >&6; }
20452 if test $gcc_cv_math_func_clog10f = yes; then
20454 cat >>confdefs.h <<_ACEOF
20455 #define HAVE_CLOG10F 1
20456 _ACEOF
20463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10" >&5
20464 $as_echo_n "checking for clog10... " >&6; }
20465 if test "${gcc_cv_math_func_clog10+set}" = set; then :
20466 $as_echo_n "(cached) " >&6
20467 else
20468 if test x$gcc_no_link = xyes; then
20469 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20472 /* end confdefs.h. */
20474 #ifdef HAVE_COMPLEX_H
20475 #include <complex.h>
20476 #endif
20477 #ifdef HAVE_MATH_H
20478 #include <math.h>
20479 #endif
20481 int (*ptr)() = (int (*)())clog10;
20484 main ()
20486 return 0;
20489 _ACEOF
20490 if ac_fn_c_try_link "$LINENO"; then :
20491 gcc_cv_math_func_clog10=yes
20492 else
20493 gcc_cv_math_func_clog10=no
20495 rm -f core conftest.err conftest.$ac_objext \
20496 conftest$ac_exeext conftest.$ac_ext
20498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10" >&5
20499 $as_echo "$gcc_cv_math_func_clog10" >&6; }
20500 if test $gcc_cv_math_func_clog10 = yes; then
20502 cat >>confdefs.h <<_ACEOF
20503 #define HAVE_CLOG10 1
20504 _ACEOF
20511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10l" >&5
20512 $as_echo_n "checking for clog10l... " >&6; }
20513 if test "${gcc_cv_math_func_clog10l+set}" = set; then :
20514 $as_echo_n "(cached) " >&6
20515 else
20516 if test x$gcc_no_link = xyes; then
20517 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20520 /* end confdefs.h. */
20522 #ifdef HAVE_COMPLEX_H
20523 #include <complex.h>
20524 #endif
20525 #ifdef HAVE_MATH_H
20526 #include <math.h>
20527 #endif
20529 int (*ptr)() = (int (*)())clog10l;
20532 main ()
20534 return 0;
20537 _ACEOF
20538 if ac_fn_c_try_link "$LINENO"; then :
20539 gcc_cv_math_func_clog10l=yes
20540 else
20541 gcc_cv_math_func_clog10l=no
20543 rm -f core conftest.err conftest.$ac_objext \
20544 conftest$ac_exeext conftest.$ac_ext
20546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10l" >&5
20547 $as_echo "$gcc_cv_math_func_clog10l" >&6; }
20548 if test $gcc_cv_math_func_clog10l = yes; then
20550 cat >>confdefs.h <<_ACEOF
20551 #define HAVE_CLOG10L 1
20552 _ACEOF
20559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterf" >&5
20560 $as_echo_n "checking for nextafterf... " >&6; }
20561 if test "${gcc_cv_math_func_nextafterf+set}" = set; then :
20562 $as_echo_n "(cached) " >&6
20563 else
20564 if test x$gcc_no_link = xyes; then
20565 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20568 /* end confdefs.h. */
20570 #ifdef HAVE_COMPLEX_H
20571 #include <complex.h>
20572 #endif
20573 #ifdef HAVE_MATH_H
20574 #include <math.h>
20575 #endif
20577 int (*ptr)() = (int (*)())nextafterf;
20580 main ()
20582 return 0;
20585 _ACEOF
20586 if ac_fn_c_try_link "$LINENO"; then :
20587 gcc_cv_math_func_nextafterf=yes
20588 else
20589 gcc_cv_math_func_nextafterf=no
20591 rm -f core conftest.err conftest.$ac_objext \
20592 conftest$ac_exeext conftest.$ac_ext
20594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterf" >&5
20595 $as_echo "$gcc_cv_math_func_nextafterf" >&6; }
20596 if test $gcc_cv_math_func_nextafterf = yes; then
20598 cat >>confdefs.h <<_ACEOF
20599 #define HAVE_NEXTAFTERF 1
20600 _ACEOF
20607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafter" >&5
20608 $as_echo_n "checking for nextafter... " >&6; }
20609 if test "${gcc_cv_math_func_nextafter+set}" = set; then :
20610 $as_echo_n "(cached) " >&6
20611 else
20612 if test x$gcc_no_link = xyes; then
20613 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20616 /* end confdefs.h. */
20618 #ifdef HAVE_COMPLEX_H
20619 #include <complex.h>
20620 #endif
20621 #ifdef HAVE_MATH_H
20622 #include <math.h>
20623 #endif
20625 int (*ptr)() = (int (*)())nextafter;
20628 main ()
20630 return 0;
20633 _ACEOF
20634 if ac_fn_c_try_link "$LINENO"; then :
20635 gcc_cv_math_func_nextafter=yes
20636 else
20637 gcc_cv_math_func_nextafter=no
20639 rm -f core conftest.err conftest.$ac_objext \
20640 conftest$ac_exeext conftest.$ac_ext
20642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafter" >&5
20643 $as_echo "$gcc_cv_math_func_nextafter" >&6; }
20644 if test $gcc_cv_math_func_nextafter = yes; then
20646 cat >>confdefs.h <<_ACEOF
20647 #define HAVE_NEXTAFTER 1
20648 _ACEOF
20655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterl" >&5
20656 $as_echo_n "checking for nextafterl... " >&6; }
20657 if test "${gcc_cv_math_func_nextafterl+set}" = set; then :
20658 $as_echo_n "(cached) " >&6
20659 else
20660 if test x$gcc_no_link = xyes; then
20661 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20664 /* end confdefs.h. */
20666 #ifdef HAVE_COMPLEX_H
20667 #include <complex.h>
20668 #endif
20669 #ifdef HAVE_MATH_H
20670 #include <math.h>
20671 #endif
20673 int (*ptr)() = (int (*)())nextafterl;
20676 main ()
20678 return 0;
20681 _ACEOF
20682 if ac_fn_c_try_link "$LINENO"; then :
20683 gcc_cv_math_func_nextafterl=yes
20684 else
20685 gcc_cv_math_func_nextafterl=no
20687 rm -f core conftest.err conftest.$ac_objext \
20688 conftest$ac_exeext conftest.$ac_ext
20690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterl" >&5
20691 $as_echo "$gcc_cv_math_func_nextafterl" >&6; }
20692 if test $gcc_cv_math_func_nextafterl = yes; then
20694 cat >>confdefs.h <<_ACEOF
20695 #define HAVE_NEXTAFTERL 1
20696 _ACEOF
20703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf" >&5
20704 $as_echo_n "checking for powf... " >&6; }
20705 if test "${gcc_cv_math_func_powf+set}" = set; then :
20706 $as_echo_n "(cached) " >&6
20707 else
20708 if test x$gcc_no_link = xyes; then
20709 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20712 /* end confdefs.h. */
20714 #ifdef HAVE_COMPLEX_H
20715 #include <complex.h>
20716 #endif
20717 #ifdef HAVE_MATH_H
20718 #include <math.h>
20719 #endif
20721 int (*ptr)() = (int (*)())powf;
20724 main ()
20726 return 0;
20729 _ACEOF
20730 if ac_fn_c_try_link "$LINENO"; then :
20731 gcc_cv_math_func_powf=yes
20732 else
20733 gcc_cv_math_func_powf=no
20735 rm -f core conftest.err conftest.$ac_objext \
20736 conftest$ac_exeext conftest.$ac_ext
20738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_powf" >&5
20739 $as_echo "$gcc_cv_math_func_powf" >&6; }
20740 if test $gcc_cv_math_func_powf = yes; then
20742 cat >>confdefs.h <<_ACEOF
20743 #define HAVE_POWF 1
20744 _ACEOF
20751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow" >&5
20752 $as_echo_n "checking for pow... " >&6; }
20753 if test "${gcc_cv_math_func_pow+set}" = set; then :
20754 $as_echo_n "(cached) " >&6
20755 else
20756 if test x$gcc_no_link = xyes; then
20757 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20760 /* end confdefs.h. */
20762 #ifdef HAVE_COMPLEX_H
20763 #include <complex.h>
20764 #endif
20765 #ifdef HAVE_MATH_H
20766 #include <math.h>
20767 #endif
20769 int (*ptr)() = (int (*)())pow;
20772 main ()
20774 return 0;
20777 _ACEOF
20778 if ac_fn_c_try_link "$LINENO"; then :
20779 gcc_cv_math_func_pow=yes
20780 else
20781 gcc_cv_math_func_pow=no
20783 rm -f core conftest.err conftest.$ac_objext \
20784 conftest$ac_exeext conftest.$ac_ext
20786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_pow" >&5
20787 $as_echo "$gcc_cv_math_func_pow" >&6; }
20788 if test $gcc_cv_math_func_pow = yes; then
20790 cat >>confdefs.h <<_ACEOF
20791 #define HAVE_POW 1
20792 _ACEOF
20799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl" >&5
20800 $as_echo_n "checking for powl... " >&6; }
20801 if test "${gcc_cv_math_func_powl+set}" = set; then :
20802 $as_echo_n "(cached) " >&6
20803 else
20804 if test x$gcc_no_link = xyes; then
20805 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20808 /* end confdefs.h. */
20810 #ifdef HAVE_COMPLEX_H
20811 #include <complex.h>
20812 #endif
20813 #ifdef HAVE_MATH_H
20814 #include <math.h>
20815 #endif
20817 int (*ptr)() = (int (*)())powl;
20820 main ()
20822 return 0;
20825 _ACEOF
20826 if ac_fn_c_try_link "$LINENO"; then :
20827 gcc_cv_math_func_powl=yes
20828 else
20829 gcc_cv_math_func_powl=no
20831 rm -f core conftest.err conftest.$ac_objext \
20832 conftest$ac_exeext conftest.$ac_ext
20834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_powl" >&5
20835 $as_echo "$gcc_cv_math_func_powl" >&6; }
20836 if test $gcc_cv_math_func_powl = yes; then
20838 cat >>confdefs.h <<_ACEOF
20839 #define HAVE_POWL 1
20840 _ACEOF
20847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowf" >&5
20848 $as_echo_n "checking for cpowf... " >&6; }
20849 if test "${gcc_cv_math_func_cpowf+set}" = set; then :
20850 $as_echo_n "(cached) " >&6
20851 else
20852 if test x$gcc_no_link = xyes; then
20853 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20856 /* end confdefs.h. */
20858 #ifdef HAVE_COMPLEX_H
20859 #include <complex.h>
20860 #endif
20861 #ifdef HAVE_MATH_H
20862 #include <math.h>
20863 #endif
20865 int (*ptr)() = (int (*)())cpowf;
20868 main ()
20870 return 0;
20873 _ACEOF
20874 if ac_fn_c_try_link "$LINENO"; then :
20875 gcc_cv_math_func_cpowf=yes
20876 else
20877 gcc_cv_math_func_cpowf=no
20879 rm -f core conftest.err conftest.$ac_objext \
20880 conftest$ac_exeext conftest.$ac_ext
20882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowf" >&5
20883 $as_echo "$gcc_cv_math_func_cpowf" >&6; }
20884 if test $gcc_cv_math_func_cpowf = yes; then
20886 cat >>confdefs.h <<_ACEOF
20887 #define HAVE_CPOWF 1
20888 _ACEOF
20895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpow" >&5
20896 $as_echo_n "checking for cpow... " >&6; }
20897 if test "${gcc_cv_math_func_cpow+set}" = set; then :
20898 $as_echo_n "(cached) " >&6
20899 else
20900 if test x$gcc_no_link = xyes; then
20901 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20904 /* end confdefs.h. */
20906 #ifdef HAVE_COMPLEX_H
20907 #include <complex.h>
20908 #endif
20909 #ifdef HAVE_MATH_H
20910 #include <math.h>
20911 #endif
20913 int (*ptr)() = (int (*)())cpow;
20916 main ()
20918 return 0;
20921 _ACEOF
20922 if ac_fn_c_try_link "$LINENO"; then :
20923 gcc_cv_math_func_cpow=yes
20924 else
20925 gcc_cv_math_func_cpow=no
20927 rm -f core conftest.err conftest.$ac_objext \
20928 conftest$ac_exeext conftest.$ac_ext
20930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpow" >&5
20931 $as_echo "$gcc_cv_math_func_cpow" >&6; }
20932 if test $gcc_cv_math_func_cpow = yes; then
20934 cat >>confdefs.h <<_ACEOF
20935 #define HAVE_CPOW 1
20936 _ACEOF
20943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowl" >&5
20944 $as_echo_n "checking for cpowl... " >&6; }
20945 if test "${gcc_cv_math_func_cpowl+set}" = set; then :
20946 $as_echo_n "(cached) " >&6
20947 else
20948 if test x$gcc_no_link = xyes; then
20949 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20952 /* end confdefs.h. */
20954 #ifdef HAVE_COMPLEX_H
20955 #include <complex.h>
20956 #endif
20957 #ifdef HAVE_MATH_H
20958 #include <math.h>
20959 #endif
20961 int (*ptr)() = (int (*)())cpowl;
20964 main ()
20966 return 0;
20969 _ACEOF
20970 if ac_fn_c_try_link "$LINENO"; then :
20971 gcc_cv_math_func_cpowl=yes
20972 else
20973 gcc_cv_math_func_cpowl=no
20975 rm -f core conftest.err conftest.$ac_objext \
20976 conftest$ac_exeext conftest.$ac_ext
20978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowl" >&5
20979 $as_echo "$gcc_cv_math_func_cpowl" >&6; }
20980 if test $gcc_cv_math_func_cpowl = yes; then
20982 cat >>confdefs.h <<_ACEOF
20983 #define HAVE_CPOWL 1
20984 _ACEOF
20991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundf" >&5
20992 $as_echo_n "checking for roundf... " >&6; }
20993 if test "${gcc_cv_math_func_roundf+set}" = set; then :
20994 $as_echo_n "(cached) " >&6
20995 else
20996 if test x$gcc_no_link = xyes; then
20997 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21000 /* end confdefs.h. */
21002 #ifdef HAVE_COMPLEX_H
21003 #include <complex.h>
21004 #endif
21005 #ifdef HAVE_MATH_H
21006 #include <math.h>
21007 #endif
21009 int (*ptr)() = (int (*)())roundf;
21012 main ()
21014 return 0;
21017 _ACEOF
21018 if ac_fn_c_try_link "$LINENO"; then :
21019 gcc_cv_math_func_roundf=yes
21020 else
21021 gcc_cv_math_func_roundf=no
21023 rm -f core conftest.err conftest.$ac_objext \
21024 conftest$ac_exeext conftest.$ac_ext
21026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundf" >&5
21027 $as_echo "$gcc_cv_math_func_roundf" >&6; }
21028 if test $gcc_cv_math_func_roundf = yes; then
21030 cat >>confdefs.h <<_ACEOF
21031 #define HAVE_ROUNDF 1
21032 _ACEOF
21039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for round" >&5
21040 $as_echo_n "checking for round... " >&6; }
21041 if test "${gcc_cv_math_func_round+set}" = set; then :
21042 $as_echo_n "(cached) " >&6
21043 else
21044 if test x$gcc_no_link = xyes; then
21045 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21048 /* end confdefs.h. */
21050 #ifdef HAVE_COMPLEX_H
21051 #include <complex.h>
21052 #endif
21053 #ifdef HAVE_MATH_H
21054 #include <math.h>
21055 #endif
21057 int (*ptr)() = (int (*)())round;
21060 main ()
21062 return 0;
21065 _ACEOF
21066 if ac_fn_c_try_link "$LINENO"; then :
21067 gcc_cv_math_func_round=yes
21068 else
21069 gcc_cv_math_func_round=no
21071 rm -f core conftest.err conftest.$ac_objext \
21072 conftest$ac_exeext conftest.$ac_ext
21074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_round" >&5
21075 $as_echo "$gcc_cv_math_func_round" >&6; }
21076 if test $gcc_cv_math_func_round = yes; then
21078 cat >>confdefs.h <<_ACEOF
21079 #define HAVE_ROUND 1
21080 _ACEOF
21087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundl" >&5
21088 $as_echo_n "checking for roundl... " >&6; }
21089 if test "${gcc_cv_math_func_roundl+set}" = set; then :
21090 $as_echo_n "(cached) " >&6
21091 else
21092 if test x$gcc_no_link = xyes; then
21093 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21096 /* end confdefs.h. */
21098 #ifdef HAVE_COMPLEX_H
21099 #include <complex.h>
21100 #endif
21101 #ifdef HAVE_MATH_H
21102 #include <math.h>
21103 #endif
21105 int (*ptr)() = (int (*)())roundl;
21108 main ()
21110 return 0;
21113 _ACEOF
21114 if ac_fn_c_try_link "$LINENO"; then :
21115 gcc_cv_math_func_roundl=yes
21116 else
21117 gcc_cv_math_func_roundl=no
21119 rm -f core conftest.err conftest.$ac_objext \
21120 conftest$ac_exeext conftest.$ac_ext
21122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundl" >&5
21123 $as_echo "$gcc_cv_math_func_roundl" >&6; }
21124 if test $gcc_cv_math_func_roundl = yes; then
21126 cat >>confdefs.h <<_ACEOF
21127 #define HAVE_ROUNDL 1
21128 _ACEOF
21135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundf" >&5
21136 $as_echo_n "checking for lroundf... " >&6; }
21137 if test "${gcc_cv_math_func_lroundf+set}" = set; then :
21138 $as_echo_n "(cached) " >&6
21139 else
21140 if test x$gcc_no_link = xyes; then
21141 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21144 /* end confdefs.h. */
21146 #ifdef HAVE_COMPLEX_H
21147 #include <complex.h>
21148 #endif
21149 #ifdef HAVE_MATH_H
21150 #include <math.h>
21151 #endif
21153 int (*ptr)() = (int (*)())lroundf;
21156 main ()
21158 return 0;
21161 _ACEOF
21162 if ac_fn_c_try_link "$LINENO"; then :
21163 gcc_cv_math_func_lroundf=yes
21164 else
21165 gcc_cv_math_func_lroundf=no
21167 rm -f core conftest.err conftest.$ac_objext \
21168 conftest$ac_exeext conftest.$ac_ext
21170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundf" >&5
21171 $as_echo "$gcc_cv_math_func_lroundf" >&6; }
21172 if test $gcc_cv_math_func_lroundf = yes; then
21174 cat >>confdefs.h <<_ACEOF
21175 #define HAVE_LROUNDF 1
21176 _ACEOF
21183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lround" >&5
21184 $as_echo_n "checking for lround... " >&6; }
21185 if test "${gcc_cv_math_func_lround+set}" = set; then :
21186 $as_echo_n "(cached) " >&6
21187 else
21188 if test x$gcc_no_link = xyes; then
21189 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21192 /* end confdefs.h. */
21194 #ifdef HAVE_COMPLEX_H
21195 #include <complex.h>
21196 #endif
21197 #ifdef HAVE_MATH_H
21198 #include <math.h>
21199 #endif
21201 int (*ptr)() = (int (*)())lround;
21204 main ()
21206 return 0;
21209 _ACEOF
21210 if ac_fn_c_try_link "$LINENO"; then :
21211 gcc_cv_math_func_lround=yes
21212 else
21213 gcc_cv_math_func_lround=no
21215 rm -f core conftest.err conftest.$ac_objext \
21216 conftest$ac_exeext conftest.$ac_ext
21218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lround" >&5
21219 $as_echo "$gcc_cv_math_func_lround" >&6; }
21220 if test $gcc_cv_math_func_lround = yes; then
21222 cat >>confdefs.h <<_ACEOF
21223 #define HAVE_LROUND 1
21224 _ACEOF
21231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundl" >&5
21232 $as_echo_n "checking for lroundl... " >&6; }
21233 if test "${gcc_cv_math_func_lroundl+set}" = set; then :
21234 $as_echo_n "(cached) " >&6
21235 else
21236 if test x$gcc_no_link = xyes; then
21237 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21240 /* end confdefs.h. */
21242 #ifdef HAVE_COMPLEX_H
21243 #include <complex.h>
21244 #endif
21245 #ifdef HAVE_MATH_H
21246 #include <math.h>
21247 #endif
21249 int (*ptr)() = (int (*)())lroundl;
21252 main ()
21254 return 0;
21257 _ACEOF
21258 if ac_fn_c_try_link "$LINENO"; then :
21259 gcc_cv_math_func_lroundl=yes
21260 else
21261 gcc_cv_math_func_lroundl=no
21263 rm -f core conftest.err conftest.$ac_objext \
21264 conftest$ac_exeext conftest.$ac_ext
21266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundl" >&5
21267 $as_echo "$gcc_cv_math_func_lroundl" >&6; }
21268 if test $gcc_cv_math_func_lroundl = yes; then
21270 cat >>confdefs.h <<_ACEOF
21271 #define HAVE_LROUNDL 1
21272 _ACEOF
21279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundf" >&5
21280 $as_echo_n "checking for llroundf... " >&6; }
21281 if test "${gcc_cv_math_func_llroundf+set}" = set; then :
21282 $as_echo_n "(cached) " >&6
21283 else
21284 if test x$gcc_no_link = xyes; then
21285 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21288 /* end confdefs.h. */
21290 #ifdef HAVE_COMPLEX_H
21291 #include <complex.h>
21292 #endif
21293 #ifdef HAVE_MATH_H
21294 #include <math.h>
21295 #endif
21297 int (*ptr)() = (int (*)())llroundf;
21300 main ()
21302 return 0;
21305 _ACEOF
21306 if ac_fn_c_try_link "$LINENO"; then :
21307 gcc_cv_math_func_llroundf=yes
21308 else
21309 gcc_cv_math_func_llroundf=no
21311 rm -f core conftest.err conftest.$ac_objext \
21312 conftest$ac_exeext conftest.$ac_ext
21314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundf" >&5
21315 $as_echo "$gcc_cv_math_func_llroundf" >&6; }
21316 if test $gcc_cv_math_func_llroundf = yes; then
21318 cat >>confdefs.h <<_ACEOF
21319 #define HAVE_LLROUNDF 1
21320 _ACEOF
21327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llround" >&5
21328 $as_echo_n "checking for llround... " >&6; }
21329 if test "${gcc_cv_math_func_llround+set}" = set; then :
21330 $as_echo_n "(cached) " >&6
21331 else
21332 if test x$gcc_no_link = xyes; then
21333 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21336 /* end confdefs.h. */
21338 #ifdef HAVE_COMPLEX_H
21339 #include <complex.h>
21340 #endif
21341 #ifdef HAVE_MATH_H
21342 #include <math.h>
21343 #endif
21345 int (*ptr)() = (int (*)())llround;
21348 main ()
21350 return 0;
21353 _ACEOF
21354 if ac_fn_c_try_link "$LINENO"; then :
21355 gcc_cv_math_func_llround=yes
21356 else
21357 gcc_cv_math_func_llround=no
21359 rm -f core conftest.err conftest.$ac_objext \
21360 conftest$ac_exeext conftest.$ac_ext
21362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llround" >&5
21363 $as_echo "$gcc_cv_math_func_llround" >&6; }
21364 if test $gcc_cv_math_func_llround = yes; then
21366 cat >>confdefs.h <<_ACEOF
21367 #define HAVE_LLROUND 1
21368 _ACEOF
21375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundl" >&5
21376 $as_echo_n "checking for llroundl... " >&6; }
21377 if test "${gcc_cv_math_func_llroundl+set}" = set; then :
21378 $as_echo_n "(cached) " >&6
21379 else
21380 if test x$gcc_no_link = xyes; then
21381 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21384 /* end confdefs.h. */
21386 #ifdef HAVE_COMPLEX_H
21387 #include <complex.h>
21388 #endif
21389 #ifdef HAVE_MATH_H
21390 #include <math.h>
21391 #endif
21393 int (*ptr)() = (int (*)())llroundl;
21396 main ()
21398 return 0;
21401 _ACEOF
21402 if ac_fn_c_try_link "$LINENO"; then :
21403 gcc_cv_math_func_llroundl=yes
21404 else
21405 gcc_cv_math_func_llroundl=no
21407 rm -f core conftest.err conftest.$ac_objext \
21408 conftest$ac_exeext conftest.$ac_ext
21410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundl" >&5
21411 $as_echo "$gcc_cv_math_func_llroundl" >&6; }
21412 if test $gcc_cv_math_func_llroundl = yes; then
21414 cat >>confdefs.h <<_ACEOF
21415 #define HAVE_LLROUNDL 1
21416 _ACEOF
21423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnf" >&5
21424 $as_echo_n "checking for scalbnf... " >&6; }
21425 if test "${gcc_cv_math_func_scalbnf+set}" = set; then :
21426 $as_echo_n "(cached) " >&6
21427 else
21428 if test x$gcc_no_link = xyes; then
21429 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21432 /* end confdefs.h. */
21434 #ifdef HAVE_COMPLEX_H
21435 #include <complex.h>
21436 #endif
21437 #ifdef HAVE_MATH_H
21438 #include <math.h>
21439 #endif
21441 int (*ptr)() = (int (*)())scalbnf;
21444 main ()
21446 return 0;
21449 _ACEOF
21450 if ac_fn_c_try_link "$LINENO"; then :
21451 gcc_cv_math_func_scalbnf=yes
21452 else
21453 gcc_cv_math_func_scalbnf=no
21455 rm -f core conftest.err conftest.$ac_objext \
21456 conftest$ac_exeext conftest.$ac_ext
21458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnf" >&5
21459 $as_echo "$gcc_cv_math_func_scalbnf" >&6; }
21460 if test $gcc_cv_math_func_scalbnf = yes; then
21462 cat >>confdefs.h <<_ACEOF
21463 #define HAVE_SCALBNF 1
21464 _ACEOF
21471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbn" >&5
21472 $as_echo_n "checking for scalbn... " >&6; }
21473 if test "${gcc_cv_math_func_scalbn+set}" = set; then :
21474 $as_echo_n "(cached) " >&6
21475 else
21476 if test x$gcc_no_link = xyes; then
21477 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21480 /* end confdefs.h. */
21482 #ifdef HAVE_COMPLEX_H
21483 #include <complex.h>
21484 #endif
21485 #ifdef HAVE_MATH_H
21486 #include <math.h>
21487 #endif
21489 int (*ptr)() = (int (*)())scalbn;
21492 main ()
21494 return 0;
21497 _ACEOF
21498 if ac_fn_c_try_link "$LINENO"; then :
21499 gcc_cv_math_func_scalbn=yes
21500 else
21501 gcc_cv_math_func_scalbn=no
21503 rm -f core conftest.err conftest.$ac_objext \
21504 conftest$ac_exeext conftest.$ac_ext
21506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbn" >&5
21507 $as_echo "$gcc_cv_math_func_scalbn" >&6; }
21508 if test $gcc_cv_math_func_scalbn = yes; then
21510 cat >>confdefs.h <<_ACEOF
21511 #define HAVE_SCALBN 1
21512 _ACEOF
21519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnl" >&5
21520 $as_echo_n "checking for scalbnl... " >&6; }
21521 if test "${gcc_cv_math_func_scalbnl+set}" = set; then :
21522 $as_echo_n "(cached) " >&6
21523 else
21524 if test x$gcc_no_link = xyes; then
21525 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21528 /* end confdefs.h. */
21530 #ifdef HAVE_COMPLEX_H
21531 #include <complex.h>
21532 #endif
21533 #ifdef HAVE_MATH_H
21534 #include <math.h>
21535 #endif
21537 int (*ptr)() = (int (*)())scalbnl;
21540 main ()
21542 return 0;
21545 _ACEOF
21546 if ac_fn_c_try_link "$LINENO"; then :
21547 gcc_cv_math_func_scalbnl=yes
21548 else
21549 gcc_cv_math_func_scalbnl=no
21551 rm -f core conftest.err conftest.$ac_objext \
21552 conftest$ac_exeext conftest.$ac_ext
21554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnl" >&5
21555 $as_echo "$gcc_cv_math_func_scalbnl" >&6; }
21556 if test $gcc_cv_math_func_scalbnl = yes; then
21558 cat >>confdefs.h <<_ACEOF
21559 #define HAVE_SCALBNL 1
21560 _ACEOF
21567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinf" >&5
21568 $as_echo_n "checking for sinf... " >&6; }
21569 if test "${gcc_cv_math_func_sinf+set}" = set; then :
21570 $as_echo_n "(cached) " >&6
21571 else
21572 if test x$gcc_no_link = xyes; then
21573 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21576 /* end confdefs.h. */
21578 #ifdef HAVE_COMPLEX_H
21579 #include <complex.h>
21580 #endif
21581 #ifdef HAVE_MATH_H
21582 #include <math.h>
21583 #endif
21585 int (*ptr)() = (int (*)())sinf;
21588 main ()
21590 return 0;
21593 _ACEOF
21594 if ac_fn_c_try_link "$LINENO"; then :
21595 gcc_cv_math_func_sinf=yes
21596 else
21597 gcc_cv_math_func_sinf=no
21599 rm -f core conftest.err conftest.$ac_objext \
21600 conftest$ac_exeext conftest.$ac_ext
21602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinf" >&5
21603 $as_echo "$gcc_cv_math_func_sinf" >&6; }
21604 if test $gcc_cv_math_func_sinf = yes; then
21606 cat >>confdefs.h <<_ACEOF
21607 #define HAVE_SINF 1
21608 _ACEOF
21615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin" >&5
21616 $as_echo_n "checking for sin... " >&6; }
21617 if test "${gcc_cv_math_func_sin+set}" = set; then :
21618 $as_echo_n "(cached) " >&6
21619 else
21620 if test x$gcc_no_link = xyes; then
21621 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21624 /* end confdefs.h. */
21626 #ifdef HAVE_COMPLEX_H
21627 #include <complex.h>
21628 #endif
21629 #ifdef HAVE_MATH_H
21630 #include <math.h>
21631 #endif
21633 int (*ptr)() = (int (*)())sin;
21636 main ()
21638 return 0;
21641 _ACEOF
21642 if ac_fn_c_try_link "$LINENO"; then :
21643 gcc_cv_math_func_sin=yes
21644 else
21645 gcc_cv_math_func_sin=no
21647 rm -f core conftest.err conftest.$ac_objext \
21648 conftest$ac_exeext conftest.$ac_ext
21650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sin" >&5
21651 $as_echo "$gcc_cv_math_func_sin" >&6; }
21652 if test $gcc_cv_math_func_sin = yes; then
21654 cat >>confdefs.h <<_ACEOF
21655 #define HAVE_SIN 1
21656 _ACEOF
21663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinl" >&5
21664 $as_echo_n "checking for sinl... " >&6; }
21665 if test "${gcc_cv_math_func_sinl+set}" = set; then :
21666 $as_echo_n "(cached) " >&6
21667 else
21668 if test x$gcc_no_link = xyes; then
21669 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21672 /* end confdefs.h. */
21674 #ifdef HAVE_COMPLEX_H
21675 #include <complex.h>
21676 #endif
21677 #ifdef HAVE_MATH_H
21678 #include <math.h>
21679 #endif
21681 int (*ptr)() = (int (*)())sinl;
21684 main ()
21686 return 0;
21689 _ACEOF
21690 if ac_fn_c_try_link "$LINENO"; then :
21691 gcc_cv_math_func_sinl=yes
21692 else
21693 gcc_cv_math_func_sinl=no
21695 rm -f core conftest.err conftest.$ac_objext \
21696 conftest$ac_exeext conftest.$ac_ext
21698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinl" >&5
21699 $as_echo "$gcc_cv_math_func_sinl" >&6; }
21700 if test $gcc_cv_math_func_sinl = yes; then
21702 cat >>confdefs.h <<_ACEOF
21703 #define HAVE_SINL 1
21704 _ACEOF
21711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinf" >&5
21712 $as_echo_n "checking for csinf... " >&6; }
21713 if test "${gcc_cv_math_func_csinf+set}" = set; then :
21714 $as_echo_n "(cached) " >&6
21715 else
21716 if test x$gcc_no_link = xyes; then
21717 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21720 /* end confdefs.h. */
21722 #ifdef HAVE_COMPLEX_H
21723 #include <complex.h>
21724 #endif
21725 #ifdef HAVE_MATH_H
21726 #include <math.h>
21727 #endif
21729 int (*ptr)() = (int (*)())csinf;
21732 main ()
21734 return 0;
21737 _ACEOF
21738 if ac_fn_c_try_link "$LINENO"; then :
21739 gcc_cv_math_func_csinf=yes
21740 else
21741 gcc_cv_math_func_csinf=no
21743 rm -f core conftest.err conftest.$ac_objext \
21744 conftest$ac_exeext conftest.$ac_ext
21746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinf" >&5
21747 $as_echo "$gcc_cv_math_func_csinf" >&6; }
21748 if test $gcc_cv_math_func_csinf = yes; then
21750 cat >>confdefs.h <<_ACEOF
21751 #define HAVE_CSINF 1
21752 _ACEOF
21759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csin" >&5
21760 $as_echo_n "checking for csin... " >&6; }
21761 if test "${gcc_cv_math_func_csin+set}" = set; then :
21762 $as_echo_n "(cached) " >&6
21763 else
21764 if test x$gcc_no_link = xyes; then
21765 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21768 /* end confdefs.h. */
21770 #ifdef HAVE_COMPLEX_H
21771 #include <complex.h>
21772 #endif
21773 #ifdef HAVE_MATH_H
21774 #include <math.h>
21775 #endif
21777 int (*ptr)() = (int (*)())csin;
21780 main ()
21782 return 0;
21785 _ACEOF
21786 if ac_fn_c_try_link "$LINENO"; then :
21787 gcc_cv_math_func_csin=yes
21788 else
21789 gcc_cv_math_func_csin=no
21791 rm -f core conftest.err conftest.$ac_objext \
21792 conftest$ac_exeext conftest.$ac_ext
21794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csin" >&5
21795 $as_echo "$gcc_cv_math_func_csin" >&6; }
21796 if test $gcc_cv_math_func_csin = yes; then
21798 cat >>confdefs.h <<_ACEOF
21799 #define HAVE_CSIN 1
21800 _ACEOF
21807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinl" >&5
21808 $as_echo_n "checking for csinl... " >&6; }
21809 if test "${gcc_cv_math_func_csinl+set}" = set; then :
21810 $as_echo_n "(cached) " >&6
21811 else
21812 if test x$gcc_no_link = xyes; then
21813 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21816 /* end confdefs.h. */
21818 #ifdef HAVE_COMPLEX_H
21819 #include <complex.h>
21820 #endif
21821 #ifdef HAVE_MATH_H
21822 #include <math.h>
21823 #endif
21825 int (*ptr)() = (int (*)())csinl;
21828 main ()
21830 return 0;
21833 _ACEOF
21834 if ac_fn_c_try_link "$LINENO"; then :
21835 gcc_cv_math_func_csinl=yes
21836 else
21837 gcc_cv_math_func_csinl=no
21839 rm -f core conftest.err conftest.$ac_objext \
21840 conftest$ac_exeext conftest.$ac_ext
21842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinl" >&5
21843 $as_echo "$gcc_cv_math_func_csinl" >&6; }
21844 if test $gcc_cv_math_func_csinl = yes; then
21846 cat >>confdefs.h <<_ACEOF
21847 #define HAVE_CSINL 1
21848 _ACEOF
21855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhf" >&5
21856 $as_echo_n "checking for sinhf... " >&6; }
21857 if test "${gcc_cv_math_func_sinhf+set}" = set; then :
21858 $as_echo_n "(cached) " >&6
21859 else
21860 if test x$gcc_no_link = xyes; then
21861 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21864 /* end confdefs.h. */
21866 #ifdef HAVE_COMPLEX_H
21867 #include <complex.h>
21868 #endif
21869 #ifdef HAVE_MATH_H
21870 #include <math.h>
21871 #endif
21873 int (*ptr)() = (int (*)())sinhf;
21876 main ()
21878 return 0;
21881 _ACEOF
21882 if ac_fn_c_try_link "$LINENO"; then :
21883 gcc_cv_math_func_sinhf=yes
21884 else
21885 gcc_cv_math_func_sinhf=no
21887 rm -f core conftest.err conftest.$ac_objext \
21888 conftest$ac_exeext conftest.$ac_ext
21890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhf" >&5
21891 $as_echo "$gcc_cv_math_func_sinhf" >&6; }
21892 if test $gcc_cv_math_func_sinhf = yes; then
21894 cat >>confdefs.h <<_ACEOF
21895 #define HAVE_SINHF 1
21896 _ACEOF
21903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinh" >&5
21904 $as_echo_n "checking for sinh... " >&6; }
21905 if test "${gcc_cv_math_func_sinh+set}" = set; then :
21906 $as_echo_n "(cached) " >&6
21907 else
21908 if test x$gcc_no_link = xyes; then
21909 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21912 /* end confdefs.h. */
21914 #ifdef HAVE_COMPLEX_H
21915 #include <complex.h>
21916 #endif
21917 #ifdef HAVE_MATH_H
21918 #include <math.h>
21919 #endif
21921 int (*ptr)() = (int (*)())sinh;
21924 main ()
21926 return 0;
21929 _ACEOF
21930 if ac_fn_c_try_link "$LINENO"; then :
21931 gcc_cv_math_func_sinh=yes
21932 else
21933 gcc_cv_math_func_sinh=no
21935 rm -f core conftest.err conftest.$ac_objext \
21936 conftest$ac_exeext conftest.$ac_ext
21938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinh" >&5
21939 $as_echo "$gcc_cv_math_func_sinh" >&6; }
21940 if test $gcc_cv_math_func_sinh = yes; then
21942 cat >>confdefs.h <<_ACEOF
21943 #define HAVE_SINH 1
21944 _ACEOF
21951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhl" >&5
21952 $as_echo_n "checking for sinhl... " >&6; }
21953 if test "${gcc_cv_math_func_sinhl+set}" = set; then :
21954 $as_echo_n "(cached) " >&6
21955 else
21956 if test x$gcc_no_link = xyes; then
21957 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21960 /* end confdefs.h. */
21962 #ifdef HAVE_COMPLEX_H
21963 #include <complex.h>
21964 #endif
21965 #ifdef HAVE_MATH_H
21966 #include <math.h>
21967 #endif
21969 int (*ptr)() = (int (*)())sinhl;
21972 main ()
21974 return 0;
21977 _ACEOF
21978 if ac_fn_c_try_link "$LINENO"; then :
21979 gcc_cv_math_func_sinhl=yes
21980 else
21981 gcc_cv_math_func_sinhl=no
21983 rm -f core conftest.err conftest.$ac_objext \
21984 conftest$ac_exeext conftest.$ac_ext
21986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhl" >&5
21987 $as_echo "$gcc_cv_math_func_sinhl" >&6; }
21988 if test $gcc_cv_math_func_sinhl = yes; then
21990 cat >>confdefs.h <<_ACEOF
21991 #define HAVE_SINHL 1
21992 _ACEOF
21999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhf" >&5
22000 $as_echo_n "checking for csinhf... " >&6; }
22001 if test "${gcc_cv_math_func_csinhf+set}" = set; then :
22002 $as_echo_n "(cached) " >&6
22003 else
22004 if test x$gcc_no_link = xyes; then
22005 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22008 /* end confdefs.h. */
22010 #ifdef HAVE_COMPLEX_H
22011 #include <complex.h>
22012 #endif
22013 #ifdef HAVE_MATH_H
22014 #include <math.h>
22015 #endif
22017 int (*ptr)() = (int (*)())csinhf;
22020 main ()
22022 return 0;
22025 _ACEOF
22026 if ac_fn_c_try_link "$LINENO"; then :
22027 gcc_cv_math_func_csinhf=yes
22028 else
22029 gcc_cv_math_func_csinhf=no
22031 rm -f core conftest.err conftest.$ac_objext \
22032 conftest$ac_exeext conftest.$ac_ext
22034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhf" >&5
22035 $as_echo "$gcc_cv_math_func_csinhf" >&6; }
22036 if test $gcc_cv_math_func_csinhf = yes; then
22038 cat >>confdefs.h <<_ACEOF
22039 #define HAVE_CSINHF 1
22040 _ACEOF
22047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinh" >&5
22048 $as_echo_n "checking for csinh... " >&6; }
22049 if test "${gcc_cv_math_func_csinh+set}" = set; then :
22050 $as_echo_n "(cached) " >&6
22051 else
22052 if test x$gcc_no_link = xyes; then
22053 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22056 /* end confdefs.h. */
22058 #ifdef HAVE_COMPLEX_H
22059 #include <complex.h>
22060 #endif
22061 #ifdef HAVE_MATH_H
22062 #include <math.h>
22063 #endif
22065 int (*ptr)() = (int (*)())csinh;
22068 main ()
22070 return 0;
22073 _ACEOF
22074 if ac_fn_c_try_link "$LINENO"; then :
22075 gcc_cv_math_func_csinh=yes
22076 else
22077 gcc_cv_math_func_csinh=no
22079 rm -f core conftest.err conftest.$ac_objext \
22080 conftest$ac_exeext conftest.$ac_ext
22082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinh" >&5
22083 $as_echo "$gcc_cv_math_func_csinh" >&6; }
22084 if test $gcc_cv_math_func_csinh = yes; then
22086 cat >>confdefs.h <<_ACEOF
22087 #define HAVE_CSINH 1
22088 _ACEOF
22095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhl" >&5
22096 $as_echo_n "checking for csinhl... " >&6; }
22097 if test "${gcc_cv_math_func_csinhl+set}" = set; then :
22098 $as_echo_n "(cached) " >&6
22099 else
22100 if test x$gcc_no_link = xyes; then
22101 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22104 /* end confdefs.h. */
22106 #ifdef HAVE_COMPLEX_H
22107 #include <complex.h>
22108 #endif
22109 #ifdef HAVE_MATH_H
22110 #include <math.h>
22111 #endif
22113 int (*ptr)() = (int (*)())csinhl;
22116 main ()
22118 return 0;
22121 _ACEOF
22122 if ac_fn_c_try_link "$LINENO"; then :
22123 gcc_cv_math_func_csinhl=yes
22124 else
22125 gcc_cv_math_func_csinhl=no
22127 rm -f core conftest.err conftest.$ac_objext \
22128 conftest$ac_exeext conftest.$ac_ext
22130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhl" >&5
22131 $as_echo "$gcc_cv_math_func_csinhl" >&6; }
22132 if test $gcc_cv_math_func_csinhl = yes; then
22134 cat >>confdefs.h <<_ACEOF
22135 #define HAVE_CSINHL 1
22136 _ACEOF
22143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf" >&5
22144 $as_echo_n "checking for sqrtf... " >&6; }
22145 if test "${gcc_cv_math_func_sqrtf+set}" = set; then :
22146 $as_echo_n "(cached) " >&6
22147 else
22148 if test x$gcc_no_link = xyes; then
22149 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22152 /* end confdefs.h. */
22154 #ifdef HAVE_COMPLEX_H
22155 #include <complex.h>
22156 #endif
22157 #ifdef HAVE_MATH_H
22158 #include <math.h>
22159 #endif
22161 int (*ptr)() = (int (*)())sqrtf;
22164 main ()
22166 return 0;
22169 _ACEOF
22170 if ac_fn_c_try_link "$LINENO"; then :
22171 gcc_cv_math_func_sqrtf=yes
22172 else
22173 gcc_cv_math_func_sqrtf=no
22175 rm -f core conftest.err conftest.$ac_objext \
22176 conftest$ac_exeext conftest.$ac_ext
22178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtf" >&5
22179 $as_echo "$gcc_cv_math_func_sqrtf" >&6; }
22180 if test $gcc_cv_math_func_sqrtf = yes; then
22182 cat >>confdefs.h <<_ACEOF
22183 #define HAVE_SQRTF 1
22184 _ACEOF
22191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt" >&5
22192 $as_echo_n "checking for sqrt... " >&6; }
22193 if test "${gcc_cv_math_func_sqrt+set}" = set; then :
22194 $as_echo_n "(cached) " >&6
22195 else
22196 if test x$gcc_no_link = xyes; then
22197 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22200 /* end confdefs.h. */
22202 #ifdef HAVE_COMPLEX_H
22203 #include <complex.h>
22204 #endif
22205 #ifdef HAVE_MATH_H
22206 #include <math.h>
22207 #endif
22209 int (*ptr)() = (int (*)())sqrt;
22212 main ()
22214 return 0;
22217 _ACEOF
22218 if ac_fn_c_try_link "$LINENO"; then :
22219 gcc_cv_math_func_sqrt=yes
22220 else
22221 gcc_cv_math_func_sqrt=no
22223 rm -f core conftest.err conftest.$ac_objext \
22224 conftest$ac_exeext conftest.$ac_ext
22226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrt" >&5
22227 $as_echo "$gcc_cv_math_func_sqrt" >&6; }
22228 if test $gcc_cv_math_func_sqrt = yes; then
22230 cat >>confdefs.h <<_ACEOF
22231 #define HAVE_SQRT 1
22232 _ACEOF
22239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl" >&5
22240 $as_echo_n "checking for sqrtl... " >&6; }
22241 if test "${gcc_cv_math_func_sqrtl+set}" = set; then :
22242 $as_echo_n "(cached) " >&6
22243 else
22244 if test x$gcc_no_link = xyes; then
22245 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22248 /* end confdefs.h. */
22250 #ifdef HAVE_COMPLEX_H
22251 #include <complex.h>
22252 #endif
22253 #ifdef HAVE_MATH_H
22254 #include <math.h>
22255 #endif
22257 int (*ptr)() = (int (*)())sqrtl;
22260 main ()
22262 return 0;
22265 _ACEOF
22266 if ac_fn_c_try_link "$LINENO"; then :
22267 gcc_cv_math_func_sqrtl=yes
22268 else
22269 gcc_cv_math_func_sqrtl=no
22271 rm -f core conftest.err conftest.$ac_objext \
22272 conftest$ac_exeext conftest.$ac_ext
22274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtl" >&5
22275 $as_echo "$gcc_cv_math_func_sqrtl" >&6; }
22276 if test $gcc_cv_math_func_sqrtl = yes; then
22278 cat >>confdefs.h <<_ACEOF
22279 #define HAVE_SQRTL 1
22280 _ACEOF
22287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtf" >&5
22288 $as_echo_n "checking for csqrtf... " >&6; }
22289 if test "${gcc_cv_math_func_csqrtf+set}" = set; then :
22290 $as_echo_n "(cached) " >&6
22291 else
22292 if test x$gcc_no_link = xyes; then
22293 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22296 /* end confdefs.h. */
22298 #ifdef HAVE_COMPLEX_H
22299 #include <complex.h>
22300 #endif
22301 #ifdef HAVE_MATH_H
22302 #include <math.h>
22303 #endif
22305 int (*ptr)() = (int (*)())csqrtf;
22308 main ()
22310 return 0;
22313 _ACEOF
22314 if ac_fn_c_try_link "$LINENO"; then :
22315 gcc_cv_math_func_csqrtf=yes
22316 else
22317 gcc_cv_math_func_csqrtf=no
22319 rm -f core conftest.err conftest.$ac_objext \
22320 conftest$ac_exeext conftest.$ac_ext
22322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtf" >&5
22323 $as_echo "$gcc_cv_math_func_csqrtf" >&6; }
22324 if test $gcc_cv_math_func_csqrtf = yes; then
22326 cat >>confdefs.h <<_ACEOF
22327 #define HAVE_CSQRTF 1
22328 _ACEOF
22335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrt" >&5
22336 $as_echo_n "checking for csqrt... " >&6; }
22337 if test "${gcc_cv_math_func_csqrt+set}" = set; then :
22338 $as_echo_n "(cached) " >&6
22339 else
22340 if test x$gcc_no_link = xyes; then
22341 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22344 /* end confdefs.h. */
22346 #ifdef HAVE_COMPLEX_H
22347 #include <complex.h>
22348 #endif
22349 #ifdef HAVE_MATH_H
22350 #include <math.h>
22351 #endif
22353 int (*ptr)() = (int (*)())csqrt;
22356 main ()
22358 return 0;
22361 _ACEOF
22362 if ac_fn_c_try_link "$LINENO"; then :
22363 gcc_cv_math_func_csqrt=yes
22364 else
22365 gcc_cv_math_func_csqrt=no
22367 rm -f core conftest.err conftest.$ac_objext \
22368 conftest$ac_exeext conftest.$ac_ext
22370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrt" >&5
22371 $as_echo "$gcc_cv_math_func_csqrt" >&6; }
22372 if test $gcc_cv_math_func_csqrt = yes; then
22374 cat >>confdefs.h <<_ACEOF
22375 #define HAVE_CSQRT 1
22376 _ACEOF
22383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtl" >&5
22384 $as_echo_n "checking for csqrtl... " >&6; }
22385 if test "${gcc_cv_math_func_csqrtl+set}" = set; then :
22386 $as_echo_n "(cached) " >&6
22387 else
22388 if test x$gcc_no_link = xyes; then
22389 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22392 /* end confdefs.h. */
22394 #ifdef HAVE_COMPLEX_H
22395 #include <complex.h>
22396 #endif
22397 #ifdef HAVE_MATH_H
22398 #include <math.h>
22399 #endif
22401 int (*ptr)() = (int (*)())csqrtl;
22404 main ()
22406 return 0;
22409 _ACEOF
22410 if ac_fn_c_try_link "$LINENO"; then :
22411 gcc_cv_math_func_csqrtl=yes
22412 else
22413 gcc_cv_math_func_csqrtl=no
22415 rm -f core conftest.err conftest.$ac_objext \
22416 conftest$ac_exeext conftest.$ac_ext
22418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtl" >&5
22419 $as_echo "$gcc_cv_math_func_csqrtl" >&6; }
22420 if test $gcc_cv_math_func_csqrtl = yes; then
22422 cat >>confdefs.h <<_ACEOF
22423 #define HAVE_CSQRTL 1
22424 _ACEOF
22431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanf" >&5
22432 $as_echo_n "checking for tanf... " >&6; }
22433 if test "${gcc_cv_math_func_tanf+set}" = set; then :
22434 $as_echo_n "(cached) " >&6
22435 else
22436 if test x$gcc_no_link = xyes; then
22437 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22440 /* end confdefs.h. */
22442 #ifdef HAVE_COMPLEX_H
22443 #include <complex.h>
22444 #endif
22445 #ifdef HAVE_MATH_H
22446 #include <math.h>
22447 #endif
22449 int (*ptr)() = (int (*)())tanf;
22452 main ()
22454 return 0;
22457 _ACEOF
22458 if ac_fn_c_try_link "$LINENO"; then :
22459 gcc_cv_math_func_tanf=yes
22460 else
22461 gcc_cv_math_func_tanf=no
22463 rm -f core conftest.err conftest.$ac_objext \
22464 conftest$ac_exeext conftest.$ac_ext
22466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanf" >&5
22467 $as_echo "$gcc_cv_math_func_tanf" >&6; }
22468 if test $gcc_cv_math_func_tanf = yes; then
22470 cat >>confdefs.h <<_ACEOF
22471 #define HAVE_TANF 1
22472 _ACEOF
22479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tan" >&5
22480 $as_echo_n "checking for tan... " >&6; }
22481 if test "${gcc_cv_math_func_tan+set}" = set; then :
22482 $as_echo_n "(cached) " >&6
22483 else
22484 if test x$gcc_no_link = xyes; then
22485 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22488 /* end confdefs.h. */
22490 #ifdef HAVE_COMPLEX_H
22491 #include <complex.h>
22492 #endif
22493 #ifdef HAVE_MATH_H
22494 #include <math.h>
22495 #endif
22497 int (*ptr)() = (int (*)())tan;
22500 main ()
22502 return 0;
22505 _ACEOF
22506 if ac_fn_c_try_link "$LINENO"; then :
22507 gcc_cv_math_func_tan=yes
22508 else
22509 gcc_cv_math_func_tan=no
22511 rm -f core conftest.err conftest.$ac_objext \
22512 conftest$ac_exeext conftest.$ac_ext
22514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tan" >&5
22515 $as_echo "$gcc_cv_math_func_tan" >&6; }
22516 if test $gcc_cv_math_func_tan = yes; then
22518 cat >>confdefs.h <<_ACEOF
22519 #define HAVE_TAN 1
22520 _ACEOF
22527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanl" >&5
22528 $as_echo_n "checking for tanl... " >&6; }
22529 if test "${gcc_cv_math_func_tanl+set}" = set; then :
22530 $as_echo_n "(cached) " >&6
22531 else
22532 if test x$gcc_no_link = xyes; then
22533 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22536 /* end confdefs.h. */
22538 #ifdef HAVE_COMPLEX_H
22539 #include <complex.h>
22540 #endif
22541 #ifdef HAVE_MATH_H
22542 #include <math.h>
22543 #endif
22545 int (*ptr)() = (int (*)())tanl;
22548 main ()
22550 return 0;
22553 _ACEOF
22554 if ac_fn_c_try_link "$LINENO"; then :
22555 gcc_cv_math_func_tanl=yes
22556 else
22557 gcc_cv_math_func_tanl=no
22559 rm -f core conftest.err conftest.$ac_objext \
22560 conftest$ac_exeext conftest.$ac_ext
22562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanl" >&5
22563 $as_echo "$gcc_cv_math_func_tanl" >&6; }
22564 if test $gcc_cv_math_func_tanl = yes; then
22566 cat >>confdefs.h <<_ACEOF
22567 #define HAVE_TANL 1
22568 _ACEOF
22575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanf" >&5
22576 $as_echo_n "checking for ctanf... " >&6; }
22577 if test "${gcc_cv_math_func_ctanf+set}" = set; then :
22578 $as_echo_n "(cached) " >&6
22579 else
22580 if test x$gcc_no_link = xyes; then
22581 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22584 /* end confdefs.h. */
22586 #ifdef HAVE_COMPLEX_H
22587 #include <complex.h>
22588 #endif
22589 #ifdef HAVE_MATH_H
22590 #include <math.h>
22591 #endif
22593 int (*ptr)() = (int (*)())ctanf;
22596 main ()
22598 return 0;
22601 _ACEOF
22602 if ac_fn_c_try_link "$LINENO"; then :
22603 gcc_cv_math_func_ctanf=yes
22604 else
22605 gcc_cv_math_func_ctanf=no
22607 rm -f core conftest.err conftest.$ac_objext \
22608 conftest$ac_exeext conftest.$ac_ext
22610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanf" >&5
22611 $as_echo "$gcc_cv_math_func_ctanf" >&6; }
22612 if test $gcc_cv_math_func_ctanf = yes; then
22614 cat >>confdefs.h <<_ACEOF
22615 #define HAVE_CTANF 1
22616 _ACEOF
22623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctan" >&5
22624 $as_echo_n "checking for ctan... " >&6; }
22625 if test "${gcc_cv_math_func_ctan+set}" = set; then :
22626 $as_echo_n "(cached) " >&6
22627 else
22628 if test x$gcc_no_link = xyes; then
22629 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22632 /* end confdefs.h. */
22634 #ifdef HAVE_COMPLEX_H
22635 #include <complex.h>
22636 #endif
22637 #ifdef HAVE_MATH_H
22638 #include <math.h>
22639 #endif
22641 int (*ptr)() = (int (*)())ctan;
22644 main ()
22646 return 0;
22649 _ACEOF
22650 if ac_fn_c_try_link "$LINENO"; then :
22651 gcc_cv_math_func_ctan=yes
22652 else
22653 gcc_cv_math_func_ctan=no
22655 rm -f core conftest.err conftest.$ac_objext \
22656 conftest$ac_exeext conftest.$ac_ext
22658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctan" >&5
22659 $as_echo "$gcc_cv_math_func_ctan" >&6; }
22660 if test $gcc_cv_math_func_ctan = yes; then
22662 cat >>confdefs.h <<_ACEOF
22663 #define HAVE_CTAN 1
22664 _ACEOF
22671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanl" >&5
22672 $as_echo_n "checking for ctanl... " >&6; }
22673 if test "${gcc_cv_math_func_ctanl+set}" = set; then :
22674 $as_echo_n "(cached) " >&6
22675 else
22676 if test x$gcc_no_link = xyes; then
22677 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22680 /* end confdefs.h. */
22682 #ifdef HAVE_COMPLEX_H
22683 #include <complex.h>
22684 #endif
22685 #ifdef HAVE_MATH_H
22686 #include <math.h>
22687 #endif
22689 int (*ptr)() = (int (*)())ctanl;
22692 main ()
22694 return 0;
22697 _ACEOF
22698 if ac_fn_c_try_link "$LINENO"; then :
22699 gcc_cv_math_func_ctanl=yes
22700 else
22701 gcc_cv_math_func_ctanl=no
22703 rm -f core conftest.err conftest.$ac_objext \
22704 conftest$ac_exeext conftest.$ac_ext
22706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanl" >&5
22707 $as_echo "$gcc_cv_math_func_ctanl" >&6; }
22708 if test $gcc_cv_math_func_ctanl = yes; then
22710 cat >>confdefs.h <<_ACEOF
22711 #define HAVE_CTANL 1
22712 _ACEOF
22719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhf" >&5
22720 $as_echo_n "checking for tanhf... " >&6; }
22721 if test "${gcc_cv_math_func_tanhf+set}" = set; then :
22722 $as_echo_n "(cached) " >&6
22723 else
22724 if test x$gcc_no_link = xyes; then
22725 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22728 /* end confdefs.h. */
22730 #ifdef HAVE_COMPLEX_H
22731 #include <complex.h>
22732 #endif
22733 #ifdef HAVE_MATH_H
22734 #include <math.h>
22735 #endif
22737 int (*ptr)() = (int (*)())tanhf;
22740 main ()
22742 return 0;
22745 _ACEOF
22746 if ac_fn_c_try_link "$LINENO"; then :
22747 gcc_cv_math_func_tanhf=yes
22748 else
22749 gcc_cv_math_func_tanhf=no
22751 rm -f core conftest.err conftest.$ac_objext \
22752 conftest$ac_exeext conftest.$ac_ext
22754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhf" >&5
22755 $as_echo "$gcc_cv_math_func_tanhf" >&6; }
22756 if test $gcc_cv_math_func_tanhf = yes; then
22758 cat >>confdefs.h <<_ACEOF
22759 #define HAVE_TANHF 1
22760 _ACEOF
22767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanh" >&5
22768 $as_echo_n "checking for tanh... " >&6; }
22769 if test "${gcc_cv_math_func_tanh+set}" = set; then :
22770 $as_echo_n "(cached) " >&6
22771 else
22772 if test x$gcc_no_link = xyes; then
22773 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22776 /* end confdefs.h. */
22778 #ifdef HAVE_COMPLEX_H
22779 #include <complex.h>
22780 #endif
22781 #ifdef HAVE_MATH_H
22782 #include <math.h>
22783 #endif
22785 int (*ptr)() = (int (*)())tanh;
22788 main ()
22790 return 0;
22793 _ACEOF
22794 if ac_fn_c_try_link "$LINENO"; then :
22795 gcc_cv_math_func_tanh=yes
22796 else
22797 gcc_cv_math_func_tanh=no
22799 rm -f core conftest.err conftest.$ac_objext \
22800 conftest$ac_exeext conftest.$ac_ext
22802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanh" >&5
22803 $as_echo "$gcc_cv_math_func_tanh" >&6; }
22804 if test $gcc_cv_math_func_tanh = yes; then
22806 cat >>confdefs.h <<_ACEOF
22807 #define HAVE_TANH 1
22808 _ACEOF
22815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhl" >&5
22816 $as_echo_n "checking for tanhl... " >&6; }
22817 if test "${gcc_cv_math_func_tanhl+set}" = set; then :
22818 $as_echo_n "(cached) " >&6
22819 else
22820 if test x$gcc_no_link = xyes; then
22821 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22824 /* end confdefs.h. */
22826 #ifdef HAVE_COMPLEX_H
22827 #include <complex.h>
22828 #endif
22829 #ifdef HAVE_MATH_H
22830 #include <math.h>
22831 #endif
22833 int (*ptr)() = (int (*)())tanhl;
22836 main ()
22838 return 0;
22841 _ACEOF
22842 if ac_fn_c_try_link "$LINENO"; then :
22843 gcc_cv_math_func_tanhl=yes
22844 else
22845 gcc_cv_math_func_tanhl=no
22847 rm -f core conftest.err conftest.$ac_objext \
22848 conftest$ac_exeext conftest.$ac_ext
22850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhl" >&5
22851 $as_echo "$gcc_cv_math_func_tanhl" >&6; }
22852 if test $gcc_cv_math_func_tanhl = yes; then
22854 cat >>confdefs.h <<_ACEOF
22855 #define HAVE_TANHL 1
22856 _ACEOF
22863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhf" >&5
22864 $as_echo_n "checking for ctanhf... " >&6; }
22865 if test "${gcc_cv_math_func_ctanhf+set}" = set; then :
22866 $as_echo_n "(cached) " >&6
22867 else
22868 if test x$gcc_no_link = xyes; then
22869 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22872 /* end confdefs.h. */
22874 #ifdef HAVE_COMPLEX_H
22875 #include <complex.h>
22876 #endif
22877 #ifdef HAVE_MATH_H
22878 #include <math.h>
22879 #endif
22881 int (*ptr)() = (int (*)())ctanhf;
22884 main ()
22886 return 0;
22889 _ACEOF
22890 if ac_fn_c_try_link "$LINENO"; then :
22891 gcc_cv_math_func_ctanhf=yes
22892 else
22893 gcc_cv_math_func_ctanhf=no
22895 rm -f core conftest.err conftest.$ac_objext \
22896 conftest$ac_exeext conftest.$ac_ext
22898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhf" >&5
22899 $as_echo "$gcc_cv_math_func_ctanhf" >&6; }
22900 if test $gcc_cv_math_func_ctanhf = yes; then
22902 cat >>confdefs.h <<_ACEOF
22903 #define HAVE_CTANHF 1
22904 _ACEOF
22911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanh" >&5
22912 $as_echo_n "checking for ctanh... " >&6; }
22913 if test "${gcc_cv_math_func_ctanh+set}" = set; then :
22914 $as_echo_n "(cached) " >&6
22915 else
22916 if test x$gcc_no_link = xyes; then
22917 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22920 /* end confdefs.h. */
22922 #ifdef HAVE_COMPLEX_H
22923 #include <complex.h>
22924 #endif
22925 #ifdef HAVE_MATH_H
22926 #include <math.h>
22927 #endif
22929 int (*ptr)() = (int (*)())ctanh;
22932 main ()
22934 return 0;
22937 _ACEOF
22938 if ac_fn_c_try_link "$LINENO"; then :
22939 gcc_cv_math_func_ctanh=yes
22940 else
22941 gcc_cv_math_func_ctanh=no
22943 rm -f core conftest.err conftest.$ac_objext \
22944 conftest$ac_exeext conftest.$ac_ext
22946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanh" >&5
22947 $as_echo "$gcc_cv_math_func_ctanh" >&6; }
22948 if test $gcc_cv_math_func_ctanh = yes; then
22950 cat >>confdefs.h <<_ACEOF
22951 #define HAVE_CTANH 1
22952 _ACEOF
22959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhl" >&5
22960 $as_echo_n "checking for ctanhl... " >&6; }
22961 if test "${gcc_cv_math_func_ctanhl+set}" = set; then :
22962 $as_echo_n "(cached) " >&6
22963 else
22964 if test x$gcc_no_link = xyes; then
22965 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22968 /* end confdefs.h. */
22970 #ifdef HAVE_COMPLEX_H
22971 #include <complex.h>
22972 #endif
22973 #ifdef HAVE_MATH_H
22974 #include <math.h>
22975 #endif
22977 int (*ptr)() = (int (*)())ctanhl;
22980 main ()
22982 return 0;
22985 _ACEOF
22986 if ac_fn_c_try_link "$LINENO"; then :
22987 gcc_cv_math_func_ctanhl=yes
22988 else
22989 gcc_cv_math_func_ctanhl=no
22991 rm -f core conftest.err conftest.$ac_objext \
22992 conftest$ac_exeext conftest.$ac_ext
22994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhl" >&5
22995 $as_echo "$gcc_cv_math_func_ctanhl" >&6; }
22996 if test $gcc_cv_math_func_ctanhl = yes; then
22998 cat >>confdefs.h <<_ACEOF
22999 #define HAVE_CTANHL 1
23000 _ACEOF
23007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncf" >&5
23008 $as_echo_n "checking for truncf... " >&6; }
23009 if test "${gcc_cv_math_func_truncf+set}" = set; then :
23010 $as_echo_n "(cached) " >&6
23011 else
23012 if test x$gcc_no_link = xyes; then
23013 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23016 /* end confdefs.h. */
23018 #ifdef HAVE_COMPLEX_H
23019 #include <complex.h>
23020 #endif
23021 #ifdef HAVE_MATH_H
23022 #include <math.h>
23023 #endif
23025 int (*ptr)() = (int (*)())truncf;
23028 main ()
23030 return 0;
23033 _ACEOF
23034 if ac_fn_c_try_link "$LINENO"; then :
23035 gcc_cv_math_func_truncf=yes
23036 else
23037 gcc_cv_math_func_truncf=no
23039 rm -f core conftest.err conftest.$ac_objext \
23040 conftest$ac_exeext conftest.$ac_ext
23042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncf" >&5
23043 $as_echo "$gcc_cv_math_func_truncf" >&6; }
23044 if test $gcc_cv_math_func_truncf = yes; then
23046 cat >>confdefs.h <<_ACEOF
23047 #define HAVE_TRUNCF 1
23048 _ACEOF
23055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for trunc" >&5
23056 $as_echo_n "checking for trunc... " >&6; }
23057 if test "${gcc_cv_math_func_trunc+set}" = set; then :
23058 $as_echo_n "(cached) " >&6
23059 else
23060 if test x$gcc_no_link = xyes; then
23061 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23064 /* end confdefs.h. */
23066 #ifdef HAVE_COMPLEX_H
23067 #include <complex.h>
23068 #endif
23069 #ifdef HAVE_MATH_H
23070 #include <math.h>
23071 #endif
23073 int (*ptr)() = (int (*)())trunc;
23076 main ()
23078 return 0;
23081 _ACEOF
23082 if ac_fn_c_try_link "$LINENO"; then :
23083 gcc_cv_math_func_trunc=yes
23084 else
23085 gcc_cv_math_func_trunc=no
23087 rm -f core conftest.err conftest.$ac_objext \
23088 conftest$ac_exeext conftest.$ac_ext
23090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_trunc" >&5
23091 $as_echo "$gcc_cv_math_func_trunc" >&6; }
23092 if test $gcc_cv_math_func_trunc = yes; then
23094 cat >>confdefs.h <<_ACEOF
23095 #define HAVE_TRUNC 1
23096 _ACEOF
23103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncl" >&5
23104 $as_echo_n "checking for truncl... " >&6; }
23105 if test "${gcc_cv_math_func_truncl+set}" = set; then :
23106 $as_echo_n "(cached) " >&6
23107 else
23108 if test x$gcc_no_link = xyes; then
23109 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23112 /* end confdefs.h. */
23114 #ifdef HAVE_COMPLEX_H
23115 #include <complex.h>
23116 #endif
23117 #ifdef HAVE_MATH_H
23118 #include <math.h>
23119 #endif
23121 int (*ptr)() = (int (*)())truncl;
23124 main ()
23126 return 0;
23129 _ACEOF
23130 if ac_fn_c_try_link "$LINENO"; then :
23131 gcc_cv_math_func_truncl=yes
23132 else
23133 gcc_cv_math_func_truncl=no
23135 rm -f core conftest.err conftest.$ac_objext \
23136 conftest$ac_exeext conftest.$ac_ext
23138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncl" >&5
23139 $as_echo "$gcc_cv_math_func_truncl" >&6; }
23140 if test $gcc_cv_math_func_truncl = yes; then
23142 cat >>confdefs.h <<_ACEOF
23143 #define HAVE_TRUNCL 1
23144 _ACEOF
23151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erff" >&5
23152 $as_echo_n "checking for erff... " >&6; }
23153 if test "${gcc_cv_math_func_erff+set}" = set; then :
23154 $as_echo_n "(cached) " >&6
23155 else
23156 if test x$gcc_no_link = xyes; then
23157 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23160 /* end confdefs.h. */
23162 #ifdef HAVE_COMPLEX_H
23163 #include <complex.h>
23164 #endif
23165 #ifdef HAVE_MATH_H
23166 #include <math.h>
23167 #endif
23169 int (*ptr)() = (int (*)())erff;
23172 main ()
23174 return 0;
23177 _ACEOF
23178 if ac_fn_c_try_link "$LINENO"; then :
23179 gcc_cv_math_func_erff=yes
23180 else
23181 gcc_cv_math_func_erff=no
23183 rm -f core conftest.err conftest.$ac_objext \
23184 conftest$ac_exeext conftest.$ac_ext
23186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erff" >&5
23187 $as_echo "$gcc_cv_math_func_erff" >&6; }
23188 if test $gcc_cv_math_func_erff = yes; then
23190 cat >>confdefs.h <<_ACEOF
23191 #define HAVE_ERFF 1
23192 _ACEOF
23199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erf" >&5
23200 $as_echo_n "checking for erf... " >&6; }
23201 if test "${gcc_cv_math_func_erf+set}" = set; then :
23202 $as_echo_n "(cached) " >&6
23203 else
23204 if test x$gcc_no_link = xyes; then
23205 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23208 /* end confdefs.h. */
23210 #ifdef HAVE_COMPLEX_H
23211 #include <complex.h>
23212 #endif
23213 #ifdef HAVE_MATH_H
23214 #include <math.h>
23215 #endif
23217 int (*ptr)() = (int (*)())erf;
23220 main ()
23222 return 0;
23225 _ACEOF
23226 if ac_fn_c_try_link "$LINENO"; then :
23227 gcc_cv_math_func_erf=yes
23228 else
23229 gcc_cv_math_func_erf=no
23231 rm -f core conftest.err conftest.$ac_objext \
23232 conftest$ac_exeext conftest.$ac_ext
23234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erf" >&5
23235 $as_echo "$gcc_cv_math_func_erf" >&6; }
23236 if test $gcc_cv_math_func_erf = yes; then
23238 cat >>confdefs.h <<_ACEOF
23239 #define HAVE_ERF 1
23240 _ACEOF
23247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfl" >&5
23248 $as_echo_n "checking for erfl... " >&6; }
23249 if test "${gcc_cv_math_func_erfl+set}" = set; then :
23250 $as_echo_n "(cached) " >&6
23251 else
23252 if test x$gcc_no_link = xyes; then
23253 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23256 /* end confdefs.h. */
23258 #ifdef HAVE_COMPLEX_H
23259 #include <complex.h>
23260 #endif
23261 #ifdef HAVE_MATH_H
23262 #include <math.h>
23263 #endif
23265 int (*ptr)() = (int (*)())erfl;
23268 main ()
23270 return 0;
23273 _ACEOF
23274 if ac_fn_c_try_link "$LINENO"; then :
23275 gcc_cv_math_func_erfl=yes
23276 else
23277 gcc_cv_math_func_erfl=no
23279 rm -f core conftest.err conftest.$ac_objext \
23280 conftest$ac_exeext conftest.$ac_ext
23282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfl" >&5
23283 $as_echo "$gcc_cv_math_func_erfl" >&6; }
23284 if test $gcc_cv_math_func_erfl = yes; then
23286 cat >>confdefs.h <<_ACEOF
23287 #define HAVE_ERFL 1
23288 _ACEOF
23295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcf" >&5
23296 $as_echo_n "checking for erfcf... " >&6; }
23297 if test "${gcc_cv_math_func_erfcf+set}" = set; then :
23298 $as_echo_n "(cached) " >&6
23299 else
23300 if test x$gcc_no_link = xyes; then
23301 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23304 /* end confdefs.h. */
23306 #ifdef HAVE_COMPLEX_H
23307 #include <complex.h>
23308 #endif
23309 #ifdef HAVE_MATH_H
23310 #include <math.h>
23311 #endif
23313 int (*ptr)() = (int (*)())erfcf;
23316 main ()
23318 return 0;
23321 _ACEOF
23322 if ac_fn_c_try_link "$LINENO"; then :
23323 gcc_cv_math_func_erfcf=yes
23324 else
23325 gcc_cv_math_func_erfcf=no
23327 rm -f core conftest.err conftest.$ac_objext \
23328 conftest$ac_exeext conftest.$ac_ext
23330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcf" >&5
23331 $as_echo "$gcc_cv_math_func_erfcf" >&6; }
23332 if test $gcc_cv_math_func_erfcf = yes; then
23334 cat >>confdefs.h <<_ACEOF
23335 #define HAVE_ERFCF 1
23336 _ACEOF
23343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfc" >&5
23344 $as_echo_n "checking for erfc... " >&6; }
23345 if test "${gcc_cv_math_func_erfc+set}" = set; then :
23346 $as_echo_n "(cached) " >&6
23347 else
23348 if test x$gcc_no_link = xyes; then
23349 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23352 /* end confdefs.h. */
23354 #ifdef HAVE_COMPLEX_H
23355 #include <complex.h>
23356 #endif
23357 #ifdef HAVE_MATH_H
23358 #include <math.h>
23359 #endif
23361 int (*ptr)() = (int (*)())erfc;
23364 main ()
23366 return 0;
23369 _ACEOF
23370 if ac_fn_c_try_link "$LINENO"; then :
23371 gcc_cv_math_func_erfc=yes
23372 else
23373 gcc_cv_math_func_erfc=no
23375 rm -f core conftest.err conftest.$ac_objext \
23376 conftest$ac_exeext conftest.$ac_ext
23378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfc" >&5
23379 $as_echo "$gcc_cv_math_func_erfc" >&6; }
23380 if test $gcc_cv_math_func_erfc = yes; then
23382 cat >>confdefs.h <<_ACEOF
23383 #define HAVE_ERFC 1
23384 _ACEOF
23391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcl" >&5
23392 $as_echo_n "checking for erfcl... " >&6; }
23393 if test "${gcc_cv_math_func_erfcl+set}" = set; then :
23394 $as_echo_n "(cached) " >&6
23395 else
23396 if test x$gcc_no_link = xyes; then
23397 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23400 /* end confdefs.h. */
23402 #ifdef HAVE_COMPLEX_H
23403 #include <complex.h>
23404 #endif
23405 #ifdef HAVE_MATH_H
23406 #include <math.h>
23407 #endif
23409 int (*ptr)() = (int (*)())erfcl;
23412 main ()
23414 return 0;
23417 _ACEOF
23418 if ac_fn_c_try_link "$LINENO"; then :
23419 gcc_cv_math_func_erfcl=yes
23420 else
23421 gcc_cv_math_func_erfcl=no
23423 rm -f core conftest.err conftest.$ac_objext \
23424 conftest$ac_exeext conftest.$ac_ext
23426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcl" >&5
23427 $as_echo "$gcc_cv_math_func_erfcl" >&6; }
23428 if test $gcc_cv_math_func_erfcl = yes; then
23430 cat >>confdefs.h <<_ACEOF
23431 #define HAVE_ERFCL 1
23432 _ACEOF
23439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0f" >&5
23440 $as_echo_n "checking for j0f... " >&6; }
23441 if test "${gcc_cv_math_func_j0f+set}" = set; then :
23442 $as_echo_n "(cached) " >&6
23443 else
23444 if test x$gcc_no_link = xyes; then
23445 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23448 /* end confdefs.h. */
23450 #ifdef HAVE_COMPLEX_H
23451 #include <complex.h>
23452 #endif
23453 #ifdef HAVE_MATH_H
23454 #include <math.h>
23455 #endif
23457 int (*ptr)() = (int (*)())j0f;
23460 main ()
23462 return 0;
23465 _ACEOF
23466 if ac_fn_c_try_link "$LINENO"; then :
23467 gcc_cv_math_func_j0f=yes
23468 else
23469 gcc_cv_math_func_j0f=no
23471 rm -f core conftest.err conftest.$ac_objext \
23472 conftest$ac_exeext conftest.$ac_ext
23474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0f" >&5
23475 $as_echo "$gcc_cv_math_func_j0f" >&6; }
23476 if test $gcc_cv_math_func_j0f = yes; then
23478 cat >>confdefs.h <<_ACEOF
23479 #define HAVE_J0F 1
23480 _ACEOF
23487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0" >&5
23488 $as_echo_n "checking for j0... " >&6; }
23489 if test "${gcc_cv_math_func_j0+set}" = set; then :
23490 $as_echo_n "(cached) " >&6
23491 else
23492 if test x$gcc_no_link = xyes; then
23493 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23496 /* end confdefs.h. */
23498 #ifdef HAVE_COMPLEX_H
23499 #include <complex.h>
23500 #endif
23501 #ifdef HAVE_MATH_H
23502 #include <math.h>
23503 #endif
23505 int (*ptr)() = (int (*)())j0;
23508 main ()
23510 return 0;
23513 _ACEOF
23514 if ac_fn_c_try_link "$LINENO"; then :
23515 gcc_cv_math_func_j0=yes
23516 else
23517 gcc_cv_math_func_j0=no
23519 rm -f core conftest.err conftest.$ac_objext \
23520 conftest$ac_exeext conftest.$ac_ext
23522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0" >&5
23523 $as_echo "$gcc_cv_math_func_j0" >&6; }
23524 if test $gcc_cv_math_func_j0 = yes; then
23526 cat >>confdefs.h <<_ACEOF
23527 #define HAVE_J0 1
23528 _ACEOF
23535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0l" >&5
23536 $as_echo_n "checking for j0l... " >&6; }
23537 if test "${gcc_cv_math_func_j0l+set}" = set; then :
23538 $as_echo_n "(cached) " >&6
23539 else
23540 if test x$gcc_no_link = xyes; then
23541 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23544 /* end confdefs.h. */
23546 #ifdef HAVE_COMPLEX_H
23547 #include <complex.h>
23548 #endif
23549 #ifdef HAVE_MATH_H
23550 #include <math.h>
23551 #endif
23553 int (*ptr)() = (int (*)())j0l;
23556 main ()
23558 return 0;
23561 _ACEOF
23562 if ac_fn_c_try_link "$LINENO"; then :
23563 gcc_cv_math_func_j0l=yes
23564 else
23565 gcc_cv_math_func_j0l=no
23567 rm -f core conftest.err conftest.$ac_objext \
23568 conftest$ac_exeext conftest.$ac_ext
23570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0l" >&5
23571 $as_echo "$gcc_cv_math_func_j0l" >&6; }
23572 if test $gcc_cv_math_func_j0l = yes; then
23574 cat >>confdefs.h <<_ACEOF
23575 #define HAVE_J0L 1
23576 _ACEOF
23583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1f" >&5
23584 $as_echo_n "checking for j1f... " >&6; }
23585 if test "${gcc_cv_math_func_j1f+set}" = set; then :
23586 $as_echo_n "(cached) " >&6
23587 else
23588 if test x$gcc_no_link = xyes; then
23589 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23592 /* end confdefs.h. */
23594 #ifdef HAVE_COMPLEX_H
23595 #include <complex.h>
23596 #endif
23597 #ifdef HAVE_MATH_H
23598 #include <math.h>
23599 #endif
23601 int (*ptr)() = (int (*)())j1f;
23604 main ()
23606 return 0;
23609 _ACEOF
23610 if ac_fn_c_try_link "$LINENO"; then :
23611 gcc_cv_math_func_j1f=yes
23612 else
23613 gcc_cv_math_func_j1f=no
23615 rm -f core conftest.err conftest.$ac_objext \
23616 conftest$ac_exeext conftest.$ac_ext
23618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1f" >&5
23619 $as_echo "$gcc_cv_math_func_j1f" >&6; }
23620 if test $gcc_cv_math_func_j1f = yes; then
23622 cat >>confdefs.h <<_ACEOF
23623 #define HAVE_J1F 1
23624 _ACEOF
23631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1" >&5
23632 $as_echo_n "checking for j1... " >&6; }
23633 if test "${gcc_cv_math_func_j1+set}" = set; then :
23634 $as_echo_n "(cached) " >&6
23635 else
23636 if test x$gcc_no_link = xyes; then
23637 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23640 /* end confdefs.h. */
23642 #ifdef HAVE_COMPLEX_H
23643 #include <complex.h>
23644 #endif
23645 #ifdef HAVE_MATH_H
23646 #include <math.h>
23647 #endif
23649 int (*ptr)() = (int (*)())j1;
23652 main ()
23654 return 0;
23657 _ACEOF
23658 if ac_fn_c_try_link "$LINENO"; then :
23659 gcc_cv_math_func_j1=yes
23660 else
23661 gcc_cv_math_func_j1=no
23663 rm -f core conftest.err conftest.$ac_objext \
23664 conftest$ac_exeext conftest.$ac_ext
23666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1" >&5
23667 $as_echo "$gcc_cv_math_func_j1" >&6; }
23668 if test $gcc_cv_math_func_j1 = yes; then
23670 cat >>confdefs.h <<_ACEOF
23671 #define HAVE_J1 1
23672 _ACEOF
23679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1l" >&5
23680 $as_echo_n "checking for j1l... " >&6; }
23681 if test "${gcc_cv_math_func_j1l+set}" = set; then :
23682 $as_echo_n "(cached) " >&6
23683 else
23684 if test x$gcc_no_link = xyes; then
23685 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23688 /* end confdefs.h. */
23690 #ifdef HAVE_COMPLEX_H
23691 #include <complex.h>
23692 #endif
23693 #ifdef HAVE_MATH_H
23694 #include <math.h>
23695 #endif
23697 int (*ptr)() = (int (*)())j1l;
23700 main ()
23702 return 0;
23705 _ACEOF
23706 if ac_fn_c_try_link "$LINENO"; then :
23707 gcc_cv_math_func_j1l=yes
23708 else
23709 gcc_cv_math_func_j1l=no
23711 rm -f core conftest.err conftest.$ac_objext \
23712 conftest$ac_exeext conftest.$ac_ext
23714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1l" >&5
23715 $as_echo "$gcc_cv_math_func_j1l" >&6; }
23716 if test $gcc_cv_math_func_j1l = yes; then
23718 cat >>confdefs.h <<_ACEOF
23719 #define HAVE_J1L 1
23720 _ACEOF
23727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnf" >&5
23728 $as_echo_n "checking for jnf... " >&6; }
23729 if test "${gcc_cv_math_func_jnf+set}" = set; then :
23730 $as_echo_n "(cached) " >&6
23731 else
23732 if test x$gcc_no_link = xyes; then
23733 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23736 /* end confdefs.h. */
23738 #ifdef HAVE_COMPLEX_H
23739 #include <complex.h>
23740 #endif
23741 #ifdef HAVE_MATH_H
23742 #include <math.h>
23743 #endif
23745 int (*ptr)() = (int (*)())jnf;
23748 main ()
23750 return 0;
23753 _ACEOF
23754 if ac_fn_c_try_link "$LINENO"; then :
23755 gcc_cv_math_func_jnf=yes
23756 else
23757 gcc_cv_math_func_jnf=no
23759 rm -f core conftest.err conftest.$ac_objext \
23760 conftest$ac_exeext conftest.$ac_ext
23762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnf" >&5
23763 $as_echo "$gcc_cv_math_func_jnf" >&6; }
23764 if test $gcc_cv_math_func_jnf = yes; then
23766 cat >>confdefs.h <<_ACEOF
23767 #define HAVE_JNF 1
23768 _ACEOF
23775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jn" >&5
23776 $as_echo_n "checking for jn... " >&6; }
23777 if test "${gcc_cv_math_func_jn+set}" = set; then :
23778 $as_echo_n "(cached) " >&6
23779 else
23780 if test x$gcc_no_link = xyes; then
23781 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23784 /* end confdefs.h. */
23786 #ifdef HAVE_COMPLEX_H
23787 #include <complex.h>
23788 #endif
23789 #ifdef HAVE_MATH_H
23790 #include <math.h>
23791 #endif
23793 int (*ptr)() = (int (*)())jn;
23796 main ()
23798 return 0;
23801 _ACEOF
23802 if ac_fn_c_try_link "$LINENO"; then :
23803 gcc_cv_math_func_jn=yes
23804 else
23805 gcc_cv_math_func_jn=no
23807 rm -f core conftest.err conftest.$ac_objext \
23808 conftest$ac_exeext conftest.$ac_ext
23810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jn" >&5
23811 $as_echo "$gcc_cv_math_func_jn" >&6; }
23812 if test $gcc_cv_math_func_jn = yes; then
23814 cat >>confdefs.h <<_ACEOF
23815 #define HAVE_JN 1
23816 _ACEOF
23823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnl" >&5
23824 $as_echo_n "checking for jnl... " >&6; }
23825 if test "${gcc_cv_math_func_jnl+set}" = set; then :
23826 $as_echo_n "(cached) " >&6
23827 else
23828 if test x$gcc_no_link = xyes; then
23829 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23832 /* end confdefs.h. */
23834 #ifdef HAVE_COMPLEX_H
23835 #include <complex.h>
23836 #endif
23837 #ifdef HAVE_MATH_H
23838 #include <math.h>
23839 #endif
23841 int (*ptr)() = (int (*)())jnl;
23844 main ()
23846 return 0;
23849 _ACEOF
23850 if ac_fn_c_try_link "$LINENO"; then :
23851 gcc_cv_math_func_jnl=yes
23852 else
23853 gcc_cv_math_func_jnl=no
23855 rm -f core conftest.err conftest.$ac_objext \
23856 conftest$ac_exeext conftest.$ac_ext
23858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnl" >&5
23859 $as_echo "$gcc_cv_math_func_jnl" >&6; }
23860 if test $gcc_cv_math_func_jnl = yes; then
23862 cat >>confdefs.h <<_ACEOF
23863 #define HAVE_JNL 1
23864 _ACEOF
23871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0f" >&5
23872 $as_echo_n "checking for y0f... " >&6; }
23873 if test "${gcc_cv_math_func_y0f+set}" = set; then :
23874 $as_echo_n "(cached) " >&6
23875 else
23876 if test x$gcc_no_link = xyes; then
23877 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23880 /* end confdefs.h. */
23882 #ifdef HAVE_COMPLEX_H
23883 #include <complex.h>
23884 #endif
23885 #ifdef HAVE_MATH_H
23886 #include <math.h>
23887 #endif
23889 int (*ptr)() = (int (*)())y0f;
23892 main ()
23894 return 0;
23897 _ACEOF
23898 if ac_fn_c_try_link "$LINENO"; then :
23899 gcc_cv_math_func_y0f=yes
23900 else
23901 gcc_cv_math_func_y0f=no
23903 rm -f core conftest.err conftest.$ac_objext \
23904 conftest$ac_exeext conftest.$ac_ext
23906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0f" >&5
23907 $as_echo "$gcc_cv_math_func_y0f" >&6; }
23908 if test $gcc_cv_math_func_y0f = yes; then
23910 cat >>confdefs.h <<_ACEOF
23911 #define HAVE_Y0F 1
23912 _ACEOF
23919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0" >&5
23920 $as_echo_n "checking for y0... " >&6; }
23921 if test "${gcc_cv_math_func_y0+set}" = set; then :
23922 $as_echo_n "(cached) " >&6
23923 else
23924 if test x$gcc_no_link = xyes; then
23925 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23928 /* end confdefs.h. */
23930 #ifdef HAVE_COMPLEX_H
23931 #include <complex.h>
23932 #endif
23933 #ifdef HAVE_MATH_H
23934 #include <math.h>
23935 #endif
23937 int (*ptr)() = (int (*)())y0;
23940 main ()
23942 return 0;
23945 _ACEOF
23946 if ac_fn_c_try_link "$LINENO"; then :
23947 gcc_cv_math_func_y0=yes
23948 else
23949 gcc_cv_math_func_y0=no
23951 rm -f core conftest.err conftest.$ac_objext \
23952 conftest$ac_exeext conftest.$ac_ext
23954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0" >&5
23955 $as_echo "$gcc_cv_math_func_y0" >&6; }
23956 if test $gcc_cv_math_func_y0 = yes; then
23958 cat >>confdefs.h <<_ACEOF
23959 #define HAVE_Y0 1
23960 _ACEOF
23967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0l" >&5
23968 $as_echo_n "checking for y0l... " >&6; }
23969 if test "${gcc_cv_math_func_y0l+set}" = set; then :
23970 $as_echo_n "(cached) " >&6
23971 else
23972 if test x$gcc_no_link = xyes; then
23973 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23976 /* end confdefs.h. */
23978 #ifdef HAVE_COMPLEX_H
23979 #include <complex.h>
23980 #endif
23981 #ifdef HAVE_MATH_H
23982 #include <math.h>
23983 #endif
23985 int (*ptr)() = (int (*)())y0l;
23988 main ()
23990 return 0;
23993 _ACEOF
23994 if ac_fn_c_try_link "$LINENO"; then :
23995 gcc_cv_math_func_y0l=yes
23996 else
23997 gcc_cv_math_func_y0l=no
23999 rm -f core conftest.err conftest.$ac_objext \
24000 conftest$ac_exeext conftest.$ac_ext
24002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0l" >&5
24003 $as_echo "$gcc_cv_math_func_y0l" >&6; }
24004 if test $gcc_cv_math_func_y0l = yes; then
24006 cat >>confdefs.h <<_ACEOF
24007 #define HAVE_Y0L 1
24008 _ACEOF
24015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1f" >&5
24016 $as_echo_n "checking for y1f... " >&6; }
24017 if test "${gcc_cv_math_func_y1f+set}" = set; then :
24018 $as_echo_n "(cached) " >&6
24019 else
24020 if test x$gcc_no_link = xyes; then
24021 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24024 /* end confdefs.h. */
24026 #ifdef HAVE_COMPLEX_H
24027 #include <complex.h>
24028 #endif
24029 #ifdef HAVE_MATH_H
24030 #include <math.h>
24031 #endif
24033 int (*ptr)() = (int (*)())y1f;
24036 main ()
24038 return 0;
24041 _ACEOF
24042 if ac_fn_c_try_link "$LINENO"; then :
24043 gcc_cv_math_func_y1f=yes
24044 else
24045 gcc_cv_math_func_y1f=no
24047 rm -f core conftest.err conftest.$ac_objext \
24048 conftest$ac_exeext conftest.$ac_ext
24050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1f" >&5
24051 $as_echo "$gcc_cv_math_func_y1f" >&6; }
24052 if test $gcc_cv_math_func_y1f = yes; then
24054 cat >>confdefs.h <<_ACEOF
24055 #define HAVE_Y1F 1
24056 _ACEOF
24063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1" >&5
24064 $as_echo_n "checking for y1... " >&6; }
24065 if test "${gcc_cv_math_func_y1+set}" = set; then :
24066 $as_echo_n "(cached) " >&6
24067 else
24068 if test x$gcc_no_link = xyes; then
24069 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24072 /* end confdefs.h. */
24074 #ifdef HAVE_COMPLEX_H
24075 #include <complex.h>
24076 #endif
24077 #ifdef HAVE_MATH_H
24078 #include <math.h>
24079 #endif
24081 int (*ptr)() = (int (*)())y1;
24084 main ()
24086 return 0;
24089 _ACEOF
24090 if ac_fn_c_try_link "$LINENO"; then :
24091 gcc_cv_math_func_y1=yes
24092 else
24093 gcc_cv_math_func_y1=no
24095 rm -f core conftest.err conftest.$ac_objext \
24096 conftest$ac_exeext conftest.$ac_ext
24098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1" >&5
24099 $as_echo "$gcc_cv_math_func_y1" >&6; }
24100 if test $gcc_cv_math_func_y1 = yes; then
24102 cat >>confdefs.h <<_ACEOF
24103 #define HAVE_Y1 1
24104 _ACEOF
24111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1l" >&5
24112 $as_echo_n "checking for y1l... " >&6; }
24113 if test "${gcc_cv_math_func_y1l+set}" = set; then :
24114 $as_echo_n "(cached) " >&6
24115 else
24116 if test x$gcc_no_link = xyes; then
24117 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24120 /* end confdefs.h. */
24122 #ifdef HAVE_COMPLEX_H
24123 #include <complex.h>
24124 #endif
24125 #ifdef HAVE_MATH_H
24126 #include <math.h>
24127 #endif
24129 int (*ptr)() = (int (*)())y1l;
24132 main ()
24134 return 0;
24137 _ACEOF
24138 if ac_fn_c_try_link "$LINENO"; then :
24139 gcc_cv_math_func_y1l=yes
24140 else
24141 gcc_cv_math_func_y1l=no
24143 rm -f core conftest.err conftest.$ac_objext \
24144 conftest$ac_exeext conftest.$ac_ext
24146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1l" >&5
24147 $as_echo "$gcc_cv_math_func_y1l" >&6; }
24148 if test $gcc_cv_math_func_y1l = yes; then
24150 cat >>confdefs.h <<_ACEOF
24151 #define HAVE_Y1L 1
24152 _ACEOF
24159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynf" >&5
24160 $as_echo_n "checking for ynf... " >&6; }
24161 if test "${gcc_cv_math_func_ynf+set}" = set; then :
24162 $as_echo_n "(cached) " >&6
24163 else
24164 if test x$gcc_no_link = xyes; then
24165 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24168 /* end confdefs.h. */
24170 #ifdef HAVE_COMPLEX_H
24171 #include <complex.h>
24172 #endif
24173 #ifdef HAVE_MATH_H
24174 #include <math.h>
24175 #endif
24177 int (*ptr)() = (int (*)())ynf;
24180 main ()
24182 return 0;
24185 _ACEOF
24186 if ac_fn_c_try_link "$LINENO"; then :
24187 gcc_cv_math_func_ynf=yes
24188 else
24189 gcc_cv_math_func_ynf=no
24191 rm -f core conftest.err conftest.$ac_objext \
24192 conftest$ac_exeext conftest.$ac_ext
24194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynf" >&5
24195 $as_echo "$gcc_cv_math_func_ynf" >&6; }
24196 if test $gcc_cv_math_func_ynf = yes; then
24198 cat >>confdefs.h <<_ACEOF
24199 #define HAVE_YNF 1
24200 _ACEOF
24207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for yn" >&5
24208 $as_echo_n "checking for yn... " >&6; }
24209 if test "${gcc_cv_math_func_yn+set}" = set; then :
24210 $as_echo_n "(cached) " >&6
24211 else
24212 if test x$gcc_no_link = xyes; then
24213 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24216 /* end confdefs.h. */
24218 #ifdef HAVE_COMPLEX_H
24219 #include <complex.h>
24220 #endif
24221 #ifdef HAVE_MATH_H
24222 #include <math.h>
24223 #endif
24225 int (*ptr)() = (int (*)())yn;
24228 main ()
24230 return 0;
24233 _ACEOF
24234 if ac_fn_c_try_link "$LINENO"; then :
24235 gcc_cv_math_func_yn=yes
24236 else
24237 gcc_cv_math_func_yn=no
24239 rm -f core conftest.err conftest.$ac_objext \
24240 conftest$ac_exeext conftest.$ac_ext
24242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_yn" >&5
24243 $as_echo "$gcc_cv_math_func_yn" >&6; }
24244 if test $gcc_cv_math_func_yn = yes; then
24246 cat >>confdefs.h <<_ACEOF
24247 #define HAVE_YN 1
24248 _ACEOF
24255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynl" >&5
24256 $as_echo_n "checking for ynl... " >&6; }
24257 if test "${gcc_cv_math_func_ynl+set}" = set; then :
24258 $as_echo_n "(cached) " >&6
24259 else
24260 if test x$gcc_no_link = xyes; then
24261 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24264 /* end confdefs.h. */
24266 #ifdef HAVE_COMPLEX_H
24267 #include <complex.h>
24268 #endif
24269 #ifdef HAVE_MATH_H
24270 #include <math.h>
24271 #endif
24273 int (*ptr)() = (int (*)())ynl;
24276 main ()
24278 return 0;
24281 _ACEOF
24282 if ac_fn_c_try_link "$LINENO"; then :
24283 gcc_cv_math_func_ynl=yes
24284 else
24285 gcc_cv_math_func_ynl=no
24287 rm -f core conftest.err conftest.$ac_objext \
24288 conftest$ac_exeext conftest.$ac_ext
24290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynl" >&5
24291 $as_echo "$gcc_cv_math_func_ynl" >&6; }
24292 if test $gcc_cv_math_func_ynl = yes; then
24294 cat >>confdefs.h <<_ACEOF
24295 #define HAVE_YNL 1
24296 _ACEOF
24303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgamma" >&5
24304 $as_echo_n "checking for tgamma... " >&6; }
24305 if test "${gcc_cv_math_func_tgamma+set}" = set; then :
24306 $as_echo_n "(cached) " >&6
24307 else
24308 if test x$gcc_no_link = xyes; then
24309 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24312 /* end confdefs.h. */
24314 #ifdef HAVE_COMPLEX_H
24315 #include <complex.h>
24316 #endif
24317 #ifdef HAVE_MATH_H
24318 #include <math.h>
24319 #endif
24321 int (*ptr)() = (int (*)())tgamma;
24324 main ()
24326 return 0;
24329 _ACEOF
24330 if ac_fn_c_try_link "$LINENO"; then :
24331 gcc_cv_math_func_tgamma=yes
24332 else
24333 gcc_cv_math_func_tgamma=no
24335 rm -f core conftest.err conftest.$ac_objext \
24336 conftest$ac_exeext conftest.$ac_ext
24338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgamma" >&5
24339 $as_echo "$gcc_cv_math_func_tgamma" >&6; }
24340 if test $gcc_cv_math_func_tgamma = yes; then
24342 cat >>confdefs.h <<_ACEOF
24343 #define HAVE_TGAMMA 1
24344 _ACEOF
24351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammaf" >&5
24352 $as_echo_n "checking for tgammaf... " >&6; }
24353 if test "${gcc_cv_math_func_tgammaf+set}" = set; then :
24354 $as_echo_n "(cached) " >&6
24355 else
24356 if test x$gcc_no_link = xyes; then
24357 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24360 /* end confdefs.h. */
24362 #ifdef HAVE_COMPLEX_H
24363 #include <complex.h>
24364 #endif
24365 #ifdef HAVE_MATH_H
24366 #include <math.h>
24367 #endif
24369 int (*ptr)() = (int (*)())tgammaf;
24372 main ()
24374 return 0;
24377 _ACEOF
24378 if ac_fn_c_try_link "$LINENO"; then :
24379 gcc_cv_math_func_tgammaf=yes
24380 else
24381 gcc_cv_math_func_tgammaf=no
24383 rm -f core conftest.err conftest.$ac_objext \
24384 conftest$ac_exeext conftest.$ac_ext
24386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgammaf" >&5
24387 $as_echo "$gcc_cv_math_func_tgammaf" >&6; }
24388 if test $gcc_cv_math_func_tgammaf = yes; then
24390 cat >>confdefs.h <<_ACEOF
24391 #define HAVE_TGAMMAF 1
24392 _ACEOF
24399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammal" >&5
24400 $as_echo_n "checking for tgammal... " >&6; }
24401 if test "${gcc_cv_math_func_tgammal+set}" = set; then :
24402 $as_echo_n "(cached) " >&6
24403 else
24404 if test x$gcc_no_link = xyes; then
24405 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24408 /* end confdefs.h. */
24410 #ifdef HAVE_COMPLEX_H
24411 #include <complex.h>
24412 #endif
24413 #ifdef HAVE_MATH_H
24414 #include <math.h>
24415 #endif
24417 int (*ptr)() = (int (*)())tgammal;
24420 main ()
24422 return 0;
24425 _ACEOF
24426 if ac_fn_c_try_link "$LINENO"; then :
24427 gcc_cv_math_func_tgammal=yes
24428 else
24429 gcc_cv_math_func_tgammal=no
24431 rm -f core conftest.err conftest.$ac_objext \
24432 conftest$ac_exeext conftest.$ac_ext
24434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgammal" >&5
24435 $as_echo "$gcc_cv_math_func_tgammal" >&6; }
24436 if test $gcc_cv_math_func_tgammal = yes; then
24438 cat >>confdefs.h <<_ACEOF
24439 #define HAVE_TGAMMAL 1
24440 _ACEOF
24447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgamma" >&5
24448 $as_echo_n "checking for lgamma... " >&6; }
24449 if test "${gcc_cv_math_func_lgamma+set}" = set; then :
24450 $as_echo_n "(cached) " >&6
24451 else
24452 if test x$gcc_no_link = xyes; then
24453 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24456 /* end confdefs.h. */
24458 #ifdef HAVE_COMPLEX_H
24459 #include <complex.h>
24460 #endif
24461 #ifdef HAVE_MATH_H
24462 #include <math.h>
24463 #endif
24465 int (*ptr)() = (int (*)())lgamma;
24468 main ()
24470 return 0;
24473 _ACEOF
24474 if ac_fn_c_try_link "$LINENO"; then :
24475 gcc_cv_math_func_lgamma=yes
24476 else
24477 gcc_cv_math_func_lgamma=no
24479 rm -f core conftest.err conftest.$ac_objext \
24480 conftest$ac_exeext conftest.$ac_ext
24482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgamma" >&5
24483 $as_echo "$gcc_cv_math_func_lgamma" >&6; }
24484 if test $gcc_cv_math_func_lgamma = yes; then
24486 cat >>confdefs.h <<_ACEOF
24487 #define HAVE_LGAMMA 1
24488 _ACEOF
24495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammaf" >&5
24496 $as_echo_n "checking for lgammaf... " >&6; }
24497 if test "${gcc_cv_math_func_lgammaf+set}" = set; then :
24498 $as_echo_n "(cached) " >&6
24499 else
24500 if test x$gcc_no_link = xyes; then
24501 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24504 /* end confdefs.h. */
24506 #ifdef HAVE_COMPLEX_H
24507 #include <complex.h>
24508 #endif
24509 #ifdef HAVE_MATH_H
24510 #include <math.h>
24511 #endif
24513 int (*ptr)() = (int (*)())lgammaf;
24516 main ()
24518 return 0;
24521 _ACEOF
24522 if ac_fn_c_try_link "$LINENO"; then :
24523 gcc_cv_math_func_lgammaf=yes
24524 else
24525 gcc_cv_math_func_lgammaf=no
24527 rm -f core conftest.err conftest.$ac_objext \
24528 conftest$ac_exeext conftest.$ac_ext
24530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgammaf" >&5
24531 $as_echo "$gcc_cv_math_func_lgammaf" >&6; }
24532 if test $gcc_cv_math_func_lgammaf = yes; then
24534 cat >>confdefs.h <<_ACEOF
24535 #define HAVE_LGAMMAF 1
24536 _ACEOF
24543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammal" >&5
24544 $as_echo_n "checking for lgammal... " >&6; }
24545 if test "${gcc_cv_math_func_lgammal+set}" = set; then :
24546 $as_echo_n "(cached) " >&6
24547 else
24548 if test x$gcc_no_link = xyes; then
24549 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24552 /* end confdefs.h. */
24554 #ifdef HAVE_COMPLEX_H
24555 #include <complex.h>
24556 #endif
24557 #ifdef HAVE_MATH_H
24558 #include <math.h>
24559 #endif
24561 int (*ptr)() = (int (*)())lgammal;
24564 main ()
24566 return 0;
24569 _ACEOF
24570 if ac_fn_c_try_link "$LINENO"; then :
24571 gcc_cv_math_func_lgammal=yes
24572 else
24573 gcc_cv_math_func_lgammal=no
24575 rm -f core conftest.err conftest.$ac_objext \
24576 conftest$ac_exeext conftest.$ac_ext
24578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgammal" >&5
24579 $as_echo "$gcc_cv_math_func_lgammal" >&6; }
24580 if test $gcc_cv_math_func_lgammal = yes; then
24582 cat >>confdefs.h <<_ACEOF
24583 #define HAVE_LGAMMAL 1
24584 _ACEOF
24589 # Check for GFORTRAN_C99_1.1 funcs
24593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacos" >&5
24594 $as_echo_n "checking for cacos... " >&6; }
24595 if test "${gcc_cv_math_func_cacos+set}" = set; then :
24596 $as_echo_n "(cached) " >&6
24597 else
24598 if test x$gcc_no_link = xyes; then
24599 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24602 /* end confdefs.h. */
24604 #ifdef HAVE_COMPLEX_H
24605 #include <complex.h>
24606 #endif
24607 #ifdef HAVE_MATH_H
24608 #include <math.h>
24609 #endif
24611 int (*ptr)() = (int (*)())cacos;
24614 main ()
24616 return 0;
24619 _ACEOF
24620 if ac_fn_c_try_link "$LINENO"; then :
24621 gcc_cv_math_func_cacos=yes
24622 else
24623 gcc_cv_math_func_cacos=no
24625 rm -f core conftest.err conftest.$ac_objext \
24626 conftest$ac_exeext conftest.$ac_ext
24628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacos" >&5
24629 $as_echo "$gcc_cv_math_func_cacos" >&6; }
24630 if test $gcc_cv_math_func_cacos = yes; then
24632 cat >>confdefs.h <<_ACEOF
24633 #define HAVE_CACOS 1
24634 _ACEOF
24641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosf" >&5
24642 $as_echo_n "checking for cacosf... " >&6; }
24643 if test "${gcc_cv_math_func_cacosf+set}" = set; then :
24644 $as_echo_n "(cached) " >&6
24645 else
24646 if test x$gcc_no_link = xyes; then
24647 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24650 /* end confdefs.h. */
24652 #ifdef HAVE_COMPLEX_H
24653 #include <complex.h>
24654 #endif
24655 #ifdef HAVE_MATH_H
24656 #include <math.h>
24657 #endif
24659 int (*ptr)() = (int (*)())cacosf;
24662 main ()
24664 return 0;
24667 _ACEOF
24668 if ac_fn_c_try_link "$LINENO"; then :
24669 gcc_cv_math_func_cacosf=yes
24670 else
24671 gcc_cv_math_func_cacosf=no
24673 rm -f core conftest.err conftest.$ac_objext \
24674 conftest$ac_exeext conftest.$ac_ext
24676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosf" >&5
24677 $as_echo "$gcc_cv_math_func_cacosf" >&6; }
24678 if test $gcc_cv_math_func_cacosf = yes; then
24680 cat >>confdefs.h <<_ACEOF
24681 #define HAVE_CACOSF 1
24682 _ACEOF
24689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosh" >&5
24690 $as_echo_n "checking for cacosh... " >&6; }
24691 if test "${gcc_cv_math_func_cacosh+set}" = set; then :
24692 $as_echo_n "(cached) " >&6
24693 else
24694 if test x$gcc_no_link = xyes; then
24695 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24698 /* end confdefs.h. */
24700 #ifdef HAVE_COMPLEX_H
24701 #include <complex.h>
24702 #endif
24703 #ifdef HAVE_MATH_H
24704 #include <math.h>
24705 #endif
24707 int (*ptr)() = (int (*)())cacosh;
24710 main ()
24712 return 0;
24715 _ACEOF
24716 if ac_fn_c_try_link "$LINENO"; then :
24717 gcc_cv_math_func_cacosh=yes
24718 else
24719 gcc_cv_math_func_cacosh=no
24721 rm -f core conftest.err conftest.$ac_objext \
24722 conftest$ac_exeext conftest.$ac_ext
24724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosh" >&5
24725 $as_echo "$gcc_cv_math_func_cacosh" >&6; }
24726 if test $gcc_cv_math_func_cacosh = yes; then
24728 cat >>confdefs.h <<_ACEOF
24729 #define HAVE_CACOSH 1
24730 _ACEOF
24737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshf" >&5
24738 $as_echo_n "checking for cacoshf... " >&6; }
24739 if test "${gcc_cv_math_func_cacoshf+set}" = set; then :
24740 $as_echo_n "(cached) " >&6
24741 else
24742 if test x$gcc_no_link = xyes; then
24743 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24746 /* end confdefs.h. */
24748 #ifdef HAVE_COMPLEX_H
24749 #include <complex.h>
24750 #endif
24751 #ifdef HAVE_MATH_H
24752 #include <math.h>
24753 #endif
24755 int (*ptr)() = (int (*)())cacoshf;
24758 main ()
24760 return 0;
24763 _ACEOF
24764 if ac_fn_c_try_link "$LINENO"; then :
24765 gcc_cv_math_func_cacoshf=yes
24766 else
24767 gcc_cv_math_func_cacoshf=no
24769 rm -f core conftest.err conftest.$ac_objext \
24770 conftest$ac_exeext conftest.$ac_ext
24772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshf" >&5
24773 $as_echo "$gcc_cv_math_func_cacoshf" >&6; }
24774 if test $gcc_cv_math_func_cacoshf = yes; then
24776 cat >>confdefs.h <<_ACEOF
24777 #define HAVE_CACOSHF 1
24778 _ACEOF
24785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshl" >&5
24786 $as_echo_n "checking for cacoshl... " >&6; }
24787 if test "${gcc_cv_math_func_cacoshl+set}" = set; then :
24788 $as_echo_n "(cached) " >&6
24789 else
24790 if test x$gcc_no_link = xyes; then
24791 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24794 /* end confdefs.h. */
24796 #ifdef HAVE_COMPLEX_H
24797 #include <complex.h>
24798 #endif
24799 #ifdef HAVE_MATH_H
24800 #include <math.h>
24801 #endif
24803 int (*ptr)() = (int (*)())cacoshl;
24806 main ()
24808 return 0;
24811 _ACEOF
24812 if ac_fn_c_try_link "$LINENO"; then :
24813 gcc_cv_math_func_cacoshl=yes
24814 else
24815 gcc_cv_math_func_cacoshl=no
24817 rm -f core conftest.err conftest.$ac_objext \
24818 conftest$ac_exeext conftest.$ac_ext
24820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshl" >&5
24821 $as_echo "$gcc_cv_math_func_cacoshl" >&6; }
24822 if test $gcc_cv_math_func_cacoshl = yes; then
24824 cat >>confdefs.h <<_ACEOF
24825 #define HAVE_CACOSHL 1
24826 _ACEOF
24833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosl" >&5
24834 $as_echo_n "checking for cacosl... " >&6; }
24835 if test "${gcc_cv_math_func_cacosl+set}" = set; then :
24836 $as_echo_n "(cached) " >&6
24837 else
24838 if test x$gcc_no_link = xyes; then
24839 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24842 /* end confdefs.h. */
24844 #ifdef HAVE_COMPLEX_H
24845 #include <complex.h>
24846 #endif
24847 #ifdef HAVE_MATH_H
24848 #include <math.h>
24849 #endif
24851 int (*ptr)() = (int (*)())cacosl;
24854 main ()
24856 return 0;
24859 _ACEOF
24860 if ac_fn_c_try_link "$LINENO"; then :
24861 gcc_cv_math_func_cacosl=yes
24862 else
24863 gcc_cv_math_func_cacosl=no
24865 rm -f core conftest.err conftest.$ac_objext \
24866 conftest$ac_exeext conftest.$ac_ext
24868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosl" >&5
24869 $as_echo "$gcc_cv_math_func_cacosl" >&6; }
24870 if test $gcc_cv_math_func_cacosl = yes; then
24872 cat >>confdefs.h <<_ACEOF
24873 #define HAVE_CACOSL 1
24874 _ACEOF
24881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casin" >&5
24882 $as_echo_n "checking for casin... " >&6; }
24883 if test "${gcc_cv_math_func_casin+set}" = set; then :
24884 $as_echo_n "(cached) " >&6
24885 else
24886 if test x$gcc_no_link = xyes; then
24887 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24890 /* end confdefs.h. */
24892 #ifdef HAVE_COMPLEX_H
24893 #include <complex.h>
24894 #endif
24895 #ifdef HAVE_MATH_H
24896 #include <math.h>
24897 #endif
24899 int (*ptr)() = (int (*)())casin;
24902 main ()
24904 return 0;
24907 _ACEOF
24908 if ac_fn_c_try_link "$LINENO"; then :
24909 gcc_cv_math_func_casin=yes
24910 else
24911 gcc_cv_math_func_casin=no
24913 rm -f core conftest.err conftest.$ac_objext \
24914 conftest$ac_exeext conftest.$ac_ext
24916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casin" >&5
24917 $as_echo "$gcc_cv_math_func_casin" >&6; }
24918 if test $gcc_cv_math_func_casin = yes; then
24920 cat >>confdefs.h <<_ACEOF
24921 #define HAVE_CASIN 1
24922 _ACEOF
24929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinf" >&5
24930 $as_echo_n "checking for casinf... " >&6; }
24931 if test "${gcc_cv_math_func_casinf+set}" = set; then :
24932 $as_echo_n "(cached) " >&6
24933 else
24934 if test x$gcc_no_link = xyes; then
24935 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24938 /* end confdefs.h. */
24940 #ifdef HAVE_COMPLEX_H
24941 #include <complex.h>
24942 #endif
24943 #ifdef HAVE_MATH_H
24944 #include <math.h>
24945 #endif
24947 int (*ptr)() = (int (*)())casinf;
24950 main ()
24952 return 0;
24955 _ACEOF
24956 if ac_fn_c_try_link "$LINENO"; then :
24957 gcc_cv_math_func_casinf=yes
24958 else
24959 gcc_cv_math_func_casinf=no
24961 rm -f core conftest.err conftest.$ac_objext \
24962 conftest$ac_exeext conftest.$ac_ext
24964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinf" >&5
24965 $as_echo "$gcc_cv_math_func_casinf" >&6; }
24966 if test $gcc_cv_math_func_casinf = yes; then
24968 cat >>confdefs.h <<_ACEOF
24969 #define HAVE_CASINF 1
24970 _ACEOF
24977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinh" >&5
24978 $as_echo_n "checking for casinh... " >&6; }
24979 if test "${gcc_cv_math_func_casinh+set}" = set; then :
24980 $as_echo_n "(cached) " >&6
24981 else
24982 if test x$gcc_no_link = xyes; then
24983 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24986 /* end confdefs.h. */
24988 #ifdef HAVE_COMPLEX_H
24989 #include <complex.h>
24990 #endif
24991 #ifdef HAVE_MATH_H
24992 #include <math.h>
24993 #endif
24995 int (*ptr)() = (int (*)())casinh;
24998 main ()
25000 return 0;
25003 _ACEOF
25004 if ac_fn_c_try_link "$LINENO"; then :
25005 gcc_cv_math_func_casinh=yes
25006 else
25007 gcc_cv_math_func_casinh=no
25009 rm -f core conftest.err conftest.$ac_objext \
25010 conftest$ac_exeext conftest.$ac_ext
25012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinh" >&5
25013 $as_echo "$gcc_cv_math_func_casinh" >&6; }
25014 if test $gcc_cv_math_func_casinh = yes; then
25016 cat >>confdefs.h <<_ACEOF
25017 #define HAVE_CASINH 1
25018 _ACEOF
25025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhf" >&5
25026 $as_echo_n "checking for casinhf... " >&6; }
25027 if test "${gcc_cv_math_func_casinhf+set}" = set; then :
25028 $as_echo_n "(cached) " >&6
25029 else
25030 if test x$gcc_no_link = xyes; then
25031 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25034 /* end confdefs.h. */
25036 #ifdef HAVE_COMPLEX_H
25037 #include <complex.h>
25038 #endif
25039 #ifdef HAVE_MATH_H
25040 #include <math.h>
25041 #endif
25043 int (*ptr)() = (int (*)())casinhf;
25046 main ()
25048 return 0;
25051 _ACEOF
25052 if ac_fn_c_try_link "$LINENO"; then :
25053 gcc_cv_math_func_casinhf=yes
25054 else
25055 gcc_cv_math_func_casinhf=no
25057 rm -f core conftest.err conftest.$ac_objext \
25058 conftest$ac_exeext conftest.$ac_ext
25060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhf" >&5
25061 $as_echo "$gcc_cv_math_func_casinhf" >&6; }
25062 if test $gcc_cv_math_func_casinhf = yes; then
25064 cat >>confdefs.h <<_ACEOF
25065 #define HAVE_CASINHF 1
25066 _ACEOF
25073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhl" >&5
25074 $as_echo_n "checking for casinhl... " >&6; }
25075 if test "${gcc_cv_math_func_casinhl+set}" = set; then :
25076 $as_echo_n "(cached) " >&6
25077 else
25078 if test x$gcc_no_link = xyes; then
25079 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25082 /* end confdefs.h. */
25084 #ifdef HAVE_COMPLEX_H
25085 #include <complex.h>
25086 #endif
25087 #ifdef HAVE_MATH_H
25088 #include <math.h>
25089 #endif
25091 int (*ptr)() = (int (*)())casinhl;
25094 main ()
25096 return 0;
25099 _ACEOF
25100 if ac_fn_c_try_link "$LINENO"; then :
25101 gcc_cv_math_func_casinhl=yes
25102 else
25103 gcc_cv_math_func_casinhl=no
25105 rm -f core conftest.err conftest.$ac_objext \
25106 conftest$ac_exeext conftest.$ac_ext
25108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhl" >&5
25109 $as_echo "$gcc_cv_math_func_casinhl" >&6; }
25110 if test $gcc_cv_math_func_casinhl = yes; then
25112 cat >>confdefs.h <<_ACEOF
25113 #define HAVE_CASINHL 1
25114 _ACEOF
25121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinl" >&5
25122 $as_echo_n "checking for casinl... " >&6; }
25123 if test "${gcc_cv_math_func_casinl+set}" = set; then :
25124 $as_echo_n "(cached) " >&6
25125 else
25126 if test x$gcc_no_link = xyes; then
25127 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25130 /* end confdefs.h. */
25132 #ifdef HAVE_COMPLEX_H
25133 #include <complex.h>
25134 #endif
25135 #ifdef HAVE_MATH_H
25136 #include <math.h>
25137 #endif
25139 int (*ptr)() = (int (*)())casinl;
25142 main ()
25144 return 0;
25147 _ACEOF
25148 if ac_fn_c_try_link "$LINENO"; then :
25149 gcc_cv_math_func_casinl=yes
25150 else
25151 gcc_cv_math_func_casinl=no
25153 rm -f core conftest.err conftest.$ac_objext \
25154 conftest$ac_exeext conftest.$ac_ext
25156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinl" >&5
25157 $as_echo "$gcc_cv_math_func_casinl" >&6; }
25158 if test $gcc_cv_math_func_casinl = yes; then
25160 cat >>confdefs.h <<_ACEOF
25161 #define HAVE_CASINL 1
25162 _ACEOF
25169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catan" >&5
25170 $as_echo_n "checking for catan... " >&6; }
25171 if test "${gcc_cv_math_func_catan+set}" = set; then :
25172 $as_echo_n "(cached) " >&6
25173 else
25174 if test x$gcc_no_link = xyes; then
25175 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25178 /* end confdefs.h. */
25180 #ifdef HAVE_COMPLEX_H
25181 #include <complex.h>
25182 #endif
25183 #ifdef HAVE_MATH_H
25184 #include <math.h>
25185 #endif
25187 int (*ptr)() = (int (*)())catan;
25190 main ()
25192 return 0;
25195 _ACEOF
25196 if ac_fn_c_try_link "$LINENO"; then :
25197 gcc_cv_math_func_catan=yes
25198 else
25199 gcc_cv_math_func_catan=no
25201 rm -f core conftest.err conftest.$ac_objext \
25202 conftest$ac_exeext conftest.$ac_ext
25204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catan" >&5
25205 $as_echo "$gcc_cv_math_func_catan" >&6; }
25206 if test $gcc_cv_math_func_catan = yes; then
25208 cat >>confdefs.h <<_ACEOF
25209 #define HAVE_CATAN 1
25210 _ACEOF
25217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanf" >&5
25218 $as_echo_n "checking for catanf... " >&6; }
25219 if test "${gcc_cv_math_func_catanf+set}" = set; then :
25220 $as_echo_n "(cached) " >&6
25221 else
25222 if test x$gcc_no_link = xyes; then
25223 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25226 /* end confdefs.h. */
25228 #ifdef HAVE_COMPLEX_H
25229 #include <complex.h>
25230 #endif
25231 #ifdef HAVE_MATH_H
25232 #include <math.h>
25233 #endif
25235 int (*ptr)() = (int (*)())catanf;
25238 main ()
25240 return 0;
25243 _ACEOF
25244 if ac_fn_c_try_link "$LINENO"; then :
25245 gcc_cv_math_func_catanf=yes
25246 else
25247 gcc_cv_math_func_catanf=no
25249 rm -f core conftest.err conftest.$ac_objext \
25250 conftest$ac_exeext conftest.$ac_ext
25252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanf" >&5
25253 $as_echo "$gcc_cv_math_func_catanf" >&6; }
25254 if test $gcc_cv_math_func_catanf = yes; then
25256 cat >>confdefs.h <<_ACEOF
25257 #define HAVE_CATANF 1
25258 _ACEOF
25265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanh" >&5
25266 $as_echo_n "checking for catanh... " >&6; }
25267 if test "${gcc_cv_math_func_catanh+set}" = set; then :
25268 $as_echo_n "(cached) " >&6
25269 else
25270 if test x$gcc_no_link = xyes; then
25271 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25274 /* end confdefs.h. */
25276 #ifdef HAVE_COMPLEX_H
25277 #include <complex.h>
25278 #endif
25279 #ifdef HAVE_MATH_H
25280 #include <math.h>
25281 #endif
25283 int (*ptr)() = (int (*)())catanh;
25286 main ()
25288 return 0;
25291 _ACEOF
25292 if ac_fn_c_try_link "$LINENO"; then :
25293 gcc_cv_math_func_catanh=yes
25294 else
25295 gcc_cv_math_func_catanh=no
25297 rm -f core conftest.err conftest.$ac_objext \
25298 conftest$ac_exeext conftest.$ac_ext
25300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanh" >&5
25301 $as_echo "$gcc_cv_math_func_catanh" >&6; }
25302 if test $gcc_cv_math_func_catanh = yes; then
25304 cat >>confdefs.h <<_ACEOF
25305 #define HAVE_CATANH 1
25306 _ACEOF
25313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhf" >&5
25314 $as_echo_n "checking for catanhf... " >&6; }
25315 if test "${gcc_cv_math_func_catanhf+set}" = set; then :
25316 $as_echo_n "(cached) " >&6
25317 else
25318 if test x$gcc_no_link = xyes; then
25319 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25322 /* end confdefs.h. */
25324 #ifdef HAVE_COMPLEX_H
25325 #include <complex.h>
25326 #endif
25327 #ifdef HAVE_MATH_H
25328 #include <math.h>
25329 #endif
25331 int (*ptr)() = (int (*)())catanhf;
25334 main ()
25336 return 0;
25339 _ACEOF
25340 if ac_fn_c_try_link "$LINENO"; then :
25341 gcc_cv_math_func_catanhf=yes
25342 else
25343 gcc_cv_math_func_catanhf=no
25345 rm -f core conftest.err conftest.$ac_objext \
25346 conftest$ac_exeext conftest.$ac_ext
25348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhf" >&5
25349 $as_echo "$gcc_cv_math_func_catanhf" >&6; }
25350 if test $gcc_cv_math_func_catanhf = yes; then
25352 cat >>confdefs.h <<_ACEOF
25353 #define HAVE_CATANHF 1
25354 _ACEOF
25361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhl" >&5
25362 $as_echo_n "checking for catanhl... " >&6; }
25363 if test "${gcc_cv_math_func_catanhl+set}" = set; then :
25364 $as_echo_n "(cached) " >&6
25365 else
25366 if test x$gcc_no_link = xyes; then
25367 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25370 /* end confdefs.h. */
25372 #ifdef HAVE_COMPLEX_H
25373 #include <complex.h>
25374 #endif
25375 #ifdef HAVE_MATH_H
25376 #include <math.h>
25377 #endif
25379 int (*ptr)() = (int (*)())catanhl;
25382 main ()
25384 return 0;
25387 _ACEOF
25388 if ac_fn_c_try_link "$LINENO"; then :
25389 gcc_cv_math_func_catanhl=yes
25390 else
25391 gcc_cv_math_func_catanhl=no
25393 rm -f core conftest.err conftest.$ac_objext \
25394 conftest$ac_exeext conftest.$ac_ext
25396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhl" >&5
25397 $as_echo "$gcc_cv_math_func_catanhl" >&6; }
25398 if test $gcc_cv_math_func_catanhl = yes; then
25400 cat >>confdefs.h <<_ACEOF
25401 #define HAVE_CATANHL 1
25402 _ACEOF
25409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanl" >&5
25410 $as_echo_n "checking for catanl... " >&6; }
25411 if test "${gcc_cv_math_func_catanl+set}" = set; then :
25412 $as_echo_n "(cached) " >&6
25413 else
25414 if test x$gcc_no_link = xyes; then
25415 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25418 /* end confdefs.h. */
25420 #ifdef HAVE_COMPLEX_H
25421 #include <complex.h>
25422 #endif
25423 #ifdef HAVE_MATH_H
25424 #include <math.h>
25425 #endif
25427 int (*ptr)() = (int (*)())catanl;
25430 main ()
25432 return 0;
25435 _ACEOF
25436 if ac_fn_c_try_link "$LINENO"; then :
25437 gcc_cv_math_func_catanl=yes
25438 else
25439 gcc_cv_math_func_catanl=no
25441 rm -f core conftest.err conftest.$ac_objext \
25442 conftest$ac_exeext conftest.$ac_ext
25444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanl" >&5
25445 $as_echo "$gcc_cv_math_func_catanl" >&6; }
25446 if test $gcc_cv_math_func_catanl = yes; then
25448 cat >>confdefs.h <<_ACEOF
25449 #define HAVE_CATANL 1
25450 _ACEOF
25455 # On AIX, clog is present in libm as __clog
25456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clog in -lm" >&5
25457 $as_echo_n "checking for __clog in -lm... " >&6; }
25458 if test "${ac_cv_lib_m___clog+set}" = set; then :
25459 $as_echo_n "(cached) " >&6
25460 else
25461 ac_check_lib_save_LIBS=$LIBS
25462 LIBS="-lm $LIBS"
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 /* Override any GCC internal prototype to avoid an error.
25470 Use char because int might match the return type of a GCC
25471 builtin and then its argument prototype would still apply. */
25472 #ifdef __cplusplus
25473 extern "C"
25474 #endif
25475 char __clog ();
25477 main ()
25479 return __clog ();
25481 return 0;
25483 _ACEOF
25484 if ac_fn_c_try_link "$LINENO"; then :
25485 ac_cv_lib_m___clog=yes
25486 else
25487 ac_cv_lib_m___clog=no
25489 rm -f core conftest.err conftest.$ac_objext \
25490 conftest$ac_exeext conftest.$ac_ext
25491 LIBS=$ac_check_lib_save_LIBS
25493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m___clog" >&5
25494 $as_echo "$ac_cv_lib_m___clog" >&6; }
25495 if test "x$ac_cv_lib_m___clog" = x""yes; then :
25497 $as_echo "#define HAVE_CLOG 1" >>confdefs.h
25502 # Check whether the system has a working stat()
25504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target stat is reliable" >&5
25505 $as_echo_n "checking whether the target stat is reliable... " >&6; }
25506 if test "${libgfor_cv_have_working_stat+set}" = set; then :
25507 $as_echo_n "(cached) " >&6
25508 else
25510 if test "$cross_compiling" = yes; then :
25512 case "${target}" in
25513 *mingw*) libgfor_cv_have_working_stat=no ;;
25514 *) libgfor_cv_have_working_stat=yes;;
25515 esac
25516 else
25517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25518 /* end confdefs.h. */
25520 #include <stdio.h>
25521 #include <sys/types.h>
25522 #include <sys/stat.h>
25523 #include <unistd.h>
25525 int main ()
25527 FILE *f, *g;
25528 struct stat st1, st2;
25530 f = fopen ("foo", "w");
25531 g = fopen ("bar", "w");
25532 if (stat ("foo", &st1) != 0 || stat ("bar", &st2))
25533 return 1;
25534 if (st1.st_dev == st2.st_dev && st1.st_ino == st2.st_ino)
25535 return 1;
25536 fclose(f);
25537 fclose(g);
25538 return 0;
25540 _ACEOF
25541 if ac_fn_c_try_run "$LINENO"; then :
25542 libgfor_cv_have_working_stat=yes
25543 else
25544 libgfor_cv_have_working_stat=no
25546 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25547 conftest.$ac_objext conftest.beam conftest.$ac_ext
25551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_working_stat" >&5
25552 $as_echo "$libgfor_cv_have_working_stat" >&6; }
25553 if test x"$libgfor_cv_have_working_stat" = xyes; then
25555 $as_echo "#define HAVE_WORKING_STAT 1" >>confdefs.h
25559 # Check whether __mingw_snprintf() is present
25561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __mingw_snprintf is present" >&5
25562 $as_echo_n "checking whether __mingw_snprintf is present... " >&6; }
25563 if test "${libgfor_cv_have_mingw_snprintf+set}" = set; then :
25564 $as_echo_n "(cached) " >&6
25565 else
25567 if test x$gcc_no_link = xyes; then
25568 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25571 /* end confdefs.h. */
25573 #include <stdio.h>
25574 extern int __mingw_snprintf (char *, size_t, const char *, ...);
25577 main ()
25580 __mingw_snprintf (NULL, 0, "%d\n", 1);
25583 return 0;
25585 _ACEOF
25586 if ac_fn_c_try_link "$LINENO"; then :
25587 eval "libgfor_cv_have_mingw_snprintf=yes"
25588 else
25589 eval "libgfor_cv_have_mingw_snprintf=no"
25591 rm -f core conftest.err conftest.$ac_objext \
25592 conftest$ac_exeext conftest.$ac_ext
25595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_mingw_snprintf" >&5
25596 $as_echo "$libgfor_cv_have_mingw_snprintf" >&6; }
25597 if test x"$libgfor_cv_have_mingw_snprintf" = xyes; then
25599 $as_echo "#define HAVE_MINGW_SNPRINTF 1" >>confdefs.h
25604 # Check whether libquadmath should be used
25605 # Check whether --enable-libquadmath-support was given.
25606 if test "${enable_libquadmath_support+set}" = set; then :
25607 enableval=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT=$enableval
25608 else
25609 ENABLE_LIBQUADMATH_SUPPORT=yes
25612 enable_libquadmath_support=
25613 if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
25614 enable_libquadmath_support=no
25617 # Check whether we have a __float128 type, depends on enable_libquadmath_support
25619 LIBQUADSPEC=
25621 if test "x$enable_libquadmath_support" != xno; then
25623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have a usable __float128 type" >&5
25624 $as_echo_n "checking whether we have a usable __float128 type... " >&6; }
25625 if test "${libgfor_cv_have_float128+set}" = set; then :
25626 $as_echo_n "(cached) " >&6
25627 else
25629 if test x$gcc_no_link = xyes; then
25630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25631 /* end confdefs.h. */
25633 typedef _Complex float __attribute__((mode(TC))) __complex128;
25635 __float128 foo (__float128 x)
25638 __complex128 z1, z2;
25640 z1 = x;
25641 z2 = x / 7.Q;
25642 z2 /= z1;
25644 return (__float128) z2;
25647 __float128 bar (__float128 x)
25649 return x * __builtin_huge_valq ();
25653 main ()
25656 foo (1.2Q);
25657 bar (1.2Q);
25660 return 0;
25662 _ACEOF
25663 if ac_fn_c_try_compile "$LINENO"; then :
25665 libgfor_cv_have_float128=yes
25667 else
25669 libgfor_cv_have_float128=no
25672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25673 else
25674 if test x$gcc_no_link = xyes; then
25675 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25678 /* end confdefs.h. */
25680 typedef _Complex float __attribute__((mode(TC))) __complex128;
25682 __float128 foo (__float128 x)
25685 __complex128 z1, z2;
25687 z1 = x;
25688 z2 = x / 7.Q;
25689 z2 /= z1;
25691 return (__float128) z2;
25694 __float128 bar (__float128 x)
25696 return x * __builtin_huge_valq ();
25700 main ()
25703 foo (1.2Q);
25704 bar (1.2Q);
25707 return 0;
25709 _ACEOF
25710 if ac_fn_c_try_link "$LINENO"; then :
25712 libgfor_cv_have_float128=yes
25714 else
25716 libgfor_cv_have_float128=no
25719 rm -f core conftest.err conftest.$ac_objext \
25720 conftest$ac_exeext conftest.$ac_ext
25723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_float128" >&5
25724 $as_echo "$libgfor_cv_have_float128" >&6; }
25726 if test "x$libgfor_cv_have_float128" = xyes; then
25728 $as_echo "#define HAVE_FLOAT128 1" >>confdefs.h
25731 ac_xsave_c_werror_flag=$ac_c_werror_flag
25732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether --as-needed works" >&5
25733 $as_echo_n "checking whether --as-needed works... " >&6; }
25734 if test "${libgfor_cv_have_as_needed+set}" = set; then :
25735 $as_echo_n "(cached) " >&6
25736 else
25738 save_LDFLAGS="$LDFLAGS"
25739 LDFLAGS="$LDFLAGS -Wl,--as-needed -lm -Wl,--no-as-needed"
25740 libgfor_cv_have_as_needed=no
25742 ac_c_werror_flag=yes
25743 if test x$gcc_no_link = xyes; then
25744 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25747 /* end confdefs.h. */
25750 main ()
25754 return 0;
25756 _ACEOF
25757 if ac_fn_c_try_link "$LINENO"; then :
25758 libgfor_cv_have_as_needed=yes
25759 else
25760 libgfor_cv_have_as_needed=no
25762 rm -f core conftest.err conftest.$ac_objext \
25763 conftest$ac_exeext conftest.$ac_ext
25764 LDFLAGS="$save_LDFLAGS"
25765 ac_c_werror_flag=$ac_xsave_c_werror_flag
25768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_as_needed" >&5
25769 $as_echo "$libgfor_cv_have_as_needed" >&6; }
25771 if test "x$libgfor_cv_have_as_needed" = xyes; then
25772 LIBQUADSPEC="%{static-libgfortran:--as-needed} -lquadmath %{static-libgfortran:--no-as-needed}"
25773 else
25774 LIBQUADSPEC="-lquadmath"
25776 if test -f ../libquadmath/libquadmath.la; then
25777 LIBQUADLIB=../libquadmath/libquadmath.la
25778 LIBQUADLIB_DEP=../libquadmath/libquadmath.la
25779 LIBQUADINCLUDE='-I$(srcdir)/../libquadmath'
25780 else
25781 LIBQUADLIB="-lquadmath"
25782 LIBQUADLIB_DEP=
25783 LIBQUADINCLUDE=
25786 else
25787 # for --disable-quadmath
25788 LIBQUADLIB=
25789 LIBQUADLIB_DEP=
25790 LIBQUADINCLUDE=
25798 if test "x$libgfor_cv_have_float128" = xyes; then
25799 LIBGFOR_BUILD_QUAD_TRUE=
25800 LIBGFOR_BUILD_QUAD_FALSE='#'
25801 else
25802 LIBGFOR_BUILD_QUAD_TRUE='#'
25803 LIBGFOR_BUILD_QUAD_FALSE=
25808 # Check for GNU libc feenableexcept
25809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for feenableexcept in -lm" >&5
25810 $as_echo_n "checking for feenableexcept in -lm... " >&6; }
25811 if test "${ac_cv_lib_m_feenableexcept+set}" = set; then :
25812 $as_echo_n "(cached) " >&6
25813 else
25814 ac_check_lib_save_LIBS=$LIBS
25815 LIBS="-lm $LIBS"
25816 if test x$gcc_no_link = xyes; then
25817 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25820 /* end confdefs.h. */
25822 /* Override any GCC internal prototype to avoid an error.
25823 Use char because int might match the return type of a GCC
25824 builtin and then its argument prototype would still apply. */
25825 #ifdef __cplusplus
25826 extern "C"
25827 #endif
25828 char feenableexcept ();
25830 main ()
25832 return feenableexcept ();
25834 return 0;
25836 _ACEOF
25837 if ac_fn_c_try_link "$LINENO"; then :
25838 ac_cv_lib_m_feenableexcept=yes
25839 else
25840 ac_cv_lib_m_feenableexcept=no
25842 rm -f core conftest.err conftest.$ac_objext \
25843 conftest$ac_exeext conftest.$ac_ext
25844 LIBS=$ac_check_lib_save_LIBS
25846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_feenableexcept" >&5
25847 $as_echo "$ac_cv_lib_m_feenableexcept" >&6; }
25848 if test "x$ac_cv_lib_m_feenableexcept" = x""yes; then :
25849 have_feenableexcept=yes
25850 $as_echo "#define HAVE_FEENABLEEXCEPT 1" >>confdefs.h
25855 # At least for glibc, clock_gettime is in librt. But don't
25856 # pull that in if it still doesn't give us the function we want. This
25857 # test is copied from libgomp, and modified to not link in -lrt as
25858 # libgfortran calls clock_gettime via a weak reference if it's found
25859 # in librt.
25860 if test $ac_cv_func_clock_gettime = no; then
25861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
25862 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
25863 if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then :
25864 $as_echo_n "(cached) " >&6
25865 else
25866 ac_check_lib_save_LIBS=$LIBS
25867 LIBS="-lrt $LIBS"
25868 if test x$gcc_no_link = xyes; then
25869 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25872 /* end confdefs.h. */
25874 /* Override any GCC internal prototype to avoid an error.
25875 Use char because int might match the return type of a GCC
25876 builtin and then its argument prototype would still apply. */
25877 #ifdef __cplusplus
25878 extern "C"
25879 #endif
25880 char clock_gettime ();
25882 main ()
25884 return clock_gettime ();
25886 return 0;
25888 _ACEOF
25889 if ac_fn_c_try_link "$LINENO"; then :
25890 ac_cv_lib_rt_clock_gettime=yes
25891 else
25892 ac_cv_lib_rt_clock_gettime=no
25894 rm -f core conftest.err conftest.$ac_objext \
25895 conftest$ac_exeext conftest.$ac_ext
25896 LIBS=$ac_check_lib_save_LIBS
25898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
25899 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
25900 if test "x$ac_cv_lib_rt_clock_gettime" = x""yes; then :
25902 $as_echo "#define HAVE_CLOCK_GETTIME_LIBRT 1" >>confdefs.h
25908 # Check for SysV fpsetmask
25910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fpsetmask is present" >&5
25911 $as_echo_n "checking whether fpsetmask is present... " >&6; }
25912 if test "${libgfor_cv_have_fpsetmask+set}" = set; then :
25913 $as_echo_n "(cached) " >&6
25914 else
25916 if test x$gcc_no_link = xyes; then
25917 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25920 /* end confdefs.h. */
25922 #if HAVE_FLOATINGPOINT_H
25923 # include <floatingpoint.h>
25924 #endif /* HAVE_FLOATINGPOINT_H */
25925 #if HAVE_IEEEFP_H
25926 # include <ieeefp.h>
25927 #endif /* HAVE_IEEEFP_H */
25929 main ()
25931 fpsetmask(0);
25933 return 0;
25935 _ACEOF
25936 if ac_fn_c_try_link "$LINENO"; then :
25937 eval "libgfor_cv_have_fpsetmask=yes"
25938 else
25939 eval "libgfor_cv_have_fpsetmask=no"
25941 rm -f core conftest.err conftest.$ac_objext \
25942 conftest$ac_exeext conftest.$ac_ext
25945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_fpsetmask" >&5
25946 $as_echo "$libgfor_cv_have_fpsetmask" >&6; }
25947 if test x"$libgfor_cv_have_fpsetmask" = xyes; then
25948 have_fpsetmask=yes
25950 $as_echo "#define HAVE_FPSETMASK 1" >>confdefs.h
25955 # Check for AIX fp_trap and fp_enable
25956 ac_fn_c_check_func "$LINENO" "fp_trap" "ac_cv_func_fp_trap"
25957 if test "x$ac_cv_func_fp_trap" = x""yes; then :
25958 have_fp_trap=yes
25959 $as_echo "#define HAVE_FP_TRAP 1" >>confdefs.h
25963 ac_fn_c_check_func "$LINENO" "fp_enable" "ac_cv_func_fp_enable"
25964 if test "x$ac_cv_func_fp_enable" = x""yes; then :
25965 have_fp_enable=yes
25966 $as_echo "#define HAVE_FP_ENABLE 1" >>confdefs.h
25971 # Runs configure.host to set up necessary host-dependent shell variables.
25972 # We then display a message about it, and propagate them through the
25973 # build chain.
25974 . ${srcdir}/configure.host
25975 { $as_echo "$as_me:${as_lineno-$LINENO}: FPU dependent file will be ${fpu_host}.h" >&5
25976 $as_echo "$as_me: FPU dependent file will be ${fpu_host}.h" >&6;}
25977 FPU_HOST_HEADER=config/${fpu_host}.h
25980 # Some targets require additional compiler options for IEEE compatibility.
25981 IEEE_FLAGS="${ieee_flags}"
25985 # Check for POSIX getpwuid_r
25987 # There are two versions of getpwuid_r, the POSIX one with 5
25988 # arguments, and another one with 4 arguments used by at least HP-UX
25989 # 10.2.
25990 if test "$ac_cv_func_getpwuid_r" = "yes"; then
25991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking POSIX version of getpwuid_r with 5 arguments" >&5
25992 $as_echo_n "checking POSIX version of getpwuid_r with 5 arguments... " >&6; }
25993 if test "${libgfor_cv_posix_getpwuid_r+set}" = set; then :
25994 $as_echo_n "(cached) " >&6
25995 else
25997 if test x$gcc_no_link = xyes; then
25998 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26001 /* end confdefs.h. */
26003 #include <stdio.h>
26004 #include <sys/types.h>
26005 #include <pwd.h>
26007 main ()
26010 getpwuid_r(0, NULL, NULL, 0, NULL);
26013 return 0;
26015 _ACEOF
26016 if ac_fn_c_try_link "$LINENO"; then :
26017 libgfor_cv_posix_getpwuid_r="yes"
26018 else
26019 libgfor_cv_posix_getpwuid_r="no"
26021 rm -f core conftest.err conftest.$ac_objext \
26022 conftest$ac_exeext conftest.$ac_ext
26024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_posix_getpwuid_r" >&5
26025 $as_echo "$libgfor_cv_posix_getpwuid_r" >&6; }
26027 if test "$libgfor_cv_posix_getpwuid_r" = "yes"; then
26029 $as_echo "#define HAVE_POSIX_GETPWUID_R 1" >>confdefs.h
26034 # Check out attribute support.
26036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
26037 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
26038 if test "${libgfor_cv_have_attribute_visibility+set}" = set; then :
26039 $as_echo_n "(cached) " >&6
26040 else
26042 save_CFLAGS="$CFLAGS"
26043 CFLAGS="$CFLAGS -Werror"
26044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26045 /* end confdefs.h. */
26046 void __attribute__((visibility("hidden"))) foo(void) { }
26048 main ()
26052 return 0;
26054 _ACEOF
26055 if ac_fn_c_try_compile "$LINENO"; then :
26056 libgfor_cv_have_attribute_visibility=yes
26057 else
26058 libgfor_cv_have_attribute_visibility=no
26060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26061 CFLAGS="$save_CFLAGS"
26063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_visibility" >&5
26064 $as_echo "$libgfor_cv_have_attribute_visibility" >&6; }
26065 if test $libgfor_cv_have_attribute_visibility = yes; then
26067 $as_echo "#define HAVE_ATTRIBUTE_VISIBILITY 1" >>confdefs.h
26071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports dllexport" >&5
26072 $as_echo_n "checking whether the target supports dllexport... " >&6; }
26073 if test "${libgfor_cv_have_attribute_dllexport+set}" = set; then :
26074 $as_echo_n "(cached) " >&6
26075 else
26077 save_CFLAGS="$CFLAGS"
26078 CFLAGS="$CFLAGS -Werror"
26079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26080 /* end confdefs.h. */
26081 void __attribute__((dllexport)) foo(void) { }
26083 main ()
26087 return 0;
26089 _ACEOF
26090 if ac_fn_c_try_compile "$LINENO"; then :
26091 libgfor_cv_have_attribute_dllexport=yes
26092 else
26093 libgfor_cv_have_attribute_dllexport=no
26095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26096 CFLAGS="$save_CFLAGS"
26098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_dllexport" >&5
26099 $as_echo "$libgfor_cv_have_attribute_dllexport" >&6; }
26100 if test $libgfor_cv_have_attribute_dllexport = yes; then
26102 $as_echo "#define HAVE_ATTRIBUTE_DLLEXPORT 1" >>confdefs.h
26106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports symbol aliases" >&5
26107 $as_echo_n "checking whether the target supports symbol aliases... " >&6; }
26108 if test "${libgfor_cv_have_attribute_alias+set}" = set; then :
26109 $as_echo_n "(cached) " >&6
26110 else
26112 if test x$gcc_no_link = xyes; then
26113 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26116 /* end confdefs.h. */
26118 void foo(void) { }
26119 extern void bar(void) __attribute__((alias("foo")));
26121 main ()
26123 bar();
26125 return 0;
26127 _ACEOF
26128 if ac_fn_c_try_link "$LINENO"; then :
26129 libgfor_cv_have_attribute_alias=yes
26130 else
26131 libgfor_cv_have_attribute_alias=no
26133 rm -f core conftest.err conftest.$ac_objext \
26134 conftest$ac_exeext conftest.$ac_ext
26136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_alias" >&5
26137 $as_echo "$libgfor_cv_have_attribute_alias" >&6; }
26138 if test $libgfor_cv_have_attribute_alias = yes; then
26140 $as_echo "#define HAVE_ATTRIBUTE_ALIAS 1" >>confdefs.h
26144 # Check out sync builtins support.
26146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports __sync_fetch_and_add" >&5
26147 $as_echo_n "checking whether the target supports __sync_fetch_and_add... " >&6; }
26148 if test "${libgfor_cv_have_sync_fetch_and_add+set}" = set; then :
26149 $as_echo_n "(cached) " >&6
26150 else
26152 if test x$gcc_no_link = xyes; then
26153 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26156 /* end confdefs.h. */
26157 int foovar = 0;
26159 main ()
26162 if (foovar <= 0) return __sync_fetch_and_add (&foovar, 1);
26163 if (foovar > 10) return __sync_add_and_fetch (&foovar, -1);
26165 return 0;
26167 _ACEOF
26168 if ac_fn_c_try_link "$LINENO"; then :
26169 libgfor_cv_have_sync_fetch_and_add=yes
26170 else
26171 libgfor_cv_have_sync_fetch_and_add=no
26173 rm -f core conftest.err conftest.$ac_objext \
26174 conftest$ac_exeext conftest.$ac_ext
26176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_sync_fetch_and_add" >&5
26177 $as_echo "$libgfor_cv_have_sync_fetch_and_add" >&6; }
26178 if test $libgfor_cv_have_sync_fetch_and_add = yes; then
26180 $as_echo "#define HAVE_SYNC_FETCH_AND_ADD 1" >>confdefs.h
26184 # Check out #pragma weak.
26186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pragma weak works" >&5
26187 $as_echo_n "checking whether pragma weak works... " >&6; }
26188 if test "${libgfor_cv_have_pragma_weak+set}" = set; then :
26189 $as_echo_n "(cached) " >&6
26190 else
26192 gfor_save_CFLAGS="$CFLAGS"
26193 CFLAGS="$CFLAGS -Wunknown-pragmas"
26194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26195 /* end confdefs.h. */
26197 void foo (void);
26198 #pragma weak foo
26201 main ()
26203 if (foo) foo ();
26205 return 0;
26207 _ACEOF
26208 if ac_fn_c_try_compile "$LINENO"; then :
26209 libgfor_cv_have_pragma_weak=yes
26210 else
26211 libgfor_cv_have_pragma_weak=no
26213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_pragma_weak" >&5
26216 $as_echo "$libgfor_cv_have_pragma_weak" >&6; }
26217 if test $libgfor_cv_have_pragma_weak = yes; then
26219 $as_echo "#define SUPPORTS_WEAK 1" >>confdefs.h
26222 case "$host" in
26223 *-*-darwin* | *-*-hpux* | *-*-cygwin* | *-*-mingw* )
26225 $as_echo "#define GTHREAD_USE_WEAK 0" >>confdefs.h
26228 esac
26230 # Various other checks on target
26232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target can unlink an open file" >&5
26233 $as_echo_n "checking whether the target can unlink an open file... " >&6; }
26234 if test "${libgfor_cv_have_unlink_open_file+set}" = set; then :
26235 $as_echo_n "(cached) " >&6
26236 else
26238 if test "$cross_compiling" = yes; then :
26240 case "${target}" in
26241 *mingw*) libgfor_cv_have_unlink_open_file=no ;;
26242 *) libgfor_cv_have_unlink_open_file=yes;;
26243 esac
26244 else
26245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26246 /* end confdefs.h. */
26248 #include <errno.h>
26249 #include <fcntl.h>
26250 #include <unistd.h>
26251 #include <sys/stat.h>
26253 int main ()
26255 int fd;
26257 fd = open ("testfile", O_RDWR | O_CREAT, S_IWUSR | S_IRUSR);
26258 if (fd <= 0)
26259 return 0;
26260 if (unlink ("testfile") == -1)
26261 return 1;
26262 write (fd, "This is a test\n", 15);
26263 close (fd);
26265 if (open ("testfile", O_RDONLY) == -1 && errno == ENOENT)
26266 return 0;
26267 else
26268 return 1;
26270 _ACEOF
26271 if ac_fn_c_try_run "$LINENO"; then :
26272 libgfor_cv_have_unlink_open_file=yes
26273 else
26274 libgfor_cv_have_unlink_open_file=no
26276 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26277 conftest.$ac_objext conftest.beam conftest.$ac_ext
26281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_unlink_open_file" >&5
26282 $as_echo "$libgfor_cv_have_unlink_open_file" >&6; }
26283 if test x"$libgfor_cv_have_unlink_open_file" = xyes; then
26285 $as_echo "#define HAVE_UNLINK_OPEN_FILE 1" >>confdefs.h
26289 # Check whether line terminator is LF or CRLF
26291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target has CRLF as line terminator" >&5
26292 $as_echo_n "checking whether the target has CRLF as line terminator... " >&6; }
26293 if test "${libgfor_cv_have_crlf+set}" = set; then :
26294 $as_echo_n "(cached) " >&6
26295 else
26297 if test "$cross_compiling" = yes; then :
26299 case "${target}" in
26300 *mingw*) libgfor_cv_have_crlf=yes ;;
26301 *) libgfor_cv_have_crlf=no;;
26302 esac
26303 else
26304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26305 /* end confdefs.h. */
26307 /* This test program should exit with status 0 if system uses a CRLF as
26308 line terminator, and status 1 otherwise.
26309 Since it is used to check for mingw systems, and should return 0 in any
26310 other case, in case of a failure we will not use CRLF. */
26311 #include <sys/stat.h>
26312 #include <stdlib.h>
26313 #include <fcntl.h>
26314 #include <stdio.h>
26316 int main ()
26318 #ifndef O_BINARY
26319 exit(1);
26320 #else
26321 int fd, bytes;
26322 char buff[5];
26324 fd = open ("foo", O_WRONLY | O_CREAT | O_TRUNC, S_IRWXU);
26325 if (fd < 0)
26326 exit(1);
26327 if (write (fd, "\n", 1) < 0)
26328 perror ("write");
26330 close (fd);
26332 if ((fd = open ("foo", O_RDONLY | O_BINARY, S_IRWXU)) < 0)
26333 exit(1);
26334 bytes = read (fd, buff, 5);
26335 if (bytes == 2 && buff[0] == '\r' && buff[1] == '\n')
26336 exit(0);
26337 else
26338 exit(1);
26339 #endif
26341 _ACEOF
26342 if ac_fn_c_try_run "$LINENO"; then :
26343 libgfor_cv_have_crlf=yes
26344 else
26345 libgfor_cv_have_crlf=no
26347 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26348 conftest.$ac_objext conftest.beam conftest.$ac_ext
26352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_crlf" >&5
26353 $as_echo "$libgfor_cv_have_crlf" >&6; }
26354 if test x"$libgfor_cv_have_crlf" = xyes; then
26356 $as_echo "#define HAVE_CRLF 1" >>confdefs.h
26360 # Check whether we have _Unwind_GetIPInfo for backtrace
26363 # Check whether --with-system-libunwind was given.
26364 if test "${with_system_libunwind+set}" = set; then :
26365 withval=$with_system_libunwind;
26368 # If system-libunwind was not specifically set, pick a default setting.
26369 if test x$with_system_libunwind = x; then
26370 case ${target} in
26371 ia64-*-hpux*) with_system_libunwind=yes ;;
26372 *) with_system_libunwind=no ;;
26373 esac
26375 # Based on system-libunwind and target, do we have ipinfo?
26376 if test x$with_system_libunwind = xyes; then
26377 case ${target} in
26378 ia64-*-*) have_unwind_getipinfo=no ;;
26379 *) have_unwind_getipinfo=yes ;;
26380 esac
26381 else
26382 # Darwin before version 9 does not have _Unwind_GetIPInfo.
26384 case ${target} in
26385 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
26386 *) have_unwind_getipinfo=yes ;;
26387 esac
26391 if test x$have_unwind_getipinfo = xyes; then
26393 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
26398 cat >confcache <<\_ACEOF
26399 # This file is a shell script that caches the results of configure
26400 # tests run on this system so they can be shared between configure
26401 # scripts and configure runs, see configure's option --config-cache.
26402 # It is not useful on other systems. If it contains results you don't
26403 # want to keep, you may remove or edit it.
26405 # config.status only pays attention to the cache file if you give it
26406 # the --recheck option to rerun configure.
26408 # `ac_cv_env_foo' variables (set or unset) will be overridden when
26409 # loading this file, other *unset* `ac_cv_foo' will be assigned the
26410 # following values.
26412 _ACEOF
26414 # The following way of writing the cache mishandles newlines in values,
26415 # but we know of no workaround that is simple, portable, and efficient.
26416 # So, we kill variables containing newlines.
26417 # Ultrix sh set writes to stderr and can't be redirected directly,
26418 # and sets the high bit in the cache file unless we assign to the vars.
26420 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
26421 eval ac_val=\$$ac_var
26422 case $ac_val in #(
26423 *${as_nl}*)
26424 case $ac_var in #(
26425 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
26426 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
26427 esac
26428 case $ac_var in #(
26429 _ | IFS | as_nl) ;; #(
26430 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
26431 *) { eval $ac_var=; unset $ac_var;} ;;
26432 esac ;;
26433 esac
26434 done
26436 (set) 2>&1 |
26437 case $as_nl`(ac_space=' '; set) 2>&1` in #(
26438 *${as_nl}ac_space=\ *)
26439 # `set' does not quote correctly, so add quotes: double-quote
26440 # substitution turns \\\\ into \\, and sed turns \\ into \.
26441 sed -n \
26442 "s/'/'\\\\''/g;
26443 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26444 ;; #(
26446 # `set' quotes correctly as required by POSIX, so do not add quotes.
26447 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
26449 esac |
26450 sort
26452 sed '
26453 /^ac_cv_env_/b end
26454 t clear
26455 :clear
26456 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26457 t end
26458 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26459 :end' >>confcache
26460 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
26461 if test -w "$cache_file"; then
26462 test "x$cache_file" != "x/dev/null" &&
26463 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
26464 $as_echo "$as_me: updating cache $cache_file" >&6;}
26465 cat confcache >$cache_file
26466 else
26467 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
26468 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
26471 rm -f confcache
26473 if test ${multilib} = yes; then
26474 multilib_arg="--enable-multilib"
26475 else
26476 multilib_arg=
26479 # Write our Makefile and spec file.
26480 ac_config_files="$ac_config_files Makefile libgfortran.spec"
26482 cat >confcache <<\_ACEOF
26483 # This file is a shell script that caches the results of configure
26484 # tests run on this system so they can be shared between configure
26485 # scripts and configure runs, see configure's option --config-cache.
26486 # It is not useful on other systems. If it contains results you don't
26487 # want to keep, you may remove or edit it.
26489 # config.status only pays attention to the cache file if you give it
26490 # the --recheck option to rerun configure.
26492 # `ac_cv_env_foo' variables (set or unset) will be overridden when
26493 # loading this file, other *unset* `ac_cv_foo' will be assigned the
26494 # following values.
26496 _ACEOF
26498 # The following way of writing the cache mishandles newlines in values,
26499 # but we know of no workaround that is simple, portable, and efficient.
26500 # So, we kill variables containing newlines.
26501 # Ultrix sh set writes to stderr and can't be redirected directly,
26502 # and sets the high bit in the cache file unless we assign to the vars.
26504 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
26505 eval ac_val=\$$ac_var
26506 case $ac_val in #(
26507 *${as_nl}*)
26508 case $ac_var in #(
26509 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
26510 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
26511 esac
26512 case $ac_var in #(
26513 _ | IFS | as_nl) ;; #(
26514 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
26515 *) { eval $ac_var=; unset $ac_var;} ;;
26516 esac ;;
26517 esac
26518 done
26520 (set) 2>&1 |
26521 case $as_nl`(ac_space=' '; set) 2>&1` in #(
26522 *${as_nl}ac_space=\ *)
26523 # `set' does not quote correctly, so add quotes: double-quote
26524 # substitution turns \\\\ into \\, and sed turns \\ into \.
26525 sed -n \
26526 "s/'/'\\\\''/g;
26527 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26528 ;; #(
26530 # `set' quotes correctly as required by POSIX, so do not add quotes.
26531 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
26533 esac |
26534 sort
26536 sed '
26537 /^ac_cv_env_/b end
26538 t clear
26539 :clear
26540 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26541 t end
26542 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26543 :end' >>confcache
26544 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
26545 if test -w "$cache_file"; then
26546 test "x$cache_file" != "x/dev/null" &&
26547 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
26548 $as_echo "$as_me: updating cache $cache_file" >&6;}
26549 cat confcache >$cache_file
26550 else
26551 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
26552 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
26555 rm -f confcache
26557 test "x$prefix" = xNONE && prefix=$ac_default_prefix
26558 # Let make expand exec_prefix.
26559 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
26561 DEFS=-DHAVE_CONFIG_H
26563 ac_libobjs=
26564 ac_ltlibobjs=
26565 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
26566 # 1. Remove the extension, and $U if already installed.
26567 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
26568 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
26569 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
26570 # will be set to the directory where LIBOBJS objects are built.
26571 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
26572 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
26573 done
26574 LIBOBJS=$ac_libobjs
26576 LTLIBOBJS=$ac_ltlibobjs
26579 if test -z "${onestep_TRUE}" && test -z "${onestep_FALSE}"; then
26580 as_fn_error "conditional \"onestep\" was never defined.
26581 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26583 if test -n "$EXEEXT"; then
26584 am__EXEEXT_TRUE=
26585 am__EXEEXT_FALSE='#'
26586 else
26587 am__EXEEXT_TRUE='#'
26588 am__EXEEXT_FALSE=
26591 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
26592 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
26593 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26595 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
26596 as_fn_error "conditional \"AMDEP\" was never defined.
26597 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26599 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
26600 as_fn_error "conditional \"am__fastdepCC\" was never defined.
26601 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26603 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
26604 as_fn_error "conditional \"am__fastdepCC\" was never defined.
26605 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26607 if test -z "${LIBGFOR_USE_SYMVER_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_FALSE}"; then
26608 as_fn_error "conditional \"LIBGFOR_USE_SYMVER\" was never defined.
26609 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26611 if test -z "${LIBGFOR_USE_SYMVER_GNU_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_GNU_FALSE}"; then
26612 as_fn_error "conditional \"LIBGFOR_USE_SYMVER_GNU\" was never defined.
26613 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26615 if test -z "${LIBGFOR_USE_SYMVER_SUN_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_SUN_FALSE}"; then
26616 as_fn_error "conditional \"LIBGFOR_USE_SYMVER_SUN\" was never defined.
26617 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26619 if test -z "${LIBGFOR_BUILD_QUAD_TRUE}" && test -z "${LIBGFOR_BUILD_QUAD_FALSE}"; then
26620 as_fn_error "conditional \"LIBGFOR_BUILD_QUAD\" was never defined.
26621 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26624 : ${CONFIG_STATUS=./config.status}
26625 ac_write_fail=0
26626 ac_clean_files_save=$ac_clean_files
26627 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
26628 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
26629 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
26630 as_write_fail=0
26631 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
26632 #! $SHELL
26633 # Generated by $as_me.
26634 # Run this file to recreate the current configuration.
26635 # Compiler output produced by configure, useful for debugging
26636 # configure, is in config.log if it exists.
26638 debug=false
26639 ac_cs_recheck=false
26640 ac_cs_silent=false
26642 SHELL=\${CONFIG_SHELL-$SHELL}
26643 export SHELL
26644 _ASEOF
26645 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
26646 ## -------------------- ##
26647 ## M4sh Initialization. ##
26648 ## -------------------- ##
26650 # Be more Bourne compatible
26651 DUALCASE=1; export DUALCASE # for MKS sh
26652 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
26653 emulate sh
26654 NULLCMD=:
26655 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26656 # is contrary to our usage. Disable this feature.
26657 alias -g '${1+"$@"}'='"$@"'
26658 setopt NO_GLOB_SUBST
26659 else
26660 case `(set -o) 2>/dev/null` in #(
26661 *posix*) :
26662 set -o posix ;; #(
26663 *) :
26665 esac
26669 as_nl='
26671 export as_nl
26672 # Printing a long string crashes Solaris 7 /usr/bin/printf.
26673 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
26674 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
26675 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
26676 # Prefer a ksh shell builtin over an external printf program on Solaris,
26677 # but without wasting forks for bash or zsh.
26678 if test -z "$BASH_VERSION$ZSH_VERSION" \
26679 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
26680 as_echo='print -r --'
26681 as_echo_n='print -rn --'
26682 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
26683 as_echo='printf %s\n'
26684 as_echo_n='printf %s'
26685 else
26686 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
26687 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
26688 as_echo_n='/usr/ucb/echo -n'
26689 else
26690 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
26691 as_echo_n_body='eval
26692 arg=$1;
26693 case $arg in #(
26694 *"$as_nl"*)
26695 expr "X$arg" : "X\\(.*\\)$as_nl";
26696 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
26697 esac;
26698 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
26700 export as_echo_n_body
26701 as_echo_n='sh -c $as_echo_n_body as_echo'
26703 export as_echo_body
26704 as_echo='sh -c $as_echo_body as_echo'
26707 # The user is always right.
26708 if test "${PATH_SEPARATOR+set}" != set; then
26709 PATH_SEPARATOR=:
26710 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
26711 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
26712 PATH_SEPARATOR=';'
26717 # IFS
26718 # We need space, tab and new line, in precisely that order. Quoting is
26719 # there to prevent editors from complaining about space-tab.
26720 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
26721 # splitting by setting IFS to empty value.)
26722 IFS=" "" $as_nl"
26724 # Find who we are. Look in the path if we contain no directory separator.
26725 case $0 in #((
26726 *[\\/]* ) as_myself=$0 ;;
26727 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26728 for as_dir in $PATH
26730 IFS=$as_save_IFS
26731 test -z "$as_dir" && as_dir=.
26732 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
26733 done
26734 IFS=$as_save_IFS
26737 esac
26738 # We did not find ourselves, most probably we were run as `sh COMMAND'
26739 # in which case we are not to be found in the path.
26740 if test "x$as_myself" = x; then
26741 as_myself=$0
26743 if test ! -f "$as_myself"; then
26744 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
26745 exit 1
26748 # Unset variables that we do not need and which cause bugs (e.g. in
26749 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
26750 # suppresses any "Segmentation fault" message there. '((' could
26751 # trigger a bug in pdksh 5.2.14.
26752 for as_var in BASH_ENV ENV MAIL MAILPATH
26753 do eval test x\${$as_var+set} = xset \
26754 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
26755 done
26756 PS1='$ '
26757 PS2='> '
26758 PS4='+ '
26760 # NLS nuisances.
26761 LC_ALL=C
26762 export LC_ALL
26763 LANGUAGE=C
26764 export LANGUAGE
26766 # CDPATH.
26767 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
26770 # as_fn_error ERROR [LINENO LOG_FD]
26771 # ---------------------------------
26772 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
26773 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
26774 # script with status $?, using 1 if that was 0.
26775 as_fn_error ()
26777 as_status=$?; test $as_status -eq 0 && as_status=1
26778 if test "$3"; then
26779 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
26780 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
26782 $as_echo "$as_me: error: $1" >&2
26783 as_fn_exit $as_status
26784 } # as_fn_error
26787 # as_fn_set_status STATUS
26788 # -----------------------
26789 # Set $? to STATUS, without forking.
26790 as_fn_set_status ()
26792 return $1
26793 } # as_fn_set_status
26795 # as_fn_exit STATUS
26796 # -----------------
26797 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
26798 as_fn_exit ()
26800 set +e
26801 as_fn_set_status $1
26802 exit $1
26803 } # as_fn_exit
26805 # as_fn_unset VAR
26806 # ---------------
26807 # Portably unset VAR.
26808 as_fn_unset ()
26810 { eval $1=; unset $1;}
26812 as_unset=as_fn_unset
26813 # as_fn_append VAR VALUE
26814 # ----------------------
26815 # Append the text in VALUE to the end of the definition contained in VAR. Take
26816 # advantage of any shell optimizations that allow amortized linear growth over
26817 # repeated appends, instead of the typical quadratic growth present in naive
26818 # implementations.
26819 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
26820 eval 'as_fn_append ()
26822 eval $1+=\$2
26824 else
26825 as_fn_append ()
26827 eval $1=\$$1\$2
26829 fi # as_fn_append
26831 # as_fn_arith ARG...
26832 # ------------------
26833 # Perform arithmetic evaluation on the ARGs, and store the result in the
26834 # global $as_val. Take advantage of shells that can avoid forks. The arguments
26835 # must be portable across $(()) and expr.
26836 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
26837 eval 'as_fn_arith ()
26839 as_val=$(( $* ))
26841 else
26842 as_fn_arith ()
26844 as_val=`expr "$@" || test $? -eq 1`
26846 fi # as_fn_arith
26849 if expr a : '\(a\)' >/dev/null 2>&1 &&
26850 test "X`expr 00001 : '.*\(...\)'`" = X001; then
26851 as_expr=expr
26852 else
26853 as_expr=false
26856 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
26857 as_basename=basename
26858 else
26859 as_basename=false
26862 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
26863 as_dirname=dirname
26864 else
26865 as_dirname=false
26868 as_me=`$as_basename -- "$0" ||
26869 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
26870 X"$0" : 'X\(//\)$' \| \
26871 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
26872 $as_echo X/"$0" |
26873 sed '/^.*\/\([^/][^/]*\)\/*$/{
26874 s//\1/
26877 /^X\/\(\/\/\)$/{
26878 s//\1/
26881 /^X\/\(\/\).*/{
26882 s//\1/
26885 s/.*/./; q'`
26887 # Avoid depending upon Character Ranges.
26888 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
26889 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
26890 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
26891 as_cr_digits='0123456789'
26892 as_cr_alnum=$as_cr_Letters$as_cr_digits
26894 ECHO_C= ECHO_N= ECHO_T=
26895 case `echo -n x` in #(((((
26896 -n*)
26897 case `echo 'xy\c'` in
26898 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
26899 xy) ECHO_C='\c';;
26900 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
26901 ECHO_T=' ';;
26902 esac;;
26904 ECHO_N='-n';;
26905 esac
26907 rm -f conf$$ conf$$.exe conf$$.file
26908 if test -d conf$$.dir; then
26909 rm -f conf$$.dir/conf$$.file
26910 else
26911 rm -f conf$$.dir
26912 mkdir conf$$.dir 2>/dev/null
26914 if (echo >conf$$.file) 2>/dev/null; then
26915 if ln -s conf$$.file conf$$ 2>/dev/null; then
26916 as_ln_s='ln -s'
26917 # ... but there are two gotchas:
26918 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
26919 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
26920 # In both cases, we have to default to `cp -p'.
26921 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
26922 as_ln_s='cp -p'
26923 elif ln conf$$.file conf$$ 2>/dev/null; then
26924 as_ln_s=ln
26925 else
26926 as_ln_s='cp -p'
26928 else
26929 as_ln_s='cp -p'
26931 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
26932 rmdir conf$$.dir 2>/dev/null
26935 # as_fn_mkdir_p
26936 # -------------
26937 # Create "$as_dir" as a directory, including parents if necessary.
26938 as_fn_mkdir_p ()
26941 case $as_dir in #(
26942 -*) as_dir=./$as_dir;;
26943 esac
26944 test -d "$as_dir" || eval $as_mkdir_p || {
26945 as_dirs=
26946 while :; do
26947 case $as_dir in #(
26948 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
26949 *) as_qdir=$as_dir;;
26950 esac
26951 as_dirs="'$as_qdir' $as_dirs"
26952 as_dir=`$as_dirname -- "$as_dir" ||
26953 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26954 X"$as_dir" : 'X\(//\)[^/]' \| \
26955 X"$as_dir" : 'X\(//\)$' \| \
26956 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
26957 $as_echo X"$as_dir" |
26958 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26959 s//\1/
26962 /^X\(\/\/\)[^/].*/{
26963 s//\1/
26966 /^X\(\/\/\)$/{
26967 s//\1/
26970 /^X\(\/\).*/{
26971 s//\1/
26974 s/.*/./; q'`
26975 test -d "$as_dir" && break
26976 done
26977 test -z "$as_dirs" || eval "mkdir $as_dirs"
26978 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
26981 } # as_fn_mkdir_p
26982 if mkdir -p . 2>/dev/null; then
26983 as_mkdir_p='mkdir -p "$as_dir"'
26984 else
26985 test -d ./-p && rmdir ./-p
26986 as_mkdir_p=false
26989 if test -x / >/dev/null 2>&1; then
26990 as_test_x='test -x'
26991 else
26992 if ls -dL / >/dev/null 2>&1; then
26993 as_ls_L_option=L
26994 else
26995 as_ls_L_option=
26997 as_test_x='
26998 eval sh -c '\''
26999 if test -d "$1"; then
27000 test -d "$1/.";
27001 else
27002 case $1 in #(
27003 -*)set "./$1";;
27004 esac;
27005 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
27006 ???[sx]*):;;*)false;;esac;fi
27007 '\'' sh
27010 as_executable_p=$as_test_x
27012 # Sed expression to map a string onto a valid CPP name.
27013 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
27015 # Sed expression to map a string onto a valid variable name.
27016 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
27019 exec 6>&1
27020 ## ----------------------------------- ##
27021 ## Main body of $CONFIG_STATUS script. ##
27022 ## ----------------------------------- ##
27023 _ASEOF
27024 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
27026 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27027 # Save the log message, to keep $0 and so on meaningful, and to
27028 # report actual input values of CONFIG_FILES etc. instead of their
27029 # values after options handling.
27030 ac_log="
27031 This file was extended by GNU Fortran Runtime Library $as_me 0.3, which was
27032 generated by GNU Autoconf 2.64. Invocation command line was
27034 CONFIG_FILES = $CONFIG_FILES
27035 CONFIG_HEADERS = $CONFIG_HEADERS
27036 CONFIG_LINKS = $CONFIG_LINKS
27037 CONFIG_COMMANDS = $CONFIG_COMMANDS
27038 $ $0 $@
27040 on `(hostname || uname -n) 2>/dev/null | sed 1q`
27043 _ACEOF
27045 case $ac_config_files in *"
27046 "*) set x $ac_config_files; shift; ac_config_files=$*;;
27047 esac
27049 case $ac_config_headers in *"
27050 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
27051 esac
27054 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27055 # Files that config.status was made for.
27056 config_files="$ac_config_files"
27057 config_headers="$ac_config_headers"
27058 config_commands="$ac_config_commands"
27060 _ACEOF
27062 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27063 ac_cs_usage="\
27064 \`$as_me' instantiates files and other configuration actions
27065 from templates according to the current configuration. Unless the files
27066 and actions are specified as TAGs, all are instantiated by default.
27068 Usage: $0 [OPTION]... [TAG]...
27070 -h, --help print this help, then exit
27071 -V, --version print version number and configuration settings, then exit
27072 -q, --quiet, --silent
27073 do not print progress messages
27074 -d, --debug don't remove temporary files
27075 --recheck update $as_me by reconfiguring in the same conditions
27076 --file=FILE[:TEMPLATE]
27077 instantiate the configuration file FILE
27078 --header=FILE[:TEMPLATE]
27079 instantiate the configuration header FILE
27081 Configuration files:
27082 $config_files
27084 Configuration headers:
27085 $config_headers
27087 Configuration commands:
27088 $config_commands
27090 Report bugs to the package provider.
27091 GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
27092 General help using GNU software: <http://www.gnu.org/gethelp/>."
27094 _ACEOF
27095 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27096 ac_cs_version="\\
27097 GNU Fortran Runtime Library config.status 0.3
27098 configured by $0, generated by GNU Autoconf 2.64,
27099 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
27101 Copyright (C) 2009 Free Software Foundation, Inc.
27102 This config.status script is free software; the Free Software Foundation
27103 gives unlimited permission to copy, distribute and modify it."
27105 ac_pwd='$ac_pwd'
27106 srcdir='$srcdir'
27107 INSTALL='$INSTALL'
27108 MKDIR_P='$MKDIR_P'
27109 AWK='$AWK'
27110 test -n "\$AWK" || AWK=awk
27111 _ACEOF
27113 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27114 # The default lists apply if the user does not specify any file.
27115 ac_need_defaults=:
27116 while test $# != 0
27118 case $1 in
27119 --*=*)
27120 ac_option=`expr "X$1" : 'X\([^=]*\)='`
27121 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
27122 ac_shift=:
27125 ac_option=$1
27126 ac_optarg=$2
27127 ac_shift=shift
27129 esac
27131 case $ac_option in
27132 # Handling of the options.
27133 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
27134 ac_cs_recheck=: ;;
27135 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
27136 $as_echo "$ac_cs_version"; exit ;;
27137 --debug | --debu | --deb | --de | --d | -d )
27138 debug=: ;;
27139 --file | --fil | --fi | --f )
27140 $ac_shift
27141 case $ac_optarg in
27142 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
27143 esac
27144 as_fn_append CONFIG_FILES " '$ac_optarg'"
27145 ac_need_defaults=false;;
27146 --header | --heade | --head | --hea )
27147 $ac_shift
27148 case $ac_optarg in
27149 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
27150 esac
27151 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
27152 ac_need_defaults=false;;
27153 --he | --h)
27154 # Conflict between --help and --header
27155 as_fn_error "ambiguous option: \`$1'
27156 Try \`$0 --help' for more information.";;
27157 --help | --hel | -h )
27158 $as_echo "$ac_cs_usage"; exit ;;
27159 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
27160 | -silent | --silent | --silen | --sile | --sil | --si | --s)
27161 ac_cs_silent=: ;;
27163 # This is an error.
27164 -*) as_fn_error "unrecognized option: \`$1'
27165 Try \`$0 --help' for more information." ;;
27167 *) as_fn_append ac_config_targets " $1"
27168 ac_need_defaults=false ;;
27170 esac
27171 shift
27172 done
27174 ac_configure_extra_args=
27176 if $ac_cs_silent; then
27177 exec 6>/dev/null
27178 ac_configure_extra_args="$ac_configure_extra_args --silent"
27181 _ACEOF
27182 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27183 if \$ac_cs_recheck; then
27184 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
27185 shift
27186 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
27187 CONFIG_SHELL='$SHELL'
27188 export CONFIG_SHELL
27189 exec "\$@"
27192 _ACEOF
27193 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27194 exec 5>>config.log
27196 echo
27197 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
27198 ## Running $as_me. ##
27199 _ASBOX
27200 $as_echo "$ac_log"
27201 } >&5
27203 _ACEOF
27204 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27206 # INIT-COMMANDS
27209 srcdir="$srcdir"
27210 host="$host"
27211 target="$target"
27212 with_multisubdir="$with_multisubdir"
27213 with_multisrctop="$with_multisrctop"
27214 with_target_subdir="$with_target_subdir"
27215 ac_configure_args="${multilib_arg} ${ac_configure_args}"
27216 multi_basedir="$multi_basedir"
27217 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
27218 CC="$CC"
27219 CXX="$CXX"
27220 GFORTRAN="$GFORTRAN"
27221 GCJ="$GCJ"
27222 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
27225 # The HP-UX ksh and POSIX shell print the target directory to stdout
27226 # if CDPATH is set.
27227 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
27229 sed_quote_subst='$sed_quote_subst'
27230 double_quote_subst='$double_quote_subst'
27231 delay_variable_subst='$delay_variable_subst'
27232 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
27233 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
27234 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
27235 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
27236 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
27237 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
27238 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
27239 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
27240 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
27241 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
27242 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
27243 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
27244 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
27245 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
27246 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
27247 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
27248 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
27249 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
27250 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
27251 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
27252 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
27253 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
27254 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
27255 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
27256 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
27257 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
27258 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
27259 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
27260 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
27261 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
27262 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
27263 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
27264 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
27265 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
27266 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
27267 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
27268 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
27269 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
27270 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
27271 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
27272 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
27273 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
27274 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
27275 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
27276 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
27277 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
27278 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
27279 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
27280 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"`'
27281 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
27282 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
27283 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
27284 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
27285 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
27286 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
27287 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
27288 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
27289 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
27290 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
27291 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
27292 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
27293 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
27294 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
27295 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
27296 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
27297 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
27298 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
27299 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
27300 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
27301 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
27302 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
27303 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
27304 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
27305 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
27306 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
27307 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
27308 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
27309 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
27310 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
27311 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
27312 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
27313 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
27314 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
27315 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
27316 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
27317 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
27318 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
27319 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
27320 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
27321 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
27322 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
27323 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
27324 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
27325 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
27326 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
27327 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
27328 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
27329 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
27330 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
27331 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
27332 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
27333 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
27334 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
27335 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
27336 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
27337 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
27338 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
27339 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
27340 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
27341 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
27342 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
27343 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
27344 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
27345 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
27346 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
27347 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
27348 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
27349 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
27350 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
27351 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
27352 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
27353 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
27354 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
27355 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
27356 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
27357 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
27358 LD_FC='`$ECHO "$LD_FC" | $SED "$delay_single_quote_subst"`'
27359 reload_flag_FC='`$ECHO "$reload_flag_FC" | $SED "$delay_single_quote_subst"`'
27360 reload_cmds_FC='`$ECHO "$reload_cmds_FC" | $SED "$delay_single_quote_subst"`'
27361 old_archive_cmds_FC='`$ECHO "$old_archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
27362 compiler_FC='`$ECHO "$compiler_FC" | $SED "$delay_single_quote_subst"`'
27363 GCC_FC='`$ECHO "$GCC_FC" | $SED "$delay_single_quote_subst"`'
27364 lt_prog_compiler_no_builtin_flag_FC='`$ECHO "$lt_prog_compiler_no_builtin_flag_FC" | $SED "$delay_single_quote_subst"`'
27365 lt_prog_compiler_wl_FC='`$ECHO "$lt_prog_compiler_wl_FC" | $SED "$delay_single_quote_subst"`'
27366 lt_prog_compiler_pic_FC='`$ECHO "$lt_prog_compiler_pic_FC" | $SED "$delay_single_quote_subst"`'
27367 lt_prog_compiler_static_FC='`$ECHO "$lt_prog_compiler_static_FC" | $SED "$delay_single_quote_subst"`'
27368 lt_cv_prog_compiler_c_o_FC='`$ECHO "$lt_cv_prog_compiler_c_o_FC" | $SED "$delay_single_quote_subst"`'
27369 archive_cmds_need_lc_FC='`$ECHO "$archive_cmds_need_lc_FC" | $SED "$delay_single_quote_subst"`'
27370 enable_shared_with_static_runtimes_FC='`$ECHO "$enable_shared_with_static_runtimes_FC" | $SED "$delay_single_quote_subst"`'
27371 export_dynamic_flag_spec_FC='`$ECHO "$export_dynamic_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
27372 whole_archive_flag_spec_FC='`$ECHO "$whole_archive_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
27373 compiler_needs_object_FC='`$ECHO "$compiler_needs_object_FC" | $SED "$delay_single_quote_subst"`'
27374 old_archive_from_new_cmds_FC='`$ECHO "$old_archive_from_new_cmds_FC" | $SED "$delay_single_quote_subst"`'
27375 old_archive_from_expsyms_cmds_FC='`$ECHO "$old_archive_from_expsyms_cmds_FC" | $SED "$delay_single_quote_subst"`'
27376 archive_cmds_FC='`$ECHO "$archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
27377 archive_expsym_cmds_FC='`$ECHO "$archive_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
27378 module_cmds_FC='`$ECHO "$module_cmds_FC" | $SED "$delay_single_quote_subst"`'
27379 module_expsym_cmds_FC='`$ECHO "$module_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
27380 with_gnu_ld_FC='`$ECHO "$with_gnu_ld_FC" | $SED "$delay_single_quote_subst"`'
27381 allow_undefined_flag_FC='`$ECHO "$allow_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
27382 no_undefined_flag_FC='`$ECHO "$no_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
27383 hardcode_libdir_flag_spec_FC='`$ECHO "$hardcode_libdir_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
27384 hardcode_libdir_flag_spec_ld_FC='`$ECHO "$hardcode_libdir_flag_spec_ld_FC" | $SED "$delay_single_quote_subst"`'
27385 hardcode_libdir_separator_FC='`$ECHO "$hardcode_libdir_separator_FC" | $SED "$delay_single_quote_subst"`'
27386 hardcode_direct_FC='`$ECHO "$hardcode_direct_FC" | $SED "$delay_single_quote_subst"`'
27387 hardcode_direct_absolute_FC='`$ECHO "$hardcode_direct_absolute_FC" | $SED "$delay_single_quote_subst"`'
27388 hardcode_minus_L_FC='`$ECHO "$hardcode_minus_L_FC" | $SED "$delay_single_quote_subst"`'
27389 hardcode_shlibpath_var_FC='`$ECHO "$hardcode_shlibpath_var_FC" | $SED "$delay_single_quote_subst"`'
27390 hardcode_automatic_FC='`$ECHO "$hardcode_automatic_FC" | $SED "$delay_single_quote_subst"`'
27391 inherit_rpath_FC='`$ECHO "$inherit_rpath_FC" | $SED "$delay_single_quote_subst"`'
27392 link_all_deplibs_FC='`$ECHO "$link_all_deplibs_FC" | $SED "$delay_single_quote_subst"`'
27393 fix_srcfile_path_FC='`$ECHO "$fix_srcfile_path_FC" | $SED "$delay_single_quote_subst"`'
27394 always_export_symbols_FC='`$ECHO "$always_export_symbols_FC" | $SED "$delay_single_quote_subst"`'
27395 export_symbols_cmds_FC='`$ECHO "$export_symbols_cmds_FC" | $SED "$delay_single_quote_subst"`'
27396 exclude_expsyms_FC='`$ECHO "$exclude_expsyms_FC" | $SED "$delay_single_quote_subst"`'
27397 include_expsyms_FC='`$ECHO "$include_expsyms_FC" | $SED "$delay_single_quote_subst"`'
27398 prelink_cmds_FC='`$ECHO "$prelink_cmds_FC" | $SED "$delay_single_quote_subst"`'
27399 file_list_spec_FC='`$ECHO "$file_list_spec_FC" | $SED "$delay_single_quote_subst"`'
27400 hardcode_action_FC='`$ECHO "$hardcode_action_FC" | $SED "$delay_single_quote_subst"`'
27401 compiler_lib_search_dirs_FC='`$ECHO "$compiler_lib_search_dirs_FC" | $SED "$delay_single_quote_subst"`'
27402 predep_objects_FC='`$ECHO "$predep_objects_FC" | $SED "$delay_single_quote_subst"`'
27403 postdep_objects_FC='`$ECHO "$postdep_objects_FC" | $SED "$delay_single_quote_subst"`'
27404 predeps_FC='`$ECHO "$predeps_FC" | $SED "$delay_single_quote_subst"`'
27405 postdeps_FC='`$ECHO "$postdeps_FC" | $SED "$delay_single_quote_subst"`'
27406 compiler_lib_search_path_FC='`$ECHO "$compiler_lib_search_path_FC" | $SED "$delay_single_quote_subst"`'
27408 LTCC='$LTCC'
27409 LTCFLAGS='$LTCFLAGS'
27410 compiler='$compiler_DEFAULT'
27412 # A function that is used when there is no print builtin or printf.
27413 func_fallback_echo ()
27415 eval 'cat <<_LTECHO_EOF
27417 _LTECHO_EOF'
27420 # Quote evaled strings.
27421 for var in SHELL \
27422 ECHO \
27423 SED \
27424 GREP \
27425 EGREP \
27426 FGREP \
27427 LD \
27428 NM \
27429 LN_S \
27430 lt_SP2NL \
27431 lt_NL2SP \
27432 reload_flag \
27433 OBJDUMP \
27434 deplibs_check_method \
27435 file_magic_cmd \
27436 AR \
27437 AR_FLAGS \
27438 STRIP \
27439 RANLIB \
27440 CC \
27441 CFLAGS \
27442 compiler \
27443 lt_cv_sys_global_symbol_pipe \
27444 lt_cv_sys_global_symbol_to_cdecl \
27445 lt_cv_sys_global_symbol_to_c_name_address \
27446 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
27447 lt_prog_compiler_no_builtin_flag \
27448 lt_prog_compiler_wl \
27449 lt_prog_compiler_pic \
27450 lt_prog_compiler_static \
27451 lt_cv_prog_compiler_c_o \
27452 need_locks \
27453 DSYMUTIL \
27454 NMEDIT \
27455 LIPO \
27456 OTOOL \
27457 OTOOL64 \
27458 shrext_cmds \
27459 export_dynamic_flag_spec \
27460 whole_archive_flag_spec \
27461 compiler_needs_object \
27462 with_gnu_ld \
27463 allow_undefined_flag \
27464 no_undefined_flag \
27465 hardcode_libdir_flag_spec \
27466 hardcode_libdir_flag_spec_ld \
27467 hardcode_libdir_separator \
27468 fix_srcfile_path \
27469 exclude_expsyms \
27470 include_expsyms \
27471 file_list_spec \
27472 variables_saved_for_relink \
27473 libname_spec \
27474 library_names_spec \
27475 soname_spec \
27476 install_override_mode \
27477 finish_eval \
27478 old_striplib \
27479 striplib \
27480 compiler_lib_search_dirs \
27481 predep_objects \
27482 postdep_objects \
27483 predeps \
27484 postdeps \
27485 compiler_lib_search_path \
27486 LD_FC \
27487 reload_flag_FC \
27488 compiler_FC \
27489 lt_prog_compiler_no_builtin_flag_FC \
27490 lt_prog_compiler_wl_FC \
27491 lt_prog_compiler_pic_FC \
27492 lt_prog_compiler_static_FC \
27493 lt_cv_prog_compiler_c_o_FC \
27494 export_dynamic_flag_spec_FC \
27495 whole_archive_flag_spec_FC \
27496 compiler_needs_object_FC \
27497 with_gnu_ld_FC \
27498 allow_undefined_flag_FC \
27499 no_undefined_flag_FC \
27500 hardcode_libdir_flag_spec_FC \
27501 hardcode_libdir_flag_spec_ld_FC \
27502 hardcode_libdir_separator_FC \
27503 fix_srcfile_path_FC \
27504 exclude_expsyms_FC \
27505 include_expsyms_FC \
27506 file_list_spec_FC \
27507 compiler_lib_search_dirs_FC \
27508 predep_objects_FC \
27509 postdep_objects_FC \
27510 predeps_FC \
27511 postdeps_FC \
27512 compiler_lib_search_path_FC; do
27513 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
27514 *[\\\\\\\`\\"\\\$]*)
27515 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
27518 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
27520 esac
27521 done
27523 # Double-quote double-evaled strings.
27524 for var in reload_cmds \
27525 old_postinstall_cmds \
27526 old_postuninstall_cmds \
27527 old_archive_cmds \
27528 extract_expsyms_cmds \
27529 old_archive_from_new_cmds \
27530 old_archive_from_expsyms_cmds \
27531 archive_cmds \
27532 archive_expsym_cmds \
27533 module_cmds \
27534 module_expsym_cmds \
27535 export_symbols_cmds \
27536 prelink_cmds \
27537 postinstall_cmds \
27538 postuninstall_cmds \
27539 finish_cmds \
27540 sys_lib_search_path_spec \
27541 sys_lib_dlsearch_path_spec \
27542 reload_cmds_FC \
27543 old_archive_cmds_FC \
27544 old_archive_from_new_cmds_FC \
27545 old_archive_from_expsyms_cmds_FC \
27546 archive_cmds_FC \
27547 archive_expsym_cmds_FC \
27548 module_cmds_FC \
27549 module_expsym_cmds_FC \
27550 export_symbols_cmds_FC \
27551 prelink_cmds_FC; do
27552 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
27553 *[\\\\\\\`\\"\\\$]*)
27554 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
27557 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
27559 esac
27560 done
27562 ac_aux_dir='$ac_aux_dir'
27563 xsi_shell='$xsi_shell'
27564 lt_shell_append='$lt_shell_append'
27566 # See if we are running on zsh, and set the options which allow our
27567 # commands through without removal of \ escapes INIT.
27568 if test -n "\${ZSH_VERSION+set}" ; then
27569 setopt NO_GLOB_SUBST
27573 PACKAGE='$PACKAGE'
27574 VERSION='$VERSION'
27575 TIMESTAMP='$TIMESTAMP'
27576 RM='$RM'
27577 ofile='$ofile'
27584 GCC="$GCC"
27585 CC="$CC"
27586 acx_cv_header_stdint="$acx_cv_header_stdint"
27587 acx_cv_type_int8_t="$acx_cv_type_int8_t"
27588 acx_cv_type_int16_t="$acx_cv_type_int16_t"
27589 acx_cv_type_int32_t="$acx_cv_type_int32_t"
27590 acx_cv_type_int64_t="$acx_cv_type_int64_t"
27591 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
27592 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
27593 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
27594 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
27595 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
27596 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
27597 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
27598 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
27599 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
27602 _ACEOF
27604 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27606 # Handling of arguments.
27607 for ac_config_target in $ac_config_targets
27609 case $ac_config_target in
27610 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
27611 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
27612 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
27613 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
27614 "gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS gstdint.h" ;;
27615 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
27616 "libgfortran.spec") CONFIG_FILES="$CONFIG_FILES libgfortran.spec" ;;
27618 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
27619 esac
27620 done
27623 # If the user did not use the arguments to specify the items to instantiate,
27624 # then the envvar interface is used. Set only those that are not.
27625 # We use the long form for the default assignment because of an extremely
27626 # bizarre bug on SunOS 4.1.3.
27627 if $ac_need_defaults; then
27628 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
27629 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
27630 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
27633 # Have a temporary directory for convenience. Make it in the build tree
27634 # simply because there is no reason against having it here, and in addition,
27635 # creating and moving files from /tmp can sometimes cause problems.
27636 # Hook for its removal unless debugging.
27637 # Note that there is a small window in which the directory will not be cleaned:
27638 # after its creation but before its name has been assigned to `$tmp'.
27639 $debug ||
27641 tmp=
27642 trap 'exit_status=$?
27643 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
27645 trap 'as_fn_exit 1' 1 2 13 15
27647 # Create a (secure) tmp directory for tmp files.
27650 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
27651 test -n "$tmp" && test -d "$tmp"
27652 } ||
27654 tmp=./conf$$-$RANDOM
27655 (umask 077 && mkdir "$tmp")
27656 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
27658 # Set up the scripts for CONFIG_FILES section.
27659 # No need to generate them if there are no CONFIG_FILES.
27660 # This happens for instance with `./config.status config.h'.
27661 if test -n "$CONFIG_FILES"; then
27664 ac_cr=`echo X | tr X '\015'`
27665 # On cygwin, bash can eat \r inside `` if the user requested igncr.
27666 # But we know of no other shell where ac_cr would be empty at this
27667 # point, so we can use a bashism as a fallback.
27668 if test "x$ac_cr" = x; then
27669 eval ac_cr=\$\'\\r\'
27671 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
27672 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
27673 ac_cs_awk_cr='\r'
27674 else
27675 ac_cs_awk_cr=$ac_cr
27678 echo 'BEGIN {' >"$tmp/subs1.awk" &&
27679 _ACEOF
27683 echo "cat >conf$$subs.awk <<_ACEOF" &&
27684 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
27685 echo "_ACEOF"
27686 } >conf$$subs.sh ||
27687 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
27688 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
27689 ac_delim='%!_!# '
27690 for ac_last_try in false false false false false :; do
27691 . ./conf$$subs.sh ||
27692 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
27694 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
27695 if test $ac_delim_n = $ac_delim_num; then
27696 break
27697 elif $ac_last_try; then
27698 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
27699 else
27700 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
27702 done
27703 rm -f conf$$subs.sh
27705 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27706 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
27707 _ACEOF
27708 sed -n '
27710 s/^/S["/; s/!.*/"]=/
27713 s/^[^!]*!//
27714 :repl
27715 t repl
27716 s/'"$ac_delim"'$//
27717 t delim
27720 s/\(.\{148\}\).*/\1/
27721 t more1
27722 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
27725 b repl
27726 :more1
27727 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
27730 s/.\{148\}//
27731 t nl
27732 :delim
27734 s/\(.\{148\}\).*/\1/
27735 t more2
27736 s/["\\]/\\&/g; s/^/"/; s/$/"/
27739 :more2
27740 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
27743 s/.\{148\}//
27744 t delim
27745 ' <conf$$subs.awk | sed '
27746 /^[^""]/{
27748 s/\n//
27750 ' >>$CONFIG_STATUS || ac_write_fail=1
27751 rm -f conf$$subs.awk
27752 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27753 _ACAWK
27754 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
27755 for (key in S) S_is_set[key] = 1
27756 FS = "\a"
27760 line = $ 0
27761 nfields = split(line, field, "@")
27762 substed = 0
27763 len = length(field[1])
27764 for (i = 2; i < nfields; i++) {
27765 key = field[i]
27766 keylen = length(key)
27767 if (S_is_set[key]) {
27768 value = S[key]
27769 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
27770 len += length(value) + length(field[++i])
27771 substed = 1
27772 } else
27773 len += 1 + keylen
27776 print line
27779 _ACAWK
27780 _ACEOF
27781 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27782 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
27783 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
27784 else
27786 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
27787 || as_fn_error "could not setup config files machinery" "$LINENO" 5
27788 _ACEOF
27790 # VPATH may cause trouble with some makes, so we remove $(srcdir),
27791 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
27792 # trailing colons and then remove the whole line if VPATH becomes empty
27793 # (actually we leave an empty line to preserve line numbers).
27794 if test "x$srcdir" = x.; then
27795 ac_vpsub='/^[ ]*VPATH[ ]*=/{
27796 s/:*\$(srcdir):*/:/
27797 s/:*\${srcdir}:*/:/
27798 s/:*@srcdir@:*/:/
27799 s/^\([^=]*=[ ]*\):*/\1/
27800 s/:*$//
27801 s/^[^=]*=[ ]*$//
27805 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27806 fi # test -n "$CONFIG_FILES"
27808 # Set up the scripts for CONFIG_HEADERS section.
27809 # No need to generate them if there are no CONFIG_HEADERS.
27810 # This happens for instance with `./config.status Makefile'.
27811 if test -n "$CONFIG_HEADERS"; then
27812 cat >"$tmp/defines.awk" <<\_ACAWK ||
27813 BEGIN {
27814 _ACEOF
27816 # Transform confdefs.h into an awk script `defines.awk', embedded as
27817 # here-document in config.status, that substitutes the proper values into
27818 # config.h.in to produce config.h.
27820 # Create a delimiter string that does not exist in confdefs.h, to ease
27821 # handling of long lines.
27822 ac_delim='%!_!# '
27823 for ac_last_try in false false :; do
27824 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
27825 if test -z "$ac_t"; then
27826 break
27827 elif $ac_last_try; then
27828 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
27829 else
27830 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
27832 done
27834 # For the awk script, D is an array of macro values keyed by name,
27835 # likewise P contains macro parameters if any. Preserve backslash
27836 # newline sequences.
27838 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
27839 sed -n '
27840 s/.\{148\}/&'"$ac_delim"'/g
27841 t rset
27842 :rset
27843 s/^[ ]*#[ ]*define[ ][ ]*/ /
27844 t def
27846 :def
27847 s/\\$//
27848 t bsnl
27849 s/["\\]/\\&/g
27850 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
27851 D["\1"]=" \3"/p
27852 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
27854 :bsnl
27855 s/["\\]/\\&/g
27856 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
27857 D["\1"]=" \3\\\\\\n"\\/p
27858 t cont
27859 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
27860 t cont
27862 :cont
27864 s/.\{148\}/&'"$ac_delim"'/g
27865 t clear
27866 :clear
27867 s/\\$//
27868 t bsnlc
27869 s/["\\]/\\&/g; s/^/"/; s/$/"/p
27871 :bsnlc
27872 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
27873 b cont
27874 ' <confdefs.h | sed '
27875 s/'"$ac_delim"'/"\\\
27876 "/g' >>$CONFIG_STATUS || ac_write_fail=1
27878 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27879 for (key in D) D_is_set[key] = 1
27880 FS = "\a"
27882 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
27883 line = \$ 0
27884 split(line, arg, " ")
27885 if (arg[1] == "#") {
27886 defundef = arg[2]
27887 mac1 = arg[3]
27888 } else {
27889 defundef = substr(arg[1], 2)
27890 mac1 = arg[2]
27892 split(mac1, mac2, "(") #)
27893 macro = mac2[1]
27894 prefix = substr(line, 1, index(line, defundef) - 1)
27895 if (D_is_set[macro]) {
27896 # Preserve the white space surrounding the "#".
27897 print prefix "define", macro P[macro] D[macro]
27898 next
27899 } else {
27900 # Replace #undef with comments. This is necessary, for example,
27901 # in the case of _POSIX_SOURCE, which is predefined and required
27902 # on some systems where configure will not decide to define it.
27903 if (defundef == "undef") {
27904 print "/*", prefix defundef, macro, "*/"
27905 next
27909 { print }
27910 _ACAWK
27911 _ACEOF
27912 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27913 as_fn_error "could not setup config headers machinery" "$LINENO" 5
27914 fi # test -n "$CONFIG_HEADERS"
27917 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
27918 shift
27919 for ac_tag
27921 case $ac_tag in
27922 :[FHLC]) ac_mode=$ac_tag; continue;;
27923 esac
27924 case $ac_mode$ac_tag in
27925 :[FHL]*:*);;
27926 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
27927 :[FH]-) ac_tag=-:-;;
27928 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
27929 esac
27930 ac_save_IFS=$IFS
27931 IFS=:
27932 set x $ac_tag
27933 IFS=$ac_save_IFS
27934 shift
27935 ac_file=$1
27936 shift
27938 case $ac_mode in
27939 :L) ac_source=$1;;
27940 :[FH])
27941 ac_file_inputs=
27942 for ac_f
27944 case $ac_f in
27945 -) ac_f="$tmp/stdin";;
27946 *) # Look for the file first in the build tree, then in the source tree
27947 # (if the path is not absolute). The absolute path cannot be DOS-style,
27948 # because $ac_f cannot contain `:'.
27949 test -f "$ac_f" ||
27950 case $ac_f in
27951 [\\/$]*) false;;
27952 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
27953 esac ||
27954 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
27955 esac
27956 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
27957 as_fn_append ac_file_inputs " '$ac_f'"
27958 done
27960 # Let's still pretend it is `configure' which instantiates (i.e., don't
27961 # use $as_me), people would be surprised to read:
27962 # /* config.h. Generated by config.status. */
27963 configure_input='Generated from '`
27964 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
27965 `' by configure.'
27966 if test x"$ac_file" != x-; then
27967 configure_input="$ac_file. $configure_input"
27968 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
27969 $as_echo "$as_me: creating $ac_file" >&6;}
27971 # Neutralize special characters interpreted by sed in replacement strings.
27972 case $configure_input in #(
27973 *\&* | *\|* | *\\* )
27974 ac_sed_conf_input=`$as_echo "$configure_input" |
27975 sed 's/[\\\\&|]/\\\\&/g'`;; #(
27976 *) ac_sed_conf_input=$configure_input;;
27977 esac
27979 case $ac_tag in
27980 *:-:* | *:-) cat >"$tmp/stdin" \
27981 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
27982 esac
27984 esac
27986 ac_dir=`$as_dirname -- "$ac_file" ||
27987 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27988 X"$ac_file" : 'X\(//\)[^/]' \| \
27989 X"$ac_file" : 'X\(//\)$' \| \
27990 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
27991 $as_echo X"$ac_file" |
27992 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27993 s//\1/
27996 /^X\(\/\/\)[^/].*/{
27997 s//\1/
28000 /^X\(\/\/\)$/{
28001 s//\1/
28004 /^X\(\/\).*/{
28005 s//\1/
28008 s/.*/./; q'`
28009 as_dir="$ac_dir"; as_fn_mkdir_p
28010 ac_builddir=.
28012 case "$ac_dir" in
28013 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
28015 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
28016 # A ".." for each directory in $ac_dir_suffix.
28017 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
28018 case $ac_top_builddir_sub in
28019 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
28020 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
28021 esac ;;
28022 esac
28023 ac_abs_top_builddir=$ac_pwd
28024 ac_abs_builddir=$ac_pwd$ac_dir_suffix
28025 # for backward compatibility:
28026 ac_top_builddir=$ac_top_build_prefix
28028 case $srcdir in
28029 .) # We are building in place.
28030 ac_srcdir=.
28031 ac_top_srcdir=$ac_top_builddir_sub
28032 ac_abs_top_srcdir=$ac_pwd ;;
28033 [\\/]* | ?:[\\/]* ) # Absolute name.
28034 ac_srcdir=$srcdir$ac_dir_suffix;
28035 ac_top_srcdir=$srcdir
28036 ac_abs_top_srcdir=$srcdir ;;
28037 *) # Relative name.
28038 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
28039 ac_top_srcdir=$ac_top_build_prefix$srcdir
28040 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
28041 esac
28042 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
28045 case $ac_mode in
28048 # CONFIG_FILE
28051 case $INSTALL in
28052 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
28053 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
28054 esac
28055 ac_MKDIR_P=$MKDIR_P
28056 case $MKDIR_P in
28057 [\\/$]* | ?:[\\/]* ) ;;
28058 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
28059 esac
28060 _ACEOF
28062 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28063 # If the template does not know about datarootdir, expand it.
28064 # FIXME: This hack should be removed a few years after 2.60.
28065 ac_datarootdir_hack=; ac_datarootdir_seen=
28066 ac_sed_dataroot='
28067 /datarootdir/ {
28071 /@datadir@/p
28072 /@docdir@/p
28073 /@infodir@/p
28074 /@localedir@/p
28075 /@mandir@/p'
28076 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
28077 *datarootdir*) ac_datarootdir_seen=yes;;
28078 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
28079 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
28080 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
28081 _ACEOF
28082 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28083 ac_datarootdir_hack='
28084 s&@datadir@&$datadir&g
28085 s&@docdir@&$docdir&g
28086 s&@infodir@&$infodir&g
28087 s&@localedir@&$localedir&g
28088 s&@mandir@&$mandir&g
28089 s&\\\${datarootdir}&$datarootdir&g' ;;
28090 esac
28091 _ACEOF
28093 # Neutralize VPATH when `$srcdir' = `.'.
28094 # Shell code in configure.ac might set extrasub.
28095 # FIXME: do we really want to maintain this feature?
28096 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28097 ac_sed_extra="$ac_vpsub
28098 $extrasub
28099 _ACEOF
28100 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28102 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
28103 s|@configure_input@|$ac_sed_conf_input|;t t
28104 s&@top_builddir@&$ac_top_builddir_sub&;t t
28105 s&@top_build_prefix@&$ac_top_build_prefix&;t t
28106 s&@srcdir@&$ac_srcdir&;t t
28107 s&@abs_srcdir@&$ac_abs_srcdir&;t t
28108 s&@top_srcdir@&$ac_top_srcdir&;t t
28109 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
28110 s&@builddir@&$ac_builddir&;t t
28111 s&@abs_builddir@&$ac_abs_builddir&;t t
28112 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
28113 s&@INSTALL@&$ac_INSTALL&;t t
28114 s&@MKDIR_P@&$ac_MKDIR_P&;t t
28115 $ac_datarootdir_hack
28117 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
28118 || as_fn_error "could not create $ac_file" "$LINENO" 5
28120 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
28121 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
28122 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
28123 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
28124 which seems to be undefined. Please make sure it is defined." >&5
28125 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
28126 which seems to be undefined. Please make sure it is defined." >&2;}
28128 rm -f "$tmp/stdin"
28129 case $ac_file in
28130 -) cat "$tmp/out" && rm -f "$tmp/out";;
28131 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
28132 esac \
28133 || as_fn_error "could not create $ac_file" "$LINENO" 5
28137 # CONFIG_HEADER
28139 if test x"$ac_file" != x-; then
28141 $as_echo "/* $configure_input */" \
28142 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
28143 } >"$tmp/config.h" \
28144 || as_fn_error "could not create $ac_file" "$LINENO" 5
28145 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
28146 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
28147 $as_echo "$as_me: $ac_file is unchanged" >&6;}
28148 else
28149 rm -f "$ac_file"
28150 mv "$tmp/config.h" "$ac_file" \
28151 || as_fn_error "could not create $ac_file" "$LINENO" 5
28153 else
28154 $as_echo "/* $configure_input */" \
28155 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
28156 || as_fn_error "could not create -" "$LINENO" 5
28158 # Compute "$ac_file"'s index in $config_headers.
28159 _am_arg="$ac_file"
28160 _am_stamp_count=1
28161 for _am_header in $config_headers :; do
28162 case $_am_header in
28163 $_am_arg | $_am_arg:* )
28164 break ;;
28166 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
28167 esac
28168 done
28169 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
28170 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28171 X"$_am_arg" : 'X\(//\)[^/]' \| \
28172 X"$_am_arg" : 'X\(//\)$' \| \
28173 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
28174 $as_echo X"$_am_arg" |
28175 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28176 s//\1/
28179 /^X\(\/\/\)[^/].*/{
28180 s//\1/
28183 /^X\(\/\/\)$/{
28184 s//\1/
28187 /^X\(\/\).*/{
28188 s//\1/
28191 s/.*/./; q'`/stamp-h$_am_stamp_count
28194 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
28195 $as_echo "$as_me: executing $ac_file commands" >&6;}
28197 esac
28200 case $ac_file$ac_mode in
28201 "default-1":C)
28202 # Only add multilib support code if we just rebuilt the top-level
28203 # Makefile.
28204 case " $CONFIG_FILES " in
28205 *" Makefile "*)
28206 ac_file=Makefile . ${multi_basedir}/config-ml.in
28208 esac ;;
28209 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
28210 # Autoconf 2.62 quotes --file arguments for eval, but not when files
28211 # are listed without --file. Let's play safe and only enable the eval
28212 # if we detect the quoting.
28213 case $CONFIG_FILES in
28214 *\'*) eval set x "$CONFIG_FILES" ;;
28215 *) set x $CONFIG_FILES ;;
28216 esac
28217 shift
28218 for mf
28220 # Strip MF so we end up with the name of the file.
28221 mf=`echo "$mf" | sed -e 's/:.*$//'`
28222 # Check whether this is an Automake generated Makefile or not.
28223 # We used to match only the files named `Makefile.in', but
28224 # some people rename them; so instead we look at the file content.
28225 # Grep'ing the first line is not enough: some people post-process
28226 # each Makefile.in and add a new line on top of each file to say so.
28227 # Grep'ing the whole file is not good either: AIX grep has a line
28228 # limit of 2048, but all sed's we know have understand at least 4000.
28229 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
28230 dirpart=`$as_dirname -- "$mf" ||
28231 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28232 X"$mf" : 'X\(//\)[^/]' \| \
28233 X"$mf" : 'X\(//\)$' \| \
28234 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
28235 $as_echo X"$mf" |
28236 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28237 s//\1/
28240 /^X\(\/\/\)[^/].*/{
28241 s//\1/
28244 /^X\(\/\/\)$/{
28245 s//\1/
28248 /^X\(\/\).*/{
28249 s//\1/
28252 s/.*/./; q'`
28253 else
28254 continue
28256 # Extract the definition of DEPDIR, am__include, and am__quote
28257 # from the Makefile without running `make'.
28258 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
28259 test -z "$DEPDIR" && continue
28260 am__include=`sed -n 's/^am__include = //p' < "$mf"`
28261 test -z "am__include" && continue
28262 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
28263 # When using ansi2knr, U may be empty or an underscore; expand it
28264 U=`sed -n 's/^U = //p' < "$mf"`
28265 # Find all dependency output files, they are included files with
28266 # $(DEPDIR) in their names. We invoke sed twice because it is the
28267 # simplest approach to changing $(DEPDIR) to its actual value in the
28268 # expansion.
28269 for file in `sed -n "
28270 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
28271 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
28272 # Make sure the directory exists.
28273 test -f "$dirpart/$file" && continue
28274 fdir=`$as_dirname -- "$file" ||
28275 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28276 X"$file" : 'X\(//\)[^/]' \| \
28277 X"$file" : 'X\(//\)$' \| \
28278 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
28279 $as_echo X"$file" |
28280 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28281 s//\1/
28284 /^X\(\/\/\)[^/].*/{
28285 s//\1/
28288 /^X\(\/\/\)$/{
28289 s//\1/
28292 /^X\(\/\).*/{
28293 s//\1/
28296 s/.*/./; q'`
28297 as_dir=$dirpart/$fdir; as_fn_mkdir_p
28298 # echo "creating $dirpart/$file"
28299 echo '# dummy' > "$dirpart/$file"
28300 done
28301 done
28304 "libtool":C)
28306 # See if we are running on zsh, and set the options which allow our
28307 # commands through without removal of \ escapes.
28308 if test -n "${ZSH_VERSION+set}" ; then
28309 setopt NO_GLOB_SUBST
28312 cfgfile="${ofile}T"
28313 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
28314 $RM "$cfgfile"
28316 cat <<_LT_EOF >> "$cfgfile"
28317 #! $SHELL
28319 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
28320 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
28321 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
28322 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
28324 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
28325 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
28326 # Written by Gordon Matzigkeit, 1996
28328 # This file is part of GNU Libtool.
28330 # GNU Libtool is free software; you can redistribute it and/or
28331 # modify it under the terms of the GNU General Public License as
28332 # published by the Free Software Foundation; either version 2 of
28333 # the License, or (at your option) any later version.
28335 # As a special exception to the GNU General Public License,
28336 # if you distribute this file as part of a program or library that
28337 # is built using GNU Libtool, you may include this file under the
28338 # same distribution terms that you use for the rest of that program.
28340 # GNU Libtool is distributed in the hope that it will be useful,
28341 # but WITHOUT ANY WARRANTY; without even the implied warranty of
28342 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
28343 # GNU General Public License for more details.
28345 # You should have received a copy of the GNU General Public License
28346 # along with GNU Libtool; see the file COPYING. If not, a copy
28347 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
28348 # obtained by writing to the Free Software Foundation, Inc.,
28349 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
28352 # The names of the tagged configurations supported by this script.
28353 available_tags="FC "
28355 # ### BEGIN LIBTOOL CONFIG
28357 # Which release of libtool.m4 was used?
28358 macro_version=$macro_version
28359 macro_revision=$macro_revision
28361 # Whether or not to build shared libraries.
28362 build_libtool_libs=$enable_shared
28364 # Whether or not to build static libraries.
28365 build_old_libs=$enable_static
28367 # What type of objects to build.
28368 pic_mode=$pic_mode
28370 # Whether or not to optimize for fast installation.
28371 fast_install=$enable_fast_install
28373 # Shell to use when invoking shell scripts.
28374 SHELL=$lt_SHELL
28376 # An echo program that protects backslashes.
28377 ECHO=$lt_ECHO
28379 # The host system.
28380 host_alias=$host_alias
28381 host=$host
28382 host_os=$host_os
28384 # The build system.
28385 build_alias=$build_alias
28386 build=$build
28387 build_os=$build_os
28389 # A sed program that does not truncate output.
28390 SED=$lt_SED
28392 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
28393 Xsed="\$SED -e 1s/^X//"
28395 # A grep program that handles long lines.
28396 GREP=$lt_GREP
28398 # An ERE matcher.
28399 EGREP=$lt_EGREP
28401 # A literal string matcher.
28402 FGREP=$lt_FGREP
28404 # A BSD- or MS-compatible name lister.
28405 NM=$lt_NM
28407 # Whether we need soft or hard links.
28408 LN_S=$lt_LN_S
28410 # What is the maximum length of a command?
28411 max_cmd_len=$max_cmd_len
28413 # Object file suffix (normally "o").
28414 objext=$ac_objext
28416 # Executable file suffix (normally "").
28417 exeext=$exeext
28419 # whether the shell understands "unset".
28420 lt_unset=$lt_unset
28422 # turn spaces into newlines.
28423 SP2NL=$lt_lt_SP2NL
28425 # turn newlines into spaces.
28426 NL2SP=$lt_lt_NL2SP
28428 # An object symbol dumper.
28429 OBJDUMP=$lt_OBJDUMP
28431 # Method to check whether dependent libraries are shared objects.
28432 deplibs_check_method=$lt_deplibs_check_method
28434 # Command to use when deplibs_check_method == "file_magic".
28435 file_magic_cmd=$lt_file_magic_cmd
28437 # The archiver.
28438 AR=$lt_AR
28439 AR_FLAGS=$lt_AR_FLAGS
28441 # A symbol stripping program.
28442 STRIP=$lt_STRIP
28444 # Commands used to install an old-style archive.
28445 RANLIB=$lt_RANLIB
28446 old_postinstall_cmds=$lt_old_postinstall_cmds
28447 old_postuninstall_cmds=$lt_old_postuninstall_cmds
28449 # Whether to use a lock for old archive extraction.
28450 lock_old_archive_extraction=$lock_old_archive_extraction
28452 # A C compiler.
28453 LTCC=$lt_CC
28455 # LTCC compiler flags.
28456 LTCFLAGS=$lt_CFLAGS
28458 # Take the output of nm and produce a listing of raw symbols and C names.
28459 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
28461 # Transform the output of nm in a proper C declaration.
28462 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
28464 # Transform the output of nm in a C name address pair.
28465 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
28467 # Transform the output of nm in a C name address pair when lib prefix is needed.
28468 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
28470 # The name of the directory that contains temporary libtool files.
28471 objdir=$objdir
28473 # Used to examine libraries when file_magic_cmd begins with "file".
28474 MAGIC_CMD=$MAGIC_CMD
28476 # Must we lock files when doing compilation?
28477 need_locks=$lt_need_locks
28479 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
28480 DSYMUTIL=$lt_DSYMUTIL
28482 # Tool to change global to local symbols on Mac OS X.
28483 NMEDIT=$lt_NMEDIT
28485 # Tool to manipulate fat objects and archives on Mac OS X.
28486 LIPO=$lt_LIPO
28488 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
28489 OTOOL=$lt_OTOOL
28491 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
28492 OTOOL64=$lt_OTOOL64
28494 # Old archive suffix (normally "a").
28495 libext=$libext
28497 # Shared library suffix (normally ".so").
28498 shrext_cmds=$lt_shrext_cmds
28500 # The commands to extract the exported symbol list from a shared archive.
28501 extract_expsyms_cmds=$lt_extract_expsyms_cmds
28503 # Variables whose values should be saved in libtool wrapper scripts and
28504 # restored at link time.
28505 variables_saved_for_relink=$lt_variables_saved_for_relink
28507 # Do we need the "lib" prefix for modules?
28508 need_lib_prefix=$need_lib_prefix
28510 # Do we need a version for libraries?
28511 need_version=$need_version
28513 # Library versioning type.
28514 version_type=$version_type
28516 # Shared library runtime path variable.
28517 runpath_var=$runpath_var
28519 # Shared library path variable.
28520 shlibpath_var=$shlibpath_var
28522 # Is shlibpath searched before the hard-coded library search path?
28523 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
28525 # Format of library name prefix.
28526 libname_spec=$lt_libname_spec
28528 # List of archive names. First name is the real one, the rest are links.
28529 # The last name is the one that the linker finds with -lNAME
28530 library_names_spec=$lt_library_names_spec
28532 # The coded name of the library, if different from the real name.
28533 soname_spec=$lt_soname_spec
28535 # Permission mode override for installation of shared libraries.
28536 install_override_mode=$lt_install_override_mode
28538 # Command to use after installation of a shared archive.
28539 postinstall_cmds=$lt_postinstall_cmds
28541 # Command to use after uninstallation of a shared archive.
28542 postuninstall_cmds=$lt_postuninstall_cmds
28544 # Commands used to finish a libtool library installation in a directory.
28545 finish_cmds=$lt_finish_cmds
28547 # As "finish_cmds", except a single script fragment to be evaled but
28548 # not shown.
28549 finish_eval=$lt_finish_eval
28551 # Whether we should hardcode library paths into libraries.
28552 hardcode_into_libs=$hardcode_into_libs
28554 # Compile-time system search path for libraries.
28555 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
28557 # Run-time system search path for libraries.
28558 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
28560 # Whether dlopen is supported.
28561 dlopen_support=$enable_dlopen
28563 # Whether dlopen of programs is supported.
28564 dlopen_self=$enable_dlopen_self
28566 # Whether dlopen of statically linked programs is supported.
28567 dlopen_self_static=$enable_dlopen_self_static
28569 # Commands to strip libraries.
28570 old_striplib=$lt_old_striplib
28571 striplib=$lt_striplib
28574 # The linker used to build libraries.
28575 LD=$lt_LD
28577 # How to create reloadable object files.
28578 reload_flag=$lt_reload_flag
28579 reload_cmds=$lt_reload_cmds
28581 # Commands used to build an old-style archive.
28582 old_archive_cmds=$lt_old_archive_cmds
28584 # A language specific compiler.
28585 CC=$lt_compiler
28587 # Is the compiler the GNU compiler?
28588 with_gcc=$GCC
28590 # Compiler flag to turn off builtin functions.
28591 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
28593 # How to pass a linker flag through the compiler.
28594 wl=$lt_lt_prog_compiler_wl
28596 # Additional compiler flags for building library objects.
28597 pic_flag=$lt_lt_prog_compiler_pic
28599 # Compiler flag to prevent dynamic linking.
28600 link_static_flag=$lt_lt_prog_compiler_static
28602 # Does compiler simultaneously support -c and -o options?
28603 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
28605 # Whether or not to add -lc for building shared libraries.
28606 build_libtool_need_lc=$archive_cmds_need_lc
28608 # Whether or not to disallow shared libs when runtime libs are static.
28609 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
28611 # Compiler flag to allow reflexive dlopens.
28612 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
28614 # Compiler flag to generate shared objects directly from archives.
28615 whole_archive_flag_spec=$lt_whole_archive_flag_spec
28617 # Whether the compiler copes with passing no objects directly.
28618 compiler_needs_object=$lt_compiler_needs_object
28620 # Create an old-style archive from a shared archive.
28621 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
28623 # Create a temporary old-style archive to link instead of a shared archive.
28624 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
28626 # Commands used to build a shared archive.
28627 archive_cmds=$lt_archive_cmds
28628 archive_expsym_cmds=$lt_archive_expsym_cmds
28630 # Commands used to build a loadable module if different from building
28631 # a shared archive.
28632 module_cmds=$lt_module_cmds
28633 module_expsym_cmds=$lt_module_expsym_cmds
28635 # Whether we are building with GNU ld or not.
28636 with_gnu_ld=$lt_with_gnu_ld
28638 # Flag that allows shared libraries with undefined symbols to be built.
28639 allow_undefined_flag=$lt_allow_undefined_flag
28641 # Flag that enforces no undefined symbols.
28642 no_undefined_flag=$lt_no_undefined_flag
28644 # Flag to hardcode \$libdir into a binary during linking.
28645 # This must work even if \$libdir does not exist
28646 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
28648 # If ld is used when linking, flag to hardcode \$libdir into a binary
28649 # during linking. This must work even if \$libdir does not exist.
28650 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
28652 # Whether we need a single "-rpath" flag with a separated argument.
28653 hardcode_libdir_separator=$lt_hardcode_libdir_separator
28655 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
28656 # DIR into the resulting binary.
28657 hardcode_direct=$hardcode_direct
28659 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
28660 # DIR into the resulting binary and the resulting library dependency is
28661 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
28662 # library is relocated.
28663 hardcode_direct_absolute=$hardcode_direct_absolute
28665 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
28666 # into the resulting binary.
28667 hardcode_minus_L=$hardcode_minus_L
28669 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
28670 # into the resulting binary.
28671 hardcode_shlibpath_var=$hardcode_shlibpath_var
28673 # Set to "yes" if building a shared library automatically hardcodes DIR
28674 # into the library and all subsequent libraries and executables linked
28675 # against it.
28676 hardcode_automatic=$hardcode_automatic
28678 # Set to yes if linker adds runtime paths of dependent libraries
28679 # to runtime path list.
28680 inherit_rpath=$inherit_rpath
28682 # Whether libtool must link a program against all its dependency libraries.
28683 link_all_deplibs=$link_all_deplibs
28685 # Fix the shell variable \$srcfile for the compiler.
28686 fix_srcfile_path=$lt_fix_srcfile_path
28688 # Set to "yes" if exported symbols are required.
28689 always_export_symbols=$always_export_symbols
28691 # The commands to list exported symbols.
28692 export_symbols_cmds=$lt_export_symbols_cmds
28694 # Symbols that should not be listed in the preloaded symbols.
28695 exclude_expsyms=$lt_exclude_expsyms
28697 # Symbols that must always be exported.
28698 include_expsyms=$lt_include_expsyms
28700 # Commands necessary for linking programs (against libraries) with templates.
28701 prelink_cmds=$lt_prelink_cmds
28703 # Specify filename containing input files.
28704 file_list_spec=$lt_file_list_spec
28706 # How to hardcode a shared library path into an executable.
28707 hardcode_action=$hardcode_action
28709 # The directories searched by this compiler when creating a shared library.
28710 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
28712 # Dependencies to place before and after the objects being linked to
28713 # create a shared library.
28714 predep_objects=$lt_predep_objects
28715 postdep_objects=$lt_postdep_objects
28716 predeps=$lt_predeps
28717 postdeps=$lt_postdeps
28719 # The library search path used internally by the compiler when linking
28720 # a shared library.
28721 compiler_lib_search_path=$lt_compiler_lib_search_path
28723 # ### END LIBTOOL CONFIG
28725 _LT_EOF
28727 case $host_os in
28728 aix3*)
28729 cat <<\_LT_EOF >> "$cfgfile"
28730 # AIX sometimes has problems with the GCC collect2 program. For some
28731 # reason, if we set the COLLECT_NAMES environment variable, the problems
28732 # vanish in a puff of smoke.
28733 if test "X${COLLECT_NAMES+set}" != Xset; then
28734 COLLECT_NAMES=
28735 export COLLECT_NAMES
28737 _LT_EOF
28739 esac
28742 ltmain="$ac_aux_dir/ltmain.sh"
28745 # We use sed instead of cat because bash on DJGPP gets confused if
28746 # if finds mixed CR/LF and LF-only lines. Since sed operates in
28747 # text mode, it properly converts lines to CR/LF. This bash problem
28748 # is reportedly fixed, but why not run on old versions too?
28749 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
28750 || (rm -f "$cfgfile"; exit 1)
28752 case $xsi_shell in
28753 yes)
28754 cat << \_LT_EOF >> "$cfgfile"
28756 # func_dirname file append nondir_replacement
28757 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
28758 # otherwise set result to NONDIR_REPLACEMENT.
28759 func_dirname ()
28761 case ${1} in
28762 */*) func_dirname_result="${1%/*}${2}" ;;
28763 * ) func_dirname_result="${3}" ;;
28764 esac
28767 # func_basename file
28768 func_basename ()
28770 func_basename_result="${1##*/}"
28773 # func_dirname_and_basename file append nondir_replacement
28774 # perform func_basename and func_dirname in a single function
28775 # call:
28776 # dirname: Compute the dirname of FILE. If nonempty,
28777 # add APPEND to the result, otherwise set result
28778 # to NONDIR_REPLACEMENT.
28779 # value returned in "$func_dirname_result"
28780 # basename: Compute filename of FILE.
28781 # value retuned in "$func_basename_result"
28782 # Implementation must be kept synchronized with func_dirname
28783 # and func_basename. For efficiency, we do not delegate to
28784 # those functions but instead duplicate the functionality here.
28785 func_dirname_and_basename ()
28787 case ${1} in
28788 */*) func_dirname_result="${1%/*}${2}" ;;
28789 * ) func_dirname_result="${3}" ;;
28790 esac
28791 func_basename_result="${1##*/}"
28794 # func_stripname prefix suffix name
28795 # strip PREFIX and SUFFIX off of NAME.
28796 # PREFIX and SUFFIX must not contain globbing or regex special
28797 # characters, hashes, percent signs, but SUFFIX may contain a leading
28798 # dot (in which case that matches only a dot).
28799 func_stripname ()
28801 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
28802 # positional parameters, so assign one to ordinary parameter first.
28803 func_stripname_result=${3}
28804 func_stripname_result=${func_stripname_result#"${1}"}
28805 func_stripname_result=${func_stripname_result%"${2}"}
28808 # func_opt_split
28809 func_opt_split ()
28811 func_opt_split_opt=${1%%=*}
28812 func_opt_split_arg=${1#*=}
28815 # func_lo2o object
28816 func_lo2o ()
28818 case ${1} in
28819 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
28820 *) func_lo2o_result=${1} ;;
28821 esac
28824 # func_xform libobj-or-source
28825 func_xform ()
28827 func_xform_result=${1%.*}.lo
28830 # func_arith arithmetic-term...
28831 func_arith ()
28833 func_arith_result=$(( $* ))
28836 # func_len string
28837 # STRING may not start with a hyphen.
28838 func_len ()
28840 func_len_result=${#1}
28843 _LT_EOF
28845 *) # Bourne compatible functions.
28846 cat << \_LT_EOF >> "$cfgfile"
28848 # func_dirname file append nondir_replacement
28849 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
28850 # otherwise set result to NONDIR_REPLACEMENT.
28851 func_dirname ()
28853 # Extract subdirectory from the argument.
28854 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
28855 if test "X$func_dirname_result" = "X${1}"; then
28856 func_dirname_result="${3}"
28857 else
28858 func_dirname_result="$func_dirname_result${2}"
28862 # func_basename file
28863 func_basename ()
28865 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
28869 # func_stripname prefix suffix name
28870 # strip PREFIX and SUFFIX off of NAME.
28871 # PREFIX and SUFFIX must not contain globbing or regex special
28872 # characters, hashes, percent signs, but SUFFIX may contain a leading
28873 # dot (in which case that matches only a dot).
28874 # func_strip_suffix prefix name
28875 func_stripname ()
28877 case ${2} in
28878 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
28879 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
28880 esac
28883 # sed scripts:
28884 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
28885 my_sed_long_arg='1s/^-[^=]*=//'
28887 # func_opt_split
28888 func_opt_split ()
28890 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
28891 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
28894 # func_lo2o object
28895 func_lo2o ()
28897 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
28900 # func_xform libobj-or-source
28901 func_xform ()
28903 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
28906 # func_arith arithmetic-term...
28907 func_arith ()
28909 func_arith_result=`expr "$@"`
28912 # func_len string
28913 # STRING may not start with a hyphen.
28914 func_len ()
28916 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
28919 _LT_EOF
28920 esac
28922 case $lt_shell_append in
28923 yes)
28924 cat << \_LT_EOF >> "$cfgfile"
28926 # func_append var value
28927 # Append VALUE to the end of shell variable VAR.
28928 func_append ()
28930 eval "$1+=\$2"
28932 _LT_EOF
28935 cat << \_LT_EOF >> "$cfgfile"
28937 # func_append var value
28938 # Append VALUE to the end of shell variable VAR.
28939 func_append ()
28941 eval "$1=\$$1\$2"
28944 _LT_EOF
28946 esac
28949 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
28950 || (rm -f "$cfgfile"; exit 1)
28952 mv -f "$cfgfile" "$ofile" ||
28953 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
28954 chmod +x "$ofile"
28957 cat <<_LT_EOF >> "$ofile"
28959 # ### BEGIN LIBTOOL TAG CONFIG: FC
28961 # The linker used to build libraries.
28962 LD=$lt_LD_FC
28964 # How to create reloadable object files.
28965 reload_flag=$lt_reload_flag_FC
28966 reload_cmds=$lt_reload_cmds_FC
28968 # Commands used to build an old-style archive.
28969 old_archive_cmds=$lt_old_archive_cmds_FC
28971 # A language specific compiler.
28972 CC=$lt_compiler_FC
28974 # Is the compiler the GNU compiler?
28975 with_gcc=$GCC_FC
28977 # Compiler flag to turn off builtin functions.
28978 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_FC
28980 # How to pass a linker flag through the compiler.
28981 wl=$lt_lt_prog_compiler_wl_FC
28983 # Additional compiler flags for building library objects.
28984 pic_flag=$lt_lt_prog_compiler_pic_FC
28986 # Compiler flag to prevent dynamic linking.
28987 link_static_flag=$lt_lt_prog_compiler_static_FC
28989 # Does compiler simultaneously support -c and -o options?
28990 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_FC
28992 # Whether or not to add -lc for building shared libraries.
28993 build_libtool_need_lc=$archive_cmds_need_lc_FC
28995 # Whether or not to disallow shared libs when runtime libs are static.
28996 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_FC
28998 # Compiler flag to allow reflexive dlopens.
28999 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_FC
29001 # Compiler flag to generate shared objects directly from archives.
29002 whole_archive_flag_spec=$lt_whole_archive_flag_spec_FC
29004 # Whether the compiler copes with passing no objects directly.
29005 compiler_needs_object=$lt_compiler_needs_object_FC
29007 # Create an old-style archive from a shared archive.
29008 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_FC
29010 # Create a temporary old-style archive to link instead of a shared archive.
29011 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_FC
29013 # Commands used to build a shared archive.
29014 archive_cmds=$lt_archive_cmds_FC
29015 archive_expsym_cmds=$lt_archive_expsym_cmds_FC
29017 # Commands used to build a loadable module if different from building
29018 # a shared archive.
29019 module_cmds=$lt_module_cmds_FC
29020 module_expsym_cmds=$lt_module_expsym_cmds_FC
29022 # Whether we are building with GNU ld or not.
29023 with_gnu_ld=$lt_with_gnu_ld_FC
29025 # Flag that allows shared libraries with undefined symbols to be built.
29026 allow_undefined_flag=$lt_allow_undefined_flag_FC
29028 # Flag that enforces no undefined symbols.
29029 no_undefined_flag=$lt_no_undefined_flag_FC
29031 # Flag to hardcode \$libdir into a binary during linking.
29032 # This must work even if \$libdir does not exist
29033 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_FC
29035 # If ld is used when linking, flag to hardcode \$libdir into a binary
29036 # during linking. This must work even if \$libdir does not exist.
29037 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_FC
29039 # Whether we need a single "-rpath" flag with a separated argument.
29040 hardcode_libdir_separator=$lt_hardcode_libdir_separator_FC
29042 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
29043 # DIR into the resulting binary.
29044 hardcode_direct=$hardcode_direct_FC
29046 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
29047 # DIR into the resulting binary and the resulting library dependency is
29048 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
29049 # library is relocated.
29050 hardcode_direct_absolute=$hardcode_direct_absolute_FC
29052 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
29053 # into the resulting binary.
29054 hardcode_minus_L=$hardcode_minus_L_FC
29056 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
29057 # into the resulting binary.
29058 hardcode_shlibpath_var=$hardcode_shlibpath_var_FC
29060 # Set to "yes" if building a shared library automatically hardcodes DIR
29061 # into the library and all subsequent libraries and executables linked
29062 # against it.
29063 hardcode_automatic=$hardcode_automatic_FC
29065 # Set to yes if linker adds runtime paths of dependent libraries
29066 # to runtime path list.
29067 inherit_rpath=$inherit_rpath_FC
29069 # Whether libtool must link a program against all its dependency libraries.
29070 link_all_deplibs=$link_all_deplibs_FC
29072 # Fix the shell variable \$srcfile for the compiler.
29073 fix_srcfile_path=$lt_fix_srcfile_path_FC
29075 # Set to "yes" if exported symbols are required.
29076 always_export_symbols=$always_export_symbols_FC
29078 # The commands to list exported symbols.
29079 export_symbols_cmds=$lt_export_symbols_cmds_FC
29081 # Symbols that should not be listed in the preloaded symbols.
29082 exclude_expsyms=$lt_exclude_expsyms_FC
29084 # Symbols that must always be exported.
29085 include_expsyms=$lt_include_expsyms_FC
29087 # Commands necessary for linking programs (against libraries) with templates.
29088 prelink_cmds=$lt_prelink_cmds_FC
29090 # Specify filename containing input files.
29091 file_list_spec=$lt_file_list_spec_FC
29093 # How to hardcode a shared library path into an executable.
29094 hardcode_action=$hardcode_action_FC
29096 # The directories searched by this compiler when creating a shared library.
29097 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_FC
29099 # Dependencies to place before and after the objects being linked to
29100 # create a shared library.
29101 predep_objects=$lt_predep_objects_FC
29102 postdep_objects=$lt_postdep_objects_FC
29103 predeps=$lt_predeps_FC
29104 postdeps=$lt_postdeps_FC
29106 # The library search path used internally by the compiler when linking
29107 # a shared library.
29108 compiler_lib_search_path=$lt_compiler_lib_search_path_FC
29110 # ### END LIBTOOL TAG CONFIG: FC
29111 _LT_EOF
29114 "gstdint.h":C)
29115 if test "$GCC" = yes; then
29116 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
29117 else
29118 echo "/* generated for $CC */" > tmp-stdint.h
29121 sed 's/^ *//' >> tmp-stdint.h <<EOF
29123 #ifndef GCC_GENERATED_STDINT_H
29124 #define GCC_GENERATED_STDINT_H 1
29126 #include <sys/types.h>
29129 if test "$acx_cv_header_stdint" != stdint.h; then
29130 echo "#include <stddef.h>" >> tmp-stdint.h
29132 if test "$acx_cv_header_stdint" != stddef.h; then
29133 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
29136 sed 's/^ *//' >> tmp-stdint.h <<EOF
29137 /* glibc uses these symbols as guards to prevent redefinitions. */
29138 #ifdef __int8_t_defined
29139 #define _INT8_T
29140 #define _INT16_T
29141 #define _INT32_T
29142 #endif
29143 #ifdef __uint32_t_defined
29144 #define _UINT32_T
29145 #endif
29149 # ----------------- done header, emit basic int types -------------
29150 if test "$acx_cv_header_stdint" = stddef.h; then
29151 sed 's/^ *//' >> tmp-stdint.h <<EOF
29153 #ifndef _UINT8_T
29154 #define _UINT8_T
29155 #ifndef __uint8_t_defined
29156 #define __uint8_t_defined
29157 #ifndef uint8_t
29158 typedef unsigned $acx_cv_type_int8_t uint8_t;
29159 #endif
29160 #endif
29161 #endif
29163 #ifndef _UINT16_T
29164 #define _UINT16_T
29165 #ifndef __uint16_t_defined
29166 #define __uint16_t_defined
29167 #ifndef uint16_t
29168 typedef unsigned $acx_cv_type_int16_t uint16_t;
29169 #endif
29170 #endif
29171 #endif
29173 #ifndef _UINT32_T
29174 #define _UINT32_T
29175 #ifndef __uint32_t_defined
29176 #define __uint32_t_defined
29177 #ifndef uint32_t
29178 typedef unsigned $acx_cv_type_int32_t uint32_t;
29179 #endif
29180 #endif
29181 #endif
29183 #ifndef _INT8_T
29184 #define _INT8_T
29185 #ifndef __int8_t_defined
29186 #define __int8_t_defined
29187 #ifndef int8_t
29188 typedef $acx_cv_type_int8_t int8_t;
29189 #endif
29190 #endif
29191 #endif
29193 #ifndef _INT16_T
29194 #define _INT16_T
29195 #ifndef __int16_t_defined
29196 #define __int16_t_defined
29197 #ifndef int16_t
29198 typedef $acx_cv_type_int16_t int16_t;
29199 #endif
29200 #endif
29201 #endif
29203 #ifndef _INT32_T
29204 #define _INT32_T
29205 #ifndef __int32_t_defined
29206 #define __int32_t_defined
29207 #ifndef int32_t
29208 typedef $acx_cv_type_int32_t int32_t;
29209 #endif
29210 #endif
29211 #endif
29213 elif test "$ac_cv_type_u_int32_t" = yes; then
29214 sed 's/^ *//' >> tmp-stdint.h <<EOF
29216 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
29217 #ifndef _INT8_T
29218 #define _INT8_T
29219 #endif
29220 #ifndef _INT16_T
29221 #define _INT16_T
29222 #endif
29223 #ifndef _INT32_T
29224 #define _INT32_T
29225 #endif
29227 #ifndef _UINT8_T
29228 #define _UINT8_T
29229 #ifndef __uint8_t_defined
29230 #define __uint8_t_defined
29231 #ifndef uint8_t
29232 typedef u_int8_t uint8_t;
29233 #endif
29234 #endif
29235 #endif
29237 #ifndef _UINT16_T
29238 #define _UINT16_T
29239 #ifndef __uint16_t_defined
29240 #define __uint16_t_defined
29241 #ifndef uint16_t
29242 typedef u_int16_t uint16_t;
29243 #endif
29244 #endif
29245 #endif
29247 #ifndef _UINT32_T
29248 #define _UINT32_T
29249 #ifndef __uint32_t_defined
29250 #define __uint32_t_defined
29251 #ifndef uint32_t
29252 typedef u_int32_t uint32_t;
29253 #endif
29254 #endif
29255 #endif
29257 else
29258 sed 's/^ *//' >> tmp-stdint.h <<EOF
29260 /* Some systems have guard macros to prevent redefinitions, define them. */
29261 #ifndef _INT8_T
29262 #define _INT8_T
29263 #endif
29264 #ifndef _INT16_T
29265 #define _INT16_T
29266 #endif
29267 #ifndef _INT32_T
29268 #define _INT32_T
29269 #endif
29270 #ifndef _UINT8_T
29271 #define _UINT8_T
29272 #endif
29273 #ifndef _UINT16_T
29274 #define _UINT16_T
29275 #endif
29276 #ifndef _UINT32_T
29277 #define _UINT32_T
29278 #endif
29282 # ------------- done basic int types, emit int64_t types ------------
29283 if test "$ac_cv_type_uint64_t" = yes; then
29284 sed 's/^ *//' >> tmp-stdint.h <<EOF
29286 /* system headers have good uint64_t and int64_t */
29287 #ifndef _INT64_T
29288 #define _INT64_T
29289 #endif
29290 #ifndef _UINT64_T
29291 #define _UINT64_T
29292 #endif
29294 elif test "$ac_cv_type_u_int64_t" = yes; then
29295 sed 's/^ *//' >> tmp-stdint.h <<EOF
29297 /* system headers have an u_int64_t (and int64_t) */
29298 #ifndef _INT64_T
29299 #define _INT64_T
29300 #endif
29301 #ifndef _UINT64_T
29302 #define _UINT64_T
29303 #ifndef __uint64_t_defined
29304 #define __uint64_t_defined
29305 #ifndef uint64_t
29306 typedef u_int64_t uint64_t;
29307 #endif
29308 #endif
29309 #endif
29311 elif test -n "$acx_cv_type_int64_t"; then
29312 sed 's/^ *//' >> tmp-stdint.h <<EOF
29314 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
29315 #ifndef _INT64_T
29316 #define _INT64_T
29317 #ifndef int64_t
29318 typedef $acx_cv_type_int64_t int64_t;
29319 #endif
29320 #endif
29321 #ifndef _UINT64_T
29322 #define _UINT64_T
29323 #ifndef __uint64_t_defined
29324 #define __uint64_t_defined
29325 #ifndef uint64_t
29326 typedef unsigned $acx_cv_type_int64_t uint64_t;
29327 #endif
29328 #endif
29329 #endif
29331 else
29332 sed 's/^ *//' >> tmp-stdint.h <<EOF
29334 /* some common heuristics for int64_t, using compiler-specific tests */
29335 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
29336 #ifndef _INT64_T
29337 #define _INT64_T
29338 #ifndef __int64_t_defined
29339 #ifndef int64_t
29340 typedef long long int64_t;
29341 #endif
29342 #endif
29343 #endif
29344 #ifndef _UINT64_T
29345 #define _UINT64_T
29346 #ifndef uint64_t
29347 typedef unsigned long long uint64_t;
29348 #endif
29349 #endif
29351 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
29352 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
29353 does not implement __extension__. But that compiler doesn't define
29354 __GNUC_MINOR__. */
29355 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
29356 # define __extension__
29357 # endif
29359 # ifndef _INT64_T
29360 # define _INT64_T
29361 # ifndef int64_t
29362 __extension__ typedef long long int64_t;
29363 # endif
29364 # endif
29365 # ifndef _UINT64_T
29366 # define _UINT64_T
29367 # ifndef uint64_t
29368 __extension__ typedef unsigned long long uint64_t;
29369 # endif
29370 # endif
29372 #elif !defined __STRICT_ANSI__
29373 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
29375 # ifndef _INT64_T
29376 # define _INT64_T
29377 # ifndef int64_t
29378 typedef __int64 int64_t;
29379 # endif
29380 # endif
29381 # ifndef _UINT64_T
29382 # define _UINT64_T
29383 # ifndef uint64_t
29384 typedef unsigned __int64 uint64_t;
29385 # endif
29386 # endif
29387 # endif /* compiler */
29389 #endif /* ANSI version */
29393 # ------------- done int64_t types, emit intptr types ------------
29394 if test "$ac_cv_type_uintptr_t" != yes; then
29395 sed 's/^ *//' >> tmp-stdint.h <<EOF
29397 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
29398 #ifndef __uintptr_t_defined
29399 #ifndef uintptr_t
29400 typedef u$acx_cv_type_intptr_t uintptr_t;
29401 #endif
29402 #endif
29403 #ifndef __intptr_t_defined
29404 #ifndef intptr_t
29405 typedef $acx_cv_type_intptr_t intptr_t;
29406 #endif
29407 #endif
29411 # ------------- done intptr types, emit int_least types ------------
29412 if test "$ac_cv_type_int_least32_t" != yes; then
29413 sed 's/^ *//' >> tmp-stdint.h <<EOF
29415 /* Define int_least types */
29416 typedef int8_t int_least8_t;
29417 typedef int16_t int_least16_t;
29418 typedef int32_t int_least32_t;
29419 #ifdef _INT64_T
29420 typedef int64_t int_least64_t;
29421 #endif
29423 typedef uint8_t uint_least8_t;
29424 typedef uint16_t uint_least16_t;
29425 typedef uint32_t uint_least32_t;
29426 #ifdef _UINT64_T
29427 typedef uint64_t uint_least64_t;
29428 #endif
29432 # ------------- done intptr types, emit int_fast types ------------
29433 if test "$ac_cv_type_int_fast32_t" != yes; then
29434 sed 's/^ *//' >> tmp-stdint.h <<EOF
29436 /* Define int_fast types. short is often slow */
29437 typedef int8_t int_fast8_t;
29438 typedef int int_fast16_t;
29439 typedef int32_t int_fast32_t;
29440 #ifdef _INT64_T
29441 typedef int64_t int_fast64_t;
29442 #endif
29444 typedef uint8_t uint_fast8_t;
29445 typedef unsigned int uint_fast16_t;
29446 typedef uint32_t uint_fast32_t;
29447 #ifdef _UINT64_T
29448 typedef uint64_t uint_fast64_t;
29449 #endif
29453 if test "$ac_cv_type_uintmax_t" != yes; then
29454 sed 's/^ *//' >> tmp-stdint.h <<EOF
29456 /* Define intmax based on what we found */
29457 #ifndef intmax_t
29458 #ifdef _INT64_T
29459 typedef int64_t intmax_t;
29460 #else
29461 typedef long intmax_t;
29462 #endif
29463 #endif
29464 #ifndef uintmax_t
29465 #ifdef _UINT64_T
29466 typedef uint64_t uintmax_t;
29467 #else
29468 typedef unsigned long uintmax_t;
29469 #endif
29470 #endif
29474 sed 's/^ *//' >> tmp-stdint.h <<EOF
29476 #endif /* GCC_GENERATED_STDINT_H */
29479 if test -r gstdint.h && cmp -s tmp-stdint.h gstdint.h; then
29480 rm -f tmp-stdint.h
29481 else
29482 mv -f tmp-stdint.h gstdint.h
29487 esac
29488 done # for ac_tag
29491 as_fn_exit 0
29492 _ACEOF
29493 ac_clean_files=$ac_clean_files_save
29495 test $ac_write_fail = 0 ||
29496 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
29499 # configure is writing to config.log, and then calls config.status.
29500 # config.status does its own redirection, appending to config.log.
29501 # Unfortunately, on DOS this fails, as config.log is still kept open
29502 # by configure, so config.status won't be able to write to it; its
29503 # output is simply discarded. So we exec the FD to /dev/null,
29504 # effectively closing config.log, so it can be properly (re)opened and
29505 # appended to by config.status. When coming back to configure, we
29506 # need to make the FD available again.
29507 if test "$no_create" != yes; then
29508 ac_cs_success=:
29509 ac_config_status_args=
29510 test "$silent" = yes &&
29511 ac_config_status_args="$ac_config_status_args --quiet"
29512 exec 5>/dev/null
29513 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
29514 exec 5>>config.log
29515 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
29516 # would make configure fail if this is the last instruction.
29517 $ac_cs_success || as_fn_exit $?
29519 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
29520 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
29521 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}