Merged revisions 208012,208018-208019,208021,208023-208030,208033,208037,208040-20804...
[official-gcc.git] / main / libgfortran / configure
blob8a1002c84f84b3748d67e464d21f4347c0521880
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for GNU Fortran Runtime Library 0.3.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
7 # Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18 emulate sh
19 NULLCMD=:
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in #(
26 *posix*) :
27 set -o posix ;; #(
28 *) :
30 esac
34 as_nl='
36 export as_nl
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45 as_echo='print -r --'
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo='printf %s\n'
49 as_echo_n='printf %s'
50 else
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
54 else
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56 as_echo_n_body='eval
57 arg=$1;
58 case $arg in #(
59 *"$as_nl"*)
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62 esac;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
65 export as_echo_n_body
66 as_echo_n='sh -c $as_echo_n_body as_echo'
68 export as_echo_body
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
74 PATH_SEPARATOR=:
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77 PATH_SEPARATOR=';'
82 # IFS
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
87 IFS=" "" $as_nl"
89 # Find who we are. Look in the path if we contain no directory separator.
90 case $0 in #((
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
93 for as_dir in $PATH
95 IFS=$as_save_IFS
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
98 done
99 IFS=$as_save_IFS
102 esac
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x; then
106 as_myself=$0
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
110 exit 1
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\${$as_var+set} = xset \
119 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
120 done
121 PS1='$ '
122 PS2='> '
123 PS4='+ '
125 # NLS nuisances.
126 LC_ALL=C
127 export LC_ALL
128 LANGUAGE=C
129 export LANGUAGE
131 # CDPATH.
132 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134 if test "x$CONFIG_SHELL" = x; then
135 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
136 emulate sh
137 NULLCMD=:
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
141 setopt NO_GLOB_SUBST
142 else
143 case \`(set -o) 2>/dev/null\` in #(
144 *posix*) :
145 set -o posix ;; #(
146 *) :
148 esac
151 as_required="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
157 exitcode=0
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
164 else
165 exitcode=1; echo positional parameters were not saved.
167 test x\$exitcode = x0 || exit 1"
168 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172 test \$(( 1 + 1 )) = 2 || exit 1
174 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
175 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
176 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
177 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
178 PATH=/empty FPATH=/empty; export PATH FPATH
179 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
180 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
181 if (eval "$as_required") 2>/dev/null; then :
182 as_have_required=yes
183 else
184 as_have_required=no
186 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
188 else
189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
190 as_found=false
191 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
193 IFS=$as_save_IFS
194 test -z "$as_dir" && as_dir=.
195 as_found=:
196 case $as_dir in #(
198 for as_base in sh bash ksh sh5; do
199 # Try only shells that exist, to save several forks.
200 as_shell=$as_dir/$as_base
201 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
202 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
203 CONFIG_SHELL=$as_shell as_have_required=yes
204 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
205 break 2
208 done;;
209 esac
210 as_found=false
211 done
212 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
213 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
214 CONFIG_SHELL=$SHELL as_have_required=yes
215 fi; }
216 IFS=$as_save_IFS
219 if test "x$CONFIG_SHELL" != x; then :
220 # We cannot yet assume a decent shell, so we have to provide a
221 # neutralization value for shells without unset; and this also
222 # works around shells that cannot unset nonexistent variables.
223 BASH_ENV=/dev/null
224 ENV=/dev/null
225 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
226 export CONFIG_SHELL
227 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
230 if test x$as_have_required = xno; then :
231 $as_echo "$0: This script requires a shell more modern than all"
232 $as_echo "$0: the shells that I found on your system."
233 if test x${ZSH_VERSION+set} = xset ; then
234 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
235 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
236 else
237 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
238 $0: including any error possibly output before this
239 $0: message. Then install a modern shell, or manually run
240 $0: the script under such a shell if you do have one."
242 exit 1
246 SHELL=${CONFIG_SHELL-/bin/sh}
247 export SHELL
248 # Unset more variables known to interfere with behavior of common tools.
249 CLICOLOR_FORCE= GREP_OPTIONS=
250 unset CLICOLOR_FORCE GREP_OPTIONS
252 ## --------------------- ##
253 ## M4sh Shell Functions. ##
254 ## --------------------- ##
255 # as_fn_unset VAR
256 # ---------------
257 # Portably unset VAR.
258 as_fn_unset ()
260 { eval $1=; unset $1;}
262 as_unset=as_fn_unset
264 # as_fn_set_status STATUS
265 # -----------------------
266 # Set $? to STATUS, without forking.
267 as_fn_set_status ()
269 return $1
270 } # as_fn_set_status
272 # as_fn_exit STATUS
273 # -----------------
274 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
275 as_fn_exit ()
277 set +e
278 as_fn_set_status $1
279 exit $1
280 } # as_fn_exit
282 # as_fn_mkdir_p
283 # -------------
284 # Create "$as_dir" as a directory, including parents if necessary.
285 as_fn_mkdir_p ()
288 case $as_dir in #(
289 -*) as_dir=./$as_dir;;
290 esac
291 test -d "$as_dir" || eval $as_mkdir_p || {
292 as_dirs=
293 while :; do
294 case $as_dir in #(
295 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
296 *) as_qdir=$as_dir;;
297 esac
298 as_dirs="'$as_qdir' $as_dirs"
299 as_dir=`$as_dirname -- "$as_dir" ||
300 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
301 X"$as_dir" : 'X\(//\)[^/]' \| \
302 X"$as_dir" : 'X\(//\)$' \| \
303 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
304 $as_echo X"$as_dir" |
305 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
306 s//\1/
309 /^X\(\/\/\)[^/].*/{
310 s//\1/
313 /^X\(\/\/\)$/{
314 s//\1/
317 /^X\(\/\).*/{
318 s//\1/
321 s/.*/./; q'`
322 test -d "$as_dir" && break
323 done
324 test -z "$as_dirs" || eval "mkdir $as_dirs"
325 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
328 } # as_fn_mkdir_p
329 # as_fn_append VAR VALUE
330 # ----------------------
331 # Append the text in VALUE to the end of the definition contained in VAR. Take
332 # advantage of any shell optimizations that allow amortized linear growth over
333 # repeated appends, instead of the typical quadratic growth present in naive
334 # implementations.
335 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
336 eval 'as_fn_append ()
338 eval $1+=\$2
340 else
341 as_fn_append ()
343 eval $1=\$$1\$2
345 fi # as_fn_append
347 # as_fn_arith ARG...
348 # ------------------
349 # Perform arithmetic evaluation on the ARGs, and store the result in the
350 # global $as_val. Take advantage of shells that can avoid forks. The arguments
351 # must be portable across $(()) and expr.
352 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
353 eval 'as_fn_arith ()
355 as_val=$(( $* ))
357 else
358 as_fn_arith ()
360 as_val=`expr "$@" || test $? -eq 1`
362 fi # as_fn_arith
365 # as_fn_error ERROR [LINENO LOG_FD]
366 # ---------------------------------
367 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
368 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
369 # script with status $?, using 1 if that was 0.
370 as_fn_error ()
372 as_status=$?; test $as_status -eq 0 && as_status=1
373 if test "$3"; then
374 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
375 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
377 $as_echo "$as_me: error: $1" >&2
378 as_fn_exit $as_status
379 } # as_fn_error
381 if expr a : '\(a\)' >/dev/null 2>&1 &&
382 test "X`expr 00001 : '.*\(...\)'`" = X001; then
383 as_expr=expr
384 else
385 as_expr=false
388 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
389 as_basename=basename
390 else
391 as_basename=false
394 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
395 as_dirname=dirname
396 else
397 as_dirname=false
400 as_me=`$as_basename -- "$0" ||
401 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
402 X"$0" : 'X\(//\)$' \| \
403 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
404 $as_echo X/"$0" |
405 sed '/^.*\/\([^/][^/]*\)\/*$/{
406 s//\1/
409 /^X\/\(\/\/\)$/{
410 s//\1/
413 /^X\/\(\/\).*/{
414 s//\1/
417 s/.*/./; q'`
419 # Avoid depending upon Character Ranges.
420 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
421 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
422 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
423 as_cr_digits='0123456789'
424 as_cr_alnum=$as_cr_Letters$as_cr_digits
427 as_lineno_1=$LINENO as_lineno_1a=$LINENO
428 as_lineno_2=$LINENO as_lineno_2a=$LINENO
429 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
430 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
431 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
432 sed -n '
434 /[$]LINENO/=
435 ' <$as_myself |
436 sed '
437 s/[$]LINENO.*/&-/
438 t lineno
440 :lineno
442 :loop
443 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
444 t loop
445 s/-\n.*//
446 ' >$as_me.lineno &&
447 chmod +x "$as_me.lineno" ||
448 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
450 # Don't try to exec as it changes $[0], causing all sort of problems
451 # (the dirname of $[0] is not the place where we might find the
452 # original and so on. Autoconf is especially sensitive to this).
453 . "./$as_me.lineno"
454 # Exit status is that of the last command.
455 exit
458 ECHO_C= ECHO_N= ECHO_T=
459 case `echo -n x` in #(((((
460 -n*)
461 case `echo 'xy\c'` in
462 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
463 xy) ECHO_C='\c';;
464 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
465 ECHO_T=' ';;
466 esac;;
468 ECHO_N='-n';;
469 esac
471 rm -f conf$$ conf$$.exe conf$$.file
472 if test -d conf$$.dir; then
473 rm -f conf$$.dir/conf$$.file
474 else
475 rm -f conf$$.dir
476 mkdir conf$$.dir 2>/dev/null
478 if (echo >conf$$.file) 2>/dev/null; then
479 if ln -s conf$$.file conf$$ 2>/dev/null; then
480 as_ln_s='ln -s'
481 # ... but there are two gotchas:
482 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
483 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
484 # In both cases, we have to default to `cp -p'.
485 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
486 as_ln_s='cp -p'
487 elif ln conf$$.file conf$$ 2>/dev/null; then
488 as_ln_s=ln
489 else
490 as_ln_s='cp -p'
492 else
493 as_ln_s='cp -p'
495 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
496 rmdir conf$$.dir 2>/dev/null
498 if mkdir -p . 2>/dev/null; then
499 as_mkdir_p='mkdir -p "$as_dir"'
500 else
501 test -d ./-p && rmdir ./-p
502 as_mkdir_p=false
505 if test -x / >/dev/null 2>&1; then
506 as_test_x='test -x'
507 else
508 if ls -dL / >/dev/null 2>&1; then
509 as_ls_L_option=L
510 else
511 as_ls_L_option=
513 as_test_x='
514 eval sh -c '\''
515 if test -d "$1"; then
516 test -d "$1/.";
517 else
518 case $1 in #(
519 -*)set "./$1";;
520 esac;
521 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
522 ???[sx]*):;;*)false;;esac;fi
523 '\'' sh
526 as_executable_p=$as_test_x
528 # Sed expression to map a string onto a valid CPP name.
529 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
531 # Sed expression to map a string onto a valid variable name.
532 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
534 SHELL=${CONFIG_SHELL-/bin/sh}
537 exec 7<&0 </dev/null 6>&1
539 # Name of the host.
540 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
541 # so uname gets run too.
542 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
545 # Initializations.
547 ac_default_prefix=/usr/local
548 ac_clean_files=
549 ac_config_libobj_dir=.
550 LIBOBJS=
551 cross_compiling=no
552 subdirs=
553 MFLAGS=
554 MAKEFLAGS=
556 # Identity of this package.
557 PACKAGE_NAME='GNU Fortran Runtime Library'
558 PACKAGE_TARNAME='libgfortran'
559 PACKAGE_VERSION='0.3'
560 PACKAGE_STRING='GNU Fortran Runtime Library 0.3'
561 PACKAGE_BUGREPORT=''
562 PACKAGE_URL='http://www.gnu.org/software/libgfortran/'
564 # Factoring default headers for most tests.
565 ac_includes_default="\
566 #include <stdio.h>
567 #ifdef HAVE_SYS_TYPES_H
568 # include <sys/types.h>
569 #endif
570 #ifdef HAVE_SYS_STAT_H
571 # include <sys/stat.h>
572 #endif
573 #ifdef STDC_HEADERS
574 # include <stdlib.h>
575 # include <stddef.h>
576 #else
577 # ifdef HAVE_STDLIB_H
578 # include <stdlib.h>
579 # endif
580 #endif
581 #ifdef HAVE_STRING_H
582 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
583 # include <memory.h>
584 # endif
585 # include <string.h>
586 #endif
587 #ifdef HAVE_STRINGS_H
588 # include <strings.h>
589 #endif
590 #ifdef HAVE_INTTYPES_H
591 # include <inttypes.h>
592 #endif
593 #ifdef HAVE_STDINT_H
594 # include <stdint.h>
595 #endif
596 #ifdef HAVE_UNISTD_H
597 # include <unistd.h>
598 #endif"
600 ac_header_list=
601 ac_func_list=
602 ac_c_werror_flag=
603 ac_c_werror_flag=
604 ac_subst_vars='am__EXEEXT_FALSE
605 am__EXEEXT_TRUE
606 LTLIBOBJS
607 LIBOBJS
608 IEEE_FLAGS
609 FPU_HOST_HEADER
610 LIBGFOR_BUILD_QUAD_FALSE
611 LIBGFOR_BUILD_QUAD_TRUE
612 LIBQUADINCLUDE
613 LIBQUADLIB_DEP
614 LIBQUADLIB
615 LIBQUADSPEC
616 extra_ldflags_libgfortran
617 ac_ct_FC
618 FCFLAGS
620 enable_static
621 enable_shared
622 lt_host_flags
623 OTOOL64
624 OTOOL
625 LIPO
626 NMEDIT
627 DSYMUTIL
628 OBJDUMP
629 LN_S
631 ac_ct_DUMPBIN
632 DUMPBIN
634 FGREP
636 LIBTOOL
637 RANLIB
640 SECTION_FLAGS
641 LIBGFOR_USE_SYMVER_SUN_FALSE
642 LIBGFOR_USE_SYMVER_SUN_TRUE
643 LIBGFOR_USE_SYMVER_GNU_FALSE
644 LIBGFOR_USE_SYMVER_GNU_TRUE
645 LIBGFOR_USE_SYMVER_FALSE
646 LIBGFOR_USE_SYMVER_TRUE
647 AM_CFLAGS
648 AM_FCFLAGS
649 toolexeclibdir
650 toolexecdir
651 EGREP
652 GREP
654 am__fastdepCC_FALSE
655 am__fastdepCC_TRUE
656 CCDEPMODE
657 am__nodep
658 AMDEPBACKSLASH
659 AMDEP_FALSE
660 AMDEP_TRUE
661 am__quote
662 am__include
663 DEPDIR
664 OBJEXT
665 EXEEXT
666 ac_ct_CC
667 CPPFLAGS
668 LDFLAGS
669 CFLAGS
671 multi_basedir
672 MAINT
673 MAINTAINER_MODE_FALSE
674 MAINTAINER_MODE_TRUE
675 am__untar
676 am__tar
677 AMTAR
678 am__leading_dot
679 SET_MAKE
681 mkdir_p
682 MKDIR_P
683 INSTALL_STRIP_PROGRAM
684 STRIP
685 install_sh
686 MAKEINFO
687 AUTOHEADER
688 AUTOMAKE
689 AUTOCONF
690 ACLOCAL
691 VERSION
692 PACKAGE
693 CYGPATH_W
694 am__isrc
695 INSTALL_DATA
696 INSTALL_SCRIPT
697 INSTALL_PROGRAM
698 target_noncanonical
699 target_os
700 target_vendor
701 target_cpu
702 target
703 host_os
704 host_vendor
705 host_cpu
706 host
707 onestep
708 onestep_FALSE
709 onestep_TRUE
710 target_subdir
711 host_subdir
712 build_subdir
713 build_libsubdir
714 build_os
715 build_vendor
716 build_cpu
717 build
718 target_alias
719 host_alias
720 build_alias
721 LIBS
722 ECHO_T
723 ECHO_N
724 ECHO_C
725 DEFS
726 mandir
727 localedir
728 libdir
729 psdir
730 pdfdir
731 dvidir
732 htmldir
733 infodir
734 docdir
735 oldincludedir
736 includedir
737 localstatedir
738 sharedstatedir
739 sysconfdir
740 datadir
741 datarootdir
742 libexecdir
743 sbindir
744 bindir
745 program_transform_name
746 prefix
747 exec_prefix
748 PACKAGE_URL
749 PACKAGE_BUGREPORT
750 PACKAGE_STRING
751 PACKAGE_VERSION
752 PACKAGE_TARNAME
753 PACKAGE_NAME
754 PATH_SEPARATOR
755 SHELL'
756 ac_subst_files=''
757 ac_user_opts='
758 enable_option_checking
759 with_build_libsubdir
760 enable_version_specific_runtime_libs
761 enable_intermodule
762 enable_maintainer_mode
763 enable_multilib
764 enable_dependency_tracking
765 enable_symvers
766 enable_shared
767 enable_static
768 with_pic
769 enable_fast_install
770 with_gnu_ld
771 enable_libtool_lock
772 enable_largefile
773 enable_libquadmath_support
774 with_system_libunwind
776 ac_precious_vars='build_alias
777 host_alias
778 target_alias
780 CFLAGS
781 LDFLAGS
782 LIBS
783 CPPFLAGS
786 FCFLAGS'
789 # Initialize some variables set by options.
790 ac_init_help=
791 ac_init_version=false
792 ac_unrecognized_opts=
793 ac_unrecognized_sep=
794 # The variables have the same names as the options, with
795 # dashes changed to underlines.
796 cache_file=/dev/null
797 exec_prefix=NONE
798 no_create=
799 no_recursion=
800 prefix=NONE
801 program_prefix=NONE
802 program_suffix=NONE
803 program_transform_name=s,x,x,
804 silent=
805 site=
806 srcdir=
807 verbose=
808 x_includes=NONE
809 x_libraries=NONE
811 # Installation directory options.
812 # These are left unexpanded so users can "make install exec_prefix=/foo"
813 # and all the variables that are supposed to be based on exec_prefix
814 # by default will actually change.
815 # Use braces instead of parens because sh, perl, etc. also accept them.
816 # (The list follows the same order as the GNU Coding Standards.)
817 bindir='${exec_prefix}/bin'
818 sbindir='${exec_prefix}/sbin'
819 libexecdir='${exec_prefix}/libexec'
820 datarootdir='${prefix}/share'
821 datadir='${datarootdir}'
822 sysconfdir='${prefix}/etc'
823 sharedstatedir='${prefix}/com'
824 localstatedir='${prefix}/var'
825 includedir='${prefix}/include'
826 oldincludedir='/usr/include'
827 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
828 infodir='${datarootdir}/info'
829 htmldir='${docdir}'
830 dvidir='${docdir}'
831 pdfdir='${docdir}'
832 psdir='${docdir}'
833 libdir='${exec_prefix}/lib'
834 localedir='${datarootdir}/locale'
835 mandir='${datarootdir}/man'
837 ac_prev=
838 ac_dashdash=
839 for ac_option
841 # If the previous option needs an argument, assign it.
842 if test -n "$ac_prev"; then
843 eval $ac_prev=\$ac_option
844 ac_prev=
845 continue
848 case $ac_option in
849 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
850 *) ac_optarg=yes ;;
851 esac
853 # Accept the important Cygnus configure options, so we can diagnose typos.
855 case $ac_dashdash$ac_option in
857 ac_dashdash=yes ;;
859 -bindir | --bindir | --bindi | --bind | --bin | --bi)
860 ac_prev=bindir ;;
861 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
862 bindir=$ac_optarg ;;
864 -build | --build | --buil | --bui | --bu)
865 ac_prev=build_alias ;;
866 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
867 build_alias=$ac_optarg ;;
869 -cache-file | --cache-file | --cache-fil | --cache-fi \
870 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
871 ac_prev=cache_file ;;
872 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
873 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
874 cache_file=$ac_optarg ;;
876 --config-cache | -C)
877 cache_file=config.cache ;;
879 -datadir | --datadir | --datadi | --datad)
880 ac_prev=datadir ;;
881 -datadir=* | --datadir=* | --datadi=* | --datad=*)
882 datadir=$ac_optarg ;;
884 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
885 | --dataroo | --dataro | --datar)
886 ac_prev=datarootdir ;;
887 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
888 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
889 datarootdir=$ac_optarg ;;
891 -disable-* | --disable-*)
892 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
893 # Reject names that are not valid shell variable names.
894 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
895 as_fn_error "invalid feature name: $ac_useropt"
896 ac_useropt_orig=$ac_useropt
897 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
898 case $ac_user_opts in
900 "enable_$ac_useropt"
901 "*) ;;
902 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
903 ac_unrecognized_sep=', ';;
904 esac
905 eval enable_$ac_useropt=no ;;
907 -docdir | --docdir | --docdi | --doc | --do)
908 ac_prev=docdir ;;
909 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
910 docdir=$ac_optarg ;;
912 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
913 ac_prev=dvidir ;;
914 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
915 dvidir=$ac_optarg ;;
917 -enable-* | --enable-*)
918 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
919 # Reject names that are not valid shell variable names.
920 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
921 as_fn_error "invalid feature name: $ac_useropt"
922 ac_useropt_orig=$ac_useropt
923 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
924 case $ac_user_opts in
926 "enable_$ac_useropt"
927 "*) ;;
928 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
929 ac_unrecognized_sep=', ';;
930 esac
931 eval enable_$ac_useropt=\$ac_optarg ;;
933 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
934 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
935 | --exec | --exe | --ex)
936 ac_prev=exec_prefix ;;
937 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
938 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
939 | --exec=* | --exe=* | --ex=*)
940 exec_prefix=$ac_optarg ;;
942 -gas | --gas | --ga | --g)
943 # Obsolete; use --with-gas.
944 with_gas=yes ;;
946 -help | --help | --hel | --he | -h)
947 ac_init_help=long ;;
948 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
949 ac_init_help=recursive ;;
950 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
951 ac_init_help=short ;;
953 -host | --host | --hos | --ho)
954 ac_prev=host_alias ;;
955 -host=* | --host=* | --hos=* | --ho=*)
956 host_alias=$ac_optarg ;;
958 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
959 ac_prev=htmldir ;;
960 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
961 | --ht=*)
962 htmldir=$ac_optarg ;;
964 -includedir | --includedir | --includedi | --included | --include \
965 | --includ | --inclu | --incl | --inc)
966 ac_prev=includedir ;;
967 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
968 | --includ=* | --inclu=* | --incl=* | --inc=*)
969 includedir=$ac_optarg ;;
971 -infodir | --infodir | --infodi | --infod | --info | --inf)
972 ac_prev=infodir ;;
973 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
974 infodir=$ac_optarg ;;
976 -libdir | --libdir | --libdi | --libd)
977 ac_prev=libdir ;;
978 -libdir=* | --libdir=* | --libdi=* | --libd=*)
979 libdir=$ac_optarg ;;
981 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
982 | --libexe | --libex | --libe)
983 ac_prev=libexecdir ;;
984 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
985 | --libexe=* | --libex=* | --libe=*)
986 libexecdir=$ac_optarg ;;
988 -localedir | --localedir | --localedi | --localed | --locale)
989 ac_prev=localedir ;;
990 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
991 localedir=$ac_optarg ;;
993 -localstatedir | --localstatedir | --localstatedi | --localstated \
994 | --localstate | --localstat | --localsta | --localst | --locals)
995 ac_prev=localstatedir ;;
996 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
997 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
998 localstatedir=$ac_optarg ;;
1000 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1001 ac_prev=mandir ;;
1002 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1003 mandir=$ac_optarg ;;
1005 -nfp | --nfp | --nf)
1006 # Obsolete; use --without-fp.
1007 with_fp=no ;;
1009 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1010 | --no-cr | --no-c | -n)
1011 no_create=yes ;;
1013 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1014 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1015 no_recursion=yes ;;
1017 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1018 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1019 | --oldin | --oldi | --old | --ol | --o)
1020 ac_prev=oldincludedir ;;
1021 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1022 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1023 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1024 oldincludedir=$ac_optarg ;;
1026 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1027 ac_prev=prefix ;;
1028 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1029 prefix=$ac_optarg ;;
1031 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1032 | --program-pre | --program-pr | --program-p)
1033 ac_prev=program_prefix ;;
1034 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1035 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1036 program_prefix=$ac_optarg ;;
1038 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1039 | --program-suf | --program-su | --program-s)
1040 ac_prev=program_suffix ;;
1041 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1042 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1043 program_suffix=$ac_optarg ;;
1045 -program-transform-name | --program-transform-name \
1046 | --program-transform-nam | --program-transform-na \
1047 | --program-transform-n | --program-transform- \
1048 | --program-transform | --program-transfor \
1049 | --program-transfo | --program-transf \
1050 | --program-trans | --program-tran \
1051 | --progr-tra | --program-tr | --program-t)
1052 ac_prev=program_transform_name ;;
1053 -program-transform-name=* | --program-transform-name=* \
1054 | --program-transform-nam=* | --program-transform-na=* \
1055 | --program-transform-n=* | --program-transform-=* \
1056 | --program-transform=* | --program-transfor=* \
1057 | --program-transfo=* | --program-transf=* \
1058 | --program-trans=* | --program-tran=* \
1059 | --progr-tra=* | --program-tr=* | --program-t=*)
1060 program_transform_name=$ac_optarg ;;
1062 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1063 ac_prev=pdfdir ;;
1064 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1065 pdfdir=$ac_optarg ;;
1067 -psdir | --psdir | --psdi | --psd | --ps)
1068 ac_prev=psdir ;;
1069 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1070 psdir=$ac_optarg ;;
1072 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1073 | -silent | --silent | --silen | --sile | --sil)
1074 silent=yes ;;
1076 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1077 ac_prev=sbindir ;;
1078 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1079 | --sbi=* | --sb=*)
1080 sbindir=$ac_optarg ;;
1082 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1083 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1084 | --sharedst | --shareds | --shared | --share | --shar \
1085 | --sha | --sh)
1086 ac_prev=sharedstatedir ;;
1087 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1088 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1089 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1090 | --sha=* | --sh=*)
1091 sharedstatedir=$ac_optarg ;;
1093 -site | --site | --sit)
1094 ac_prev=site ;;
1095 -site=* | --site=* | --sit=*)
1096 site=$ac_optarg ;;
1098 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1099 ac_prev=srcdir ;;
1100 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1101 srcdir=$ac_optarg ;;
1103 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1104 | --syscon | --sysco | --sysc | --sys | --sy)
1105 ac_prev=sysconfdir ;;
1106 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1107 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1108 sysconfdir=$ac_optarg ;;
1110 -target | --target | --targe | --targ | --tar | --ta | --t)
1111 ac_prev=target_alias ;;
1112 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1113 target_alias=$ac_optarg ;;
1115 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1116 verbose=yes ;;
1118 -version | --version | --versio | --versi | --vers | -V)
1119 ac_init_version=: ;;
1121 -with-* | --with-*)
1122 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1123 # Reject names that are not valid shell variable names.
1124 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1125 as_fn_error "invalid package name: $ac_useropt"
1126 ac_useropt_orig=$ac_useropt
1127 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1128 case $ac_user_opts in
1130 "with_$ac_useropt"
1131 "*) ;;
1132 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1133 ac_unrecognized_sep=', ';;
1134 esac
1135 eval with_$ac_useropt=\$ac_optarg ;;
1137 -without-* | --without-*)
1138 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1139 # Reject names that are not valid shell variable names.
1140 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1141 as_fn_error "invalid package name: $ac_useropt"
1142 ac_useropt_orig=$ac_useropt
1143 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1144 case $ac_user_opts in
1146 "with_$ac_useropt"
1147 "*) ;;
1148 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1149 ac_unrecognized_sep=', ';;
1150 esac
1151 eval with_$ac_useropt=no ;;
1153 --x)
1154 # Obsolete; use --with-x.
1155 with_x=yes ;;
1157 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1158 | --x-incl | --x-inc | --x-in | --x-i)
1159 ac_prev=x_includes ;;
1160 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1161 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1162 x_includes=$ac_optarg ;;
1164 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1165 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1166 ac_prev=x_libraries ;;
1167 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1168 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1169 x_libraries=$ac_optarg ;;
1171 -*) as_fn_error "unrecognized option: \`$ac_option'
1172 Try \`$0 --help' for more information."
1175 *=*)
1176 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1177 # Reject names that are not valid shell variable names.
1178 case $ac_envvar in #(
1179 '' | [0-9]* | *[!_$as_cr_alnum]* )
1180 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1181 esac
1182 eval $ac_envvar=\$ac_optarg
1183 export $ac_envvar ;;
1186 # FIXME: should be removed in autoconf 3.0.
1187 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1188 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1189 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1190 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1193 esac
1194 done
1196 if test -n "$ac_prev"; then
1197 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1198 as_fn_error "missing argument to $ac_option"
1201 if test -n "$ac_unrecognized_opts"; then
1202 case $enable_option_checking in
1203 no) ;;
1204 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1205 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1206 esac
1209 # Check all directory arguments for consistency.
1210 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1211 datadir sysconfdir sharedstatedir localstatedir includedir \
1212 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1213 libdir localedir mandir
1215 eval ac_val=\$$ac_var
1216 # Remove trailing slashes.
1217 case $ac_val in
1218 */ )
1219 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1220 eval $ac_var=\$ac_val;;
1221 esac
1222 # Be sure to have absolute directory names.
1223 case $ac_val in
1224 [\\/$]* | ?:[\\/]* ) continue;;
1225 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1226 esac
1227 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1228 done
1230 # There might be people who depend on the old broken behavior: `$host'
1231 # used to hold the argument of --host etc.
1232 # FIXME: To remove some day.
1233 build=$build_alias
1234 host=$host_alias
1235 target=$target_alias
1237 # FIXME: To remove some day.
1238 if test "x$host_alias" != x; then
1239 if test "x$build_alias" = x; then
1240 cross_compiling=maybe
1241 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1242 If a cross compiler is detected then cross compile mode will be used." >&2
1243 elif test "x$build_alias" != "x$host_alias"; then
1244 cross_compiling=yes
1248 ac_tool_prefix=
1249 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1251 test "$silent" = yes && exec 6>/dev/null
1254 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1255 ac_ls_di=`ls -di .` &&
1256 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1257 as_fn_error "working directory cannot be determined"
1258 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1259 as_fn_error "pwd does not report name of working directory"
1262 # Find the source files, if location was not specified.
1263 if test -z "$srcdir"; then
1264 ac_srcdir_defaulted=yes
1265 # Try the directory containing this script, then the parent directory.
1266 ac_confdir=`$as_dirname -- "$as_myself" ||
1267 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1268 X"$as_myself" : 'X\(//\)[^/]' \| \
1269 X"$as_myself" : 'X\(//\)$' \| \
1270 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1271 $as_echo X"$as_myself" |
1272 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1273 s//\1/
1276 /^X\(\/\/\)[^/].*/{
1277 s//\1/
1280 /^X\(\/\/\)$/{
1281 s//\1/
1284 /^X\(\/\).*/{
1285 s//\1/
1288 s/.*/./; q'`
1289 srcdir=$ac_confdir
1290 if test ! -r "$srcdir/$ac_unique_file"; then
1291 srcdir=..
1293 else
1294 ac_srcdir_defaulted=no
1296 if test ! -r "$srcdir/$ac_unique_file"; then
1297 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1298 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1300 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1301 ac_abs_confdir=`(
1302 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1303 pwd)`
1304 # When building in place, set srcdir=.
1305 if test "$ac_abs_confdir" = "$ac_pwd"; then
1306 srcdir=.
1308 # Remove unnecessary trailing slashes from srcdir.
1309 # Double slashes in file names in object file debugging info
1310 # mess up M-x gdb in Emacs.
1311 case $srcdir in
1312 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1313 esac
1314 for ac_var in $ac_precious_vars; do
1315 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1316 eval ac_env_${ac_var}_value=\$${ac_var}
1317 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1318 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1319 done
1322 # Report the --help message.
1324 if test "$ac_init_help" = "long"; then
1325 # Omit some internal or obsolete options to make the list less imposing.
1326 # This message is too long to be a string in the A/UX 3.1 sh.
1327 cat <<_ACEOF
1328 \`configure' configures GNU Fortran Runtime Library 0.3 to adapt to many kinds of systems.
1330 Usage: $0 [OPTION]... [VAR=VALUE]...
1332 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1333 VAR=VALUE. See below for descriptions of some of the useful variables.
1335 Defaults for the options are specified in brackets.
1337 Configuration:
1338 -h, --help display this help and exit
1339 --help=short display options specific to this package
1340 --help=recursive display the short help of all the included packages
1341 -V, --version display version information and exit
1342 -q, --quiet, --silent do not print \`checking...' messages
1343 --cache-file=FILE cache test results in FILE [disabled]
1344 -C, --config-cache alias for \`--cache-file=config.cache'
1345 -n, --no-create do not create output files
1346 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1348 Installation directories:
1349 --prefix=PREFIX install architecture-independent files in PREFIX
1350 [$ac_default_prefix]
1351 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1352 [PREFIX]
1354 By default, \`make install' will install all the files in
1355 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1356 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1357 for instance \`--prefix=\$HOME'.
1359 For better control, use the options below.
1361 Fine tuning of the installation directories:
1362 --bindir=DIR user executables [EPREFIX/bin]
1363 --sbindir=DIR system admin executables [EPREFIX/sbin]
1364 --libexecdir=DIR program executables [EPREFIX/libexec]
1365 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1366 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1367 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1368 --libdir=DIR object code libraries [EPREFIX/lib]
1369 --includedir=DIR C header files [PREFIX/include]
1370 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1371 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1372 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1373 --infodir=DIR info documentation [DATAROOTDIR/info]
1374 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1375 --mandir=DIR man documentation [DATAROOTDIR/man]
1376 --docdir=DIR documentation root [DATAROOTDIR/doc/libgfortran]
1377 --htmldir=DIR html documentation [DOCDIR]
1378 --dvidir=DIR dvi documentation [DOCDIR]
1379 --pdfdir=DIR pdf documentation [DOCDIR]
1380 --psdir=DIR ps documentation [DOCDIR]
1381 _ACEOF
1383 cat <<\_ACEOF
1385 Program names:
1386 --program-prefix=PREFIX prepend PREFIX to installed program names
1387 --program-suffix=SUFFIX append SUFFIX to installed program names
1388 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1390 System types:
1391 --build=BUILD configure for building on BUILD [guessed]
1392 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1393 --target=TARGET configure for building compilers for TARGET [HOST]
1394 _ACEOF
1397 if test -n "$ac_init_help"; then
1398 case $ac_init_help in
1399 short | recursive ) echo "Configuration of GNU Fortran Runtime Library 0.3:";;
1400 esac
1401 cat <<\_ACEOF
1403 Optional Features:
1404 --disable-option-checking ignore unrecognized --enable/--with options
1405 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1406 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1407 --enable-version-specific-runtime-libs
1408 specify that runtime libraries should be installed
1409 in a compiler-specific directory
1410 --enable-intermodule build the library in one step
1411 --enable-maintainer-mode enable make rules and dependencies not useful
1412 (and sometimes confusing) to the casual installer
1413 --enable-multilib build many library versions (default)
1414 --disable-dependency-tracking speeds up one-time build
1415 --enable-dependency-tracking do not reject slow dependency extractors
1416 --disable-symvers disable symbol versioning for libgfortran
1417 --enable-shared[=PKGS] build shared libraries [default=yes]
1418 --enable-static[=PKGS] build static libraries [default=yes]
1419 --enable-fast-install[=PKGS]
1420 optimize for fast installation [default=yes]
1421 --disable-libtool-lock avoid locking (might break parallel builds)
1422 --disable-largefile omit support for large files
1423 --disable-libquadmath-support
1424 disable libquadmath support for Fortran
1426 Optional Packages:
1427 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1428 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1429 --with-build-libsubdir=DIR Directory where to find libraries for build system
1430 --with-pic try to use only PIC/non-PIC objects [default=use
1431 both]
1432 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1433 --with-system-libunwind use installed libunwind
1435 Some influential environment variables:
1436 CC C compiler command
1437 CFLAGS C compiler flags
1438 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1439 nonstandard directory <lib dir>
1440 LIBS libraries to pass to the linker, e.g. -l<library>
1441 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1442 you have headers in a nonstandard directory <include dir>
1443 CPP C preprocessor
1444 FC Fortran compiler command
1445 FCFLAGS Fortran compiler flags
1447 Use these variables to override the choices made by `configure' or to help
1448 it to find libraries and programs with nonstandard names/locations.
1450 Report bugs to the package provider.
1451 GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
1452 General help using GNU software: <http://www.gnu.org/gethelp/>.
1453 _ACEOF
1454 ac_status=$?
1457 if test "$ac_init_help" = "recursive"; then
1458 # If there are subdirs, report their specific --help.
1459 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1460 test -d "$ac_dir" ||
1461 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1462 continue
1463 ac_builddir=.
1465 case "$ac_dir" in
1466 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1468 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1469 # A ".." for each directory in $ac_dir_suffix.
1470 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1471 case $ac_top_builddir_sub in
1472 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1473 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1474 esac ;;
1475 esac
1476 ac_abs_top_builddir=$ac_pwd
1477 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1478 # for backward compatibility:
1479 ac_top_builddir=$ac_top_build_prefix
1481 case $srcdir in
1482 .) # We are building in place.
1483 ac_srcdir=.
1484 ac_top_srcdir=$ac_top_builddir_sub
1485 ac_abs_top_srcdir=$ac_pwd ;;
1486 [\\/]* | ?:[\\/]* ) # Absolute name.
1487 ac_srcdir=$srcdir$ac_dir_suffix;
1488 ac_top_srcdir=$srcdir
1489 ac_abs_top_srcdir=$srcdir ;;
1490 *) # Relative name.
1491 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1492 ac_top_srcdir=$ac_top_build_prefix$srcdir
1493 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1494 esac
1495 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1497 cd "$ac_dir" || { ac_status=$?; continue; }
1498 # Check for guested configure.
1499 if test -f "$ac_srcdir/configure.gnu"; then
1500 echo &&
1501 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1502 elif test -f "$ac_srcdir/configure"; then
1503 echo &&
1504 $SHELL "$ac_srcdir/configure" --help=recursive
1505 else
1506 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1507 fi || ac_status=$?
1508 cd "$ac_pwd" || { ac_status=$?; break; }
1509 done
1512 test -n "$ac_init_help" && exit $ac_status
1513 if $ac_init_version; then
1514 cat <<\_ACEOF
1515 GNU Fortran Runtime Library configure 0.3
1516 generated by GNU Autoconf 2.64
1518 Copyright (C) 2009 Free Software Foundation, Inc.
1519 This configure script is free software; the Free Software Foundation
1520 gives unlimited permission to copy, distribute and modify it.
1521 _ACEOF
1522 exit
1525 ## ------------------------ ##
1526 ## Autoconf initialization. ##
1527 ## ------------------------ ##
1529 # ac_fn_c_try_compile LINENO
1530 # --------------------------
1531 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1532 ac_fn_c_try_compile ()
1534 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1535 rm -f conftest.$ac_objext
1536 if { { ac_try="$ac_compile"
1537 case "(($ac_try" in
1538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1539 *) ac_try_echo=$ac_try;;
1540 esac
1541 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1542 $as_echo "$ac_try_echo"; } >&5
1543 (eval "$ac_compile") 2>conftest.err
1544 ac_status=$?
1545 if test -s conftest.err; then
1546 grep -v '^ *+' conftest.err >conftest.er1
1547 cat conftest.er1 >&5
1548 mv -f conftest.er1 conftest.err
1550 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1551 test $ac_status = 0; } && {
1552 test -z "$ac_c_werror_flag" ||
1553 test ! -s conftest.err
1554 } && test -s conftest.$ac_objext; then :
1555 ac_retval=0
1556 else
1557 $as_echo "$as_me: failed program was:" >&5
1558 sed 's/^/| /' conftest.$ac_ext >&5
1560 ac_retval=1
1562 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1563 return $ac_retval
1565 } # ac_fn_c_try_compile
1567 # ac_fn_c_try_cpp LINENO
1568 # ----------------------
1569 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1570 ac_fn_c_try_cpp ()
1572 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1573 if { { ac_try="$ac_cpp conftest.$ac_ext"
1574 case "(($ac_try" in
1575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1576 *) ac_try_echo=$ac_try;;
1577 esac
1578 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1579 $as_echo "$ac_try_echo"; } >&5
1580 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1581 ac_status=$?
1582 if test -s conftest.err; then
1583 grep -v '^ *+' conftest.err >conftest.er1
1584 cat conftest.er1 >&5
1585 mv -f conftest.er1 conftest.err
1587 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1588 test $ac_status = 0; } >/dev/null && {
1589 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1590 test ! -s conftest.err
1591 }; then :
1592 ac_retval=0
1593 else
1594 $as_echo "$as_me: failed program was:" >&5
1595 sed 's/^/| /' conftest.$ac_ext >&5
1597 ac_retval=1
1599 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1600 return $ac_retval
1602 } # ac_fn_c_try_cpp
1604 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1605 # -------------------------------------------------------
1606 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1607 # the include files in INCLUDES and setting the cache variable VAR
1608 # accordingly.
1609 ac_fn_c_check_header_mongrel ()
1611 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1612 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1614 $as_echo_n "checking for $2... " >&6; }
1615 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1616 $as_echo_n "(cached) " >&6
1618 eval ac_res=\$$3
1619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1620 $as_echo "$ac_res" >&6; }
1621 else
1622 # Is the header compilable?
1623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1624 $as_echo_n "checking $2 usability... " >&6; }
1625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1626 /* end confdefs.h. */
1628 #include <$2>
1629 _ACEOF
1630 if ac_fn_c_try_compile "$LINENO"; then :
1631 ac_header_compiler=yes
1632 else
1633 ac_header_compiler=no
1635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1637 $as_echo "$ac_header_compiler" >&6; }
1639 # Is the header present?
1640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1641 $as_echo_n "checking $2 presence... " >&6; }
1642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1643 /* end confdefs.h. */
1644 #include <$2>
1645 _ACEOF
1646 if ac_fn_c_try_cpp "$LINENO"; then :
1647 ac_header_preproc=yes
1648 else
1649 ac_header_preproc=no
1651 rm -f conftest.err conftest.$ac_ext
1652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1653 $as_echo "$ac_header_preproc" >&6; }
1655 # So? What about this header?
1656 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1657 yes:no: )
1658 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1659 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1660 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1661 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1663 no:yes:* )
1664 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1665 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1666 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1667 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1668 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1669 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1670 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1671 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1672 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1673 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1675 esac
1676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1677 $as_echo_n "checking for $2... " >&6; }
1678 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1679 $as_echo_n "(cached) " >&6
1680 else
1681 eval "$3=\$ac_header_compiler"
1683 eval ac_res=\$$3
1684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1685 $as_echo "$ac_res" >&6; }
1687 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1689 } # ac_fn_c_check_header_mongrel
1691 # ac_fn_c_try_run LINENO
1692 # ----------------------
1693 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1694 # that executables *can* be run.
1695 ac_fn_c_try_run ()
1697 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1698 if { { ac_try="$ac_link"
1699 case "(($ac_try" in
1700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1701 *) ac_try_echo=$ac_try;;
1702 esac
1703 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1704 $as_echo "$ac_try_echo"; } >&5
1705 (eval "$ac_link") 2>&5
1706 ac_status=$?
1707 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1708 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1709 { { case "(($ac_try" in
1710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1711 *) ac_try_echo=$ac_try;;
1712 esac
1713 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1714 $as_echo "$ac_try_echo"; } >&5
1715 (eval "$ac_try") 2>&5
1716 ac_status=$?
1717 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1718 test $ac_status = 0; }; }; then :
1719 ac_retval=0
1720 else
1721 $as_echo "$as_me: program exited with status $ac_status" >&5
1722 $as_echo "$as_me: failed program was:" >&5
1723 sed 's/^/| /' conftest.$ac_ext >&5
1725 ac_retval=$ac_status
1727 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1728 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1729 return $ac_retval
1731 } # ac_fn_c_try_run
1733 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1734 # -------------------------------------------------------
1735 # Tests whether HEADER exists and can be compiled using the include files in
1736 # INCLUDES, setting the cache variable VAR accordingly.
1737 ac_fn_c_check_header_compile ()
1739 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1741 $as_echo_n "checking for $2... " >&6; }
1742 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1743 $as_echo_n "(cached) " >&6
1744 else
1745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1746 /* end confdefs.h. */
1748 #include <$2>
1749 _ACEOF
1750 if ac_fn_c_try_compile "$LINENO"; then :
1751 eval "$3=yes"
1752 else
1753 eval "$3=no"
1755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1757 eval ac_res=\$$3
1758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1759 $as_echo "$ac_res" >&6; }
1760 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1762 } # ac_fn_c_check_header_compile
1764 # ac_fn_c_try_link LINENO
1765 # -----------------------
1766 # Try to link conftest.$ac_ext, and return whether this succeeded.
1767 ac_fn_c_try_link ()
1769 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1770 rm -f conftest.$ac_objext conftest$ac_exeext
1771 if { { ac_try="$ac_link"
1772 case "(($ac_try" in
1773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1774 *) ac_try_echo=$ac_try;;
1775 esac
1776 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1777 $as_echo "$ac_try_echo"; } >&5
1778 (eval "$ac_link") 2>conftest.err
1779 ac_status=$?
1780 if test -s conftest.err; then
1781 grep -v '^ *+' conftest.err >conftest.er1
1782 cat conftest.er1 >&5
1783 mv -f conftest.er1 conftest.err
1785 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1786 test $ac_status = 0; } && {
1787 test -z "$ac_c_werror_flag" ||
1788 test ! -s conftest.err
1789 } && test -s conftest$ac_exeext && {
1790 test "$cross_compiling" = yes ||
1791 $as_test_x conftest$ac_exeext
1792 }; then :
1793 ac_retval=0
1794 else
1795 $as_echo "$as_me: failed program was:" >&5
1796 sed 's/^/| /' conftest.$ac_ext >&5
1798 ac_retval=1
1800 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1801 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1802 # interfere with the next link command; also delete a directory that is
1803 # left behind by Apple's compiler. We do this before executing the actions.
1804 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1805 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1806 return $ac_retval
1808 } # ac_fn_c_try_link
1810 # ac_fn_c_check_func LINENO FUNC VAR
1811 # ----------------------------------
1812 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1813 ac_fn_c_check_func ()
1815 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1817 $as_echo_n "checking for $2... " >&6; }
1818 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1819 $as_echo_n "(cached) " >&6
1820 else
1821 if test x$gcc_no_link = xyes; then
1822 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1825 /* end confdefs.h. */
1826 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1827 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1828 #define $2 innocuous_$2
1830 /* System header to define __stub macros and hopefully few prototypes,
1831 which can conflict with char $2 (); below.
1832 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1833 <limits.h> exists even on freestanding compilers. */
1835 #ifdef __STDC__
1836 # include <limits.h>
1837 #else
1838 # include <assert.h>
1839 #endif
1841 #undef $2
1843 /* Override any GCC internal prototype to avoid an error.
1844 Use char because int might match the return type of a GCC
1845 builtin and then its argument prototype would still apply. */
1846 #ifdef __cplusplus
1847 extern "C"
1848 #endif
1849 char $2 ();
1850 /* The GNU C library defines this for functions which it implements
1851 to always fail with ENOSYS. Some functions are actually named
1852 something starting with __ and the normal name is an alias. */
1853 #if defined __stub_$2 || defined __stub___$2
1854 choke me
1855 #endif
1858 main ()
1860 return $2 ();
1862 return 0;
1864 _ACEOF
1865 if ac_fn_c_try_link "$LINENO"; then :
1866 eval "$3=yes"
1867 else
1868 eval "$3=no"
1870 rm -f core conftest.err conftest.$ac_objext \
1871 conftest$ac_exeext conftest.$ac_ext
1873 eval ac_res=\$$3
1874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1875 $as_echo "$ac_res" >&6; }
1876 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1878 } # ac_fn_c_check_func
1880 # ac_fn_fc_try_compile LINENO
1881 # ---------------------------
1882 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1883 ac_fn_fc_try_compile ()
1885 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1886 rm -f conftest.$ac_objext
1887 if { { ac_try="$ac_compile"
1888 case "(($ac_try" in
1889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1890 *) ac_try_echo=$ac_try;;
1891 esac
1892 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1893 $as_echo "$ac_try_echo"; } >&5
1894 (eval "$ac_compile") 2>conftest.err
1895 ac_status=$?
1896 if test -s conftest.err; then
1897 grep -v '^ *+' conftest.err >conftest.er1
1898 cat conftest.er1 >&5
1899 mv -f conftest.er1 conftest.err
1901 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1902 test $ac_status = 0; } && {
1903 test -z "$ac_fc_werror_flag" ||
1904 test ! -s conftest.err
1905 } && test -s conftest.$ac_objext; then :
1906 ac_retval=0
1907 else
1908 $as_echo "$as_me: failed program was:" >&5
1909 sed 's/^/| /' conftest.$ac_ext >&5
1911 ac_retval=1
1913 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1914 return $ac_retval
1916 } # ac_fn_fc_try_compile
1918 # ac_fn_fc_try_link LINENO
1919 # ------------------------
1920 # Try to link conftest.$ac_ext, and return whether this succeeded.
1921 ac_fn_fc_try_link ()
1923 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1924 rm -f conftest.$ac_objext conftest$ac_exeext
1925 if { { ac_try="$ac_link"
1926 case "(($ac_try" in
1927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1928 *) ac_try_echo=$ac_try;;
1929 esac
1930 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1931 $as_echo "$ac_try_echo"; } >&5
1932 (eval "$ac_link") 2>conftest.err
1933 ac_status=$?
1934 if test -s conftest.err; then
1935 grep -v '^ *+' conftest.err >conftest.er1
1936 cat conftest.er1 >&5
1937 mv -f conftest.er1 conftest.err
1939 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1940 test $ac_status = 0; } && {
1941 test -z "$ac_fc_werror_flag" ||
1942 test ! -s conftest.err
1943 } && test -s conftest$ac_exeext && {
1944 test "$cross_compiling" = yes ||
1945 $as_test_x conftest$ac_exeext
1946 }; then :
1947 ac_retval=0
1948 else
1949 $as_echo "$as_me: failed program was:" >&5
1950 sed 's/^/| /' conftest.$ac_ext >&5
1952 ac_retval=1
1954 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1955 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1956 # interfere with the next link command; also delete a directory that is
1957 # left behind by Apple's compiler. We do this before executing the actions.
1958 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1959 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1960 return $ac_retval
1962 } # ac_fn_fc_try_link
1964 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1965 # -------------------------------------------
1966 # Tests whether TYPE exists after having included INCLUDES, setting cache
1967 # variable VAR accordingly.
1968 ac_fn_c_check_type ()
1970 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1972 $as_echo_n "checking for $2... " >&6; }
1973 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1974 $as_echo_n "(cached) " >&6
1975 else
1976 eval "$3=no"
1977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1978 /* end confdefs.h. */
1981 main ()
1983 if (sizeof ($2))
1984 return 0;
1986 return 0;
1988 _ACEOF
1989 if ac_fn_c_try_compile "$LINENO"; then :
1990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1991 /* end confdefs.h. */
1994 main ()
1996 if (sizeof (($2)))
1997 return 0;
1999 return 0;
2001 _ACEOF
2002 if ac_fn_c_try_compile "$LINENO"; then :
2004 else
2005 eval "$3=yes"
2007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2011 eval ac_res=\$$3
2012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2013 $as_echo "$ac_res" >&6; }
2014 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2016 } # ac_fn_c_check_type
2018 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2019 # --------------------------------------------
2020 # Tries to find the compile-time value of EXPR in a program that includes
2021 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2022 # computed
2023 ac_fn_c_compute_int ()
2025 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2026 if test "$cross_compiling" = yes; then
2027 # Depending upon the size, compute the lo and hi bounds.
2028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2029 /* end confdefs.h. */
2032 main ()
2034 static int test_array [1 - 2 * !(($2) >= 0)];
2035 test_array [0] = 0
2038 return 0;
2040 _ACEOF
2041 if ac_fn_c_try_compile "$LINENO"; then :
2042 ac_lo=0 ac_mid=0
2043 while :; do
2044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2045 /* end confdefs.h. */
2048 main ()
2050 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2051 test_array [0] = 0
2054 return 0;
2056 _ACEOF
2057 if ac_fn_c_try_compile "$LINENO"; then :
2058 ac_hi=$ac_mid; break
2059 else
2060 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2061 if test $ac_lo -le $ac_mid; then
2062 ac_lo= ac_hi=
2063 break
2065 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2068 done
2069 else
2070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2071 /* end confdefs.h. */
2074 main ()
2076 static int test_array [1 - 2 * !(($2) < 0)];
2077 test_array [0] = 0
2080 return 0;
2082 _ACEOF
2083 if ac_fn_c_try_compile "$LINENO"; then :
2084 ac_hi=-1 ac_mid=-1
2085 while :; do
2086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2087 /* end confdefs.h. */
2090 main ()
2092 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2093 test_array [0] = 0
2096 return 0;
2098 _ACEOF
2099 if ac_fn_c_try_compile "$LINENO"; then :
2100 ac_lo=$ac_mid; break
2101 else
2102 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2103 if test $ac_mid -le $ac_hi; then
2104 ac_lo= ac_hi=
2105 break
2107 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2110 done
2111 else
2112 ac_lo= ac_hi=
2114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2117 # Binary search between lo and hi bounds.
2118 while test "x$ac_lo" != "x$ac_hi"; do
2119 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2121 /* end confdefs.h. */
2124 main ()
2126 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2127 test_array [0] = 0
2130 return 0;
2132 _ACEOF
2133 if ac_fn_c_try_compile "$LINENO"; then :
2134 ac_hi=$ac_mid
2135 else
2136 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2139 done
2140 case $ac_lo in #((
2141 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2142 '') ac_retval=1 ;;
2143 esac
2144 else
2145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2146 /* end confdefs.h. */
2148 static long int longval () { return $2; }
2149 static unsigned long int ulongval () { return $2; }
2150 #include <stdio.h>
2151 #include <stdlib.h>
2153 main ()
2156 FILE *f = fopen ("conftest.val", "w");
2157 if (! f)
2158 return 1;
2159 if (($2) < 0)
2161 long int i = longval ();
2162 if (i != ($2))
2163 return 1;
2164 fprintf (f, "%ld", i);
2166 else
2168 unsigned long int i = ulongval ();
2169 if (i != ($2))
2170 return 1;
2171 fprintf (f, "%lu", i);
2173 /* Do not output a trailing newline, as this causes \r\n confusion
2174 on some platforms. */
2175 return ferror (f) || fclose (f) != 0;
2178 return 0;
2180 _ACEOF
2181 if ac_fn_c_try_run "$LINENO"; then :
2182 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2183 else
2184 ac_retval=1
2186 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2187 conftest.$ac_objext conftest.beam conftest.$ac_ext
2188 rm -f conftest.val
2191 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2192 return $ac_retval
2194 } # ac_fn_c_compute_int
2196 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2197 # ----------------------------------------------------
2198 # Tries to find if the field MEMBER exists in type AGGR, after including
2199 # INCLUDES, setting cache variable VAR accordingly.
2200 ac_fn_c_check_member ()
2202 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2204 $as_echo_n "checking for $2.$3... " >&6; }
2205 if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
2206 $as_echo_n "(cached) " >&6
2207 else
2208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2209 /* end confdefs.h. */
2212 main ()
2214 static $2 ac_aggr;
2215 if (ac_aggr.$3)
2216 return 0;
2218 return 0;
2220 _ACEOF
2221 if ac_fn_c_try_compile "$LINENO"; then :
2222 eval "$4=yes"
2223 else
2224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2225 /* end confdefs.h. */
2228 main ()
2230 static $2 ac_aggr;
2231 if (sizeof ac_aggr.$3)
2232 return 0;
2234 return 0;
2236 _ACEOF
2237 if ac_fn_c_try_compile "$LINENO"; then :
2238 eval "$4=yes"
2239 else
2240 eval "$4=no"
2242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2246 eval ac_res=\$$4
2247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2248 $as_echo "$ac_res" >&6; }
2249 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2251 } # ac_fn_c_check_member
2252 cat >config.log <<_ACEOF
2253 This file contains any messages produced by compilers while
2254 running configure, to aid debugging if configure makes a mistake.
2256 It was created by GNU Fortran Runtime Library $as_me 0.3, which was
2257 generated by GNU Autoconf 2.64. Invocation command line was
2259 $ $0 $@
2261 _ACEOF
2262 exec 5>>config.log
2264 cat <<_ASUNAME
2265 ## --------- ##
2266 ## Platform. ##
2267 ## --------- ##
2269 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2270 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2271 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2272 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2273 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2275 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2276 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2278 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2279 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2280 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2281 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2282 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2283 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2284 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2286 _ASUNAME
2288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2289 for as_dir in $PATH
2291 IFS=$as_save_IFS
2292 test -z "$as_dir" && as_dir=.
2293 $as_echo "PATH: $as_dir"
2294 done
2295 IFS=$as_save_IFS
2297 } >&5
2299 cat >&5 <<_ACEOF
2302 ## ----------- ##
2303 ## Core tests. ##
2304 ## ----------- ##
2306 _ACEOF
2309 # Keep a trace of the command line.
2310 # Strip out --no-create and --no-recursion so they do not pile up.
2311 # Strip out --silent because we don't want to record it for future runs.
2312 # Also quote any args containing shell meta-characters.
2313 # Make two passes to allow for proper duplicate-argument suppression.
2314 ac_configure_args=
2315 ac_configure_args0=
2316 ac_configure_args1=
2317 ac_must_keep_next=false
2318 for ac_pass in 1 2
2320 for ac_arg
2322 case $ac_arg in
2323 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2324 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2325 | -silent | --silent | --silen | --sile | --sil)
2326 continue ;;
2327 *\'*)
2328 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2329 esac
2330 case $ac_pass in
2331 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2333 as_fn_append ac_configure_args1 " '$ac_arg'"
2334 if test $ac_must_keep_next = true; then
2335 ac_must_keep_next=false # Got value, back to normal.
2336 else
2337 case $ac_arg in
2338 *=* | --config-cache | -C | -disable-* | --disable-* \
2339 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2340 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2341 | -with-* | --with-* | -without-* | --without-* | --x)
2342 case "$ac_configure_args0 " in
2343 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2344 esac
2346 -* ) ac_must_keep_next=true ;;
2347 esac
2349 as_fn_append ac_configure_args " '$ac_arg'"
2351 esac
2352 done
2353 done
2354 { ac_configure_args0=; unset ac_configure_args0;}
2355 { ac_configure_args1=; unset ac_configure_args1;}
2357 # When interrupted or exit'd, cleanup temporary files, and complete
2358 # config.log. We remove comments because anyway the quotes in there
2359 # would cause problems or look ugly.
2360 # WARNING: Use '\'' to represent an apostrophe within the trap.
2361 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2362 trap 'exit_status=$?
2363 # Save into config.log some information that might help in debugging.
2365 echo
2367 cat <<\_ASBOX
2368 ## ---------------- ##
2369 ## Cache variables. ##
2370 ## ---------------- ##
2371 _ASBOX
2372 echo
2373 # The following way of writing the cache mishandles newlines in values,
2375 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2376 eval ac_val=\$$ac_var
2377 case $ac_val in #(
2378 *${as_nl}*)
2379 case $ac_var in #(
2380 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2381 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2382 esac
2383 case $ac_var in #(
2384 _ | IFS | as_nl) ;; #(
2385 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2386 *) { eval $ac_var=; unset $ac_var;} ;;
2387 esac ;;
2388 esac
2389 done
2390 (set) 2>&1 |
2391 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2392 *${as_nl}ac_space=\ *)
2393 sed -n \
2394 "s/'\''/'\''\\\\'\'''\''/g;
2395 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2396 ;; #(
2398 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2400 esac |
2401 sort
2403 echo
2405 cat <<\_ASBOX
2406 ## ----------------- ##
2407 ## Output variables. ##
2408 ## ----------------- ##
2409 _ASBOX
2410 echo
2411 for ac_var in $ac_subst_vars
2413 eval ac_val=\$$ac_var
2414 case $ac_val in
2415 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2416 esac
2417 $as_echo "$ac_var='\''$ac_val'\''"
2418 done | sort
2419 echo
2421 if test -n "$ac_subst_files"; then
2422 cat <<\_ASBOX
2423 ## ------------------- ##
2424 ## File substitutions. ##
2425 ## ------------------- ##
2426 _ASBOX
2427 echo
2428 for ac_var in $ac_subst_files
2430 eval ac_val=\$$ac_var
2431 case $ac_val in
2432 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2433 esac
2434 $as_echo "$ac_var='\''$ac_val'\''"
2435 done | sort
2436 echo
2439 if test -s confdefs.h; then
2440 cat <<\_ASBOX
2441 ## ----------- ##
2442 ## confdefs.h. ##
2443 ## ----------- ##
2444 _ASBOX
2445 echo
2446 cat confdefs.h
2447 echo
2449 test "$ac_signal" != 0 &&
2450 $as_echo "$as_me: caught signal $ac_signal"
2451 $as_echo "$as_me: exit $exit_status"
2452 } >&5
2453 rm -f core *.core core.conftest.* &&
2454 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2455 exit $exit_status
2457 for ac_signal in 1 2 13 15; do
2458 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2459 done
2460 ac_signal=0
2462 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2463 rm -f -r conftest* confdefs.h
2465 $as_echo "/* confdefs.h */" > confdefs.h
2467 # Predefined preprocessor variables.
2469 cat >>confdefs.h <<_ACEOF
2470 #define PACKAGE_NAME "$PACKAGE_NAME"
2471 _ACEOF
2473 cat >>confdefs.h <<_ACEOF
2474 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2475 _ACEOF
2477 cat >>confdefs.h <<_ACEOF
2478 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2479 _ACEOF
2481 cat >>confdefs.h <<_ACEOF
2482 #define PACKAGE_STRING "$PACKAGE_STRING"
2483 _ACEOF
2485 cat >>confdefs.h <<_ACEOF
2486 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2487 _ACEOF
2489 cat >>confdefs.h <<_ACEOF
2490 #define PACKAGE_URL "$PACKAGE_URL"
2491 _ACEOF
2494 # Let the site file select an alternate cache file if it wants to.
2495 # Prefer an explicitly selected file to automatically selected ones.
2496 ac_site_file1=NONE
2497 ac_site_file2=NONE
2498 if test -n "$CONFIG_SITE"; then
2499 ac_site_file1=$CONFIG_SITE
2500 elif test "x$prefix" != xNONE; then
2501 ac_site_file1=$prefix/share/config.site
2502 ac_site_file2=$prefix/etc/config.site
2503 else
2504 ac_site_file1=$ac_default_prefix/share/config.site
2505 ac_site_file2=$ac_default_prefix/etc/config.site
2507 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2509 test "x$ac_site_file" = xNONE && continue
2510 if test -r "$ac_site_file"; then
2511 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2512 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2513 sed 's/^/| /' "$ac_site_file" >&5
2514 . "$ac_site_file"
2516 done
2518 if test -r "$cache_file"; then
2519 # Some versions of bash will fail to source /dev/null (special
2520 # files actually), so we avoid doing that.
2521 if test -f "$cache_file"; then
2522 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2523 $as_echo "$as_me: loading cache $cache_file" >&6;}
2524 case $cache_file in
2525 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2526 *) . "./$cache_file";;
2527 esac
2529 else
2530 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2531 $as_echo "$as_me: creating cache $cache_file" >&6;}
2532 >$cache_file
2535 as_fn_append ac_header_list " unistd.h"
2536 as_fn_append ac_header_list " sys/time.h"
2537 as_fn_append ac_header_list " sys/times.h"
2538 as_fn_append ac_header_list " sys/resource.h"
2539 as_fn_append ac_header_list " sys/types.h"
2540 as_fn_append ac_header_list " sys/stat.h"
2541 as_fn_append ac_header_list " sys/wait.h"
2542 as_fn_append ac_header_list " floatingpoint.h"
2543 as_fn_append ac_header_list " ieeefp.h"
2544 as_fn_append ac_header_list " fenv.h"
2545 as_fn_append ac_header_list " fptrap.h"
2546 as_fn_append ac_header_list " fpxcp.h"
2547 as_fn_append ac_header_list " pwd.h"
2548 as_fn_append ac_header_list " complex.h"
2549 as_fn_append ac_func_list " getrusage"
2550 as_fn_append ac_func_list " times"
2551 as_fn_append ac_func_list " mkstemp"
2552 as_fn_append ac_func_list " strtof"
2553 as_fn_append ac_func_list " strtold"
2554 as_fn_append ac_func_list " snprintf"
2555 as_fn_append ac_func_list " ftruncate"
2556 as_fn_append ac_func_list " chsize"
2557 as_fn_append ac_func_list " chdir"
2558 as_fn_append ac_func_list " getlogin"
2559 as_fn_append ac_func_list " gethostname"
2560 as_fn_append ac_func_list " kill"
2561 as_fn_append ac_func_list " link"
2562 as_fn_append ac_func_list " symlink"
2563 as_fn_append ac_func_list " sleep"
2564 as_fn_append ac_func_list " ttyname"
2565 as_fn_append ac_func_list " alarm"
2566 as_fn_append ac_func_list " access"
2567 as_fn_append ac_func_list " fork"
2568 as_fn_append ac_func_list " execl"
2569 as_fn_append ac_func_list " wait"
2570 as_fn_append ac_func_list " setmode"
2571 as_fn_append ac_func_list " execve"
2572 as_fn_append ac_func_list " pipe"
2573 as_fn_append ac_func_list " dup2"
2574 as_fn_append ac_func_list " close"
2575 as_fn_append ac_func_list " fcntl"
2576 as_fn_append ac_func_list " strcasestr"
2577 as_fn_append ac_func_list " getrlimit"
2578 as_fn_append ac_func_list " gettimeofday"
2579 as_fn_append ac_func_list " stat"
2580 as_fn_append ac_func_list " fstat"
2581 as_fn_append ac_func_list " lstat"
2582 as_fn_append ac_func_list " getpwuid"
2583 as_fn_append ac_func_list " vsnprintf"
2584 as_fn_append ac_func_list " dup"
2585 as_fn_append ac_func_list " getcwd"
2586 as_fn_append ac_func_list " localtime_r"
2587 as_fn_append ac_func_list " gmtime_r"
2588 as_fn_append ac_func_list " getpwuid_r"
2589 as_fn_append ac_func_list " ttyname_r"
2590 as_fn_append ac_func_list " clock_gettime"
2591 as_fn_append ac_func_list " readlink"
2592 as_fn_append ac_func_list " getgid"
2593 as_fn_append ac_func_list " getpid"
2594 as_fn_append ac_func_list " getppid"
2595 as_fn_append ac_func_list " getuid"
2596 as_fn_append ac_func_list " geteuid"
2597 as_fn_append ac_func_list " umask"
2598 as_fn_append ac_func_list " getegid"
2599 as_fn_append ac_func_list " secure_getenv"
2600 as_fn_append ac_func_list " __secure_getenv"
2601 as_fn_append ac_func_list " mkostemp"
2602 as_fn_append ac_header_list " math.h"
2603 # Check that the precious variables saved in the cache have kept the same
2604 # value.
2605 ac_cache_corrupted=false
2606 for ac_var in $ac_precious_vars; do
2607 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2608 eval ac_new_set=\$ac_env_${ac_var}_set
2609 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2610 eval ac_new_val=\$ac_env_${ac_var}_value
2611 case $ac_old_set,$ac_new_set in
2612 set,)
2613 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2614 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2615 ac_cache_corrupted=: ;;
2616 ,set)
2617 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2618 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2619 ac_cache_corrupted=: ;;
2620 ,);;
2622 if test "x$ac_old_val" != "x$ac_new_val"; then
2623 # differences in whitespace do not lead to failure.
2624 ac_old_val_w=`echo x $ac_old_val`
2625 ac_new_val_w=`echo x $ac_new_val`
2626 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2627 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2628 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2629 ac_cache_corrupted=:
2630 else
2631 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2632 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2633 eval $ac_var=\$ac_old_val
2635 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2636 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2637 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2638 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2639 fi;;
2640 esac
2641 # Pass precious variables to config.status.
2642 if test "$ac_new_set" = set; then
2643 case $ac_new_val in
2644 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2645 *) ac_arg=$ac_var=$ac_new_val ;;
2646 esac
2647 case " $ac_configure_args " in
2648 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2649 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2650 esac
2652 done
2653 if $ac_cache_corrupted; then
2654 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2655 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2656 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2657 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2658 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2660 ## -------------------- ##
2661 ## Main body of script. ##
2662 ## -------------------- ##
2664 ac_ext=c
2665 ac_cpp='$CPP $CPPFLAGS'
2666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2674 ac_config_headers="$ac_config_headers config.h"
2676 ac_aux_dir=
2677 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2678 for ac_t in install-sh install.sh shtool; do
2679 if test -f "$ac_dir/$ac_t"; then
2680 ac_aux_dir=$ac_dir
2681 ac_install_sh="$ac_aux_dir/$ac_t -c"
2682 break 2
2684 done
2685 done
2686 if test -z "$ac_aux_dir"; then
2687 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2690 # These three variables are undocumented and unsupported,
2691 # and are intended to be withdrawn in a future Autoconf release.
2692 # They can cause serious problems if a builder's source tree is in a directory
2693 # whose full name contains unusual characters.
2694 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2695 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2696 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2699 # Make sure we can run config.sub.
2700 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2701 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2704 $as_echo_n "checking build system type... " >&6; }
2705 if test "${ac_cv_build+set}" = set; then :
2706 $as_echo_n "(cached) " >&6
2707 else
2708 ac_build_alias=$build_alias
2709 test "x$ac_build_alias" = x &&
2710 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2711 test "x$ac_build_alias" = x &&
2712 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2713 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2714 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2718 $as_echo "$ac_cv_build" >&6; }
2719 case $ac_cv_build in
2720 *-*-*) ;;
2721 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2722 esac
2723 build=$ac_cv_build
2724 ac_save_IFS=$IFS; IFS='-'
2725 set x $ac_cv_build
2726 shift
2727 build_cpu=$1
2728 build_vendor=$2
2729 shift; shift
2730 # Remember, the first character of IFS is used to create $*,
2731 # except with old shells:
2732 build_os=$*
2733 IFS=$ac_save_IFS
2734 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2737 case ${build_alias} in
2738 "") build_noncanonical=${build} ;;
2739 *) build_noncanonical=${build_alias} ;;
2740 esac
2742 case ${host_alias} in
2743 "") host_noncanonical=${build_noncanonical} ;;
2744 *) host_noncanonical=${host_alias} ;;
2745 esac
2747 case ${target_alias} in
2748 "") target_noncanonical=${host_noncanonical} ;;
2749 *) target_noncanonical=${target_alias} ;;
2750 esac
2753 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2754 # have matching libraries, they should use host libraries: Makefile.tpl
2755 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2756 # However, they still use the build modules, because the corresponding
2757 # host modules (e.g. bison) are only built for the host when bootstrap
2758 # finishes. So:
2759 # - build_subdir is where we find build modules, and never changes.
2760 # - build_libsubdir is where we find build libraries, and can be overridden.
2762 # Prefix 'build-' so this never conflicts with target_subdir.
2763 build_subdir="build-${build_noncanonical}"
2765 # Check whether --with-build-libsubdir was given.
2766 if test "${with_build_libsubdir+set}" = set; then :
2767 withval=$with_build_libsubdir; build_libsubdir="$withval"
2768 else
2769 build_libsubdir="$build_subdir"
2772 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2773 if ( test $srcdir = . && test -d gcc ) \
2774 || test -d $srcdir/../host-${host_noncanonical}; then
2775 host_subdir="host-${host_noncanonical}"
2776 else
2777 host_subdir=.
2779 # No prefix.
2780 target_subdir=${target_noncanonical}
2783 # -------
2784 # Options
2785 # -------
2787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2788 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2789 # Check whether --enable-version-specific-runtime-libs was given.
2790 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2791 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
2792 yes) version_specific_libs=yes ;;
2793 no) version_specific_libs=no ;;
2794 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
2795 esac
2796 else
2797 version_specific_libs=no
2800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
2801 $as_echo "$version_specific_libs" >&6; }
2803 # Build with intermodule optimisations
2804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-intermodule" >&5
2805 $as_echo_n "checking for --enable-intermodule... " >&6; }
2806 # Check whether --enable-intermodule was given.
2807 if test "${enable_intermodule+set}" = set; then :
2808 enableval=$enable_intermodule; case "$enable_intermodule" in
2809 yes) onestep="-onestep";;
2810 *) onestep="";;
2811 esac
2812 else
2813 onestep=""
2816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_intermodule" >&5
2817 $as_echo "$enable_intermodule" >&6; }
2818 if test x$onestep = x-onestep; then
2819 onestep_TRUE=
2820 onestep_FALSE='#'
2821 else
2822 onestep_TRUE='#'
2823 onestep_FALSE=
2828 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2830 # You will slowly go insane if you do not grok the following fact: when
2831 # building this library, the top-level /target/ becomes the library's /host/.
2833 # configure then causes --target to default to --host, exactly like any
2834 # other package using autoconf. Therefore, 'target' and 'host' will
2835 # always be the same. This makes sense both for native and cross compilers
2836 # just think about it for a little while. :-)
2838 # Also, if this library is being configured as part of a cross compiler, the
2839 # top-level configure script will pass the "real" host as $with_cross_host.
2841 # Do not delete or change the following two lines. For why, see
2842 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2844 $as_echo_n "checking host system type... " >&6; }
2845 if test "${ac_cv_host+set}" = set; then :
2846 $as_echo_n "(cached) " >&6
2847 else
2848 if test "x$host_alias" = x; then
2849 ac_cv_host=$ac_cv_build
2850 else
2851 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2852 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2857 $as_echo "$ac_cv_host" >&6; }
2858 case $ac_cv_host in
2859 *-*-*) ;;
2860 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2861 esac
2862 host=$ac_cv_host
2863 ac_save_IFS=$IFS; IFS='-'
2864 set x $ac_cv_host
2865 shift
2866 host_cpu=$1
2867 host_vendor=$2
2868 shift; shift
2869 # Remember, the first character of IFS is used to create $*,
2870 # except with old shells:
2871 host_os=$*
2872 IFS=$ac_save_IFS
2873 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2877 $as_echo_n "checking target system type... " >&6; }
2878 if test "${ac_cv_target+set}" = set; then :
2879 $as_echo_n "(cached) " >&6
2880 else
2881 if test "x$target_alias" = x; then
2882 ac_cv_target=$ac_cv_host
2883 else
2884 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2885 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2890 $as_echo "$ac_cv_target" >&6; }
2891 case $ac_cv_target in
2892 *-*-*) ;;
2893 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2894 esac
2895 target=$ac_cv_target
2896 ac_save_IFS=$IFS; IFS='-'
2897 set x $ac_cv_target
2898 shift
2899 target_cpu=$1
2900 target_vendor=$2
2901 shift; shift
2902 # Remember, the first character of IFS is used to create $*,
2903 # except with old shells:
2904 target_os=$*
2905 IFS=$ac_save_IFS
2906 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2909 # The aliases save the names the user supplied, while $host etc.
2910 # will get canonicalized.
2911 test -n "$target_alias" &&
2912 test "$program_prefix$program_suffix$program_transform_name" = \
2913 NONENONEs,x,x, &&
2914 program_prefix=${target_alias}-
2919 target_alias=${target_alias-$host_alias}
2922 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
2923 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
2924 # 1.9.6: minimum required version
2925 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
2926 # of other PACKAGE_* variables will, however, and there's nothing
2927 # we can do about that; they come from AC_INIT).
2928 # foreign: we don't follow the normal rules for GNU packages (no COPYING
2929 # file in the top srcdir, etc, etc), so stop complaining.
2930 # no-dist: we don't want 'dist' and related rules.
2931 # -Wall: turns on all automake warnings...
2932 # -Wno-portability: ...except this one, since GNU make is required.
2933 am__api_version='1.11'
2935 # Find a good install program. We prefer a C program (faster),
2936 # so one script is as good as another. But avoid the broken or
2937 # incompatible versions:
2938 # SysV /etc/install, /usr/sbin/install
2939 # SunOS /usr/etc/install
2940 # IRIX /sbin/install
2941 # AIX /bin/install
2942 # AmigaOS /C/install, which installs bootblocks on floppy discs
2943 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2944 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2945 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2946 # OS/2's system install, which has a completely different semantic
2947 # ./install, which can be erroneously created by make from ./install.sh.
2948 # Reject install programs that cannot install multiple files.
2949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2950 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2951 if test -z "$INSTALL"; then
2952 if test "${ac_cv_path_install+set}" = set; then :
2953 $as_echo_n "(cached) " >&6
2954 else
2955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2956 for as_dir in $PATH
2958 IFS=$as_save_IFS
2959 test -z "$as_dir" && as_dir=.
2960 # Account for people who put trailing slashes in PATH elements.
2961 case $as_dir/ in #((
2962 ./ | .// | /[cC]/* | \
2963 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2964 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2965 /usr/ucb/* ) ;;
2967 # OSF1 and SCO ODT 3.0 have their own names for install.
2968 # Don't use installbsd from OSF since it installs stuff as root
2969 # by default.
2970 for ac_prog in ginstall scoinst install; do
2971 for ac_exec_ext in '' $ac_executable_extensions; do
2972 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2973 if test $ac_prog = install &&
2974 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2975 # AIX install. It has an incompatible calling convention.
2977 elif test $ac_prog = install &&
2978 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2979 # program-specific install script used by HP pwplus--don't use.
2981 else
2982 rm -rf conftest.one conftest.two conftest.dir
2983 echo one > conftest.one
2984 echo two > conftest.two
2985 mkdir conftest.dir
2986 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2987 test -s conftest.one && test -s conftest.two &&
2988 test -s conftest.dir/conftest.one &&
2989 test -s conftest.dir/conftest.two
2990 then
2991 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2992 break 3
2996 done
2997 done
2999 esac
3001 done
3002 IFS=$as_save_IFS
3004 rm -rf conftest.one conftest.two conftest.dir
3007 if test "${ac_cv_path_install+set}" = set; then
3008 INSTALL=$ac_cv_path_install
3009 else
3010 # As a last resort, use the slow shell script. Don't cache a
3011 # value for INSTALL within a source directory, because that will
3012 # break other packages using the cache if that directory is
3013 # removed, or if the value is a relative name.
3014 INSTALL=$ac_install_sh
3017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3018 $as_echo "$INSTALL" >&6; }
3020 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3021 # It thinks the first close brace ends the variable substitution.
3022 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3024 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3026 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3029 $as_echo_n "checking whether build environment is sane... " >&6; }
3030 # Just in case
3031 sleep 1
3032 echo timestamp > conftest.file
3033 # Reject unsafe characters in $srcdir or the absolute working directory
3034 # name. Accept space and tab only in the latter.
3035 am_lf='
3037 case `pwd` in
3038 *[\\\"\#\$\&\'\`$am_lf]*)
3039 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3040 esac
3041 case $srcdir in
3042 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3043 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3044 esac
3046 # Do `set' in a subshell so we don't clobber the current shell's
3047 # arguments. Must try -L first in case configure is actually a
3048 # symlink; some systems play weird games with the mod time of symlinks
3049 # (eg FreeBSD returns the mod time of the symlink's containing
3050 # directory).
3051 if (
3052 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3053 if test "$*" = "X"; then
3054 # -L didn't work.
3055 set X `ls -t "$srcdir/configure" conftest.file`
3057 rm -f conftest.file
3058 if test "$*" != "X $srcdir/configure conftest.file" \
3059 && test "$*" != "X conftest.file $srcdir/configure"; then
3061 # If neither matched, then we have a broken ls. This can happen
3062 # if, for instance, CONFIG_SHELL is bash and it inherits a
3063 # broken ls alias from the environment. This has actually
3064 # happened. Such a system could not be considered "sane".
3065 as_fn_error "ls -t appears to fail. Make sure there is not a broken
3066 alias in your environment" "$LINENO" 5
3069 test "$2" = conftest.file
3071 then
3072 # Ok.
3074 else
3075 as_fn_error "newly created file is older than distributed files!
3076 Check your system clock" "$LINENO" 5
3078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3079 $as_echo "yes" >&6; }
3080 test "$program_prefix" != NONE &&
3081 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3082 # Use a double $ so make ignores it.
3083 test "$program_suffix" != NONE &&
3084 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3085 # Double any \ or $.
3086 # By default was `s,x,x', remove it if useless.
3087 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3088 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3090 # expand $ac_aux_dir to an absolute path
3091 am_aux_dir=`cd $ac_aux_dir && pwd`
3093 if test x"${MISSING+set}" != xset; then
3094 case $am_aux_dir in
3095 *\ * | *\ *)
3096 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3098 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3099 esac
3101 # Use eval to expand $SHELL
3102 if eval "$MISSING --run true"; then
3103 am_missing_run="$MISSING --run "
3104 else
3105 am_missing_run=
3106 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3107 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3110 if test x"${install_sh}" != xset; then
3111 case $am_aux_dir in
3112 *\ * | *\ *)
3113 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3115 install_sh="\${SHELL} $am_aux_dir/install-sh"
3116 esac
3119 # Installed binaries are usually stripped using `strip' when the user
3120 # run `make install-strip'. However `strip' might not be the right
3121 # tool to use in cross-compilation environments, therefore Automake
3122 # will honor the `STRIP' environment variable to overrule this program.
3123 if test "$cross_compiling" != no; then
3124 if test -n "$ac_tool_prefix"; then
3125 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3126 set dummy ${ac_tool_prefix}strip; ac_word=$2
3127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3128 $as_echo_n "checking for $ac_word... " >&6; }
3129 if test "${ac_cv_prog_STRIP+set}" = set; then :
3130 $as_echo_n "(cached) " >&6
3131 else
3132 if test -n "$STRIP"; then
3133 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3134 else
3135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3136 for as_dir in $PATH
3138 IFS=$as_save_IFS
3139 test -z "$as_dir" && as_dir=.
3140 for ac_exec_ext in '' $ac_executable_extensions; do
3141 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3142 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3143 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3144 break 2
3146 done
3147 done
3148 IFS=$as_save_IFS
3152 STRIP=$ac_cv_prog_STRIP
3153 if test -n "$STRIP"; then
3154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3155 $as_echo "$STRIP" >&6; }
3156 else
3157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3158 $as_echo "no" >&6; }
3163 if test -z "$ac_cv_prog_STRIP"; then
3164 ac_ct_STRIP=$STRIP
3165 # Extract the first word of "strip", so it can be a program name with args.
3166 set dummy strip; ac_word=$2
3167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3168 $as_echo_n "checking for $ac_word... " >&6; }
3169 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3170 $as_echo_n "(cached) " >&6
3171 else
3172 if test -n "$ac_ct_STRIP"; then
3173 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3174 else
3175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3176 for as_dir in $PATH
3178 IFS=$as_save_IFS
3179 test -z "$as_dir" && as_dir=.
3180 for ac_exec_ext in '' $ac_executable_extensions; do
3181 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3182 ac_cv_prog_ac_ct_STRIP="strip"
3183 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3184 break 2
3186 done
3187 done
3188 IFS=$as_save_IFS
3192 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3193 if test -n "$ac_ct_STRIP"; then
3194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3195 $as_echo "$ac_ct_STRIP" >&6; }
3196 else
3197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3198 $as_echo "no" >&6; }
3201 if test "x$ac_ct_STRIP" = x; then
3202 STRIP=":"
3203 else
3204 case $cross_compiling:$ac_tool_warned in
3205 yes:)
3206 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3207 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3208 ac_tool_warned=yes ;;
3209 esac
3210 STRIP=$ac_ct_STRIP
3212 else
3213 STRIP="$ac_cv_prog_STRIP"
3217 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3220 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3221 if test -z "$MKDIR_P"; then
3222 if test "${ac_cv_path_mkdir+set}" = set; then :
3223 $as_echo_n "(cached) " >&6
3224 else
3225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3226 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3228 IFS=$as_save_IFS
3229 test -z "$as_dir" && as_dir=.
3230 for ac_prog in mkdir gmkdir; do
3231 for ac_exec_ext in '' $ac_executable_extensions; do
3232 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3233 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3234 'mkdir (GNU coreutils) '* | \
3235 'mkdir (coreutils) '* | \
3236 'mkdir (fileutils) '4.1*)
3237 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3238 break 3;;
3239 esac
3240 done
3241 done
3242 done
3243 IFS=$as_save_IFS
3247 if test "${ac_cv_path_mkdir+set}" = set; then
3248 MKDIR_P="$ac_cv_path_mkdir -p"
3249 else
3250 # As a last resort, use the slow shell script. Don't cache a
3251 # value for MKDIR_P within a source directory, because that will
3252 # break other packages using the cache if that directory is
3253 # removed, or if the value is a relative name.
3254 test -d ./--version && rmdir ./--version
3255 MKDIR_P="$ac_install_sh -d"
3258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3259 $as_echo "$MKDIR_P" >&6; }
3261 mkdir_p="$MKDIR_P"
3262 case $mkdir_p in
3263 [\\/$]* | ?:[\\/]*) ;;
3264 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3265 esac
3267 for ac_prog in gawk mawk nawk awk
3269 # Extract the first word of "$ac_prog", so it can be a program name with args.
3270 set dummy $ac_prog; ac_word=$2
3271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3272 $as_echo_n "checking for $ac_word... " >&6; }
3273 if test "${ac_cv_prog_AWK+set}" = set; then :
3274 $as_echo_n "(cached) " >&6
3275 else
3276 if test -n "$AWK"; then
3277 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3278 else
3279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3280 for as_dir in $PATH
3282 IFS=$as_save_IFS
3283 test -z "$as_dir" && as_dir=.
3284 for ac_exec_ext in '' $ac_executable_extensions; do
3285 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3286 ac_cv_prog_AWK="$ac_prog"
3287 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3288 break 2
3290 done
3291 done
3292 IFS=$as_save_IFS
3296 AWK=$ac_cv_prog_AWK
3297 if test -n "$AWK"; then
3298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3299 $as_echo "$AWK" >&6; }
3300 else
3301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3302 $as_echo "no" >&6; }
3306 test -n "$AWK" && break
3307 done
3309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3310 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3311 set x ${MAKE-make}
3312 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3313 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3314 $as_echo_n "(cached) " >&6
3315 else
3316 cat >conftest.make <<\_ACEOF
3317 SHELL = /bin/sh
3318 all:
3319 @echo '@@@%%%=$(MAKE)=@@@%%%'
3320 _ACEOF
3321 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3322 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3323 *@@@%%%=?*=@@@%%%*)
3324 eval ac_cv_prog_make_${ac_make}_set=yes;;
3326 eval ac_cv_prog_make_${ac_make}_set=no;;
3327 esac
3328 rm -f conftest.make
3330 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3332 $as_echo "yes" >&6; }
3333 SET_MAKE=
3334 else
3335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3336 $as_echo "no" >&6; }
3337 SET_MAKE="MAKE=${MAKE-make}"
3340 rm -rf .tst 2>/dev/null
3341 mkdir .tst 2>/dev/null
3342 if test -d .tst; then
3343 am__leading_dot=.
3344 else
3345 am__leading_dot=_
3347 rmdir .tst 2>/dev/null
3349 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3350 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3351 # is not polluted with repeated "-I."
3352 am__isrc=' -I$(srcdir)'
3353 # test to see if srcdir already configured
3354 if test -f $srcdir/config.status; then
3355 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3359 # test whether we have cygpath
3360 if test -z "$CYGPATH_W"; then
3361 if (cygpath --version) >/dev/null 2>/dev/null; then
3362 CYGPATH_W='cygpath -w'
3363 else
3364 CYGPATH_W=echo
3369 # Define the identity of the package.
3370 PACKAGE='libgfortran'
3371 VERSION='0.3'
3374 # Some tools Automake needs.
3376 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3379 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3382 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3385 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3388 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3390 # We need awk for the "check" target. The system "awk" is bad on
3391 # some platforms.
3392 # Always define AMTAR for backward compatibility. Yes, it's still used
3393 # in the wild :-( We should find a proper way to deprecate it ...
3394 AMTAR='$${TAR-tar}'
3396 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3405 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3406 # Check whether --enable-maintainer-mode was given.
3407 if test "${enable_maintainer_mode+set}" = set; then :
3408 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3409 else
3410 USE_MAINTAINER_MODE=no
3413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3414 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3415 if test $USE_MAINTAINER_MODE = yes; then
3416 MAINTAINER_MODE_TRUE=
3417 MAINTAINER_MODE_FALSE='#'
3418 else
3419 MAINTAINER_MODE_TRUE='#'
3420 MAINTAINER_MODE_FALSE=
3423 MAINT=$MAINTAINER_MODE_TRUE
3426 # Default to --enable-multilib
3427 # Check whether --enable-multilib was given.
3428 if test "${enable_multilib+set}" = set; then :
3429 enableval=$enable_multilib; case "$enableval" in
3430 yes) multilib=yes ;;
3431 no) multilib=no ;;
3432 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
3433 esac
3434 else
3435 multilib=yes
3439 # We may get other options which we leave undocumented:
3440 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3441 # See config-ml.in if you want the gory details.
3443 if test "$srcdir" = "."; then
3444 if test "$with_target_subdir" != "."; then
3445 multi_basedir="$srcdir/$with_multisrctop../.."
3446 else
3447 multi_basedir="$srcdir/$with_multisrctop.."
3449 else
3450 multi_basedir="$srcdir/.."
3454 # Even if the default multilib is not a cross compilation,
3455 # it may be that some of the other multilibs are.
3456 if test $cross_compiling = no && test $multilib = yes \
3457 && test "x${with_multisubdir}" != x ; then
3458 cross_compiling=maybe
3461 ac_config_commands="$ac_config_commands default-1"
3464 # Handy for debugging:
3465 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3467 # Are we being configured with some form of cross compiler?
3468 # NB: We don't actually need to know this just now, but when, say, a test
3469 # suite is included, we'll have to know.
3470 if test "$build" != "$host"; then
3471 LIBGFOR_IS_NATIVE=false
3473 else
3474 LIBGFOR_IS_NATIVE=true
3477 DEPDIR="${am__leading_dot}deps"
3479 ac_config_commands="$ac_config_commands depfiles"
3482 am_make=${MAKE-make}
3483 cat > confinc << 'END'
3484 am__doit:
3485 @echo this is the am__doit target
3486 .PHONY: am__doit
3488 # If we don't find an include directive, just comment out the code.
3489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3490 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3491 am__include="#"
3492 am__quote=
3493 _am_result=none
3494 # First try GNU make style include.
3495 echo "include confinc" > confmf
3496 # Ignore all kinds of additional output from `make'.
3497 case `$am_make -s -f confmf 2> /dev/null` in #(
3498 *the\ am__doit\ target*)
3499 am__include=include
3500 am__quote=
3501 _am_result=GNU
3503 esac
3504 # Now try BSD make style include.
3505 if test "$am__include" = "#"; then
3506 echo '.include "confinc"' > confmf
3507 case `$am_make -s -f confmf 2> /dev/null` in #(
3508 *the\ am__doit\ target*)
3509 am__include=.include
3510 am__quote="\""
3511 _am_result=BSD
3513 esac
3517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3518 $as_echo "$_am_result" >&6; }
3519 rm -f confinc confmf
3521 # Check whether --enable-dependency-tracking was given.
3522 if test "${enable_dependency_tracking+set}" = set; then :
3523 enableval=$enable_dependency_tracking;
3526 if test "x$enable_dependency_tracking" != xno; then
3527 am_depcomp="$ac_aux_dir/depcomp"
3528 AMDEPBACKSLASH='\'
3529 am__nodep='_no'
3531 if test "x$enable_dependency_tracking" != xno; then
3532 AMDEP_TRUE=
3533 AMDEP_FALSE='#'
3534 else
3535 AMDEP_TRUE='#'
3536 AMDEP_FALSE=
3540 ac_ext=c
3541 ac_cpp='$CPP $CPPFLAGS'
3542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3545 if test -n "$ac_tool_prefix"; then
3546 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3547 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3549 $as_echo_n "checking for $ac_word... " >&6; }
3550 if test "${ac_cv_prog_CC+set}" = set; then :
3551 $as_echo_n "(cached) " >&6
3552 else
3553 if test -n "$CC"; then
3554 ac_cv_prog_CC="$CC" # Let the user override the test.
3555 else
3556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3557 for as_dir in $PATH
3559 IFS=$as_save_IFS
3560 test -z "$as_dir" && as_dir=.
3561 for ac_exec_ext in '' $ac_executable_extensions; do
3562 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3563 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3564 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3565 break 2
3567 done
3568 done
3569 IFS=$as_save_IFS
3573 CC=$ac_cv_prog_CC
3574 if test -n "$CC"; then
3575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3576 $as_echo "$CC" >&6; }
3577 else
3578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3579 $as_echo "no" >&6; }
3584 if test -z "$ac_cv_prog_CC"; then
3585 ac_ct_CC=$CC
3586 # Extract the first word of "gcc", so it can be a program name with args.
3587 set dummy gcc; ac_word=$2
3588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3589 $as_echo_n "checking for $ac_word... " >&6; }
3590 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3591 $as_echo_n "(cached) " >&6
3592 else
3593 if test -n "$ac_ct_CC"; then
3594 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3595 else
3596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3597 for as_dir in $PATH
3599 IFS=$as_save_IFS
3600 test -z "$as_dir" && as_dir=.
3601 for ac_exec_ext in '' $ac_executable_extensions; do
3602 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3603 ac_cv_prog_ac_ct_CC="gcc"
3604 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3605 break 2
3607 done
3608 done
3609 IFS=$as_save_IFS
3613 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3614 if test -n "$ac_ct_CC"; then
3615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3616 $as_echo "$ac_ct_CC" >&6; }
3617 else
3618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3619 $as_echo "no" >&6; }
3622 if test "x$ac_ct_CC" = x; then
3623 CC=""
3624 else
3625 case $cross_compiling:$ac_tool_warned in
3626 yes:)
3627 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3628 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3629 ac_tool_warned=yes ;;
3630 esac
3631 CC=$ac_ct_CC
3633 else
3634 CC="$ac_cv_prog_CC"
3637 if test -z "$CC"; then
3638 if test -n "$ac_tool_prefix"; then
3639 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3640 set dummy ${ac_tool_prefix}cc; ac_word=$2
3641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3642 $as_echo_n "checking for $ac_word... " >&6; }
3643 if test "${ac_cv_prog_CC+set}" = set; then :
3644 $as_echo_n "(cached) " >&6
3645 else
3646 if test -n "$CC"; then
3647 ac_cv_prog_CC="$CC" # Let the user override the test.
3648 else
3649 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3650 for as_dir in $PATH
3652 IFS=$as_save_IFS
3653 test -z "$as_dir" && as_dir=.
3654 for ac_exec_ext in '' $ac_executable_extensions; do
3655 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3656 ac_cv_prog_CC="${ac_tool_prefix}cc"
3657 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3658 break 2
3660 done
3661 done
3662 IFS=$as_save_IFS
3666 CC=$ac_cv_prog_CC
3667 if test -n "$CC"; then
3668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3669 $as_echo "$CC" >&6; }
3670 else
3671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3672 $as_echo "no" >&6; }
3678 if test -z "$CC"; then
3679 # Extract the first word of "cc", so it can be a program name with args.
3680 set dummy cc; ac_word=$2
3681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3682 $as_echo_n "checking for $ac_word... " >&6; }
3683 if test "${ac_cv_prog_CC+set}" = set; then :
3684 $as_echo_n "(cached) " >&6
3685 else
3686 if test -n "$CC"; then
3687 ac_cv_prog_CC="$CC" # Let the user override the test.
3688 else
3689 ac_prog_rejected=no
3690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3691 for as_dir in $PATH
3693 IFS=$as_save_IFS
3694 test -z "$as_dir" && as_dir=.
3695 for ac_exec_ext in '' $ac_executable_extensions; do
3696 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3697 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3698 ac_prog_rejected=yes
3699 continue
3701 ac_cv_prog_CC="cc"
3702 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3703 break 2
3705 done
3706 done
3707 IFS=$as_save_IFS
3709 if test $ac_prog_rejected = yes; then
3710 # We found a bogon in the path, so make sure we never use it.
3711 set dummy $ac_cv_prog_CC
3712 shift
3713 if test $# != 0; then
3714 # We chose a different compiler from the bogus one.
3715 # However, it has the same basename, so the bogon will be chosen
3716 # first if we set CC to just the basename; use the full file name.
3717 shift
3718 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3723 CC=$ac_cv_prog_CC
3724 if test -n "$CC"; then
3725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3726 $as_echo "$CC" >&6; }
3727 else
3728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3729 $as_echo "no" >&6; }
3734 if test -z "$CC"; then
3735 if test -n "$ac_tool_prefix"; then
3736 for ac_prog in cl.exe
3738 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3739 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3741 $as_echo_n "checking for $ac_word... " >&6; }
3742 if test "${ac_cv_prog_CC+set}" = set; then :
3743 $as_echo_n "(cached) " >&6
3744 else
3745 if test -n "$CC"; then
3746 ac_cv_prog_CC="$CC" # Let the user override the test.
3747 else
3748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3749 for as_dir in $PATH
3751 IFS=$as_save_IFS
3752 test -z "$as_dir" && as_dir=.
3753 for ac_exec_ext in '' $ac_executable_extensions; do
3754 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3755 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3756 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3757 break 2
3759 done
3760 done
3761 IFS=$as_save_IFS
3765 CC=$ac_cv_prog_CC
3766 if test -n "$CC"; then
3767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3768 $as_echo "$CC" >&6; }
3769 else
3770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3771 $as_echo "no" >&6; }
3775 test -n "$CC" && break
3776 done
3778 if test -z "$CC"; then
3779 ac_ct_CC=$CC
3780 for ac_prog in cl.exe
3782 # Extract the first word of "$ac_prog", so it can be a program name with args.
3783 set dummy $ac_prog; ac_word=$2
3784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3785 $as_echo_n "checking for $ac_word... " >&6; }
3786 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3787 $as_echo_n "(cached) " >&6
3788 else
3789 if test -n "$ac_ct_CC"; then
3790 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3791 else
3792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3793 for as_dir in $PATH
3795 IFS=$as_save_IFS
3796 test -z "$as_dir" && as_dir=.
3797 for ac_exec_ext in '' $ac_executable_extensions; do
3798 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3799 ac_cv_prog_ac_ct_CC="$ac_prog"
3800 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3801 break 2
3803 done
3804 done
3805 IFS=$as_save_IFS
3809 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3810 if test -n "$ac_ct_CC"; then
3811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3812 $as_echo "$ac_ct_CC" >&6; }
3813 else
3814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3815 $as_echo "no" >&6; }
3819 test -n "$ac_ct_CC" && break
3820 done
3822 if test "x$ac_ct_CC" = x; then
3823 CC=""
3824 else
3825 case $cross_compiling:$ac_tool_warned in
3826 yes:)
3827 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3828 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3829 ac_tool_warned=yes ;;
3830 esac
3831 CC=$ac_ct_CC
3838 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3839 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3840 as_fn_error "no acceptable C compiler found in \$PATH
3841 See \`config.log' for more details." "$LINENO" 5; }
3843 # Provide some information about the compiler.
3844 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3845 set X $ac_compile
3846 ac_compiler=$2
3847 for ac_option in --version -v -V -qversion; do
3848 { { ac_try="$ac_compiler $ac_option >&5"
3849 case "(($ac_try" in
3850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3851 *) ac_try_echo=$ac_try;;
3852 esac
3853 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3854 $as_echo "$ac_try_echo"; } >&5
3855 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3856 ac_status=$?
3857 if test -s conftest.err; then
3858 sed '10a\
3859 ... rest of stderr output deleted ...
3860 10q' conftest.err >conftest.er1
3861 cat conftest.er1 >&5
3862 rm -f conftest.er1 conftest.err
3864 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3865 test $ac_status = 0; }
3866 done
3868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3869 /* end confdefs.h. */
3872 main ()
3876 return 0;
3878 _ACEOF
3879 # FIXME: Cleanup?
3880 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3881 (eval $ac_link) 2>&5
3882 ac_status=$?
3883 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3884 test $ac_status = 0; }; then :
3885 gcc_no_link=no
3886 else
3887 gcc_no_link=yes
3889 if test x$gcc_no_link = xyes; then
3890 # Setting cross_compile will disable run tests; it will
3891 # also disable AC_CHECK_FILE but that's generally
3892 # correct if we can't link.
3893 cross_compiling=yes
3894 EXEEXT=
3895 else
3896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3897 /* end confdefs.h. */
3900 main ()
3904 return 0;
3906 _ACEOF
3907 ac_clean_files_save=$ac_clean_files
3908 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3909 # Try to create an executable without -o first, disregard a.out.
3910 # It will help us diagnose broken compilers, and finding out an intuition
3911 # of exeext.
3912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3913 $as_echo_n "checking for C compiler default output file name... " >&6; }
3914 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3916 # The possible output files:
3917 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3919 ac_rmfiles=
3920 for ac_file in $ac_files
3922 case $ac_file in
3923 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3924 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3925 esac
3926 done
3927 rm -f $ac_rmfiles
3929 if { { ac_try="$ac_link_default"
3930 case "(($ac_try" in
3931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3932 *) ac_try_echo=$ac_try;;
3933 esac
3934 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3935 $as_echo "$ac_try_echo"; } >&5
3936 (eval "$ac_link_default") 2>&5
3937 ac_status=$?
3938 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3939 test $ac_status = 0; }; then :
3940 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3941 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3942 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3943 # so that the user can short-circuit this test for compilers unknown to
3944 # Autoconf.
3945 for ac_file in $ac_files ''
3947 test -f "$ac_file" || continue
3948 case $ac_file in
3949 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3951 [ab].out )
3952 # We found the default executable, but exeext='' is most
3953 # certainly right.
3954 break;;
3955 *.* )
3956 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3957 then :; else
3958 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3960 # We set ac_cv_exeext here because the later test for it is not
3961 # safe: cross compilers may not add the suffix if given an `-o'
3962 # argument, so we may need to know it at that point already.
3963 # Even if this section looks crufty: it has the advantage of
3964 # actually working.
3965 break;;
3967 break;;
3968 esac
3969 done
3970 test "$ac_cv_exeext" = no && ac_cv_exeext=
3972 else
3973 ac_file=''
3975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3976 $as_echo "$ac_file" >&6; }
3977 if test -z "$ac_file"; then :
3978 $as_echo "$as_me: failed program was:" >&5
3979 sed 's/^/| /' conftest.$ac_ext >&5
3981 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3982 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3983 { as_fn_set_status 77
3984 as_fn_error "C compiler cannot create executables
3985 See \`config.log' for more details." "$LINENO" 5; }; }
3987 ac_exeext=$ac_cv_exeext
3989 # Check that the compiler produces executables we can run. If not, either
3990 # the compiler is broken, or we cross compile.
3991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3992 $as_echo_n "checking whether the C compiler works... " >&6; }
3993 # If not cross compiling, check that we can run a simple program.
3994 if test "$cross_compiling" != yes; then
3995 if { ac_try='./$ac_file'
3996 { { case "(($ac_try" in
3997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3998 *) ac_try_echo=$ac_try;;
3999 esac
4000 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4001 $as_echo "$ac_try_echo"; } >&5
4002 (eval "$ac_try") 2>&5
4003 ac_status=$?
4004 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4005 test $ac_status = 0; }; }; then
4006 cross_compiling=no
4007 else
4008 if test "$cross_compiling" = maybe; then
4009 cross_compiling=yes
4010 else
4011 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4012 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4013 as_fn_error "cannot run C compiled programs.
4014 If you meant to cross compile, use \`--host'.
4015 See \`config.log' for more details." "$LINENO" 5; }
4019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4020 $as_echo "yes" >&6; }
4022 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4023 ac_clean_files=$ac_clean_files_save
4024 # Check that the compiler produces executables we can run. If not, either
4025 # the compiler is broken, or we cross compile.
4026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4027 $as_echo_n "checking whether we are cross compiling... " >&6; }
4028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4029 $as_echo "$cross_compiling" >&6; }
4031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4032 $as_echo_n "checking for suffix of executables... " >&6; }
4033 if { { ac_try="$ac_link"
4034 case "(($ac_try" in
4035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4036 *) ac_try_echo=$ac_try;;
4037 esac
4038 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4039 $as_echo "$ac_try_echo"; } >&5
4040 (eval "$ac_link") 2>&5
4041 ac_status=$?
4042 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4043 test $ac_status = 0; }; then :
4044 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4045 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4046 # work properly (i.e., refer to `conftest.exe'), while it won't with
4047 # `rm'.
4048 for ac_file in conftest.exe conftest conftest.*; do
4049 test -f "$ac_file" || continue
4050 case $ac_file in
4051 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4052 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4053 break;;
4054 * ) break;;
4055 esac
4056 done
4057 else
4058 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4059 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4060 as_fn_error "cannot compute suffix of executables: cannot compile and link
4061 See \`config.log' for more details." "$LINENO" 5; }
4063 rm -f conftest$ac_cv_exeext
4064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4065 $as_echo "$ac_cv_exeext" >&6; }
4067 rm -f conftest.$ac_ext
4068 EXEEXT=$ac_cv_exeext
4069 ac_exeext=$EXEEXT
4071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4072 $as_echo_n "checking for suffix of object files... " >&6; }
4073 if test "${ac_cv_objext+set}" = set; then :
4074 $as_echo_n "(cached) " >&6
4075 else
4076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4077 /* end confdefs.h. */
4080 main ()
4084 return 0;
4086 _ACEOF
4087 rm -f conftest.o conftest.obj
4088 if { { ac_try="$ac_compile"
4089 case "(($ac_try" in
4090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4091 *) ac_try_echo=$ac_try;;
4092 esac
4093 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4094 $as_echo "$ac_try_echo"; } >&5
4095 (eval "$ac_compile") 2>&5
4096 ac_status=$?
4097 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4098 test $ac_status = 0; }; then :
4099 for ac_file in conftest.o conftest.obj conftest.*; do
4100 test -f "$ac_file" || continue;
4101 case $ac_file in
4102 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4103 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4104 break;;
4105 esac
4106 done
4107 else
4108 $as_echo "$as_me: failed program was:" >&5
4109 sed 's/^/| /' conftest.$ac_ext >&5
4111 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4112 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4113 as_fn_error "cannot compute suffix of object files: cannot compile
4114 See \`config.log' for more details." "$LINENO" 5; }
4116 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4119 $as_echo "$ac_cv_objext" >&6; }
4120 OBJEXT=$ac_cv_objext
4121 ac_objext=$OBJEXT
4122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4123 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4124 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4125 $as_echo_n "(cached) " >&6
4126 else
4127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4128 /* end confdefs.h. */
4131 main ()
4133 #ifndef __GNUC__
4134 choke me
4135 #endif
4138 return 0;
4140 _ACEOF
4141 if ac_fn_c_try_compile "$LINENO"; then :
4142 ac_compiler_gnu=yes
4143 else
4144 ac_compiler_gnu=no
4146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4147 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4151 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4152 if test $ac_compiler_gnu = yes; then
4153 GCC=yes
4154 else
4155 GCC=
4157 ac_test_CFLAGS=${CFLAGS+set}
4158 ac_save_CFLAGS=$CFLAGS
4159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4160 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4161 if test "${ac_cv_prog_cc_g+set}" = set; then :
4162 $as_echo_n "(cached) " >&6
4163 else
4164 ac_save_c_werror_flag=$ac_c_werror_flag
4165 ac_c_werror_flag=yes
4166 ac_cv_prog_cc_g=no
4167 CFLAGS="-g"
4168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4169 /* end confdefs.h. */
4172 main ()
4176 return 0;
4178 _ACEOF
4179 if ac_fn_c_try_compile "$LINENO"; then :
4180 ac_cv_prog_cc_g=yes
4181 else
4182 CFLAGS=""
4183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4184 /* end confdefs.h. */
4187 main ()
4191 return 0;
4193 _ACEOF
4194 if ac_fn_c_try_compile "$LINENO"; then :
4196 else
4197 ac_c_werror_flag=$ac_save_c_werror_flag
4198 CFLAGS="-g"
4199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4200 /* end confdefs.h. */
4203 main ()
4207 return 0;
4209 _ACEOF
4210 if ac_fn_c_try_compile "$LINENO"; then :
4211 ac_cv_prog_cc_g=yes
4213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4218 ac_c_werror_flag=$ac_save_c_werror_flag
4220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4221 $as_echo "$ac_cv_prog_cc_g" >&6; }
4222 if test "$ac_test_CFLAGS" = set; then
4223 CFLAGS=$ac_save_CFLAGS
4224 elif test $ac_cv_prog_cc_g = yes; then
4225 if test "$GCC" = yes; then
4226 CFLAGS="-g -O2"
4227 else
4228 CFLAGS="-g"
4230 else
4231 if test "$GCC" = yes; then
4232 CFLAGS="-O2"
4233 else
4234 CFLAGS=
4237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4238 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4239 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4240 $as_echo_n "(cached) " >&6
4241 else
4242 ac_cv_prog_cc_c89=no
4243 ac_save_CC=$CC
4244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4245 /* end confdefs.h. */
4246 #include <stdarg.h>
4247 #include <stdio.h>
4248 #include <sys/types.h>
4249 #include <sys/stat.h>
4250 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4251 struct buf { int x; };
4252 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4253 static char *e (p, i)
4254 char **p;
4255 int i;
4257 return p[i];
4259 static char *f (char * (*g) (char **, int), char **p, ...)
4261 char *s;
4262 va_list v;
4263 va_start (v,p);
4264 s = g (p, va_arg (v,int));
4265 va_end (v);
4266 return s;
4269 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4270 function prototypes and stuff, but not '\xHH' hex character constants.
4271 These don't provoke an error unfortunately, instead are silently treated
4272 as 'x'. The following induces an error, until -std is added to get
4273 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4274 array size at least. It's necessary to write '\x00'==0 to get something
4275 that's true only with -std. */
4276 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4278 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4279 inside strings and character constants. */
4280 #define FOO(x) 'x'
4281 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4283 int test (int i, double x);
4284 struct s1 {int (*f) (int a);};
4285 struct s2 {int (*f) (double a);};
4286 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4287 int argc;
4288 char **argv;
4290 main ()
4292 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4294 return 0;
4296 _ACEOF
4297 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4298 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4300 CC="$ac_save_CC $ac_arg"
4301 if ac_fn_c_try_compile "$LINENO"; then :
4302 ac_cv_prog_cc_c89=$ac_arg
4304 rm -f core conftest.err conftest.$ac_objext
4305 test "x$ac_cv_prog_cc_c89" != "xno" && break
4306 done
4307 rm -f conftest.$ac_ext
4308 CC=$ac_save_CC
4311 # AC_CACHE_VAL
4312 case "x$ac_cv_prog_cc_c89" in
4314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4315 $as_echo "none needed" >&6; } ;;
4316 xno)
4317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4318 $as_echo "unsupported" >&6; } ;;
4320 CC="$CC $ac_cv_prog_cc_c89"
4321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4322 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4323 esac
4324 if test "x$ac_cv_prog_cc_c89" != xno; then :
4328 ac_ext=c
4329 ac_cpp='$CPP $CPPFLAGS'
4330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4334 depcc="$CC" am_compiler_list=
4336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4337 $as_echo_n "checking dependency style of $depcc... " >&6; }
4338 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4339 $as_echo_n "(cached) " >&6
4340 else
4341 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4342 # We make a subdir and do the tests there. Otherwise we can end up
4343 # making bogus files that we don't know about and never remove. For
4344 # instance it was reported that on HP-UX the gcc test will end up
4345 # making a dummy file named `D' -- because `-MD' means `put the output
4346 # in D'.
4347 rm -rf conftest.dir
4348 mkdir conftest.dir
4349 # Copy depcomp to subdir because otherwise we won't find it if we're
4350 # using a relative directory.
4351 cp "$am_depcomp" conftest.dir
4352 cd conftest.dir
4353 # We will build objects and dependencies in a subdirectory because
4354 # it helps to detect inapplicable dependency modes. For instance
4355 # both Tru64's cc and ICC support -MD to output dependencies as a
4356 # side effect of compilation, but ICC will put the dependencies in
4357 # the current directory while Tru64 will put them in the object
4358 # directory.
4359 mkdir sub
4361 am_cv_CC_dependencies_compiler_type=none
4362 if test "$am_compiler_list" = ""; then
4363 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4365 am__universal=false
4366 case " $depcc " in #(
4367 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4368 esac
4370 for depmode in $am_compiler_list; do
4371 # Setup a source with many dependencies, because some compilers
4372 # like to wrap large dependency lists on column 80 (with \), and
4373 # we should not choose a depcomp mode which is confused by this.
4375 # We need to recreate these files for each test, as the compiler may
4376 # overwrite some of them when testing with obscure command lines.
4377 # This happens at least with the AIX C compiler.
4378 : > sub/conftest.c
4379 for i in 1 2 3 4 5 6; do
4380 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4381 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4382 # Solaris 8's {/usr,}/bin/sh.
4383 touch sub/conftst$i.h
4384 done
4385 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4387 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4388 # mode. It turns out that the SunPro C++ compiler does not properly
4389 # handle `-M -o', and we need to detect this. Also, some Intel
4390 # versions had trouble with output in subdirs
4391 am__obj=sub/conftest.${OBJEXT-o}
4392 am__minus_obj="-o $am__obj"
4393 case $depmode in
4394 gcc)
4395 # This depmode causes a compiler race in universal mode.
4396 test "$am__universal" = false || continue
4398 nosideeffect)
4399 # after this tag, mechanisms are not by side-effect, so they'll
4400 # only be used when explicitly requested
4401 if test "x$enable_dependency_tracking" = xyes; then
4402 continue
4403 else
4404 break
4407 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4408 # This compiler won't grok `-c -o', but also, the minuso test has
4409 # not run yet. These depmodes are late enough in the game, and
4410 # so weak that their functioning should not be impacted.
4411 am__obj=conftest.${OBJEXT-o}
4412 am__minus_obj=
4414 none) break ;;
4415 esac
4416 if depmode=$depmode \
4417 source=sub/conftest.c object=$am__obj \
4418 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4419 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4420 >/dev/null 2>conftest.err &&
4421 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4422 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4423 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4424 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4425 # icc doesn't choke on unknown options, it will just issue warnings
4426 # or remarks (even with -Werror). So we grep stderr for any message
4427 # that says an option was ignored or not supported.
4428 # When given -MP, icc 7.0 and 7.1 complain thusly:
4429 # icc: Command line warning: ignoring option '-M'; no argument required
4430 # The diagnosis changed in icc 8.0:
4431 # icc: Command line remark: option '-MP' not supported
4432 if (grep 'ignoring option' conftest.err ||
4433 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4434 am_cv_CC_dependencies_compiler_type=$depmode
4435 break
4438 done
4440 cd ..
4441 rm -rf conftest.dir
4442 else
4443 am_cv_CC_dependencies_compiler_type=none
4447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4448 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4449 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4452 test "x$enable_dependency_tracking" != xno \
4453 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4454 am__fastdepCC_TRUE=
4455 am__fastdepCC_FALSE='#'
4456 else
4457 am__fastdepCC_TRUE='#'
4458 am__fastdepCC_FALSE=
4463 ac_ext=c
4464 ac_cpp='$CPP $CPPFLAGS'
4465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4469 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4470 # On Suns, sometimes $CPP names a directory.
4471 if test -n "$CPP" && test -d "$CPP"; then
4472 CPP=
4474 if test -z "$CPP"; then
4475 if test "${ac_cv_prog_CPP+set}" = set; then :
4476 $as_echo_n "(cached) " >&6
4477 else
4478 # Double quotes because CPP needs to be expanded
4479 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4481 ac_preproc_ok=false
4482 for ac_c_preproc_warn_flag in '' yes
4484 # Use a header file that comes with gcc, so configuring glibc
4485 # with a fresh cross-compiler works.
4486 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4487 # <limits.h> exists even on freestanding compilers.
4488 # On the NeXT, cc -E runs the code through the compiler's parser,
4489 # not just through cpp. "Syntax error" is here to catch this case.
4490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4491 /* end confdefs.h. */
4492 #ifdef __STDC__
4493 # include <limits.h>
4494 #else
4495 # include <assert.h>
4496 #endif
4497 Syntax error
4498 _ACEOF
4499 if ac_fn_c_try_cpp "$LINENO"; then :
4501 else
4502 # Broken: fails on valid input.
4503 continue
4505 rm -f conftest.err conftest.$ac_ext
4507 # OK, works on sane cases. Now check whether nonexistent headers
4508 # can be detected and how.
4509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4510 /* end confdefs.h. */
4511 #include <ac_nonexistent.h>
4512 _ACEOF
4513 if ac_fn_c_try_cpp "$LINENO"; then :
4514 # Broken: success on invalid input.
4515 continue
4516 else
4517 # Passes both tests.
4518 ac_preproc_ok=:
4519 break
4521 rm -f conftest.err conftest.$ac_ext
4523 done
4524 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4525 rm -f conftest.err conftest.$ac_ext
4526 if $ac_preproc_ok; then :
4527 break
4530 done
4531 ac_cv_prog_CPP=$CPP
4534 CPP=$ac_cv_prog_CPP
4535 else
4536 ac_cv_prog_CPP=$CPP
4538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4539 $as_echo "$CPP" >&6; }
4540 ac_preproc_ok=false
4541 for ac_c_preproc_warn_flag in '' yes
4543 # Use a header file that comes with gcc, so configuring glibc
4544 # with a fresh cross-compiler works.
4545 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4546 # <limits.h> exists even on freestanding compilers.
4547 # On the NeXT, cc -E runs the code through the compiler's parser,
4548 # not just through cpp. "Syntax error" is here to catch this case.
4549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4550 /* end confdefs.h. */
4551 #ifdef __STDC__
4552 # include <limits.h>
4553 #else
4554 # include <assert.h>
4555 #endif
4556 Syntax error
4557 _ACEOF
4558 if ac_fn_c_try_cpp "$LINENO"; then :
4560 else
4561 # Broken: fails on valid input.
4562 continue
4564 rm -f conftest.err conftest.$ac_ext
4566 # OK, works on sane cases. Now check whether nonexistent headers
4567 # can be detected and how.
4568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4569 /* end confdefs.h. */
4570 #include <ac_nonexistent.h>
4571 _ACEOF
4572 if ac_fn_c_try_cpp "$LINENO"; then :
4573 # Broken: success on invalid input.
4574 continue
4575 else
4576 # Passes both tests.
4577 ac_preproc_ok=:
4578 break
4580 rm -f conftest.err conftest.$ac_ext
4582 done
4583 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4584 rm -f conftest.err conftest.$ac_ext
4585 if $ac_preproc_ok; then :
4587 else
4588 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4589 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4590 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4591 See \`config.log' for more details." "$LINENO" 5; }
4594 ac_ext=c
4595 ac_cpp='$CPP $CPPFLAGS'
4596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4602 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4603 if test "${ac_cv_path_GREP+set}" = set; then :
4604 $as_echo_n "(cached) " >&6
4605 else
4606 if test -z "$GREP"; then
4607 ac_path_GREP_found=false
4608 # Loop through the user's path and test for each of PROGNAME-LIST
4609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4610 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4612 IFS=$as_save_IFS
4613 test -z "$as_dir" && as_dir=.
4614 for ac_prog in grep ggrep; do
4615 for ac_exec_ext in '' $ac_executable_extensions; do
4616 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4617 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4618 # Check for GNU ac_path_GREP and select it if it is found.
4619 # Check for GNU $ac_path_GREP
4620 case `"$ac_path_GREP" --version 2>&1` in
4621 *GNU*)
4622 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4624 ac_count=0
4625 $as_echo_n 0123456789 >"conftest.in"
4626 while :
4628 cat "conftest.in" "conftest.in" >"conftest.tmp"
4629 mv "conftest.tmp" "conftest.in"
4630 cp "conftest.in" "conftest.nl"
4631 $as_echo 'GREP' >> "conftest.nl"
4632 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4633 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4634 as_fn_arith $ac_count + 1 && ac_count=$as_val
4635 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4636 # Best one so far, save it but keep looking for a better one
4637 ac_cv_path_GREP="$ac_path_GREP"
4638 ac_path_GREP_max=$ac_count
4640 # 10*(2^10) chars as input seems more than enough
4641 test $ac_count -gt 10 && break
4642 done
4643 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4644 esac
4646 $ac_path_GREP_found && break 3
4647 done
4648 done
4649 done
4650 IFS=$as_save_IFS
4651 if test -z "$ac_cv_path_GREP"; then
4652 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4654 else
4655 ac_cv_path_GREP=$GREP
4659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4660 $as_echo "$ac_cv_path_GREP" >&6; }
4661 GREP="$ac_cv_path_GREP"
4664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4665 $as_echo_n "checking for egrep... " >&6; }
4666 if test "${ac_cv_path_EGREP+set}" = set; then :
4667 $as_echo_n "(cached) " >&6
4668 else
4669 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4670 then ac_cv_path_EGREP="$GREP -E"
4671 else
4672 if test -z "$EGREP"; then
4673 ac_path_EGREP_found=false
4674 # Loop through the user's path and test for each of PROGNAME-LIST
4675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4676 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4678 IFS=$as_save_IFS
4679 test -z "$as_dir" && as_dir=.
4680 for ac_prog in egrep; do
4681 for ac_exec_ext in '' $ac_executable_extensions; do
4682 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4683 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4684 # Check for GNU ac_path_EGREP and select it if it is found.
4685 # Check for GNU $ac_path_EGREP
4686 case `"$ac_path_EGREP" --version 2>&1` in
4687 *GNU*)
4688 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4690 ac_count=0
4691 $as_echo_n 0123456789 >"conftest.in"
4692 while :
4694 cat "conftest.in" "conftest.in" >"conftest.tmp"
4695 mv "conftest.tmp" "conftest.in"
4696 cp "conftest.in" "conftest.nl"
4697 $as_echo 'EGREP' >> "conftest.nl"
4698 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4699 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4700 as_fn_arith $ac_count + 1 && ac_count=$as_val
4701 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4702 # Best one so far, save it but keep looking for a better one
4703 ac_cv_path_EGREP="$ac_path_EGREP"
4704 ac_path_EGREP_max=$ac_count
4706 # 10*(2^10) chars as input seems more than enough
4707 test $ac_count -gt 10 && break
4708 done
4709 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4710 esac
4712 $ac_path_EGREP_found && break 3
4713 done
4714 done
4715 done
4716 IFS=$as_save_IFS
4717 if test -z "$ac_cv_path_EGREP"; then
4718 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4720 else
4721 ac_cv_path_EGREP=$EGREP
4726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4727 $as_echo "$ac_cv_path_EGREP" >&6; }
4728 EGREP="$ac_cv_path_EGREP"
4731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4732 $as_echo_n "checking for ANSI C header files... " >&6; }
4733 if test "${ac_cv_header_stdc+set}" = set; then :
4734 $as_echo_n "(cached) " >&6
4735 else
4736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4737 /* end confdefs.h. */
4738 #include <stdlib.h>
4739 #include <stdarg.h>
4740 #include <string.h>
4741 #include <float.h>
4744 main ()
4748 return 0;
4750 _ACEOF
4751 if ac_fn_c_try_compile "$LINENO"; then :
4752 ac_cv_header_stdc=yes
4753 else
4754 ac_cv_header_stdc=no
4756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4758 if test $ac_cv_header_stdc = yes; then
4759 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4761 /* end confdefs.h. */
4762 #include <string.h>
4764 _ACEOF
4765 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4766 $EGREP "memchr" >/dev/null 2>&1; then :
4768 else
4769 ac_cv_header_stdc=no
4771 rm -f conftest*
4775 if test $ac_cv_header_stdc = yes; then
4776 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4778 /* end confdefs.h. */
4779 #include <stdlib.h>
4781 _ACEOF
4782 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4783 $EGREP "free" >/dev/null 2>&1; then :
4785 else
4786 ac_cv_header_stdc=no
4788 rm -f conftest*
4792 if test $ac_cv_header_stdc = yes; then
4793 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4794 if test "$cross_compiling" = yes; then :
4796 else
4797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4798 /* end confdefs.h. */
4799 #include <ctype.h>
4800 #include <stdlib.h>
4801 #if ((' ' & 0x0FF) == 0x020)
4802 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4803 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4804 #else
4805 # define ISLOWER(c) \
4806 (('a' <= (c) && (c) <= 'i') \
4807 || ('j' <= (c) && (c) <= 'r') \
4808 || ('s' <= (c) && (c) <= 'z'))
4809 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4810 #endif
4812 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4814 main ()
4816 int i;
4817 for (i = 0; i < 256; i++)
4818 if (XOR (islower (i), ISLOWER (i))
4819 || toupper (i) != TOUPPER (i))
4820 return 2;
4821 return 0;
4823 _ACEOF
4824 if ac_fn_c_try_run "$LINENO"; then :
4826 else
4827 ac_cv_header_stdc=no
4829 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4830 conftest.$ac_objext conftest.beam conftest.$ac_ext
4835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4836 $as_echo "$ac_cv_header_stdc" >&6; }
4837 if test $ac_cv_header_stdc = yes; then
4839 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4843 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4844 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4845 inttypes.h stdint.h unistd.h
4846 do :
4847 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4848 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4850 eval as_val=\$$as_ac_Header
4851 if test "x$as_val" = x""yes; then :
4852 cat >>confdefs.h <<_ACEOF
4853 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4854 _ACEOF
4858 done
4862 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4863 if test "x$ac_cv_header_minix_config_h" = x""yes; then :
4864 MINIX=yes
4865 else
4866 MINIX=
4870 if test "$MINIX" = yes; then
4872 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4875 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4878 $as_echo "#define _MINIX 1" >>confdefs.h
4883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4884 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4885 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
4886 $as_echo_n "(cached) " >&6
4887 else
4888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4889 /* end confdefs.h. */
4891 # define __EXTENSIONS__ 1
4892 $ac_includes_default
4894 main ()
4898 return 0;
4900 _ACEOF
4901 if ac_fn_c_try_compile "$LINENO"; then :
4902 ac_cv_safe_to_define___extensions__=yes
4903 else
4904 ac_cv_safe_to_define___extensions__=no
4906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4909 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4910 test $ac_cv_safe_to_define___extensions__ = yes &&
4911 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4913 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4915 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4917 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4919 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4923 # Calculate toolexeclibdir
4924 # Also toolexecdir, though it's only used in toolexeclibdir
4925 case ${version_specific_libs} in
4926 yes)
4927 # Need the gcc compiler version to know where to install libraries
4928 # and header files if --enable-version-specific-runtime-libs option
4929 # is selected.
4930 toolexecdir='$(libdir)/gcc/$(target_alias)'
4931 toolexeclibdir='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
4934 if test -n "$with_cross_host" &&
4935 test x"$with_cross_host" != x"no"; then
4936 # Install a library built with a cross compiler in tooldir, not libdir.
4937 toolexecdir='$(exec_prefix)/$(target_alias)'
4938 toolexeclibdir='$(toolexecdir)/lib'
4939 else
4940 toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
4941 toolexeclibdir='$(libdir)'
4943 multi_os_directory=`$CC -print-multi-os-directory`
4944 case $multi_os_directory in
4945 .) ;; # Avoid trailing /.
4946 *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;
4947 esac
4949 esac
4953 # Create a spec file, so that compile/link tests don't fail
4954 test -f libgfortran.spec || touch libgfortran.spec
4956 ac_ext=c
4957 ac_cpp='$CPP $CPPFLAGS'
4958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4962 # Check the compiler.
4963 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
4964 # We must force CC to /not/ be precious variables; otherwise
4965 # the wrong, non-multilib-adjusted value will be used in multilibs.
4966 # As a side effect, we have to subst CFLAGS ourselves.
4970 ac_ext=c
4971 ac_cpp='$CPP $CPPFLAGS'
4972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4975 if test -n "$ac_tool_prefix"; then
4976 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4977 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4979 $as_echo_n "checking for $ac_word... " >&6; }
4980 if test "${ac_cv_prog_CC+set}" = set; then :
4981 $as_echo_n "(cached) " >&6
4982 else
4983 if test -n "$CC"; then
4984 ac_cv_prog_CC="$CC" # Let the user override the test.
4985 else
4986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4987 for as_dir in $PATH
4989 IFS=$as_save_IFS
4990 test -z "$as_dir" && as_dir=.
4991 for ac_exec_ext in '' $ac_executable_extensions; do
4992 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4993 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4994 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4995 break 2
4997 done
4998 done
4999 IFS=$as_save_IFS
5003 CC=$ac_cv_prog_CC
5004 if test -n "$CC"; then
5005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5006 $as_echo "$CC" >&6; }
5007 else
5008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5009 $as_echo "no" >&6; }
5014 if test -z "$ac_cv_prog_CC"; then
5015 ac_ct_CC=$CC
5016 # Extract the first word of "gcc", so it can be a program name with args.
5017 set dummy gcc; ac_word=$2
5018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5019 $as_echo_n "checking for $ac_word... " >&6; }
5020 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
5021 $as_echo_n "(cached) " >&6
5022 else
5023 if test -n "$ac_ct_CC"; then
5024 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5025 else
5026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5027 for as_dir in $PATH
5029 IFS=$as_save_IFS
5030 test -z "$as_dir" && as_dir=.
5031 for ac_exec_ext in '' $ac_executable_extensions; do
5032 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5033 ac_cv_prog_ac_ct_CC="gcc"
5034 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5035 break 2
5037 done
5038 done
5039 IFS=$as_save_IFS
5043 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5044 if test -n "$ac_ct_CC"; then
5045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5046 $as_echo "$ac_ct_CC" >&6; }
5047 else
5048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5049 $as_echo "no" >&6; }
5052 if test "x$ac_ct_CC" = x; then
5053 CC=""
5054 else
5055 case $cross_compiling:$ac_tool_warned in
5056 yes:)
5057 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5058 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5059 ac_tool_warned=yes ;;
5060 esac
5061 CC=$ac_ct_CC
5063 else
5064 CC="$ac_cv_prog_CC"
5067 if test -z "$CC"; then
5068 if test -n "$ac_tool_prefix"; then
5069 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5070 set dummy ${ac_tool_prefix}cc; ac_word=$2
5071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5072 $as_echo_n "checking for $ac_word... " >&6; }
5073 if test "${ac_cv_prog_CC+set}" = set; then :
5074 $as_echo_n "(cached) " >&6
5075 else
5076 if test -n "$CC"; then
5077 ac_cv_prog_CC="$CC" # Let the user override the test.
5078 else
5079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5080 for as_dir in $PATH
5082 IFS=$as_save_IFS
5083 test -z "$as_dir" && as_dir=.
5084 for ac_exec_ext in '' $ac_executable_extensions; do
5085 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5086 ac_cv_prog_CC="${ac_tool_prefix}cc"
5087 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5088 break 2
5090 done
5091 done
5092 IFS=$as_save_IFS
5096 CC=$ac_cv_prog_CC
5097 if test -n "$CC"; then
5098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5099 $as_echo "$CC" >&6; }
5100 else
5101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5102 $as_echo "no" >&6; }
5108 if test -z "$CC"; then
5109 # Extract the first word of "cc", so it can be a program name with args.
5110 set dummy cc; ac_word=$2
5111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5112 $as_echo_n "checking for $ac_word... " >&6; }
5113 if test "${ac_cv_prog_CC+set}" = set; then :
5114 $as_echo_n "(cached) " >&6
5115 else
5116 if test -n "$CC"; then
5117 ac_cv_prog_CC="$CC" # Let the user override the test.
5118 else
5119 ac_prog_rejected=no
5120 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5121 for as_dir in $PATH
5123 IFS=$as_save_IFS
5124 test -z "$as_dir" && as_dir=.
5125 for ac_exec_ext in '' $ac_executable_extensions; do
5126 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5127 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5128 ac_prog_rejected=yes
5129 continue
5131 ac_cv_prog_CC="cc"
5132 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5133 break 2
5135 done
5136 done
5137 IFS=$as_save_IFS
5139 if test $ac_prog_rejected = yes; then
5140 # We found a bogon in the path, so make sure we never use it.
5141 set dummy $ac_cv_prog_CC
5142 shift
5143 if test $# != 0; then
5144 # We chose a different compiler from the bogus one.
5145 # However, it has the same basename, so the bogon will be chosen
5146 # first if we set CC to just the basename; use the full file name.
5147 shift
5148 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
5153 CC=$ac_cv_prog_CC
5154 if test -n "$CC"; then
5155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5156 $as_echo "$CC" >&6; }
5157 else
5158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5159 $as_echo "no" >&6; }
5164 if test -z "$CC"; then
5165 if test -n "$ac_tool_prefix"; then
5166 for ac_prog in cl.exe
5168 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5169 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5171 $as_echo_n "checking for $ac_word... " >&6; }
5172 if test "${ac_cv_prog_CC+set}" = set; then :
5173 $as_echo_n "(cached) " >&6
5174 else
5175 if test -n "$CC"; then
5176 ac_cv_prog_CC="$CC" # Let the user override the test.
5177 else
5178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5179 for as_dir in $PATH
5181 IFS=$as_save_IFS
5182 test -z "$as_dir" && as_dir=.
5183 for ac_exec_ext in '' $ac_executable_extensions; do
5184 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5185 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
5186 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5187 break 2
5189 done
5190 done
5191 IFS=$as_save_IFS
5195 CC=$ac_cv_prog_CC
5196 if test -n "$CC"; then
5197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5198 $as_echo "$CC" >&6; }
5199 else
5200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5201 $as_echo "no" >&6; }
5205 test -n "$CC" && break
5206 done
5208 if test -z "$CC"; then
5209 ac_ct_CC=$CC
5210 for ac_prog in cl.exe
5212 # Extract the first word of "$ac_prog", so it can be a program name with args.
5213 set dummy $ac_prog; ac_word=$2
5214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5215 $as_echo_n "checking for $ac_word... " >&6; }
5216 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
5217 $as_echo_n "(cached) " >&6
5218 else
5219 if test -n "$ac_ct_CC"; then
5220 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5221 else
5222 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5223 for as_dir in $PATH
5225 IFS=$as_save_IFS
5226 test -z "$as_dir" && as_dir=.
5227 for ac_exec_ext in '' $ac_executable_extensions; do
5228 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5229 ac_cv_prog_ac_ct_CC="$ac_prog"
5230 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5231 break 2
5233 done
5234 done
5235 IFS=$as_save_IFS
5239 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5240 if test -n "$ac_ct_CC"; then
5241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5242 $as_echo "$ac_ct_CC" >&6; }
5243 else
5244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5245 $as_echo "no" >&6; }
5249 test -n "$ac_ct_CC" && break
5250 done
5252 if test "x$ac_ct_CC" = x; then
5253 CC=""
5254 else
5255 case $cross_compiling:$ac_tool_warned in
5256 yes:)
5257 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5258 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5259 ac_tool_warned=yes ;;
5260 esac
5261 CC=$ac_ct_CC
5268 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5269 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5270 as_fn_error "no acceptable C compiler found in \$PATH
5271 See \`config.log' for more details." "$LINENO" 5; }
5273 # Provide some information about the compiler.
5274 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5275 set X $ac_compile
5276 ac_compiler=$2
5277 for ac_option in --version -v -V -qversion; do
5278 { { ac_try="$ac_compiler $ac_option >&5"
5279 case "(($ac_try" in
5280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5281 *) ac_try_echo=$ac_try;;
5282 esac
5283 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5284 $as_echo "$ac_try_echo"; } >&5
5285 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5286 ac_status=$?
5287 if test -s conftest.err; then
5288 sed '10a\
5289 ... rest of stderr output deleted ...
5290 10q' conftest.err >conftest.er1
5291 cat conftest.er1 >&5
5292 rm -f conftest.er1 conftest.err
5294 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5295 test $ac_status = 0; }
5296 done
5298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5299 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5300 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
5301 $as_echo_n "(cached) " >&6
5302 else
5303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5304 /* end confdefs.h. */
5307 main ()
5309 #ifndef __GNUC__
5310 choke me
5311 #endif
5314 return 0;
5316 _ACEOF
5317 if ac_fn_c_try_compile "$LINENO"; then :
5318 ac_compiler_gnu=yes
5319 else
5320 ac_compiler_gnu=no
5322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5323 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5327 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5328 if test $ac_compiler_gnu = yes; then
5329 GCC=yes
5330 else
5331 GCC=
5333 ac_test_CFLAGS=${CFLAGS+set}
5334 ac_save_CFLAGS=$CFLAGS
5335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5336 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5337 if test "${ac_cv_prog_cc_g+set}" = set; then :
5338 $as_echo_n "(cached) " >&6
5339 else
5340 ac_save_c_werror_flag=$ac_c_werror_flag
5341 ac_c_werror_flag=yes
5342 ac_cv_prog_cc_g=no
5343 CFLAGS="-g"
5344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5345 /* end confdefs.h. */
5348 main ()
5352 return 0;
5354 _ACEOF
5355 if ac_fn_c_try_compile "$LINENO"; then :
5356 ac_cv_prog_cc_g=yes
5357 else
5358 CFLAGS=""
5359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5360 /* end confdefs.h. */
5363 main ()
5367 return 0;
5369 _ACEOF
5370 if ac_fn_c_try_compile "$LINENO"; then :
5372 else
5373 ac_c_werror_flag=$ac_save_c_werror_flag
5374 CFLAGS="-g"
5375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5376 /* end confdefs.h. */
5379 main ()
5383 return 0;
5385 _ACEOF
5386 if ac_fn_c_try_compile "$LINENO"; then :
5387 ac_cv_prog_cc_g=yes
5389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5394 ac_c_werror_flag=$ac_save_c_werror_flag
5396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5397 $as_echo "$ac_cv_prog_cc_g" >&6; }
5398 if test "$ac_test_CFLAGS" = set; then
5399 CFLAGS=$ac_save_CFLAGS
5400 elif test $ac_cv_prog_cc_g = yes; then
5401 if test "$GCC" = yes; then
5402 CFLAGS="-g -O2"
5403 else
5404 CFLAGS="-g"
5406 else
5407 if test "$GCC" = yes; then
5408 CFLAGS="-O2"
5409 else
5410 CFLAGS=
5413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5414 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5415 if test "${ac_cv_prog_cc_c89+set}" = set; then :
5416 $as_echo_n "(cached) " >&6
5417 else
5418 ac_cv_prog_cc_c89=no
5419 ac_save_CC=$CC
5420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5421 /* end confdefs.h. */
5422 #include <stdarg.h>
5423 #include <stdio.h>
5424 #include <sys/types.h>
5425 #include <sys/stat.h>
5426 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5427 struct buf { int x; };
5428 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5429 static char *e (p, i)
5430 char **p;
5431 int i;
5433 return p[i];
5435 static char *f (char * (*g) (char **, int), char **p, ...)
5437 char *s;
5438 va_list v;
5439 va_start (v,p);
5440 s = g (p, va_arg (v,int));
5441 va_end (v);
5442 return s;
5445 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5446 function prototypes and stuff, but not '\xHH' hex character constants.
5447 These don't provoke an error unfortunately, instead are silently treated
5448 as 'x'. The following induces an error, until -std is added to get
5449 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5450 array size at least. It's necessary to write '\x00'==0 to get something
5451 that's true only with -std. */
5452 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5454 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5455 inside strings and character constants. */
5456 #define FOO(x) 'x'
5457 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5459 int test (int i, double x);
5460 struct s1 {int (*f) (int a);};
5461 struct s2 {int (*f) (double a);};
5462 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5463 int argc;
5464 char **argv;
5466 main ()
5468 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5470 return 0;
5472 _ACEOF
5473 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5474 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5476 CC="$ac_save_CC $ac_arg"
5477 if ac_fn_c_try_compile "$LINENO"; then :
5478 ac_cv_prog_cc_c89=$ac_arg
5480 rm -f core conftest.err conftest.$ac_objext
5481 test "x$ac_cv_prog_cc_c89" != "xno" && break
5482 done
5483 rm -f conftest.$ac_ext
5484 CC=$ac_save_CC
5487 # AC_CACHE_VAL
5488 case "x$ac_cv_prog_cc_c89" in
5490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5491 $as_echo "none needed" >&6; } ;;
5492 xno)
5493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5494 $as_echo "unsupported" >&6; } ;;
5496 CC="$CC $ac_cv_prog_cc_c89"
5497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5498 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5499 esac
5500 if test "x$ac_cv_prog_cc_c89" != xno; then :
5504 ac_ext=c
5505 ac_cpp='$CPP $CPPFLAGS'
5506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5510 depcc="$CC" am_compiler_list=
5512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5513 $as_echo_n "checking dependency style of $depcc... " >&6; }
5514 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
5515 $as_echo_n "(cached) " >&6
5516 else
5517 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5518 # We make a subdir and do the tests there. Otherwise we can end up
5519 # making bogus files that we don't know about and never remove. For
5520 # instance it was reported that on HP-UX the gcc test will end up
5521 # making a dummy file named `D' -- because `-MD' means `put the output
5522 # in D'.
5523 rm -rf conftest.dir
5524 mkdir conftest.dir
5525 # Copy depcomp to subdir because otherwise we won't find it if we're
5526 # using a relative directory.
5527 cp "$am_depcomp" conftest.dir
5528 cd conftest.dir
5529 # We will build objects and dependencies in a subdirectory because
5530 # it helps to detect inapplicable dependency modes. For instance
5531 # both Tru64's cc and ICC support -MD to output dependencies as a
5532 # side effect of compilation, but ICC will put the dependencies in
5533 # the current directory while Tru64 will put them in the object
5534 # directory.
5535 mkdir sub
5537 am_cv_CC_dependencies_compiler_type=none
5538 if test "$am_compiler_list" = ""; then
5539 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5541 am__universal=false
5542 case " $depcc " in #(
5543 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5544 esac
5546 for depmode in $am_compiler_list; do
5547 # Setup a source with many dependencies, because some compilers
5548 # like to wrap large dependency lists on column 80 (with \), and
5549 # we should not choose a depcomp mode which is confused by this.
5551 # We need to recreate these files for each test, as the compiler may
5552 # overwrite some of them when testing with obscure command lines.
5553 # This happens at least with the AIX C compiler.
5554 : > sub/conftest.c
5555 for i in 1 2 3 4 5 6; do
5556 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5557 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5558 # Solaris 8's {/usr,}/bin/sh.
5559 touch sub/conftst$i.h
5560 done
5561 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5563 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5564 # mode. It turns out that the SunPro C++ compiler does not properly
5565 # handle `-M -o', and we need to detect this. Also, some Intel
5566 # versions had trouble with output in subdirs
5567 am__obj=sub/conftest.${OBJEXT-o}
5568 am__minus_obj="-o $am__obj"
5569 case $depmode in
5570 gcc)
5571 # This depmode causes a compiler race in universal mode.
5572 test "$am__universal" = false || continue
5574 nosideeffect)
5575 # after this tag, mechanisms are not by side-effect, so they'll
5576 # only be used when explicitly requested
5577 if test "x$enable_dependency_tracking" = xyes; then
5578 continue
5579 else
5580 break
5583 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5584 # This compiler won't grok `-c -o', but also, the minuso test has
5585 # not run yet. These depmodes are late enough in the game, and
5586 # so weak that their functioning should not be impacted.
5587 am__obj=conftest.${OBJEXT-o}
5588 am__minus_obj=
5590 none) break ;;
5591 esac
5592 if depmode=$depmode \
5593 source=sub/conftest.c object=$am__obj \
5594 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5595 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5596 >/dev/null 2>conftest.err &&
5597 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5598 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5599 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5600 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5601 # icc doesn't choke on unknown options, it will just issue warnings
5602 # or remarks (even with -Werror). So we grep stderr for any message
5603 # that says an option was ignored or not supported.
5604 # When given -MP, icc 7.0 and 7.1 complain thusly:
5605 # icc: Command line warning: ignoring option '-M'; no argument required
5606 # The diagnosis changed in icc 8.0:
5607 # icc: Command line remark: option '-MP' not supported
5608 if (grep 'ignoring option' conftest.err ||
5609 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5610 am_cv_CC_dependencies_compiler_type=$depmode
5611 break
5614 done
5616 cd ..
5617 rm -rf conftest.dir
5618 else
5619 am_cv_CC_dependencies_compiler_type=none
5623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5624 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5625 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5628 test "x$enable_dependency_tracking" != xno \
5629 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5630 am__fastdepCC_TRUE=
5631 am__fastdepCC_FALSE='#'
5632 else
5633 am__fastdepCC_TRUE='#'
5634 am__fastdepCC_FALSE=
5642 if test "x$CC" != xcc; then
5643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
5644 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
5645 else
5646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
5647 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
5649 set dummy $CC; ac_cc=`$as_echo "$2" |
5650 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5651 if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
5652 $as_echo_n "(cached) " >&6
5653 else
5654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5655 /* end confdefs.h. */
5658 main ()
5662 return 0;
5664 _ACEOF
5665 # Make sure it works both with $CC and with simple cc.
5666 # We do the test twice because some compilers refuse to overwrite an
5667 # existing .o file with -o, though they will create one.
5668 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5669 rm -f conftest2.*
5670 if { { case "(($ac_try" in
5671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5672 *) ac_try_echo=$ac_try;;
5673 esac
5674 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5675 $as_echo "$ac_try_echo"; } >&5
5676 (eval "$ac_try") 2>&5
5677 ac_status=$?
5678 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5679 test $ac_status = 0; } &&
5680 test -f conftest2.$ac_objext && { { case "(($ac_try" in
5681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5682 *) ac_try_echo=$ac_try;;
5683 esac
5684 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5685 $as_echo "$ac_try_echo"; } >&5
5686 (eval "$ac_try") 2>&5
5687 ac_status=$?
5688 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5689 test $ac_status = 0; };
5690 then
5691 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
5692 if test "x$CC" != xcc; then
5693 # Test first that cc exists at all.
5694 if { ac_try='cc -c conftest.$ac_ext >&5'
5695 { { case "(($ac_try" in
5696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5697 *) ac_try_echo=$ac_try;;
5698 esac
5699 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5700 $as_echo "$ac_try_echo"; } >&5
5701 (eval "$ac_try") 2>&5
5702 ac_status=$?
5703 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5704 test $ac_status = 0; }; }; then
5705 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5706 rm -f conftest2.*
5707 if { { case "(($ac_try" in
5708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5709 *) ac_try_echo=$ac_try;;
5710 esac
5711 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5712 $as_echo "$ac_try_echo"; } >&5
5713 (eval "$ac_try") 2>&5
5714 ac_status=$?
5715 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5716 test $ac_status = 0; } &&
5717 test -f conftest2.$ac_objext && { { case "(($ac_try" in
5718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5719 *) ac_try_echo=$ac_try;;
5720 esac
5721 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5722 $as_echo "$ac_try_echo"; } >&5
5723 (eval "$ac_try") 2>&5
5724 ac_status=$?
5725 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5726 test $ac_status = 0; };
5727 then
5728 # cc works too.
5730 else
5731 # cc exists but doesn't like -o.
5732 eval ac_cv_prog_cc_${ac_cc}_c_o=no
5736 else
5737 eval ac_cv_prog_cc_${ac_cc}_c_o=no
5739 rm -f core conftest*
5742 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
5743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5744 $as_echo "yes" >&6; }
5745 else
5746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5747 $as_echo "no" >&6; }
5749 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
5753 # FIXME: we rely on the cache variable name because
5754 # there is no other way.
5755 set dummy $CC
5756 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5757 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
5758 if test "$am_t" != yes; then
5759 # Losing compiler, so override with the script.
5760 # FIXME: It is wrong to rewrite CC.
5761 # But if we don't then we get into trouble of one sort or another.
5762 # A longer-term fix would be to have automake use am__CC in this case,
5763 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5764 CC="$am_aux_dir/compile $CC"
5769 # Add -Wall -fno-repack-arrays -fno-underscoring if we are using GCC.
5770 if test "x$GCC" = "xyes"; then
5771 AM_FCFLAGS="-I . -Wall -Werror -fimplicit-none -fno-repack-arrays -fno-underscoring"
5772 ## We like to use C99 routines when available. This makes sure that
5773 ## __STDC_VERSION__ is set such that libc includes make them available.
5774 AM_CFLAGS="-std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings"
5775 ## Compile the following tests with the same system header contents
5776 ## that we'll encounter when compiling our own source files.
5777 CFLAGS="-std=gnu99 $CFLAGS"
5783 # Check for symbol versioning (copied from libssp).
5784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether symbol versioning is supported" >&5
5785 $as_echo_n "checking whether symbol versioning is supported... " >&6; }
5786 # Check whether --enable-symvers was given.
5787 if test "${enable_symvers+set}" = set; then :
5788 enableval=$enable_symvers; gfortran_use_symver=$enableval
5789 else
5790 gfortran_use_symver=yes
5793 if test "x$gfortran_use_symver" != xno; then
5794 save_LDFLAGS="$LDFLAGS"
5795 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,--version-script,./conftest.map"
5796 cat > conftest.map <<EOF
5797 FOO_1.0 {
5798 global: *foo*; bar; local: *;
5801 if test x$gcc_no_link = xyes; then
5802 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
5804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5805 /* end confdefs.h. */
5806 int foo;
5808 main ()
5812 return 0;
5814 _ACEOF
5815 if ac_fn_c_try_link "$LINENO"; then :
5816 gfortran_use_symver=gnu
5817 else
5818 gfortran_use_symver=no
5820 rm -f core conftest.err conftest.$ac_objext \
5821 conftest$ac_exeext conftest.$ac_ext
5822 if test x$gfortran_use_symver = xno; then
5823 case "$target_os" in
5824 solaris2*)
5825 LDFLAGS="$save_LDFLAGS"
5826 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,-M,./conftest.map"
5827 # Sun ld cannot handle wildcards and treats all entries as undefined.
5828 cat > conftest.map <<EOF
5829 FOO_1.0 {
5830 global: foo; local: *;
5833 if test x$gcc_no_link = xyes; then
5834 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
5836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5837 /* end confdefs.h. */
5838 int foo;
5840 main ()
5844 return 0;
5846 _ACEOF
5847 if ac_fn_c_try_link "$LINENO"; then :
5848 gfortran_use_symver=sun
5849 else
5850 gfortran_use_symver=no
5852 rm -f core conftest.err conftest.$ac_objext \
5853 conftest$ac_exeext conftest.$ac_ext
5855 esac
5857 LDFLAGS="$save_LDFLAGS"
5859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gfortran_use_symver" >&5
5860 $as_echo "$gfortran_use_symver" >&6; }
5861 if test "x$gfortran_use_symver" != xno; then
5862 LIBGFOR_USE_SYMVER_TRUE=
5863 LIBGFOR_USE_SYMVER_FALSE='#'
5864 else
5865 LIBGFOR_USE_SYMVER_TRUE='#'
5866 LIBGFOR_USE_SYMVER_FALSE=
5869 if test "x$gfortran_use_symver" = xgnu; then
5870 LIBGFOR_USE_SYMVER_GNU_TRUE=
5871 LIBGFOR_USE_SYMVER_GNU_FALSE='#'
5872 else
5873 LIBGFOR_USE_SYMVER_GNU_TRUE='#'
5874 LIBGFOR_USE_SYMVER_GNU_FALSE=
5877 if test "x$gfortran_use_symver" = xsun; then
5878 LIBGFOR_USE_SYMVER_SUN_TRUE=
5879 LIBGFOR_USE_SYMVER_SUN_FALSE='#'
5880 else
5881 LIBGFOR_USE_SYMVER_SUN_TRUE='#'
5882 LIBGFOR_USE_SYMVER_SUN_FALSE=
5886 # Figure out whether the compiler supports "-ffunction-sections -fdata-sections",
5887 # similarly to how libstdc++ does it
5888 ac_test_CFLAGS="${CFLAGS+set}"
5889 ac_save_CFLAGS="$CFLAGS"
5891 # Check for -ffunction-sections -fdata-sections
5892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc that supports -ffunction-sections -fdata-sections" >&5
5893 $as_echo_n "checking for gcc that supports -ffunction-sections -fdata-sections... " >&6; }
5894 CFLAGS='-Werror -ffunction-sections -fdata-sections'
5895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5896 /* end confdefs.h. */
5899 main ()
5901 int foo;
5903 return 0;
5905 _ACEOF
5906 if ac_fn_c_try_compile "$LINENO"; then :
5907 ac_fdsections=yes
5908 else
5909 ac_fdsections=no
5911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5912 if test "$ac_test_CFLAGS" = set; then
5913 CFLAGS="$ac_save_CFLAGS"
5914 else
5915 # this is the suspicious part
5916 CFLAGS=""
5918 if test x"$ac_fdsections" = x"yes"; then
5919 SECTION_FLAGS='-ffunction-sections -fdata-sections'
5921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
5922 $as_echo "$ac_fdsections" >&6; }
5925 # Find other programs we need.
5926 if test -n "$ac_tool_prefix"; then
5927 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5928 set dummy ${ac_tool_prefix}as; ac_word=$2
5929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5930 $as_echo_n "checking for $ac_word... " >&6; }
5931 if test "${ac_cv_prog_AS+set}" = set; then :
5932 $as_echo_n "(cached) " >&6
5933 else
5934 if test -n "$AS"; then
5935 ac_cv_prog_AS="$AS" # Let the user override the test.
5936 else
5937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5938 for as_dir in $PATH
5940 IFS=$as_save_IFS
5941 test -z "$as_dir" && as_dir=.
5942 for ac_exec_ext in '' $ac_executable_extensions; do
5943 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5944 ac_cv_prog_AS="${ac_tool_prefix}as"
5945 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5946 break 2
5948 done
5949 done
5950 IFS=$as_save_IFS
5954 AS=$ac_cv_prog_AS
5955 if test -n "$AS"; then
5956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5957 $as_echo "$AS" >&6; }
5958 else
5959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5960 $as_echo "no" >&6; }
5965 if test -z "$ac_cv_prog_AS"; then
5966 ac_ct_AS=$AS
5967 # Extract the first word of "as", so it can be a program name with args.
5968 set dummy as; ac_word=$2
5969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5970 $as_echo_n "checking for $ac_word... " >&6; }
5971 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
5972 $as_echo_n "(cached) " >&6
5973 else
5974 if test -n "$ac_ct_AS"; then
5975 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5976 else
5977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5978 for as_dir in $PATH
5980 IFS=$as_save_IFS
5981 test -z "$as_dir" && as_dir=.
5982 for ac_exec_ext in '' $ac_executable_extensions; do
5983 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5984 ac_cv_prog_ac_ct_AS="as"
5985 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5986 break 2
5988 done
5989 done
5990 IFS=$as_save_IFS
5994 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5995 if test -n "$ac_ct_AS"; then
5996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5997 $as_echo "$ac_ct_AS" >&6; }
5998 else
5999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6000 $as_echo "no" >&6; }
6003 if test "x$ac_ct_AS" = x; then
6004 AS=""
6005 else
6006 case $cross_compiling:$ac_tool_warned in
6007 yes:)
6008 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6009 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6010 ac_tool_warned=yes ;;
6011 esac
6012 AS=$ac_ct_AS
6014 else
6015 AS="$ac_cv_prog_AS"
6018 if test -n "$ac_tool_prefix"; then
6019 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6020 set dummy ${ac_tool_prefix}ar; ac_word=$2
6021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6022 $as_echo_n "checking for $ac_word... " >&6; }
6023 if test "${ac_cv_prog_AR+set}" = set; then :
6024 $as_echo_n "(cached) " >&6
6025 else
6026 if test -n "$AR"; then
6027 ac_cv_prog_AR="$AR" # Let the user override the test.
6028 else
6029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6030 for as_dir in $PATH
6032 IFS=$as_save_IFS
6033 test -z "$as_dir" && as_dir=.
6034 for ac_exec_ext in '' $ac_executable_extensions; do
6035 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6036 ac_cv_prog_AR="${ac_tool_prefix}ar"
6037 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6038 break 2
6040 done
6041 done
6042 IFS=$as_save_IFS
6046 AR=$ac_cv_prog_AR
6047 if test -n "$AR"; then
6048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6049 $as_echo "$AR" >&6; }
6050 else
6051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6052 $as_echo "no" >&6; }
6057 if test -z "$ac_cv_prog_AR"; then
6058 ac_ct_AR=$AR
6059 # Extract the first word of "ar", so it can be a program name with args.
6060 set dummy ar; ac_word=$2
6061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6062 $as_echo_n "checking for $ac_word... " >&6; }
6063 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6064 $as_echo_n "(cached) " >&6
6065 else
6066 if test -n "$ac_ct_AR"; then
6067 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6068 else
6069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6070 for as_dir in $PATH
6072 IFS=$as_save_IFS
6073 test -z "$as_dir" && as_dir=.
6074 for ac_exec_ext in '' $ac_executable_extensions; do
6075 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6076 ac_cv_prog_ac_ct_AR="ar"
6077 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6078 break 2
6080 done
6081 done
6082 IFS=$as_save_IFS
6086 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6087 if test -n "$ac_ct_AR"; then
6088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6089 $as_echo "$ac_ct_AR" >&6; }
6090 else
6091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6092 $as_echo "no" >&6; }
6095 if test "x$ac_ct_AR" = x; then
6096 AR=""
6097 else
6098 case $cross_compiling:$ac_tool_warned in
6099 yes:)
6100 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6101 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6102 ac_tool_warned=yes ;;
6103 esac
6104 AR=$ac_ct_AR
6106 else
6107 AR="$ac_cv_prog_AR"
6110 if test -n "$ac_tool_prefix"; then
6111 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6112 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6114 $as_echo_n "checking for $ac_word... " >&6; }
6115 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6116 $as_echo_n "(cached) " >&6
6117 else
6118 if test -n "$RANLIB"; then
6119 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6120 else
6121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6122 for as_dir in $PATH
6124 IFS=$as_save_IFS
6125 test -z "$as_dir" && as_dir=.
6126 for ac_exec_ext in '' $ac_executable_extensions; do
6127 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6128 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6129 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6130 break 2
6132 done
6133 done
6134 IFS=$as_save_IFS
6138 RANLIB=$ac_cv_prog_RANLIB
6139 if test -n "$RANLIB"; then
6140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6141 $as_echo "$RANLIB" >&6; }
6142 else
6143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6144 $as_echo "no" >&6; }
6149 if test -z "$ac_cv_prog_RANLIB"; then
6150 ac_ct_RANLIB=$RANLIB
6151 # Extract the first word of "ranlib", so it can be a program name with args.
6152 set dummy ranlib; ac_word=$2
6153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6154 $as_echo_n "checking for $ac_word... " >&6; }
6155 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6156 $as_echo_n "(cached) " >&6
6157 else
6158 if test -n "$ac_ct_RANLIB"; then
6159 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6160 else
6161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6162 for as_dir in $PATH
6164 IFS=$as_save_IFS
6165 test -z "$as_dir" && as_dir=.
6166 for ac_exec_ext in '' $ac_executable_extensions; do
6167 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6168 ac_cv_prog_ac_ct_RANLIB="ranlib"
6169 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6170 break 2
6172 done
6173 done
6174 IFS=$as_save_IFS
6178 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6179 if test -n "$ac_ct_RANLIB"; then
6180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6181 $as_echo "$ac_ct_RANLIB" >&6; }
6182 else
6183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6184 $as_echo "no" >&6; }
6187 if test "x$ac_ct_RANLIB" = x; then
6188 RANLIB="ranlib-not-found-in-path-error"
6189 else
6190 case $cross_compiling:$ac_tool_warned in
6191 yes:)
6192 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6193 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6194 ac_tool_warned=yes ;;
6195 esac
6196 RANLIB=$ac_ct_RANLIB
6198 else
6199 RANLIB="$ac_cv_prog_RANLIB"
6202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6203 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
6204 set x ${MAKE-make}
6205 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
6206 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
6207 $as_echo_n "(cached) " >&6
6208 else
6209 cat >conftest.make <<\_ACEOF
6210 SHELL = /bin/sh
6211 all:
6212 @echo '@@@%%%=$(MAKE)=@@@%%%'
6213 _ACEOF
6214 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
6215 case `${MAKE-make} -f conftest.make 2>/dev/null` in
6216 *@@@%%%=?*=@@@%%%*)
6217 eval ac_cv_prog_make_${ac_make}_set=yes;;
6219 eval ac_cv_prog_make_${ac_make}_set=no;;
6220 esac
6221 rm -f conftest.make
6223 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
6224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6225 $as_echo "yes" >&6; }
6226 SET_MAKE=
6227 else
6228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6229 $as_echo "no" >&6; }
6230 SET_MAKE="MAKE=${MAKE-make}"
6235 # Configure libtool
6236 #AC_MSG_NOTICE([====== Starting libtool configuration])
6237 enable_dlopen=yes
6241 case `pwd` in
6242 *\ * | *\ *)
6243 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
6244 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
6245 esac
6249 macro_version='2.2.7a'
6250 macro_revision='1.3134'
6264 ltmain="$ac_aux_dir/ltmain.sh"
6266 # Backslashify metacharacters that are still active within
6267 # double-quoted strings.
6268 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
6270 # Same as above, but do not quote variable references.
6271 double_quote_subst='s/\(["`\\]\)/\\\1/g'
6273 # Sed substitution to delay expansion of an escaped shell variable in a
6274 # double_quote_subst'ed string.
6275 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6277 # Sed substitution to delay expansion of an escaped single quote.
6278 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6280 # Sed substitution to avoid accidental globbing in evaled expressions
6281 no_glob_subst='s/\*/\\\*/g'
6283 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6284 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6285 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
6288 $as_echo_n "checking how to print strings... " >&6; }
6289 # Test print first, because it will be a builtin if present.
6290 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
6291 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
6292 ECHO='print -r --'
6293 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
6294 ECHO='printf %s\n'
6295 else
6296 # Use this function as a fallback that always works.
6297 func_fallback_echo ()
6299 eval 'cat <<_LTECHO_EOF
6301 _LTECHO_EOF'
6303 ECHO='func_fallback_echo'
6306 # func_echo_all arg...
6307 # Invoke $ECHO with all args, space-separated.
6308 func_echo_all ()
6310 $ECHO ""
6313 case "$ECHO" in
6314 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6315 $as_echo "printf" >&6; } ;;
6316 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6317 $as_echo "print -r" >&6; } ;;
6318 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6319 $as_echo "cat" >&6; } ;;
6320 esac
6335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6336 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6337 if test "${ac_cv_path_SED+set}" = set; then :
6338 $as_echo_n "(cached) " >&6
6339 else
6340 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6341 for ac_i in 1 2 3 4 5 6 7; do
6342 ac_script="$ac_script$as_nl$ac_script"
6343 done
6344 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6345 { ac_script=; unset ac_script;}
6346 if test -z "$SED"; then
6347 ac_path_SED_found=false
6348 # Loop through the user's path and test for each of PROGNAME-LIST
6349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6350 for as_dir in $PATH
6352 IFS=$as_save_IFS
6353 test -z "$as_dir" && as_dir=.
6354 for ac_prog in sed gsed; do
6355 for ac_exec_ext in '' $ac_executable_extensions; do
6356 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6357 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
6358 # Check for GNU ac_path_SED and select it if it is found.
6359 # Check for GNU $ac_path_SED
6360 case `"$ac_path_SED" --version 2>&1` in
6361 *GNU*)
6362 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6364 ac_count=0
6365 $as_echo_n 0123456789 >"conftest.in"
6366 while :
6368 cat "conftest.in" "conftest.in" >"conftest.tmp"
6369 mv "conftest.tmp" "conftest.in"
6370 cp "conftest.in" "conftest.nl"
6371 $as_echo '' >> "conftest.nl"
6372 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6373 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6374 as_fn_arith $ac_count + 1 && ac_count=$as_val
6375 if test $ac_count -gt ${ac_path_SED_max-0}; then
6376 # Best one so far, save it but keep looking for a better one
6377 ac_cv_path_SED="$ac_path_SED"
6378 ac_path_SED_max=$ac_count
6380 # 10*(2^10) chars as input seems more than enough
6381 test $ac_count -gt 10 && break
6382 done
6383 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6384 esac
6386 $ac_path_SED_found && break 3
6387 done
6388 done
6389 done
6390 IFS=$as_save_IFS
6391 if test -z "$ac_cv_path_SED"; then
6392 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
6394 else
6395 ac_cv_path_SED=$SED
6399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6400 $as_echo "$ac_cv_path_SED" >&6; }
6401 SED="$ac_cv_path_SED"
6402 rm -f conftest.sed
6404 test -z "$SED" && SED=sed
6405 Xsed="$SED -e 1s/^X//"
6417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6418 $as_echo_n "checking for fgrep... " >&6; }
6419 if test "${ac_cv_path_FGREP+set}" = set; then :
6420 $as_echo_n "(cached) " >&6
6421 else
6422 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6423 then ac_cv_path_FGREP="$GREP -F"
6424 else
6425 if test -z "$FGREP"; then
6426 ac_path_FGREP_found=false
6427 # Loop through the user's path and test for each of PROGNAME-LIST
6428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6429 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6431 IFS=$as_save_IFS
6432 test -z "$as_dir" && as_dir=.
6433 for ac_prog in fgrep; do
6434 for ac_exec_ext in '' $ac_executable_extensions; do
6435 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6436 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
6437 # Check for GNU ac_path_FGREP and select it if it is found.
6438 # Check for GNU $ac_path_FGREP
6439 case `"$ac_path_FGREP" --version 2>&1` in
6440 *GNU*)
6441 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6443 ac_count=0
6444 $as_echo_n 0123456789 >"conftest.in"
6445 while :
6447 cat "conftest.in" "conftest.in" >"conftest.tmp"
6448 mv "conftest.tmp" "conftest.in"
6449 cp "conftest.in" "conftest.nl"
6450 $as_echo 'FGREP' >> "conftest.nl"
6451 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6452 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6453 as_fn_arith $ac_count + 1 && ac_count=$as_val
6454 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6455 # Best one so far, save it but keep looking for a better one
6456 ac_cv_path_FGREP="$ac_path_FGREP"
6457 ac_path_FGREP_max=$ac_count
6459 # 10*(2^10) chars as input seems more than enough
6460 test $ac_count -gt 10 && break
6461 done
6462 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6463 esac
6465 $ac_path_FGREP_found && break 3
6466 done
6467 done
6468 done
6469 IFS=$as_save_IFS
6470 if test -z "$ac_cv_path_FGREP"; then
6471 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6473 else
6474 ac_cv_path_FGREP=$FGREP
6479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6480 $as_echo "$ac_cv_path_FGREP" >&6; }
6481 FGREP="$ac_cv_path_FGREP"
6484 test -z "$GREP" && GREP=grep
6504 # Check whether --with-gnu-ld was given.
6505 if test "${with_gnu_ld+set}" = set; then :
6506 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6507 else
6508 with_gnu_ld=no
6511 ac_prog=ld
6512 if test "$GCC" = yes; then
6513 # Check if gcc -print-prog-name=ld gives a path.
6514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6515 $as_echo_n "checking for ld used by $CC... " >&6; }
6516 case $host in
6517 *-*-mingw*)
6518 # gcc leaves a trailing carriage return which upsets mingw
6519 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6521 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6522 esac
6523 case $ac_prog in
6524 # Accept absolute paths.
6525 [\\/]* | ?:[\\/]*)
6526 re_direlt='/[^/][^/]*/\.\./'
6527 # Canonicalize the pathname of ld
6528 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6529 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6530 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6531 done
6532 test -z "$LD" && LD="$ac_prog"
6535 # If it fails, then pretend we aren't using GCC.
6536 ac_prog=ld
6539 # If it is relative, then search for the first ld in PATH.
6540 with_gnu_ld=unknown
6542 esac
6543 elif test "$with_gnu_ld" = yes; then
6544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6545 $as_echo_n "checking for GNU ld... " >&6; }
6546 else
6547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6548 $as_echo_n "checking for non-GNU ld... " >&6; }
6550 if test "${lt_cv_path_LD+set}" = set; then :
6551 $as_echo_n "(cached) " >&6
6552 else
6553 if test -z "$LD"; then
6554 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6555 for ac_dir in $PATH; do
6556 IFS="$lt_save_ifs"
6557 test -z "$ac_dir" && ac_dir=.
6558 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6559 lt_cv_path_LD="$ac_dir/$ac_prog"
6560 # Check to see if the program is GNU ld. I'd rather use --version,
6561 # but apparently some variants of GNU ld only accept -v.
6562 # Break only if it was the GNU/non-GNU ld that we prefer.
6563 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6564 *GNU* | *'with BFD'*)
6565 test "$with_gnu_ld" != no && break
6568 test "$with_gnu_ld" != yes && break
6570 esac
6572 done
6573 IFS="$lt_save_ifs"
6574 else
6575 lt_cv_path_LD="$LD" # Let the user override the test with a path.
6579 LD="$lt_cv_path_LD"
6580 if test -n "$LD"; then
6581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6582 $as_echo "$LD" >&6; }
6583 else
6584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6585 $as_echo "no" >&6; }
6587 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
6588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6589 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6590 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
6591 $as_echo_n "(cached) " >&6
6592 else
6593 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6594 case `$LD -v 2>&1 </dev/null` in
6595 *GNU* | *'with BFD'*)
6596 lt_cv_prog_gnu_ld=yes
6599 lt_cv_prog_gnu_ld=no
6601 esac
6603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6604 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6605 with_gnu_ld=$lt_cv_prog_gnu_ld
6615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6616 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6617 if test "${lt_cv_path_NM+set}" = set; then :
6618 $as_echo_n "(cached) " >&6
6619 else
6620 if test -n "$NM"; then
6621 # Let the user override the test.
6622 lt_cv_path_NM="$NM"
6623 else
6624 lt_nm_to_check="${ac_tool_prefix}nm"
6625 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6626 lt_nm_to_check="$lt_nm_to_check nm"
6628 for lt_tmp_nm in $lt_nm_to_check; do
6629 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6630 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6631 IFS="$lt_save_ifs"
6632 test -z "$ac_dir" && ac_dir=.
6633 tmp_nm="$ac_dir/$lt_tmp_nm"
6634 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6635 # Check to see if the nm accepts a BSD-compat flag.
6636 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6637 # nm: unknown option "B" ignored
6638 # Tru64's nm complains that /dev/null is an invalid object file
6639 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6640 */dev/null* | *'Invalid file or object type'*)
6641 lt_cv_path_NM="$tmp_nm -B"
6642 break
6645 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6646 */dev/null*)
6647 lt_cv_path_NM="$tmp_nm -p"
6648 break
6651 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6652 continue # so that we can try to find one that supports BSD flags
6654 esac
6656 esac
6658 done
6659 IFS="$lt_save_ifs"
6660 done
6661 : ${lt_cv_path_NM=no}
6664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6665 $as_echo "$lt_cv_path_NM" >&6; }
6666 if test "$lt_cv_path_NM" != "no"; then
6667 NM="$lt_cv_path_NM"
6668 else
6669 # Didn't find any BSD compatible name lister, look for dumpbin.
6670 if test -n "$DUMPBIN"; then :
6671 # Let the user override the test.
6672 else
6673 if test -n "$ac_tool_prefix"; then
6674 for ac_prog in dumpbin "link -dump"
6676 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6677 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6679 $as_echo_n "checking for $ac_word... " >&6; }
6680 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
6681 $as_echo_n "(cached) " >&6
6682 else
6683 if test -n "$DUMPBIN"; then
6684 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6685 else
6686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6687 for as_dir in $PATH
6689 IFS=$as_save_IFS
6690 test -z "$as_dir" && as_dir=.
6691 for ac_exec_ext in '' $ac_executable_extensions; do
6692 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6693 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6694 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6695 break 2
6697 done
6698 done
6699 IFS=$as_save_IFS
6703 DUMPBIN=$ac_cv_prog_DUMPBIN
6704 if test -n "$DUMPBIN"; then
6705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6706 $as_echo "$DUMPBIN" >&6; }
6707 else
6708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6709 $as_echo "no" >&6; }
6713 test -n "$DUMPBIN" && break
6714 done
6716 if test -z "$DUMPBIN"; then
6717 ac_ct_DUMPBIN=$DUMPBIN
6718 for ac_prog in dumpbin "link -dump"
6720 # Extract the first word of "$ac_prog", so it can be a program name with args.
6721 set dummy $ac_prog; ac_word=$2
6722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6723 $as_echo_n "checking for $ac_word... " >&6; }
6724 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
6725 $as_echo_n "(cached) " >&6
6726 else
6727 if test -n "$ac_ct_DUMPBIN"; then
6728 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6729 else
6730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6731 for as_dir in $PATH
6733 IFS=$as_save_IFS
6734 test -z "$as_dir" && as_dir=.
6735 for ac_exec_ext in '' $ac_executable_extensions; do
6736 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6737 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6738 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6739 break 2
6741 done
6742 done
6743 IFS=$as_save_IFS
6747 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6748 if test -n "$ac_ct_DUMPBIN"; then
6749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6750 $as_echo "$ac_ct_DUMPBIN" >&6; }
6751 else
6752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6753 $as_echo "no" >&6; }
6757 test -n "$ac_ct_DUMPBIN" && break
6758 done
6760 if test "x$ac_ct_DUMPBIN" = x; then
6761 DUMPBIN=":"
6762 else
6763 case $cross_compiling:$ac_tool_warned in
6764 yes:)
6765 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6766 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6767 ac_tool_warned=yes ;;
6768 esac
6769 DUMPBIN=$ac_ct_DUMPBIN
6773 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6774 *COFF*)
6775 DUMPBIN="$DUMPBIN -symbols"
6778 DUMPBIN=:
6780 esac
6783 if test "$DUMPBIN" != ":"; then
6784 NM="$DUMPBIN"
6787 test -z "$NM" && NM=nm
6794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6795 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6796 if test "${lt_cv_nm_interface+set}" = set; then :
6797 $as_echo_n "(cached) " >&6
6798 else
6799 lt_cv_nm_interface="BSD nm"
6800 echo "int some_variable = 0;" > conftest.$ac_ext
6801 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6802 (eval "$ac_compile" 2>conftest.err)
6803 cat conftest.err >&5
6804 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6805 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6806 cat conftest.err >&5
6807 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6808 cat conftest.out >&5
6809 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6810 lt_cv_nm_interface="MS dumpbin"
6812 rm -f conftest*
6814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6815 $as_echo "$lt_cv_nm_interface" >&6; }
6817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6818 $as_echo_n "checking whether ln -s works... " >&6; }
6819 LN_S=$as_ln_s
6820 if test "$LN_S" = "ln -s"; then
6821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6822 $as_echo "yes" >&6; }
6823 else
6824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6825 $as_echo "no, using $LN_S" >&6; }
6828 # find the maximum length of command line arguments
6829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6830 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6831 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
6832 $as_echo_n "(cached) " >&6
6833 else
6835 teststring="ABCD"
6837 case $build_os in
6838 msdosdjgpp*)
6839 # On DJGPP, this test can blow up pretty badly due to problems in libc
6840 # (any single argument exceeding 2000 bytes causes a buffer overrun
6841 # during glob expansion). Even if it were fixed, the result of this
6842 # check would be larger than it should be.
6843 lt_cv_sys_max_cmd_len=12288; # 12K is about right
6846 gnu*)
6847 # Under GNU Hurd, this test is not required because there is
6848 # no limit to the length of command line arguments.
6849 # Libtool will interpret -1 as no limit whatsoever
6850 lt_cv_sys_max_cmd_len=-1;
6853 cygwin* | mingw* | cegcc*)
6854 # On Win9x/ME, this test blows up -- it succeeds, but takes
6855 # about 5 minutes as the teststring grows exponentially.
6856 # Worse, since 9x/ME are not pre-emptively multitasking,
6857 # you end up with a "frozen" computer, even though with patience
6858 # the test eventually succeeds (with a max line length of 256k).
6859 # Instead, let's just punt: use the minimum linelength reported by
6860 # all of the supported platforms: 8192 (on NT/2K/XP).
6861 lt_cv_sys_max_cmd_len=8192;
6864 mint*)
6865 # On MiNT this can take a long time and run out of memory.
6866 lt_cv_sys_max_cmd_len=8192;
6869 amigaos*)
6870 # On AmigaOS with pdksh, this test takes hours, literally.
6871 # So we just punt and use a minimum line length of 8192.
6872 lt_cv_sys_max_cmd_len=8192;
6875 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6876 # This has been around since 386BSD, at least. Likely further.
6877 if test -x /sbin/sysctl; then
6878 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6879 elif test -x /usr/sbin/sysctl; then
6880 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6881 else
6882 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6884 # And add a safety zone
6885 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6886 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6889 interix*)
6890 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6891 lt_cv_sys_max_cmd_len=196608
6894 osf*)
6895 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6896 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6897 # nice to cause kernel panics so lets avoid the loop below.
6898 # First set a reasonable default.
6899 lt_cv_sys_max_cmd_len=16384
6901 if test -x /sbin/sysconfig; then
6902 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6903 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6904 esac
6907 sco3.2v5*)
6908 lt_cv_sys_max_cmd_len=102400
6910 sysv5* | sco5v6* | sysv4.2uw2*)
6911 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6912 if test -n "$kargmax"; then
6913 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6914 else
6915 lt_cv_sys_max_cmd_len=32768
6919 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6920 if test -n "$lt_cv_sys_max_cmd_len"; then
6921 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6922 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6923 else
6924 # Make teststring a little bigger before we do anything with it.
6925 # a 1K string should be a reasonable start.
6926 for i in 1 2 3 4 5 6 7 8 ; do
6927 teststring=$teststring$teststring
6928 done
6929 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6930 # If test is not a shell built-in, we'll probably end up computing a
6931 # maximum length that is only half of the actual maximum length, but
6932 # we can't tell.
6933 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6934 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6935 test $i != 17 # 1/2 MB should be enough
6937 i=`expr $i + 1`
6938 teststring=$teststring$teststring
6939 done
6940 # Only check the string length outside the loop.
6941 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6942 teststring=
6943 # Add a significant safety factor because C++ compilers can tack on
6944 # massive amounts of additional arguments before passing them to the
6945 # linker. It appears as though 1/2 is a usable value.
6946 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6949 esac
6953 if test -n $lt_cv_sys_max_cmd_len ; then
6954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6955 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6956 else
6957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6958 $as_echo "none" >&6; }
6960 max_cmd_len=$lt_cv_sys_max_cmd_len
6967 : ${CP="cp -f"}
6968 : ${MV="mv -f"}
6969 : ${RM="rm -f"}
6971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6972 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6973 # Try some XSI features
6974 xsi_shell=no
6975 ( _lt_dummy="a/b/c"
6976 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6977 = c,a/b,, \
6978 && eval 'test $(( 1 + 1 )) -eq 2 \
6979 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6980 && xsi_shell=yes
6981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6982 $as_echo "$xsi_shell" >&6; }
6985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6986 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6987 lt_shell_append=no
6988 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6989 >/dev/null 2>&1 \
6990 && lt_shell_append=yes
6991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6992 $as_echo "$lt_shell_append" >&6; }
6995 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6996 lt_unset=unset
6997 else
6998 lt_unset=false
7005 # test EBCDIC or ASCII
7006 case `echo X|tr X '\101'` in
7007 A) # ASCII based system
7008 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
7009 lt_SP2NL='tr \040 \012'
7010 lt_NL2SP='tr \015\012 \040\040'
7012 *) # EBCDIC based system
7013 lt_SP2NL='tr \100 \n'
7014 lt_NL2SP='tr \r\n \100\100'
7016 esac
7026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
7027 $as_echo_n "checking for $LD option to reload object files... " >&6; }
7028 if test "${lt_cv_ld_reload_flag+set}" = set; then :
7029 $as_echo_n "(cached) " >&6
7030 else
7031 lt_cv_ld_reload_flag='-r'
7033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
7034 $as_echo "$lt_cv_ld_reload_flag" >&6; }
7035 reload_flag=$lt_cv_ld_reload_flag
7036 case $reload_flag in
7037 "" | " "*) ;;
7038 *) reload_flag=" $reload_flag" ;;
7039 esac
7040 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7041 case $host_os in
7042 darwin*)
7043 if test "$GCC" = yes; then
7044 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
7045 else
7046 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7049 esac
7059 if test -n "$ac_tool_prefix"; then
7060 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7061 set dummy ${ac_tool_prefix}objdump; ac_word=$2
7062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7063 $as_echo_n "checking for $ac_word... " >&6; }
7064 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
7065 $as_echo_n "(cached) " >&6
7066 else
7067 if test -n "$OBJDUMP"; then
7068 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7069 else
7070 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7071 for as_dir in $PATH
7073 IFS=$as_save_IFS
7074 test -z "$as_dir" && as_dir=.
7075 for ac_exec_ext in '' $ac_executable_extensions; do
7076 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7077 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
7078 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7079 break 2
7081 done
7082 done
7083 IFS=$as_save_IFS
7087 OBJDUMP=$ac_cv_prog_OBJDUMP
7088 if test -n "$OBJDUMP"; then
7089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7090 $as_echo "$OBJDUMP" >&6; }
7091 else
7092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7093 $as_echo "no" >&6; }
7098 if test -z "$ac_cv_prog_OBJDUMP"; then
7099 ac_ct_OBJDUMP=$OBJDUMP
7100 # Extract the first word of "objdump", so it can be a program name with args.
7101 set dummy objdump; ac_word=$2
7102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7103 $as_echo_n "checking for $ac_word... " >&6; }
7104 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
7105 $as_echo_n "(cached) " >&6
7106 else
7107 if test -n "$ac_ct_OBJDUMP"; then
7108 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
7109 else
7110 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7111 for as_dir in $PATH
7113 IFS=$as_save_IFS
7114 test -z "$as_dir" && as_dir=.
7115 for ac_exec_ext in '' $ac_executable_extensions; do
7116 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7117 ac_cv_prog_ac_ct_OBJDUMP="objdump"
7118 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7119 break 2
7121 done
7122 done
7123 IFS=$as_save_IFS
7127 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7128 if test -n "$ac_ct_OBJDUMP"; then
7129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7130 $as_echo "$ac_ct_OBJDUMP" >&6; }
7131 else
7132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7133 $as_echo "no" >&6; }
7136 if test "x$ac_ct_OBJDUMP" = x; then
7137 OBJDUMP="false"
7138 else
7139 case $cross_compiling:$ac_tool_warned in
7140 yes:)
7141 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7142 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7143 ac_tool_warned=yes ;;
7144 esac
7145 OBJDUMP=$ac_ct_OBJDUMP
7147 else
7148 OBJDUMP="$ac_cv_prog_OBJDUMP"
7151 test -z "$OBJDUMP" && OBJDUMP=objdump
7161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
7162 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
7163 if test "${lt_cv_deplibs_check_method+set}" = set; then :
7164 $as_echo_n "(cached) " >&6
7165 else
7166 lt_cv_file_magic_cmd='$MAGIC_CMD'
7167 lt_cv_file_magic_test_file=
7168 lt_cv_deplibs_check_method='unknown'
7169 # Need to set the preceding variable on all platforms that support
7170 # interlibrary dependencies.
7171 # 'none' -- dependencies not supported.
7172 # `unknown' -- same as none, but documents that we really don't know.
7173 # 'pass_all' -- all dependencies passed with no checks.
7174 # 'test_compile' -- check by making test program.
7175 # 'file_magic [[regex]]' -- check by looking for files in library path
7176 # which responds to the $file_magic_cmd with a given extended regex.
7177 # If you have `file' or equivalent on your system and you're not sure
7178 # whether `pass_all' will *always* work, you probably want this one.
7180 case $host_os in
7181 aix[4-9]*)
7182 lt_cv_deplibs_check_method=pass_all
7185 beos*)
7186 lt_cv_deplibs_check_method=pass_all
7189 bsdi[45]*)
7190 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7191 lt_cv_file_magic_cmd='/usr/bin/file -L'
7192 lt_cv_file_magic_test_file=/shlib/libc.so
7195 cygwin*)
7196 # func_win32_libid is a shell function defined in ltmain.sh
7197 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7198 lt_cv_file_magic_cmd='func_win32_libid'
7201 mingw* | pw32*)
7202 # Base MSYS/MinGW do not provide the 'file' command needed by
7203 # func_win32_libid shell function, so use a weaker test based on 'objdump',
7204 # unless we find 'file', for example because we are cross-compiling.
7205 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
7206 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
7207 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7208 lt_cv_file_magic_cmd='func_win32_libid'
7209 else
7210 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
7211 lt_cv_file_magic_cmd='$OBJDUMP -f'
7215 cegcc*)
7216 # use the weaker test based on 'objdump'. See mingw*.
7217 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7218 lt_cv_file_magic_cmd='$OBJDUMP -f'
7221 darwin* | rhapsody*)
7222 lt_cv_deplibs_check_method=pass_all
7225 freebsd* | dragonfly*)
7226 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7227 case $host_cpu in
7228 i*86 )
7229 # Not sure whether the presence of OpenBSD here was a mistake.
7230 # Let's accept both of them until this is cleared up.
7231 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7232 lt_cv_file_magic_cmd=/usr/bin/file
7233 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
7235 esac
7236 else
7237 lt_cv_deplibs_check_method=pass_all
7241 gnu*)
7242 lt_cv_deplibs_check_method=pass_all
7245 haiku*)
7246 lt_cv_deplibs_check_method=pass_all
7249 hpux10.20* | hpux11*)
7250 lt_cv_file_magic_cmd=/usr/bin/file
7251 case $host_cpu in
7252 ia64*)
7253 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7254 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
7256 hppa*64*)
7257 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]'
7258 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
7261 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7262 lt_cv_file_magic_test_file=/usr/lib/libc.sl
7264 esac
7267 interix[3-9]*)
7268 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7269 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
7272 irix5* | irix6* | nonstopux*)
7273 case $LD in
7274 *-32|*"-32 ") libmagic=32-bit;;
7275 *-n32|*"-n32 ") libmagic=N32;;
7276 *-64|*"-64 ") libmagic=64-bit;;
7277 *) libmagic=never-match;;
7278 esac
7279 lt_cv_deplibs_check_method=pass_all
7282 # This must be Linux ELF.
7283 linux* | k*bsd*-gnu | kopensolaris*-gnu)
7284 lt_cv_deplibs_check_method=pass_all
7287 netbsd*)
7288 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7289 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7290 else
7291 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7295 newos6*)
7296 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7297 lt_cv_file_magic_cmd=/usr/bin/file
7298 lt_cv_file_magic_test_file=/usr/lib/libnls.so
7301 *nto* | *qnx*)
7302 lt_cv_deplibs_check_method=pass_all
7305 openbsd*)
7306 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7307 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7308 else
7309 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7313 osf3* | osf4* | osf5*)
7314 lt_cv_deplibs_check_method=pass_all
7317 rdos*)
7318 lt_cv_deplibs_check_method=pass_all
7321 solaris*)
7322 lt_cv_deplibs_check_method=pass_all
7325 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7326 lt_cv_deplibs_check_method=pass_all
7329 sysv4 | sysv4.3*)
7330 case $host_vendor in
7331 motorola)
7332 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]'
7333 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7335 ncr)
7336 lt_cv_deplibs_check_method=pass_all
7338 sequent)
7339 lt_cv_file_magic_cmd='/bin/file'
7340 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7342 sni)
7343 lt_cv_file_magic_cmd='/bin/file'
7344 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7345 lt_cv_file_magic_test_file=/lib/libc.so
7347 siemens)
7348 lt_cv_deplibs_check_method=pass_all
7351 lt_cv_deplibs_check_method=pass_all
7353 esac
7356 tpf*)
7357 lt_cv_deplibs_check_method=pass_all
7359 esac
7362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7363 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7364 file_magic_cmd=$lt_cv_file_magic_cmd
7365 deplibs_check_method=$lt_cv_deplibs_check_method
7366 test -z "$deplibs_check_method" && deplibs_check_method=unknown
7379 if test -n "$ac_tool_prefix"; then
7380 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7381 set dummy ${ac_tool_prefix}ar; ac_word=$2
7382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7383 $as_echo_n "checking for $ac_word... " >&6; }
7384 if test "${ac_cv_prog_AR+set}" = set; then :
7385 $as_echo_n "(cached) " >&6
7386 else
7387 if test -n "$AR"; then
7388 ac_cv_prog_AR="$AR" # Let the user override the test.
7389 else
7390 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7391 for as_dir in $PATH
7393 IFS=$as_save_IFS
7394 test -z "$as_dir" && as_dir=.
7395 for ac_exec_ext in '' $ac_executable_extensions; do
7396 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7397 ac_cv_prog_AR="${ac_tool_prefix}ar"
7398 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7399 break 2
7401 done
7402 done
7403 IFS=$as_save_IFS
7407 AR=$ac_cv_prog_AR
7408 if test -n "$AR"; then
7409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7410 $as_echo "$AR" >&6; }
7411 else
7412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7413 $as_echo "no" >&6; }
7418 if test -z "$ac_cv_prog_AR"; then
7419 ac_ct_AR=$AR
7420 # Extract the first word of "ar", so it can be a program name with args.
7421 set dummy ar; ac_word=$2
7422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7423 $as_echo_n "checking for $ac_word... " >&6; }
7424 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
7425 $as_echo_n "(cached) " >&6
7426 else
7427 if test -n "$ac_ct_AR"; then
7428 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7429 else
7430 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7431 for as_dir in $PATH
7433 IFS=$as_save_IFS
7434 test -z "$as_dir" && as_dir=.
7435 for ac_exec_ext in '' $ac_executable_extensions; do
7436 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7437 ac_cv_prog_ac_ct_AR="ar"
7438 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7439 break 2
7441 done
7442 done
7443 IFS=$as_save_IFS
7447 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7448 if test -n "$ac_ct_AR"; then
7449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7450 $as_echo "$ac_ct_AR" >&6; }
7451 else
7452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7453 $as_echo "no" >&6; }
7456 if test "x$ac_ct_AR" = x; then
7457 AR="false"
7458 else
7459 case $cross_compiling:$ac_tool_warned in
7460 yes:)
7461 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7462 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7463 ac_tool_warned=yes ;;
7464 esac
7465 AR=$ac_ct_AR
7467 else
7468 AR="$ac_cv_prog_AR"
7471 test -z "$AR" && AR=ar
7472 test -z "$AR_FLAGS" && AR_FLAGS=cru
7484 if test -n "$ac_tool_prefix"; then
7485 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7486 set dummy ${ac_tool_prefix}strip; ac_word=$2
7487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7488 $as_echo_n "checking for $ac_word... " >&6; }
7489 if test "${ac_cv_prog_STRIP+set}" = set; then :
7490 $as_echo_n "(cached) " >&6
7491 else
7492 if test -n "$STRIP"; then
7493 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7494 else
7495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7496 for as_dir in $PATH
7498 IFS=$as_save_IFS
7499 test -z "$as_dir" && as_dir=.
7500 for ac_exec_ext in '' $ac_executable_extensions; do
7501 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7502 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7503 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7504 break 2
7506 done
7507 done
7508 IFS=$as_save_IFS
7512 STRIP=$ac_cv_prog_STRIP
7513 if test -n "$STRIP"; then
7514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7515 $as_echo "$STRIP" >&6; }
7516 else
7517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7518 $as_echo "no" >&6; }
7523 if test -z "$ac_cv_prog_STRIP"; then
7524 ac_ct_STRIP=$STRIP
7525 # Extract the first word of "strip", so it can be a program name with args.
7526 set dummy strip; ac_word=$2
7527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7528 $as_echo_n "checking for $ac_word... " >&6; }
7529 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
7530 $as_echo_n "(cached) " >&6
7531 else
7532 if test -n "$ac_ct_STRIP"; then
7533 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7534 else
7535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7536 for as_dir in $PATH
7538 IFS=$as_save_IFS
7539 test -z "$as_dir" && as_dir=.
7540 for ac_exec_ext in '' $ac_executable_extensions; do
7541 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7542 ac_cv_prog_ac_ct_STRIP="strip"
7543 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7544 break 2
7546 done
7547 done
7548 IFS=$as_save_IFS
7552 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7553 if test -n "$ac_ct_STRIP"; then
7554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7555 $as_echo "$ac_ct_STRIP" >&6; }
7556 else
7557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7558 $as_echo "no" >&6; }
7561 if test "x$ac_ct_STRIP" = x; then
7562 STRIP=":"
7563 else
7564 case $cross_compiling:$ac_tool_warned in
7565 yes:)
7566 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7567 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7568 ac_tool_warned=yes ;;
7569 esac
7570 STRIP=$ac_ct_STRIP
7572 else
7573 STRIP="$ac_cv_prog_STRIP"
7576 test -z "$STRIP" && STRIP=:
7583 if test -n "$ac_tool_prefix"; then
7584 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7585 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7587 $as_echo_n "checking for $ac_word... " >&6; }
7588 if test "${ac_cv_prog_RANLIB+set}" = set; then :
7589 $as_echo_n "(cached) " >&6
7590 else
7591 if test -n "$RANLIB"; then
7592 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7593 else
7594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7595 for as_dir in $PATH
7597 IFS=$as_save_IFS
7598 test -z "$as_dir" && as_dir=.
7599 for ac_exec_ext in '' $ac_executable_extensions; do
7600 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7601 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7602 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7603 break 2
7605 done
7606 done
7607 IFS=$as_save_IFS
7611 RANLIB=$ac_cv_prog_RANLIB
7612 if test -n "$RANLIB"; then
7613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7614 $as_echo "$RANLIB" >&6; }
7615 else
7616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7617 $as_echo "no" >&6; }
7622 if test -z "$ac_cv_prog_RANLIB"; then
7623 ac_ct_RANLIB=$RANLIB
7624 # Extract the first word of "ranlib", so it can be a program name with args.
7625 set dummy ranlib; ac_word=$2
7626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7627 $as_echo_n "checking for $ac_word... " >&6; }
7628 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
7629 $as_echo_n "(cached) " >&6
7630 else
7631 if test -n "$ac_ct_RANLIB"; then
7632 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7633 else
7634 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7635 for as_dir in $PATH
7637 IFS=$as_save_IFS
7638 test -z "$as_dir" && as_dir=.
7639 for ac_exec_ext in '' $ac_executable_extensions; do
7640 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7641 ac_cv_prog_ac_ct_RANLIB="ranlib"
7642 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7643 break 2
7645 done
7646 done
7647 IFS=$as_save_IFS
7651 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7652 if test -n "$ac_ct_RANLIB"; then
7653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7654 $as_echo "$ac_ct_RANLIB" >&6; }
7655 else
7656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7657 $as_echo "no" >&6; }
7660 if test "x$ac_ct_RANLIB" = x; then
7661 RANLIB=":"
7662 else
7663 case $cross_compiling:$ac_tool_warned in
7664 yes:)
7665 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7666 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7667 ac_tool_warned=yes ;;
7668 esac
7669 RANLIB=$ac_ct_RANLIB
7671 else
7672 RANLIB="$ac_cv_prog_RANLIB"
7675 test -z "$RANLIB" && RANLIB=:
7682 # Determine commands to create old-style static archives.
7683 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7684 old_postinstall_cmds='chmod 644 $oldlib'
7685 old_postuninstall_cmds=
7687 if test -n "$RANLIB"; then
7688 case $host_os in
7689 openbsd*)
7690 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7693 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
7695 esac
7696 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
7699 case $host_os in
7700 darwin*)
7701 lock_old_archive_extraction=yes ;;
7703 lock_old_archive_extraction=no ;;
7704 esac
7744 # If no C compiler was specified, use CC.
7745 LTCC=${LTCC-"$CC"}
7747 # If no C compiler flags were specified, use CFLAGS.
7748 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7750 # Allow CC to be a program name with arguments.
7751 compiler=$CC
7754 # Check for command to grab the raw symbol name followed by C symbol from nm.
7755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7756 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7757 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
7758 $as_echo_n "(cached) " >&6
7759 else
7761 # These are sane defaults that work on at least a few old systems.
7762 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7764 # Character class describing NM global symbol codes.
7765 symcode='[BCDEGRST]'
7767 # Regexp to match symbols that can be accessed directly from C.
7768 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7770 # Define system-specific variables.
7771 case $host_os in
7772 aix*)
7773 symcode='[BCDT]'
7775 cygwin* | mingw* | pw32* | cegcc*)
7776 symcode='[ABCDGISTW]'
7778 hpux*)
7779 if test "$host_cpu" = ia64; then
7780 symcode='[ABCDEGRST]'
7783 irix* | nonstopux*)
7784 symcode='[BCDEGRST]'
7786 osf*)
7787 symcode='[BCDEGQRST]'
7789 solaris*)
7790 symcode='[BDRT]'
7792 sco3.2v5*)
7793 symcode='[DT]'
7795 sysv4.2uw2*)
7796 symcode='[DT]'
7798 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7799 symcode='[ABDT]'
7801 sysv4)
7802 symcode='[DFNSTU]'
7804 esac
7806 # If we're using GNU nm, then use its standard symbol codes.
7807 case `$NM -V 2>&1` in
7808 *GNU* | *'with BFD'*)
7809 symcode='[ABCDGIRSTW]' ;;
7810 esac
7812 # Transform an extracted symbol line into a proper C declaration.
7813 # Some systems (esp. on ia64) link data and code symbols differently,
7814 # so use this general approach.
7815 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7817 # Transform an extracted symbol line into symbol name and symbol address
7818 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7819 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'"
7821 # Handle CRLF in mingw tool chain
7822 opt_cr=
7823 case $build_os in
7824 mingw*)
7825 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7827 esac
7829 # Try without a prefix underscore, then with it.
7830 for ac_symprfx in "" "_"; do
7832 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7833 symxfrm="\\1 $ac_symprfx\\2 \\2"
7835 # Write the raw and C identifiers.
7836 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7837 # Fake it for dumpbin and say T for any non-static function
7838 # and D for any global variable.
7839 # Also find C++ and __fastcall symbols from MSVC++,
7840 # which start with @ or ?.
7841 lt_cv_sys_global_symbol_pipe="$AWK '"\
7842 " {last_section=section; section=\$ 3};"\
7843 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7844 " \$ 0!~/External *\|/{next};"\
7845 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7846 " {if(hide[section]) next};"\
7847 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7848 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7849 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7850 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7851 " ' prfx=^$ac_symprfx"
7852 else
7853 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7856 # Check to see that the pipe works correctly.
7857 pipe_works=no
7859 rm -f conftest*
7860 cat > conftest.$ac_ext <<_LT_EOF
7861 #ifdef __cplusplus
7862 extern "C" {
7863 #endif
7864 char nm_test_var;
7865 void nm_test_func(void);
7866 void nm_test_func(void){}
7867 #ifdef __cplusplus
7869 #endif
7870 int main(){nm_test_var='a';nm_test_func();return(0);}
7871 _LT_EOF
7873 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7874 (eval $ac_compile) 2>&5
7875 ac_status=$?
7876 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7877 test $ac_status = 0; }; then
7878 # Now try to grab the symbols.
7879 nlist=conftest.nm
7880 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7881 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7882 ac_status=$?
7883 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7884 test $ac_status = 0; } && test -s "$nlist"; then
7885 # Try sorting and uniquifying the output.
7886 if sort "$nlist" | uniq > "$nlist"T; then
7887 mv -f "$nlist"T "$nlist"
7888 else
7889 rm -f "$nlist"T
7892 # Make sure that we snagged all the symbols we need.
7893 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7894 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7895 cat <<_LT_EOF > conftest.$ac_ext
7896 #ifdef __cplusplus
7897 extern "C" {
7898 #endif
7900 _LT_EOF
7901 # Now generate the symbol file.
7902 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7904 cat <<_LT_EOF >> conftest.$ac_ext
7906 /* The mapping between symbol names and symbols. */
7907 const struct {
7908 const char *name;
7909 void *address;
7911 lt__PROGRAM__LTX_preloaded_symbols[] =
7913 { "@PROGRAM@", (void *) 0 },
7914 _LT_EOF
7915 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7916 cat <<\_LT_EOF >> conftest.$ac_ext
7917 {0, (void *) 0}
7920 /* This works around a problem in FreeBSD linker */
7921 #ifdef FREEBSD_WORKAROUND
7922 static const void *lt_preloaded_setup() {
7923 return lt__PROGRAM__LTX_preloaded_symbols;
7925 #endif
7927 #ifdef __cplusplus
7929 #endif
7930 _LT_EOF
7931 # Now try linking the two files.
7932 mv conftest.$ac_objext conftstm.$ac_objext
7933 lt_save_LIBS="$LIBS"
7934 lt_save_CFLAGS="$CFLAGS"
7935 LIBS="conftstm.$ac_objext"
7936 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7937 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7938 (eval $ac_link) 2>&5
7939 ac_status=$?
7940 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7941 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7942 pipe_works=yes
7944 LIBS="$lt_save_LIBS"
7945 CFLAGS="$lt_save_CFLAGS"
7946 else
7947 echo "cannot find nm_test_func in $nlist" >&5
7949 else
7950 echo "cannot find nm_test_var in $nlist" >&5
7952 else
7953 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7955 else
7956 echo "$progname: failed program was:" >&5
7957 cat conftest.$ac_ext >&5
7959 rm -rf conftest* conftst*
7961 # Do not use the global_symbol_pipe unless it works.
7962 if test "$pipe_works" = yes; then
7963 break
7964 else
7965 lt_cv_sys_global_symbol_pipe=
7967 done
7971 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7972 lt_cv_sys_global_symbol_to_cdecl=
7974 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7976 $as_echo "failed" >&6; }
7977 else
7978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7979 $as_echo "ok" >&6; }
8003 # Check whether --enable-libtool-lock was given.
8004 if test "${enable_libtool_lock+set}" = set; then :
8005 enableval=$enable_libtool_lock;
8008 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
8010 # Some flags need to be propagated to the compiler or linker for good
8011 # libtool support.
8012 case $host in
8013 ia64-*-hpux*)
8014 # Find out which ABI we are using.
8015 echo 'int i;' > conftest.$ac_ext
8016 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8017 (eval $ac_compile) 2>&5
8018 ac_status=$?
8019 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8020 test $ac_status = 0; }; then
8021 case `/usr/bin/file conftest.$ac_objext` in
8022 *ELF-32*)
8023 HPUX_IA64_MODE="32"
8025 *ELF-64*)
8026 HPUX_IA64_MODE="64"
8028 esac
8030 rm -rf conftest*
8032 *-*-irix6*)
8033 # Find out which ABI we are using.
8034 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
8035 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8036 (eval $ac_compile) 2>&5
8037 ac_status=$?
8038 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8039 test $ac_status = 0; }; then
8040 if test "$lt_cv_prog_gnu_ld" = yes; then
8041 case `/usr/bin/file conftest.$ac_objext` in
8042 *32-bit*)
8043 LD="${LD-ld} -melf32bsmip"
8045 *N32*)
8046 LD="${LD-ld} -melf32bmipn32"
8048 *64-bit*)
8049 LD="${LD-ld} -melf64bmip"
8051 esac
8052 else
8053 case `/usr/bin/file conftest.$ac_objext` in
8054 *32-bit*)
8055 LD="${LD-ld} -32"
8057 *N32*)
8058 LD="${LD-ld} -n32"
8060 *64-bit*)
8061 LD="${LD-ld} -64"
8063 esac
8066 rm -rf conftest*
8069 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
8070 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
8071 # Find out which ABI we are using.
8072 echo 'int i;' > conftest.$ac_ext
8073 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8074 (eval $ac_compile) 2>&5
8075 ac_status=$?
8076 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8077 test $ac_status = 0; }; then
8078 case `/usr/bin/file conftest.o` in
8079 *32-bit*)
8080 case $host in
8081 x86_64-*kfreebsd*-gnu)
8082 LD="${LD-ld} -m elf_i386_fbsd"
8084 x86_64-*linux*)
8085 case `/usr/bin/file conftest.o` in
8086 *x86-64*)
8087 LD="${LD-ld} -m elf32_x86_64"
8090 LD="${LD-ld} -m elf_i386"
8092 esac
8094 powerpc64le-*linux*)
8095 LD="${LD-ld} -m elf32lppclinux"
8097 powerpc64-*linux*)
8098 LD="${LD-ld} -m elf32ppclinux"
8100 s390x-*linux*)
8101 LD="${LD-ld} -m elf_s390"
8103 sparc64-*linux*)
8104 LD="${LD-ld} -m elf32_sparc"
8106 esac
8108 *64-bit*)
8109 case $host in
8110 x86_64-*kfreebsd*-gnu)
8111 LD="${LD-ld} -m elf_x86_64_fbsd"
8113 x86_64-*linux*)
8114 LD="${LD-ld} -m elf_x86_64"
8116 powerpcle-*linux*)
8117 LD="${LD-ld} -m elf64lppc"
8119 powerpc-*linux*)
8120 LD="${LD-ld} -m elf64ppc"
8122 s390*-*linux*|s390*-*tpf*)
8123 LD="${LD-ld} -m elf64_s390"
8125 sparc*-*linux*)
8126 LD="${LD-ld} -m elf64_sparc"
8128 esac
8130 esac
8132 rm -rf conftest*
8135 *-*-sco3.2v5*)
8136 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8137 SAVE_CFLAGS="$CFLAGS"
8138 CFLAGS="$CFLAGS -belf"
8139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8140 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8141 if test "${lt_cv_cc_needs_belf+set}" = set; then :
8142 $as_echo_n "(cached) " >&6
8143 else
8144 ac_ext=c
8145 ac_cpp='$CPP $CPPFLAGS'
8146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8150 if test x$gcc_no_link = xyes; then
8151 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8154 /* end confdefs.h. */
8157 main ()
8161 return 0;
8163 _ACEOF
8164 if ac_fn_c_try_link "$LINENO"; then :
8165 lt_cv_cc_needs_belf=yes
8166 else
8167 lt_cv_cc_needs_belf=no
8169 rm -f core conftest.err conftest.$ac_objext \
8170 conftest$ac_exeext conftest.$ac_ext
8171 ac_ext=c
8172 ac_cpp='$CPP $CPPFLAGS'
8173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8179 $as_echo "$lt_cv_cc_needs_belf" >&6; }
8180 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
8181 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8182 CFLAGS="$SAVE_CFLAGS"
8185 sparc*-*solaris*)
8186 # Find out which ABI we are using.
8187 echo 'int i;' > conftest.$ac_ext
8188 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8189 (eval $ac_compile) 2>&5
8190 ac_status=$?
8191 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8192 test $ac_status = 0; }; then
8193 case `/usr/bin/file conftest.o` in
8194 *64-bit*)
8195 case $lt_cv_prog_gnu_ld in
8196 yes*) LD="${LD-ld} -m elf64_sparc" ;;
8198 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8199 LD="${LD-ld} -64"
8202 esac
8204 esac
8206 rm -rf conftest*
8208 esac
8210 need_locks="$enable_libtool_lock"
8213 case $host_os in
8214 rhapsody* | darwin*)
8215 if test -n "$ac_tool_prefix"; then
8216 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8217 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8219 $as_echo_n "checking for $ac_word... " >&6; }
8220 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
8221 $as_echo_n "(cached) " >&6
8222 else
8223 if test -n "$DSYMUTIL"; then
8224 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8225 else
8226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8227 for as_dir in $PATH
8229 IFS=$as_save_IFS
8230 test -z "$as_dir" && as_dir=.
8231 for ac_exec_ext in '' $ac_executable_extensions; do
8232 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8233 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8234 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8235 break 2
8237 done
8238 done
8239 IFS=$as_save_IFS
8243 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8244 if test -n "$DSYMUTIL"; then
8245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8246 $as_echo "$DSYMUTIL" >&6; }
8247 else
8248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8249 $as_echo "no" >&6; }
8254 if test -z "$ac_cv_prog_DSYMUTIL"; then
8255 ac_ct_DSYMUTIL=$DSYMUTIL
8256 # Extract the first word of "dsymutil", so it can be a program name with args.
8257 set dummy dsymutil; ac_word=$2
8258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8259 $as_echo_n "checking for $ac_word... " >&6; }
8260 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
8261 $as_echo_n "(cached) " >&6
8262 else
8263 if test -n "$ac_ct_DSYMUTIL"; then
8264 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8265 else
8266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8267 for as_dir in $PATH
8269 IFS=$as_save_IFS
8270 test -z "$as_dir" && as_dir=.
8271 for ac_exec_ext in '' $ac_executable_extensions; do
8272 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8273 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8274 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8275 break 2
8277 done
8278 done
8279 IFS=$as_save_IFS
8283 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8284 if test -n "$ac_ct_DSYMUTIL"; then
8285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8286 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8287 else
8288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8289 $as_echo "no" >&6; }
8292 if test "x$ac_ct_DSYMUTIL" = x; then
8293 DSYMUTIL=":"
8294 else
8295 case $cross_compiling:$ac_tool_warned in
8296 yes:)
8297 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8298 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8299 ac_tool_warned=yes ;;
8300 esac
8301 DSYMUTIL=$ac_ct_DSYMUTIL
8303 else
8304 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8307 if test -n "$ac_tool_prefix"; then
8308 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8309 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8311 $as_echo_n "checking for $ac_word... " >&6; }
8312 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
8313 $as_echo_n "(cached) " >&6
8314 else
8315 if test -n "$NMEDIT"; then
8316 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8317 else
8318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8319 for as_dir in $PATH
8321 IFS=$as_save_IFS
8322 test -z "$as_dir" && as_dir=.
8323 for ac_exec_ext in '' $ac_executable_extensions; do
8324 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8325 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8326 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8327 break 2
8329 done
8330 done
8331 IFS=$as_save_IFS
8335 NMEDIT=$ac_cv_prog_NMEDIT
8336 if test -n "$NMEDIT"; then
8337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8338 $as_echo "$NMEDIT" >&6; }
8339 else
8340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8341 $as_echo "no" >&6; }
8346 if test -z "$ac_cv_prog_NMEDIT"; then
8347 ac_ct_NMEDIT=$NMEDIT
8348 # Extract the first word of "nmedit", so it can be a program name with args.
8349 set dummy nmedit; ac_word=$2
8350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8351 $as_echo_n "checking for $ac_word... " >&6; }
8352 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
8353 $as_echo_n "(cached) " >&6
8354 else
8355 if test -n "$ac_ct_NMEDIT"; then
8356 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8357 else
8358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8359 for as_dir in $PATH
8361 IFS=$as_save_IFS
8362 test -z "$as_dir" && as_dir=.
8363 for ac_exec_ext in '' $ac_executable_extensions; do
8364 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8365 ac_cv_prog_ac_ct_NMEDIT="nmedit"
8366 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8367 break 2
8369 done
8370 done
8371 IFS=$as_save_IFS
8375 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8376 if test -n "$ac_ct_NMEDIT"; then
8377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8378 $as_echo "$ac_ct_NMEDIT" >&6; }
8379 else
8380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8381 $as_echo "no" >&6; }
8384 if test "x$ac_ct_NMEDIT" = x; then
8385 NMEDIT=":"
8386 else
8387 case $cross_compiling:$ac_tool_warned in
8388 yes:)
8389 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8390 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8391 ac_tool_warned=yes ;;
8392 esac
8393 NMEDIT=$ac_ct_NMEDIT
8395 else
8396 NMEDIT="$ac_cv_prog_NMEDIT"
8399 if test -n "$ac_tool_prefix"; then
8400 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8401 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8403 $as_echo_n "checking for $ac_word... " >&6; }
8404 if test "${ac_cv_prog_LIPO+set}" = set; then :
8405 $as_echo_n "(cached) " >&6
8406 else
8407 if test -n "$LIPO"; then
8408 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8409 else
8410 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8411 for as_dir in $PATH
8413 IFS=$as_save_IFS
8414 test -z "$as_dir" && as_dir=.
8415 for ac_exec_ext in '' $ac_executable_extensions; do
8416 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8417 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8418 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8419 break 2
8421 done
8422 done
8423 IFS=$as_save_IFS
8427 LIPO=$ac_cv_prog_LIPO
8428 if test -n "$LIPO"; then
8429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8430 $as_echo "$LIPO" >&6; }
8431 else
8432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8433 $as_echo "no" >&6; }
8438 if test -z "$ac_cv_prog_LIPO"; then
8439 ac_ct_LIPO=$LIPO
8440 # Extract the first word of "lipo", so it can be a program name with args.
8441 set dummy lipo; ac_word=$2
8442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8443 $as_echo_n "checking for $ac_word... " >&6; }
8444 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
8445 $as_echo_n "(cached) " >&6
8446 else
8447 if test -n "$ac_ct_LIPO"; then
8448 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8449 else
8450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8451 for as_dir in $PATH
8453 IFS=$as_save_IFS
8454 test -z "$as_dir" && as_dir=.
8455 for ac_exec_ext in '' $ac_executable_extensions; do
8456 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8457 ac_cv_prog_ac_ct_LIPO="lipo"
8458 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8459 break 2
8461 done
8462 done
8463 IFS=$as_save_IFS
8467 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8468 if test -n "$ac_ct_LIPO"; then
8469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8470 $as_echo "$ac_ct_LIPO" >&6; }
8471 else
8472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8473 $as_echo "no" >&6; }
8476 if test "x$ac_ct_LIPO" = x; then
8477 LIPO=":"
8478 else
8479 case $cross_compiling:$ac_tool_warned in
8480 yes:)
8481 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8482 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8483 ac_tool_warned=yes ;;
8484 esac
8485 LIPO=$ac_ct_LIPO
8487 else
8488 LIPO="$ac_cv_prog_LIPO"
8491 if test -n "$ac_tool_prefix"; then
8492 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8493 set dummy ${ac_tool_prefix}otool; ac_word=$2
8494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8495 $as_echo_n "checking for $ac_word... " >&6; }
8496 if test "${ac_cv_prog_OTOOL+set}" = set; then :
8497 $as_echo_n "(cached) " >&6
8498 else
8499 if test -n "$OTOOL"; then
8500 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8501 else
8502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8503 for as_dir in $PATH
8505 IFS=$as_save_IFS
8506 test -z "$as_dir" && as_dir=.
8507 for ac_exec_ext in '' $ac_executable_extensions; do
8508 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8509 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8510 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8511 break 2
8513 done
8514 done
8515 IFS=$as_save_IFS
8519 OTOOL=$ac_cv_prog_OTOOL
8520 if test -n "$OTOOL"; then
8521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8522 $as_echo "$OTOOL" >&6; }
8523 else
8524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8525 $as_echo "no" >&6; }
8530 if test -z "$ac_cv_prog_OTOOL"; then
8531 ac_ct_OTOOL=$OTOOL
8532 # Extract the first word of "otool", so it can be a program name with args.
8533 set dummy otool; ac_word=$2
8534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8535 $as_echo_n "checking for $ac_word... " >&6; }
8536 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
8537 $as_echo_n "(cached) " >&6
8538 else
8539 if test -n "$ac_ct_OTOOL"; then
8540 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8541 else
8542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8543 for as_dir in $PATH
8545 IFS=$as_save_IFS
8546 test -z "$as_dir" && as_dir=.
8547 for ac_exec_ext in '' $ac_executable_extensions; do
8548 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8549 ac_cv_prog_ac_ct_OTOOL="otool"
8550 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8551 break 2
8553 done
8554 done
8555 IFS=$as_save_IFS
8559 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8560 if test -n "$ac_ct_OTOOL"; then
8561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8562 $as_echo "$ac_ct_OTOOL" >&6; }
8563 else
8564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8565 $as_echo "no" >&6; }
8568 if test "x$ac_ct_OTOOL" = x; then
8569 OTOOL=":"
8570 else
8571 case $cross_compiling:$ac_tool_warned in
8572 yes:)
8573 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8574 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8575 ac_tool_warned=yes ;;
8576 esac
8577 OTOOL=$ac_ct_OTOOL
8579 else
8580 OTOOL="$ac_cv_prog_OTOOL"
8583 if test -n "$ac_tool_prefix"; then
8584 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8585 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8587 $as_echo_n "checking for $ac_word... " >&6; }
8588 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
8589 $as_echo_n "(cached) " >&6
8590 else
8591 if test -n "$OTOOL64"; then
8592 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8593 else
8594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8595 for as_dir in $PATH
8597 IFS=$as_save_IFS
8598 test -z "$as_dir" && as_dir=.
8599 for ac_exec_ext in '' $ac_executable_extensions; do
8600 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8601 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8602 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8603 break 2
8605 done
8606 done
8607 IFS=$as_save_IFS
8611 OTOOL64=$ac_cv_prog_OTOOL64
8612 if test -n "$OTOOL64"; then
8613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8614 $as_echo "$OTOOL64" >&6; }
8615 else
8616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8617 $as_echo "no" >&6; }
8622 if test -z "$ac_cv_prog_OTOOL64"; then
8623 ac_ct_OTOOL64=$OTOOL64
8624 # Extract the first word of "otool64", so it can be a program name with args.
8625 set dummy otool64; ac_word=$2
8626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8627 $as_echo_n "checking for $ac_word... " >&6; }
8628 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
8629 $as_echo_n "(cached) " >&6
8630 else
8631 if test -n "$ac_ct_OTOOL64"; then
8632 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8633 else
8634 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8635 for as_dir in $PATH
8637 IFS=$as_save_IFS
8638 test -z "$as_dir" && as_dir=.
8639 for ac_exec_ext in '' $ac_executable_extensions; do
8640 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8641 ac_cv_prog_ac_ct_OTOOL64="otool64"
8642 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8643 break 2
8645 done
8646 done
8647 IFS=$as_save_IFS
8651 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8652 if test -n "$ac_ct_OTOOL64"; then
8653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8654 $as_echo "$ac_ct_OTOOL64" >&6; }
8655 else
8656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8657 $as_echo "no" >&6; }
8660 if test "x$ac_ct_OTOOL64" = x; then
8661 OTOOL64=":"
8662 else
8663 case $cross_compiling:$ac_tool_warned in
8664 yes:)
8665 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8666 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8667 ac_tool_warned=yes ;;
8668 esac
8669 OTOOL64=$ac_ct_OTOOL64
8671 else
8672 OTOOL64="$ac_cv_prog_OTOOL64"
8701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8702 $as_echo_n "checking for -single_module linker flag... " >&6; }
8703 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
8704 $as_echo_n "(cached) " >&6
8705 else
8706 lt_cv_apple_cc_single_mod=no
8707 if test -z "${LT_MULTI_MODULE}"; then
8708 # By default we will add the -single_module flag. You can override
8709 # by either setting the environment variable LT_MULTI_MODULE
8710 # non-empty at configure time, or by adding -multi_module to the
8711 # link flags.
8712 rm -rf libconftest.dylib*
8713 echo "int foo(void){return 1;}" > conftest.c
8714 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8715 -dynamiclib -Wl,-single_module conftest.c" >&5
8716 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8717 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8718 _lt_result=$?
8719 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8720 lt_cv_apple_cc_single_mod=yes
8721 else
8722 cat conftest.err >&5
8724 rm -rf libconftest.dylib*
8725 rm -f conftest.*
8728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8729 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8731 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8732 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
8733 $as_echo_n "(cached) " >&6
8734 else
8735 lt_cv_ld_exported_symbols_list=no
8736 save_LDFLAGS=$LDFLAGS
8737 echo "_main" > conftest.sym
8738 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8739 if test x$gcc_no_link = xyes; then
8740 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8743 /* end confdefs.h. */
8746 main ()
8750 return 0;
8752 _ACEOF
8753 if ac_fn_c_try_link "$LINENO"; then :
8754 lt_cv_ld_exported_symbols_list=yes
8755 else
8756 lt_cv_ld_exported_symbols_list=no
8758 rm -f core conftest.err conftest.$ac_objext \
8759 conftest$ac_exeext conftest.$ac_ext
8760 LDFLAGS="$save_LDFLAGS"
8763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8764 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8766 $as_echo_n "checking for -force_load linker flag... " >&6; }
8767 if test "${lt_cv_ld_force_load+set}" = set; then :
8768 $as_echo_n "(cached) " >&6
8769 else
8770 lt_cv_ld_force_load=no
8771 cat > conftest.c << _LT_EOF
8772 int forced_loaded() { return 2;}
8773 _LT_EOF
8774 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8775 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8776 echo "$AR cru libconftest.a conftest.o" >&5
8777 $AR cru libconftest.a conftest.o 2>&5
8778 cat > conftest.c << _LT_EOF
8779 int main() { return 0;}
8780 _LT_EOF
8781 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8782 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8783 _lt_result=$?
8784 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
8785 lt_cv_ld_force_load=yes
8786 else
8787 cat conftest.err >&5
8789 rm -f conftest.err libconftest.a conftest conftest.c
8790 rm -rf conftest.dSYM
8793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8794 $as_echo "$lt_cv_ld_force_load" >&6; }
8795 case $host_os in
8796 rhapsody* | darwin1.[012])
8797 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8798 darwin1.*)
8799 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8800 darwin*) # darwin 5.x on
8801 # if running on 10.5 or later, the deployment target defaults
8802 # to the OS version, if on x86, and 10.4, the deployment
8803 # target defaults to 10.4. Don't you love it?
8804 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8805 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8806 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8807 10.[012]*)
8808 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8809 10.*)
8810 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8811 esac
8813 esac
8814 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8815 _lt_dar_single_mod='$single_module'
8817 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8818 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8819 else
8820 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8822 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8823 _lt_dsymutil='~$DSYMUTIL $lib || :'
8824 else
8825 _lt_dsymutil=
8828 esac
8830 for ac_header in dlfcn.h
8831 do :
8832 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8834 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8835 cat >>confdefs.h <<_ACEOF
8836 #define HAVE_DLFCN_H 1
8837 _ACEOF
8841 done
8847 # Set options
8852 enable_win32_dll=no
8855 # Check whether --enable-shared was given.
8856 if test "${enable_shared+set}" = set; then :
8857 enableval=$enable_shared; p=${PACKAGE-default}
8858 case $enableval in
8859 yes) enable_shared=yes ;;
8860 no) enable_shared=no ;;
8862 enable_shared=no
8863 # Look at the argument we got. We use all the common list separators.
8864 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8865 for pkg in $enableval; do
8866 IFS="$lt_save_ifs"
8867 if test "X$pkg" = "X$p"; then
8868 enable_shared=yes
8870 done
8871 IFS="$lt_save_ifs"
8873 esac
8874 else
8875 enable_shared=yes
8886 # Check whether --enable-static was given.
8887 if test "${enable_static+set}" = set; then :
8888 enableval=$enable_static; p=${PACKAGE-default}
8889 case $enableval in
8890 yes) enable_static=yes ;;
8891 no) enable_static=no ;;
8893 enable_static=no
8894 # Look at the argument we got. We use all the common list separators.
8895 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8896 for pkg in $enableval; do
8897 IFS="$lt_save_ifs"
8898 if test "X$pkg" = "X$p"; then
8899 enable_static=yes
8901 done
8902 IFS="$lt_save_ifs"
8904 esac
8905 else
8906 enable_static=yes
8918 # Check whether --with-pic was given.
8919 if test "${with_pic+set}" = set; then :
8920 withval=$with_pic; p=${PACKAGE-default}
8921 case "$withval" in
8922 yes|no) pic_mode="$withval" ;;
8924 pic_mode=default
8925 # Look at the argument we got. We use all the common list separators.
8926 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8927 for pkg in $withval; do
8928 IFS="$lt_save_ifs"
8929 if test "X$pkg" = "X$p"; then
8930 pic_mode=yes
8932 done
8933 IFS="$lt_save_ifs"
8935 esac
8936 else
8937 pic_mode=default
8941 test -z "$pic_mode" && pic_mode=default
8949 # Check whether --enable-fast-install was given.
8950 if test "${enable_fast_install+set}" = set; then :
8951 enableval=$enable_fast_install; p=${PACKAGE-default}
8952 case $enableval in
8953 yes) enable_fast_install=yes ;;
8954 no) enable_fast_install=no ;;
8956 enable_fast_install=no
8957 # Look at the argument we got. We use all the common list separators.
8958 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8959 for pkg in $enableval; do
8960 IFS="$lt_save_ifs"
8961 if test "X$pkg" = "X$p"; then
8962 enable_fast_install=yes
8964 done
8965 IFS="$lt_save_ifs"
8967 esac
8968 else
8969 enable_fast_install=yes
8982 # This can be used to rebuild libtool when needed
8983 LIBTOOL_DEPS="$ltmain"
8985 # Always use our own libtool.
8986 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
9013 test -z "$LN_S" && LN_S="ln -s"
9028 if test -n "${ZSH_VERSION+set}" ; then
9029 setopt NO_GLOB_SUBST
9032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9033 $as_echo_n "checking for objdir... " >&6; }
9034 if test "${lt_cv_objdir+set}" = set; then :
9035 $as_echo_n "(cached) " >&6
9036 else
9037 rm -f .libs 2>/dev/null
9038 mkdir .libs 2>/dev/null
9039 if test -d .libs; then
9040 lt_cv_objdir=.libs
9041 else
9042 # MS-DOS does not allow filenames that begin with a dot.
9043 lt_cv_objdir=_libs
9045 rmdir .libs 2>/dev/null
9047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9048 $as_echo "$lt_cv_objdir" >&6; }
9049 objdir=$lt_cv_objdir
9055 cat >>confdefs.h <<_ACEOF
9056 #define LT_OBJDIR "$lt_cv_objdir/"
9057 _ACEOF
9062 case $host_os in
9063 aix3*)
9064 # AIX sometimes has problems with the GCC collect2 program. For some
9065 # reason, if we set the COLLECT_NAMES environment variable, the problems
9066 # vanish in a puff of smoke.
9067 if test "X${COLLECT_NAMES+set}" != Xset; then
9068 COLLECT_NAMES=
9069 export COLLECT_NAMES
9072 esac
9074 # Global variables:
9075 ofile=libtool
9076 can_build_shared=yes
9078 # All known linkers require a `.a' archive for static linking (except MSVC,
9079 # which needs '.lib').
9080 libext=a
9082 with_gnu_ld="$lt_cv_prog_gnu_ld"
9084 old_CC="$CC"
9085 old_CFLAGS="$CFLAGS"
9087 # Set sane defaults for various variables
9088 test -z "$CC" && CC=cc
9089 test -z "$LTCC" && LTCC=$CC
9090 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9091 test -z "$LD" && LD=ld
9092 test -z "$ac_objext" && ac_objext=o
9094 for cc_temp in $compiler""; do
9095 case $cc_temp in
9096 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
9097 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
9098 \-*) ;;
9099 *) break;;
9100 esac
9101 done
9102 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
9105 # Only perform the check for file, if the check method requires it
9106 test -z "$MAGIC_CMD" && MAGIC_CMD=file
9107 case $deplibs_check_method in
9108 file_magic*)
9109 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9111 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9112 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
9113 $as_echo_n "(cached) " >&6
9114 else
9115 case $MAGIC_CMD in
9116 [\\/*] | ?:[\\/]*)
9117 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9120 lt_save_MAGIC_CMD="$MAGIC_CMD"
9121 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9122 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9123 for ac_dir in $ac_dummy; do
9124 IFS="$lt_save_ifs"
9125 test -z "$ac_dir" && ac_dir=.
9126 if test -f $ac_dir/${ac_tool_prefix}file; then
9127 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
9128 if test -n "$file_magic_test_file"; then
9129 case $deplibs_check_method in
9130 "file_magic "*)
9131 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9132 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9133 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9134 $EGREP "$file_magic_regex" > /dev/null; then
9136 else
9137 cat <<_LT_EOF 1>&2
9139 *** Warning: the command libtool uses to detect shared libraries,
9140 *** $file_magic_cmd, produces output that libtool cannot recognize.
9141 *** The result is that libtool may fail to recognize shared libraries
9142 *** as such. This will affect the creation of libtool libraries that
9143 *** depend on shared libraries, but programs linked with such libtool
9144 *** libraries will work regardless of this problem. Nevertheless, you
9145 *** may want to report the problem to your system manager and/or to
9146 *** bug-libtool@gnu.org
9148 _LT_EOF
9149 fi ;;
9150 esac
9152 break
9154 done
9155 IFS="$lt_save_ifs"
9156 MAGIC_CMD="$lt_save_MAGIC_CMD"
9158 esac
9161 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9162 if test -n "$MAGIC_CMD"; then
9163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9164 $as_echo "$MAGIC_CMD" >&6; }
9165 else
9166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9167 $as_echo "no" >&6; }
9174 if test -z "$lt_cv_path_MAGIC_CMD"; then
9175 if test -n "$ac_tool_prefix"; then
9176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9177 $as_echo_n "checking for file... " >&6; }
9178 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
9179 $as_echo_n "(cached) " >&6
9180 else
9181 case $MAGIC_CMD in
9182 [\\/*] | ?:[\\/]*)
9183 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9186 lt_save_MAGIC_CMD="$MAGIC_CMD"
9187 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9188 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9189 for ac_dir in $ac_dummy; do
9190 IFS="$lt_save_ifs"
9191 test -z "$ac_dir" && ac_dir=.
9192 if test -f $ac_dir/file; then
9193 lt_cv_path_MAGIC_CMD="$ac_dir/file"
9194 if test -n "$file_magic_test_file"; then
9195 case $deplibs_check_method in
9196 "file_magic "*)
9197 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9198 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9199 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9200 $EGREP "$file_magic_regex" > /dev/null; then
9202 else
9203 cat <<_LT_EOF 1>&2
9205 *** Warning: the command libtool uses to detect shared libraries,
9206 *** $file_magic_cmd, produces output that libtool cannot recognize.
9207 *** The result is that libtool may fail to recognize shared libraries
9208 *** as such. This will affect the creation of libtool libraries that
9209 *** depend on shared libraries, but programs linked with such libtool
9210 *** libraries will work regardless of this problem. Nevertheless, you
9211 *** may want to report the problem to your system manager and/or to
9212 *** bug-libtool@gnu.org
9214 _LT_EOF
9215 fi ;;
9216 esac
9218 break
9220 done
9221 IFS="$lt_save_ifs"
9222 MAGIC_CMD="$lt_save_MAGIC_CMD"
9224 esac
9227 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9228 if test -n "$MAGIC_CMD"; then
9229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9230 $as_echo "$MAGIC_CMD" >&6; }
9231 else
9232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9233 $as_echo "no" >&6; }
9237 else
9238 MAGIC_CMD=:
9244 esac
9246 # Use C for the default configuration in the libtool script
9248 lt_save_CC="$CC"
9249 ac_ext=c
9250 ac_cpp='$CPP $CPPFLAGS'
9251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9256 # Source file extension for C test sources.
9257 ac_ext=c
9259 # Object file extension for compiled C test sources.
9260 objext=o
9261 objext=$objext
9263 # Code to be used in simple compile tests
9264 lt_simple_compile_test_code="int some_variable = 0;"
9266 # Code to be used in simple link tests
9267 lt_simple_link_test_code='int main(){return(0);}'
9275 # If no C compiler was specified, use CC.
9276 LTCC=${LTCC-"$CC"}
9278 # If no C compiler flags were specified, use CFLAGS.
9279 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9281 # Allow CC to be a program name with arguments.
9282 compiler=$CC
9284 # Save the default compiler, since it gets overwritten when the other
9285 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9286 compiler_DEFAULT=$CC
9288 # save warnings/boilerplate of simple test code
9289 ac_outfile=conftest.$ac_objext
9290 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9291 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9292 _lt_compiler_boilerplate=`cat conftest.err`
9293 $RM conftest*
9295 ac_outfile=conftest.$ac_objext
9296 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9297 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9298 _lt_linker_boilerplate=`cat conftest.err`
9299 $RM -r conftest*
9302 ## CAVEAT EMPTOR:
9303 ## There is no encapsulation within the following macros, do not change
9304 ## the running order or otherwise move them around unless you know exactly
9305 ## what you are doing...
9306 if test -n "$compiler"; then
9308 lt_prog_compiler_no_builtin_flag=
9310 if test "$GCC" = yes; then
9311 case $cc_basename in
9312 nvcc*)
9313 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9315 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9316 esac
9318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9319 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9320 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
9321 $as_echo_n "(cached) " >&6
9322 else
9323 lt_cv_prog_compiler_rtti_exceptions=no
9324 ac_outfile=conftest.$ac_objext
9325 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9326 lt_compiler_flag="-fno-rtti -fno-exceptions"
9327 # Insert the option either (1) after the last *FLAGS variable, or
9328 # (2) before a word containing "conftest.", or (3) at the end.
9329 # Note that $ac_compile itself does not contain backslashes and begins
9330 # with a dollar sign (not a hyphen), so the echo should work correctly.
9331 # The option is referenced via a variable to avoid confusing sed.
9332 lt_compile=`echo "$ac_compile" | $SED \
9333 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9334 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9335 -e 's:$: $lt_compiler_flag:'`
9336 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9337 (eval "$lt_compile" 2>conftest.err)
9338 ac_status=$?
9339 cat conftest.err >&5
9340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9341 if (exit $ac_status) && test -s "$ac_outfile"; then
9342 # The compiler can only warn and ignore the option if not recognized
9343 # So say no if there are warnings other than the usual output.
9344 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9345 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9346 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9347 lt_cv_prog_compiler_rtti_exceptions=yes
9350 $RM conftest*
9353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9354 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9356 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9357 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9358 else
9369 lt_prog_compiler_wl=
9370 lt_prog_compiler_pic=
9371 lt_prog_compiler_static=
9373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9374 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9376 if test "$GCC" = yes; then
9377 lt_prog_compiler_wl='-Wl,'
9378 lt_prog_compiler_static='-static'
9380 case $host_os in
9381 aix*)
9382 # All AIX code is PIC.
9383 if test "$host_cpu" = ia64; then
9384 # AIX 5 now supports IA64 processor
9385 lt_prog_compiler_static='-Bstatic'
9387 lt_prog_compiler_pic='-fPIC'
9390 amigaos*)
9391 case $host_cpu in
9392 powerpc)
9393 # see comment about AmigaOS4 .so support
9394 lt_prog_compiler_pic='-fPIC'
9396 m68k)
9397 # FIXME: we need at least 68020 code to build shared libraries, but
9398 # adding the `-m68020' flag to GCC prevents building anything better,
9399 # like `-m68040'.
9400 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9402 esac
9405 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9406 # PIC is the default for these OSes.
9409 mingw* | cygwin* | pw32* | os2* | cegcc*)
9410 # This hack is so that the source file can tell whether it is being
9411 # built for inclusion in a dll (and should export symbols for example).
9412 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9413 # (--disable-auto-import) libraries
9414 lt_prog_compiler_pic='-DDLL_EXPORT'
9417 darwin* | rhapsody*)
9418 # PIC is the default on this platform
9419 # Common symbols not allowed in MH_DYLIB files
9420 lt_prog_compiler_pic='-fno-common'
9423 haiku*)
9424 # PIC is the default for Haiku.
9425 # The "-static" flag exists, but is broken.
9426 lt_prog_compiler_static=
9429 hpux*)
9430 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9431 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9432 # sets the default TLS model and affects inlining.
9433 case $host_cpu in
9434 hppa*64*)
9435 # +Z the default
9438 lt_prog_compiler_pic='-fPIC'
9440 esac
9443 interix[3-9]*)
9444 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9445 # Instead, we relocate shared libraries at runtime.
9448 msdosdjgpp*)
9449 # Just because we use GCC doesn't mean we suddenly get shared libraries
9450 # on systems that don't support them.
9451 lt_prog_compiler_can_build_shared=no
9452 enable_shared=no
9455 *nto* | *qnx*)
9456 # QNX uses GNU C++, but need to define -shared option too, otherwise
9457 # it will coredump.
9458 lt_prog_compiler_pic='-fPIC -shared'
9461 sysv4*MP*)
9462 if test -d /usr/nec; then
9463 lt_prog_compiler_pic=-Kconform_pic
9468 lt_prog_compiler_pic='-fPIC'
9470 esac
9472 case $cc_basename in
9473 nvcc*) # Cuda Compiler Driver 2.2
9474 lt_prog_compiler_wl='-Xlinker '
9475 lt_prog_compiler_pic='-Xcompiler -fPIC'
9477 esac
9478 else
9479 # PORTME Check for flag to pass linker flags through the system compiler.
9480 case $host_os in
9481 aix*)
9482 lt_prog_compiler_wl='-Wl,'
9483 if test "$host_cpu" = ia64; then
9484 # AIX 5 now supports IA64 processor
9485 lt_prog_compiler_static='-Bstatic'
9486 else
9487 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9491 mingw* | cygwin* | pw32* | os2* | cegcc*)
9492 # This hack is so that the source file can tell whether it is being
9493 # built for inclusion in a dll (and should export symbols for example).
9494 lt_prog_compiler_pic='-DDLL_EXPORT'
9497 hpux9* | hpux10* | hpux11*)
9498 lt_prog_compiler_wl='-Wl,'
9499 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9500 # not for PA HP-UX.
9501 case $host_cpu in
9502 hppa*64*|ia64*)
9503 # +Z the default
9506 lt_prog_compiler_pic='+Z'
9508 esac
9509 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9510 lt_prog_compiler_static='${wl}-a ${wl}archive'
9513 irix5* | irix6* | nonstopux*)
9514 lt_prog_compiler_wl='-Wl,'
9515 # PIC (with -KPIC) is the default.
9516 lt_prog_compiler_static='-non_shared'
9519 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9520 case $cc_basename in
9521 # old Intel for x86_64 which still supported -KPIC.
9522 ecc*)
9523 lt_prog_compiler_wl='-Wl,'
9524 lt_prog_compiler_pic='-KPIC'
9525 lt_prog_compiler_static='-static'
9527 # icc used to be incompatible with GCC.
9528 # ICC 10 doesn't accept -KPIC any more.
9529 icc* | ifort*)
9530 lt_prog_compiler_wl='-Wl,'
9531 lt_prog_compiler_pic='-fPIC'
9532 lt_prog_compiler_static='-static'
9534 # Lahey Fortran 8.1.
9535 lf95*)
9536 lt_prog_compiler_wl='-Wl,'
9537 lt_prog_compiler_pic='--shared'
9538 lt_prog_compiler_static='--static'
9540 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9541 # Portland Group compilers (*not* the Pentium gcc compiler,
9542 # which looks to be a dead project)
9543 lt_prog_compiler_wl='-Wl,'
9544 lt_prog_compiler_pic='-fpic'
9545 lt_prog_compiler_static='-Bstatic'
9547 ccc*)
9548 lt_prog_compiler_wl='-Wl,'
9549 # All Alpha code is PIC.
9550 lt_prog_compiler_static='-non_shared'
9552 xl* | bgxl* | bgf* | mpixl*)
9553 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9554 lt_prog_compiler_wl='-Wl,'
9555 lt_prog_compiler_pic='-qpic'
9556 lt_prog_compiler_static='-qstaticlink'
9559 case `$CC -V 2>&1 | sed 5q` in
9560 *Sun\ F* | *Sun*Fortran*)
9561 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9562 lt_prog_compiler_pic='-KPIC'
9563 lt_prog_compiler_static='-Bstatic'
9564 lt_prog_compiler_wl=''
9566 *Sun\ C*)
9567 # Sun C 5.9
9568 lt_prog_compiler_pic='-KPIC'
9569 lt_prog_compiler_static='-Bstatic'
9570 lt_prog_compiler_wl='-Wl,'
9572 esac
9574 esac
9577 newsos6)
9578 lt_prog_compiler_pic='-KPIC'
9579 lt_prog_compiler_static='-Bstatic'
9582 *nto* | *qnx*)
9583 # QNX uses GNU C++, but need to define -shared option too, otherwise
9584 # it will coredump.
9585 lt_prog_compiler_pic='-fPIC -shared'
9588 osf3* | osf4* | osf5*)
9589 lt_prog_compiler_wl='-Wl,'
9590 # All OSF/1 code is PIC.
9591 lt_prog_compiler_static='-non_shared'
9594 rdos*)
9595 lt_prog_compiler_static='-non_shared'
9598 solaris*)
9599 lt_prog_compiler_pic='-KPIC'
9600 lt_prog_compiler_static='-Bstatic'
9601 case $cc_basename in
9602 f77* | f90* | f95*)
9603 lt_prog_compiler_wl='-Qoption ld ';;
9605 lt_prog_compiler_wl='-Wl,';;
9606 esac
9609 sunos4*)
9610 lt_prog_compiler_wl='-Qoption ld '
9611 lt_prog_compiler_pic='-PIC'
9612 lt_prog_compiler_static='-Bstatic'
9615 sysv4 | sysv4.2uw2* | sysv4.3*)
9616 lt_prog_compiler_wl='-Wl,'
9617 lt_prog_compiler_pic='-KPIC'
9618 lt_prog_compiler_static='-Bstatic'
9621 sysv4*MP*)
9622 if test -d /usr/nec ;then
9623 lt_prog_compiler_pic='-Kconform_pic'
9624 lt_prog_compiler_static='-Bstatic'
9628 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9629 lt_prog_compiler_wl='-Wl,'
9630 lt_prog_compiler_pic='-KPIC'
9631 lt_prog_compiler_static='-Bstatic'
9634 unicos*)
9635 lt_prog_compiler_wl='-Wl,'
9636 lt_prog_compiler_can_build_shared=no
9639 uts4*)
9640 lt_prog_compiler_pic='-pic'
9641 lt_prog_compiler_static='-Bstatic'
9645 lt_prog_compiler_can_build_shared=no
9647 esac
9650 case $host_os in
9651 # For platforms which do not support PIC, -DPIC is meaningless:
9652 *djgpp*)
9653 lt_prog_compiler_pic=
9656 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9658 esac
9659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9660 $as_echo "$lt_prog_compiler_pic" >&6; }
9668 # Check to make sure the PIC flag actually works.
9670 if test -n "$lt_prog_compiler_pic"; then
9671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9672 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9673 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
9674 $as_echo_n "(cached) " >&6
9675 else
9676 lt_cv_prog_compiler_pic_works=no
9677 ac_outfile=conftest.$ac_objext
9678 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9679 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9680 # Insert the option either (1) after the last *FLAGS variable, or
9681 # (2) before a word containing "conftest.", or (3) at the end.
9682 # Note that $ac_compile itself does not contain backslashes and begins
9683 # with a dollar sign (not a hyphen), so the echo should work correctly.
9684 # The option is referenced via a variable to avoid confusing sed.
9685 lt_compile=`echo "$ac_compile" | $SED \
9686 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9687 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9688 -e 's:$: $lt_compiler_flag:'`
9689 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9690 (eval "$lt_compile" 2>conftest.err)
9691 ac_status=$?
9692 cat conftest.err >&5
9693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9694 if (exit $ac_status) && test -s "$ac_outfile"; then
9695 # The compiler can only warn and ignore the option if not recognized
9696 # So say no if there are warnings other than the usual output.
9697 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9698 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9699 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9700 lt_cv_prog_compiler_pic_works=yes
9703 $RM conftest*
9706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9707 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9709 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9710 case $lt_prog_compiler_pic in
9711 "" | " "*) ;;
9712 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9713 esac
9714 else
9715 lt_prog_compiler_pic=
9716 lt_prog_compiler_can_build_shared=no
9727 # Check to make sure the static flag actually works.
9729 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9731 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9732 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
9733 $as_echo_n "(cached) " >&6
9734 else
9735 lt_cv_prog_compiler_static_works=no
9736 save_LDFLAGS="$LDFLAGS"
9737 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9738 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9739 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9740 # The linker can only warn and ignore the option if not recognized
9741 # So say no if there are warnings
9742 if test -s conftest.err; then
9743 # Append any errors to the config.log.
9744 cat conftest.err 1>&5
9745 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9746 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9747 if diff conftest.exp conftest.er2 >/dev/null; then
9748 lt_cv_prog_compiler_static_works=yes
9750 else
9751 lt_cv_prog_compiler_static_works=yes
9754 $RM -r conftest*
9755 LDFLAGS="$save_LDFLAGS"
9758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9759 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9761 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9763 else
9764 lt_prog_compiler_static=
9773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9774 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9775 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9776 $as_echo_n "(cached) " >&6
9777 else
9778 lt_cv_prog_compiler_c_o=no
9779 $RM -r conftest 2>/dev/null
9780 mkdir conftest
9781 cd conftest
9782 mkdir out
9783 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9785 lt_compiler_flag="-o out/conftest2.$ac_objext"
9786 # Insert the option either (1) after the last *FLAGS variable, or
9787 # (2) before a word containing "conftest.", or (3) at the end.
9788 # Note that $ac_compile itself does not contain backslashes and begins
9789 # with a dollar sign (not a hyphen), so the echo should work correctly.
9790 lt_compile=`echo "$ac_compile" | $SED \
9791 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9792 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9793 -e 's:$: $lt_compiler_flag:'`
9794 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9795 (eval "$lt_compile" 2>out/conftest.err)
9796 ac_status=$?
9797 cat out/conftest.err >&5
9798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9799 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9800 then
9801 # The compiler can only warn and ignore the option if not recognized
9802 # So say no if there are warnings
9803 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9804 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9805 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9806 lt_cv_prog_compiler_c_o=yes
9809 chmod u+w . 2>&5
9810 $RM conftest*
9811 # SGI C++ compiler will create directory out/ii_files/ for
9812 # template instantiation
9813 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9814 $RM out/* && rmdir out
9815 cd ..
9816 $RM -r conftest
9817 $RM conftest*
9820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9821 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9829 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9830 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9831 $as_echo_n "(cached) " >&6
9832 else
9833 lt_cv_prog_compiler_c_o=no
9834 $RM -r conftest 2>/dev/null
9835 mkdir conftest
9836 cd conftest
9837 mkdir out
9838 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9840 lt_compiler_flag="-o out/conftest2.$ac_objext"
9841 # Insert the option either (1) after the last *FLAGS variable, or
9842 # (2) before a word containing "conftest.", or (3) at the end.
9843 # Note that $ac_compile itself does not contain backslashes and begins
9844 # with a dollar sign (not a hyphen), so the echo should work correctly.
9845 lt_compile=`echo "$ac_compile" | $SED \
9846 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9847 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9848 -e 's:$: $lt_compiler_flag:'`
9849 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9850 (eval "$lt_compile" 2>out/conftest.err)
9851 ac_status=$?
9852 cat out/conftest.err >&5
9853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9854 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9855 then
9856 # The compiler can only warn and ignore the option if not recognized
9857 # So say no if there are warnings
9858 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9859 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9860 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9861 lt_cv_prog_compiler_c_o=yes
9864 chmod u+w . 2>&5
9865 $RM conftest*
9866 # SGI C++ compiler will create directory out/ii_files/ for
9867 # template instantiation
9868 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9869 $RM out/* && rmdir out
9870 cd ..
9871 $RM -r conftest
9872 $RM conftest*
9875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9876 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9881 hard_links="nottested"
9882 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9883 # do not overwrite the value of need_locks provided by the user
9884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9885 $as_echo_n "checking if we can lock with hard links... " >&6; }
9886 hard_links=yes
9887 $RM conftest*
9888 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9889 touch conftest.a
9890 ln conftest.a conftest.b 2>&5 || hard_links=no
9891 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9893 $as_echo "$hard_links" >&6; }
9894 if test "$hard_links" = no; then
9895 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9896 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9897 need_locks=warn
9899 else
9900 need_locks=no
9908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9909 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9911 runpath_var=
9912 allow_undefined_flag=
9913 always_export_symbols=no
9914 archive_cmds=
9915 archive_expsym_cmds=
9916 compiler_needs_object=no
9917 enable_shared_with_static_runtimes=no
9918 export_dynamic_flag_spec=
9919 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9920 hardcode_automatic=no
9921 hardcode_direct=no
9922 hardcode_direct_absolute=no
9923 hardcode_libdir_flag_spec=
9924 hardcode_libdir_flag_spec_ld=
9925 hardcode_libdir_separator=
9926 hardcode_minus_L=no
9927 hardcode_shlibpath_var=unsupported
9928 inherit_rpath=no
9929 link_all_deplibs=unknown
9930 module_cmds=
9931 module_expsym_cmds=
9932 old_archive_from_new_cmds=
9933 old_archive_from_expsyms_cmds=
9934 thread_safe_flag_spec=
9935 whole_archive_flag_spec=
9936 # include_expsyms should be a list of space-separated symbols to be *always*
9937 # included in the symbol list
9938 include_expsyms=
9939 # exclude_expsyms can be an extended regexp of symbols to exclude
9940 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9941 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9942 # as well as any symbol that contains `d'.
9943 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9944 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9945 # platforms (ab)use it in PIC code, but their linkers get confused if
9946 # the symbol is explicitly referenced. Since portable code cannot
9947 # rely on this symbol name, it's probably fine to never include it in
9948 # preloaded symbol tables.
9949 # Exclude shared library initialization/finalization symbols.
9950 extract_expsyms_cmds=
9952 case $host_os in
9953 cygwin* | mingw* | pw32* | cegcc*)
9954 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9955 # When not using gcc, we currently assume that we are using
9956 # Microsoft Visual C++.
9957 if test "$GCC" != yes; then
9958 with_gnu_ld=no
9961 interix*)
9962 # we just hope/assume this is gcc and not c89 (= MSVC++)
9963 with_gnu_ld=yes
9965 openbsd*)
9966 with_gnu_ld=no
9968 esac
9970 ld_shlibs=yes
9972 # On some targets, GNU ld is compatible enough with the native linker
9973 # that we're better off using the native interface for both.
9974 lt_use_gnu_ld_interface=no
9975 if test "$with_gnu_ld" = yes; then
9976 case $host_os in
9977 aix*)
9978 # The AIX port of GNU ld has always aspired to compatibility
9979 # with the native linker. However, as the warning in the GNU ld
9980 # block says, versions before 2.19.5* couldn't really create working
9981 # shared libraries, regardless of the interface used.
9982 case `$LD -v 2>&1` in
9983 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9984 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9985 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9987 lt_use_gnu_ld_interface=yes
9989 esac
9992 lt_use_gnu_ld_interface=yes
9994 esac
9997 if test "$lt_use_gnu_ld_interface" = yes; then
9998 # If archive_cmds runs LD, not CC, wlarc should be empty
9999 wlarc='${wl}'
10001 # Set some defaults for GNU ld with shared library support. These
10002 # are reset later if shared libraries are not supported. Putting them
10003 # here allows them to be overridden if necessary.
10004 runpath_var=LD_RUN_PATH
10005 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10006 export_dynamic_flag_spec='${wl}--export-dynamic'
10007 # ancient GNU ld didn't support --whole-archive et. al.
10008 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
10009 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10010 else
10011 whole_archive_flag_spec=
10013 supports_anon_versioning=no
10014 case `$LD -v 2>&1` in
10015 *GNU\ gold*) supports_anon_versioning=yes ;;
10016 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10017 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10018 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10019 *\ 2.11.*) ;; # other 2.11 versions
10020 *) supports_anon_versioning=yes ;;
10021 esac
10023 # See if GNU ld supports shared libraries.
10024 case $host_os in
10025 aix[3-9]*)
10026 # On AIX/PPC, the GNU linker is very broken
10027 if test "$host_cpu" != ia64; then
10028 ld_shlibs=no
10029 cat <<_LT_EOF 1>&2
10031 *** Warning: the GNU linker, at least up to release 2.19, is reported
10032 *** to be unable to reliably create shared libraries on AIX.
10033 *** Therefore, libtool is disabling shared libraries support. If you
10034 *** really care for shared libraries, you may want to install binutils
10035 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10036 *** You will then need to restart the configuration process.
10038 _LT_EOF
10042 amigaos*)
10043 case $host_cpu in
10044 powerpc)
10045 # see comment about AmigaOS4 .so support
10046 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10047 archive_expsym_cmds=''
10049 m68k)
10050 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)'
10051 hardcode_libdir_flag_spec='-L$libdir'
10052 hardcode_minus_L=yes
10054 esac
10057 beos*)
10058 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10059 allow_undefined_flag=unsupported
10060 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10061 # support --undefined. This deserves some investigation. FIXME
10062 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10063 else
10064 ld_shlibs=no
10068 cygwin* | mingw* | pw32* | cegcc*)
10069 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10070 # as there is no search path for DLLs.
10071 hardcode_libdir_flag_spec='-L$libdir'
10072 export_dynamic_flag_spec='${wl}--export-all-symbols'
10073 allow_undefined_flag=unsupported
10074 always_export_symbols=no
10075 enable_shared_with_static_runtimes=yes
10076 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10078 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
10079 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10080 # If the export-symbols file already is a .def file (1st line
10081 # is EXPORTS), use it as is; otherwise, prepend...
10082 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10083 cp $export_symbols $output_objdir/$soname.def;
10084 else
10085 echo EXPORTS > $output_objdir/$soname.def;
10086 cat $export_symbols >> $output_objdir/$soname.def;
10088 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10089 else
10090 ld_shlibs=no
10094 haiku*)
10095 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10096 link_all_deplibs=yes
10099 interix[3-9]*)
10100 hardcode_direct=no
10101 hardcode_shlibpath_var=no
10102 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10103 export_dynamic_flag_spec='${wl}-E'
10104 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10105 # Instead, shared libraries are loaded at an image base (0x10000000 by
10106 # default) and relocated if they conflict, which is a slow very memory
10107 # consuming and fragmenting process. To avoid this, we pick a random,
10108 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10109 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10110 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10111 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'
10114 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
10115 tmp_diet=no
10116 if test "$host_os" = linux-dietlibc; then
10117 case $cc_basename in
10118 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
10119 esac
10121 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
10122 && test "$tmp_diet" = no
10123 then
10124 tmp_addflag=
10125 tmp_sharedflag='-shared'
10126 case $cc_basename,$host_cpu in
10127 pgcc*) # Portland Group C compiler
10128 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'
10129 tmp_addflag=' $pic_flag'
10131 pgf77* | pgf90* | pgf95* | pgfortran*)
10132 # Portland Group f77 and f90 compilers
10133 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'
10134 tmp_addflag=' $pic_flag -Mnomain' ;;
10135 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
10136 tmp_addflag=' -i_dynamic' ;;
10137 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
10138 tmp_addflag=' -i_dynamic -nofor_main' ;;
10139 ifc* | ifort*) # Intel Fortran compiler
10140 tmp_addflag=' -nofor_main' ;;
10141 lf95*) # Lahey Fortran 8.1
10142 whole_archive_flag_spec=
10143 tmp_sharedflag='--shared' ;;
10144 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10145 tmp_sharedflag='-qmkshrobj'
10146 tmp_addflag= ;;
10147 nvcc*) # Cuda Compiler Driver 2.2
10148 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'
10149 compiler_needs_object=yes
10151 esac
10152 case `$CC -V 2>&1 | sed 5q` in
10153 *Sun\ C*) # Sun C 5.9
10154 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'
10155 compiler_needs_object=yes
10156 tmp_sharedflag='-G' ;;
10157 *Sun\ F*) # Sun Fortran 8.3
10158 tmp_sharedflag='-G' ;;
10159 esac
10160 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10162 if test "x$supports_anon_versioning" = xyes; then
10163 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10164 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10165 echo "local: *; };" >> $output_objdir/$libname.ver~
10166 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10169 case $cc_basename in
10170 xlf* | bgf* | bgxlf* | mpixlf*)
10171 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10172 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10173 hardcode_libdir_flag_spec=
10174 hardcode_libdir_flag_spec_ld='-rpath $libdir'
10175 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
10176 if test "x$supports_anon_versioning" = xyes; then
10177 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10178 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10179 echo "local: *; };" >> $output_objdir/$libname.ver~
10180 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10183 esac
10184 else
10185 ld_shlibs=no
10189 netbsd*)
10190 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10191 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10192 wlarc=
10193 else
10194 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10195 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10199 solaris*)
10200 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10201 ld_shlibs=no
10202 cat <<_LT_EOF 1>&2
10204 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10205 *** create shared libraries on Solaris systems. Therefore, libtool
10206 *** is disabling shared libraries support. We urge you to upgrade GNU
10207 *** binutils to release 2.9.1 or newer. Another option is to modify
10208 *** your PATH or compiler configuration so that the native linker is
10209 *** used, and then restart.
10211 _LT_EOF
10212 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10213 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10214 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10215 else
10216 ld_shlibs=no
10220 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10221 case `$LD -v 2>&1` in
10222 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10223 ld_shlibs=no
10224 cat <<_LT_EOF 1>&2
10226 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10227 *** reliably create shared libraries on SCO systems. Therefore, libtool
10228 *** is disabling shared libraries support. We urge you to upgrade GNU
10229 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10230 *** your PATH or compiler configuration so that the native linker is
10231 *** used, and then restart.
10233 _LT_EOF
10236 # For security reasons, it is highly recommended that you always
10237 # use absolute paths for naming shared libraries, and exclude the
10238 # DT_RUNPATH tag from executables and libraries. But doing so
10239 # requires that you compile everything twice, which is a pain.
10240 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10241 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
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
10251 sunos4*)
10252 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10253 wlarc=
10254 hardcode_direct=yes
10255 hardcode_shlibpath_var=no
10259 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10260 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10261 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10262 else
10263 ld_shlibs=no
10266 esac
10268 if test "$ld_shlibs" = no; then
10269 runpath_var=
10270 hardcode_libdir_flag_spec=
10271 export_dynamic_flag_spec=
10272 whole_archive_flag_spec=
10274 else
10275 # PORTME fill in a description of your system's linker (not GNU ld)
10276 case $host_os in
10277 aix3*)
10278 allow_undefined_flag=unsupported
10279 always_export_symbols=yes
10280 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'
10281 # Note: this linker hardcodes the directories in LIBPATH if there
10282 # are no directories specified by -L.
10283 hardcode_minus_L=yes
10284 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10285 # Neither direct hardcoding nor static linking is supported with a
10286 # broken collect2.
10287 hardcode_direct=unsupported
10291 aix[4-9]*)
10292 if test "$host_cpu" = ia64; then
10293 # On IA64, the linker does run time linking by default, so we don't
10294 # have to do anything special.
10295 aix_use_runtimelinking=no
10296 exp_sym_flag='-Bexport'
10297 no_entry_flag=""
10298 else
10299 # If we're using GNU nm, then we don't want the "-C" option.
10300 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10301 # Also, AIX nm treats weak defined symbols like other global
10302 # defined symbols, whereas GNU nm marks them as "W".
10303 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10304 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'
10305 else
10306 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'
10308 aix_use_runtimelinking=no
10310 # Test if we are trying to use run time linking or normal
10311 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10312 # need to do runtime linking.
10313 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10314 for ld_flag in $LDFLAGS; do
10315 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10316 aix_use_runtimelinking=yes
10317 break
10319 done
10321 esac
10323 exp_sym_flag='-bexport'
10324 no_entry_flag='-bnoentry'
10327 # When large executables or shared objects are built, AIX ld can
10328 # have problems creating the table of contents. If linking a library
10329 # or program results in "error TOC overflow" add -mminimal-toc to
10330 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10331 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10333 archive_cmds=''
10334 hardcode_direct=yes
10335 hardcode_direct_absolute=yes
10336 hardcode_libdir_separator=':'
10337 link_all_deplibs=yes
10338 file_list_spec='${wl}-f,'
10340 if test "$GCC" = yes; then
10341 case $host_os in aix4.[012]|aix4.[012].*)
10342 # We only want to do this on AIX 4.2 and lower, the check
10343 # below for broken collect2 doesn't work under 4.3+
10344 collect2name=`${CC} -print-prog-name=collect2`
10345 if test -f "$collect2name" &&
10346 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10347 then
10348 # We have reworked collect2
10350 else
10351 # We have old collect2
10352 hardcode_direct=unsupported
10353 # It fails to find uninstalled libraries when the uninstalled
10354 # path is not listed in the libpath. Setting hardcode_minus_L
10355 # to unsupported forces relinking
10356 hardcode_minus_L=yes
10357 hardcode_libdir_flag_spec='-L$libdir'
10358 hardcode_libdir_separator=
10361 esac
10362 shared_flag='-shared'
10363 if test "$aix_use_runtimelinking" = yes; then
10364 shared_flag="$shared_flag "'${wl}-G'
10366 else
10367 # not using gcc
10368 if test "$host_cpu" = ia64; then
10369 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10370 # chokes on -Wl,-G. The following line is correct:
10371 shared_flag='-G'
10372 else
10373 if test "$aix_use_runtimelinking" = yes; then
10374 shared_flag='${wl}-G'
10375 else
10376 shared_flag='${wl}-bM:SRE'
10381 export_dynamic_flag_spec='${wl}-bexpall'
10382 # It seems that -bexpall does not export symbols beginning with
10383 # underscore (_), so it is better to generate a list of symbols to export.
10384 always_export_symbols=yes
10385 if test "$aix_use_runtimelinking" = yes; then
10386 # Warning - without using the other runtime loading flags (-brtl),
10387 # -berok will link without error, but may produce a broken library.
10388 allow_undefined_flag='-berok'
10389 # Determine the default libpath from the value encoded in an
10390 # empty executable.
10391 if test x$gcc_no_link = xyes; then
10392 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10395 /* end confdefs.h. */
10398 main ()
10402 return 0;
10404 _ACEOF
10405 if ac_fn_c_try_link "$LINENO"; then :
10407 lt_aix_libpath_sed='
10408 /Import File Strings/,/^$/ {
10409 /^0/ {
10410 s/^0 *\(.*\)$/\1/
10414 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10415 # Check for a 64-bit object if we didn't find anything.
10416 if test -z "$aix_libpath"; then
10417 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10420 rm -f core conftest.err conftest.$ac_objext \
10421 conftest$ac_exeext conftest.$ac_ext
10422 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10424 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10425 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"
10426 else
10427 if test "$host_cpu" = ia64; then
10428 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10429 allow_undefined_flag="-z nodefs"
10430 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"
10431 else
10432 # Determine the default libpath from the value encoded in an
10433 # empty executable.
10434 if test x$gcc_no_link = xyes; then
10435 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10438 /* end confdefs.h. */
10441 main ()
10445 return 0;
10447 _ACEOF
10448 if ac_fn_c_try_link "$LINENO"; then :
10450 lt_aix_libpath_sed='
10451 /Import File Strings/,/^$/ {
10452 /^0/ {
10453 s/^0 *\(.*\)$/\1/
10457 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10458 # Check for a 64-bit object if we didn't find anything.
10459 if test -z "$aix_libpath"; then
10460 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10463 rm -f core conftest.err conftest.$ac_objext \
10464 conftest$ac_exeext conftest.$ac_ext
10465 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10467 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10468 # Warning - without using the other run time loading flags,
10469 # -berok will link without error, but may produce a broken library.
10470 no_undefined_flag=' ${wl}-bernotok'
10471 allow_undefined_flag=' ${wl}-berok'
10472 if test "$with_gnu_ld" = yes; then
10473 # We only use this code for GNU lds that support --whole-archive.
10474 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10475 else
10476 # Exported symbols can be pulled into shared objects from archives
10477 whole_archive_flag_spec='$convenience'
10479 archive_cmds_need_lc=yes
10480 # This is similar to how AIX traditionally builds its shared libraries.
10481 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'
10486 amigaos*)
10487 case $host_cpu in
10488 powerpc)
10489 # see comment about AmigaOS4 .so support
10490 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10491 archive_expsym_cmds=''
10493 m68k)
10494 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)'
10495 hardcode_libdir_flag_spec='-L$libdir'
10496 hardcode_minus_L=yes
10498 esac
10501 bsdi[45]*)
10502 export_dynamic_flag_spec=-rdynamic
10505 cygwin* | mingw* | pw32* | cegcc*)
10506 # When not using gcc, we currently assume that we are using
10507 # Microsoft Visual C++.
10508 # hardcode_libdir_flag_spec is actually meaningless, as there is
10509 # no search path for DLLs.
10510 hardcode_libdir_flag_spec=' '
10511 allow_undefined_flag=unsupported
10512 # Tell ltmain to make .lib files, not .a files.
10513 libext=lib
10514 # Tell ltmain to make .dll files, not .so files.
10515 shrext_cmds=".dll"
10516 # FIXME: Setting linknames here is a bad hack.
10517 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10518 # The linker will automatically build a .lib file if we build a DLL.
10519 old_archive_from_new_cmds='true'
10520 # FIXME: Should let the user specify the lib program.
10521 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10522 fix_srcfile_path='`cygpath -w "$srcfile"`'
10523 enable_shared_with_static_runtimes=yes
10526 darwin* | rhapsody*)
10529 archive_cmds_need_lc=no
10530 hardcode_direct=no
10531 hardcode_automatic=yes
10532 hardcode_shlibpath_var=unsupported
10533 if test "$lt_cv_ld_force_load" = "yes"; then
10534 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\"`'
10535 else
10536 whole_archive_flag_spec=''
10538 link_all_deplibs=yes
10539 allow_undefined_flag="$_lt_dar_allow_undefined"
10540 case $cc_basename in
10541 ifort*) _lt_dar_can_shared=yes ;;
10542 *) _lt_dar_can_shared=$GCC ;;
10543 esac
10544 if test "$_lt_dar_can_shared" = "yes"; then
10545 output_verbose_link_cmd=func_echo_all
10546 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10547 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10548 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}"
10549 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}"
10551 else
10552 ld_shlibs=no
10557 dgux*)
10558 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10559 hardcode_libdir_flag_spec='-L$libdir'
10560 hardcode_shlibpath_var=no
10563 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10564 # support. Future versions do this automatically, but an explicit c++rt0.o
10565 # does not break anything, and helps significantly (at the cost of a little
10566 # extra space).
10567 freebsd2.2*)
10568 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10569 hardcode_libdir_flag_spec='-R$libdir'
10570 hardcode_direct=yes
10571 hardcode_shlibpath_var=no
10574 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10575 freebsd2.*)
10576 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10577 hardcode_direct=yes
10578 hardcode_minus_L=yes
10579 hardcode_shlibpath_var=no
10582 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10583 freebsd* | dragonfly*)
10584 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10585 hardcode_libdir_flag_spec='-R$libdir'
10586 hardcode_direct=yes
10587 hardcode_shlibpath_var=no
10590 hpux9*)
10591 if test "$GCC" = yes; then
10592 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'
10593 else
10594 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'
10596 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10597 hardcode_libdir_separator=:
10598 hardcode_direct=yes
10600 # hardcode_minus_L: Not really in the search PATH,
10601 # but as the default location of the library.
10602 hardcode_minus_L=yes
10603 export_dynamic_flag_spec='${wl}-E'
10606 hpux10*)
10607 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10608 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10609 else
10610 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10612 if test "$with_gnu_ld" = no; then
10613 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10614 hardcode_libdir_flag_spec_ld='+b $libdir'
10615 hardcode_libdir_separator=:
10616 hardcode_direct=yes
10617 hardcode_direct_absolute=yes
10618 export_dynamic_flag_spec='${wl}-E'
10619 # hardcode_minus_L: Not really in the search PATH,
10620 # but as the default location of the library.
10621 hardcode_minus_L=yes
10625 hpux11*)
10626 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10627 case $host_cpu in
10628 hppa*64*)
10629 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10631 ia64*)
10632 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10635 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10637 esac
10638 else
10639 case $host_cpu in
10640 hppa*64*)
10641 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10643 ia64*)
10644 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10648 # Older versions of the 11.00 compiler do not understand -b yet
10649 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10651 $as_echo_n "checking if $CC understands -b... " >&6; }
10652 if test "${lt_cv_prog_compiler__b+set}" = set; then :
10653 $as_echo_n "(cached) " >&6
10654 else
10655 lt_cv_prog_compiler__b=no
10656 save_LDFLAGS="$LDFLAGS"
10657 LDFLAGS="$LDFLAGS -b"
10658 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10659 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10660 # The linker can only warn and ignore the option if not recognized
10661 # So say no if there are warnings
10662 if test -s conftest.err; then
10663 # Append any errors to the config.log.
10664 cat conftest.err 1>&5
10665 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10666 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10667 if diff conftest.exp conftest.er2 >/dev/null; then
10668 lt_cv_prog_compiler__b=yes
10670 else
10671 lt_cv_prog_compiler__b=yes
10674 $RM -r conftest*
10675 LDFLAGS="$save_LDFLAGS"
10678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10679 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10681 if test x"$lt_cv_prog_compiler__b" = xyes; then
10682 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10683 else
10684 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10688 esac
10690 if test "$with_gnu_ld" = no; then
10691 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10692 hardcode_libdir_separator=:
10694 case $host_cpu in
10695 hppa*64*|ia64*)
10696 hardcode_direct=no
10697 hardcode_shlibpath_var=no
10700 hardcode_direct=yes
10701 hardcode_direct_absolute=yes
10702 export_dynamic_flag_spec='${wl}-E'
10704 # hardcode_minus_L: Not really in the search PATH,
10705 # but as the default location of the library.
10706 hardcode_minus_L=yes
10708 esac
10712 irix5* | irix6* | nonstopux*)
10713 if test "$GCC" = yes; then
10714 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'
10715 # Try to use the -exported_symbol ld option, if it does not
10716 # work, assume that -exports_file does not work either and
10717 # implicitly export all symbols.
10718 save_LDFLAGS="$LDFLAGS"
10719 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10720 if test x$gcc_no_link = xyes; then
10721 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10724 /* end confdefs.h. */
10725 int foo(void) {}
10726 _ACEOF
10727 if ac_fn_c_try_link "$LINENO"; then :
10728 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'
10731 rm -f core conftest.err conftest.$ac_objext \
10732 conftest$ac_exeext conftest.$ac_ext
10733 LDFLAGS="$save_LDFLAGS"
10734 else
10735 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'
10736 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'
10738 archive_cmds_need_lc='no'
10739 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10740 hardcode_libdir_separator=:
10741 inherit_rpath=yes
10742 link_all_deplibs=yes
10745 netbsd*)
10746 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10747 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10748 else
10749 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10751 hardcode_libdir_flag_spec='-R$libdir'
10752 hardcode_direct=yes
10753 hardcode_shlibpath_var=no
10756 newsos6)
10757 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10758 hardcode_direct=yes
10759 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10760 hardcode_libdir_separator=:
10761 hardcode_shlibpath_var=no
10764 *nto* | *qnx*)
10767 openbsd*)
10768 if test -f /usr/libexec/ld.so; then
10769 hardcode_direct=yes
10770 hardcode_shlibpath_var=no
10771 hardcode_direct_absolute=yes
10772 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10773 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10774 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10775 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10776 export_dynamic_flag_spec='${wl}-E'
10777 else
10778 case $host_os in
10779 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10780 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10781 hardcode_libdir_flag_spec='-R$libdir'
10784 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10785 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10787 esac
10789 else
10790 ld_shlibs=no
10794 os2*)
10795 hardcode_libdir_flag_spec='-L$libdir'
10796 hardcode_minus_L=yes
10797 allow_undefined_flag=unsupported
10798 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'
10799 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10802 osf3*)
10803 if test "$GCC" = yes; then
10804 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10805 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'
10806 else
10807 allow_undefined_flag=' -expect_unresolved \*'
10808 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'
10810 archive_cmds_need_lc='no'
10811 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10812 hardcode_libdir_separator=:
10815 osf4* | osf5*) # as osf3* with the addition of -msym flag
10816 if test "$GCC" = yes; then
10817 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10818 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'
10819 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10820 else
10821 allow_undefined_flag=' -expect_unresolved \*'
10822 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'
10823 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~
10824 $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'
10826 # Both c and cxx compiler support -rpath directly
10827 hardcode_libdir_flag_spec='-rpath $libdir'
10829 archive_cmds_need_lc='no'
10830 hardcode_libdir_separator=:
10833 solaris*)
10834 no_undefined_flag=' -z defs'
10835 if test "$GCC" = yes; then
10836 wlarc='${wl}'
10837 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10838 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10839 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10840 else
10841 case `$CC -V 2>&1` in
10842 *"Compilers 5.0"*)
10843 wlarc=''
10844 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10845 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10846 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10849 wlarc='${wl}'
10850 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10851 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10852 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10854 esac
10856 hardcode_libdir_flag_spec='-R$libdir'
10857 hardcode_shlibpath_var=no
10858 case $host_os in
10859 solaris2.[0-5] | solaris2.[0-5].*) ;;
10861 # The compiler driver will combine and reorder linker options,
10862 # but understands `-z linker_flag'. GCC discards it without `$wl',
10863 # but is careful enough not to reorder.
10864 # Supported since Solaris 2.6 (maybe 2.5.1?)
10865 if test "$GCC" = yes; then
10866 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10867 else
10868 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10871 esac
10872 link_all_deplibs=yes
10875 sunos4*)
10876 if test "x$host_vendor" = xsequent; then
10877 # Use $CC to link under sequent, because it throws in some extra .o
10878 # files that make .init and .fini sections work.
10879 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10880 else
10881 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10883 hardcode_libdir_flag_spec='-L$libdir'
10884 hardcode_direct=yes
10885 hardcode_minus_L=yes
10886 hardcode_shlibpath_var=no
10889 sysv4)
10890 case $host_vendor in
10891 sni)
10892 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10893 hardcode_direct=yes # is this really true???
10895 siemens)
10896 ## LD is ld it makes a PLAMLIB
10897 ## CC just makes a GrossModule.
10898 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10899 reload_cmds='$CC -r -o $output$reload_objs'
10900 hardcode_direct=no
10902 motorola)
10903 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10904 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10906 esac
10907 runpath_var='LD_RUN_PATH'
10908 hardcode_shlibpath_var=no
10911 sysv4.3*)
10912 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10913 hardcode_shlibpath_var=no
10914 export_dynamic_flag_spec='-Bexport'
10917 sysv4*MP*)
10918 if test -d /usr/nec; then
10919 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10920 hardcode_shlibpath_var=no
10921 runpath_var=LD_RUN_PATH
10922 hardcode_runpath_var=yes
10923 ld_shlibs=yes
10927 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10928 no_undefined_flag='${wl}-z,text'
10929 archive_cmds_need_lc=no
10930 hardcode_shlibpath_var=no
10931 runpath_var='LD_RUN_PATH'
10933 if test "$GCC" = yes; then
10934 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10935 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10936 else
10937 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10938 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10942 sysv5* | sco3.2v5* | sco5v6*)
10943 # Note: We can NOT use -z defs as we might desire, because we do not
10944 # link with -lc, and that would cause any symbols used from libc to
10945 # always be unresolved, which means just about no library would
10946 # ever link correctly. If we're not using GNU ld we use -z text
10947 # though, which does catch some bad symbols but isn't as heavy-handed
10948 # as -z defs.
10949 no_undefined_flag='${wl}-z,text'
10950 allow_undefined_flag='${wl}-z,nodefs'
10951 archive_cmds_need_lc=no
10952 hardcode_shlibpath_var=no
10953 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10954 hardcode_libdir_separator=':'
10955 link_all_deplibs=yes
10956 export_dynamic_flag_spec='${wl}-Bexport'
10957 runpath_var='LD_RUN_PATH'
10959 if test "$GCC" = yes; then
10960 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10961 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10962 else
10963 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10964 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10968 uts4*)
10969 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10970 hardcode_libdir_flag_spec='-L$libdir'
10971 hardcode_shlibpath_var=no
10975 ld_shlibs=no
10977 esac
10979 if test x$host_vendor = xsni; then
10980 case $host in
10981 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10982 export_dynamic_flag_spec='${wl}-Blargedynsym'
10984 esac
10988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10989 $as_echo "$ld_shlibs" >&6; }
10990 test "$ld_shlibs" = no && can_build_shared=no
10992 with_gnu_ld=$with_gnu_ld
11009 # Do we need to explicitly link libc?
11011 case "x$archive_cmds_need_lc" in
11012 x|xyes)
11013 # Assume -lc should be added
11014 archive_cmds_need_lc=yes
11016 if test "$enable_shared" = yes && test "$GCC" = yes; then
11017 case $archive_cmds in
11018 *'~'*)
11019 # FIXME: we may have to deal with multi-command sequences.
11021 '$CC '*)
11022 # Test whether the compiler implicitly links with -lc since on some
11023 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11024 # to ld, don't add -lc before -lgcc.
11025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11026 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11027 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
11028 $as_echo_n "(cached) " >&6
11029 else
11030 $RM conftest*
11031 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11033 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11034 (eval $ac_compile) 2>&5
11035 ac_status=$?
11036 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11037 test $ac_status = 0; } 2>conftest.err; then
11038 soname=conftest
11039 lib=conftest
11040 libobjs=conftest.$ac_objext
11041 deplibs=
11042 wl=$lt_prog_compiler_wl
11043 pic_flag=$lt_prog_compiler_pic
11044 compiler_flags=-v
11045 linker_flags=-v
11046 verstring=
11047 output_objdir=.
11048 libname=conftest
11049 lt_save_allow_undefined_flag=$allow_undefined_flag
11050 allow_undefined_flag=
11051 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11052 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11053 ac_status=$?
11054 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11055 test $ac_status = 0; }
11056 then
11057 lt_cv_archive_cmds_need_lc=no
11058 else
11059 lt_cv_archive_cmds_need_lc=yes
11061 allow_undefined_flag=$lt_save_allow_undefined_flag
11062 else
11063 cat conftest.err 1>&5
11065 $RM conftest*
11068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11069 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11070 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
11072 esac
11075 esac
11233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11234 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11236 if test "$GCC" = yes; then
11237 case $host_os in
11238 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
11239 *) lt_awk_arg="/^libraries:/" ;;
11240 esac
11241 case $host_os in
11242 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
11243 *) lt_sed_strip_eq="s,=/,/,g" ;;
11244 esac
11245 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11246 case $lt_search_path_spec in
11247 *\;*)
11248 # if the path contains ";" then we assume it to be the separator
11249 # otherwise default to the standard path separator (i.e. ":") - it is
11250 # assumed that no part of a normal pathname contains ";" but that should
11251 # okay in the real world where ";" in dirpaths is itself problematic.
11252 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11255 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11257 esac
11258 # Ok, now we have the path, separated by spaces, we can step through it
11259 # and add multilib dir if necessary.
11260 lt_tmp_lt_search_path_spec=
11261 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11262 for lt_sys_path in $lt_search_path_spec; do
11263 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11264 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11265 else
11266 test -d "$lt_sys_path" && \
11267 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11269 done
11270 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11271 BEGIN {RS=" "; FS="/|\n";} {
11272 lt_foo="";
11273 lt_count=0;
11274 for (lt_i = NF; lt_i > 0; lt_i--) {
11275 if ($lt_i != "" && $lt_i != ".") {
11276 if ($lt_i == "..") {
11277 lt_count++;
11278 } else {
11279 if (lt_count == 0) {
11280 lt_foo="/" $lt_i lt_foo;
11281 } else {
11282 lt_count--;
11287 if (lt_foo != "") { lt_freq[lt_foo]++; }
11288 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11290 # AWK program above erroneously prepends '/' to C:/dos/paths
11291 # for these hosts.
11292 case $host_os in
11293 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11294 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11295 esac
11296 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11297 else
11298 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11300 library_names_spec=
11301 libname_spec='lib$name'
11302 soname_spec=
11303 shrext_cmds=".so"
11304 postinstall_cmds=
11305 postuninstall_cmds=
11306 finish_cmds=
11307 finish_eval=
11308 shlibpath_var=
11309 shlibpath_overrides_runpath=unknown
11310 version_type=none
11311 dynamic_linker="$host_os ld.so"
11312 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11313 need_lib_prefix=unknown
11314 hardcode_into_libs=no
11316 # when you set need_version to no, make sure it does not cause -set_version
11317 # flags to be left without arguments
11318 need_version=unknown
11320 case $host_os in
11321 aix3*)
11322 version_type=linux
11323 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11324 shlibpath_var=LIBPATH
11326 # AIX 3 has no versioning support, so we append a major version to the name.
11327 soname_spec='${libname}${release}${shared_ext}$major'
11330 aix[4-9]*)
11331 version_type=linux
11332 need_lib_prefix=no
11333 need_version=no
11334 hardcode_into_libs=yes
11335 if test "$host_cpu" = ia64; then
11336 # AIX 5 supports IA64
11337 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11338 shlibpath_var=LD_LIBRARY_PATH
11339 else
11340 # With GCC up to 2.95.x, collect2 would create an import file
11341 # for dependence libraries. The import file would start with
11342 # the line `#! .'. This would cause the generated library to
11343 # depend on `.', always an invalid library. This was fixed in
11344 # development snapshots of GCC prior to 3.0.
11345 case $host_os in
11346 aix4 | aix4.[01] | aix4.[01].*)
11347 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11348 echo ' yes '
11349 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11351 else
11352 can_build_shared=no
11355 esac
11356 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11357 # soname into executable. Probably we can add versioning support to
11358 # collect2, so additional links can be useful in future.
11359 if test "$aix_use_runtimelinking" = yes; then
11360 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11361 # instead of lib<name>.a to let people know that these are not
11362 # typical AIX shared libraries.
11363 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11364 else
11365 # We preserve .a as extension for shared libraries through AIX4.2
11366 # and later when we are not doing run time linking.
11367 library_names_spec='${libname}${release}.a $libname.a'
11368 soname_spec='${libname}${release}${shared_ext}$major'
11370 shlibpath_var=LIBPATH
11374 amigaos*)
11375 case $host_cpu in
11376 powerpc)
11377 # Since July 2007 AmigaOS4 officially supports .so libraries.
11378 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11379 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11381 m68k)
11382 library_names_spec='$libname.ixlibrary $libname.a'
11383 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11384 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'
11386 esac
11389 beos*)
11390 library_names_spec='${libname}${shared_ext}'
11391 dynamic_linker="$host_os ld.so"
11392 shlibpath_var=LIBRARY_PATH
11395 bsdi[45]*)
11396 version_type=linux
11397 need_version=no
11398 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11399 soname_spec='${libname}${release}${shared_ext}$major'
11400 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11401 shlibpath_var=LD_LIBRARY_PATH
11402 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11403 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11404 # the default ld.so.conf also contains /usr/contrib/lib and
11405 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11406 # libtool to hard-code these into programs
11409 cygwin* | mingw* | pw32* | cegcc*)
11410 version_type=windows
11411 shrext_cmds=".dll"
11412 need_version=no
11413 need_lib_prefix=no
11415 case $GCC,$host_os in
11416 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
11417 library_names_spec='$libname.dll.a'
11418 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11419 postinstall_cmds='base_file=`basename \${file}`~
11420 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11421 dldir=$destdir/`dirname \$dlpath`~
11422 test -d \$dldir || mkdir -p \$dldir~
11423 $install_prog $dir/$dlname \$dldir/$dlname~
11424 chmod a+x \$dldir/$dlname~
11425 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11426 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11428 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11429 dlpath=$dir/\$dldll~
11430 $RM \$dlpath'
11431 shlibpath_overrides_runpath=yes
11433 case $host_os in
11434 cygwin*)
11435 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11436 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11438 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11440 mingw* | cegcc*)
11441 # MinGW DLLs use traditional 'lib' prefix
11442 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11444 pw32*)
11445 # pw32 DLLs use 'pw' prefix rather than 'lib'
11446 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11448 esac
11452 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11454 esac
11455 dynamic_linker='Win32 ld.exe'
11456 # FIXME: first we should search . and the directory the executable is in
11457 shlibpath_var=PATH
11460 darwin* | rhapsody*)
11461 dynamic_linker="$host_os dyld"
11462 version_type=darwin
11463 need_lib_prefix=no
11464 need_version=no
11465 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11466 soname_spec='${libname}${release}${major}$shared_ext'
11467 shlibpath_overrides_runpath=yes
11468 shlibpath_var=DYLD_LIBRARY_PATH
11469 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11471 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11472 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11475 dgux*)
11476 version_type=linux
11477 need_lib_prefix=no
11478 need_version=no
11479 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11480 soname_spec='${libname}${release}${shared_ext}$major'
11481 shlibpath_var=LD_LIBRARY_PATH
11484 freebsd* | dragonfly*)
11485 # DragonFly does not have aout. When/if they implement a new
11486 # versioning mechanism, adjust this.
11487 if test -x /usr/bin/objformat; then
11488 objformat=`/usr/bin/objformat`
11489 else
11490 case $host_os in
11491 freebsd[23].*) objformat=aout ;;
11492 *) objformat=elf ;;
11493 esac
11495 version_type=freebsd-$objformat
11496 case $version_type in
11497 freebsd-elf*)
11498 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11499 need_version=no
11500 need_lib_prefix=no
11502 freebsd-*)
11503 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11504 need_version=yes
11506 esac
11507 shlibpath_var=LD_LIBRARY_PATH
11508 case $host_os in
11509 freebsd2.*)
11510 shlibpath_overrides_runpath=yes
11512 freebsd3.[01]* | freebsdelf3.[01]*)
11513 shlibpath_overrides_runpath=yes
11514 hardcode_into_libs=yes
11516 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11517 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11518 shlibpath_overrides_runpath=no
11519 hardcode_into_libs=yes
11521 *) # from 4.6 on, and DragonFly
11522 shlibpath_overrides_runpath=yes
11523 hardcode_into_libs=yes
11525 esac
11528 gnu*)
11529 version_type=linux
11530 need_lib_prefix=no
11531 need_version=no
11532 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11533 soname_spec='${libname}${release}${shared_ext}$major'
11534 shlibpath_var=LD_LIBRARY_PATH
11535 hardcode_into_libs=yes
11538 haiku*)
11539 version_type=linux
11540 need_lib_prefix=no
11541 need_version=no
11542 dynamic_linker="$host_os runtime_loader"
11543 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11544 soname_spec='${libname}${release}${shared_ext}$major'
11545 shlibpath_var=LIBRARY_PATH
11546 shlibpath_overrides_runpath=yes
11547 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
11548 hardcode_into_libs=yes
11551 hpux9* | hpux10* | hpux11*)
11552 # Give a soname corresponding to the major version so that dld.sl refuses to
11553 # link against other versions.
11554 version_type=sunos
11555 need_lib_prefix=no
11556 need_version=no
11557 case $host_cpu in
11558 ia64*)
11559 shrext_cmds='.so'
11560 hardcode_into_libs=yes
11561 dynamic_linker="$host_os dld.so"
11562 shlibpath_var=LD_LIBRARY_PATH
11563 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11564 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11565 soname_spec='${libname}${release}${shared_ext}$major'
11566 if test "X$HPUX_IA64_MODE" = X32; then
11567 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11568 else
11569 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11571 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11573 hppa*64*)
11574 shrext_cmds='.sl'
11575 hardcode_into_libs=yes
11576 dynamic_linker="$host_os dld.sl"
11577 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11578 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11579 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11580 soname_spec='${libname}${release}${shared_ext}$major'
11581 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11582 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11585 shrext_cmds='.sl'
11586 dynamic_linker="$host_os dld.sl"
11587 shlibpath_var=SHLIB_PATH
11588 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11589 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11590 soname_spec='${libname}${release}${shared_ext}$major'
11592 esac
11593 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11594 postinstall_cmds='chmod 555 $lib'
11595 # or fails outright, so override atomically:
11596 install_override_mode=555
11599 interix[3-9]*)
11600 version_type=linux
11601 need_lib_prefix=no
11602 need_version=no
11603 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11604 soname_spec='${libname}${release}${shared_ext}$major'
11605 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11606 shlibpath_var=LD_LIBRARY_PATH
11607 shlibpath_overrides_runpath=no
11608 hardcode_into_libs=yes
11611 irix5* | irix6* | nonstopux*)
11612 case $host_os in
11613 nonstopux*) version_type=nonstopux ;;
11615 if test "$lt_cv_prog_gnu_ld" = yes; then
11616 version_type=linux
11617 else
11618 version_type=irix
11619 fi ;;
11620 esac
11621 need_lib_prefix=no
11622 need_version=no
11623 soname_spec='${libname}${release}${shared_ext}$major'
11624 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11625 case $host_os in
11626 irix5* | nonstopux*)
11627 libsuff= shlibsuff=
11630 case $LD in # libtool.m4 will add one of these switches to LD
11631 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11632 libsuff= shlibsuff= libmagic=32-bit;;
11633 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11634 libsuff=32 shlibsuff=N32 libmagic=N32;;
11635 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11636 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11637 *) libsuff= shlibsuff= libmagic=never-match;;
11638 esac
11640 esac
11641 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11642 shlibpath_overrides_runpath=no
11643 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11644 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11645 hardcode_into_libs=yes
11648 # No shared lib support for Linux oldld, aout, or coff.
11649 linux*oldld* | linux*aout* | linux*coff*)
11650 dynamic_linker=no
11653 # This must be Linux ELF.
11654 linux* | k*bsd*-gnu | kopensolaris*-gnu)
11655 version_type=linux
11656 need_lib_prefix=no
11657 need_version=no
11658 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11659 soname_spec='${libname}${release}${shared_ext}$major'
11660 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11661 shlibpath_var=LD_LIBRARY_PATH
11662 shlibpath_overrides_runpath=no
11664 # Some binutils ld are patched to set DT_RUNPATH
11665 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
11666 $as_echo_n "(cached) " >&6
11667 else
11668 lt_cv_shlibpath_overrides_runpath=no
11669 save_LDFLAGS=$LDFLAGS
11670 save_libdir=$libdir
11671 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11672 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11673 if test x$gcc_no_link = xyes; then
11674 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11677 /* end confdefs.h. */
11680 main ()
11684 return 0;
11686 _ACEOF
11687 if ac_fn_c_try_link "$LINENO"; then :
11688 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11689 lt_cv_shlibpath_overrides_runpath=yes
11692 rm -f core conftest.err conftest.$ac_objext \
11693 conftest$ac_exeext conftest.$ac_ext
11694 LDFLAGS=$save_LDFLAGS
11695 libdir=$save_libdir
11699 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11701 # This implies no fast_install, which is unacceptable.
11702 # Some rework will be needed to allow for fast_install
11703 # before this can be enabled.
11704 hardcode_into_libs=yes
11706 # Append ld.so.conf contents to the search path
11707 if test -f /etc/ld.so.conf; then
11708 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' ' '`
11709 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11712 # We used to test for /lib/ld.so.1 and disable shared libraries on
11713 # powerpc, because MkLinux only supported shared libraries with the
11714 # GNU dynamic linker. Since this was broken with cross compilers,
11715 # most powerpc-linux boxes support dynamic linking these days and
11716 # people can always --disable-shared, the test was removed, and we
11717 # assume the GNU/Linux dynamic linker is in use.
11718 dynamic_linker='GNU/Linux ld.so'
11721 netbsd*)
11722 version_type=sunos
11723 need_lib_prefix=no
11724 need_version=no
11725 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11726 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11727 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11728 dynamic_linker='NetBSD (a.out) ld.so'
11729 else
11730 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11731 soname_spec='${libname}${release}${shared_ext}$major'
11732 dynamic_linker='NetBSD ld.elf_so'
11734 shlibpath_var=LD_LIBRARY_PATH
11735 shlibpath_overrides_runpath=yes
11736 hardcode_into_libs=yes
11739 newsos6)
11740 version_type=linux
11741 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11742 shlibpath_var=LD_LIBRARY_PATH
11743 shlibpath_overrides_runpath=yes
11746 *nto* | *qnx*)
11747 version_type=qnx
11748 need_lib_prefix=no
11749 need_version=no
11750 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11751 soname_spec='${libname}${release}${shared_ext}$major'
11752 shlibpath_var=LD_LIBRARY_PATH
11753 shlibpath_overrides_runpath=no
11754 hardcode_into_libs=yes
11755 dynamic_linker='ldqnx.so'
11758 openbsd*)
11759 version_type=sunos
11760 sys_lib_dlsearch_path_spec="/usr/lib"
11761 need_lib_prefix=no
11762 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11763 case $host_os in
11764 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11765 *) need_version=no ;;
11766 esac
11767 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11768 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11769 shlibpath_var=LD_LIBRARY_PATH
11770 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11771 case $host_os in
11772 openbsd2.[89] | openbsd2.[89].*)
11773 shlibpath_overrides_runpath=no
11776 shlibpath_overrides_runpath=yes
11778 esac
11779 else
11780 shlibpath_overrides_runpath=yes
11784 os2*)
11785 libname_spec='$name'
11786 shrext_cmds=".dll"
11787 need_lib_prefix=no
11788 library_names_spec='$libname${shared_ext} $libname.a'
11789 dynamic_linker='OS/2 ld.exe'
11790 shlibpath_var=LIBPATH
11793 osf3* | osf4* | osf5*)
11794 version_type=osf
11795 need_lib_prefix=no
11796 need_version=no
11797 soname_spec='${libname}${release}${shared_ext}$major'
11798 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11799 shlibpath_var=LD_LIBRARY_PATH
11800 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11801 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11804 rdos*)
11805 dynamic_linker=no
11808 solaris*)
11809 version_type=linux
11810 need_lib_prefix=no
11811 need_version=no
11812 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11813 soname_spec='${libname}${release}${shared_ext}$major'
11814 shlibpath_var=LD_LIBRARY_PATH
11815 shlibpath_overrides_runpath=yes
11816 hardcode_into_libs=yes
11817 # ldd complains unless libraries are executable
11818 postinstall_cmds='chmod +x $lib'
11821 sunos4*)
11822 version_type=sunos
11823 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11824 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11825 shlibpath_var=LD_LIBRARY_PATH
11826 shlibpath_overrides_runpath=yes
11827 if test "$with_gnu_ld" = yes; then
11828 need_lib_prefix=no
11830 need_version=yes
11833 sysv4 | sysv4.3*)
11834 version_type=linux
11835 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11836 soname_spec='${libname}${release}${shared_ext}$major'
11837 shlibpath_var=LD_LIBRARY_PATH
11838 case $host_vendor in
11839 sni)
11840 shlibpath_overrides_runpath=no
11841 need_lib_prefix=no
11842 runpath_var=LD_RUN_PATH
11844 siemens)
11845 need_lib_prefix=no
11847 motorola)
11848 need_lib_prefix=no
11849 need_version=no
11850 shlibpath_overrides_runpath=no
11851 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11853 esac
11856 sysv4*MP*)
11857 if test -d /usr/nec ;then
11858 version_type=linux
11859 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11860 soname_spec='$libname${shared_ext}.$major'
11861 shlibpath_var=LD_LIBRARY_PATH
11865 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11866 version_type=freebsd-elf
11867 need_lib_prefix=no
11868 need_version=no
11869 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11870 soname_spec='${libname}${release}${shared_ext}$major'
11871 shlibpath_var=LD_LIBRARY_PATH
11872 shlibpath_overrides_runpath=yes
11873 hardcode_into_libs=yes
11874 if test "$with_gnu_ld" = yes; then
11875 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11876 else
11877 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11878 case $host_os in
11879 sco3.2v5*)
11880 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11882 esac
11884 sys_lib_dlsearch_path_spec='/usr/lib'
11887 tpf*)
11888 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11889 version_type=linux
11890 need_lib_prefix=no
11891 need_version=no
11892 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11893 shlibpath_var=LD_LIBRARY_PATH
11894 shlibpath_overrides_runpath=no
11895 hardcode_into_libs=yes
11898 uts4*)
11899 version_type=linux
11900 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11901 soname_spec='${libname}${release}${shared_ext}$major'
11902 shlibpath_var=LD_LIBRARY_PATH
11906 dynamic_linker=no
11908 esac
11909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11910 $as_echo "$dynamic_linker" >&6; }
11911 test "$dynamic_linker" = no && can_build_shared=no
11913 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11914 if test "$GCC" = yes; then
11915 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11918 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11919 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11921 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11922 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
12016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12017 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12018 hardcode_action=
12019 if test -n "$hardcode_libdir_flag_spec" ||
12020 test -n "$runpath_var" ||
12021 test "X$hardcode_automatic" = "Xyes" ; then
12023 # We can hardcode non-existent directories.
12024 if test "$hardcode_direct" != no &&
12025 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12026 # have to relink, otherwise we might link with an installed library
12027 # when we should be linking with a yet-to-be-installed one
12028 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12029 test "$hardcode_minus_L" != no; then
12030 # Linking always hardcodes the temporary library directory.
12031 hardcode_action=relink
12032 else
12033 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12034 hardcode_action=immediate
12036 else
12037 # We cannot hardcode anything, or else we can only hardcode existing
12038 # directories.
12039 hardcode_action=unsupported
12041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12042 $as_echo "$hardcode_action" >&6; }
12044 if test "$hardcode_action" = relink ||
12045 test "$inherit_rpath" = yes; then
12046 # Fast installation is not supported
12047 enable_fast_install=no
12048 elif test "$shlibpath_overrides_runpath" = yes ||
12049 test "$enable_shared" = no; then
12050 # Fast installation is not necessary
12051 enable_fast_install=needless
12059 if test "x$enable_dlopen" != xyes; then
12060 enable_dlopen=unknown
12061 enable_dlopen_self=unknown
12062 enable_dlopen_self_static=unknown
12063 else
12064 lt_cv_dlopen=no
12065 lt_cv_dlopen_libs=
12067 case $host_os in
12068 beos*)
12069 lt_cv_dlopen="load_add_on"
12070 lt_cv_dlopen_libs=
12071 lt_cv_dlopen_self=yes
12074 mingw* | pw32* | cegcc*)
12075 lt_cv_dlopen="LoadLibrary"
12076 lt_cv_dlopen_libs=
12079 cygwin*)
12080 lt_cv_dlopen="dlopen"
12081 lt_cv_dlopen_libs=
12084 darwin*)
12085 # if libdl is installed we need to link against it
12086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12087 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12088 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
12089 $as_echo_n "(cached) " >&6
12090 else
12091 ac_check_lib_save_LIBS=$LIBS
12092 LIBS="-ldl $LIBS"
12093 if test x$gcc_no_link = xyes; then
12094 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12097 /* end confdefs.h. */
12099 /* Override any GCC internal prototype to avoid an error.
12100 Use char because int might match the return type of a GCC
12101 builtin and then its argument prototype would still apply. */
12102 #ifdef __cplusplus
12103 extern "C"
12104 #endif
12105 char dlopen ();
12107 main ()
12109 return dlopen ();
12111 return 0;
12113 _ACEOF
12114 if ac_fn_c_try_link "$LINENO"; then :
12115 ac_cv_lib_dl_dlopen=yes
12116 else
12117 ac_cv_lib_dl_dlopen=no
12119 rm -f core conftest.err conftest.$ac_objext \
12120 conftest$ac_exeext conftest.$ac_ext
12121 LIBS=$ac_check_lib_save_LIBS
12123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12124 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12125 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
12126 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12127 else
12129 lt_cv_dlopen="dyld"
12130 lt_cv_dlopen_libs=
12131 lt_cv_dlopen_self=yes
12138 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12139 if test "x$ac_cv_func_shl_load" = x""yes; then :
12140 lt_cv_dlopen="shl_load"
12141 else
12142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12143 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12144 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
12145 $as_echo_n "(cached) " >&6
12146 else
12147 ac_check_lib_save_LIBS=$LIBS
12148 LIBS="-ldld $LIBS"
12149 if test x$gcc_no_link = xyes; then
12150 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12153 /* end confdefs.h. */
12155 /* Override any GCC internal prototype to avoid an error.
12156 Use char because int might match the return type of a GCC
12157 builtin and then its argument prototype would still apply. */
12158 #ifdef __cplusplus
12159 extern "C"
12160 #endif
12161 char shl_load ();
12163 main ()
12165 return shl_load ();
12167 return 0;
12169 _ACEOF
12170 if ac_fn_c_try_link "$LINENO"; then :
12171 ac_cv_lib_dld_shl_load=yes
12172 else
12173 ac_cv_lib_dld_shl_load=no
12175 rm -f core conftest.err conftest.$ac_objext \
12176 conftest$ac_exeext conftest.$ac_ext
12177 LIBS=$ac_check_lib_save_LIBS
12179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12180 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12181 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
12182 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
12183 else
12184 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12185 if test "x$ac_cv_func_dlopen" = x""yes; then :
12186 lt_cv_dlopen="dlopen"
12187 else
12188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12189 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12190 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
12191 $as_echo_n "(cached) " >&6
12192 else
12193 ac_check_lib_save_LIBS=$LIBS
12194 LIBS="-ldl $LIBS"
12195 if test x$gcc_no_link = xyes; then
12196 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12199 /* end confdefs.h. */
12201 /* Override any GCC internal prototype to avoid an error.
12202 Use char because int might match the return type of a GCC
12203 builtin and then its argument prototype would still apply. */
12204 #ifdef __cplusplus
12205 extern "C"
12206 #endif
12207 char dlopen ();
12209 main ()
12211 return dlopen ();
12213 return 0;
12215 _ACEOF
12216 if ac_fn_c_try_link "$LINENO"; then :
12217 ac_cv_lib_dl_dlopen=yes
12218 else
12219 ac_cv_lib_dl_dlopen=no
12221 rm -f core conftest.err conftest.$ac_objext \
12222 conftest$ac_exeext conftest.$ac_ext
12223 LIBS=$ac_check_lib_save_LIBS
12225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12226 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12227 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
12228 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12229 else
12230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12231 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12232 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
12233 $as_echo_n "(cached) " >&6
12234 else
12235 ac_check_lib_save_LIBS=$LIBS
12236 LIBS="-lsvld $LIBS"
12237 if test x$gcc_no_link = xyes; then
12238 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12241 /* end confdefs.h. */
12243 /* Override any GCC internal prototype to avoid an error.
12244 Use char because int might match the return type of a GCC
12245 builtin and then its argument prototype would still apply. */
12246 #ifdef __cplusplus
12247 extern "C"
12248 #endif
12249 char dlopen ();
12251 main ()
12253 return dlopen ();
12255 return 0;
12257 _ACEOF
12258 if ac_fn_c_try_link "$LINENO"; then :
12259 ac_cv_lib_svld_dlopen=yes
12260 else
12261 ac_cv_lib_svld_dlopen=no
12263 rm -f core conftest.err conftest.$ac_objext \
12264 conftest$ac_exeext conftest.$ac_ext
12265 LIBS=$ac_check_lib_save_LIBS
12267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12268 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12269 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
12270 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12271 else
12272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12273 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12274 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
12275 $as_echo_n "(cached) " >&6
12276 else
12277 ac_check_lib_save_LIBS=$LIBS
12278 LIBS="-ldld $LIBS"
12279 if test x$gcc_no_link = xyes; then
12280 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12283 /* end confdefs.h. */
12285 /* Override any GCC internal prototype to avoid an error.
12286 Use char because int might match the return type of a GCC
12287 builtin and then its argument prototype would still apply. */
12288 #ifdef __cplusplus
12289 extern "C"
12290 #endif
12291 char dld_link ();
12293 main ()
12295 return dld_link ();
12297 return 0;
12299 _ACEOF
12300 if ac_fn_c_try_link "$LINENO"; then :
12301 ac_cv_lib_dld_dld_link=yes
12302 else
12303 ac_cv_lib_dld_dld_link=no
12305 rm -f core conftest.err conftest.$ac_objext \
12306 conftest$ac_exeext conftest.$ac_ext
12307 LIBS=$ac_check_lib_save_LIBS
12309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12310 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12311 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
12312 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12331 esac
12333 if test "x$lt_cv_dlopen" != xno; then
12334 enable_dlopen=yes
12335 else
12336 enable_dlopen=no
12339 case $lt_cv_dlopen in
12340 dlopen)
12341 save_CPPFLAGS="$CPPFLAGS"
12342 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12344 save_LDFLAGS="$LDFLAGS"
12345 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12347 save_LIBS="$LIBS"
12348 LIBS="$lt_cv_dlopen_libs $LIBS"
12350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12351 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12352 if test "${lt_cv_dlopen_self+set}" = set; then :
12353 $as_echo_n "(cached) " >&6
12354 else
12355 if test "$cross_compiling" = yes; then :
12356 lt_cv_dlopen_self=cross
12357 else
12358 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12359 lt_status=$lt_dlunknown
12360 cat > conftest.$ac_ext <<_LT_EOF
12361 #line 12349 "configure"
12362 #include "confdefs.h"
12364 #if HAVE_DLFCN_H
12365 #include <dlfcn.h>
12366 #endif
12368 #include <stdio.h>
12370 #ifdef RTLD_GLOBAL
12371 # define LT_DLGLOBAL RTLD_GLOBAL
12372 #else
12373 # ifdef DL_GLOBAL
12374 # define LT_DLGLOBAL DL_GLOBAL
12375 # else
12376 # define LT_DLGLOBAL 0
12377 # endif
12378 #endif
12380 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12381 find out it does not work in some platform. */
12382 #ifndef LT_DLLAZY_OR_NOW
12383 # ifdef RTLD_LAZY
12384 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12385 # else
12386 # ifdef DL_LAZY
12387 # define LT_DLLAZY_OR_NOW DL_LAZY
12388 # else
12389 # ifdef RTLD_NOW
12390 # define LT_DLLAZY_OR_NOW RTLD_NOW
12391 # else
12392 # ifdef DL_NOW
12393 # define LT_DLLAZY_OR_NOW DL_NOW
12394 # else
12395 # define LT_DLLAZY_OR_NOW 0
12396 # endif
12397 # endif
12398 # endif
12399 # endif
12400 #endif
12402 /* When -fvisbility=hidden is used, assume the code has been annotated
12403 correspondingly for the symbols needed. */
12404 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12405 void fnord () __attribute__((visibility("default")));
12406 #endif
12408 void fnord () { int i=42; }
12409 int main ()
12411 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12412 int status = $lt_dlunknown;
12414 if (self)
12416 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12417 else
12419 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12420 else puts (dlerror ());
12422 /* dlclose (self); */
12424 else
12425 puts (dlerror ());
12427 return status;
12429 _LT_EOF
12430 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12431 (eval $ac_link) 2>&5
12432 ac_status=$?
12433 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12434 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12435 (./conftest; exit; ) >&5 2>/dev/null
12436 lt_status=$?
12437 case x$lt_status in
12438 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12439 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12440 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12441 esac
12442 else :
12443 # compilation failed
12444 lt_cv_dlopen_self=no
12447 rm -fr conftest*
12451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12452 $as_echo "$lt_cv_dlopen_self" >&6; }
12454 if test "x$lt_cv_dlopen_self" = xyes; then
12455 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12457 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12458 if test "${lt_cv_dlopen_self_static+set}" = set; then :
12459 $as_echo_n "(cached) " >&6
12460 else
12461 if test "$cross_compiling" = yes; then :
12462 lt_cv_dlopen_self_static=cross
12463 else
12464 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12465 lt_status=$lt_dlunknown
12466 cat > conftest.$ac_ext <<_LT_EOF
12467 #line 12455 "configure"
12468 #include "confdefs.h"
12470 #if HAVE_DLFCN_H
12471 #include <dlfcn.h>
12472 #endif
12474 #include <stdio.h>
12476 #ifdef RTLD_GLOBAL
12477 # define LT_DLGLOBAL RTLD_GLOBAL
12478 #else
12479 # ifdef DL_GLOBAL
12480 # define LT_DLGLOBAL DL_GLOBAL
12481 # else
12482 # define LT_DLGLOBAL 0
12483 # endif
12484 #endif
12486 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12487 find out it does not work in some platform. */
12488 #ifndef LT_DLLAZY_OR_NOW
12489 # ifdef RTLD_LAZY
12490 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12491 # else
12492 # ifdef DL_LAZY
12493 # define LT_DLLAZY_OR_NOW DL_LAZY
12494 # else
12495 # ifdef RTLD_NOW
12496 # define LT_DLLAZY_OR_NOW RTLD_NOW
12497 # else
12498 # ifdef DL_NOW
12499 # define LT_DLLAZY_OR_NOW DL_NOW
12500 # else
12501 # define LT_DLLAZY_OR_NOW 0
12502 # endif
12503 # endif
12504 # endif
12505 # endif
12506 #endif
12508 /* When -fvisbility=hidden is used, assume the code has been annotated
12509 correspondingly for the symbols needed. */
12510 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12511 void fnord () __attribute__((visibility("default")));
12512 #endif
12514 void fnord () { int i=42; }
12515 int main ()
12517 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12518 int status = $lt_dlunknown;
12520 if (self)
12522 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12523 else
12525 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12526 else puts (dlerror ());
12528 /* dlclose (self); */
12530 else
12531 puts (dlerror ());
12533 return status;
12535 _LT_EOF
12536 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12537 (eval $ac_link) 2>&5
12538 ac_status=$?
12539 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12540 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12541 (./conftest; exit; ) >&5 2>/dev/null
12542 lt_status=$?
12543 case x$lt_status in
12544 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12545 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12546 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12547 esac
12548 else :
12549 # compilation failed
12550 lt_cv_dlopen_self_static=no
12553 rm -fr conftest*
12557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12558 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12561 CPPFLAGS="$save_CPPFLAGS"
12562 LDFLAGS="$save_LDFLAGS"
12563 LIBS="$save_LIBS"
12565 esac
12567 case $lt_cv_dlopen_self in
12568 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12569 *) enable_dlopen_self=unknown ;;
12570 esac
12572 case $lt_cv_dlopen_self_static in
12573 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12574 *) enable_dlopen_self_static=unknown ;;
12575 esac
12594 striplib=
12595 old_striplib=
12596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12597 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12598 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12599 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12600 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12602 $as_echo "yes" >&6; }
12603 else
12604 # FIXME - insert some real tests, host_os isn't really good enough
12605 case $host_os in
12606 darwin*)
12607 if test -n "$STRIP" ; then
12608 striplib="$STRIP -x"
12609 old_striplib="$STRIP -S"
12610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12611 $as_echo "yes" >&6; }
12612 else
12613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12614 $as_echo "no" >&6; }
12618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12619 $as_echo "no" >&6; }
12621 esac
12635 # Report which library types will actually be built
12636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12637 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12639 $as_echo "$can_build_shared" >&6; }
12641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12642 $as_echo_n "checking whether to build shared libraries... " >&6; }
12643 test "$can_build_shared" = "no" && enable_shared=no
12645 # On AIX, shared libraries and static libraries use the same namespace, and
12646 # are all built from PIC.
12647 case $host_os in
12648 aix3*)
12649 test "$enable_shared" = yes && enable_static=no
12650 if test -n "$RANLIB"; then
12651 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12652 postinstall_cmds='$RANLIB $lib'
12656 aix[4-9]*)
12657 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12658 test "$enable_shared" = yes && enable_static=no
12661 esac
12662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12663 $as_echo "$enable_shared" >&6; }
12665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12666 $as_echo_n "checking whether to build static libraries... " >&6; }
12667 # Make sure either enable_shared or enable_static is yes.
12668 test "$enable_shared" = yes || enable_static=yes
12669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12670 $as_echo "$enable_static" >&6; }
12676 ac_ext=c
12677 ac_cpp='$CPP $CPPFLAGS'
12678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12682 CC="$lt_save_CC"
12696 ac_config_commands="$ac_config_commands libtool"
12701 # Only expand once:
12707 case $host in
12708 *-cygwin* | *-mingw*)
12709 # 'host' will be top-level target in the case of a target lib,
12710 # we must compare to with_cross_host to decide if this is a native
12711 # or cross-compiler and select where to install dlls appropriately.
12712 if test -n "$with_cross_host" &&
12713 test x"$with_cross_host" != x"no"; then
12714 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
12715 else
12716 lt_host_flags='-no-undefined -bindir "$(bindir)"';
12720 lt_host_flags=
12722 esac
12728 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
12730 # We need gfortran to compile parts of the library
12731 #AC_PROG_FC(gfortran)
12732 FC="$GFORTRAN"
12733 ac_ext=${ac_fc_srcext-f}
12734 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
12735 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
12736 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
12737 if test -n "$ac_tool_prefix"; then
12738 for ac_prog in gfortran
12740 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12741 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12743 $as_echo_n "checking for $ac_word... " >&6; }
12744 if test "${ac_cv_prog_FC+set}" = set; then :
12745 $as_echo_n "(cached) " >&6
12746 else
12747 if test -n "$FC"; then
12748 ac_cv_prog_FC="$FC" # Let the user override the test.
12749 else
12750 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12751 for as_dir in $PATH
12753 IFS=$as_save_IFS
12754 test -z "$as_dir" && as_dir=.
12755 for ac_exec_ext in '' $ac_executable_extensions; do
12756 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12757 ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
12758 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12759 break 2
12761 done
12762 done
12763 IFS=$as_save_IFS
12767 FC=$ac_cv_prog_FC
12768 if test -n "$FC"; then
12769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FC" >&5
12770 $as_echo "$FC" >&6; }
12771 else
12772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12773 $as_echo "no" >&6; }
12777 test -n "$FC" && break
12778 done
12780 if test -z "$FC"; then
12781 ac_ct_FC=$FC
12782 for ac_prog in gfortran
12784 # Extract the first word of "$ac_prog", so it can be a program name with args.
12785 set dummy $ac_prog; ac_word=$2
12786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12787 $as_echo_n "checking for $ac_word... " >&6; }
12788 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then :
12789 $as_echo_n "(cached) " >&6
12790 else
12791 if test -n "$ac_ct_FC"; then
12792 ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
12793 else
12794 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12795 for as_dir in $PATH
12797 IFS=$as_save_IFS
12798 test -z "$as_dir" && as_dir=.
12799 for ac_exec_ext in '' $ac_executable_extensions; do
12800 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12801 ac_cv_prog_ac_ct_FC="$ac_prog"
12802 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12803 break 2
12805 done
12806 done
12807 IFS=$as_save_IFS
12811 ac_ct_FC=$ac_cv_prog_ac_ct_FC
12812 if test -n "$ac_ct_FC"; then
12813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FC" >&5
12814 $as_echo "$ac_ct_FC" >&6; }
12815 else
12816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12817 $as_echo "no" >&6; }
12821 test -n "$ac_ct_FC" && break
12822 done
12824 if test "x$ac_ct_FC" = x; then
12825 FC=""
12826 else
12827 case $cross_compiling:$ac_tool_warned in
12828 yes:)
12829 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12830 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12831 ac_tool_warned=yes ;;
12832 esac
12833 FC=$ac_ct_FC
12838 # Provide some information about the compiler.
12839 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran compiler version" >&5
12840 set X $ac_compile
12841 ac_compiler=$2
12842 for ac_option in --version -v -V -qversion; do
12843 { { ac_try="$ac_compiler $ac_option >&5"
12844 case "(($ac_try" in
12845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12846 *) ac_try_echo=$ac_try;;
12847 esac
12848 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12849 $as_echo "$ac_try_echo"; } >&5
12850 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12851 ac_status=$?
12852 if test -s conftest.err; then
12853 sed '10a\
12854 ... rest of stderr output deleted ...
12855 10q' conftest.err >conftest.er1
12856 cat conftest.er1 >&5
12857 rm -f conftest.er1 conftest.err
12859 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12860 test $ac_status = 0; }
12861 done
12862 rm -f a.out
12864 # If we don't use `.F' as extension, the preprocessor is not run on the
12865 # input file. (Note that this only needs to work for GNU compilers.)
12866 ac_save_ext=$ac_ext
12867 ac_ext=F
12868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&5
12869 $as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; }
12870 if test "${ac_cv_fc_compiler_gnu+set}" = set; then :
12871 $as_echo_n "(cached) " >&6
12872 else
12873 cat > conftest.$ac_ext <<_ACEOF
12874 program main
12875 #ifndef __GNUC__
12876 choke me
12877 #endif
12880 _ACEOF
12881 if ac_fn_fc_try_compile "$LINENO"; then :
12882 ac_compiler_gnu=yes
12883 else
12884 ac_compiler_gnu=no
12886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12887 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
12890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_compiler_gnu" >&5
12891 $as_echo "$ac_cv_fc_compiler_gnu" >&6; }
12892 ac_ext=$ac_save_ext
12893 ac_test_FCFLAGS=${FCFLAGS+set}
12894 ac_save_FCFLAGS=$FCFLAGS
12895 FCFLAGS=
12896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5
12897 $as_echo_n "checking whether $FC accepts -g... " >&6; }
12898 if test "${ac_cv_prog_fc_g+set}" = set; then :
12899 $as_echo_n "(cached) " >&6
12900 else
12901 FCFLAGS=-g
12902 cat > conftest.$ac_ext <<_ACEOF
12903 program main
12906 _ACEOF
12907 if ac_fn_fc_try_compile "$LINENO"; then :
12908 ac_cv_prog_fc_g=yes
12909 else
12910 ac_cv_prog_fc_g=no
12912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_fc_g" >&5
12916 $as_echo "$ac_cv_prog_fc_g" >&6; }
12917 if test "$ac_test_FCFLAGS" = set; then
12918 FCFLAGS=$ac_save_FCFLAGS
12919 elif test $ac_cv_prog_fc_g = yes; then
12920 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
12921 FCFLAGS="-g -O2"
12922 else
12923 FCFLAGS="-g"
12925 else
12926 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
12927 FCFLAGS="-O2"
12928 else
12929 FCFLAGS=
12933 ac_ext=c
12934 ac_cpp='$CPP $CPPFLAGS'
12935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12939 ac_ext=${ac_fc_srcext-f}
12940 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
12941 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
12942 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
12945 if test -z "$FC" || test "X$FC" = "Xno"; then
12946 _lt_disable_FC=yes
12949 archive_cmds_need_lc_FC=no
12950 allow_undefined_flag_FC=
12951 always_export_symbols_FC=no
12952 archive_expsym_cmds_FC=
12953 export_dynamic_flag_spec_FC=
12954 hardcode_direct_FC=no
12955 hardcode_direct_absolute_FC=no
12956 hardcode_libdir_flag_spec_FC=
12957 hardcode_libdir_flag_spec_ld_FC=
12958 hardcode_libdir_separator_FC=
12959 hardcode_minus_L_FC=no
12960 hardcode_automatic_FC=no
12961 inherit_rpath_FC=no
12962 module_cmds_FC=
12963 module_expsym_cmds_FC=
12964 link_all_deplibs_FC=unknown
12965 old_archive_cmds_FC=$old_archive_cmds
12966 reload_flag_FC=$reload_flag
12967 reload_cmds_FC=$reload_cmds
12968 no_undefined_flag_FC=
12969 whole_archive_flag_spec_FC=
12970 enable_shared_with_static_runtimes_FC=no
12972 # Source file extension for fc test sources.
12973 ac_ext=${ac_fc_srcext-f}
12975 # Object file extension for compiled fc test sources.
12976 objext=o
12977 objext_FC=$objext
12979 # No sense in running all these tests if we already determined that
12980 # the FC compiler isn't working. Some variables (like enable_shared)
12981 # are currently assumed to apply to all compilers on this platform,
12982 # and will be corrupted by setting them based on a non-working compiler.
12983 if test "$_lt_disable_FC" != yes; then
12984 # Code to be used in simple compile tests
12985 lt_simple_compile_test_code="\
12986 subroutine t
12987 return
12991 # Code to be used in simple link tests
12992 lt_simple_link_test_code="\
12993 program t
12997 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13004 # If no C compiler was specified, use CC.
13005 LTCC=${LTCC-"$CC"}
13007 # If no C compiler flags were specified, use CFLAGS.
13008 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
13010 # Allow CC to be a program name with arguments.
13011 compiler=$CC
13014 # save warnings/boilerplate of simple test code
13015 ac_outfile=conftest.$ac_objext
13016 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
13017 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13018 _lt_compiler_boilerplate=`cat conftest.err`
13019 $RM conftest*
13021 ac_outfile=conftest.$ac_objext
13022 echo "$lt_simple_link_test_code" >conftest.$ac_ext
13023 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13024 _lt_linker_boilerplate=`cat conftest.err`
13025 $RM -r conftest*
13028 # Allow CC to be a program name with arguments.
13029 lt_save_CC="$CC"
13030 lt_save_GCC=$GCC
13031 CC=${FC-"f95"}
13032 compiler=$CC
13033 GCC=$ac_cv_fc_compiler_gnu
13035 compiler_FC=$CC
13036 for cc_temp in $compiler""; do
13037 case $cc_temp in
13038 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
13039 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
13040 \-*) ;;
13041 *) break;;
13042 esac
13043 done
13044 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
13047 if test -n "$compiler"; then
13048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13049 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13051 $as_echo "$can_build_shared" >&6; }
13053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13054 $as_echo_n "checking whether to build shared libraries... " >&6; }
13055 test "$can_build_shared" = "no" && enable_shared=no
13057 # On AIX, shared libraries and static libraries use the same namespace, and
13058 # are all built from PIC.
13059 case $host_os in
13060 aix3*)
13061 test "$enable_shared" = yes && enable_static=no
13062 if test -n "$RANLIB"; then
13063 archive_cmds="$archive_cmds~\$RANLIB \$lib"
13064 postinstall_cmds='$RANLIB $lib'
13067 aix[4-9]*)
13068 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
13069 test "$enable_shared" = yes && enable_static=no
13072 esac
13073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13074 $as_echo "$enable_shared" >&6; }
13076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13077 $as_echo_n "checking whether to build static libraries... " >&6; }
13078 # Make sure either enable_shared or enable_static is yes.
13079 test "$enable_shared" = yes || enable_static=yes
13080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13081 $as_echo "$enable_static" >&6; }
13083 GCC_FC="$ac_cv_fc_compiler_gnu"
13084 LD_FC="$LD"
13086 ## CAVEAT EMPTOR:
13087 ## There is no encapsulation within the following macros, do not change
13088 ## the running order or otherwise move them around unless you know exactly
13089 ## what you are doing...
13090 # Dependencies to place before and after the object being linked:
13091 predep_objects_FC=
13092 postdep_objects_FC=
13093 predeps_FC=
13094 postdeps_FC=
13095 compiler_lib_search_path_FC=
13097 cat > conftest.$ac_ext <<_LT_EOF
13098 subroutine foo
13099 implicit none
13100 integer a
13102 return
13104 _LT_EOF
13106 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13107 (eval $ac_compile) 2>&5
13108 ac_status=$?
13109 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13110 test $ac_status = 0; }; then
13111 # Parse the compiler output and extract the necessary
13112 # objects, libraries and library flags.
13114 # Sentinel used to keep track of whether or not we are before
13115 # the conftest object file.
13116 pre_test_object_deps_done=no
13118 for p in `eval "$output_verbose_link_cmd"`; do
13119 case $p in
13121 -L* | -R* | -l*)
13122 # Some compilers place space between "-{L,R}" and the path.
13123 # Remove the space.
13124 if test $p = "-L" ||
13125 test $p = "-R"; then
13126 prev=$p
13127 continue
13128 else
13129 prev=
13132 if test "$pre_test_object_deps_done" = no; then
13133 case $p in
13134 -L* | -R*)
13135 # Internal compiler library paths should come after those
13136 # provided the user. The postdeps already come after the
13137 # user supplied libs so there is no need to process them.
13138 if test -z "$compiler_lib_search_path_FC"; then
13139 compiler_lib_search_path_FC="${prev}${p}"
13140 else
13141 compiler_lib_search_path_FC="${compiler_lib_search_path_FC} ${prev}${p}"
13144 # The "-l" case would never come before the object being
13145 # linked, so don't bother handling this case.
13146 esac
13147 else
13148 if test -z "$postdeps_FC"; then
13149 postdeps_FC="${prev}${p}"
13150 else
13151 postdeps_FC="${postdeps_FC} ${prev}${p}"
13156 *.$objext)
13157 # This assumes that the test object file only shows up
13158 # once in the compiler output.
13159 if test "$p" = "conftest.$objext"; then
13160 pre_test_object_deps_done=yes
13161 continue
13164 if test "$pre_test_object_deps_done" = no; then
13165 if test -z "$predep_objects_FC"; then
13166 predep_objects_FC="$p"
13167 else
13168 predep_objects_FC="$predep_objects_FC $p"
13170 else
13171 if test -z "$postdep_objects_FC"; then
13172 postdep_objects_FC="$p"
13173 else
13174 postdep_objects_FC="$postdep_objects_FC $p"
13179 *) ;; # Ignore the rest.
13181 esac
13182 done
13184 # Clean up.
13185 rm -f a.out a.exe
13186 else
13187 echo "libtool.m4: error: problem compiling FC test program"
13190 $RM -f confest.$objext
13192 # PORTME: override above test on systems where it is broken
13195 case " $postdeps_FC " in
13196 *" -lc "*) archive_cmds_need_lc_FC=no ;;
13197 esac
13198 compiler_lib_search_dirs_FC=
13199 if test -n "${compiler_lib_search_path_FC}"; then
13200 compiler_lib_search_dirs_FC=`echo " ${compiler_lib_search_path_FC}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13233 lt_prog_compiler_wl_FC=
13234 lt_prog_compiler_pic_FC=
13235 lt_prog_compiler_static_FC=
13237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13238 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13240 if test "$GCC" = yes; then
13241 lt_prog_compiler_wl_FC='-Wl,'
13242 lt_prog_compiler_static_FC='-static'
13244 case $host_os in
13245 aix*)
13246 # All AIX code is PIC.
13247 if test "$host_cpu" = ia64; then
13248 # AIX 5 now supports IA64 processor
13249 lt_prog_compiler_static_FC='-Bstatic'
13251 lt_prog_compiler_pic_FC='-fPIC'
13254 amigaos*)
13255 case $host_cpu in
13256 powerpc)
13257 # see comment about AmigaOS4 .so support
13258 lt_prog_compiler_pic_FC='-fPIC'
13260 m68k)
13261 # FIXME: we need at least 68020 code to build shared libraries, but
13262 # adding the `-m68020' flag to GCC prevents building anything better,
13263 # like `-m68040'.
13264 lt_prog_compiler_pic_FC='-m68020 -resident32 -malways-restore-a4'
13266 esac
13269 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13270 # PIC is the default for these OSes.
13273 mingw* | cygwin* | pw32* | os2* | cegcc*)
13274 # This hack is so that the source file can tell whether it is being
13275 # built for inclusion in a dll (and should export symbols for example).
13276 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13277 # (--disable-auto-import) libraries
13278 lt_prog_compiler_pic_FC='-DDLL_EXPORT'
13281 darwin* | rhapsody*)
13282 # PIC is the default on this platform
13283 # Common symbols not allowed in MH_DYLIB files
13284 lt_prog_compiler_pic_FC='-fno-common'
13287 haiku*)
13288 # PIC is the default for Haiku.
13289 # The "-static" flag exists, but is broken.
13290 lt_prog_compiler_static_FC=
13293 hpux*)
13294 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13295 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13296 # sets the default TLS model and affects inlining.
13297 case $host_cpu in
13298 hppa*64*)
13299 # +Z the default
13302 lt_prog_compiler_pic_FC='-fPIC'
13304 esac
13307 interix[3-9]*)
13308 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13309 # Instead, we relocate shared libraries at runtime.
13312 msdosdjgpp*)
13313 # Just because we use GCC doesn't mean we suddenly get shared libraries
13314 # on systems that don't support them.
13315 lt_prog_compiler_can_build_shared_FC=no
13316 enable_shared=no
13319 *nto* | *qnx*)
13320 # QNX uses GNU C++, but need to define -shared option too, otherwise
13321 # it will coredump.
13322 lt_prog_compiler_pic_FC='-fPIC -shared'
13325 sysv4*MP*)
13326 if test -d /usr/nec; then
13327 lt_prog_compiler_pic_FC=-Kconform_pic
13332 lt_prog_compiler_pic_FC='-fPIC'
13334 esac
13336 case $cc_basename in
13337 nvcc*) # Cuda Compiler Driver 2.2
13338 lt_prog_compiler_wl_FC='-Xlinker '
13339 lt_prog_compiler_pic_FC='-Xcompiler -fPIC'
13341 esac
13342 else
13343 # PORTME Check for flag to pass linker flags through the system compiler.
13344 case $host_os in
13345 aix*)
13346 lt_prog_compiler_wl_FC='-Wl,'
13347 if test "$host_cpu" = ia64; then
13348 # AIX 5 now supports IA64 processor
13349 lt_prog_compiler_static_FC='-Bstatic'
13350 else
13351 lt_prog_compiler_static_FC='-bnso -bI:/lib/syscalls.exp'
13355 mingw* | cygwin* | pw32* | os2* | cegcc*)
13356 # This hack is so that the source file can tell whether it is being
13357 # built for inclusion in a dll (and should export symbols for example).
13358 lt_prog_compiler_pic_FC='-DDLL_EXPORT'
13361 hpux9* | hpux10* | hpux11*)
13362 lt_prog_compiler_wl_FC='-Wl,'
13363 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13364 # not for PA HP-UX.
13365 case $host_cpu in
13366 hppa*64*|ia64*)
13367 # +Z the default
13370 lt_prog_compiler_pic_FC='+Z'
13372 esac
13373 # Is there a better lt_prog_compiler_static that works with the bundled CC?
13374 lt_prog_compiler_static_FC='${wl}-a ${wl}archive'
13377 irix5* | irix6* | nonstopux*)
13378 lt_prog_compiler_wl_FC='-Wl,'
13379 # PIC (with -KPIC) is the default.
13380 lt_prog_compiler_static_FC='-non_shared'
13383 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13384 case $cc_basename in
13385 # old Intel for x86_64 which still supported -KPIC.
13386 ecc*)
13387 lt_prog_compiler_wl_FC='-Wl,'
13388 lt_prog_compiler_pic_FC='-KPIC'
13389 lt_prog_compiler_static_FC='-static'
13391 # icc used to be incompatible with GCC.
13392 # ICC 10 doesn't accept -KPIC any more.
13393 icc* | ifort*)
13394 lt_prog_compiler_wl_FC='-Wl,'
13395 lt_prog_compiler_pic_FC='-fPIC'
13396 lt_prog_compiler_static_FC='-static'
13398 # Lahey Fortran 8.1.
13399 lf95*)
13400 lt_prog_compiler_wl_FC='-Wl,'
13401 lt_prog_compiler_pic_FC='--shared'
13402 lt_prog_compiler_static_FC='--static'
13404 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
13405 # Portland Group compilers (*not* the Pentium gcc compiler,
13406 # which looks to be a dead project)
13407 lt_prog_compiler_wl_FC='-Wl,'
13408 lt_prog_compiler_pic_FC='-fpic'
13409 lt_prog_compiler_static_FC='-Bstatic'
13411 ccc*)
13412 lt_prog_compiler_wl_FC='-Wl,'
13413 # All Alpha code is PIC.
13414 lt_prog_compiler_static_FC='-non_shared'
13416 xl* | bgxl* | bgf* | mpixl*)
13417 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
13418 lt_prog_compiler_wl_FC='-Wl,'
13419 lt_prog_compiler_pic_FC='-qpic'
13420 lt_prog_compiler_static_FC='-qstaticlink'
13423 case `$CC -V 2>&1 | sed 5q` in
13424 *Sun\ F* | *Sun*Fortran*)
13425 # Sun Fortran 8.3 passes all unrecognized flags to the linker
13426 lt_prog_compiler_pic_FC='-KPIC'
13427 lt_prog_compiler_static_FC='-Bstatic'
13428 lt_prog_compiler_wl_FC=''
13430 *Sun\ C*)
13431 # Sun C 5.9
13432 lt_prog_compiler_pic_FC='-KPIC'
13433 lt_prog_compiler_static_FC='-Bstatic'
13434 lt_prog_compiler_wl_FC='-Wl,'
13436 esac
13438 esac
13441 newsos6)
13442 lt_prog_compiler_pic_FC='-KPIC'
13443 lt_prog_compiler_static_FC='-Bstatic'
13446 *nto* | *qnx*)
13447 # QNX uses GNU C++, but need to define -shared option too, otherwise
13448 # it will coredump.
13449 lt_prog_compiler_pic_FC='-fPIC -shared'
13452 osf3* | osf4* | osf5*)
13453 lt_prog_compiler_wl_FC='-Wl,'
13454 # All OSF/1 code is PIC.
13455 lt_prog_compiler_static_FC='-non_shared'
13458 rdos*)
13459 lt_prog_compiler_static_FC='-non_shared'
13462 solaris*)
13463 lt_prog_compiler_pic_FC='-KPIC'
13464 lt_prog_compiler_static_FC='-Bstatic'
13465 case $cc_basename in
13466 f77* | f90* | f95*)
13467 lt_prog_compiler_wl_FC='-Qoption ld ';;
13469 lt_prog_compiler_wl_FC='-Wl,';;
13470 esac
13473 sunos4*)
13474 lt_prog_compiler_wl_FC='-Qoption ld '
13475 lt_prog_compiler_pic_FC='-PIC'
13476 lt_prog_compiler_static_FC='-Bstatic'
13479 sysv4 | sysv4.2uw2* | sysv4.3*)
13480 lt_prog_compiler_wl_FC='-Wl,'
13481 lt_prog_compiler_pic_FC='-KPIC'
13482 lt_prog_compiler_static_FC='-Bstatic'
13485 sysv4*MP*)
13486 if test -d /usr/nec ;then
13487 lt_prog_compiler_pic_FC='-Kconform_pic'
13488 lt_prog_compiler_static_FC='-Bstatic'
13492 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13493 lt_prog_compiler_wl_FC='-Wl,'
13494 lt_prog_compiler_pic_FC='-KPIC'
13495 lt_prog_compiler_static_FC='-Bstatic'
13498 unicos*)
13499 lt_prog_compiler_wl_FC='-Wl,'
13500 lt_prog_compiler_can_build_shared_FC=no
13503 uts4*)
13504 lt_prog_compiler_pic_FC='-pic'
13505 lt_prog_compiler_static_FC='-Bstatic'
13509 lt_prog_compiler_can_build_shared_FC=no
13511 esac
13514 case $host_os in
13515 # For platforms which do not support PIC, -DPIC is meaningless:
13516 *djgpp*)
13517 lt_prog_compiler_pic_FC=
13520 lt_prog_compiler_pic_FC="$lt_prog_compiler_pic_FC"
13522 esac
13523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_FC" >&5
13524 $as_echo "$lt_prog_compiler_pic_FC" >&6; }
13529 # Check to make sure the PIC flag actually works.
13531 if test -n "$lt_prog_compiler_pic_FC"; then
13532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_FC works" >&5
13533 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_FC works... " >&6; }
13534 if test "${lt_cv_prog_compiler_pic_works_FC+set}" = set; then :
13535 $as_echo_n "(cached) " >&6
13536 else
13537 lt_cv_prog_compiler_pic_works_FC=no
13538 ac_outfile=conftest.$ac_objext
13539 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13540 lt_compiler_flag="$lt_prog_compiler_pic_FC"
13541 # Insert the option either (1) after the last *FLAGS variable, or
13542 # (2) before a word containing "conftest.", or (3) at the end.
13543 # Note that $ac_compile itself does not contain backslashes and begins
13544 # with a dollar sign (not a hyphen), so the echo should work correctly.
13545 # The option is referenced via a variable to avoid confusing sed.
13546 lt_compile=`echo "$ac_compile" | $SED \
13547 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13548 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13549 -e 's:$: $lt_compiler_flag:'`
13550 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13551 (eval "$lt_compile" 2>conftest.err)
13552 ac_status=$?
13553 cat conftest.err >&5
13554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13555 if (exit $ac_status) && test -s "$ac_outfile"; then
13556 # The compiler can only warn and ignore the option if not recognized
13557 # So say no if there are warnings other than the usual output.
13558 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13559 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13560 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13561 lt_cv_prog_compiler_pic_works_FC=yes
13564 $RM conftest*
13567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_FC" >&5
13568 $as_echo "$lt_cv_prog_compiler_pic_works_FC" >&6; }
13570 if test x"$lt_cv_prog_compiler_pic_works_FC" = xyes; then
13571 case $lt_prog_compiler_pic_FC in
13572 "" | " "*) ;;
13573 *) lt_prog_compiler_pic_FC=" $lt_prog_compiler_pic_FC" ;;
13574 esac
13575 else
13576 lt_prog_compiler_pic_FC=
13577 lt_prog_compiler_can_build_shared_FC=no
13585 # Check to make sure the static flag actually works.
13587 wl=$lt_prog_compiler_wl_FC eval lt_tmp_static_flag=\"$lt_prog_compiler_static_FC\"
13588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13589 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13590 if test "${lt_cv_prog_compiler_static_works_FC+set}" = set; then :
13591 $as_echo_n "(cached) " >&6
13592 else
13593 lt_cv_prog_compiler_static_works_FC=no
13594 save_LDFLAGS="$LDFLAGS"
13595 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13596 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13597 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13598 # The linker can only warn and ignore the option if not recognized
13599 # So say no if there are warnings
13600 if test -s conftest.err; then
13601 # Append any errors to the config.log.
13602 cat conftest.err 1>&5
13603 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13604 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13605 if diff conftest.exp conftest.er2 >/dev/null; then
13606 lt_cv_prog_compiler_static_works_FC=yes
13608 else
13609 lt_cv_prog_compiler_static_works_FC=yes
13612 $RM -r conftest*
13613 LDFLAGS="$save_LDFLAGS"
13616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_FC" >&5
13617 $as_echo "$lt_cv_prog_compiler_static_works_FC" >&6; }
13619 if test x"$lt_cv_prog_compiler_static_works_FC" = xyes; then
13621 else
13622 lt_prog_compiler_static_FC=
13628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13629 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13630 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then :
13631 $as_echo_n "(cached) " >&6
13632 else
13633 lt_cv_prog_compiler_c_o_FC=no
13634 $RM -r conftest 2>/dev/null
13635 mkdir conftest
13636 cd conftest
13637 mkdir out
13638 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13640 lt_compiler_flag="-o out/conftest2.$ac_objext"
13641 # Insert the option either (1) after the last *FLAGS variable, or
13642 # (2) before a word containing "conftest.", or (3) at the end.
13643 # Note that $ac_compile itself does not contain backslashes and begins
13644 # with a dollar sign (not a hyphen), so the echo should work correctly.
13645 lt_compile=`echo "$ac_compile" | $SED \
13646 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13647 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13648 -e 's:$: $lt_compiler_flag:'`
13649 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13650 (eval "$lt_compile" 2>out/conftest.err)
13651 ac_status=$?
13652 cat out/conftest.err >&5
13653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13654 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13655 then
13656 # The compiler can only warn and ignore the option if not recognized
13657 # So say no if there are warnings
13658 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13659 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13660 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13661 lt_cv_prog_compiler_c_o_FC=yes
13664 chmod u+w . 2>&5
13665 $RM conftest*
13666 # SGI C++ compiler will create directory out/ii_files/ for
13667 # template instantiation
13668 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13669 $RM out/* && rmdir out
13670 cd ..
13671 $RM -r conftest
13672 $RM conftest*
13675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
13676 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
13680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13681 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13682 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then :
13683 $as_echo_n "(cached) " >&6
13684 else
13685 lt_cv_prog_compiler_c_o_FC=no
13686 $RM -r conftest 2>/dev/null
13687 mkdir conftest
13688 cd conftest
13689 mkdir out
13690 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13692 lt_compiler_flag="-o out/conftest2.$ac_objext"
13693 # Insert the option either (1) after the last *FLAGS variable, or
13694 # (2) before a word containing "conftest.", or (3) at the end.
13695 # Note that $ac_compile itself does not contain backslashes and begins
13696 # with a dollar sign (not a hyphen), so the echo should work correctly.
13697 lt_compile=`echo "$ac_compile" | $SED \
13698 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13699 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13700 -e 's:$: $lt_compiler_flag:'`
13701 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13702 (eval "$lt_compile" 2>out/conftest.err)
13703 ac_status=$?
13704 cat out/conftest.err >&5
13705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13706 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13707 then
13708 # The compiler can only warn and ignore the option if not recognized
13709 # So say no if there are warnings
13710 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13711 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13712 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13713 lt_cv_prog_compiler_c_o_FC=yes
13716 chmod u+w . 2>&5
13717 $RM conftest*
13718 # SGI C++ compiler will create directory out/ii_files/ for
13719 # template instantiation
13720 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13721 $RM out/* && rmdir out
13722 cd ..
13723 $RM -r conftest
13724 $RM conftest*
13727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
13728 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
13733 hard_links="nottested"
13734 if test "$lt_cv_prog_compiler_c_o_FC" = no && test "$need_locks" != no; then
13735 # do not overwrite the value of need_locks provided by the user
13736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13737 $as_echo_n "checking if we can lock with hard links... " >&6; }
13738 hard_links=yes
13739 $RM conftest*
13740 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13741 touch conftest.a
13742 ln conftest.a conftest.b 2>&5 || hard_links=no
13743 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13745 $as_echo "$hard_links" >&6; }
13746 if test "$hard_links" = no; then
13747 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13748 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13749 need_locks=warn
13751 else
13752 need_locks=no
13757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13758 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13760 runpath_var=
13761 allow_undefined_flag_FC=
13762 always_export_symbols_FC=no
13763 archive_cmds_FC=
13764 archive_expsym_cmds_FC=
13765 compiler_needs_object_FC=no
13766 enable_shared_with_static_runtimes_FC=no
13767 export_dynamic_flag_spec_FC=
13768 export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13769 hardcode_automatic_FC=no
13770 hardcode_direct_FC=no
13771 hardcode_direct_absolute_FC=no
13772 hardcode_libdir_flag_spec_FC=
13773 hardcode_libdir_flag_spec_ld_FC=
13774 hardcode_libdir_separator_FC=
13775 hardcode_minus_L_FC=no
13776 hardcode_shlibpath_var_FC=unsupported
13777 inherit_rpath_FC=no
13778 link_all_deplibs_FC=unknown
13779 module_cmds_FC=
13780 module_expsym_cmds_FC=
13781 old_archive_from_new_cmds_FC=
13782 old_archive_from_expsyms_cmds_FC=
13783 thread_safe_flag_spec_FC=
13784 whole_archive_flag_spec_FC=
13785 # include_expsyms should be a list of space-separated symbols to be *always*
13786 # included in the symbol list
13787 include_expsyms_FC=
13788 # exclude_expsyms can be an extended regexp of symbols to exclude
13789 # it will be wrapped by ` (' and `)$', so one must not match beginning or
13790 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
13791 # as well as any symbol that contains `d'.
13792 exclude_expsyms_FC='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13793 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
13794 # platforms (ab)use it in PIC code, but their linkers get confused if
13795 # the symbol is explicitly referenced. Since portable code cannot
13796 # rely on this symbol name, it's probably fine to never include it in
13797 # preloaded symbol tables.
13798 # Exclude shared library initialization/finalization symbols.
13799 extract_expsyms_cmds=
13801 case $host_os in
13802 cygwin* | mingw* | pw32* | cegcc*)
13803 # FIXME: the MSVC++ port hasn't been tested in a loooong time
13804 # When not using gcc, we currently assume that we are using
13805 # Microsoft Visual C++.
13806 if test "$GCC" != yes; then
13807 with_gnu_ld=no
13810 interix*)
13811 # we just hope/assume this is gcc and not c89 (= MSVC++)
13812 with_gnu_ld=yes
13814 openbsd*)
13815 with_gnu_ld=no
13817 esac
13819 ld_shlibs_FC=yes
13821 # On some targets, GNU ld is compatible enough with the native linker
13822 # that we're better off using the native interface for both.
13823 lt_use_gnu_ld_interface=no
13824 if test "$with_gnu_ld" = yes; then
13825 case $host_os in
13826 aix*)
13827 # The AIX port of GNU ld has always aspired to compatibility
13828 # with the native linker. However, as the warning in the GNU ld
13829 # block says, versions before 2.19.5* couldn't really create working
13830 # shared libraries, regardless of the interface used.
13831 case `$LD -v 2>&1` in
13832 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
13833 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
13834 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
13836 lt_use_gnu_ld_interface=yes
13838 esac
13841 lt_use_gnu_ld_interface=yes
13843 esac
13846 if test "$lt_use_gnu_ld_interface" = yes; then
13847 # If archive_cmds runs LD, not CC, wlarc should be empty
13848 wlarc='${wl}'
13850 # Set some defaults for GNU ld with shared library support. These
13851 # are reset later if shared libraries are not supported. Putting them
13852 # here allows them to be overridden if necessary.
13853 runpath_var=LD_RUN_PATH
13854 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
13855 export_dynamic_flag_spec_FC='${wl}--export-dynamic'
13856 # ancient GNU ld didn't support --whole-archive et. al.
13857 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
13858 whole_archive_flag_spec_FC="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13859 else
13860 whole_archive_flag_spec_FC=
13862 supports_anon_versioning=no
13863 case `$LD -v 2>&1` in
13864 *GNU\ gold*) supports_anon_versioning=yes ;;
13865 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
13866 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
13867 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
13868 *\ 2.11.*) ;; # other 2.11 versions
13869 *) supports_anon_versioning=yes ;;
13870 esac
13872 # See if GNU ld supports shared libraries.
13873 case $host_os in
13874 aix[3-9]*)
13875 # On AIX/PPC, the GNU linker is very broken
13876 if test "$host_cpu" != ia64; then
13877 ld_shlibs_FC=no
13878 cat <<_LT_EOF 1>&2
13880 *** Warning: the GNU linker, at least up to release 2.19, is reported
13881 *** to be unable to reliably create shared libraries on AIX.
13882 *** Therefore, libtool is disabling shared libraries support. If you
13883 *** really care for shared libraries, you may want to install binutils
13884 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
13885 *** You will then need to restart the configuration process.
13887 _LT_EOF
13891 amigaos*)
13892 case $host_cpu in
13893 powerpc)
13894 # see comment about AmigaOS4 .so support
13895 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13896 archive_expsym_cmds_FC=''
13898 m68k)
13899 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)'
13900 hardcode_libdir_flag_spec_FC='-L$libdir'
13901 hardcode_minus_L_FC=yes
13903 esac
13906 beos*)
13907 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13908 allow_undefined_flag_FC=unsupported
13909 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13910 # support --undefined. This deserves some investigation. FIXME
13911 archive_cmds_FC='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13912 else
13913 ld_shlibs_FC=no
13917 cygwin* | mingw* | pw32* | cegcc*)
13918 # _LT_TAGVAR(hardcode_libdir_flag_spec, FC) is actually meaningless,
13919 # as there is no search path for DLLs.
13920 hardcode_libdir_flag_spec_FC='-L$libdir'
13921 export_dynamic_flag_spec_FC='${wl}--export-all-symbols'
13922 allow_undefined_flag_FC=unsupported
13923 always_export_symbols_FC=no
13924 enable_shared_with_static_runtimes_FC=yes
13925 export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
13927 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
13928 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13929 # If the export-symbols file already is a .def file (1st line
13930 # is EXPORTS), use it as is; otherwise, prepend...
13931 archive_expsym_cmds_FC='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13932 cp $export_symbols $output_objdir/$soname.def;
13933 else
13934 echo EXPORTS > $output_objdir/$soname.def;
13935 cat $export_symbols >> $output_objdir/$soname.def;
13937 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13938 else
13939 ld_shlibs_FC=no
13943 haiku*)
13944 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13945 link_all_deplibs_FC=yes
13948 interix[3-9]*)
13949 hardcode_direct_FC=no
13950 hardcode_shlibpath_var_FC=no
13951 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
13952 export_dynamic_flag_spec_FC='${wl}-E'
13953 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13954 # Instead, shared libraries are loaded at an image base (0x10000000 by
13955 # default) and relocated if they conflict, which is a slow very memory
13956 # consuming and fragmenting process. To avoid this, we pick a random,
13957 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13958 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13959 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'
13960 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'
13963 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
13964 tmp_diet=no
13965 if test "$host_os" = linux-dietlibc; then
13966 case $cc_basename in
13967 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
13968 esac
13970 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
13971 && test "$tmp_diet" = no
13972 then
13973 tmp_addflag=
13974 tmp_sharedflag='-shared'
13975 case $cc_basename,$host_cpu in
13976 pgcc*) # Portland Group C compiler
13977 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'
13978 tmp_addflag=' $pic_flag'
13980 pgf77* | pgf90* | pgf95* | pgfortran*)
13981 # Portland Group f77 and f90 compilers
13982 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'
13983 tmp_addflag=' $pic_flag -Mnomain' ;;
13984 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
13985 tmp_addflag=' -i_dynamic' ;;
13986 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
13987 tmp_addflag=' -i_dynamic -nofor_main' ;;
13988 ifc* | ifort*) # Intel Fortran compiler
13989 tmp_addflag=' -nofor_main' ;;
13990 lf95*) # Lahey Fortran 8.1
13991 whole_archive_flag_spec_FC=
13992 tmp_sharedflag='--shared' ;;
13993 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
13994 tmp_sharedflag='-qmkshrobj'
13995 tmp_addflag= ;;
13996 nvcc*) # Cuda Compiler Driver 2.2
13997 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'
13998 compiler_needs_object_FC=yes
14000 esac
14001 case `$CC -V 2>&1 | sed 5q` in
14002 *Sun\ C*) # Sun C 5.9
14003 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'
14004 compiler_needs_object_FC=yes
14005 tmp_sharedflag='-G' ;;
14006 *Sun\ F*) # Sun Fortran 8.3
14007 tmp_sharedflag='-G' ;;
14008 esac
14009 archive_cmds_FC='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14011 if test "x$supports_anon_versioning" = xyes; then
14012 archive_expsym_cmds_FC='echo "{ global:" > $output_objdir/$libname.ver~
14013 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14014 echo "local: *; };" >> $output_objdir/$libname.ver~
14015 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14018 case $cc_basename in
14019 xlf* | bgf* | bgxlf* | mpixlf*)
14020 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
14021 whole_archive_flag_spec_FC='--whole-archive$convenience --no-whole-archive'
14022 hardcode_libdir_flag_spec_FC=
14023 hardcode_libdir_flag_spec_ld_FC='-rpath $libdir'
14024 archive_cmds_FC='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
14025 if test "x$supports_anon_versioning" = xyes; then
14026 archive_expsym_cmds_FC='echo "{ global:" > $output_objdir/$libname.ver~
14027 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14028 echo "local: *; };" >> $output_objdir/$libname.ver~
14029 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
14032 esac
14033 else
14034 ld_shlibs_FC=no
14038 netbsd*)
14039 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14040 archive_cmds_FC='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14041 wlarc=
14042 else
14043 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14044 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14048 solaris*)
14049 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
14050 ld_shlibs_FC=no
14051 cat <<_LT_EOF 1>&2
14053 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
14054 *** create shared libraries on Solaris systems. Therefore, libtool
14055 *** is disabling shared libraries support. We urge you to upgrade GNU
14056 *** binutils to release 2.9.1 or newer. Another option is to modify
14057 *** your PATH or compiler configuration so that the native linker is
14058 *** used, and then restart.
14060 _LT_EOF
14061 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14062 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14063 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14064 else
14065 ld_shlibs_FC=no
14069 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
14070 case `$LD -v 2>&1` in
14071 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
14072 ld_shlibs_FC=no
14073 cat <<_LT_EOF 1>&2
14075 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
14076 *** reliably create shared libraries on SCO systems. Therefore, libtool
14077 *** is disabling shared libraries support. We urge you to upgrade GNU
14078 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
14079 *** your PATH or compiler configuration so that the native linker is
14080 *** used, and then restart.
14082 _LT_EOF
14085 # For security reasons, it is highly recommended that you always
14086 # use absolute paths for naming shared libraries, and exclude the
14087 # DT_RUNPATH tag from executables and libraries. But doing so
14088 # requires that you compile everything twice, which is a pain.
14089 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14090 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
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
14100 sunos4*)
14101 archive_cmds_FC='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14102 wlarc=
14103 hardcode_direct_FC=yes
14104 hardcode_shlibpath_var_FC=no
14108 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14109 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14110 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14111 else
14112 ld_shlibs_FC=no
14115 esac
14117 if test "$ld_shlibs_FC" = no; then
14118 runpath_var=
14119 hardcode_libdir_flag_spec_FC=
14120 export_dynamic_flag_spec_FC=
14121 whole_archive_flag_spec_FC=
14123 else
14124 # PORTME fill in a description of your system's linker (not GNU ld)
14125 case $host_os in
14126 aix3*)
14127 allow_undefined_flag_FC=unsupported
14128 always_export_symbols_FC=yes
14129 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'
14130 # Note: this linker hardcodes the directories in LIBPATH if there
14131 # are no directories specified by -L.
14132 hardcode_minus_L_FC=yes
14133 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14134 # Neither direct hardcoding nor static linking is supported with a
14135 # broken collect2.
14136 hardcode_direct_FC=unsupported
14140 aix[4-9]*)
14141 if test "$host_cpu" = ia64; then
14142 # On IA64, the linker does run time linking by default, so we don't
14143 # have to do anything special.
14144 aix_use_runtimelinking=no
14145 exp_sym_flag='-Bexport'
14146 no_entry_flag=""
14147 else
14148 # If we're using GNU nm, then we don't want the "-C" option.
14149 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14150 # Also, AIX nm treats weak defined symbols like other global
14151 # defined symbols, whereas GNU nm marks them as "W".
14152 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14153 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'
14154 else
14155 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'
14157 aix_use_runtimelinking=no
14159 # Test if we are trying to use run time linking or normal
14160 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14161 # need to do runtime linking.
14162 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
14163 for ld_flag in $LDFLAGS; do
14164 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
14165 aix_use_runtimelinking=yes
14166 break
14168 done
14170 esac
14172 exp_sym_flag='-bexport'
14173 no_entry_flag='-bnoentry'
14176 # When large executables or shared objects are built, AIX ld can
14177 # have problems creating the table of contents. If linking a library
14178 # or program results in "error TOC overflow" add -mminimal-toc to
14179 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14180 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14182 archive_cmds_FC=''
14183 hardcode_direct_FC=yes
14184 hardcode_direct_absolute_FC=yes
14185 hardcode_libdir_separator_FC=':'
14186 link_all_deplibs_FC=yes
14187 file_list_spec_FC='${wl}-f,'
14189 if test "$GCC" = yes; then
14190 case $host_os in aix4.[012]|aix4.[012].*)
14191 # We only want to do this on AIX 4.2 and lower, the check
14192 # below for broken collect2 doesn't work under 4.3+
14193 collect2name=`${CC} -print-prog-name=collect2`
14194 if test -f "$collect2name" &&
14195 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
14196 then
14197 # We have reworked collect2
14199 else
14200 # We have old collect2
14201 hardcode_direct_FC=unsupported
14202 # It fails to find uninstalled libraries when the uninstalled
14203 # path is not listed in the libpath. Setting hardcode_minus_L
14204 # to unsupported forces relinking
14205 hardcode_minus_L_FC=yes
14206 hardcode_libdir_flag_spec_FC='-L$libdir'
14207 hardcode_libdir_separator_FC=
14210 esac
14211 shared_flag='-shared'
14212 if test "$aix_use_runtimelinking" = yes; then
14213 shared_flag="$shared_flag "'${wl}-G'
14215 else
14216 # not using gcc
14217 if test "$host_cpu" = ia64; then
14218 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14219 # chokes on -Wl,-G. The following line is correct:
14220 shared_flag='-G'
14221 else
14222 if test "$aix_use_runtimelinking" = yes; then
14223 shared_flag='${wl}-G'
14224 else
14225 shared_flag='${wl}-bM:SRE'
14230 export_dynamic_flag_spec_FC='${wl}-bexpall'
14231 # It seems that -bexpall does not export symbols beginning with
14232 # underscore (_), so it is better to generate a list of symbols to export.
14233 always_export_symbols_FC=yes
14234 if test "$aix_use_runtimelinking" = yes; then
14235 # Warning - without using the other runtime loading flags (-brtl),
14236 # -berok will link without error, but may produce a broken library.
14237 allow_undefined_flag_FC='-berok'
14238 # Determine the default libpath from the value encoded in an
14239 # empty executable.
14240 if test x$gcc_no_link = xyes; then
14241 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14243 cat > conftest.$ac_ext <<_ACEOF
14244 program main
14247 _ACEOF
14248 if ac_fn_fc_try_link "$LINENO"; then :
14250 lt_aix_libpath_sed='
14251 /Import File Strings/,/^$/ {
14252 /^0/ {
14253 s/^0 *\(.*\)$/\1/
14257 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14258 # Check for a 64-bit object if we didn't find anything.
14259 if test -z "$aix_libpath"; then
14260 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14263 rm -f core conftest.err conftest.$ac_objext \
14264 conftest$ac_exeext conftest.$ac_ext
14265 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14267 hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath"
14268 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"
14269 else
14270 if test "$host_cpu" = ia64; then
14271 hardcode_libdir_flag_spec_FC='${wl}-R $libdir:/usr/lib:/lib'
14272 allow_undefined_flag_FC="-z nodefs"
14273 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"
14274 else
14275 # Determine the default libpath from the value encoded in an
14276 # empty executable.
14277 if test x$gcc_no_link = xyes; then
14278 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14280 cat > conftest.$ac_ext <<_ACEOF
14281 program main
14284 _ACEOF
14285 if ac_fn_fc_try_link "$LINENO"; then :
14287 lt_aix_libpath_sed='
14288 /Import File Strings/,/^$/ {
14289 /^0/ {
14290 s/^0 *\(.*\)$/\1/
14294 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14295 # Check for a 64-bit object if we didn't find anything.
14296 if test -z "$aix_libpath"; then
14297 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14300 rm -f core conftest.err conftest.$ac_objext \
14301 conftest$ac_exeext conftest.$ac_ext
14302 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14304 hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath"
14305 # Warning - without using the other run time loading flags,
14306 # -berok will link without error, but may produce a broken library.
14307 no_undefined_flag_FC=' ${wl}-bernotok'
14308 allow_undefined_flag_FC=' ${wl}-berok'
14309 if test "$with_gnu_ld" = yes; then
14310 # We only use this code for GNU lds that support --whole-archive.
14311 whole_archive_flag_spec_FC='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14312 else
14313 # Exported symbols can be pulled into shared objects from archives
14314 whole_archive_flag_spec_FC='$convenience'
14316 archive_cmds_need_lc_FC=yes
14317 # This is similar to how AIX traditionally builds its shared libraries.
14318 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'
14323 amigaos*)
14324 case $host_cpu in
14325 powerpc)
14326 # see comment about AmigaOS4 .so support
14327 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14328 archive_expsym_cmds_FC=''
14330 m68k)
14331 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)'
14332 hardcode_libdir_flag_spec_FC='-L$libdir'
14333 hardcode_minus_L_FC=yes
14335 esac
14338 bsdi[45]*)
14339 export_dynamic_flag_spec_FC=-rdynamic
14342 cygwin* | mingw* | pw32* | cegcc*)
14343 # When not using gcc, we currently assume that we are using
14344 # Microsoft Visual C++.
14345 # hardcode_libdir_flag_spec is actually meaningless, as there is
14346 # no search path for DLLs.
14347 hardcode_libdir_flag_spec_FC=' '
14348 allow_undefined_flag_FC=unsupported
14349 # Tell ltmain to make .lib files, not .a files.
14350 libext=lib
14351 # Tell ltmain to make .dll files, not .so files.
14352 shrext_cmds=".dll"
14353 # FIXME: Setting linknames here is a bad hack.
14354 archive_cmds_FC='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
14355 # The linker will automatically build a .lib file if we build a DLL.
14356 old_archive_from_new_cmds_FC='true'
14357 # FIXME: Should let the user specify the lib program.
14358 old_archive_cmds_FC='lib -OUT:$oldlib$oldobjs$old_deplibs'
14359 fix_srcfile_path_FC='`cygpath -w "$srcfile"`'
14360 enable_shared_with_static_runtimes_FC=yes
14363 darwin* | rhapsody*)
14366 archive_cmds_need_lc_FC=no
14367 hardcode_direct_FC=no
14368 hardcode_automatic_FC=yes
14369 hardcode_shlibpath_var_FC=unsupported
14370 if test "$lt_cv_ld_force_load" = "yes"; then
14371 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\"`'
14372 else
14373 whole_archive_flag_spec_FC=''
14375 link_all_deplibs_FC=yes
14376 allow_undefined_flag_FC="$_lt_dar_allow_undefined"
14377 case $cc_basename in
14378 ifort*) _lt_dar_can_shared=yes ;;
14379 *) _lt_dar_can_shared=$GCC ;;
14380 esac
14381 if test "$_lt_dar_can_shared" = "yes"; then
14382 output_verbose_link_cmd=func_echo_all
14383 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}"
14384 module_cmds_FC="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
14385 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}"
14386 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}"
14388 else
14389 ld_shlibs_FC=no
14394 dgux*)
14395 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14396 hardcode_libdir_flag_spec_FC='-L$libdir'
14397 hardcode_shlibpath_var_FC=no
14400 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
14401 # support. Future versions do this automatically, but an explicit c++rt0.o
14402 # does not break anything, and helps significantly (at the cost of a little
14403 # extra space).
14404 freebsd2.2*)
14405 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
14406 hardcode_libdir_flag_spec_FC='-R$libdir'
14407 hardcode_direct_FC=yes
14408 hardcode_shlibpath_var_FC=no
14411 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
14412 freebsd2.*)
14413 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14414 hardcode_direct_FC=yes
14415 hardcode_minus_L_FC=yes
14416 hardcode_shlibpath_var_FC=no
14419 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14420 freebsd* | dragonfly*)
14421 archive_cmds_FC='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14422 hardcode_libdir_flag_spec_FC='-R$libdir'
14423 hardcode_direct_FC=yes
14424 hardcode_shlibpath_var_FC=no
14427 hpux9*)
14428 if test "$GCC" = yes; then
14429 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'
14430 else
14431 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'
14433 hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
14434 hardcode_libdir_separator_FC=:
14435 hardcode_direct_FC=yes
14437 # hardcode_minus_L: Not really in the search PATH,
14438 # but as the default location of the library.
14439 hardcode_minus_L_FC=yes
14440 export_dynamic_flag_spec_FC='${wl}-E'
14443 hpux10*)
14444 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
14445 archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14446 else
14447 archive_cmds_FC='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14449 if test "$with_gnu_ld" = no; then
14450 hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
14451 hardcode_libdir_flag_spec_ld_FC='+b $libdir'
14452 hardcode_libdir_separator_FC=:
14453 hardcode_direct_FC=yes
14454 hardcode_direct_absolute_FC=yes
14455 export_dynamic_flag_spec_FC='${wl}-E'
14456 # hardcode_minus_L: Not really in the search PATH,
14457 # but as the default location of the library.
14458 hardcode_minus_L_FC=yes
14462 hpux11*)
14463 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
14464 case $host_cpu in
14465 hppa*64*)
14466 archive_cmds_FC='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14468 ia64*)
14469 archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14472 archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14474 esac
14475 else
14476 case $host_cpu in
14477 hppa*64*)
14478 archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14480 ia64*)
14481 archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14484 archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14486 esac
14488 if test "$with_gnu_ld" = no; then
14489 hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
14490 hardcode_libdir_separator_FC=:
14492 case $host_cpu in
14493 hppa*64*|ia64*)
14494 hardcode_direct_FC=no
14495 hardcode_shlibpath_var_FC=no
14498 hardcode_direct_FC=yes
14499 hardcode_direct_absolute_FC=yes
14500 export_dynamic_flag_spec_FC='${wl}-E'
14502 # hardcode_minus_L: Not really in the search PATH,
14503 # but as the default location of the library.
14504 hardcode_minus_L_FC=yes
14506 esac
14510 irix5* | irix6* | nonstopux*)
14511 if test "$GCC" = yes; then
14512 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'
14513 # Try to use the -exported_symbol ld option, if it does not
14514 # work, assume that -exports_file does not work either and
14515 # implicitly export all symbols.
14516 save_LDFLAGS="$LDFLAGS"
14517 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
14518 if test x$gcc_no_link = xyes; then
14519 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14521 cat > conftest.$ac_ext <<_ACEOF
14522 int foo(void) {}
14523 _ACEOF
14524 if ac_fn_fc_try_link "$LINENO"; then :
14525 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'
14528 rm -f core conftest.err conftest.$ac_objext \
14529 conftest$ac_exeext conftest.$ac_ext
14530 LDFLAGS="$save_LDFLAGS"
14531 else
14532 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'
14533 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'
14535 archive_cmds_need_lc_FC='no'
14536 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
14537 hardcode_libdir_separator_FC=:
14538 inherit_rpath_FC=yes
14539 link_all_deplibs_FC=yes
14542 netbsd*)
14543 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14544 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
14545 else
14546 archive_cmds_FC='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
14548 hardcode_libdir_flag_spec_FC='-R$libdir'
14549 hardcode_direct_FC=yes
14550 hardcode_shlibpath_var_FC=no
14553 newsos6)
14554 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14555 hardcode_direct_FC=yes
14556 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
14557 hardcode_libdir_separator_FC=:
14558 hardcode_shlibpath_var_FC=no
14561 *nto* | *qnx*)
14564 openbsd*)
14565 if test -f /usr/libexec/ld.so; then
14566 hardcode_direct_FC=yes
14567 hardcode_shlibpath_var_FC=no
14568 hardcode_direct_absolute_FC=yes
14569 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14570 archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14571 archive_expsym_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
14572 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
14573 export_dynamic_flag_spec_FC='${wl}-E'
14574 else
14575 case $host_os in
14576 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
14577 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14578 hardcode_libdir_flag_spec_FC='-R$libdir'
14581 archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14582 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
14584 esac
14586 else
14587 ld_shlibs_FC=no
14591 os2*)
14592 hardcode_libdir_flag_spec_FC='-L$libdir'
14593 hardcode_minus_L_FC=yes
14594 allow_undefined_flag_FC=unsupported
14595 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'
14596 old_archive_from_new_cmds_FC='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
14599 osf3*)
14600 if test "$GCC" = yes; then
14601 allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*'
14602 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'
14603 else
14604 allow_undefined_flag_FC=' -expect_unresolved \*'
14605 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'
14607 archive_cmds_need_lc_FC='no'
14608 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
14609 hardcode_libdir_separator_FC=:
14612 osf4* | osf5*) # as osf3* with the addition of -msym flag
14613 if test "$GCC" = yes; then
14614 allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*'
14615 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'
14616 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
14617 else
14618 allow_undefined_flag_FC=' -expect_unresolved \*'
14619 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'
14620 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~
14621 $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'
14623 # Both c and cxx compiler support -rpath directly
14624 hardcode_libdir_flag_spec_FC='-rpath $libdir'
14626 archive_cmds_need_lc_FC='no'
14627 hardcode_libdir_separator_FC=:
14630 solaris*)
14631 no_undefined_flag_FC=' -z defs'
14632 if test "$GCC" = yes; then
14633 wlarc='${wl}'
14634 archive_cmds_FC='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14635 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14636 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
14637 else
14638 case `$CC -V 2>&1` in
14639 *"Compilers 5.0"*)
14640 wlarc=''
14641 archive_cmds_FC='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
14642 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14643 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
14646 wlarc='${wl}'
14647 archive_cmds_FC='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
14648 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14649 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
14651 esac
14653 hardcode_libdir_flag_spec_FC='-R$libdir'
14654 hardcode_shlibpath_var_FC=no
14655 case $host_os in
14656 solaris2.[0-5] | solaris2.[0-5].*) ;;
14658 # The compiler driver will combine and reorder linker options,
14659 # but understands `-z linker_flag'. GCC discards it without `$wl',
14660 # but is careful enough not to reorder.
14661 # Supported since Solaris 2.6 (maybe 2.5.1?)
14662 if test "$GCC" = yes; then
14663 whole_archive_flag_spec_FC='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14664 else
14665 whole_archive_flag_spec_FC='-z allextract$convenience -z defaultextract'
14668 esac
14669 link_all_deplibs_FC=yes
14672 sunos4*)
14673 if test "x$host_vendor" = xsequent; then
14674 # Use $CC to link under sequent, because it throws in some extra .o
14675 # files that make .init and .fini sections work.
14676 archive_cmds_FC='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
14677 else
14678 archive_cmds_FC='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
14680 hardcode_libdir_flag_spec_FC='-L$libdir'
14681 hardcode_direct_FC=yes
14682 hardcode_minus_L_FC=yes
14683 hardcode_shlibpath_var_FC=no
14686 sysv4)
14687 case $host_vendor in
14688 sni)
14689 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14690 hardcode_direct_FC=yes # is this really true???
14692 siemens)
14693 ## LD is ld it makes a PLAMLIB
14694 ## CC just makes a GrossModule.
14695 archive_cmds_FC='$LD -G -o $lib $libobjs $deplibs $linker_flags'
14696 reload_cmds_FC='$CC -r -o $output$reload_objs'
14697 hardcode_direct_FC=no
14699 motorola)
14700 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14701 hardcode_direct_FC=no #Motorola manual says yes, but my tests say they lie
14703 esac
14704 runpath_var='LD_RUN_PATH'
14705 hardcode_shlibpath_var_FC=no
14708 sysv4.3*)
14709 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14710 hardcode_shlibpath_var_FC=no
14711 export_dynamic_flag_spec_FC='-Bexport'
14714 sysv4*MP*)
14715 if test -d /usr/nec; then
14716 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14717 hardcode_shlibpath_var_FC=no
14718 runpath_var=LD_RUN_PATH
14719 hardcode_runpath_var=yes
14720 ld_shlibs_FC=yes
14724 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
14725 no_undefined_flag_FC='${wl}-z,text'
14726 archive_cmds_need_lc_FC=no
14727 hardcode_shlibpath_var_FC=no
14728 runpath_var='LD_RUN_PATH'
14730 if test "$GCC" = yes; then
14731 archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14732 archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14733 else
14734 archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14735 archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14739 sysv5* | sco3.2v5* | sco5v6*)
14740 # Note: We can NOT use -z defs as we might desire, because we do not
14741 # link with -lc, and that would cause any symbols used from libc to
14742 # always be unresolved, which means just about no library would
14743 # ever link correctly. If we're not using GNU ld we use -z text
14744 # though, which does catch some bad symbols but isn't as heavy-handed
14745 # as -z defs.
14746 no_undefined_flag_FC='${wl}-z,text'
14747 allow_undefined_flag_FC='${wl}-z,nodefs'
14748 archive_cmds_need_lc_FC=no
14749 hardcode_shlibpath_var_FC=no
14750 hardcode_libdir_flag_spec_FC='${wl}-R,$libdir'
14751 hardcode_libdir_separator_FC=':'
14752 link_all_deplibs_FC=yes
14753 export_dynamic_flag_spec_FC='${wl}-Bexport'
14754 runpath_var='LD_RUN_PATH'
14756 if test "$GCC" = yes; then
14757 archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14758 archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14759 else
14760 archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14761 archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14765 uts4*)
14766 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14767 hardcode_libdir_flag_spec_FC='-L$libdir'
14768 hardcode_shlibpath_var_FC=no
14772 ld_shlibs_FC=no
14774 esac
14776 if test x$host_vendor = xsni; then
14777 case $host in
14778 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
14779 export_dynamic_flag_spec_FC='${wl}-Blargedynsym'
14781 esac
14785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_FC" >&5
14786 $as_echo "$ld_shlibs_FC" >&6; }
14787 test "$ld_shlibs_FC" = no && can_build_shared=no
14789 with_gnu_ld_FC=$with_gnu_ld
14797 # Do we need to explicitly link libc?
14799 case "x$archive_cmds_need_lc_FC" in
14800 x|xyes)
14801 # Assume -lc should be added
14802 archive_cmds_need_lc_FC=yes
14804 if test "$enable_shared" = yes && test "$GCC" = yes; then
14805 case $archive_cmds_FC in
14806 *'~'*)
14807 # FIXME: we may have to deal with multi-command sequences.
14809 '$CC '*)
14810 # Test whether the compiler implicitly links with -lc since on some
14811 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14812 # to ld, don't add -lc before -lgcc.
14813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14814 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14815 if test "${lt_cv_archive_cmds_need_lc_FC+set}" = set; then :
14816 $as_echo_n "(cached) " >&6
14817 else
14818 $RM conftest*
14819 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14821 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14822 (eval $ac_compile) 2>&5
14823 ac_status=$?
14824 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14825 test $ac_status = 0; } 2>conftest.err; then
14826 soname=conftest
14827 lib=conftest
14828 libobjs=conftest.$ac_objext
14829 deplibs=
14830 wl=$lt_prog_compiler_wl_FC
14831 pic_flag=$lt_prog_compiler_pic_FC
14832 compiler_flags=-v
14833 linker_flags=-v
14834 verstring=
14835 output_objdir=.
14836 libname=conftest
14837 lt_save_allow_undefined_flag=$allow_undefined_flag_FC
14838 allow_undefined_flag_FC=
14839 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14840 (eval $archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14841 ac_status=$?
14842 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14843 test $ac_status = 0; }
14844 then
14845 lt_cv_archive_cmds_need_lc_FC=no
14846 else
14847 lt_cv_archive_cmds_need_lc_FC=yes
14849 allow_undefined_flag_FC=$lt_save_allow_undefined_flag
14850 else
14851 cat conftest.err 1>&5
14853 $RM conftest*
14856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_FC" >&5
14857 $as_echo "$lt_cv_archive_cmds_need_lc_FC" >&6; }
14858 archive_cmds_need_lc_FC=$lt_cv_archive_cmds_need_lc_FC
14860 esac
14863 esac
14928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14929 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14931 library_names_spec=
14932 libname_spec='lib$name'
14933 soname_spec=
14934 shrext_cmds=".so"
14935 postinstall_cmds=
14936 postuninstall_cmds=
14937 finish_cmds=
14938 finish_eval=
14939 shlibpath_var=
14940 shlibpath_overrides_runpath=unknown
14941 version_type=none
14942 dynamic_linker="$host_os ld.so"
14943 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14944 need_lib_prefix=unknown
14945 hardcode_into_libs=no
14947 # when you set need_version to no, make sure it does not cause -set_version
14948 # flags to be left without arguments
14949 need_version=unknown
14951 case $host_os in
14952 aix3*)
14953 version_type=linux
14954 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14955 shlibpath_var=LIBPATH
14957 # AIX 3 has no versioning support, so we append a major version to the name.
14958 soname_spec='${libname}${release}${shared_ext}$major'
14961 aix[4-9]*)
14962 version_type=linux
14963 need_lib_prefix=no
14964 need_version=no
14965 hardcode_into_libs=yes
14966 if test "$host_cpu" = ia64; then
14967 # AIX 5 supports IA64
14968 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14969 shlibpath_var=LD_LIBRARY_PATH
14970 else
14971 # With GCC up to 2.95.x, collect2 would create an import file
14972 # for dependence libraries. The import file would start with
14973 # the line `#! .'. This would cause the generated library to
14974 # depend on `.', always an invalid library. This was fixed in
14975 # development snapshots of GCC prior to 3.0.
14976 case $host_os in
14977 aix4 | aix4.[01] | aix4.[01].*)
14978 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14979 echo ' yes '
14980 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14982 else
14983 can_build_shared=no
14986 esac
14987 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14988 # soname into executable. Probably we can add versioning support to
14989 # collect2, so additional links can be useful in future.
14990 if test "$aix_use_runtimelinking" = yes; then
14991 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14992 # instead of lib<name>.a to let people know that these are not
14993 # typical AIX shared libraries.
14994 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14995 else
14996 # We preserve .a as extension for shared libraries through AIX4.2
14997 # and later when we are not doing run time linking.
14998 library_names_spec='${libname}${release}.a $libname.a'
14999 soname_spec='${libname}${release}${shared_ext}$major'
15001 shlibpath_var=LIBPATH
15005 amigaos*)
15006 case $host_cpu in
15007 powerpc)
15008 # Since July 2007 AmigaOS4 officially supports .so libraries.
15009 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15010 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15012 m68k)
15013 library_names_spec='$libname.ixlibrary $libname.a'
15014 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15015 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'
15017 esac
15020 beos*)
15021 library_names_spec='${libname}${shared_ext}'
15022 dynamic_linker="$host_os ld.so"
15023 shlibpath_var=LIBRARY_PATH
15026 bsdi[45]*)
15027 version_type=linux
15028 need_version=no
15029 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15030 soname_spec='${libname}${release}${shared_ext}$major'
15031 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
15032 shlibpath_var=LD_LIBRARY_PATH
15033 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15034 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
15035 # the default ld.so.conf also contains /usr/contrib/lib and
15036 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15037 # libtool to hard-code these into programs
15040 cygwin* | mingw* | pw32* | cegcc*)
15041 version_type=windows
15042 shrext_cmds=".dll"
15043 need_version=no
15044 need_lib_prefix=no
15046 case $GCC,$host_os in
15047 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
15048 library_names_spec='$libname.dll.a'
15049 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15050 postinstall_cmds='base_file=`basename \${file}`~
15051 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15052 dldir=$destdir/`dirname \$dlpath`~
15053 test -d \$dldir || mkdir -p \$dldir~
15054 $install_prog $dir/$dlname \$dldir/$dlname~
15055 chmod a+x \$dldir/$dlname~
15056 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15057 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15059 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15060 dlpath=$dir/\$dldll~
15061 $RM \$dlpath'
15062 shlibpath_overrides_runpath=yes
15064 case $host_os in
15065 cygwin*)
15066 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15067 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15070 mingw* | cegcc*)
15071 # MinGW DLLs use traditional 'lib' prefix
15072 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15074 pw32*)
15075 # pw32 DLLs use 'pw' prefix rather than 'lib'
15076 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15078 esac
15082 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15084 esac
15085 dynamic_linker='Win32 ld.exe'
15086 # FIXME: first we should search . and the directory the executable is in
15087 shlibpath_var=PATH
15090 darwin* | rhapsody*)
15091 dynamic_linker="$host_os dyld"
15092 version_type=darwin
15093 need_lib_prefix=no
15094 need_version=no
15095 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15096 soname_spec='${libname}${release}${major}$shared_ext'
15097 shlibpath_overrides_runpath=yes
15098 shlibpath_var=DYLD_LIBRARY_PATH
15099 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15101 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15104 dgux*)
15105 version_type=linux
15106 need_lib_prefix=no
15107 need_version=no
15108 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15109 soname_spec='${libname}${release}${shared_ext}$major'
15110 shlibpath_var=LD_LIBRARY_PATH
15113 freebsd* | dragonfly*)
15114 # DragonFly does not have aout. When/if they implement a new
15115 # versioning mechanism, adjust this.
15116 if test -x /usr/bin/objformat; then
15117 objformat=`/usr/bin/objformat`
15118 else
15119 case $host_os in
15120 freebsd[23].*) objformat=aout ;;
15121 *) objformat=elf ;;
15122 esac
15124 version_type=freebsd-$objformat
15125 case $version_type in
15126 freebsd-elf*)
15127 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15128 need_version=no
15129 need_lib_prefix=no
15131 freebsd-*)
15132 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15133 need_version=yes
15135 esac
15136 shlibpath_var=LD_LIBRARY_PATH
15137 case $host_os in
15138 freebsd2.*)
15139 shlibpath_overrides_runpath=yes
15141 freebsd3.[01]* | freebsdelf3.[01]*)
15142 shlibpath_overrides_runpath=yes
15143 hardcode_into_libs=yes
15145 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
15146 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
15147 shlibpath_overrides_runpath=no
15148 hardcode_into_libs=yes
15150 *) # from 4.6 on, and DragonFly
15151 shlibpath_overrides_runpath=yes
15152 hardcode_into_libs=yes
15154 esac
15157 gnu*)
15158 version_type=linux
15159 need_lib_prefix=no
15160 need_version=no
15161 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15162 soname_spec='${libname}${release}${shared_ext}$major'
15163 shlibpath_var=LD_LIBRARY_PATH
15164 hardcode_into_libs=yes
15167 haiku*)
15168 version_type=linux
15169 need_lib_prefix=no
15170 need_version=no
15171 dynamic_linker="$host_os runtime_loader"
15172 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15173 soname_spec='${libname}${release}${shared_ext}$major'
15174 shlibpath_var=LIBRARY_PATH
15175 shlibpath_overrides_runpath=yes
15176 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
15177 hardcode_into_libs=yes
15180 hpux9* | hpux10* | hpux11*)
15181 # Give a soname corresponding to the major version so that dld.sl refuses to
15182 # link against other versions.
15183 version_type=sunos
15184 need_lib_prefix=no
15185 need_version=no
15186 case $host_cpu in
15187 ia64*)
15188 shrext_cmds='.so'
15189 hardcode_into_libs=yes
15190 dynamic_linker="$host_os dld.so"
15191 shlibpath_var=LD_LIBRARY_PATH
15192 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15193 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15194 soname_spec='${libname}${release}${shared_ext}$major'
15195 if test "X$HPUX_IA64_MODE" = X32; then
15196 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15197 else
15198 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15200 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15202 hppa*64*)
15203 shrext_cmds='.sl'
15204 hardcode_into_libs=yes
15205 dynamic_linker="$host_os dld.sl"
15206 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15207 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15208 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15209 soname_spec='${libname}${release}${shared_ext}$major'
15210 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15211 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15214 shrext_cmds='.sl'
15215 dynamic_linker="$host_os dld.sl"
15216 shlibpath_var=SHLIB_PATH
15217 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15218 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15219 soname_spec='${libname}${release}${shared_ext}$major'
15221 esac
15222 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15223 postinstall_cmds='chmod 555 $lib'
15224 # or fails outright, so override atomically:
15225 install_override_mode=555
15228 interix[3-9]*)
15229 version_type=linux
15230 need_lib_prefix=no
15231 need_version=no
15232 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15233 soname_spec='${libname}${release}${shared_ext}$major'
15234 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
15235 shlibpath_var=LD_LIBRARY_PATH
15236 shlibpath_overrides_runpath=no
15237 hardcode_into_libs=yes
15240 irix5* | irix6* | nonstopux*)
15241 case $host_os in
15242 nonstopux*) version_type=nonstopux ;;
15244 if test "$lt_cv_prog_gnu_ld" = yes; then
15245 version_type=linux
15246 else
15247 version_type=irix
15248 fi ;;
15249 esac
15250 need_lib_prefix=no
15251 need_version=no
15252 soname_spec='${libname}${release}${shared_ext}$major'
15253 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15254 case $host_os in
15255 irix5* | nonstopux*)
15256 libsuff= shlibsuff=
15259 case $LD in # libtool.m4 will add one of these switches to LD
15260 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15261 libsuff= shlibsuff= libmagic=32-bit;;
15262 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15263 libsuff=32 shlibsuff=N32 libmagic=N32;;
15264 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15265 libsuff=64 shlibsuff=64 libmagic=64-bit;;
15266 *) libsuff= shlibsuff= libmagic=never-match;;
15267 esac
15269 esac
15270 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15271 shlibpath_overrides_runpath=no
15272 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15273 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15274 hardcode_into_libs=yes
15277 # No shared lib support for Linux oldld, aout, or coff.
15278 linux*oldld* | linux*aout* | linux*coff*)
15279 dynamic_linker=no
15282 # This must be Linux ELF.
15283 linux* | k*bsd*-gnu | kopensolaris*-gnu)
15284 version_type=linux
15285 need_lib_prefix=no
15286 need_version=no
15287 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15288 soname_spec='${libname}${release}${shared_ext}$major'
15289 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15290 shlibpath_var=LD_LIBRARY_PATH
15291 shlibpath_overrides_runpath=no
15293 # Some binutils ld are patched to set DT_RUNPATH
15294 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
15295 $as_echo_n "(cached) " >&6
15296 else
15297 lt_cv_shlibpath_overrides_runpath=no
15298 save_LDFLAGS=$LDFLAGS
15299 save_libdir=$libdir
15300 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_FC\"; \
15301 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_FC\""
15302 if test x$gcc_no_link = xyes; then
15303 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15305 cat > conftest.$ac_ext <<_ACEOF
15306 program main
15309 _ACEOF
15310 if ac_fn_fc_try_link "$LINENO"; then :
15311 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
15312 lt_cv_shlibpath_overrides_runpath=yes
15315 rm -f core conftest.err conftest.$ac_objext \
15316 conftest$ac_exeext conftest.$ac_ext
15317 LDFLAGS=$save_LDFLAGS
15318 libdir=$save_libdir
15322 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
15324 # This implies no fast_install, which is unacceptable.
15325 # Some rework will be needed to allow for fast_install
15326 # before this can be enabled.
15327 hardcode_into_libs=yes
15329 # Append ld.so.conf contents to the search path
15330 if test -f /etc/ld.so.conf; then
15331 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' ' '`
15332 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15335 # We used to test for /lib/ld.so.1 and disable shared libraries on
15336 # powerpc, because MkLinux only supported shared libraries with the
15337 # GNU dynamic linker. Since this was broken with cross compilers,
15338 # most powerpc-linux boxes support dynamic linking these days and
15339 # people can always --disable-shared, the test was removed, and we
15340 # assume the GNU/Linux dynamic linker is in use.
15341 dynamic_linker='GNU/Linux ld.so'
15344 netbsd*)
15345 version_type=sunos
15346 need_lib_prefix=no
15347 need_version=no
15348 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15349 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15350 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15351 dynamic_linker='NetBSD (a.out) ld.so'
15352 else
15353 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15354 soname_spec='${libname}${release}${shared_ext}$major'
15355 dynamic_linker='NetBSD ld.elf_so'
15357 shlibpath_var=LD_LIBRARY_PATH
15358 shlibpath_overrides_runpath=yes
15359 hardcode_into_libs=yes
15362 newsos6)
15363 version_type=linux
15364 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15365 shlibpath_var=LD_LIBRARY_PATH
15366 shlibpath_overrides_runpath=yes
15369 *nto* | *qnx*)
15370 version_type=qnx
15371 need_lib_prefix=no
15372 need_version=no
15373 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15374 soname_spec='${libname}${release}${shared_ext}$major'
15375 shlibpath_var=LD_LIBRARY_PATH
15376 shlibpath_overrides_runpath=no
15377 hardcode_into_libs=yes
15378 dynamic_linker='ldqnx.so'
15381 openbsd*)
15382 version_type=sunos
15383 sys_lib_dlsearch_path_spec="/usr/lib"
15384 need_lib_prefix=no
15385 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15386 case $host_os in
15387 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
15388 *) need_version=no ;;
15389 esac
15390 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15391 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15392 shlibpath_var=LD_LIBRARY_PATH
15393 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15394 case $host_os in
15395 openbsd2.[89] | openbsd2.[89].*)
15396 shlibpath_overrides_runpath=no
15399 shlibpath_overrides_runpath=yes
15401 esac
15402 else
15403 shlibpath_overrides_runpath=yes
15407 os2*)
15408 libname_spec='$name'
15409 shrext_cmds=".dll"
15410 need_lib_prefix=no
15411 library_names_spec='$libname${shared_ext} $libname.a'
15412 dynamic_linker='OS/2 ld.exe'
15413 shlibpath_var=LIBPATH
15416 osf3* | osf4* | osf5*)
15417 version_type=osf
15418 need_lib_prefix=no
15419 need_version=no
15420 soname_spec='${libname}${release}${shared_ext}$major'
15421 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15422 shlibpath_var=LD_LIBRARY_PATH
15423 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15424 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15427 rdos*)
15428 dynamic_linker=no
15431 solaris*)
15432 version_type=linux
15433 need_lib_prefix=no
15434 need_version=no
15435 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15436 soname_spec='${libname}${release}${shared_ext}$major'
15437 shlibpath_var=LD_LIBRARY_PATH
15438 shlibpath_overrides_runpath=yes
15439 hardcode_into_libs=yes
15440 # ldd complains unless libraries are executable
15441 postinstall_cmds='chmod +x $lib'
15444 sunos4*)
15445 version_type=sunos
15446 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15447 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15448 shlibpath_var=LD_LIBRARY_PATH
15449 shlibpath_overrides_runpath=yes
15450 if test "$with_gnu_ld" = yes; then
15451 need_lib_prefix=no
15453 need_version=yes
15456 sysv4 | sysv4.3*)
15457 version_type=linux
15458 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15459 soname_spec='${libname}${release}${shared_ext}$major'
15460 shlibpath_var=LD_LIBRARY_PATH
15461 case $host_vendor in
15462 sni)
15463 shlibpath_overrides_runpath=no
15464 need_lib_prefix=no
15465 runpath_var=LD_RUN_PATH
15467 siemens)
15468 need_lib_prefix=no
15470 motorola)
15471 need_lib_prefix=no
15472 need_version=no
15473 shlibpath_overrides_runpath=no
15474 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15476 esac
15479 sysv4*MP*)
15480 if test -d /usr/nec ;then
15481 version_type=linux
15482 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15483 soname_spec='$libname${shared_ext}.$major'
15484 shlibpath_var=LD_LIBRARY_PATH
15488 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
15489 version_type=freebsd-elf
15490 need_lib_prefix=no
15491 need_version=no
15492 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15493 soname_spec='${libname}${release}${shared_ext}$major'
15494 shlibpath_var=LD_LIBRARY_PATH
15495 shlibpath_overrides_runpath=yes
15496 hardcode_into_libs=yes
15497 if test "$with_gnu_ld" = yes; then
15498 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15499 else
15500 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
15501 case $host_os in
15502 sco3.2v5*)
15503 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
15505 esac
15507 sys_lib_dlsearch_path_spec='/usr/lib'
15510 tpf*)
15511 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15512 version_type=linux
15513 need_lib_prefix=no
15514 need_version=no
15515 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15516 shlibpath_var=LD_LIBRARY_PATH
15517 shlibpath_overrides_runpath=no
15518 hardcode_into_libs=yes
15521 uts4*)
15522 version_type=linux
15523 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15524 soname_spec='${libname}${release}${shared_ext}$major'
15525 shlibpath_var=LD_LIBRARY_PATH
15529 dynamic_linker=no
15531 esac
15532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15533 $as_echo "$dynamic_linker" >&6; }
15534 test "$dynamic_linker" = no && can_build_shared=no
15536 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15537 if test "$GCC" = yes; then
15538 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15541 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15542 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
15544 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15545 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
15585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15586 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15587 hardcode_action_FC=
15588 if test -n "$hardcode_libdir_flag_spec_FC" ||
15589 test -n "$runpath_var_FC" ||
15590 test "X$hardcode_automatic_FC" = "Xyes" ; then
15592 # We can hardcode non-existent directories.
15593 if test "$hardcode_direct_FC" != no &&
15594 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15595 # have to relink, otherwise we might link with an installed library
15596 # when we should be linking with a yet-to-be-installed one
15597 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, FC)" != no &&
15598 test "$hardcode_minus_L_FC" != no; then
15599 # Linking always hardcodes the temporary library directory.
15600 hardcode_action_FC=relink
15601 else
15602 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15603 hardcode_action_FC=immediate
15605 else
15606 # We cannot hardcode anything, or else we can only hardcode existing
15607 # directories.
15608 hardcode_action_FC=unsupported
15610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_FC" >&5
15611 $as_echo "$hardcode_action_FC" >&6; }
15613 if test "$hardcode_action_FC" = relink ||
15614 test "$inherit_rpath_FC" = yes; then
15615 # Fast installation is not supported
15616 enable_fast_install=no
15617 elif test "$shlibpath_overrides_runpath" = yes ||
15618 test "$enable_shared" = no; then
15619 # Fast installation is not necessary
15620 enable_fast_install=needless
15629 fi # test -n "$compiler"
15631 GCC=$lt_save_GCC
15632 CC="$lt_save_CC"
15633 fi # test "$_lt_disable_FC" != yes
15635 ac_ext=c
15636 ac_cpp='$CPP $CPPFLAGS'
15637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15643 # extra LD Flags which are required for targets
15644 case "${host}" in
15645 *-darwin*)
15646 # Darwin needs -single_module when linking libgfortran
15647 extra_ldflags_libgfortran=-Wl,-single_module
15649 esac
15652 # We need a working compiler at that point, otherwise give a clear
15653 # error message and bail out.
15655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the GNU Fortran compiler is working" >&5
15656 $as_echo_n "checking whether the GNU Fortran compiler is working... " >&6; }
15657 ac_ext=${ac_fc_srcext-f}
15658 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
15659 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
15660 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
15662 cat > conftest.$ac_ext <<_ACEOF
15664 program foo
15665 real, parameter :: bar = sin (12.34 / 2.5)
15666 end program foo
15667 _ACEOF
15668 if ac_fn_fc_try_compile "$LINENO"; then :
15669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15670 $as_echo "yes" >&6; }
15671 else
15672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15673 $as_echo "no" >&6; }
15674 as_fn_error "GNU Fortran is not working; please report a bug in http://gcc.gnu.org/bugzilla, attaching $PWD/config.log" "$LINENO" 5
15677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15678 ac_ext=c
15679 ac_cpp='$CPP $CPPFLAGS'
15680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15686 # Check whether --enable-largefile was given.
15687 if test "${enable_largefile+set}" = set; then :
15688 enableval=$enable_largefile;
15691 if test "$enable_largefile" != no; then
15693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
15694 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
15695 if test "${ac_cv_sys_largefile_CC+set}" = set; then :
15696 $as_echo_n "(cached) " >&6
15697 else
15698 ac_cv_sys_largefile_CC=no
15699 if test "$GCC" != yes; then
15700 ac_save_CC=$CC
15701 while :; do
15702 # IRIX 6.2 and later do not support large files by default,
15703 # so use the C compiler's -n32 option if that helps.
15704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15705 /* end confdefs.h. */
15706 #include <sys/types.h>
15707 /* Check that off_t can represent 2**63 - 1 correctly.
15708 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15709 since some C++ compilers masquerading as C compilers
15710 incorrectly reject 9223372036854775807. */
15711 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15712 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15713 && LARGE_OFF_T % 2147483647 == 1)
15714 ? 1 : -1];
15716 main ()
15720 return 0;
15722 _ACEOF
15723 if ac_fn_c_try_compile "$LINENO"; then :
15724 break
15726 rm -f core conftest.err conftest.$ac_objext
15727 CC="$CC -n32"
15728 if ac_fn_c_try_compile "$LINENO"; then :
15729 ac_cv_sys_largefile_CC=' -n32'; break
15731 rm -f core conftest.err conftest.$ac_objext
15732 break
15733 done
15734 CC=$ac_save_CC
15735 rm -f conftest.$ac_ext
15738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
15739 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
15740 if test "$ac_cv_sys_largefile_CC" != no; then
15741 CC=$CC$ac_cv_sys_largefile_CC
15744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
15745 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
15746 if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
15747 $as_echo_n "(cached) " >&6
15748 else
15749 while :; do
15750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15751 /* end confdefs.h. */
15752 #include <sys/types.h>
15753 /* Check that off_t can represent 2**63 - 1 correctly.
15754 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15755 since some C++ compilers masquerading as C compilers
15756 incorrectly reject 9223372036854775807. */
15757 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15758 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15759 && LARGE_OFF_T % 2147483647 == 1)
15760 ? 1 : -1];
15762 main ()
15766 return 0;
15768 _ACEOF
15769 if ac_fn_c_try_compile "$LINENO"; then :
15770 ac_cv_sys_file_offset_bits=no; break
15772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15774 /* end confdefs.h. */
15775 #define _FILE_OFFSET_BITS 64
15776 #include <sys/types.h>
15777 /* Check that off_t can represent 2**63 - 1 correctly.
15778 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15779 since some C++ compilers masquerading as C compilers
15780 incorrectly reject 9223372036854775807. */
15781 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15782 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15783 && LARGE_OFF_T % 2147483647 == 1)
15784 ? 1 : -1];
15786 main ()
15790 return 0;
15792 _ACEOF
15793 if ac_fn_c_try_compile "$LINENO"; then :
15794 ac_cv_sys_file_offset_bits=64; break
15796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15797 ac_cv_sys_file_offset_bits=unknown
15798 break
15799 done
15801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
15802 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
15803 case $ac_cv_sys_file_offset_bits in #(
15804 no | unknown) ;;
15806 cat >>confdefs.h <<_ACEOF
15807 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
15808 _ACEOF
15810 esac
15811 rm -rf conftest*
15812 if test $ac_cv_sys_file_offset_bits = unknown; then
15813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
15814 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
15815 if test "${ac_cv_sys_large_files+set}" = set; then :
15816 $as_echo_n "(cached) " >&6
15817 else
15818 while :; do
15819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15820 /* end confdefs.h. */
15821 #include <sys/types.h>
15822 /* Check that off_t can represent 2**63 - 1 correctly.
15823 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15824 since some C++ compilers masquerading as C compilers
15825 incorrectly reject 9223372036854775807. */
15826 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15827 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15828 && LARGE_OFF_T % 2147483647 == 1)
15829 ? 1 : -1];
15831 main ()
15835 return 0;
15837 _ACEOF
15838 if ac_fn_c_try_compile "$LINENO"; then :
15839 ac_cv_sys_large_files=no; break
15841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15843 /* end confdefs.h. */
15844 #define _LARGE_FILES 1
15845 #include <sys/types.h>
15846 /* Check that off_t can represent 2**63 - 1 correctly.
15847 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15848 since some C++ compilers masquerading as C compilers
15849 incorrectly reject 9223372036854775807. */
15850 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15851 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15852 && LARGE_OFF_T % 2147483647 == 1)
15853 ? 1 : -1];
15855 main ()
15859 return 0;
15861 _ACEOF
15862 if ac_fn_c_try_compile "$LINENO"; then :
15863 ac_cv_sys_large_files=1; break
15865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15866 ac_cv_sys_large_files=unknown
15867 break
15868 done
15870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
15871 $as_echo "$ac_cv_sys_large_files" >&6; }
15872 case $ac_cv_sys_large_files in #(
15873 no | unknown) ;;
15875 cat >>confdefs.h <<_ACEOF
15876 #define _LARGE_FILES $ac_cv_sys_large_files
15877 _ACEOF
15879 esac
15880 rm -rf conftest*
15885 # Types
15886 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15887 if test "x$ac_cv_type_off_t" = x""yes; then :
15889 else
15891 cat >>confdefs.h <<_ACEOF
15892 #define off_t long int
15893 _ACEOF
15898 ac_fn_c_check_type "$LINENO" "intptr_t" "ac_cv_type_intptr_t" "$ac_includes_default"
15899 if test "x$ac_cv_type_intptr_t" = x""yes; then :
15901 $as_echo "#define HAVE_INTPTR_T 1" >>confdefs.h
15903 else
15904 for ac_type in 'int' 'long int' 'long long int'; do
15905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15906 /* end confdefs.h. */
15907 $ac_includes_default
15909 main ()
15911 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
15912 test_array [0] = 0
15915 return 0;
15917 _ACEOF
15918 if ac_fn_c_try_compile "$LINENO"; then :
15920 cat >>confdefs.h <<_ACEOF
15921 #define intptr_t $ac_type
15922 _ACEOF
15924 ac_type=
15926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15927 test -z "$ac_type" && break
15928 done
15933 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default"
15934 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
15936 $as_echo "#define HAVE_UINTPTR_T 1" >>confdefs.h
15938 else
15939 for ac_type in 'unsigned int' 'unsigned long int' \
15940 'unsigned long long int'; do
15941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15942 /* end confdefs.h. */
15943 $ac_includes_default
15945 main ()
15947 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
15948 test_array [0] = 0
15951 return 0;
15953 _ACEOF
15954 if ac_fn_c_try_compile "$LINENO"; then :
15956 cat >>confdefs.h <<_ACEOF
15957 #define uintptr_t $ac_type
15958 _ACEOF
15960 ac_type=
15962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15963 test -z "$ac_type" && break
15964 done
15968 ac_fn_c_check_type "$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
15969 if test "x$ac_cv_type_ptrdiff_t" = x""yes; then :
15971 cat >>confdefs.h <<_ACEOF
15972 #define HAVE_PTRDIFF_T 1
15973 _ACEOF
15979 # check header files (we assume C89 is available, so don't check for that)
15983 for ac_header in $ac_header_list
15984 do :
15985 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15986 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
15988 eval as_val=\$$as_ac_Header
15989 if test "x$as_val" = x""yes; then :
15990 cat >>confdefs.h <<_ACEOF
15991 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15992 _ACEOF
15996 done
16030 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
16032 acx_cv_header_stdint=stddef.h
16033 acx_cv_header_stdint_kind="(already complete)"
16034 for i in stdint.h $inttype_headers; do
16035 unset ac_cv_type_uintptr_t
16036 unset ac_cv_type_uintmax_t
16037 unset ac_cv_type_int_least32_t
16038 unset ac_cv_type_int_fast32_t
16039 unset ac_cv_type_uint64_t
16040 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
16041 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
16042 #include <$i>
16044 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
16045 acx_cv_header_stdint=$i
16046 else
16047 continue
16050 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
16051 #include <$i>
16053 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
16055 else
16056 acx_cv_header_stdint_kind="(mostly complete)"
16059 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
16060 #include <$i>
16062 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
16064 else
16065 acx_cv_header_stdint_kind="(mostly complete)"
16068 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
16069 #include <$i>
16071 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
16073 else
16074 acx_cv_header_stdint_kind="(mostly complete)"
16077 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
16078 #include <$i>
16080 if test "x$ac_cv_type_uint64_t" = x""yes; then :
16082 else
16083 acx_cv_header_stdint_kind="(lacks uint64_t)"
16086 break
16087 done
16088 if test "$acx_cv_header_stdint" = stddef.h; then
16089 acx_cv_header_stdint_kind="(lacks uintmax_t)"
16090 for i in stdint.h $inttype_headers; do
16091 unset ac_cv_type_uintptr_t
16092 unset ac_cv_type_uint32_t
16093 unset ac_cv_type_uint64_t
16094 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
16095 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
16096 #include <$i>
16098 if test "x$ac_cv_type_uint32_t" = x""yes; then :
16099 acx_cv_header_stdint=$i
16100 else
16101 continue
16104 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
16105 #include <$i>
16107 if test "x$ac_cv_type_uint64_t" = x""yes; then :
16111 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
16112 #include <$i>
16114 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
16118 break
16119 done
16121 if test "$acx_cv_header_stdint" = stddef.h; then
16122 acx_cv_header_stdint_kind="(u_intXX_t style)"
16123 for i in sys/types.h $inttype_headers; do
16124 unset ac_cv_type_u_int32_t
16125 unset ac_cv_type_u_int64_t
16126 $as_echo_n "looking for u_intXX_t types in $i, " >&6
16127 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
16128 #include <$i>
16130 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
16131 acx_cv_header_stdint=$i
16132 else
16133 continue
16136 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
16137 #include <$i>
16139 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
16143 break
16144 done
16146 if test "$acx_cv_header_stdint" = stddef.h; then
16147 acx_cv_header_stdint_kind="(using manual detection)"
16150 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
16151 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
16152 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
16153 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
16154 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
16156 # ----------------- Summarize what we found so far
16158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in gstdint.h" >&5
16159 $as_echo_n "checking what to include in gstdint.h... " >&6; }
16161 case `$as_basename -- gstdint.h ||
16162 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
16163 Xgstdint.h : 'X\(//\)$' \| \
16164 Xgstdint.h : 'X\(/\)' \| . 2>/dev/null ||
16165 $as_echo X/gstdint.h |
16166 sed '/^.*\/\([^/][^/]*\)\/*$/{
16167 s//\1/
16170 /^X\/\(\/\/\)$/{
16171 s//\1/
16174 /^X\/\(\/\).*/{
16175 s//\1/
16178 s/.*/./; q'` in
16179 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
16180 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16181 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
16182 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16183 *) ;;
16184 esac
16186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
16187 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
16189 # ----------------- done included file, check C basic types --------
16191 # Lacking an uintptr_t? Test size of void *
16192 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
16193 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
16194 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16195 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16196 # This bug is HP SR number 8606223364.
16197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
16198 $as_echo_n "checking size of void *... " >&6; }
16199 if test "${ac_cv_sizeof_void_p+set}" = set; then :
16200 $as_echo_n "(cached) " >&6
16201 else
16202 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
16204 else
16205 if test "$ac_cv_type_void_p" = yes; then
16206 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16207 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16208 { as_fn_set_status 77
16209 as_fn_error "cannot compute sizeof (void *)
16210 See \`config.log' for more details." "$LINENO" 5; }; }
16211 else
16212 ac_cv_sizeof_void_p=0
16217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
16218 $as_echo "$ac_cv_sizeof_void_p" >&6; }
16222 cat >>confdefs.h <<_ACEOF
16223 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16224 _ACEOF
16227 esac
16229 # Lacking an uint64_t? Test size of long
16230 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
16231 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
16232 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16233 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16234 # This bug is HP SR number 8606223364.
16235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
16236 $as_echo_n "checking size of long... " >&6; }
16237 if test "${ac_cv_sizeof_long+set}" = set; then :
16238 $as_echo_n "(cached) " >&6
16239 else
16240 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
16242 else
16243 if test "$ac_cv_type_long" = yes; then
16244 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16245 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16246 { as_fn_set_status 77
16247 as_fn_error "cannot compute sizeof (long)
16248 See \`config.log' for more details." "$LINENO" 5; }; }
16249 else
16250 ac_cv_sizeof_long=0
16255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
16256 $as_echo "$ac_cv_sizeof_long" >&6; }
16260 cat >>confdefs.h <<_ACEOF
16261 #define SIZEOF_LONG $ac_cv_sizeof_long
16262 _ACEOF
16265 esac
16267 if test $acx_cv_header_stdint = stddef.h; then
16268 # Lacking a good header? Test size of everything and deduce all types.
16269 # The cast to long int works around a bug in the HP C Compiler
16270 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16271 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16272 # This bug is HP SR number 8606223364.
16273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
16274 $as_echo_n "checking size of int... " >&6; }
16275 if test "${ac_cv_sizeof_int+set}" = set; then :
16276 $as_echo_n "(cached) " >&6
16277 else
16278 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
16280 else
16281 if test "$ac_cv_type_int" = yes; then
16282 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16283 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16284 { as_fn_set_status 77
16285 as_fn_error "cannot compute sizeof (int)
16286 See \`config.log' for more details." "$LINENO" 5; }; }
16287 else
16288 ac_cv_sizeof_int=0
16293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
16294 $as_echo "$ac_cv_sizeof_int" >&6; }
16298 cat >>confdefs.h <<_ACEOF
16299 #define SIZEOF_INT $ac_cv_sizeof_int
16300 _ACEOF
16303 # The cast to long int works around a bug in the HP C Compiler
16304 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16305 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16306 # This bug is HP SR number 8606223364.
16307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
16308 $as_echo_n "checking size of short... " >&6; }
16309 if test "${ac_cv_sizeof_short+set}" = set; then :
16310 $as_echo_n "(cached) " >&6
16311 else
16312 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
16314 else
16315 if test "$ac_cv_type_short" = yes; then
16316 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16317 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16318 { as_fn_set_status 77
16319 as_fn_error "cannot compute sizeof (short)
16320 See \`config.log' for more details." "$LINENO" 5; }; }
16321 else
16322 ac_cv_sizeof_short=0
16327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
16328 $as_echo "$ac_cv_sizeof_short" >&6; }
16332 cat >>confdefs.h <<_ACEOF
16333 #define SIZEOF_SHORT $ac_cv_sizeof_short
16334 _ACEOF
16337 # The cast to long int works around a bug in the HP C Compiler
16338 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16339 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16340 # This bug is HP SR number 8606223364.
16341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
16342 $as_echo_n "checking size of char... " >&6; }
16343 if test "${ac_cv_sizeof_char+set}" = set; then :
16344 $as_echo_n "(cached) " >&6
16345 else
16346 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
16348 else
16349 if test "$ac_cv_type_char" = yes; then
16350 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16351 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16352 { as_fn_set_status 77
16353 as_fn_error "cannot compute sizeof (char)
16354 See \`config.log' for more details." "$LINENO" 5; }; }
16355 else
16356 ac_cv_sizeof_char=0
16361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
16362 $as_echo "$ac_cv_sizeof_char" >&6; }
16366 cat >>confdefs.h <<_ACEOF
16367 #define SIZEOF_CHAR $ac_cv_sizeof_char
16368 _ACEOF
16372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
16373 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
16374 case "$ac_cv_sizeof_char" in
16375 1) acx_cv_type_int8_t=char ;;
16376 *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
16377 esac
16378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
16379 $as_echo "$acx_cv_type_int8_t" >&6; }
16381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
16382 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
16383 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
16384 2:*) acx_cv_type_int16_t=int ;;
16385 *:2) acx_cv_type_int16_t=short ;;
16386 *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
16387 esac
16388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
16389 $as_echo "$acx_cv_type_int16_t" >&6; }
16391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
16392 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
16393 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
16394 4:*) acx_cv_type_int32_t=int ;;
16395 *:4) acx_cv_type_int32_t=long ;;
16396 *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
16397 esac
16398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
16399 $as_echo "$acx_cv_type_int32_t" >&6; }
16402 # These tests are here to make the output prettier
16404 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
16405 case "$ac_cv_sizeof_long" in
16406 8) acx_cv_type_int64_t=long ;;
16407 esac
16408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
16409 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
16410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
16411 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
16414 # Now we can use the above types
16416 if test "$ac_cv_type_uintptr_t" != yes; then
16417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
16418 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
16419 case $ac_cv_sizeof_void_p in
16420 2) acx_cv_type_intptr_t=int16_t ;;
16421 4) acx_cv_type_intptr_t=int32_t ;;
16422 8) acx_cv_type_intptr_t=int64_t ;;
16423 *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
16424 esac
16425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
16426 $as_echo "$acx_cv_type_intptr_t" >&6; }
16429 # ----------------- done all checks, emit header -------------
16430 ac_config_commands="$ac_config_commands gstdint.h"
16435 ac_fn_c_check_member "$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
16436 if test "x$ac_cv_member_struct_stat_st_blksize" = x""yes; then :
16438 cat >>confdefs.h <<_ACEOF
16439 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
16440 _ACEOF
16444 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16445 if test "x$ac_cv_member_struct_stat_st_blocks" = x""yes; then :
16447 cat >>confdefs.h <<_ACEOF
16448 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16449 _ACEOF
16453 ac_fn_c_check_member "$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
16454 if test "x$ac_cv_member_struct_stat_st_rdev" = x""yes; then :
16456 cat >>confdefs.h <<_ACEOF
16457 #define HAVE_STRUCT_STAT_ST_RDEV 1
16458 _ACEOF
16464 # Check for library functions.
16465 if test "x${with_newlib}" = "xyes"; then
16466 # We are being configured with a cross compiler. AC_REPLACE_FUNCS
16467 # may not work correctly, because the compiler may not be able to
16468 # link executables.
16470 $as_echo "#define HAVE_MKSTEMP 1" >>confdefs.h
16473 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
16476 $as_echo "#define HAVE_SNPRINTF 1" >>confdefs.h
16479 $as_echo "#define HAVE_STRCASESTR 1" >>confdefs.h
16482 $as_echo "#define HAVE_VSNPRINTF 1" >>confdefs.h
16485 $as_echo "#define HAVE_LOCALTIME_R 1" >>confdefs.h
16488 $as_echo "#define HAVE_GMTIME_R 1" >>confdefs.h
16491 # At some point, we should differentiate between architectures
16492 # like x86, which have long double versions, and alpha/powerpc/etc.,
16493 # which don't. For the time being, punt.
16494 if test x"long_double_math_on_this_cpu" = x"yes"; then
16496 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
16499 else
16503 for ac_func in $ac_func_list
16504 do :
16505 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16506 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16507 eval as_val=\$$as_ac_var
16508 if test "x$as_val" = x""yes; then :
16509 cat >>confdefs.h <<_ACEOF
16510 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16511 _ACEOF
16514 done
16625 # Check strerror_r, cannot be above as versions with two and three arguments exist
16627 ac_save_CFLAGS="$CFLAGS"
16628 CFLAGS="-Wimplicit-function-declaration -Werror"
16629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16630 /* end confdefs.h. */
16631 #define _GNU_SOURCE 1
16632 #include <string.h>
16633 #include <locale.h>
16635 main ()
16637 char s[128]; strerror_r(5, s, 128);
16639 return 0;
16641 _ACEOF
16642 if ac_fn_c_try_compile "$LINENO"; then :
16644 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
16647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16648 CFLAGS="$ac_save_CFLAGS"
16650 ac_save_CFLAGS="$CFLAGS"
16651 CFLAGS="-Wimplicit-function-declaration -Werror"
16652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16653 /* end confdefs.h. */
16654 #define _GNU_SOURCE 1
16655 #include <string.h>
16656 #include <locale.h>
16658 main ()
16660 char s[128]; strerror_r(5, s);
16662 return 0;
16664 _ACEOF
16665 if ac_fn_c_try_compile "$LINENO"; then :
16667 $as_echo "#define HAVE_STRERROR_R_2ARGS 1" >>confdefs.h
16670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16671 CFLAGS="$ac_save_CFLAGS"
16674 # Check for C99 (and other IEEE) math functions
16675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16676 $as_echo_n "checking for sin in -lm... " >&6; }
16677 if test "${ac_cv_lib_m_sin+set}" = set; then :
16678 $as_echo_n "(cached) " >&6
16679 else
16680 ac_check_lib_save_LIBS=$LIBS
16681 LIBS="-lm $LIBS"
16682 if test x$gcc_no_link = xyes; then
16683 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16686 /* end confdefs.h. */
16688 /* Override any GCC internal prototype to avoid an error.
16689 Use char because int might match the return type of a GCC
16690 builtin and then its argument prototype would still apply. */
16691 #ifdef __cplusplus
16692 extern "C"
16693 #endif
16694 char sin ();
16696 main ()
16698 return sin ();
16700 return 0;
16702 _ACEOF
16703 if ac_fn_c_try_link "$LINENO"; then :
16704 ac_cv_lib_m_sin=yes
16705 else
16706 ac_cv_lib_m_sin=no
16708 rm -f core conftest.err conftest.$ac_objext \
16709 conftest$ac_exeext conftest.$ac_ext
16710 LIBS=$ac_check_lib_save_LIBS
16712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16713 $as_echo "$ac_cv_lib_m_sin" >&6; }
16714 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16715 cat >>confdefs.h <<_ACEOF
16716 #define HAVE_LIBM 1
16717 _ACEOF
16719 LIBS="-lm $LIBS"
16729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosf" >&5
16730 $as_echo_n "checking for acosf... " >&6; }
16731 if test "${gcc_cv_math_func_acosf+set}" = set; then :
16732 $as_echo_n "(cached) " >&6
16733 else
16734 if test x$gcc_no_link = xyes; then
16735 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16738 /* end confdefs.h. */
16740 #ifdef HAVE_COMPLEX_H
16741 #include <complex.h>
16742 #endif
16743 #ifdef HAVE_MATH_H
16744 #include <math.h>
16745 #endif
16747 int (*ptr)() = (int (*)())acosf;
16750 main ()
16752 return 0;
16755 _ACEOF
16756 if ac_fn_c_try_link "$LINENO"; then :
16757 gcc_cv_math_func_acosf=yes
16758 else
16759 gcc_cv_math_func_acosf=no
16761 rm -f core conftest.err conftest.$ac_objext \
16762 conftest$ac_exeext conftest.$ac_ext
16764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosf" >&5
16765 $as_echo "$gcc_cv_math_func_acosf" >&6; }
16766 if test $gcc_cv_math_func_acosf = yes; then
16768 cat >>confdefs.h <<_ACEOF
16769 #define HAVE_ACOSF 1
16770 _ACEOF
16777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acos" >&5
16778 $as_echo_n "checking for acos... " >&6; }
16779 if test "${gcc_cv_math_func_acos+set}" = set; then :
16780 $as_echo_n "(cached) " >&6
16781 else
16782 if test x$gcc_no_link = xyes; then
16783 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16786 /* end confdefs.h. */
16788 #ifdef HAVE_COMPLEX_H
16789 #include <complex.h>
16790 #endif
16791 #ifdef HAVE_MATH_H
16792 #include <math.h>
16793 #endif
16795 int (*ptr)() = (int (*)())acos;
16798 main ()
16800 return 0;
16803 _ACEOF
16804 if ac_fn_c_try_link "$LINENO"; then :
16805 gcc_cv_math_func_acos=yes
16806 else
16807 gcc_cv_math_func_acos=no
16809 rm -f core conftest.err conftest.$ac_objext \
16810 conftest$ac_exeext conftest.$ac_ext
16812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acos" >&5
16813 $as_echo "$gcc_cv_math_func_acos" >&6; }
16814 if test $gcc_cv_math_func_acos = yes; then
16816 cat >>confdefs.h <<_ACEOF
16817 #define HAVE_ACOS 1
16818 _ACEOF
16825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosl" >&5
16826 $as_echo_n "checking for acosl... " >&6; }
16827 if test "${gcc_cv_math_func_acosl+set}" = set; then :
16828 $as_echo_n "(cached) " >&6
16829 else
16830 if test x$gcc_no_link = xyes; then
16831 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16834 /* end confdefs.h. */
16836 #ifdef HAVE_COMPLEX_H
16837 #include <complex.h>
16838 #endif
16839 #ifdef HAVE_MATH_H
16840 #include <math.h>
16841 #endif
16843 int (*ptr)() = (int (*)())acosl;
16846 main ()
16848 return 0;
16851 _ACEOF
16852 if ac_fn_c_try_link "$LINENO"; then :
16853 gcc_cv_math_func_acosl=yes
16854 else
16855 gcc_cv_math_func_acosl=no
16857 rm -f core conftest.err conftest.$ac_objext \
16858 conftest$ac_exeext conftest.$ac_ext
16860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosl" >&5
16861 $as_echo "$gcc_cv_math_func_acosl" >&6; }
16862 if test $gcc_cv_math_func_acosl = yes; then
16864 cat >>confdefs.h <<_ACEOF
16865 #define HAVE_ACOSL 1
16866 _ACEOF
16873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshf" >&5
16874 $as_echo_n "checking for acoshf... " >&6; }
16875 if test "${gcc_cv_math_func_acoshf+set}" = set; then :
16876 $as_echo_n "(cached) " >&6
16877 else
16878 if test x$gcc_no_link = xyes; then
16879 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16882 /* end confdefs.h. */
16884 #ifdef HAVE_COMPLEX_H
16885 #include <complex.h>
16886 #endif
16887 #ifdef HAVE_MATH_H
16888 #include <math.h>
16889 #endif
16891 int (*ptr)() = (int (*)())acoshf;
16894 main ()
16896 return 0;
16899 _ACEOF
16900 if ac_fn_c_try_link "$LINENO"; then :
16901 gcc_cv_math_func_acoshf=yes
16902 else
16903 gcc_cv_math_func_acoshf=no
16905 rm -f core conftest.err conftest.$ac_objext \
16906 conftest$ac_exeext conftest.$ac_ext
16908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshf" >&5
16909 $as_echo "$gcc_cv_math_func_acoshf" >&6; }
16910 if test $gcc_cv_math_func_acoshf = yes; then
16912 cat >>confdefs.h <<_ACEOF
16913 #define HAVE_ACOSHF 1
16914 _ACEOF
16921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosh" >&5
16922 $as_echo_n "checking for acosh... " >&6; }
16923 if test "${gcc_cv_math_func_acosh+set}" = set; then :
16924 $as_echo_n "(cached) " >&6
16925 else
16926 if test x$gcc_no_link = xyes; then
16927 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16930 /* end confdefs.h. */
16932 #ifdef HAVE_COMPLEX_H
16933 #include <complex.h>
16934 #endif
16935 #ifdef HAVE_MATH_H
16936 #include <math.h>
16937 #endif
16939 int (*ptr)() = (int (*)())acosh;
16942 main ()
16944 return 0;
16947 _ACEOF
16948 if ac_fn_c_try_link "$LINENO"; then :
16949 gcc_cv_math_func_acosh=yes
16950 else
16951 gcc_cv_math_func_acosh=no
16953 rm -f core conftest.err conftest.$ac_objext \
16954 conftest$ac_exeext conftest.$ac_ext
16956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosh" >&5
16957 $as_echo "$gcc_cv_math_func_acosh" >&6; }
16958 if test $gcc_cv_math_func_acosh = yes; then
16960 cat >>confdefs.h <<_ACEOF
16961 #define HAVE_ACOSH 1
16962 _ACEOF
16969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshl" >&5
16970 $as_echo_n "checking for acoshl... " >&6; }
16971 if test "${gcc_cv_math_func_acoshl+set}" = set; then :
16972 $as_echo_n "(cached) " >&6
16973 else
16974 if test x$gcc_no_link = xyes; then
16975 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16978 /* end confdefs.h. */
16980 #ifdef HAVE_COMPLEX_H
16981 #include <complex.h>
16982 #endif
16983 #ifdef HAVE_MATH_H
16984 #include <math.h>
16985 #endif
16987 int (*ptr)() = (int (*)())acoshl;
16990 main ()
16992 return 0;
16995 _ACEOF
16996 if ac_fn_c_try_link "$LINENO"; then :
16997 gcc_cv_math_func_acoshl=yes
16998 else
16999 gcc_cv_math_func_acoshl=no
17001 rm -f core conftest.err conftest.$ac_objext \
17002 conftest$ac_exeext conftest.$ac_ext
17004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshl" >&5
17005 $as_echo "$gcc_cv_math_func_acoshl" >&6; }
17006 if test $gcc_cv_math_func_acoshl = yes; then
17008 cat >>confdefs.h <<_ACEOF
17009 #define HAVE_ACOSHL 1
17010 _ACEOF
17017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinf" >&5
17018 $as_echo_n "checking for asinf... " >&6; }
17019 if test "${gcc_cv_math_func_asinf+set}" = set; then :
17020 $as_echo_n "(cached) " >&6
17021 else
17022 if test x$gcc_no_link = xyes; then
17023 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17026 /* end confdefs.h. */
17028 #ifdef HAVE_COMPLEX_H
17029 #include <complex.h>
17030 #endif
17031 #ifdef HAVE_MATH_H
17032 #include <math.h>
17033 #endif
17035 int (*ptr)() = (int (*)())asinf;
17038 main ()
17040 return 0;
17043 _ACEOF
17044 if ac_fn_c_try_link "$LINENO"; then :
17045 gcc_cv_math_func_asinf=yes
17046 else
17047 gcc_cv_math_func_asinf=no
17049 rm -f core conftest.err conftest.$ac_objext \
17050 conftest$ac_exeext conftest.$ac_ext
17052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinf" >&5
17053 $as_echo "$gcc_cv_math_func_asinf" >&6; }
17054 if test $gcc_cv_math_func_asinf = yes; then
17056 cat >>confdefs.h <<_ACEOF
17057 #define HAVE_ASINF 1
17058 _ACEOF
17065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asin" >&5
17066 $as_echo_n "checking for asin... " >&6; }
17067 if test "${gcc_cv_math_func_asin+set}" = set; then :
17068 $as_echo_n "(cached) " >&6
17069 else
17070 if test x$gcc_no_link = xyes; then
17071 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17074 /* end confdefs.h. */
17076 #ifdef HAVE_COMPLEX_H
17077 #include <complex.h>
17078 #endif
17079 #ifdef HAVE_MATH_H
17080 #include <math.h>
17081 #endif
17083 int (*ptr)() = (int (*)())asin;
17086 main ()
17088 return 0;
17091 _ACEOF
17092 if ac_fn_c_try_link "$LINENO"; then :
17093 gcc_cv_math_func_asin=yes
17094 else
17095 gcc_cv_math_func_asin=no
17097 rm -f core conftest.err conftest.$ac_objext \
17098 conftest$ac_exeext conftest.$ac_ext
17100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asin" >&5
17101 $as_echo "$gcc_cv_math_func_asin" >&6; }
17102 if test $gcc_cv_math_func_asin = yes; then
17104 cat >>confdefs.h <<_ACEOF
17105 #define HAVE_ASIN 1
17106 _ACEOF
17113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinl" >&5
17114 $as_echo_n "checking for asinl... " >&6; }
17115 if test "${gcc_cv_math_func_asinl+set}" = set; then :
17116 $as_echo_n "(cached) " >&6
17117 else
17118 if test x$gcc_no_link = xyes; then
17119 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17122 /* end confdefs.h. */
17124 #ifdef HAVE_COMPLEX_H
17125 #include <complex.h>
17126 #endif
17127 #ifdef HAVE_MATH_H
17128 #include <math.h>
17129 #endif
17131 int (*ptr)() = (int (*)())asinl;
17134 main ()
17136 return 0;
17139 _ACEOF
17140 if ac_fn_c_try_link "$LINENO"; then :
17141 gcc_cv_math_func_asinl=yes
17142 else
17143 gcc_cv_math_func_asinl=no
17145 rm -f core conftest.err conftest.$ac_objext \
17146 conftest$ac_exeext conftest.$ac_ext
17148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinl" >&5
17149 $as_echo "$gcc_cv_math_func_asinl" >&6; }
17150 if test $gcc_cv_math_func_asinl = yes; then
17152 cat >>confdefs.h <<_ACEOF
17153 #define HAVE_ASINL 1
17154 _ACEOF
17161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhf" >&5
17162 $as_echo_n "checking for asinhf... " >&6; }
17163 if test "${gcc_cv_math_func_asinhf+set}" = set; then :
17164 $as_echo_n "(cached) " >&6
17165 else
17166 if test x$gcc_no_link = xyes; then
17167 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17170 /* end confdefs.h. */
17172 #ifdef HAVE_COMPLEX_H
17173 #include <complex.h>
17174 #endif
17175 #ifdef HAVE_MATH_H
17176 #include <math.h>
17177 #endif
17179 int (*ptr)() = (int (*)())asinhf;
17182 main ()
17184 return 0;
17187 _ACEOF
17188 if ac_fn_c_try_link "$LINENO"; then :
17189 gcc_cv_math_func_asinhf=yes
17190 else
17191 gcc_cv_math_func_asinhf=no
17193 rm -f core conftest.err conftest.$ac_objext \
17194 conftest$ac_exeext conftest.$ac_ext
17196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhf" >&5
17197 $as_echo "$gcc_cv_math_func_asinhf" >&6; }
17198 if test $gcc_cv_math_func_asinhf = yes; then
17200 cat >>confdefs.h <<_ACEOF
17201 #define HAVE_ASINHF 1
17202 _ACEOF
17209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinh" >&5
17210 $as_echo_n "checking for asinh... " >&6; }
17211 if test "${gcc_cv_math_func_asinh+set}" = set; then :
17212 $as_echo_n "(cached) " >&6
17213 else
17214 if test x$gcc_no_link = xyes; then
17215 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17218 /* end confdefs.h. */
17220 #ifdef HAVE_COMPLEX_H
17221 #include <complex.h>
17222 #endif
17223 #ifdef HAVE_MATH_H
17224 #include <math.h>
17225 #endif
17227 int (*ptr)() = (int (*)())asinh;
17230 main ()
17232 return 0;
17235 _ACEOF
17236 if ac_fn_c_try_link "$LINENO"; then :
17237 gcc_cv_math_func_asinh=yes
17238 else
17239 gcc_cv_math_func_asinh=no
17241 rm -f core conftest.err conftest.$ac_objext \
17242 conftest$ac_exeext conftest.$ac_ext
17244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinh" >&5
17245 $as_echo "$gcc_cv_math_func_asinh" >&6; }
17246 if test $gcc_cv_math_func_asinh = yes; then
17248 cat >>confdefs.h <<_ACEOF
17249 #define HAVE_ASINH 1
17250 _ACEOF
17257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhl" >&5
17258 $as_echo_n "checking for asinhl... " >&6; }
17259 if test "${gcc_cv_math_func_asinhl+set}" = set; then :
17260 $as_echo_n "(cached) " >&6
17261 else
17262 if test x$gcc_no_link = xyes; then
17263 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17266 /* end confdefs.h. */
17268 #ifdef HAVE_COMPLEX_H
17269 #include <complex.h>
17270 #endif
17271 #ifdef HAVE_MATH_H
17272 #include <math.h>
17273 #endif
17275 int (*ptr)() = (int (*)())asinhl;
17278 main ()
17280 return 0;
17283 _ACEOF
17284 if ac_fn_c_try_link "$LINENO"; then :
17285 gcc_cv_math_func_asinhl=yes
17286 else
17287 gcc_cv_math_func_asinhl=no
17289 rm -f core conftest.err conftest.$ac_objext \
17290 conftest$ac_exeext conftest.$ac_ext
17292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhl" >&5
17293 $as_echo "$gcc_cv_math_func_asinhl" >&6; }
17294 if test $gcc_cv_math_func_asinhl = yes; then
17296 cat >>confdefs.h <<_ACEOF
17297 #define HAVE_ASINHL 1
17298 _ACEOF
17305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f" >&5
17306 $as_echo_n "checking for atan2f... " >&6; }
17307 if test "${gcc_cv_math_func_atan2f+set}" = set; then :
17308 $as_echo_n "(cached) " >&6
17309 else
17310 if test x$gcc_no_link = xyes; then
17311 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17314 /* end confdefs.h. */
17316 #ifdef HAVE_COMPLEX_H
17317 #include <complex.h>
17318 #endif
17319 #ifdef HAVE_MATH_H
17320 #include <math.h>
17321 #endif
17323 int (*ptr)() = (int (*)())atan2f;
17326 main ()
17328 return 0;
17331 _ACEOF
17332 if ac_fn_c_try_link "$LINENO"; then :
17333 gcc_cv_math_func_atan2f=yes
17334 else
17335 gcc_cv_math_func_atan2f=no
17337 rm -f core conftest.err conftest.$ac_objext \
17338 conftest$ac_exeext conftest.$ac_ext
17340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2f" >&5
17341 $as_echo "$gcc_cv_math_func_atan2f" >&6; }
17342 if test $gcc_cv_math_func_atan2f = yes; then
17344 cat >>confdefs.h <<_ACEOF
17345 #define HAVE_ATAN2F 1
17346 _ACEOF
17353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2" >&5
17354 $as_echo_n "checking for atan2... " >&6; }
17355 if test "${gcc_cv_math_func_atan2+set}" = set; then :
17356 $as_echo_n "(cached) " >&6
17357 else
17358 if test x$gcc_no_link = xyes; then
17359 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17362 /* end confdefs.h. */
17364 #ifdef HAVE_COMPLEX_H
17365 #include <complex.h>
17366 #endif
17367 #ifdef HAVE_MATH_H
17368 #include <math.h>
17369 #endif
17371 int (*ptr)() = (int (*)())atan2;
17374 main ()
17376 return 0;
17379 _ACEOF
17380 if ac_fn_c_try_link "$LINENO"; then :
17381 gcc_cv_math_func_atan2=yes
17382 else
17383 gcc_cv_math_func_atan2=no
17385 rm -f core conftest.err conftest.$ac_objext \
17386 conftest$ac_exeext conftest.$ac_ext
17388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2" >&5
17389 $as_echo "$gcc_cv_math_func_atan2" >&6; }
17390 if test $gcc_cv_math_func_atan2 = yes; then
17392 cat >>confdefs.h <<_ACEOF
17393 #define HAVE_ATAN2 1
17394 _ACEOF
17401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l" >&5
17402 $as_echo_n "checking for atan2l... " >&6; }
17403 if test "${gcc_cv_math_func_atan2l+set}" = set; then :
17404 $as_echo_n "(cached) " >&6
17405 else
17406 if test x$gcc_no_link = xyes; then
17407 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17410 /* end confdefs.h. */
17412 #ifdef HAVE_COMPLEX_H
17413 #include <complex.h>
17414 #endif
17415 #ifdef HAVE_MATH_H
17416 #include <math.h>
17417 #endif
17419 int (*ptr)() = (int (*)())atan2l;
17422 main ()
17424 return 0;
17427 _ACEOF
17428 if ac_fn_c_try_link "$LINENO"; then :
17429 gcc_cv_math_func_atan2l=yes
17430 else
17431 gcc_cv_math_func_atan2l=no
17433 rm -f core conftest.err conftest.$ac_objext \
17434 conftest$ac_exeext conftest.$ac_ext
17436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2l" >&5
17437 $as_echo "$gcc_cv_math_func_atan2l" >&6; }
17438 if test $gcc_cv_math_func_atan2l = yes; then
17440 cat >>confdefs.h <<_ACEOF
17441 #define HAVE_ATAN2L 1
17442 _ACEOF
17449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanf" >&5
17450 $as_echo_n "checking for atanf... " >&6; }
17451 if test "${gcc_cv_math_func_atanf+set}" = set; then :
17452 $as_echo_n "(cached) " >&6
17453 else
17454 if test x$gcc_no_link = xyes; then
17455 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17458 /* end confdefs.h. */
17460 #ifdef HAVE_COMPLEX_H
17461 #include <complex.h>
17462 #endif
17463 #ifdef HAVE_MATH_H
17464 #include <math.h>
17465 #endif
17467 int (*ptr)() = (int (*)())atanf;
17470 main ()
17472 return 0;
17475 _ACEOF
17476 if ac_fn_c_try_link "$LINENO"; then :
17477 gcc_cv_math_func_atanf=yes
17478 else
17479 gcc_cv_math_func_atanf=no
17481 rm -f core conftest.err conftest.$ac_objext \
17482 conftest$ac_exeext conftest.$ac_ext
17484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanf" >&5
17485 $as_echo "$gcc_cv_math_func_atanf" >&6; }
17486 if test $gcc_cv_math_func_atanf = yes; then
17488 cat >>confdefs.h <<_ACEOF
17489 #define HAVE_ATANF 1
17490 _ACEOF
17497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan" >&5
17498 $as_echo_n "checking for atan... " >&6; }
17499 if test "${gcc_cv_math_func_atan+set}" = set; then :
17500 $as_echo_n "(cached) " >&6
17501 else
17502 if test x$gcc_no_link = xyes; then
17503 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17506 /* end confdefs.h. */
17508 #ifdef HAVE_COMPLEX_H
17509 #include <complex.h>
17510 #endif
17511 #ifdef HAVE_MATH_H
17512 #include <math.h>
17513 #endif
17515 int (*ptr)() = (int (*)())atan;
17518 main ()
17520 return 0;
17523 _ACEOF
17524 if ac_fn_c_try_link "$LINENO"; then :
17525 gcc_cv_math_func_atan=yes
17526 else
17527 gcc_cv_math_func_atan=no
17529 rm -f core conftest.err conftest.$ac_objext \
17530 conftest$ac_exeext conftest.$ac_ext
17532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan" >&5
17533 $as_echo "$gcc_cv_math_func_atan" >&6; }
17534 if test $gcc_cv_math_func_atan = yes; then
17536 cat >>confdefs.h <<_ACEOF
17537 #define HAVE_ATAN 1
17538 _ACEOF
17545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanl" >&5
17546 $as_echo_n "checking for atanl... " >&6; }
17547 if test "${gcc_cv_math_func_atanl+set}" = set; then :
17548 $as_echo_n "(cached) " >&6
17549 else
17550 if test x$gcc_no_link = xyes; then
17551 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17554 /* end confdefs.h. */
17556 #ifdef HAVE_COMPLEX_H
17557 #include <complex.h>
17558 #endif
17559 #ifdef HAVE_MATH_H
17560 #include <math.h>
17561 #endif
17563 int (*ptr)() = (int (*)())atanl;
17566 main ()
17568 return 0;
17571 _ACEOF
17572 if ac_fn_c_try_link "$LINENO"; then :
17573 gcc_cv_math_func_atanl=yes
17574 else
17575 gcc_cv_math_func_atanl=no
17577 rm -f core conftest.err conftest.$ac_objext \
17578 conftest$ac_exeext conftest.$ac_ext
17580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanl" >&5
17581 $as_echo "$gcc_cv_math_func_atanl" >&6; }
17582 if test $gcc_cv_math_func_atanl = yes; then
17584 cat >>confdefs.h <<_ACEOF
17585 #define HAVE_ATANL 1
17586 _ACEOF
17593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhf" >&5
17594 $as_echo_n "checking for atanhf... " >&6; }
17595 if test "${gcc_cv_math_func_atanhf+set}" = set; then :
17596 $as_echo_n "(cached) " >&6
17597 else
17598 if test x$gcc_no_link = xyes; then
17599 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17602 /* end confdefs.h. */
17604 #ifdef HAVE_COMPLEX_H
17605 #include <complex.h>
17606 #endif
17607 #ifdef HAVE_MATH_H
17608 #include <math.h>
17609 #endif
17611 int (*ptr)() = (int (*)())atanhf;
17614 main ()
17616 return 0;
17619 _ACEOF
17620 if ac_fn_c_try_link "$LINENO"; then :
17621 gcc_cv_math_func_atanhf=yes
17622 else
17623 gcc_cv_math_func_atanhf=no
17625 rm -f core conftest.err conftest.$ac_objext \
17626 conftest$ac_exeext conftest.$ac_ext
17628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhf" >&5
17629 $as_echo "$gcc_cv_math_func_atanhf" >&6; }
17630 if test $gcc_cv_math_func_atanhf = yes; then
17632 cat >>confdefs.h <<_ACEOF
17633 #define HAVE_ATANHF 1
17634 _ACEOF
17641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanh" >&5
17642 $as_echo_n "checking for atanh... " >&6; }
17643 if test "${gcc_cv_math_func_atanh+set}" = set; then :
17644 $as_echo_n "(cached) " >&6
17645 else
17646 if test x$gcc_no_link = xyes; then
17647 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17650 /* end confdefs.h. */
17652 #ifdef HAVE_COMPLEX_H
17653 #include <complex.h>
17654 #endif
17655 #ifdef HAVE_MATH_H
17656 #include <math.h>
17657 #endif
17659 int (*ptr)() = (int (*)())atanh;
17662 main ()
17664 return 0;
17667 _ACEOF
17668 if ac_fn_c_try_link "$LINENO"; then :
17669 gcc_cv_math_func_atanh=yes
17670 else
17671 gcc_cv_math_func_atanh=no
17673 rm -f core conftest.err conftest.$ac_objext \
17674 conftest$ac_exeext conftest.$ac_ext
17676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanh" >&5
17677 $as_echo "$gcc_cv_math_func_atanh" >&6; }
17678 if test $gcc_cv_math_func_atanh = yes; then
17680 cat >>confdefs.h <<_ACEOF
17681 #define HAVE_ATANH 1
17682 _ACEOF
17689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhl" >&5
17690 $as_echo_n "checking for atanhl... " >&6; }
17691 if test "${gcc_cv_math_func_atanhl+set}" = set; then :
17692 $as_echo_n "(cached) " >&6
17693 else
17694 if test x$gcc_no_link = xyes; then
17695 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17698 /* end confdefs.h. */
17700 #ifdef HAVE_COMPLEX_H
17701 #include <complex.h>
17702 #endif
17703 #ifdef HAVE_MATH_H
17704 #include <math.h>
17705 #endif
17707 int (*ptr)() = (int (*)())atanhl;
17710 main ()
17712 return 0;
17715 _ACEOF
17716 if ac_fn_c_try_link "$LINENO"; then :
17717 gcc_cv_math_func_atanhl=yes
17718 else
17719 gcc_cv_math_func_atanhl=no
17721 rm -f core conftest.err conftest.$ac_objext \
17722 conftest$ac_exeext conftest.$ac_ext
17724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhl" >&5
17725 $as_echo "$gcc_cv_math_func_atanhl" >&6; }
17726 if test $gcc_cv_math_func_atanhl = yes; then
17728 cat >>confdefs.h <<_ACEOF
17729 #define HAVE_ATANHL 1
17730 _ACEOF
17737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargf" >&5
17738 $as_echo_n "checking for cargf... " >&6; }
17739 if test "${gcc_cv_math_func_cargf+set}" = set; then :
17740 $as_echo_n "(cached) " >&6
17741 else
17742 if test x$gcc_no_link = xyes; then
17743 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17746 /* end confdefs.h. */
17748 #ifdef HAVE_COMPLEX_H
17749 #include <complex.h>
17750 #endif
17751 #ifdef HAVE_MATH_H
17752 #include <math.h>
17753 #endif
17755 int (*ptr)() = (int (*)())cargf;
17758 main ()
17760 return 0;
17763 _ACEOF
17764 if ac_fn_c_try_link "$LINENO"; then :
17765 gcc_cv_math_func_cargf=yes
17766 else
17767 gcc_cv_math_func_cargf=no
17769 rm -f core conftest.err conftest.$ac_objext \
17770 conftest$ac_exeext conftest.$ac_ext
17772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargf" >&5
17773 $as_echo "$gcc_cv_math_func_cargf" >&6; }
17774 if test $gcc_cv_math_func_cargf = yes; then
17776 cat >>confdefs.h <<_ACEOF
17777 #define HAVE_CARGF 1
17778 _ACEOF
17785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for carg" >&5
17786 $as_echo_n "checking for carg... " >&6; }
17787 if test "${gcc_cv_math_func_carg+set}" = set; then :
17788 $as_echo_n "(cached) " >&6
17789 else
17790 if test x$gcc_no_link = xyes; then
17791 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17794 /* end confdefs.h. */
17796 #ifdef HAVE_COMPLEX_H
17797 #include <complex.h>
17798 #endif
17799 #ifdef HAVE_MATH_H
17800 #include <math.h>
17801 #endif
17803 int (*ptr)() = (int (*)())carg;
17806 main ()
17808 return 0;
17811 _ACEOF
17812 if ac_fn_c_try_link "$LINENO"; then :
17813 gcc_cv_math_func_carg=yes
17814 else
17815 gcc_cv_math_func_carg=no
17817 rm -f core conftest.err conftest.$ac_objext \
17818 conftest$ac_exeext conftest.$ac_ext
17820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_carg" >&5
17821 $as_echo "$gcc_cv_math_func_carg" >&6; }
17822 if test $gcc_cv_math_func_carg = yes; then
17824 cat >>confdefs.h <<_ACEOF
17825 #define HAVE_CARG 1
17826 _ACEOF
17833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargl" >&5
17834 $as_echo_n "checking for cargl... " >&6; }
17835 if test "${gcc_cv_math_func_cargl+set}" = set; then :
17836 $as_echo_n "(cached) " >&6
17837 else
17838 if test x$gcc_no_link = xyes; then
17839 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17842 /* end confdefs.h. */
17844 #ifdef HAVE_COMPLEX_H
17845 #include <complex.h>
17846 #endif
17847 #ifdef HAVE_MATH_H
17848 #include <math.h>
17849 #endif
17851 int (*ptr)() = (int (*)())cargl;
17854 main ()
17856 return 0;
17859 _ACEOF
17860 if ac_fn_c_try_link "$LINENO"; then :
17861 gcc_cv_math_func_cargl=yes
17862 else
17863 gcc_cv_math_func_cargl=no
17865 rm -f core conftest.err conftest.$ac_objext \
17866 conftest$ac_exeext conftest.$ac_ext
17868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargl" >&5
17869 $as_echo "$gcc_cv_math_func_cargl" >&6; }
17870 if test $gcc_cv_math_func_cargl = yes; then
17872 cat >>confdefs.h <<_ACEOF
17873 #define HAVE_CARGL 1
17874 _ACEOF
17881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceilf" >&5
17882 $as_echo_n "checking for ceilf... " >&6; }
17883 if test "${gcc_cv_math_func_ceilf+set}" = set; then :
17884 $as_echo_n "(cached) " >&6
17885 else
17886 if test x$gcc_no_link = xyes; then
17887 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17890 /* end confdefs.h. */
17892 #ifdef HAVE_COMPLEX_H
17893 #include <complex.h>
17894 #endif
17895 #ifdef HAVE_MATH_H
17896 #include <math.h>
17897 #endif
17899 int (*ptr)() = (int (*)())ceilf;
17902 main ()
17904 return 0;
17907 _ACEOF
17908 if ac_fn_c_try_link "$LINENO"; then :
17909 gcc_cv_math_func_ceilf=yes
17910 else
17911 gcc_cv_math_func_ceilf=no
17913 rm -f core conftest.err conftest.$ac_objext \
17914 conftest$ac_exeext conftest.$ac_ext
17916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceilf" >&5
17917 $as_echo "$gcc_cv_math_func_ceilf" >&6; }
17918 if test $gcc_cv_math_func_ceilf = yes; then
17920 cat >>confdefs.h <<_ACEOF
17921 #define HAVE_CEILF 1
17922 _ACEOF
17929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceil" >&5
17930 $as_echo_n "checking for ceil... " >&6; }
17931 if test "${gcc_cv_math_func_ceil+set}" = set; then :
17932 $as_echo_n "(cached) " >&6
17933 else
17934 if test x$gcc_no_link = xyes; then
17935 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17938 /* end confdefs.h. */
17940 #ifdef HAVE_COMPLEX_H
17941 #include <complex.h>
17942 #endif
17943 #ifdef HAVE_MATH_H
17944 #include <math.h>
17945 #endif
17947 int (*ptr)() = (int (*)())ceil;
17950 main ()
17952 return 0;
17955 _ACEOF
17956 if ac_fn_c_try_link "$LINENO"; then :
17957 gcc_cv_math_func_ceil=yes
17958 else
17959 gcc_cv_math_func_ceil=no
17961 rm -f core conftest.err conftest.$ac_objext \
17962 conftest$ac_exeext conftest.$ac_ext
17964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceil" >&5
17965 $as_echo "$gcc_cv_math_func_ceil" >&6; }
17966 if test $gcc_cv_math_func_ceil = yes; then
17968 cat >>confdefs.h <<_ACEOF
17969 #define HAVE_CEIL 1
17970 _ACEOF
17977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceill" >&5
17978 $as_echo_n "checking for ceill... " >&6; }
17979 if test "${gcc_cv_math_func_ceill+set}" = set; then :
17980 $as_echo_n "(cached) " >&6
17981 else
17982 if test x$gcc_no_link = xyes; then
17983 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17986 /* end confdefs.h. */
17988 #ifdef HAVE_COMPLEX_H
17989 #include <complex.h>
17990 #endif
17991 #ifdef HAVE_MATH_H
17992 #include <math.h>
17993 #endif
17995 int (*ptr)() = (int (*)())ceill;
17998 main ()
18000 return 0;
18003 _ACEOF
18004 if ac_fn_c_try_link "$LINENO"; then :
18005 gcc_cv_math_func_ceill=yes
18006 else
18007 gcc_cv_math_func_ceill=no
18009 rm -f core conftest.err conftest.$ac_objext \
18010 conftest$ac_exeext conftest.$ac_ext
18012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceill" >&5
18013 $as_echo "$gcc_cv_math_func_ceill" >&6; }
18014 if test $gcc_cv_math_func_ceill = yes; then
18016 cat >>confdefs.h <<_ACEOF
18017 #define HAVE_CEILL 1
18018 _ACEOF
18025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignf" >&5
18026 $as_echo_n "checking for copysignf... " >&6; }
18027 if test "${gcc_cv_math_func_copysignf+set}" = set; then :
18028 $as_echo_n "(cached) " >&6
18029 else
18030 if test x$gcc_no_link = xyes; then
18031 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18034 /* end confdefs.h. */
18036 #ifdef HAVE_COMPLEX_H
18037 #include <complex.h>
18038 #endif
18039 #ifdef HAVE_MATH_H
18040 #include <math.h>
18041 #endif
18043 int (*ptr)() = (int (*)())copysignf;
18046 main ()
18048 return 0;
18051 _ACEOF
18052 if ac_fn_c_try_link "$LINENO"; then :
18053 gcc_cv_math_func_copysignf=yes
18054 else
18055 gcc_cv_math_func_copysignf=no
18057 rm -f core conftest.err conftest.$ac_objext \
18058 conftest$ac_exeext conftest.$ac_ext
18060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignf" >&5
18061 $as_echo "$gcc_cv_math_func_copysignf" >&6; }
18062 if test $gcc_cv_math_func_copysignf = yes; then
18064 cat >>confdefs.h <<_ACEOF
18065 #define HAVE_COPYSIGNF 1
18066 _ACEOF
18073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysign" >&5
18074 $as_echo_n "checking for copysign... " >&6; }
18075 if test "${gcc_cv_math_func_copysign+set}" = set; then :
18076 $as_echo_n "(cached) " >&6
18077 else
18078 if test x$gcc_no_link = xyes; then
18079 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18082 /* end confdefs.h. */
18084 #ifdef HAVE_COMPLEX_H
18085 #include <complex.h>
18086 #endif
18087 #ifdef HAVE_MATH_H
18088 #include <math.h>
18089 #endif
18091 int (*ptr)() = (int (*)())copysign;
18094 main ()
18096 return 0;
18099 _ACEOF
18100 if ac_fn_c_try_link "$LINENO"; then :
18101 gcc_cv_math_func_copysign=yes
18102 else
18103 gcc_cv_math_func_copysign=no
18105 rm -f core conftest.err conftest.$ac_objext \
18106 conftest$ac_exeext conftest.$ac_ext
18108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysign" >&5
18109 $as_echo "$gcc_cv_math_func_copysign" >&6; }
18110 if test $gcc_cv_math_func_copysign = yes; then
18112 cat >>confdefs.h <<_ACEOF
18113 #define HAVE_COPYSIGN 1
18114 _ACEOF
18121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignl" >&5
18122 $as_echo_n "checking for copysignl... " >&6; }
18123 if test "${gcc_cv_math_func_copysignl+set}" = set; then :
18124 $as_echo_n "(cached) " >&6
18125 else
18126 if test x$gcc_no_link = xyes; then
18127 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18130 /* end confdefs.h. */
18132 #ifdef HAVE_COMPLEX_H
18133 #include <complex.h>
18134 #endif
18135 #ifdef HAVE_MATH_H
18136 #include <math.h>
18137 #endif
18139 int (*ptr)() = (int (*)())copysignl;
18142 main ()
18144 return 0;
18147 _ACEOF
18148 if ac_fn_c_try_link "$LINENO"; then :
18149 gcc_cv_math_func_copysignl=yes
18150 else
18151 gcc_cv_math_func_copysignl=no
18153 rm -f core conftest.err conftest.$ac_objext \
18154 conftest$ac_exeext conftest.$ac_ext
18156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignl" >&5
18157 $as_echo "$gcc_cv_math_func_copysignl" >&6; }
18158 if test $gcc_cv_math_func_copysignl = yes; then
18160 cat >>confdefs.h <<_ACEOF
18161 #define HAVE_COPYSIGNL 1
18162 _ACEOF
18169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosf" >&5
18170 $as_echo_n "checking for cosf... " >&6; }
18171 if test "${gcc_cv_math_func_cosf+set}" = set; then :
18172 $as_echo_n "(cached) " >&6
18173 else
18174 if test x$gcc_no_link = xyes; then
18175 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18178 /* end confdefs.h. */
18180 #ifdef HAVE_COMPLEX_H
18181 #include <complex.h>
18182 #endif
18183 #ifdef HAVE_MATH_H
18184 #include <math.h>
18185 #endif
18187 int (*ptr)() = (int (*)())cosf;
18190 main ()
18192 return 0;
18195 _ACEOF
18196 if ac_fn_c_try_link "$LINENO"; then :
18197 gcc_cv_math_func_cosf=yes
18198 else
18199 gcc_cv_math_func_cosf=no
18201 rm -f core conftest.err conftest.$ac_objext \
18202 conftest$ac_exeext conftest.$ac_ext
18204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosf" >&5
18205 $as_echo "$gcc_cv_math_func_cosf" >&6; }
18206 if test $gcc_cv_math_func_cosf = yes; then
18208 cat >>confdefs.h <<_ACEOF
18209 #define HAVE_COSF 1
18210 _ACEOF
18217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos" >&5
18218 $as_echo_n "checking for cos... " >&6; }
18219 if test "${gcc_cv_math_func_cos+set}" = set; then :
18220 $as_echo_n "(cached) " >&6
18221 else
18222 if test x$gcc_no_link = xyes; then
18223 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18226 /* end confdefs.h. */
18228 #ifdef HAVE_COMPLEX_H
18229 #include <complex.h>
18230 #endif
18231 #ifdef HAVE_MATH_H
18232 #include <math.h>
18233 #endif
18235 int (*ptr)() = (int (*)())cos;
18238 main ()
18240 return 0;
18243 _ACEOF
18244 if ac_fn_c_try_link "$LINENO"; then :
18245 gcc_cv_math_func_cos=yes
18246 else
18247 gcc_cv_math_func_cos=no
18249 rm -f core conftest.err conftest.$ac_objext \
18250 conftest$ac_exeext conftest.$ac_ext
18252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cos" >&5
18253 $as_echo "$gcc_cv_math_func_cos" >&6; }
18254 if test $gcc_cv_math_func_cos = yes; then
18256 cat >>confdefs.h <<_ACEOF
18257 #define HAVE_COS 1
18258 _ACEOF
18265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosl" >&5
18266 $as_echo_n "checking for cosl... " >&6; }
18267 if test "${gcc_cv_math_func_cosl+set}" = set; then :
18268 $as_echo_n "(cached) " >&6
18269 else
18270 if test x$gcc_no_link = xyes; then
18271 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18274 /* end confdefs.h. */
18276 #ifdef HAVE_COMPLEX_H
18277 #include <complex.h>
18278 #endif
18279 #ifdef HAVE_MATH_H
18280 #include <math.h>
18281 #endif
18283 int (*ptr)() = (int (*)())cosl;
18286 main ()
18288 return 0;
18291 _ACEOF
18292 if ac_fn_c_try_link "$LINENO"; then :
18293 gcc_cv_math_func_cosl=yes
18294 else
18295 gcc_cv_math_func_cosl=no
18297 rm -f core conftest.err conftest.$ac_objext \
18298 conftest$ac_exeext conftest.$ac_ext
18300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosl" >&5
18301 $as_echo "$gcc_cv_math_func_cosl" >&6; }
18302 if test $gcc_cv_math_func_cosl = yes; then
18304 cat >>confdefs.h <<_ACEOF
18305 #define HAVE_COSL 1
18306 _ACEOF
18313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosf" >&5
18314 $as_echo_n "checking for ccosf... " >&6; }
18315 if test "${gcc_cv_math_func_ccosf+set}" = set; then :
18316 $as_echo_n "(cached) " >&6
18317 else
18318 if test x$gcc_no_link = xyes; then
18319 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18322 /* end confdefs.h. */
18324 #ifdef HAVE_COMPLEX_H
18325 #include <complex.h>
18326 #endif
18327 #ifdef HAVE_MATH_H
18328 #include <math.h>
18329 #endif
18331 int (*ptr)() = (int (*)())ccosf;
18334 main ()
18336 return 0;
18339 _ACEOF
18340 if ac_fn_c_try_link "$LINENO"; then :
18341 gcc_cv_math_func_ccosf=yes
18342 else
18343 gcc_cv_math_func_ccosf=no
18345 rm -f core conftest.err conftest.$ac_objext \
18346 conftest$ac_exeext conftest.$ac_ext
18348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosf" >&5
18349 $as_echo "$gcc_cv_math_func_ccosf" >&6; }
18350 if test $gcc_cv_math_func_ccosf = yes; then
18352 cat >>confdefs.h <<_ACEOF
18353 #define HAVE_CCOSF 1
18354 _ACEOF
18361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccos" >&5
18362 $as_echo_n "checking for ccos... " >&6; }
18363 if test "${gcc_cv_math_func_ccos+set}" = set; then :
18364 $as_echo_n "(cached) " >&6
18365 else
18366 if test x$gcc_no_link = xyes; then
18367 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18370 /* end confdefs.h. */
18372 #ifdef HAVE_COMPLEX_H
18373 #include <complex.h>
18374 #endif
18375 #ifdef HAVE_MATH_H
18376 #include <math.h>
18377 #endif
18379 int (*ptr)() = (int (*)())ccos;
18382 main ()
18384 return 0;
18387 _ACEOF
18388 if ac_fn_c_try_link "$LINENO"; then :
18389 gcc_cv_math_func_ccos=yes
18390 else
18391 gcc_cv_math_func_ccos=no
18393 rm -f core conftest.err conftest.$ac_objext \
18394 conftest$ac_exeext conftest.$ac_ext
18396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccos" >&5
18397 $as_echo "$gcc_cv_math_func_ccos" >&6; }
18398 if test $gcc_cv_math_func_ccos = yes; then
18400 cat >>confdefs.h <<_ACEOF
18401 #define HAVE_CCOS 1
18402 _ACEOF
18409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosl" >&5
18410 $as_echo_n "checking for ccosl... " >&6; }
18411 if test "${gcc_cv_math_func_ccosl+set}" = set; then :
18412 $as_echo_n "(cached) " >&6
18413 else
18414 if test x$gcc_no_link = xyes; then
18415 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18418 /* end confdefs.h. */
18420 #ifdef HAVE_COMPLEX_H
18421 #include <complex.h>
18422 #endif
18423 #ifdef HAVE_MATH_H
18424 #include <math.h>
18425 #endif
18427 int (*ptr)() = (int (*)())ccosl;
18430 main ()
18432 return 0;
18435 _ACEOF
18436 if ac_fn_c_try_link "$LINENO"; then :
18437 gcc_cv_math_func_ccosl=yes
18438 else
18439 gcc_cv_math_func_ccosl=no
18441 rm -f core conftest.err conftest.$ac_objext \
18442 conftest$ac_exeext conftest.$ac_ext
18444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosl" >&5
18445 $as_echo "$gcc_cv_math_func_ccosl" >&6; }
18446 if test $gcc_cv_math_func_ccosl = yes; then
18448 cat >>confdefs.h <<_ACEOF
18449 #define HAVE_CCOSL 1
18450 _ACEOF
18457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshf" >&5
18458 $as_echo_n "checking for coshf... " >&6; }
18459 if test "${gcc_cv_math_func_coshf+set}" = set; then :
18460 $as_echo_n "(cached) " >&6
18461 else
18462 if test x$gcc_no_link = xyes; then
18463 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18466 /* end confdefs.h. */
18468 #ifdef HAVE_COMPLEX_H
18469 #include <complex.h>
18470 #endif
18471 #ifdef HAVE_MATH_H
18472 #include <math.h>
18473 #endif
18475 int (*ptr)() = (int (*)())coshf;
18478 main ()
18480 return 0;
18483 _ACEOF
18484 if ac_fn_c_try_link "$LINENO"; then :
18485 gcc_cv_math_func_coshf=yes
18486 else
18487 gcc_cv_math_func_coshf=no
18489 rm -f core conftest.err conftest.$ac_objext \
18490 conftest$ac_exeext conftest.$ac_ext
18492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshf" >&5
18493 $as_echo "$gcc_cv_math_func_coshf" >&6; }
18494 if test $gcc_cv_math_func_coshf = yes; then
18496 cat >>confdefs.h <<_ACEOF
18497 #define HAVE_COSHF 1
18498 _ACEOF
18505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosh" >&5
18506 $as_echo_n "checking for cosh... " >&6; }
18507 if test "${gcc_cv_math_func_cosh+set}" = set; then :
18508 $as_echo_n "(cached) " >&6
18509 else
18510 if test x$gcc_no_link = xyes; then
18511 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18514 /* end confdefs.h. */
18516 #ifdef HAVE_COMPLEX_H
18517 #include <complex.h>
18518 #endif
18519 #ifdef HAVE_MATH_H
18520 #include <math.h>
18521 #endif
18523 int (*ptr)() = (int (*)())cosh;
18526 main ()
18528 return 0;
18531 _ACEOF
18532 if ac_fn_c_try_link "$LINENO"; then :
18533 gcc_cv_math_func_cosh=yes
18534 else
18535 gcc_cv_math_func_cosh=no
18537 rm -f core conftest.err conftest.$ac_objext \
18538 conftest$ac_exeext conftest.$ac_ext
18540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosh" >&5
18541 $as_echo "$gcc_cv_math_func_cosh" >&6; }
18542 if test $gcc_cv_math_func_cosh = yes; then
18544 cat >>confdefs.h <<_ACEOF
18545 #define HAVE_COSH 1
18546 _ACEOF
18553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshl" >&5
18554 $as_echo_n "checking for coshl... " >&6; }
18555 if test "${gcc_cv_math_func_coshl+set}" = set; then :
18556 $as_echo_n "(cached) " >&6
18557 else
18558 if test x$gcc_no_link = xyes; then
18559 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18562 /* end confdefs.h. */
18564 #ifdef HAVE_COMPLEX_H
18565 #include <complex.h>
18566 #endif
18567 #ifdef HAVE_MATH_H
18568 #include <math.h>
18569 #endif
18571 int (*ptr)() = (int (*)())coshl;
18574 main ()
18576 return 0;
18579 _ACEOF
18580 if ac_fn_c_try_link "$LINENO"; then :
18581 gcc_cv_math_func_coshl=yes
18582 else
18583 gcc_cv_math_func_coshl=no
18585 rm -f core conftest.err conftest.$ac_objext \
18586 conftest$ac_exeext conftest.$ac_ext
18588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshl" >&5
18589 $as_echo "$gcc_cv_math_func_coshl" >&6; }
18590 if test $gcc_cv_math_func_coshl = yes; then
18592 cat >>confdefs.h <<_ACEOF
18593 #define HAVE_COSHL 1
18594 _ACEOF
18601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshf" >&5
18602 $as_echo_n "checking for ccoshf... " >&6; }
18603 if test "${gcc_cv_math_func_ccoshf+set}" = set; then :
18604 $as_echo_n "(cached) " >&6
18605 else
18606 if test x$gcc_no_link = xyes; then
18607 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18610 /* end confdefs.h. */
18612 #ifdef HAVE_COMPLEX_H
18613 #include <complex.h>
18614 #endif
18615 #ifdef HAVE_MATH_H
18616 #include <math.h>
18617 #endif
18619 int (*ptr)() = (int (*)())ccoshf;
18622 main ()
18624 return 0;
18627 _ACEOF
18628 if ac_fn_c_try_link "$LINENO"; then :
18629 gcc_cv_math_func_ccoshf=yes
18630 else
18631 gcc_cv_math_func_ccoshf=no
18633 rm -f core conftest.err conftest.$ac_objext \
18634 conftest$ac_exeext conftest.$ac_ext
18636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshf" >&5
18637 $as_echo "$gcc_cv_math_func_ccoshf" >&6; }
18638 if test $gcc_cv_math_func_ccoshf = yes; then
18640 cat >>confdefs.h <<_ACEOF
18641 #define HAVE_CCOSHF 1
18642 _ACEOF
18649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosh" >&5
18650 $as_echo_n "checking for ccosh... " >&6; }
18651 if test "${gcc_cv_math_func_ccosh+set}" = set; then :
18652 $as_echo_n "(cached) " >&6
18653 else
18654 if test x$gcc_no_link = xyes; then
18655 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18658 /* end confdefs.h. */
18660 #ifdef HAVE_COMPLEX_H
18661 #include <complex.h>
18662 #endif
18663 #ifdef HAVE_MATH_H
18664 #include <math.h>
18665 #endif
18667 int (*ptr)() = (int (*)())ccosh;
18670 main ()
18672 return 0;
18675 _ACEOF
18676 if ac_fn_c_try_link "$LINENO"; then :
18677 gcc_cv_math_func_ccosh=yes
18678 else
18679 gcc_cv_math_func_ccosh=no
18681 rm -f core conftest.err conftest.$ac_objext \
18682 conftest$ac_exeext conftest.$ac_ext
18684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosh" >&5
18685 $as_echo "$gcc_cv_math_func_ccosh" >&6; }
18686 if test $gcc_cv_math_func_ccosh = yes; then
18688 cat >>confdefs.h <<_ACEOF
18689 #define HAVE_CCOSH 1
18690 _ACEOF
18697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshl" >&5
18698 $as_echo_n "checking for ccoshl... " >&6; }
18699 if test "${gcc_cv_math_func_ccoshl+set}" = set; then :
18700 $as_echo_n "(cached) " >&6
18701 else
18702 if test x$gcc_no_link = xyes; then
18703 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18706 /* end confdefs.h. */
18708 #ifdef HAVE_COMPLEX_H
18709 #include <complex.h>
18710 #endif
18711 #ifdef HAVE_MATH_H
18712 #include <math.h>
18713 #endif
18715 int (*ptr)() = (int (*)())ccoshl;
18718 main ()
18720 return 0;
18723 _ACEOF
18724 if ac_fn_c_try_link "$LINENO"; then :
18725 gcc_cv_math_func_ccoshl=yes
18726 else
18727 gcc_cv_math_func_ccoshl=no
18729 rm -f core conftest.err conftest.$ac_objext \
18730 conftest$ac_exeext conftest.$ac_ext
18732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshl" >&5
18733 $as_echo "$gcc_cv_math_func_ccoshl" >&6; }
18734 if test $gcc_cv_math_func_ccoshl = yes; then
18736 cat >>confdefs.h <<_ACEOF
18737 #define HAVE_CCOSHL 1
18738 _ACEOF
18745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf" >&5
18746 $as_echo_n "checking for expf... " >&6; }
18747 if test "${gcc_cv_math_func_expf+set}" = set; then :
18748 $as_echo_n "(cached) " >&6
18749 else
18750 if test x$gcc_no_link = xyes; then
18751 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18754 /* end confdefs.h. */
18756 #ifdef HAVE_COMPLEX_H
18757 #include <complex.h>
18758 #endif
18759 #ifdef HAVE_MATH_H
18760 #include <math.h>
18761 #endif
18763 int (*ptr)() = (int (*)())expf;
18766 main ()
18768 return 0;
18771 _ACEOF
18772 if ac_fn_c_try_link "$LINENO"; then :
18773 gcc_cv_math_func_expf=yes
18774 else
18775 gcc_cv_math_func_expf=no
18777 rm -f core conftest.err conftest.$ac_objext \
18778 conftest$ac_exeext conftest.$ac_ext
18780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expf" >&5
18781 $as_echo "$gcc_cv_math_func_expf" >&6; }
18782 if test $gcc_cv_math_func_expf = yes; then
18784 cat >>confdefs.h <<_ACEOF
18785 #define HAVE_EXPF 1
18786 _ACEOF
18793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exp" >&5
18794 $as_echo_n "checking for exp... " >&6; }
18795 if test "${gcc_cv_math_func_exp+set}" = set; then :
18796 $as_echo_n "(cached) " >&6
18797 else
18798 if test x$gcc_no_link = xyes; then
18799 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18802 /* end confdefs.h. */
18804 #ifdef HAVE_COMPLEX_H
18805 #include <complex.h>
18806 #endif
18807 #ifdef HAVE_MATH_H
18808 #include <math.h>
18809 #endif
18811 int (*ptr)() = (int (*)())exp;
18814 main ()
18816 return 0;
18819 _ACEOF
18820 if ac_fn_c_try_link "$LINENO"; then :
18821 gcc_cv_math_func_exp=yes
18822 else
18823 gcc_cv_math_func_exp=no
18825 rm -f core conftest.err conftest.$ac_objext \
18826 conftest$ac_exeext conftest.$ac_ext
18828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_exp" >&5
18829 $as_echo "$gcc_cv_math_func_exp" >&6; }
18830 if test $gcc_cv_math_func_exp = yes; then
18832 cat >>confdefs.h <<_ACEOF
18833 #define HAVE_EXP 1
18834 _ACEOF
18841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl" >&5
18842 $as_echo_n "checking for expl... " >&6; }
18843 if test "${gcc_cv_math_func_expl+set}" = set; then :
18844 $as_echo_n "(cached) " >&6
18845 else
18846 if test x$gcc_no_link = xyes; then
18847 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18850 /* end confdefs.h. */
18852 #ifdef HAVE_COMPLEX_H
18853 #include <complex.h>
18854 #endif
18855 #ifdef HAVE_MATH_H
18856 #include <math.h>
18857 #endif
18859 int (*ptr)() = (int (*)())expl;
18862 main ()
18864 return 0;
18867 _ACEOF
18868 if ac_fn_c_try_link "$LINENO"; then :
18869 gcc_cv_math_func_expl=yes
18870 else
18871 gcc_cv_math_func_expl=no
18873 rm -f core conftest.err conftest.$ac_objext \
18874 conftest$ac_exeext conftest.$ac_ext
18876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expl" >&5
18877 $as_echo "$gcc_cv_math_func_expl" >&6; }
18878 if test $gcc_cv_math_func_expl = yes; then
18880 cat >>confdefs.h <<_ACEOF
18881 #define HAVE_EXPL 1
18882 _ACEOF
18889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpf" >&5
18890 $as_echo_n "checking for cexpf... " >&6; }
18891 if test "${gcc_cv_math_func_cexpf+set}" = set; then :
18892 $as_echo_n "(cached) " >&6
18893 else
18894 if test x$gcc_no_link = xyes; then
18895 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18898 /* end confdefs.h. */
18900 #ifdef HAVE_COMPLEX_H
18901 #include <complex.h>
18902 #endif
18903 #ifdef HAVE_MATH_H
18904 #include <math.h>
18905 #endif
18907 int (*ptr)() = (int (*)())cexpf;
18910 main ()
18912 return 0;
18915 _ACEOF
18916 if ac_fn_c_try_link "$LINENO"; then :
18917 gcc_cv_math_func_cexpf=yes
18918 else
18919 gcc_cv_math_func_cexpf=no
18921 rm -f core conftest.err conftest.$ac_objext \
18922 conftest$ac_exeext conftest.$ac_ext
18924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpf" >&5
18925 $as_echo "$gcc_cv_math_func_cexpf" >&6; }
18926 if test $gcc_cv_math_func_cexpf = yes; then
18928 cat >>confdefs.h <<_ACEOF
18929 #define HAVE_CEXPF 1
18930 _ACEOF
18937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexp" >&5
18938 $as_echo_n "checking for cexp... " >&6; }
18939 if test "${gcc_cv_math_func_cexp+set}" = set; then :
18940 $as_echo_n "(cached) " >&6
18941 else
18942 if test x$gcc_no_link = xyes; then
18943 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18946 /* end confdefs.h. */
18948 #ifdef HAVE_COMPLEX_H
18949 #include <complex.h>
18950 #endif
18951 #ifdef HAVE_MATH_H
18952 #include <math.h>
18953 #endif
18955 int (*ptr)() = (int (*)())cexp;
18958 main ()
18960 return 0;
18963 _ACEOF
18964 if ac_fn_c_try_link "$LINENO"; then :
18965 gcc_cv_math_func_cexp=yes
18966 else
18967 gcc_cv_math_func_cexp=no
18969 rm -f core conftest.err conftest.$ac_objext \
18970 conftest$ac_exeext conftest.$ac_ext
18972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexp" >&5
18973 $as_echo "$gcc_cv_math_func_cexp" >&6; }
18974 if test $gcc_cv_math_func_cexp = yes; then
18976 cat >>confdefs.h <<_ACEOF
18977 #define HAVE_CEXP 1
18978 _ACEOF
18985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpl" >&5
18986 $as_echo_n "checking for cexpl... " >&6; }
18987 if test "${gcc_cv_math_func_cexpl+set}" = set; then :
18988 $as_echo_n "(cached) " >&6
18989 else
18990 if test x$gcc_no_link = xyes; then
18991 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18994 /* end confdefs.h. */
18996 #ifdef HAVE_COMPLEX_H
18997 #include <complex.h>
18998 #endif
18999 #ifdef HAVE_MATH_H
19000 #include <math.h>
19001 #endif
19003 int (*ptr)() = (int (*)())cexpl;
19006 main ()
19008 return 0;
19011 _ACEOF
19012 if ac_fn_c_try_link "$LINENO"; then :
19013 gcc_cv_math_func_cexpl=yes
19014 else
19015 gcc_cv_math_func_cexpl=no
19017 rm -f core conftest.err conftest.$ac_objext \
19018 conftest$ac_exeext conftest.$ac_ext
19020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpl" >&5
19021 $as_echo "$gcc_cv_math_func_cexpl" >&6; }
19022 if test $gcc_cv_math_func_cexpl = yes; then
19024 cat >>confdefs.h <<_ACEOF
19025 #define HAVE_CEXPL 1
19026 _ACEOF
19033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf" >&5
19034 $as_echo_n "checking for fabsf... " >&6; }
19035 if test "${gcc_cv_math_func_fabsf+set}" = set; then :
19036 $as_echo_n "(cached) " >&6
19037 else
19038 if test x$gcc_no_link = xyes; then
19039 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19042 /* end confdefs.h. */
19044 #ifdef HAVE_COMPLEX_H
19045 #include <complex.h>
19046 #endif
19047 #ifdef HAVE_MATH_H
19048 #include <math.h>
19049 #endif
19051 int (*ptr)() = (int (*)())fabsf;
19054 main ()
19056 return 0;
19059 _ACEOF
19060 if ac_fn_c_try_link "$LINENO"; then :
19061 gcc_cv_math_func_fabsf=yes
19062 else
19063 gcc_cv_math_func_fabsf=no
19065 rm -f core conftest.err conftest.$ac_objext \
19066 conftest$ac_exeext conftest.$ac_ext
19068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsf" >&5
19069 $as_echo "$gcc_cv_math_func_fabsf" >&6; }
19070 if test $gcc_cv_math_func_fabsf = yes; then
19072 cat >>confdefs.h <<_ACEOF
19073 #define HAVE_FABSF 1
19074 _ACEOF
19081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabs" >&5
19082 $as_echo_n "checking for fabs... " >&6; }
19083 if test "${gcc_cv_math_func_fabs+set}" = set; then :
19084 $as_echo_n "(cached) " >&6
19085 else
19086 if test x$gcc_no_link = xyes; then
19087 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19090 /* end confdefs.h. */
19092 #ifdef HAVE_COMPLEX_H
19093 #include <complex.h>
19094 #endif
19095 #ifdef HAVE_MATH_H
19096 #include <math.h>
19097 #endif
19099 int (*ptr)() = (int (*)())fabs;
19102 main ()
19104 return 0;
19107 _ACEOF
19108 if ac_fn_c_try_link "$LINENO"; then :
19109 gcc_cv_math_func_fabs=yes
19110 else
19111 gcc_cv_math_func_fabs=no
19113 rm -f core conftest.err conftest.$ac_objext \
19114 conftest$ac_exeext conftest.$ac_ext
19116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabs" >&5
19117 $as_echo "$gcc_cv_math_func_fabs" >&6; }
19118 if test $gcc_cv_math_func_fabs = yes; then
19120 cat >>confdefs.h <<_ACEOF
19121 #define HAVE_FABS 1
19122 _ACEOF
19129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl" >&5
19130 $as_echo_n "checking for fabsl... " >&6; }
19131 if test "${gcc_cv_math_func_fabsl+set}" = set; then :
19132 $as_echo_n "(cached) " >&6
19133 else
19134 if test x$gcc_no_link = xyes; then
19135 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19138 /* end confdefs.h. */
19140 #ifdef HAVE_COMPLEX_H
19141 #include <complex.h>
19142 #endif
19143 #ifdef HAVE_MATH_H
19144 #include <math.h>
19145 #endif
19147 int (*ptr)() = (int (*)())fabsl;
19150 main ()
19152 return 0;
19155 _ACEOF
19156 if ac_fn_c_try_link "$LINENO"; then :
19157 gcc_cv_math_func_fabsl=yes
19158 else
19159 gcc_cv_math_func_fabsl=no
19161 rm -f core conftest.err conftest.$ac_objext \
19162 conftest$ac_exeext conftest.$ac_ext
19164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsl" >&5
19165 $as_echo "$gcc_cv_math_func_fabsl" >&6; }
19166 if test $gcc_cv_math_func_fabsl = yes; then
19168 cat >>confdefs.h <<_ACEOF
19169 #define HAVE_FABSL 1
19170 _ACEOF
19177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsf" >&5
19178 $as_echo_n "checking for cabsf... " >&6; }
19179 if test "${gcc_cv_math_func_cabsf+set}" = set; then :
19180 $as_echo_n "(cached) " >&6
19181 else
19182 if test x$gcc_no_link = xyes; then
19183 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19186 /* end confdefs.h. */
19188 #ifdef HAVE_COMPLEX_H
19189 #include <complex.h>
19190 #endif
19191 #ifdef HAVE_MATH_H
19192 #include <math.h>
19193 #endif
19195 int (*ptr)() = (int (*)())cabsf;
19198 main ()
19200 return 0;
19203 _ACEOF
19204 if ac_fn_c_try_link "$LINENO"; then :
19205 gcc_cv_math_func_cabsf=yes
19206 else
19207 gcc_cv_math_func_cabsf=no
19209 rm -f core conftest.err conftest.$ac_objext \
19210 conftest$ac_exeext conftest.$ac_ext
19212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsf" >&5
19213 $as_echo "$gcc_cv_math_func_cabsf" >&6; }
19214 if test $gcc_cv_math_func_cabsf = yes; then
19216 cat >>confdefs.h <<_ACEOF
19217 #define HAVE_CABSF 1
19218 _ACEOF
19225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabs" >&5
19226 $as_echo_n "checking for cabs... " >&6; }
19227 if test "${gcc_cv_math_func_cabs+set}" = set; then :
19228 $as_echo_n "(cached) " >&6
19229 else
19230 if test x$gcc_no_link = xyes; then
19231 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19234 /* end confdefs.h. */
19236 #ifdef HAVE_COMPLEX_H
19237 #include <complex.h>
19238 #endif
19239 #ifdef HAVE_MATH_H
19240 #include <math.h>
19241 #endif
19243 int (*ptr)() = (int (*)())cabs;
19246 main ()
19248 return 0;
19251 _ACEOF
19252 if ac_fn_c_try_link "$LINENO"; then :
19253 gcc_cv_math_func_cabs=yes
19254 else
19255 gcc_cv_math_func_cabs=no
19257 rm -f core conftest.err conftest.$ac_objext \
19258 conftest$ac_exeext conftest.$ac_ext
19260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabs" >&5
19261 $as_echo "$gcc_cv_math_func_cabs" >&6; }
19262 if test $gcc_cv_math_func_cabs = yes; then
19264 cat >>confdefs.h <<_ACEOF
19265 #define HAVE_CABS 1
19266 _ACEOF
19273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsl" >&5
19274 $as_echo_n "checking for cabsl... " >&6; }
19275 if test "${gcc_cv_math_func_cabsl+set}" = set; then :
19276 $as_echo_n "(cached) " >&6
19277 else
19278 if test x$gcc_no_link = xyes; then
19279 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19282 /* end confdefs.h. */
19284 #ifdef HAVE_COMPLEX_H
19285 #include <complex.h>
19286 #endif
19287 #ifdef HAVE_MATH_H
19288 #include <math.h>
19289 #endif
19291 int (*ptr)() = (int (*)())cabsl;
19294 main ()
19296 return 0;
19299 _ACEOF
19300 if ac_fn_c_try_link "$LINENO"; then :
19301 gcc_cv_math_func_cabsl=yes
19302 else
19303 gcc_cv_math_func_cabsl=no
19305 rm -f core conftest.err conftest.$ac_objext \
19306 conftest$ac_exeext conftest.$ac_ext
19308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsl" >&5
19309 $as_echo "$gcc_cv_math_func_cabsl" >&6; }
19310 if test $gcc_cv_math_func_cabsl = yes; then
19312 cat >>confdefs.h <<_ACEOF
19313 #define HAVE_CABSL 1
19314 _ACEOF
19321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorf" >&5
19322 $as_echo_n "checking for floorf... " >&6; }
19323 if test "${gcc_cv_math_func_floorf+set}" = set; then :
19324 $as_echo_n "(cached) " >&6
19325 else
19326 if test x$gcc_no_link = xyes; then
19327 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19330 /* end confdefs.h. */
19332 #ifdef HAVE_COMPLEX_H
19333 #include <complex.h>
19334 #endif
19335 #ifdef HAVE_MATH_H
19336 #include <math.h>
19337 #endif
19339 int (*ptr)() = (int (*)())floorf;
19342 main ()
19344 return 0;
19347 _ACEOF
19348 if ac_fn_c_try_link "$LINENO"; then :
19349 gcc_cv_math_func_floorf=yes
19350 else
19351 gcc_cv_math_func_floorf=no
19353 rm -f core conftest.err conftest.$ac_objext \
19354 conftest$ac_exeext conftest.$ac_ext
19356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorf" >&5
19357 $as_echo "$gcc_cv_math_func_floorf" >&6; }
19358 if test $gcc_cv_math_func_floorf = yes; then
19360 cat >>confdefs.h <<_ACEOF
19361 #define HAVE_FLOORF 1
19362 _ACEOF
19369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floor" >&5
19370 $as_echo_n "checking for floor... " >&6; }
19371 if test "${gcc_cv_math_func_floor+set}" = set; then :
19372 $as_echo_n "(cached) " >&6
19373 else
19374 if test x$gcc_no_link = xyes; then
19375 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19378 /* end confdefs.h. */
19380 #ifdef HAVE_COMPLEX_H
19381 #include <complex.h>
19382 #endif
19383 #ifdef HAVE_MATH_H
19384 #include <math.h>
19385 #endif
19387 int (*ptr)() = (int (*)())floor;
19390 main ()
19392 return 0;
19395 _ACEOF
19396 if ac_fn_c_try_link "$LINENO"; then :
19397 gcc_cv_math_func_floor=yes
19398 else
19399 gcc_cv_math_func_floor=no
19401 rm -f core conftest.err conftest.$ac_objext \
19402 conftest$ac_exeext conftest.$ac_ext
19404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floor" >&5
19405 $as_echo "$gcc_cv_math_func_floor" >&6; }
19406 if test $gcc_cv_math_func_floor = yes; then
19408 cat >>confdefs.h <<_ACEOF
19409 #define HAVE_FLOOR 1
19410 _ACEOF
19417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorl" >&5
19418 $as_echo_n "checking for floorl... " >&6; }
19419 if test "${gcc_cv_math_func_floorl+set}" = set; then :
19420 $as_echo_n "(cached) " >&6
19421 else
19422 if test x$gcc_no_link = xyes; then
19423 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19426 /* end confdefs.h. */
19428 #ifdef HAVE_COMPLEX_H
19429 #include <complex.h>
19430 #endif
19431 #ifdef HAVE_MATH_H
19432 #include <math.h>
19433 #endif
19435 int (*ptr)() = (int (*)())floorl;
19438 main ()
19440 return 0;
19443 _ACEOF
19444 if ac_fn_c_try_link "$LINENO"; then :
19445 gcc_cv_math_func_floorl=yes
19446 else
19447 gcc_cv_math_func_floorl=no
19449 rm -f core conftest.err conftest.$ac_objext \
19450 conftest$ac_exeext conftest.$ac_ext
19452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorl" >&5
19453 $as_echo "$gcc_cv_math_func_floorl" >&6; }
19454 if test $gcc_cv_math_func_floorl = yes; then
19456 cat >>confdefs.h <<_ACEOF
19457 #define HAVE_FLOORL 1
19458 _ACEOF
19465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf" >&5
19466 $as_echo_n "checking for fmodf... " >&6; }
19467 if test "${gcc_cv_math_func_fmodf+set}" = set; then :
19468 $as_echo_n "(cached) " >&6
19469 else
19470 if test x$gcc_no_link = xyes; then
19471 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19474 /* end confdefs.h. */
19476 #ifdef HAVE_COMPLEX_H
19477 #include <complex.h>
19478 #endif
19479 #ifdef HAVE_MATH_H
19480 #include <math.h>
19481 #endif
19483 int (*ptr)() = (int (*)())fmodf;
19486 main ()
19488 return 0;
19491 _ACEOF
19492 if ac_fn_c_try_link "$LINENO"; then :
19493 gcc_cv_math_func_fmodf=yes
19494 else
19495 gcc_cv_math_func_fmodf=no
19497 rm -f core conftest.err conftest.$ac_objext \
19498 conftest$ac_exeext conftest.$ac_ext
19500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodf" >&5
19501 $as_echo "$gcc_cv_math_func_fmodf" >&6; }
19502 if test $gcc_cv_math_func_fmodf = yes; then
19504 cat >>confdefs.h <<_ACEOF
19505 #define HAVE_FMODF 1
19506 _ACEOF
19513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmod" >&5
19514 $as_echo_n "checking for fmod... " >&6; }
19515 if test "${gcc_cv_math_func_fmod+set}" = set; then :
19516 $as_echo_n "(cached) " >&6
19517 else
19518 if test x$gcc_no_link = xyes; then
19519 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19522 /* end confdefs.h. */
19524 #ifdef HAVE_COMPLEX_H
19525 #include <complex.h>
19526 #endif
19527 #ifdef HAVE_MATH_H
19528 #include <math.h>
19529 #endif
19531 int (*ptr)() = (int (*)())fmod;
19534 main ()
19536 return 0;
19539 _ACEOF
19540 if ac_fn_c_try_link "$LINENO"; then :
19541 gcc_cv_math_func_fmod=yes
19542 else
19543 gcc_cv_math_func_fmod=no
19545 rm -f core conftest.err conftest.$ac_objext \
19546 conftest$ac_exeext conftest.$ac_ext
19548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmod" >&5
19549 $as_echo "$gcc_cv_math_func_fmod" >&6; }
19550 if test $gcc_cv_math_func_fmod = yes; then
19552 cat >>confdefs.h <<_ACEOF
19553 #define HAVE_FMOD 1
19554 _ACEOF
19561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl" >&5
19562 $as_echo_n "checking for fmodl... " >&6; }
19563 if test "${gcc_cv_math_func_fmodl+set}" = set; then :
19564 $as_echo_n "(cached) " >&6
19565 else
19566 if test x$gcc_no_link = xyes; then
19567 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19570 /* end confdefs.h. */
19572 #ifdef HAVE_COMPLEX_H
19573 #include <complex.h>
19574 #endif
19575 #ifdef HAVE_MATH_H
19576 #include <math.h>
19577 #endif
19579 int (*ptr)() = (int (*)())fmodl;
19582 main ()
19584 return 0;
19587 _ACEOF
19588 if ac_fn_c_try_link "$LINENO"; then :
19589 gcc_cv_math_func_fmodl=yes
19590 else
19591 gcc_cv_math_func_fmodl=no
19593 rm -f core conftest.err conftest.$ac_objext \
19594 conftest$ac_exeext conftest.$ac_ext
19596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodl" >&5
19597 $as_echo "$gcc_cv_math_func_fmodl" >&6; }
19598 if test $gcc_cv_math_func_fmodl = yes; then
19600 cat >>confdefs.h <<_ACEOF
19601 #define HAVE_FMODL 1
19602 _ACEOF
19609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf" >&5
19610 $as_echo_n "checking for frexpf... " >&6; }
19611 if test "${gcc_cv_math_func_frexpf+set}" = set; then :
19612 $as_echo_n "(cached) " >&6
19613 else
19614 if test x$gcc_no_link = xyes; then
19615 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19618 /* end confdefs.h. */
19620 #ifdef HAVE_COMPLEX_H
19621 #include <complex.h>
19622 #endif
19623 #ifdef HAVE_MATH_H
19624 #include <math.h>
19625 #endif
19627 int (*ptr)() = (int (*)())frexpf;
19630 main ()
19632 return 0;
19635 _ACEOF
19636 if ac_fn_c_try_link "$LINENO"; then :
19637 gcc_cv_math_func_frexpf=yes
19638 else
19639 gcc_cv_math_func_frexpf=no
19641 rm -f core conftest.err conftest.$ac_objext \
19642 conftest$ac_exeext conftest.$ac_ext
19644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpf" >&5
19645 $as_echo "$gcc_cv_math_func_frexpf" >&6; }
19646 if test $gcc_cv_math_func_frexpf = yes; then
19648 cat >>confdefs.h <<_ACEOF
19649 #define HAVE_FREXPF 1
19650 _ACEOF
19657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexp" >&5
19658 $as_echo_n "checking for frexp... " >&6; }
19659 if test "${gcc_cv_math_func_frexp+set}" = set; then :
19660 $as_echo_n "(cached) " >&6
19661 else
19662 if test x$gcc_no_link = xyes; then
19663 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19666 /* end confdefs.h. */
19668 #ifdef HAVE_COMPLEX_H
19669 #include <complex.h>
19670 #endif
19671 #ifdef HAVE_MATH_H
19672 #include <math.h>
19673 #endif
19675 int (*ptr)() = (int (*)())frexp;
19678 main ()
19680 return 0;
19683 _ACEOF
19684 if ac_fn_c_try_link "$LINENO"; then :
19685 gcc_cv_math_func_frexp=yes
19686 else
19687 gcc_cv_math_func_frexp=no
19689 rm -f core conftest.err conftest.$ac_objext \
19690 conftest$ac_exeext conftest.$ac_ext
19692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexp" >&5
19693 $as_echo "$gcc_cv_math_func_frexp" >&6; }
19694 if test $gcc_cv_math_func_frexp = yes; then
19696 cat >>confdefs.h <<_ACEOF
19697 #define HAVE_FREXP 1
19698 _ACEOF
19705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl" >&5
19706 $as_echo_n "checking for frexpl... " >&6; }
19707 if test "${gcc_cv_math_func_frexpl+set}" = set; then :
19708 $as_echo_n "(cached) " >&6
19709 else
19710 if test x$gcc_no_link = xyes; then
19711 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19714 /* end confdefs.h. */
19716 #ifdef HAVE_COMPLEX_H
19717 #include <complex.h>
19718 #endif
19719 #ifdef HAVE_MATH_H
19720 #include <math.h>
19721 #endif
19723 int (*ptr)() = (int (*)())frexpl;
19726 main ()
19728 return 0;
19731 _ACEOF
19732 if ac_fn_c_try_link "$LINENO"; then :
19733 gcc_cv_math_func_frexpl=yes
19734 else
19735 gcc_cv_math_func_frexpl=no
19737 rm -f core conftest.err conftest.$ac_objext \
19738 conftest$ac_exeext conftest.$ac_ext
19740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpl" >&5
19741 $as_echo "$gcc_cv_math_func_frexpl" >&6; }
19742 if test $gcc_cv_math_func_frexpl = yes; then
19744 cat >>confdefs.h <<_ACEOF
19745 #define HAVE_FREXPL 1
19746 _ACEOF
19753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf" >&5
19754 $as_echo_n "checking for hypotf... " >&6; }
19755 if test "${gcc_cv_math_func_hypotf+set}" = set; then :
19756 $as_echo_n "(cached) " >&6
19757 else
19758 if test x$gcc_no_link = xyes; then
19759 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19762 /* end confdefs.h. */
19764 #ifdef HAVE_COMPLEX_H
19765 #include <complex.h>
19766 #endif
19767 #ifdef HAVE_MATH_H
19768 #include <math.h>
19769 #endif
19771 int (*ptr)() = (int (*)())hypotf;
19774 main ()
19776 return 0;
19779 _ACEOF
19780 if ac_fn_c_try_link "$LINENO"; then :
19781 gcc_cv_math_func_hypotf=yes
19782 else
19783 gcc_cv_math_func_hypotf=no
19785 rm -f core conftest.err conftest.$ac_objext \
19786 conftest$ac_exeext conftest.$ac_ext
19788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotf" >&5
19789 $as_echo "$gcc_cv_math_func_hypotf" >&6; }
19790 if test $gcc_cv_math_func_hypotf = yes; then
19792 cat >>confdefs.h <<_ACEOF
19793 #define HAVE_HYPOTF 1
19794 _ACEOF
19801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot" >&5
19802 $as_echo_n "checking for hypot... " >&6; }
19803 if test "${gcc_cv_math_func_hypot+set}" = set; then :
19804 $as_echo_n "(cached) " >&6
19805 else
19806 if test x$gcc_no_link = xyes; then
19807 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19810 /* end confdefs.h. */
19812 #ifdef HAVE_COMPLEX_H
19813 #include <complex.h>
19814 #endif
19815 #ifdef HAVE_MATH_H
19816 #include <math.h>
19817 #endif
19819 int (*ptr)() = (int (*)())hypot;
19822 main ()
19824 return 0;
19827 _ACEOF
19828 if ac_fn_c_try_link "$LINENO"; then :
19829 gcc_cv_math_func_hypot=yes
19830 else
19831 gcc_cv_math_func_hypot=no
19833 rm -f core conftest.err conftest.$ac_objext \
19834 conftest$ac_exeext conftest.$ac_ext
19836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypot" >&5
19837 $as_echo "$gcc_cv_math_func_hypot" >&6; }
19838 if test $gcc_cv_math_func_hypot = yes; then
19840 cat >>confdefs.h <<_ACEOF
19841 #define HAVE_HYPOT 1
19842 _ACEOF
19849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl" >&5
19850 $as_echo_n "checking for hypotl... " >&6; }
19851 if test "${gcc_cv_math_func_hypotl+set}" = set; then :
19852 $as_echo_n "(cached) " >&6
19853 else
19854 if test x$gcc_no_link = xyes; then
19855 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19858 /* end confdefs.h. */
19860 #ifdef HAVE_COMPLEX_H
19861 #include <complex.h>
19862 #endif
19863 #ifdef HAVE_MATH_H
19864 #include <math.h>
19865 #endif
19867 int (*ptr)() = (int (*)())hypotl;
19870 main ()
19872 return 0;
19875 _ACEOF
19876 if ac_fn_c_try_link "$LINENO"; then :
19877 gcc_cv_math_func_hypotl=yes
19878 else
19879 gcc_cv_math_func_hypotl=no
19881 rm -f core conftest.err conftest.$ac_objext \
19882 conftest$ac_exeext conftest.$ac_ext
19884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotl" >&5
19885 $as_echo "$gcc_cv_math_func_hypotl" >&6; }
19886 if test $gcc_cv_math_func_hypotl = yes; then
19888 cat >>confdefs.h <<_ACEOF
19889 #define HAVE_HYPOTL 1
19890 _ACEOF
19897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf" >&5
19898 $as_echo_n "checking for ldexpf... " >&6; }
19899 if test "${gcc_cv_math_func_ldexpf+set}" = set; then :
19900 $as_echo_n "(cached) " >&6
19901 else
19902 if test x$gcc_no_link = xyes; then
19903 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19906 /* end confdefs.h. */
19908 #ifdef HAVE_COMPLEX_H
19909 #include <complex.h>
19910 #endif
19911 #ifdef HAVE_MATH_H
19912 #include <math.h>
19913 #endif
19915 int (*ptr)() = (int (*)())ldexpf;
19918 main ()
19920 return 0;
19923 _ACEOF
19924 if ac_fn_c_try_link "$LINENO"; then :
19925 gcc_cv_math_func_ldexpf=yes
19926 else
19927 gcc_cv_math_func_ldexpf=no
19929 rm -f core conftest.err conftest.$ac_objext \
19930 conftest$ac_exeext conftest.$ac_ext
19932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpf" >&5
19933 $as_echo "$gcc_cv_math_func_ldexpf" >&6; }
19934 if test $gcc_cv_math_func_ldexpf = yes; then
19936 cat >>confdefs.h <<_ACEOF
19937 #define HAVE_LDEXPF 1
19938 _ACEOF
19945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexp" >&5
19946 $as_echo_n "checking for ldexp... " >&6; }
19947 if test "${gcc_cv_math_func_ldexp+set}" = set; then :
19948 $as_echo_n "(cached) " >&6
19949 else
19950 if test x$gcc_no_link = xyes; then
19951 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19954 /* end confdefs.h. */
19956 #ifdef HAVE_COMPLEX_H
19957 #include <complex.h>
19958 #endif
19959 #ifdef HAVE_MATH_H
19960 #include <math.h>
19961 #endif
19963 int (*ptr)() = (int (*)())ldexp;
19966 main ()
19968 return 0;
19971 _ACEOF
19972 if ac_fn_c_try_link "$LINENO"; then :
19973 gcc_cv_math_func_ldexp=yes
19974 else
19975 gcc_cv_math_func_ldexp=no
19977 rm -f core conftest.err conftest.$ac_objext \
19978 conftest$ac_exeext conftest.$ac_ext
19980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexp" >&5
19981 $as_echo "$gcc_cv_math_func_ldexp" >&6; }
19982 if test $gcc_cv_math_func_ldexp = yes; then
19984 cat >>confdefs.h <<_ACEOF
19985 #define HAVE_LDEXP 1
19986 _ACEOF
19993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl" >&5
19994 $as_echo_n "checking for ldexpl... " >&6; }
19995 if test "${gcc_cv_math_func_ldexpl+set}" = set; then :
19996 $as_echo_n "(cached) " >&6
19997 else
19998 if test x$gcc_no_link = xyes; then
19999 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20002 /* end confdefs.h. */
20004 #ifdef HAVE_COMPLEX_H
20005 #include <complex.h>
20006 #endif
20007 #ifdef HAVE_MATH_H
20008 #include <math.h>
20009 #endif
20011 int (*ptr)() = (int (*)())ldexpl;
20014 main ()
20016 return 0;
20019 _ACEOF
20020 if ac_fn_c_try_link "$LINENO"; then :
20021 gcc_cv_math_func_ldexpl=yes
20022 else
20023 gcc_cv_math_func_ldexpl=no
20025 rm -f core conftest.err conftest.$ac_objext \
20026 conftest$ac_exeext conftest.$ac_ext
20028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpl" >&5
20029 $as_echo "$gcc_cv_math_func_ldexpl" >&6; }
20030 if test $gcc_cv_math_func_ldexpl = yes; then
20032 cat >>confdefs.h <<_ACEOF
20033 #define HAVE_LDEXPL 1
20034 _ACEOF
20041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf" >&5
20042 $as_echo_n "checking for logf... " >&6; }
20043 if test "${gcc_cv_math_func_logf+set}" = set; then :
20044 $as_echo_n "(cached) " >&6
20045 else
20046 if test x$gcc_no_link = xyes; then
20047 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20050 /* end confdefs.h. */
20052 #ifdef HAVE_COMPLEX_H
20053 #include <complex.h>
20054 #endif
20055 #ifdef HAVE_MATH_H
20056 #include <math.h>
20057 #endif
20059 int (*ptr)() = (int (*)())logf;
20062 main ()
20064 return 0;
20067 _ACEOF
20068 if ac_fn_c_try_link "$LINENO"; then :
20069 gcc_cv_math_func_logf=yes
20070 else
20071 gcc_cv_math_func_logf=no
20073 rm -f core conftest.err conftest.$ac_objext \
20074 conftest$ac_exeext conftest.$ac_ext
20076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logf" >&5
20077 $as_echo "$gcc_cv_math_func_logf" >&6; }
20078 if test $gcc_cv_math_func_logf = yes; then
20080 cat >>confdefs.h <<_ACEOF
20081 #define HAVE_LOGF 1
20082 _ACEOF
20089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log" >&5
20090 $as_echo_n "checking for log... " >&6; }
20091 if test "${gcc_cv_math_func_log+set}" = set; then :
20092 $as_echo_n "(cached) " >&6
20093 else
20094 if test x$gcc_no_link = xyes; then
20095 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20098 /* end confdefs.h. */
20100 #ifdef HAVE_COMPLEX_H
20101 #include <complex.h>
20102 #endif
20103 #ifdef HAVE_MATH_H
20104 #include <math.h>
20105 #endif
20107 int (*ptr)() = (int (*)())log;
20110 main ()
20112 return 0;
20115 _ACEOF
20116 if ac_fn_c_try_link "$LINENO"; then :
20117 gcc_cv_math_func_log=yes
20118 else
20119 gcc_cv_math_func_log=no
20121 rm -f core conftest.err conftest.$ac_objext \
20122 conftest$ac_exeext conftest.$ac_ext
20124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log" >&5
20125 $as_echo "$gcc_cv_math_func_log" >&6; }
20126 if test $gcc_cv_math_func_log = yes; then
20128 cat >>confdefs.h <<_ACEOF
20129 #define HAVE_LOG 1
20130 _ACEOF
20137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl" >&5
20138 $as_echo_n "checking for logl... " >&6; }
20139 if test "${gcc_cv_math_func_logl+set}" = set; then :
20140 $as_echo_n "(cached) " >&6
20141 else
20142 if test x$gcc_no_link = xyes; then
20143 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20146 /* end confdefs.h. */
20148 #ifdef HAVE_COMPLEX_H
20149 #include <complex.h>
20150 #endif
20151 #ifdef HAVE_MATH_H
20152 #include <math.h>
20153 #endif
20155 int (*ptr)() = (int (*)())logl;
20158 main ()
20160 return 0;
20163 _ACEOF
20164 if ac_fn_c_try_link "$LINENO"; then :
20165 gcc_cv_math_func_logl=yes
20166 else
20167 gcc_cv_math_func_logl=no
20169 rm -f core conftest.err conftest.$ac_objext \
20170 conftest$ac_exeext conftest.$ac_ext
20172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logl" >&5
20173 $as_echo "$gcc_cv_math_func_logl" >&6; }
20174 if test $gcc_cv_math_func_logl = yes; then
20176 cat >>confdefs.h <<_ACEOF
20177 #define HAVE_LOGL 1
20178 _ACEOF
20185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogf" >&5
20186 $as_echo_n "checking for clogf... " >&6; }
20187 if test "${gcc_cv_math_func_clogf+set}" = set; then :
20188 $as_echo_n "(cached) " >&6
20189 else
20190 if test x$gcc_no_link = xyes; then
20191 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20194 /* end confdefs.h. */
20196 #ifdef HAVE_COMPLEX_H
20197 #include <complex.h>
20198 #endif
20199 #ifdef HAVE_MATH_H
20200 #include <math.h>
20201 #endif
20203 int (*ptr)() = (int (*)())clogf;
20206 main ()
20208 return 0;
20211 _ACEOF
20212 if ac_fn_c_try_link "$LINENO"; then :
20213 gcc_cv_math_func_clogf=yes
20214 else
20215 gcc_cv_math_func_clogf=no
20217 rm -f core conftest.err conftest.$ac_objext \
20218 conftest$ac_exeext conftest.$ac_ext
20220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogf" >&5
20221 $as_echo "$gcc_cv_math_func_clogf" >&6; }
20222 if test $gcc_cv_math_func_clogf = yes; then
20224 cat >>confdefs.h <<_ACEOF
20225 #define HAVE_CLOGF 1
20226 _ACEOF
20233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog" >&5
20234 $as_echo_n "checking for clog... " >&6; }
20235 if test "${gcc_cv_math_func_clog+set}" = set; then :
20236 $as_echo_n "(cached) " >&6
20237 else
20238 if test x$gcc_no_link = xyes; then
20239 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20242 /* end confdefs.h. */
20244 #ifdef HAVE_COMPLEX_H
20245 #include <complex.h>
20246 #endif
20247 #ifdef HAVE_MATH_H
20248 #include <math.h>
20249 #endif
20251 int (*ptr)() = (int (*)())clog;
20254 main ()
20256 return 0;
20259 _ACEOF
20260 if ac_fn_c_try_link "$LINENO"; then :
20261 gcc_cv_math_func_clog=yes
20262 else
20263 gcc_cv_math_func_clog=no
20265 rm -f core conftest.err conftest.$ac_objext \
20266 conftest$ac_exeext conftest.$ac_ext
20268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog" >&5
20269 $as_echo "$gcc_cv_math_func_clog" >&6; }
20270 if test $gcc_cv_math_func_clog = yes; then
20272 cat >>confdefs.h <<_ACEOF
20273 #define HAVE_CLOG 1
20274 _ACEOF
20281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogl" >&5
20282 $as_echo_n "checking for clogl... " >&6; }
20283 if test "${gcc_cv_math_func_clogl+set}" = set; then :
20284 $as_echo_n "(cached) " >&6
20285 else
20286 if test x$gcc_no_link = xyes; then
20287 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20290 /* end confdefs.h. */
20292 #ifdef HAVE_COMPLEX_H
20293 #include <complex.h>
20294 #endif
20295 #ifdef HAVE_MATH_H
20296 #include <math.h>
20297 #endif
20299 int (*ptr)() = (int (*)())clogl;
20302 main ()
20304 return 0;
20307 _ACEOF
20308 if ac_fn_c_try_link "$LINENO"; then :
20309 gcc_cv_math_func_clogl=yes
20310 else
20311 gcc_cv_math_func_clogl=no
20313 rm -f core conftest.err conftest.$ac_objext \
20314 conftest$ac_exeext conftest.$ac_ext
20316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogl" >&5
20317 $as_echo "$gcc_cv_math_func_clogl" >&6; }
20318 if test $gcc_cv_math_func_clogl = yes; then
20320 cat >>confdefs.h <<_ACEOF
20321 #define HAVE_CLOGL 1
20322 _ACEOF
20329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f" >&5
20330 $as_echo_n "checking for log10f... " >&6; }
20331 if test "${gcc_cv_math_func_log10f+set}" = set; then :
20332 $as_echo_n "(cached) " >&6
20333 else
20334 if test x$gcc_no_link = xyes; then
20335 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20338 /* end confdefs.h. */
20340 #ifdef HAVE_COMPLEX_H
20341 #include <complex.h>
20342 #endif
20343 #ifdef HAVE_MATH_H
20344 #include <math.h>
20345 #endif
20347 int (*ptr)() = (int (*)())log10f;
20350 main ()
20352 return 0;
20355 _ACEOF
20356 if ac_fn_c_try_link "$LINENO"; then :
20357 gcc_cv_math_func_log10f=yes
20358 else
20359 gcc_cv_math_func_log10f=no
20361 rm -f core conftest.err conftest.$ac_objext \
20362 conftest$ac_exeext conftest.$ac_ext
20364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10f" >&5
20365 $as_echo "$gcc_cv_math_func_log10f" >&6; }
20366 if test $gcc_cv_math_func_log10f = yes; then
20368 cat >>confdefs.h <<_ACEOF
20369 #define HAVE_LOG10F 1
20370 _ACEOF
20377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10" >&5
20378 $as_echo_n "checking for log10... " >&6; }
20379 if test "${gcc_cv_math_func_log10+set}" = set; then :
20380 $as_echo_n "(cached) " >&6
20381 else
20382 if test x$gcc_no_link = xyes; then
20383 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20386 /* end confdefs.h. */
20388 #ifdef HAVE_COMPLEX_H
20389 #include <complex.h>
20390 #endif
20391 #ifdef HAVE_MATH_H
20392 #include <math.h>
20393 #endif
20395 int (*ptr)() = (int (*)())log10;
20398 main ()
20400 return 0;
20403 _ACEOF
20404 if ac_fn_c_try_link "$LINENO"; then :
20405 gcc_cv_math_func_log10=yes
20406 else
20407 gcc_cv_math_func_log10=no
20409 rm -f core conftest.err conftest.$ac_objext \
20410 conftest$ac_exeext conftest.$ac_ext
20412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10" >&5
20413 $as_echo "$gcc_cv_math_func_log10" >&6; }
20414 if test $gcc_cv_math_func_log10 = yes; then
20416 cat >>confdefs.h <<_ACEOF
20417 #define HAVE_LOG10 1
20418 _ACEOF
20425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l" >&5
20426 $as_echo_n "checking for log10l... " >&6; }
20427 if test "${gcc_cv_math_func_log10l+set}" = set; then :
20428 $as_echo_n "(cached) " >&6
20429 else
20430 if test x$gcc_no_link = xyes; then
20431 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20434 /* end confdefs.h. */
20436 #ifdef HAVE_COMPLEX_H
20437 #include <complex.h>
20438 #endif
20439 #ifdef HAVE_MATH_H
20440 #include <math.h>
20441 #endif
20443 int (*ptr)() = (int (*)())log10l;
20446 main ()
20448 return 0;
20451 _ACEOF
20452 if ac_fn_c_try_link "$LINENO"; then :
20453 gcc_cv_math_func_log10l=yes
20454 else
20455 gcc_cv_math_func_log10l=no
20457 rm -f core conftest.err conftest.$ac_objext \
20458 conftest$ac_exeext conftest.$ac_ext
20460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10l" >&5
20461 $as_echo "$gcc_cv_math_func_log10l" >&6; }
20462 if test $gcc_cv_math_func_log10l = yes; then
20464 cat >>confdefs.h <<_ACEOF
20465 #define HAVE_LOG10L 1
20466 _ACEOF
20473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10f" >&5
20474 $as_echo_n "checking for clog10f... " >&6; }
20475 if test "${gcc_cv_math_func_clog10f+set}" = set; then :
20476 $as_echo_n "(cached) " >&6
20477 else
20478 if test x$gcc_no_link = xyes; then
20479 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20482 /* end confdefs.h. */
20484 #ifdef HAVE_COMPLEX_H
20485 #include <complex.h>
20486 #endif
20487 #ifdef HAVE_MATH_H
20488 #include <math.h>
20489 #endif
20491 int (*ptr)() = (int (*)())clog10f;
20494 main ()
20496 return 0;
20499 _ACEOF
20500 if ac_fn_c_try_link "$LINENO"; then :
20501 gcc_cv_math_func_clog10f=yes
20502 else
20503 gcc_cv_math_func_clog10f=no
20505 rm -f core conftest.err conftest.$ac_objext \
20506 conftest$ac_exeext conftest.$ac_ext
20508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10f" >&5
20509 $as_echo "$gcc_cv_math_func_clog10f" >&6; }
20510 if test $gcc_cv_math_func_clog10f = yes; then
20512 cat >>confdefs.h <<_ACEOF
20513 #define HAVE_CLOG10F 1
20514 _ACEOF
20521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10" >&5
20522 $as_echo_n "checking for clog10... " >&6; }
20523 if test "${gcc_cv_math_func_clog10+set}" = set; then :
20524 $as_echo_n "(cached) " >&6
20525 else
20526 if test x$gcc_no_link = xyes; then
20527 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20530 /* end confdefs.h. */
20532 #ifdef HAVE_COMPLEX_H
20533 #include <complex.h>
20534 #endif
20535 #ifdef HAVE_MATH_H
20536 #include <math.h>
20537 #endif
20539 int (*ptr)() = (int (*)())clog10;
20542 main ()
20544 return 0;
20547 _ACEOF
20548 if ac_fn_c_try_link "$LINENO"; then :
20549 gcc_cv_math_func_clog10=yes
20550 else
20551 gcc_cv_math_func_clog10=no
20553 rm -f core conftest.err conftest.$ac_objext \
20554 conftest$ac_exeext conftest.$ac_ext
20556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10" >&5
20557 $as_echo "$gcc_cv_math_func_clog10" >&6; }
20558 if test $gcc_cv_math_func_clog10 = yes; then
20560 cat >>confdefs.h <<_ACEOF
20561 #define HAVE_CLOG10 1
20562 _ACEOF
20569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10l" >&5
20570 $as_echo_n "checking for clog10l... " >&6; }
20571 if test "${gcc_cv_math_func_clog10l+set}" = set; then :
20572 $as_echo_n "(cached) " >&6
20573 else
20574 if test x$gcc_no_link = xyes; then
20575 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20578 /* end confdefs.h. */
20580 #ifdef HAVE_COMPLEX_H
20581 #include <complex.h>
20582 #endif
20583 #ifdef HAVE_MATH_H
20584 #include <math.h>
20585 #endif
20587 int (*ptr)() = (int (*)())clog10l;
20590 main ()
20592 return 0;
20595 _ACEOF
20596 if ac_fn_c_try_link "$LINENO"; then :
20597 gcc_cv_math_func_clog10l=yes
20598 else
20599 gcc_cv_math_func_clog10l=no
20601 rm -f core conftest.err conftest.$ac_objext \
20602 conftest$ac_exeext conftest.$ac_ext
20604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10l" >&5
20605 $as_echo "$gcc_cv_math_func_clog10l" >&6; }
20606 if test $gcc_cv_math_func_clog10l = yes; then
20608 cat >>confdefs.h <<_ACEOF
20609 #define HAVE_CLOG10L 1
20610 _ACEOF
20617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterf" >&5
20618 $as_echo_n "checking for nextafterf... " >&6; }
20619 if test "${gcc_cv_math_func_nextafterf+set}" = set; then :
20620 $as_echo_n "(cached) " >&6
20621 else
20622 if test x$gcc_no_link = xyes; then
20623 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20626 /* end confdefs.h. */
20628 #ifdef HAVE_COMPLEX_H
20629 #include <complex.h>
20630 #endif
20631 #ifdef HAVE_MATH_H
20632 #include <math.h>
20633 #endif
20635 int (*ptr)() = (int (*)())nextafterf;
20638 main ()
20640 return 0;
20643 _ACEOF
20644 if ac_fn_c_try_link "$LINENO"; then :
20645 gcc_cv_math_func_nextafterf=yes
20646 else
20647 gcc_cv_math_func_nextafterf=no
20649 rm -f core conftest.err conftest.$ac_objext \
20650 conftest$ac_exeext conftest.$ac_ext
20652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterf" >&5
20653 $as_echo "$gcc_cv_math_func_nextafterf" >&6; }
20654 if test $gcc_cv_math_func_nextafterf = yes; then
20656 cat >>confdefs.h <<_ACEOF
20657 #define HAVE_NEXTAFTERF 1
20658 _ACEOF
20665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafter" >&5
20666 $as_echo_n "checking for nextafter... " >&6; }
20667 if test "${gcc_cv_math_func_nextafter+set}" = set; then :
20668 $as_echo_n "(cached) " >&6
20669 else
20670 if test x$gcc_no_link = xyes; then
20671 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20674 /* end confdefs.h. */
20676 #ifdef HAVE_COMPLEX_H
20677 #include <complex.h>
20678 #endif
20679 #ifdef HAVE_MATH_H
20680 #include <math.h>
20681 #endif
20683 int (*ptr)() = (int (*)())nextafter;
20686 main ()
20688 return 0;
20691 _ACEOF
20692 if ac_fn_c_try_link "$LINENO"; then :
20693 gcc_cv_math_func_nextafter=yes
20694 else
20695 gcc_cv_math_func_nextafter=no
20697 rm -f core conftest.err conftest.$ac_objext \
20698 conftest$ac_exeext conftest.$ac_ext
20700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafter" >&5
20701 $as_echo "$gcc_cv_math_func_nextafter" >&6; }
20702 if test $gcc_cv_math_func_nextafter = yes; then
20704 cat >>confdefs.h <<_ACEOF
20705 #define HAVE_NEXTAFTER 1
20706 _ACEOF
20713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterl" >&5
20714 $as_echo_n "checking for nextafterl... " >&6; }
20715 if test "${gcc_cv_math_func_nextafterl+set}" = set; then :
20716 $as_echo_n "(cached) " >&6
20717 else
20718 if test x$gcc_no_link = xyes; then
20719 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20722 /* end confdefs.h. */
20724 #ifdef HAVE_COMPLEX_H
20725 #include <complex.h>
20726 #endif
20727 #ifdef HAVE_MATH_H
20728 #include <math.h>
20729 #endif
20731 int (*ptr)() = (int (*)())nextafterl;
20734 main ()
20736 return 0;
20739 _ACEOF
20740 if ac_fn_c_try_link "$LINENO"; then :
20741 gcc_cv_math_func_nextafterl=yes
20742 else
20743 gcc_cv_math_func_nextafterl=no
20745 rm -f core conftest.err conftest.$ac_objext \
20746 conftest$ac_exeext conftest.$ac_ext
20748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterl" >&5
20749 $as_echo "$gcc_cv_math_func_nextafterl" >&6; }
20750 if test $gcc_cv_math_func_nextafterl = yes; then
20752 cat >>confdefs.h <<_ACEOF
20753 #define HAVE_NEXTAFTERL 1
20754 _ACEOF
20761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf" >&5
20762 $as_echo_n "checking for powf... " >&6; }
20763 if test "${gcc_cv_math_func_powf+set}" = set; then :
20764 $as_echo_n "(cached) " >&6
20765 else
20766 if test x$gcc_no_link = xyes; then
20767 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20770 /* end confdefs.h. */
20772 #ifdef HAVE_COMPLEX_H
20773 #include <complex.h>
20774 #endif
20775 #ifdef HAVE_MATH_H
20776 #include <math.h>
20777 #endif
20779 int (*ptr)() = (int (*)())powf;
20782 main ()
20784 return 0;
20787 _ACEOF
20788 if ac_fn_c_try_link "$LINENO"; then :
20789 gcc_cv_math_func_powf=yes
20790 else
20791 gcc_cv_math_func_powf=no
20793 rm -f core conftest.err conftest.$ac_objext \
20794 conftest$ac_exeext conftest.$ac_ext
20796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_powf" >&5
20797 $as_echo "$gcc_cv_math_func_powf" >&6; }
20798 if test $gcc_cv_math_func_powf = yes; then
20800 cat >>confdefs.h <<_ACEOF
20801 #define HAVE_POWF 1
20802 _ACEOF
20809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow" >&5
20810 $as_echo_n "checking for pow... " >&6; }
20811 if test "${gcc_cv_math_func_pow+set}" = set; then :
20812 $as_echo_n "(cached) " >&6
20813 else
20814 if test x$gcc_no_link = xyes; then
20815 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20818 /* end confdefs.h. */
20820 #ifdef HAVE_COMPLEX_H
20821 #include <complex.h>
20822 #endif
20823 #ifdef HAVE_MATH_H
20824 #include <math.h>
20825 #endif
20827 int (*ptr)() = (int (*)())pow;
20830 main ()
20832 return 0;
20835 _ACEOF
20836 if ac_fn_c_try_link "$LINENO"; then :
20837 gcc_cv_math_func_pow=yes
20838 else
20839 gcc_cv_math_func_pow=no
20841 rm -f core conftest.err conftest.$ac_objext \
20842 conftest$ac_exeext conftest.$ac_ext
20844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_pow" >&5
20845 $as_echo "$gcc_cv_math_func_pow" >&6; }
20846 if test $gcc_cv_math_func_pow = yes; then
20848 cat >>confdefs.h <<_ACEOF
20849 #define HAVE_POW 1
20850 _ACEOF
20857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl" >&5
20858 $as_echo_n "checking for powl... " >&6; }
20859 if test "${gcc_cv_math_func_powl+set}" = set; then :
20860 $as_echo_n "(cached) " >&6
20861 else
20862 if test x$gcc_no_link = xyes; then
20863 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20866 /* end confdefs.h. */
20868 #ifdef HAVE_COMPLEX_H
20869 #include <complex.h>
20870 #endif
20871 #ifdef HAVE_MATH_H
20872 #include <math.h>
20873 #endif
20875 int (*ptr)() = (int (*)())powl;
20878 main ()
20880 return 0;
20883 _ACEOF
20884 if ac_fn_c_try_link "$LINENO"; then :
20885 gcc_cv_math_func_powl=yes
20886 else
20887 gcc_cv_math_func_powl=no
20889 rm -f core conftest.err conftest.$ac_objext \
20890 conftest$ac_exeext conftest.$ac_ext
20892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_powl" >&5
20893 $as_echo "$gcc_cv_math_func_powl" >&6; }
20894 if test $gcc_cv_math_func_powl = yes; then
20896 cat >>confdefs.h <<_ACEOF
20897 #define HAVE_POWL 1
20898 _ACEOF
20905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowf" >&5
20906 $as_echo_n "checking for cpowf... " >&6; }
20907 if test "${gcc_cv_math_func_cpowf+set}" = set; then :
20908 $as_echo_n "(cached) " >&6
20909 else
20910 if test x$gcc_no_link = xyes; then
20911 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20914 /* end confdefs.h. */
20916 #ifdef HAVE_COMPLEX_H
20917 #include <complex.h>
20918 #endif
20919 #ifdef HAVE_MATH_H
20920 #include <math.h>
20921 #endif
20923 int (*ptr)() = (int (*)())cpowf;
20926 main ()
20928 return 0;
20931 _ACEOF
20932 if ac_fn_c_try_link "$LINENO"; then :
20933 gcc_cv_math_func_cpowf=yes
20934 else
20935 gcc_cv_math_func_cpowf=no
20937 rm -f core conftest.err conftest.$ac_objext \
20938 conftest$ac_exeext conftest.$ac_ext
20940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowf" >&5
20941 $as_echo "$gcc_cv_math_func_cpowf" >&6; }
20942 if test $gcc_cv_math_func_cpowf = yes; then
20944 cat >>confdefs.h <<_ACEOF
20945 #define HAVE_CPOWF 1
20946 _ACEOF
20953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpow" >&5
20954 $as_echo_n "checking for cpow... " >&6; }
20955 if test "${gcc_cv_math_func_cpow+set}" = set; then :
20956 $as_echo_n "(cached) " >&6
20957 else
20958 if test x$gcc_no_link = xyes; then
20959 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20962 /* end confdefs.h. */
20964 #ifdef HAVE_COMPLEX_H
20965 #include <complex.h>
20966 #endif
20967 #ifdef HAVE_MATH_H
20968 #include <math.h>
20969 #endif
20971 int (*ptr)() = (int (*)())cpow;
20974 main ()
20976 return 0;
20979 _ACEOF
20980 if ac_fn_c_try_link "$LINENO"; then :
20981 gcc_cv_math_func_cpow=yes
20982 else
20983 gcc_cv_math_func_cpow=no
20985 rm -f core conftest.err conftest.$ac_objext \
20986 conftest$ac_exeext conftest.$ac_ext
20988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpow" >&5
20989 $as_echo "$gcc_cv_math_func_cpow" >&6; }
20990 if test $gcc_cv_math_func_cpow = yes; then
20992 cat >>confdefs.h <<_ACEOF
20993 #define HAVE_CPOW 1
20994 _ACEOF
21001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowl" >&5
21002 $as_echo_n "checking for cpowl... " >&6; }
21003 if test "${gcc_cv_math_func_cpowl+set}" = set; then :
21004 $as_echo_n "(cached) " >&6
21005 else
21006 if test x$gcc_no_link = xyes; then
21007 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21010 /* end confdefs.h. */
21012 #ifdef HAVE_COMPLEX_H
21013 #include <complex.h>
21014 #endif
21015 #ifdef HAVE_MATH_H
21016 #include <math.h>
21017 #endif
21019 int (*ptr)() = (int (*)())cpowl;
21022 main ()
21024 return 0;
21027 _ACEOF
21028 if ac_fn_c_try_link "$LINENO"; then :
21029 gcc_cv_math_func_cpowl=yes
21030 else
21031 gcc_cv_math_func_cpowl=no
21033 rm -f core conftest.err conftest.$ac_objext \
21034 conftest$ac_exeext conftest.$ac_ext
21036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowl" >&5
21037 $as_echo "$gcc_cv_math_func_cpowl" >&6; }
21038 if test $gcc_cv_math_func_cpowl = yes; then
21040 cat >>confdefs.h <<_ACEOF
21041 #define HAVE_CPOWL 1
21042 _ACEOF
21049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundf" >&5
21050 $as_echo_n "checking for roundf... " >&6; }
21051 if test "${gcc_cv_math_func_roundf+set}" = set; then :
21052 $as_echo_n "(cached) " >&6
21053 else
21054 if test x$gcc_no_link = xyes; then
21055 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21058 /* end confdefs.h. */
21060 #ifdef HAVE_COMPLEX_H
21061 #include <complex.h>
21062 #endif
21063 #ifdef HAVE_MATH_H
21064 #include <math.h>
21065 #endif
21067 int (*ptr)() = (int (*)())roundf;
21070 main ()
21072 return 0;
21075 _ACEOF
21076 if ac_fn_c_try_link "$LINENO"; then :
21077 gcc_cv_math_func_roundf=yes
21078 else
21079 gcc_cv_math_func_roundf=no
21081 rm -f core conftest.err conftest.$ac_objext \
21082 conftest$ac_exeext conftest.$ac_ext
21084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundf" >&5
21085 $as_echo "$gcc_cv_math_func_roundf" >&6; }
21086 if test $gcc_cv_math_func_roundf = yes; then
21088 cat >>confdefs.h <<_ACEOF
21089 #define HAVE_ROUNDF 1
21090 _ACEOF
21097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for round" >&5
21098 $as_echo_n "checking for round... " >&6; }
21099 if test "${gcc_cv_math_func_round+set}" = set; then :
21100 $as_echo_n "(cached) " >&6
21101 else
21102 if test x$gcc_no_link = xyes; then
21103 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21106 /* end confdefs.h. */
21108 #ifdef HAVE_COMPLEX_H
21109 #include <complex.h>
21110 #endif
21111 #ifdef HAVE_MATH_H
21112 #include <math.h>
21113 #endif
21115 int (*ptr)() = (int (*)())round;
21118 main ()
21120 return 0;
21123 _ACEOF
21124 if ac_fn_c_try_link "$LINENO"; then :
21125 gcc_cv_math_func_round=yes
21126 else
21127 gcc_cv_math_func_round=no
21129 rm -f core conftest.err conftest.$ac_objext \
21130 conftest$ac_exeext conftest.$ac_ext
21132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_round" >&5
21133 $as_echo "$gcc_cv_math_func_round" >&6; }
21134 if test $gcc_cv_math_func_round = yes; then
21136 cat >>confdefs.h <<_ACEOF
21137 #define HAVE_ROUND 1
21138 _ACEOF
21145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundl" >&5
21146 $as_echo_n "checking for roundl... " >&6; }
21147 if test "${gcc_cv_math_func_roundl+set}" = set; then :
21148 $as_echo_n "(cached) " >&6
21149 else
21150 if test x$gcc_no_link = xyes; then
21151 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21154 /* end confdefs.h. */
21156 #ifdef HAVE_COMPLEX_H
21157 #include <complex.h>
21158 #endif
21159 #ifdef HAVE_MATH_H
21160 #include <math.h>
21161 #endif
21163 int (*ptr)() = (int (*)())roundl;
21166 main ()
21168 return 0;
21171 _ACEOF
21172 if ac_fn_c_try_link "$LINENO"; then :
21173 gcc_cv_math_func_roundl=yes
21174 else
21175 gcc_cv_math_func_roundl=no
21177 rm -f core conftest.err conftest.$ac_objext \
21178 conftest$ac_exeext conftest.$ac_ext
21180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundl" >&5
21181 $as_echo "$gcc_cv_math_func_roundl" >&6; }
21182 if test $gcc_cv_math_func_roundl = yes; then
21184 cat >>confdefs.h <<_ACEOF
21185 #define HAVE_ROUNDL 1
21186 _ACEOF
21193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundf" >&5
21194 $as_echo_n "checking for lroundf... " >&6; }
21195 if test "${gcc_cv_math_func_lroundf+set}" = set; then :
21196 $as_echo_n "(cached) " >&6
21197 else
21198 if test x$gcc_no_link = xyes; then
21199 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21202 /* end confdefs.h. */
21204 #ifdef HAVE_COMPLEX_H
21205 #include <complex.h>
21206 #endif
21207 #ifdef HAVE_MATH_H
21208 #include <math.h>
21209 #endif
21211 int (*ptr)() = (int (*)())lroundf;
21214 main ()
21216 return 0;
21219 _ACEOF
21220 if ac_fn_c_try_link "$LINENO"; then :
21221 gcc_cv_math_func_lroundf=yes
21222 else
21223 gcc_cv_math_func_lroundf=no
21225 rm -f core conftest.err conftest.$ac_objext \
21226 conftest$ac_exeext conftest.$ac_ext
21228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundf" >&5
21229 $as_echo "$gcc_cv_math_func_lroundf" >&6; }
21230 if test $gcc_cv_math_func_lroundf = yes; then
21232 cat >>confdefs.h <<_ACEOF
21233 #define HAVE_LROUNDF 1
21234 _ACEOF
21241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lround" >&5
21242 $as_echo_n "checking for lround... " >&6; }
21243 if test "${gcc_cv_math_func_lround+set}" = set; then :
21244 $as_echo_n "(cached) " >&6
21245 else
21246 if test x$gcc_no_link = xyes; then
21247 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21250 /* end confdefs.h. */
21252 #ifdef HAVE_COMPLEX_H
21253 #include <complex.h>
21254 #endif
21255 #ifdef HAVE_MATH_H
21256 #include <math.h>
21257 #endif
21259 int (*ptr)() = (int (*)())lround;
21262 main ()
21264 return 0;
21267 _ACEOF
21268 if ac_fn_c_try_link "$LINENO"; then :
21269 gcc_cv_math_func_lround=yes
21270 else
21271 gcc_cv_math_func_lround=no
21273 rm -f core conftest.err conftest.$ac_objext \
21274 conftest$ac_exeext conftest.$ac_ext
21276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lround" >&5
21277 $as_echo "$gcc_cv_math_func_lround" >&6; }
21278 if test $gcc_cv_math_func_lround = yes; then
21280 cat >>confdefs.h <<_ACEOF
21281 #define HAVE_LROUND 1
21282 _ACEOF
21289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundl" >&5
21290 $as_echo_n "checking for lroundl... " >&6; }
21291 if test "${gcc_cv_math_func_lroundl+set}" = set; then :
21292 $as_echo_n "(cached) " >&6
21293 else
21294 if test x$gcc_no_link = xyes; then
21295 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21298 /* end confdefs.h. */
21300 #ifdef HAVE_COMPLEX_H
21301 #include <complex.h>
21302 #endif
21303 #ifdef HAVE_MATH_H
21304 #include <math.h>
21305 #endif
21307 int (*ptr)() = (int (*)())lroundl;
21310 main ()
21312 return 0;
21315 _ACEOF
21316 if ac_fn_c_try_link "$LINENO"; then :
21317 gcc_cv_math_func_lroundl=yes
21318 else
21319 gcc_cv_math_func_lroundl=no
21321 rm -f core conftest.err conftest.$ac_objext \
21322 conftest$ac_exeext conftest.$ac_ext
21324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundl" >&5
21325 $as_echo "$gcc_cv_math_func_lroundl" >&6; }
21326 if test $gcc_cv_math_func_lroundl = yes; then
21328 cat >>confdefs.h <<_ACEOF
21329 #define HAVE_LROUNDL 1
21330 _ACEOF
21337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundf" >&5
21338 $as_echo_n "checking for llroundf... " >&6; }
21339 if test "${gcc_cv_math_func_llroundf+set}" = set; then :
21340 $as_echo_n "(cached) " >&6
21341 else
21342 if test x$gcc_no_link = xyes; then
21343 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21346 /* end confdefs.h. */
21348 #ifdef HAVE_COMPLEX_H
21349 #include <complex.h>
21350 #endif
21351 #ifdef HAVE_MATH_H
21352 #include <math.h>
21353 #endif
21355 int (*ptr)() = (int (*)())llroundf;
21358 main ()
21360 return 0;
21363 _ACEOF
21364 if ac_fn_c_try_link "$LINENO"; then :
21365 gcc_cv_math_func_llroundf=yes
21366 else
21367 gcc_cv_math_func_llroundf=no
21369 rm -f core conftest.err conftest.$ac_objext \
21370 conftest$ac_exeext conftest.$ac_ext
21372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundf" >&5
21373 $as_echo "$gcc_cv_math_func_llroundf" >&6; }
21374 if test $gcc_cv_math_func_llroundf = yes; then
21376 cat >>confdefs.h <<_ACEOF
21377 #define HAVE_LLROUNDF 1
21378 _ACEOF
21385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llround" >&5
21386 $as_echo_n "checking for llround... " >&6; }
21387 if test "${gcc_cv_math_func_llround+set}" = set; then :
21388 $as_echo_n "(cached) " >&6
21389 else
21390 if test x$gcc_no_link = xyes; then
21391 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21394 /* end confdefs.h. */
21396 #ifdef HAVE_COMPLEX_H
21397 #include <complex.h>
21398 #endif
21399 #ifdef HAVE_MATH_H
21400 #include <math.h>
21401 #endif
21403 int (*ptr)() = (int (*)())llround;
21406 main ()
21408 return 0;
21411 _ACEOF
21412 if ac_fn_c_try_link "$LINENO"; then :
21413 gcc_cv_math_func_llround=yes
21414 else
21415 gcc_cv_math_func_llround=no
21417 rm -f core conftest.err conftest.$ac_objext \
21418 conftest$ac_exeext conftest.$ac_ext
21420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llround" >&5
21421 $as_echo "$gcc_cv_math_func_llround" >&6; }
21422 if test $gcc_cv_math_func_llround = yes; then
21424 cat >>confdefs.h <<_ACEOF
21425 #define HAVE_LLROUND 1
21426 _ACEOF
21433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundl" >&5
21434 $as_echo_n "checking for llroundl... " >&6; }
21435 if test "${gcc_cv_math_func_llroundl+set}" = set; then :
21436 $as_echo_n "(cached) " >&6
21437 else
21438 if test x$gcc_no_link = xyes; then
21439 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21442 /* end confdefs.h. */
21444 #ifdef HAVE_COMPLEX_H
21445 #include <complex.h>
21446 #endif
21447 #ifdef HAVE_MATH_H
21448 #include <math.h>
21449 #endif
21451 int (*ptr)() = (int (*)())llroundl;
21454 main ()
21456 return 0;
21459 _ACEOF
21460 if ac_fn_c_try_link "$LINENO"; then :
21461 gcc_cv_math_func_llroundl=yes
21462 else
21463 gcc_cv_math_func_llroundl=no
21465 rm -f core conftest.err conftest.$ac_objext \
21466 conftest$ac_exeext conftest.$ac_ext
21468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundl" >&5
21469 $as_echo "$gcc_cv_math_func_llroundl" >&6; }
21470 if test $gcc_cv_math_func_llroundl = yes; then
21472 cat >>confdefs.h <<_ACEOF
21473 #define HAVE_LLROUNDL 1
21474 _ACEOF
21481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnf" >&5
21482 $as_echo_n "checking for scalbnf... " >&6; }
21483 if test "${gcc_cv_math_func_scalbnf+set}" = set; then :
21484 $as_echo_n "(cached) " >&6
21485 else
21486 if test x$gcc_no_link = xyes; then
21487 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21490 /* end confdefs.h. */
21492 #ifdef HAVE_COMPLEX_H
21493 #include <complex.h>
21494 #endif
21495 #ifdef HAVE_MATH_H
21496 #include <math.h>
21497 #endif
21499 int (*ptr)() = (int (*)())scalbnf;
21502 main ()
21504 return 0;
21507 _ACEOF
21508 if ac_fn_c_try_link "$LINENO"; then :
21509 gcc_cv_math_func_scalbnf=yes
21510 else
21511 gcc_cv_math_func_scalbnf=no
21513 rm -f core conftest.err conftest.$ac_objext \
21514 conftest$ac_exeext conftest.$ac_ext
21516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnf" >&5
21517 $as_echo "$gcc_cv_math_func_scalbnf" >&6; }
21518 if test $gcc_cv_math_func_scalbnf = yes; then
21520 cat >>confdefs.h <<_ACEOF
21521 #define HAVE_SCALBNF 1
21522 _ACEOF
21529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbn" >&5
21530 $as_echo_n "checking for scalbn... " >&6; }
21531 if test "${gcc_cv_math_func_scalbn+set}" = set; then :
21532 $as_echo_n "(cached) " >&6
21533 else
21534 if test x$gcc_no_link = xyes; then
21535 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21538 /* end confdefs.h. */
21540 #ifdef HAVE_COMPLEX_H
21541 #include <complex.h>
21542 #endif
21543 #ifdef HAVE_MATH_H
21544 #include <math.h>
21545 #endif
21547 int (*ptr)() = (int (*)())scalbn;
21550 main ()
21552 return 0;
21555 _ACEOF
21556 if ac_fn_c_try_link "$LINENO"; then :
21557 gcc_cv_math_func_scalbn=yes
21558 else
21559 gcc_cv_math_func_scalbn=no
21561 rm -f core conftest.err conftest.$ac_objext \
21562 conftest$ac_exeext conftest.$ac_ext
21564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbn" >&5
21565 $as_echo "$gcc_cv_math_func_scalbn" >&6; }
21566 if test $gcc_cv_math_func_scalbn = yes; then
21568 cat >>confdefs.h <<_ACEOF
21569 #define HAVE_SCALBN 1
21570 _ACEOF
21577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnl" >&5
21578 $as_echo_n "checking for scalbnl... " >&6; }
21579 if test "${gcc_cv_math_func_scalbnl+set}" = set; then :
21580 $as_echo_n "(cached) " >&6
21581 else
21582 if test x$gcc_no_link = xyes; then
21583 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21586 /* end confdefs.h. */
21588 #ifdef HAVE_COMPLEX_H
21589 #include <complex.h>
21590 #endif
21591 #ifdef HAVE_MATH_H
21592 #include <math.h>
21593 #endif
21595 int (*ptr)() = (int (*)())scalbnl;
21598 main ()
21600 return 0;
21603 _ACEOF
21604 if ac_fn_c_try_link "$LINENO"; then :
21605 gcc_cv_math_func_scalbnl=yes
21606 else
21607 gcc_cv_math_func_scalbnl=no
21609 rm -f core conftest.err conftest.$ac_objext \
21610 conftest$ac_exeext conftest.$ac_ext
21612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnl" >&5
21613 $as_echo "$gcc_cv_math_func_scalbnl" >&6; }
21614 if test $gcc_cv_math_func_scalbnl = yes; then
21616 cat >>confdefs.h <<_ACEOF
21617 #define HAVE_SCALBNL 1
21618 _ACEOF
21625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinf" >&5
21626 $as_echo_n "checking for sinf... " >&6; }
21627 if test "${gcc_cv_math_func_sinf+set}" = set; then :
21628 $as_echo_n "(cached) " >&6
21629 else
21630 if test x$gcc_no_link = xyes; then
21631 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21634 /* end confdefs.h. */
21636 #ifdef HAVE_COMPLEX_H
21637 #include <complex.h>
21638 #endif
21639 #ifdef HAVE_MATH_H
21640 #include <math.h>
21641 #endif
21643 int (*ptr)() = (int (*)())sinf;
21646 main ()
21648 return 0;
21651 _ACEOF
21652 if ac_fn_c_try_link "$LINENO"; then :
21653 gcc_cv_math_func_sinf=yes
21654 else
21655 gcc_cv_math_func_sinf=no
21657 rm -f core conftest.err conftest.$ac_objext \
21658 conftest$ac_exeext conftest.$ac_ext
21660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinf" >&5
21661 $as_echo "$gcc_cv_math_func_sinf" >&6; }
21662 if test $gcc_cv_math_func_sinf = yes; then
21664 cat >>confdefs.h <<_ACEOF
21665 #define HAVE_SINF 1
21666 _ACEOF
21673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin" >&5
21674 $as_echo_n "checking for sin... " >&6; }
21675 if test "${gcc_cv_math_func_sin+set}" = set; then :
21676 $as_echo_n "(cached) " >&6
21677 else
21678 if test x$gcc_no_link = xyes; then
21679 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21682 /* end confdefs.h. */
21684 #ifdef HAVE_COMPLEX_H
21685 #include <complex.h>
21686 #endif
21687 #ifdef HAVE_MATH_H
21688 #include <math.h>
21689 #endif
21691 int (*ptr)() = (int (*)())sin;
21694 main ()
21696 return 0;
21699 _ACEOF
21700 if ac_fn_c_try_link "$LINENO"; then :
21701 gcc_cv_math_func_sin=yes
21702 else
21703 gcc_cv_math_func_sin=no
21705 rm -f core conftest.err conftest.$ac_objext \
21706 conftest$ac_exeext conftest.$ac_ext
21708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sin" >&5
21709 $as_echo "$gcc_cv_math_func_sin" >&6; }
21710 if test $gcc_cv_math_func_sin = yes; then
21712 cat >>confdefs.h <<_ACEOF
21713 #define HAVE_SIN 1
21714 _ACEOF
21721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinl" >&5
21722 $as_echo_n "checking for sinl... " >&6; }
21723 if test "${gcc_cv_math_func_sinl+set}" = set; then :
21724 $as_echo_n "(cached) " >&6
21725 else
21726 if test x$gcc_no_link = xyes; then
21727 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21730 /* end confdefs.h. */
21732 #ifdef HAVE_COMPLEX_H
21733 #include <complex.h>
21734 #endif
21735 #ifdef HAVE_MATH_H
21736 #include <math.h>
21737 #endif
21739 int (*ptr)() = (int (*)())sinl;
21742 main ()
21744 return 0;
21747 _ACEOF
21748 if ac_fn_c_try_link "$LINENO"; then :
21749 gcc_cv_math_func_sinl=yes
21750 else
21751 gcc_cv_math_func_sinl=no
21753 rm -f core conftest.err conftest.$ac_objext \
21754 conftest$ac_exeext conftest.$ac_ext
21756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinl" >&5
21757 $as_echo "$gcc_cv_math_func_sinl" >&6; }
21758 if test $gcc_cv_math_func_sinl = yes; then
21760 cat >>confdefs.h <<_ACEOF
21761 #define HAVE_SINL 1
21762 _ACEOF
21769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinf" >&5
21770 $as_echo_n "checking for csinf... " >&6; }
21771 if test "${gcc_cv_math_func_csinf+set}" = set; then :
21772 $as_echo_n "(cached) " >&6
21773 else
21774 if test x$gcc_no_link = xyes; then
21775 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21778 /* end confdefs.h. */
21780 #ifdef HAVE_COMPLEX_H
21781 #include <complex.h>
21782 #endif
21783 #ifdef HAVE_MATH_H
21784 #include <math.h>
21785 #endif
21787 int (*ptr)() = (int (*)())csinf;
21790 main ()
21792 return 0;
21795 _ACEOF
21796 if ac_fn_c_try_link "$LINENO"; then :
21797 gcc_cv_math_func_csinf=yes
21798 else
21799 gcc_cv_math_func_csinf=no
21801 rm -f core conftest.err conftest.$ac_objext \
21802 conftest$ac_exeext conftest.$ac_ext
21804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinf" >&5
21805 $as_echo "$gcc_cv_math_func_csinf" >&6; }
21806 if test $gcc_cv_math_func_csinf = yes; then
21808 cat >>confdefs.h <<_ACEOF
21809 #define HAVE_CSINF 1
21810 _ACEOF
21817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csin" >&5
21818 $as_echo_n "checking for csin... " >&6; }
21819 if test "${gcc_cv_math_func_csin+set}" = set; then :
21820 $as_echo_n "(cached) " >&6
21821 else
21822 if test x$gcc_no_link = xyes; then
21823 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21826 /* end confdefs.h. */
21828 #ifdef HAVE_COMPLEX_H
21829 #include <complex.h>
21830 #endif
21831 #ifdef HAVE_MATH_H
21832 #include <math.h>
21833 #endif
21835 int (*ptr)() = (int (*)())csin;
21838 main ()
21840 return 0;
21843 _ACEOF
21844 if ac_fn_c_try_link "$LINENO"; then :
21845 gcc_cv_math_func_csin=yes
21846 else
21847 gcc_cv_math_func_csin=no
21849 rm -f core conftest.err conftest.$ac_objext \
21850 conftest$ac_exeext conftest.$ac_ext
21852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csin" >&5
21853 $as_echo "$gcc_cv_math_func_csin" >&6; }
21854 if test $gcc_cv_math_func_csin = yes; then
21856 cat >>confdefs.h <<_ACEOF
21857 #define HAVE_CSIN 1
21858 _ACEOF
21865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinl" >&5
21866 $as_echo_n "checking for csinl... " >&6; }
21867 if test "${gcc_cv_math_func_csinl+set}" = set; then :
21868 $as_echo_n "(cached) " >&6
21869 else
21870 if test x$gcc_no_link = xyes; then
21871 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21874 /* end confdefs.h. */
21876 #ifdef HAVE_COMPLEX_H
21877 #include <complex.h>
21878 #endif
21879 #ifdef HAVE_MATH_H
21880 #include <math.h>
21881 #endif
21883 int (*ptr)() = (int (*)())csinl;
21886 main ()
21888 return 0;
21891 _ACEOF
21892 if ac_fn_c_try_link "$LINENO"; then :
21893 gcc_cv_math_func_csinl=yes
21894 else
21895 gcc_cv_math_func_csinl=no
21897 rm -f core conftest.err conftest.$ac_objext \
21898 conftest$ac_exeext conftest.$ac_ext
21900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinl" >&5
21901 $as_echo "$gcc_cv_math_func_csinl" >&6; }
21902 if test $gcc_cv_math_func_csinl = yes; then
21904 cat >>confdefs.h <<_ACEOF
21905 #define HAVE_CSINL 1
21906 _ACEOF
21913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhf" >&5
21914 $as_echo_n "checking for sinhf... " >&6; }
21915 if test "${gcc_cv_math_func_sinhf+set}" = set; then :
21916 $as_echo_n "(cached) " >&6
21917 else
21918 if test x$gcc_no_link = xyes; then
21919 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21922 /* end confdefs.h. */
21924 #ifdef HAVE_COMPLEX_H
21925 #include <complex.h>
21926 #endif
21927 #ifdef HAVE_MATH_H
21928 #include <math.h>
21929 #endif
21931 int (*ptr)() = (int (*)())sinhf;
21934 main ()
21936 return 0;
21939 _ACEOF
21940 if ac_fn_c_try_link "$LINENO"; then :
21941 gcc_cv_math_func_sinhf=yes
21942 else
21943 gcc_cv_math_func_sinhf=no
21945 rm -f core conftest.err conftest.$ac_objext \
21946 conftest$ac_exeext conftest.$ac_ext
21948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhf" >&5
21949 $as_echo "$gcc_cv_math_func_sinhf" >&6; }
21950 if test $gcc_cv_math_func_sinhf = yes; then
21952 cat >>confdefs.h <<_ACEOF
21953 #define HAVE_SINHF 1
21954 _ACEOF
21961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinh" >&5
21962 $as_echo_n "checking for sinh... " >&6; }
21963 if test "${gcc_cv_math_func_sinh+set}" = set; then :
21964 $as_echo_n "(cached) " >&6
21965 else
21966 if test x$gcc_no_link = xyes; then
21967 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21970 /* end confdefs.h. */
21972 #ifdef HAVE_COMPLEX_H
21973 #include <complex.h>
21974 #endif
21975 #ifdef HAVE_MATH_H
21976 #include <math.h>
21977 #endif
21979 int (*ptr)() = (int (*)())sinh;
21982 main ()
21984 return 0;
21987 _ACEOF
21988 if ac_fn_c_try_link "$LINENO"; then :
21989 gcc_cv_math_func_sinh=yes
21990 else
21991 gcc_cv_math_func_sinh=no
21993 rm -f core conftest.err conftest.$ac_objext \
21994 conftest$ac_exeext conftest.$ac_ext
21996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinh" >&5
21997 $as_echo "$gcc_cv_math_func_sinh" >&6; }
21998 if test $gcc_cv_math_func_sinh = yes; then
22000 cat >>confdefs.h <<_ACEOF
22001 #define HAVE_SINH 1
22002 _ACEOF
22009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhl" >&5
22010 $as_echo_n "checking for sinhl... " >&6; }
22011 if test "${gcc_cv_math_func_sinhl+set}" = set; then :
22012 $as_echo_n "(cached) " >&6
22013 else
22014 if test x$gcc_no_link = xyes; then
22015 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22018 /* end confdefs.h. */
22020 #ifdef HAVE_COMPLEX_H
22021 #include <complex.h>
22022 #endif
22023 #ifdef HAVE_MATH_H
22024 #include <math.h>
22025 #endif
22027 int (*ptr)() = (int (*)())sinhl;
22030 main ()
22032 return 0;
22035 _ACEOF
22036 if ac_fn_c_try_link "$LINENO"; then :
22037 gcc_cv_math_func_sinhl=yes
22038 else
22039 gcc_cv_math_func_sinhl=no
22041 rm -f core conftest.err conftest.$ac_objext \
22042 conftest$ac_exeext conftest.$ac_ext
22044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhl" >&5
22045 $as_echo "$gcc_cv_math_func_sinhl" >&6; }
22046 if test $gcc_cv_math_func_sinhl = yes; then
22048 cat >>confdefs.h <<_ACEOF
22049 #define HAVE_SINHL 1
22050 _ACEOF
22057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhf" >&5
22058 $as_echo_n "checking for csinhf... " >&6; }
22059 if test "${gcc_cv_math_func_csinhf+set}" = set; then :
22060 $as_echo_n "(cached) " >&6
22061 else
22062 if test x$gcc_no_link = xyes; then
22063 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22066 /* end confdefs.h. */
22068 #ifdef HAVE_COMPLEX_H
22069 #include <complex.h>
22070 #endif
22071 #ifdef HAVE_MATH_H
22072 #include <math.h>
22073 #endif
22075 int (*ptr)() = (int (*)())csinhf;
22078 main ()
22080 return 0;
22083 _ACEOF
22084 if ac_fn_c_try_link "$LINENO"; then :
22085 gcc_cv_math_func_csinhf=yes
22086 else
22087 gcc_cv_math_func_csinhf=no
22089 rm -f core conftest.err conftest.$ac_objext \
22090 conftest$ac_exeext conftest.$ac_ext
22092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhf" >&5
22093 $as_echo "$gcc_cv_math_func_csinhf" >&6; }
22094 if test $gcc_cv_math_func_csinhf = yes; then
22096 cat >>confdefs.h <<_ACEOF
22097 #define HAVE_CSINHF 1
22098 _ACEOF
22105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinh" >&5
22106 $as_echo_n "checking for csinh... " >&6; }
22107 if test "${gcc_cv_math_func_csinh+set}" = set; then :
22108 $as_echo_n "(cached) " >&6
22109 else
22110 if test x$gcc_no_link = xyes; then
22111 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22114 /* end confdefs.h. */
22116 #ifdef HAVE_COMPLEX_H
22117 #include <complex.h>
22118 #endif
22119 #ifdef HAVE_MATH_H
22120 #include <math.h>
22121 #endif
22123 int (*ptr)() = (int (*)())csinh;
22126 main ()
22128 return 0;
22131 _ACEOF
22132 if ac_fn_c_try_link "$LINENO"; then :
22133 gcc_cv_math_func_csinh=yes
22134 else
22135 gcc_cv_math_func_csinh=no
22137 rm -f core conftest.err conftest.$ac_objext \
22138 conftest$ac_exeext conftest.$ac_ext
22140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinh" >&5
22141 $as_echo "$gcc_cv_math_func_csinh" >&6; }
22142 if test $gcc_cv_math_func_csinh = yes; then
22144 cat >>confdefs.h <<_ACEOF
22145 #define HAVE_CSINH 1
22146 _ACEOF
22153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhl" >&5
22154 $as_echo_n "checking for csinhl... " >&6; }
22155 if test "${gcc_cv_math_func_csinhl+set}" = set; then :
22156 $as_echo_n "(cached) " >&6
22157 else
22158 if test x$gcc_no_link = xyes; then
22159 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22162 /* end confdefs.h. */
22164 #ifdef HAVE_COMPLEX_H
22165 #include <complex.h>
22166 #endif
22167 #ifdef HAVE_MATH_H
22168 #include <math.h>
22169 #endif
22171 int (*ptr)() = (int (*)())csinhl;
22174 main ()
22176 return 0;
22179 _ACEOF
22180 if ac_fn_c_try_link "$LINENO"; then :
22181 gcc_cv_math_func_csinhl=yes
22182 else
22183 gcc_cv_math_func_csinhl=no
22185 rm -f core conftest.err conftest.$ac_objext \
22186 conftest$ac_exeext conftest.$ac_ext
22188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhl" >&5
22189 $as_echo "$gcc_cv_math_func_csinhl" >&6; }
22190 if test $gcc_cv_math_func_csinhl = yes; then
22192 cat >>confdefs.h <<_ACEOF
22193 #define HAVE_CSINHL 1
22194 _ACEOF
22201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf" >&5
22202 $as_echo_n "checking for sqrtf... " >&6; }
22203 if test "${gcc_cv_math_func_sqrtf+set}" = set; then :
22204 $as_echo_n "(cached) " >&6
22205 else
22206 if test x$gcc_no_link = xyes; then
22207 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22210 /* end confdefs.h. */
22212 #ifdef HAVE_COMPLEX_H
22213 #include <complex.h>
22214 #endif
22215 #ifdef HAVE_MATH_H
22216 #include <math.h>
22217 #endif
22219 int (*ptr)() = (int (*)())sqrtf;
22222 main ()
22224 return 0;
22227 _ACEOF
22228 if ac_fn_c_try_link "$LINENO"; then :
22229 gcc_cv_math_func_sqrtf=yes
22230 else
22231 gcc_cv_math_func_sqrtf=no
22233 rm -f core conftest.err conftest.$ac_objext \
22234 conftest$ac_exeext conftest.$ac_ext
22236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtf" >&5
22237 $as_echo "$gcc_cv_math_func_sqrtf" >&6; }
22238 if test $gcc_cv_math_func_sqrtf = yes; then
22240 cat >>confdefs.h <<_ACEOF
22241 #define HAVE_SQRTF 1
22242 _ACEOF
22249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt" >&5
22250 $as_echo_n "checking for sqrt... " >&6; }
22251 if test "${gcc_cv_math_func_sqrt+set}" = set; then :
22252 $as_echo_n "(cached) " >&6
22253 else
22254 if test x$gcc_no_link = xyes; then
22255 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22258 /* end confdefs.h. */
22260 #ifdef HAVE_COMPLEX_H
22261 #include <complex.h>
22262 #endif
22263 #ifdef HAVE_MATH_H
22264 #include <math.h>
22265 #endif
22267 int (*ptr)() = (int (*)())sqrt;
22270 main ()
22272 return 0;
22275 _ACEOF
22276 if ac_fn_c_try_link "$LINENO"; then :
22277 gcc_cv_math_func_sqrt=yes
22278 else
22279 gcc_cv_math_func_sqrt=no
22281 rm -f core conftest.err conftest.$ac_objext \
22282 conftest$ac_exeext conftest.$ac_ext
22284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrt" >&5
22285 $as_echo "$gcc_cv_math_func_sqrt" >&6; }
22286 if test $gcc_cv_math_func_sqrt = yes; then
22288 cat >>confdefs.h <<_ACEOF
22289 #define HAVE_SQRT 1
22290 _ACEOF
22297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl" >&5
22298 $as_echo_n "checking for sqrtl... " >&6; }
22299 if test "${gcc_cv_math_func_sqrtl+set}" = set; then :
22300 $as_echo_n "(cached) " >&6
22301 else
22302 if test x$gcc_no_link = xyes; then
22303 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22306 /* end confdefs.h. */
22308 #ifdef HAVE_COMPLEX_H
22309 #include <complex.h>
22310 #endif
22311 #ifdef HAVE_MATH_H
22312 #include <math.h>
22313 #endif
22315 int (*ptr)() = (int (*)())sqrtl;
22318 main ()
22320 return 0;
22323 _ACEOF
22324 if ac_fn_c_try_link "$LINENO"; then :
22325 gcc_cv_math_func_sqrtl=yes
22326 else
22327 gcc_cv_math_func_sqrtl=no
22329 rm -f core conftest.err conftest.$ac_objext \
22330 conftest$ac_exeext conftest.$ac_ext
22332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtl" >&5
22333 $as_echo "$gcc_cv_math_func_sqrtl" >&6; }
22334 if test $gcc_cv_math_func_sqrtl = yes; then
22336 cat >>confdefs.h <<_ACEOF
22337 #define HAVE_SQRTL 1
22338 _ACEOF
22345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtf" >&5
22346 $as_echo_n "checking for csqrtf... " >&6; }
22347 if test "${gcc_cv_math_func_csqrtf+set}" = set; then :
22348 $as_echo_n "(cached) " >&6
22349 else
22350 if test x$gcc_no_link = xyes; then
22351 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22354 /* end confdefs.h. */
22356 #ifdef HAVE_COMPLEX_H
22357 #include <complex.h>
22358 #endif
22359 #ifdef HAVE_MATH_H
22360 #include <math.h>
22361 #endif
22363 int (*ptr)() = (int (*)())csqrtf;
22366 main ()
22368 return 0;
22371 _ACEOF
22372 if ac_fn_c_try_link "$LINENO"; then :
22373 gcc_cv_math_func_csqrtf=yes
22374 else
22375 gcc_cv_math_func_csqrtf=no
22377 rm -f core conftest.err conftest.$ac_objext \
22378 conftest$ac_exeext conftest.$ac_ext
22380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtf" >&5
22381 $as_echo "$gcc_cv_math_func_csqrtf" >&6; }
22382 if test $gcc_cv_math_func_csqrtf = yes; then
22384 cat >>confdefs.h <<_ACEOF
22385 #define HAVE_CSQRTF 1
22386 _ACEOF
22393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrt" >&5
22394 $as_echo_n "checking for csqrt... " >&6; }
22395 if test "${gcc_cv_math_func_csqrt+set}" = set; then :
22396 $as_echo_n "(cached) " >&6
22397 else
22398 if test x$gcc_no_link = xyes; then
22399 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22402 /* end confdefs.h. */
22404 #ifdef HAVE_COMPLEX_H
22405 #include <complex.h>
22406 #endif
22407 #ifdef HAVE_MATH_H
22408 #include <math.h>
22409 #endif
22411 int (*ptr)() = (int (*)())csqrt;
22414 main ()
22416 return 0;
22419 _ACEOF
22420 if ac_fn_c_try_link "$LINENO"; then :
22421 gcc_cv_math_func_csqrt=yes
22422 else
22423 gcc_cv_math_func_csqrt=no
22425 rm -f core conftest.err conftest.$ac_objext \
22426 conftest$ac_exeext conftest.$ac_ext
22428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrt" >&5
22429 $as_echo "$gcc_cv_math_func_csqrt" >&6; }
22430 if test $gcc_cv_math_func_csqrt = yes; then
22432 cat >>confdefs.h <<_ACEOF
22433 #define HAVE_CSQRT 1
22434 _ACEOF
22441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtl" >&5
22442 $as_echo_n "checking for csqrtl... " >&6; }
22443 if test "${gcc_cv_math_func_csqrtl+set}" = set; then :
22444 $as_echo_n "(cached) " >&6
22445 else
22446 if test x$gcc_no_link = xyes; then
22447 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22450 /* end confdefs.h. */
22452 #ifdef HAVE_COMPLEX_H
22453 #include <complex.h>
22454 #endif
22455 #ifdef HAVE_MATH_H
22456 #include <math.h>
22457 #endif
22459 int (*ptr)() = (int (*)())csqrtl;
22462 main ()
22464 return 0;
22467 _ACEOF
22468 if ac_fn_c_try_link "$LINENO"; then :
22469 gcc_cv_math_func_csqrtl=yes
22470 else
22471 gcc_cv_math_func_csqrtl=no
22473 rm -f core conftest.err conftest.$ac_objext \
22474 conftest$ac_exeext conftest.$ac_ext
22476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtl" >&5
22477 $as_echo "$gcc_cv_math_func_csqrtl" >&6; }
22478 if test $gcc_cv_math_func_csqrtl = yes; then
22480 cat >>confdefs.h <<_ACEOF
22481 #define HAVE_CSQRTL 1
22482 _ACEOF
22489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanf" >&5
22490 $as_echo_n "checking for tanf... " >&6; }
22491 if test "${gcc_cv_math_func_tanf+set}" = set; then :
22492 $as_echo_n "(cached) " >&6
22493 else
22494 if test x$gcc_no_link = xyes; then
22495 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22498 /* end confdefs.h. */
22500 #ifdef HAVE_COMPLEX_H
22501 #include <complex.h>
22502 #endif
22503 #ifdef HAVE_MATH_H
22504 #include <math.h>
22505 #endif
22507 int (*ptr)() = (int (*)())tanf;
22510 main ()
22512 return 0;
22515 _ACEOF
22516 if ac_fn_c_try_link "$LINENO"; then :
22517 gcc_cv_math_func_tanf=yes
22518 else
22519 gcc_cv_math_func_tanf=no
22521 rm -f core conftest.err conftest.$ac_objext \
22522 conftest$ac_exeext conftest.$ac_ext
22524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanf" >&5
22525 $as_echo "$gcc_cv_math_func_tanf" >&6; }
22526 if test $gcc_cv_math_func_tanf = yes; then
22528 cat >>confdefs.h <<_ACEOF
22529 #define HAVE_TANF 1
22530 _ACEOF
22537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tan" >&5
22538 $as_echo_n "checking for tan... " >&6; }
22539 if test "${gcc_cv_math_func_tan+set}" = set; then :
22540 $as_echo_n "(cached) " >&6
22541 else
22542 if test x$gcc_no_link = xyes; then
22543 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22546 /* end confdefs.h. */
22548 #ifdef HAVE_COMPLEX_H
22549 #include <complex.h>
22550 #endif
22551 #ifdef HAVE_MATH_H
22552 #include <math.h>
22553 #endif
22555 int (*ptr)() = (int (*)())tan;
22558 main ()
22560 return 0;
22563 _ACEOF
22564 if ac_fn_c_try_link "$LINENO"; then :
22565 gcc_cv_math_func_tan=yes
22566 else
22567 gcc_cv_math_func_tan=no
22569 rm -f core conftest.err conftest.$ac_objext \
22570 conftest$ac_exeext conftest.$ac_ext
22572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tan" >&5
22573 $as_echo "$gcc_cv_math_func_tan" >&6; }
22574 if test $gcc_cv_math_func_tan = yes; then
22576 cat >>confdefs.h <<_ACEOF
22577 #define HAVE_TAN 1
22578 _ACEOF
22585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanl" >&5
22586 $as_echo_n "checking for tanl... " >&6; }
22587 if test "${gcc_cv_math_func_tanl+set}" = set; then :
22588 $as_echo_n "(cached) " >&6
22589 else
22590 if test x$gcc_no_link = xyes; then
22591 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22594 /* end confdefs.h. */
22596 #ifdef HAVE_COMPLEX_H
22597 #include <complex.h>
22598 #endif
22599 #ifdef HAVE_MATH_H
22600 #include <math.h>
22601 #endif
22603 int (*ptr)() = (int (*)())tanl;
22606 main ()
22608 return 0;
22611 _ACEOF
22612 if ac_fn_c_try_link "$LINENO"; then :
22613 gcc_cv_math_func_tanl=yes
22614 else
22615 gcc_cv_math_func_tanl=no
22617 rm -f core conftest.err conftest.$ac_objext \
22618 conftest$ac_exeext conftest.$ac_ext
22620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanl" >&5
22621 $as_echo "$gcc_cv_math_func_tanl" >&6; }
22622 if test $gcc_cv_math_func_tanl = yes; then
22624 cat >>confdefs.h <<_ACEOF
22625 #define HAVE_TANL 1
22626 _ACEOF
22633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanf" >&5
22634 $as_echo_n "checking for ctanf... " >&6; }
22635 if test "${gcc_cv_math_func_ctanf+set}" = set; then :
22636 $as_echo_n "(cached) " >&6
22637 else
22638 if test x$gcc_no_link = xyes; then
22639 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22642 /* end confdefs.h. */
22644 #ifdef HAVE_COMPLEX_H
22645 #include <complex.h>
22646 #endif
22647 #ifdef HAVE_MATH_H
22648 #include <math.h>
22649 #endif
22651 int (*ptr)() = (int (*)())ctanf;
22654 main ()
22656 return 0;
22659 _ACEOF
22660 if ac_fn_c_try_link "$LINENO"; then :
22661 gcc_cv_math_func_ctanf=yes
22662 else
22663 gcc_cv_math_func_ctanf=no
22665 rm -f core conftest.err conftest.$ac_objext \
22666 conftest$ac_exeext conftest.$ac_ext
22668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanf" >&5
22669 $as_echo "$gcc_cv_math_func_ctanf" >&6; }
22670 if test $gcc_cv_math_func_ctanf = yes; then
22672 cat >>confdefs.h <<_ACEOF
22673 #define HAVE_CTANF 1
22674 _ACEOF
22681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctan" >&5
22682 $as_echo_n "checking for ctan... " >&6; }
22683 if test "${gcc_cv_math_func_ctan+set}" = set; then :
22684 $as_echo_n "(cached) " >&6
22685 else
22686 if test x$gcc_no_link = xyes; then
22687 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22690 /* end confdefs.h. */
22692 #ifdef HAVE_COMPLEX_H
22693 #include <complex.h>
22694 #endif
22695 #ifdef HAVE_MATH_H
22696 #include <math.h>
22697 #endif
22699 int (*ptr)() = (int (*)())ctan;
22702 main ()
22704 return 0;
22707 _ACEOF
22708 if ac_fn_c_try_link "$LINENO"; then :
22709 gcc_cv_math_func_ctan=yes
22710 else
22711 gcc_cv_math_func_ctan=no
22713 rm -f core conftest.err conftest.$ac_objext \
22714 conftest$ac_exeext conftest.$ac_ext
22716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctan" >&5
22717 $as_echo "$gcc_cv_math_func_ctan" >&6; }
22718 if test $gcc_cv_math_func_ctan = yes; then
22720 cat >>confdefs.h <<_ACEOF
22721 #define HAVE_CTAN 1
22722 _ACEOF
22729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanl" >&5
22730 $as_echo_n "checking for ctanl... " >&6; }
22731 if test "${gcc_cv_math_func_ctanl+set}" = set; then :
22732 $as_echo_n "(cached) " >&6
22733 else
22734 if test x$gcc_no_link = xyes; then
22735 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22738 /* end confdefs.h. */
22740 #ifdef HAVE_COMPLEX_H
22741 #include <complex.h>
22742 #endif
22743 #ifdef HAVE_MATH_H
22744 #include <math.h>
22745 #endif
22747 int (*ptr)() = (int (*)())ctanl;
22750 main ()
22752 return 0;
22755 _ACEOF
22756 if ac_fn_c_try_link "$LINENO"; then :
22757 gcc_cv_math_func_ctanl=yes
22758 else
22759 gcc_cv_math_func_ctanl=no
22761 rm -f core conftest.err conftest.$ac_objext \
22762 conftest$ac_exeext conftest.$ac_ext
22764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanl" >&5
22765 $as_echo "$gcc_cv_math_func_ctanl" >&6; }
22766 if test $gcc_cv_math_func_ctanl = yes; then
22768 cat >>confdefs.h <<_ACEOF
22769 #define HAVE_CTANL 1
22770 _ACEOF
22777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhf" >&5
22778 $as_echo_n "checking for tanhf... " >&6; }
22779 if test "${gcc_cv_math_func_tanhf+set}" = set; then :
22780 $as_echo_n "(cached) " >&6
22781 else
22782 if test x$gcc_no_link = xyes; then
22783 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22786 /* end confdefs.h. */
22788 #ifdef HAVE_COMPLEX_H
22789 #include <complex.h>
22790 #endif
22791 #ifdef HAVE_MATH_H
22792 #include <math.h>
22793 #endif
22795 int (*ptr)() = (int (*)())tanhf;
22798 main ()
22800 return 0;
22803 _ACEOF
22804 if ac_fn_c_try_link "$LINENO"; then :
22805 gcc_cv_math_func_tanhf=yes
22806 else
22807 gcc_cv_math_func_tanhf=no
22809 rm -f core conftest.err conftest.$ac_objext \
22810 conftest$ac_exeext conftest.$ac_ext
22812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhf" >&5
22813 $as_echo "$gcc_cv_math_func_tanhf" >&6; }
22814 if test $gcc_cv_math_func_tanhf = yes; then
22816 cat >>confdefs.h <<_ACEOF
22817 #define HAVE_TANHF 1
22818 _ACEOF
22825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanh" >&5
22826 $as_echo_n "checking for tanh... " >&6; }
22827 if test "${gcc_cv_math_func_tanh+set}" = set; then :
22828 $as_echo_n "(cached) " >&6
22829 else
22830 if test x$gcc_no_link = xyes; then
22831 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22834 /* end confdefs.h. */
22836 #ifdef HAVE_COMPLEX_H
22837 #include <complex.h>
22838 #endif
22839 #ifdef HAVE_MATH_H
22840 #include <math.h>
22841 #endif
22843 int (*ptr)() = (int (*)())tanh;
22846 main ()
22848 return 0;
22851 _ACEOF
22852 if ac_fn_c_try_link "$LINENO"; then :
22853 gcc_cv_math_func_tanh=yes
22854 else
22855 gcc_cv_math_func_tanh=no
22857 rm -f core conftest.err conftest.$ac_objext \
22858 conftest$ac_exeext conftest.$ac_ext
22860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanh" >&5
22861 $as_echo "$gcc_cv_math_func_tanh" >&6; }
22862 if test $gcc_cv_math_func_tanh = yes; then
22864 cat >>confdefs.h <<_ACEOF
22865 #define HAVE_TANH 1
22866 _ACEOF
22873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhl" >&5
22874 $as_echo_n "checking for tanhl... " >&6; }
22875 if test "${gcc_cv_math_func_tanhl+set}" = set; then :
22876 $as_echo_n "(cached) " >&6
22877 else
22878 if test x$gcc_no_link = xyes; then
22879 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22882 /* end confdefs.h. */
22884 #ifdef HAVE_COMPLEX_H
22885 #include <complex.h>
22886 #endif
22887 #ifdef HAVE_MATH_H
22888 #include <math.h>
22889 #endif
22891 int (*ptr)() = (int (*)())tanhl;
22894 main ()
22896 return 0;
22899 _ACEOF
22900 if ac_fn_c_try_link "$LINENO"; then :
22901 gcc_cv_math_func_tanhl=yes
22902 else
22903 gcc_cv_math_func_tanhl=no
22905 rm -f core conftest.err conftest.$ac_objext \
22906 conftest$ac_exeext conftest.$ac_ext
22908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhl" >&5
22909 $as_echo "$gcc_cv_math_func_tanhl" >&6; }
22910 if test $gcc_cv_math_func_tanhl = yes; then
22912 cat >>confdefs.h <<_ACEOF
22913 #define HAVE_TANHL 1
22914 _ACEOF
22921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhf" >&5
22922 $as_echo_n "checking for ctanhf... " >&6; }
22923 if test "${gcc_cv_math_func_ctanhf+set}" = set; then :
22924 $as_echo_n "(cached) " >&6
22925 else
22926 if test x$gcc_no_link = xyes; then
22927 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22930 /* end confdefs.h. */
22932 #ifdef HAVE_COMPLEX_H
22933 #include <complex.h>
22934 #endif
22935 #ifdef HAVE_MATH_H
22936 #include <math.h>
22937 #endif
22939 int (*ptr)() = (int (*)())ctanhf;
22942 main ()
22944 return 0;
22947 _ACEOF
22948 if ac_fn_c_try_link "$LINENO"; then :
22949 gcc_cv_math_func_ctanhf=yes
22950 else
22951 gcc_cv_math_func_ctanhf=no
22953 rm -f core conftest.err conftest.$ac_objext \
22954 conftest$ac_exeext conftest.$ac_ext
22956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhf" >&5
22957 $as_echo "$gcc_cv_math_func_ctanhf" >&6; }
22958 if test $gcc_cv_math_func_ctanhf = yes; then
22960 cat >>confdefs.h <<_ACEOF
22961 #define HAVE_CTANHF 1
22962 _ACEOF
22969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanh" >&5
22970 $as_echo_n "checking for ctanh... " >&6; }
22971 if test "${gcc_cv_math_func_ctanh+set}" = set; then :
22972 $as_echo_n "(cached) " >&6
22973 else
22974 if test x$gcc_no_link = xyes; then
22975 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22978 /* end confdefs.h. */
22980 #ifdef HAVE_COMPLEX_H
22981 #include <complex.h>
22982 #endif
22983 #ifdef HAVE_MATH_H
22984 #include <math.h>
22985 #endif
22987 int (*ptr)() = (int (*)())ctanh;
22990 main ()
22992 return 0;
22995 _ACEOF
22996 if ac_fn_c_try_link "$LINENO"; then :
22997 gcc_cv_math_func_ctanh=yes
22998 else
22999 gcc_cv_math_func_ctanh=no
23001 rm -f core conftest.err conftest.$ac_objext \
23002 conftest$ac_exeext conftest.$ac_ext
23004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanh" >&5
23005 $as_echo "$gcc_cv_math_func_ctanh" >&6; }
23006 if test $gcc_cv_math_func_ctanh = yes; then
23008 cat >>confdefs.h <<_ACEOF
23009 #define HAVE_CTANH 1
23010 _ACEOF
23017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhl" >&5
23018 $as_echo_n "checking for ctanhl... " >&6; }
23019 if test "${gcc_cv_math_func_ctanhl+set}" = set; then :
23020 $as_echo_n "(cached) " >&6
23021 else
23022 if test x$gcc_no_link = xyes; then
23023 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23026 /* end confdefs.h. */
23028 #ifdef HAVE_COMPLEX_H
23029 #include <complex.h>
23030 #endif
23031 #ifdef HAVE_MATH_H
23032 #include <math.h>
23033 #endif
23035 int (*ptr)() = (int (*)())ctanhl;
23038 main ()
23040 return 0;
23043 _ACEOF
23044 if ac_fn_c_try_link "$LINENO"; then :
23045 gcc_cv_math_func_ctanhl=yes
23046 else
23047 gcc_cv_math_func_ctanhl=no
23049 rm -f core conftest.err conftest.$ac_objext \
23050 conftest$ac_exeext conftest.$ac_ext
23052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhl" >&5
23053 $as_echo "$gcc_cv_math_func_ctanhl" >&6; }
23054 if test $gcc_cv_math_func_ctanhl = yes; then
23056 cat >>confdefs.h <<_ACEOF
23057 #define HAVE_CTANHL 1
23058 _ACEOF
23065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncf" >&5
23066 $as_echo_n "checking for truncf... " >&6; }
23067 if test "${gcc_cv_math_func_truncf+set}" = set; then :
23068 $as_echo_n "(cached) " >&6
23069 else
23070 if test x$gcc_no_link = xyes; then
23071 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23074 /* end confdefs.h. */
23076 #ifdef HAVE_COMPLEX_H
23077 #include <complex.h>
23078 #endif
23079 #ifdef HAVE_MATH_H
23080 #include <math.h>
23081 #endif
23083 int (*ptr)() = (int (*)())truncf;
23086 main ()
23088 return 0;
23091 _ACEOF
23092 if ac_fn_c_try_link "$LINENO"; then :
23093 gcc_cv_math_func_truncf=yes
23094 else
23095 gcc_cv_math_func_truncf=no
23097 rm -f core conftest.err conftest.$ac_objext \
23098 conftest$ac_exeext conftest.$ac_ext
23100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncf" >&5
23101 $as_echo "$gcc_cv_math_func_truncf" >&6; }
23102 if test $gcc_cv_math_func_truncf = yes; then
23104 cat >>confdefs.h <<_ACEOF
23105 #define HAVE_TRUNCF 1
23106 _ACEOF
23113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for trunc" >&5
23114 $as_echo_n "checking for trunc... " >&6; }
23115 if test "${gcc_cv_math_func_trunc+set}" = set; then :
23116 $as_echo_n "(cached) " >&6
23117 else
23118 if test x$gcc_no_link = xyes; then
23119 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23122 /* end confdefs.h. */
23124 #ifdef HAVE_COMPLEX_H
23125 #include <complex.h>
23126 #endif
23127 #ifdef HAVE_MATH_H
23128 #include <math.h>
23129 #endif
23131 int (*ptr)() = (int (*)())trunc;
23134 main ()
23136 return 0;
23139 _ACEOF
23140 if ac_fn_c_try_link "$LINENO"; then :
23141 gcc_cv_math_func_trunc=yes
23142 else
23143 gcc_cv_math_func_trunc=no
23145 rm -f core conftest.err conftest.$ac_objext \
23146 conftest$ac_exeext conftest.$ac_ext
23148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_trunc" >&5
23149 $as_echo "$gcc_cv_math_func_trunc" >&6; }
23150 if test $gcc_cv_math_func_trunc = yes; then
23152 cat >>confdefs.h <<_ACEOF
23153 #define HAVE_TRUNC 1
23154 _ACEOF
23161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncl" >&5
23162 $as_echo_n "checking for truncl... " >&6; }
23163 if test "${gcc_cv_math_func_truncl+set}" = set; then :
23164 $as_echo_n "(cached) " >&6
23165 else
23166 if test x$gcc_no_link = xyes; then
23167 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23170 /* end confdefs.h. */
23172 #ifdef HAVE_COMPLEX_H
23173 #include <complex.h>
23174 #endif
23175 #ifdef HAVE_MATH_H
23176 #include <math.h>
23177 #endif
23179 int (*ptr)() = (int (*)())truncl;
23182 main ()
23184 return 0;
23187 _ACEOF
23188 if ac_fn_c_try_link "$LINENO"; then :
23189 gcc_cv_math_func_truncl=yes
23190 else
23191 gcc_cv_math_func_truncl=no
23193 rm -f core conftest.err conftest.$ac_objext \
23194 conftest$ac_exeext conftest.$ac_ext
23196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncl" >&5
23197 $as_echo "$gcc_cv_math_func_truncl" >&6; }
23198 if test $gcc_cv_math_func_truncl = yes; then
23200 cat >>confdefs.h <<_ACEOF
23201 #define HAVE_TRUNCL 1
23202 _ACEOF
23209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erff" >&5
23210 $as_echo_n "checking for erff... " >&6; }
23211 if test "${gcc_cv_math_func_erff+set}" = set; then :
23212 $as_echo_n "(cached) " >&6
23213 else
23214 if test x$gcc_no_link = xyes; then
23215 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23218 /* end confdefs.h. */
23220 #ifdef HAVE_COMPLEX_H
23221 #include <complex.h>
23222 #endif
23223 #ifdef HAVE_MATH_H
23224 #include <math.h>
23225 #endif
23227 int (*ptr)() = (int (*)())erff;
23230 main ()
23232 return 0;
23235 _ACEOF
23236 if ac_fn_c_try_link "$LINENO"; then :
23237 gcc_cv_math_func_erff=yes
23238 else
23239 gcc_cv_math_func_erff=no
23241 rm -f core conftest.err conftest.$ac_objext \
23242 conftest$ac_exeext conftest.$ac_ext
23244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erff" >&5
23245 $as_echo "$gcc_cv_math_func_erff" >&6; }
23246 if test $gcc_cv_math_func_erff = yes; then
23248 cat >>confdefs.h <<_ACEOF
23249 #define HAVE_ERFF 1
23250 _ACEOF
23257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erf" >&5
23258 $as_echo_n "checking for erf... " >&6; }
23259 if test "${gcc_cv_math_func_erf+set}" = set; then :
23260 $as_echo_n "(cached) " >&6
23261 else
23262 if test x$gcc_no_link = xyes; then
23263 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23266 /* end confdefs.h. */
23268 #ifdef HAVE_COMPLEX_H
23269 #include <complex.h>
23270 #endif
23271 #ifdef HAVE_MATH_H
23272 #include <math.h>
23273 #endif
23275 int (*ptr)() = (int (*)())erf;
23278 main ()
23280 return 0;
23283 _ACEOF
23284 if ac_fn_c_try_link "$LINENO"; then :
23285 gcc_cv_math_func_erf=yes
23286 else
23287 gcc_cv_math_func_erf=no
23289 rm -f core conftest.err conftest.$ac_objext \
23290 conftest$ac_exeext conftest.$ac_ext
23292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erf" >&5
23293 $as_echo "$gcc_cv_math_func_erf" >&6; }
23294 if test $gcc_cv_math_func_erf = yes; then
23296 cat >>confdefs.h <<_ACEOF
23297 #define HAVE_ERF 1
23298 _ACEOF
23305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfl" >&5
23306 $as_echo_n "checking for erfl... " >&6; }
23307 if test "${gcc_cv_math_func_erfl+set}" = set; then :
23308 $as_echo_n "(cached) " >&6
23309 else
23310 if test x$gcc_no_link = xyes; then
23311 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23314 /* end confdefs.h. */
23316 #ifdef HAVE_COMPLEX_H
23317 #include <complex.h>
23318 #endif
23319 #ifdef HAVE_MATH_H
23320 #include <math.h>
23321 #endif
23323 int (*ptr)() = (int (*)())erfl;
23326 main ()
23328 return 0;
23331 _ACEOF
23332 if ac_fn_c_try_link "$LINENO"; then :
23333 gcc_cv_math_func_erfl=yes
23334 else
23335 gcc_cv_math_func_erfl=no
23337 rm -f core conftest.err conftest.$ac_objext \
23338 conftest$ac_exeext conftest.$ac_ext
23340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfl" >&5
23341 $as_echo "$gcc_cv_math_func_erfl" >&6; }
23342 if test $gcc_cv_math_func_erfl = yes; then
23344 cat >>confdefs.h <<_ACEOF
23345 #define HAVE_ERFL 1
23346 _ACEOF
23353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcf" >&5
23354 $as_echo_n "checking for erfcf... " >&6; }
23355 if test "${gcc_cv_math_func_erfcf+set}" = set; then :
23356 $as_echo_n "(cached) " >&6
23357 else
23358 if test x$gcc_no_link = xyes; then
23359 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23362 /* end confdefs.h. */
23364 #ifdef HAVE_COMPLEX_H
23365 #include <complex.h>
23366 #endif
23367 #ifdef HAVE_MATH_H
23368 #include <math.h>
23369 #endif
23371 int (*ptr)() = (int (*)())erfcf;
23374 main ()
23376 return 0;
23379 _ACEOF
23380 if ac_fn_c_try_link "$LINENO"; then :
23381 gcc_cv_math_func_erfcf=yes
23382 else
23383 gcc_cv_math_func_erfcf=no
23385 rm -f core conftest.err conftest.$ac_objext \
23386 conftest$ac_exeext conftest.$ac_ext
23388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcf" >&5
23389 $as_echo "$gcc_cv_math_func_erfcf" >&6; }
23390 if test $gcc_cv_math_func_erfcf = yes; then
23392 cat >>confdefs.h <<_ACEOF
23393 #define HAVE_ERFCF 1
23394 _ACEOF
23401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfc" >&5
23402 $as_echo_n "checking for erfc... " >&6; }
23403 if test "${gcc_cv_math_func_erfc+set}" = set; then :
23404 $as_echo_n "(cached) " >&6
23405 else
23406 if test x$gcc_no_link = xyes; then
23407 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23410 /* end confdefs.h. */
23412 #ifdef HAVE_COMPLEX_H
23413 #include <complex.h>
23414 #endif
23415 #ifdef HAVE_MATH_H
23416 #include <math.h>
23417 #endif
23419 int (*ptr)() = (int (*)())erfc;
23422 main ()
23424 return 0;
23427 _ACEOF
23428 if ac_fn_c_try_link "$LINENO"; then :
23429 gcc_cv_math_func_erfc=yes
23430 else
23431 gcc_cv_math_func_erfc=no
23433 rm -f core conftest.err conftest.$ac_objext \
23434 conftest$ac_exeext conftest.$ac_ext
23436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfc" >&5
23437 $as_echo "$gcc_cv_math_func_erfc" >&6; }
23438 if test $gcc_cv_math_func_erfc = yes; then
23440 cat >>confdefs.h <<_ACEOF
23441 #define HAVE_ERFC 1
23442 _ACEOF
23449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcl" >&5
23450 $as_echo_n "checking for erfcl... " >&6; }
23451 if test "${gcc_cv_math_func_erfcl+set}" = set; then :
23452 $as_echo_n "(cached) " >&6
23453 else
23454 if test x$gcc_no_link = xyes; then
23455 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23458 /* end confdefs.h. */
23460 #ifdef HAVE_COMPLEX_H
23461 #include <complex.h>
23462 #endif
23463 #ifdef HAVE_MATH_H
23464 #include <math.h>
23465 #endif
23467 int (*ptr)() = (int (*)())erfcl;
23470 main ()
23472 return 0;
23475 _ACEOF
23476 if ac_fn_c_try_link "$LINENO"; then :
23477 gcc_cv_math_func_erfcl=yes
23478 else
23479 gcc_cv_math_func_erfcl=no
23481 rm -f core conftest.err conftest.$ac_objext \
23482 conftest$ac_exeext conftest.$ac_ext
23484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcl" >&5
23485 $as_echo "$gcc_cv_math_func_erfcl" >&6; }
23486 if test $gcc_cv_math_func_erfcl = yes; then
23488 cat >>confdefs.h <<_ACEOF
23489 #define HAVE_ERFCL 1
23490 _ACEOF
23497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0f" >&5
23498 $as_echo_n "checking for j0f... " >&6; }
23499 if test "${gcc_cv_math_func_j0f+set}" = set; then :
23500 $as_echo_n "(cached) " >&6
23501 else
23502 if test x$gcc_no_link = xyes; then
23503 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23506 /* end confdefs.h. */
23508 #ifdef HAVE_COMPLEX_H
23509 #include <complex.h>
23510 #endif
23511 #ifdef HAVE_MATH_H
23512 #include <math.h>
23513 #endif
23515 int (*ptr)() = (int (*)())j0f;
23518 main ()
23520 return 0;
23523 _ACEOF
23524 if ac_fn_c_try_link "$LINENO"; then :
23525 gcc_cv_math_func_j0f=yes
23526 else
23527 gcc_cv_math_func_j0f=no
23529 rm -f core conftest.err conftest.$ac_objext \
23530 conftest$ac_exeext conftest.$ac_ext
23532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0f" >&5
23533 $as_echo "$gcc_cv_math_func_j0f" >&6; }
23534 if test $gcc_cv_math_func_j0f = yes; then
23536 cat >>confdefs.h <<_ACEOF
23537 #define HAVE_J0F 1
23538 _ACEOF
23545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0" >&5
23546 $as_echo_n "checking for j0... " >&6; }
23547 if test "${gcc_cv_math_func_j0+set}" = set; then :
23548 $as_echo_n "(cached) " >&6
23549 else
23550 if test x$gcc_no_link = xyes; then
23551 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23554 /* end confdefs.h. */
23556 #ifdef HAVE_COMPLEX_H
23557 #include <complex.h>
23558 #endif
23559 #ifdef HAVE_MATH_H
23560 #include <math.h>
23561 #endif
23563 int (*ptr)() = (int (*)())j0;
23566 main ()
23568 return 0;
23571 _ACEOF
23572 if ac_fn_c_try_link "$LINENO"; then :
23573 gcc_cv_math_func_j0=yes
23574 else
23575 gcc_cv_math_func_j0=no
23577 rm -f core conftest.err conftest.$ac_objext \
23578 conftest$ac_exeext conftest.$ac_ext
23580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0" >&5
23581 $as_echo "$gcc_cv_math_func_j0" >&6; }
23582 if test $gcc_cv_math_func_j0 = yes; then
23584 cat >>confdefs.h <<_ACEOF
23585 #define HAVE_J0 1
23586 _ACEOF
23593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0l" >&5
23594 $as_echo_n "checking for j0l... " >&6; }
23595 if test "${gcc_cv_math_func_j0l+set}" = set; then :
23596 $as_echo_n "(cached) " >&6
23597 else
23598 if test x$gcc_no_link = xyes; then
23599 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23602 /* end confdefs.h. */
23604 #ifdef HAVE_COMPLEX_H
23605 #include <complex.h>
23606 #endif
23607 #ifdef HAVE_MATH_H
23608 #include <math.h>
23609 #endif
23611 int (*ptr)() = (int (*)())j0l;
23614 main ()
23616 return 0;
23619 _ACEOF
23620 if ac_fn_c_try_link "$LINENO"; then :
23621 gcc_cv_math_func_j0l=yes
23622 else
23623 gcc_cv_math_func_j0l=no
23625 rm -f core conftest.err conftest.$ac_objext \
23626 conftest$ac_exeext conftest.$ac_ext
23628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0l" >&5
23629 $as_echo "$gcc_cv_math_func_j0l" >&6; }
23630 if test $gcc_cv_math_func_j0l = yes; then
23632 cat >>confdefs.h <<_ACEOF
23633 #define HAVE_J0L 1
23634 _ACEOF
23641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1f" >&5
23642 $as_echo_n "checking for j1f... " >&6; }
23643 if test "${gcc_cv_math_func_j1f+set}" = set; then :
23644 $as_echo_n "(cached) " >&6
23645 else
23646 if test x$gcc_no_link = xyes; then
23647 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23650 /* end confdefs.h. */
23652 #ifdef HAVE_COMPLEX_H
23653 #include <complex.h>
23654 #endif
23655 #ifdef HAVE_MATH_H
23656 #include <math.h>
23657 #endif
23659 int (*ptr)() = (int (*)())j1f;
23662 main ()
23664 return 0;
23667 _ACEOF
23668 if ac_fn_c_try_link "$LINENO"; then :
23669 gcc_cv_math_func_j1f=yes
23670 else
23671 gcc_cv_math_func_j1f=no
23673 rm -f core conftest.err conftest.$ac_objext \
23674 conftest$ac_exeext conftest.$ac_ext
23676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1f" >&5
23677 $as_echo "$gcc_cv_math_func_j1f" >&6; }
23678 if test $gcc_cv_math_func_j1f = yes; then
23680 cat >>confdefs.h <<_ACEOF
23681 #define HAVE_J1F 1
23682 _ACEOF
23689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1" >&5
23690 $as_echo_n "checking for j1... " >&6; }
23691 if test "${gcc_cv_math_func_j1+set}" = set; then :
23692 $as_echo_n "(cached) " >&6
23693 else
23694 if test x$gcc_no_link = xyes; then
23695 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23698 /* end confdefs.h. */
23700 #ifdef HAVE_COMPLEX_H
23701 #include <complex.h>
23702 #endif
23703 #ifdef HAVE_MATH_H
23704 #include <math.h>
23705 #endif
23707 int (*ptr)() = (int (*)())j1;
23710 main ()
23712 return 0;
23715 _ACEOF
23716 if ac_fn_c_try_link "$LINENO"; then :
23717 gcc_cv_math_func_j1=yes
23718 else
23719 gcc_cv_math_func_j1=no
23721 rm -f core conftest.err conftest.$ac_objext \
23722 conftest$ac_exeext conftest.$ac_ext
23724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1" >&5
23725 $as_echo "$gcc_cv_math_func_j1" >&6; }
23726 if test $gcc_cv_math_func_j1 = yes; then
23728 cat >>confdefs.h <<_ACEOF
23729 #define HAVE_J1 1
23730 _ACEOF
23737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1l" >&5
23738 $as_echo_n "checking for j1l... " >&6; }
23739 if test "${gcc_cv_math_func_j1l+set}" = set; then :
23740 $as_echo_n "(cached) " >&6
23741 else
23742 if test x$gcc_no_link = xyes; then
23743 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23746 /* end confdefs.h. */
23748 #ifdef HAVE_COMPLEX_H
23749 #include <complex.h>
23750 #endif
23751 #ifdef HAVE_MATH_H
23752 #include <math.h>
23753 #endif
23755 int (*ptr)() = (int (*)())j1l;
23758 main ()
23760 return 0;
23763 _ACEOF
23764 if ac_fn_c_try_link "$LINENO"; then :
23765 gcc_cv_math_func_j1l=yes
23766 else
23767 gcc_cv_math_func_j1l=no
23769 rm -f core conftest.err conftest.$ac_objext \
23770 conftest$ac_exeext conftest.$ac_ext
23772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1l" >&5
23773 $as_echo "$gcc_cv_math_func_j1l" >&6; }
23774 if test $gcc_cv_math_func_j1l = yes; then
23776 cat >>confdefs.h <<_ACEOF
23777 #define HAVE_J1L 1
23778 _ACEOF
23785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnf" >&5
23786 $as_echo_n "checking for jnf... " >&6; }
23787 if test "${gcc_cv_math_func_jnf+set}" = set; then :
23788 $as_echo_n "(cached) " >&6
23789 else
23790 if test x$gcc_no_link = xyes; then
23791 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23794 /* end confdefs.h. */
23796 #ifdef HAVE_COMPLEX_H
23797 #include <complex.h>
23798 #endif
23799 #ifdef HAVE_MATH_H
23800 #include <math.h>
23801 #endif
23803 int (*ptr)() = (int (*)())jnf;
23806 main ()
23808 return 0;
23811 _ACEOF
23812 if ac_fn_c_try_link "$LINENO"; then :
23813 gcc_cv_math_func_jnf=yes
23814 else
23815 gcc_cv_math_func_jnf=no
23817 rm -f core conftest.err conftest.$ac_objext \
23818 conftest$ac_exeext conftest.$ac_ext
23820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnf" >&5
23821 $as_echo "$gcc_cv_math_func_jnf" >&6; }
23822 if test $gcc_cv_math_func_jnf = yes; then
23824 cat >>confdefs.h <<_ACEOF
23825 #define HAVE_JNF 1
23826 _ACEOF
23833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jn" >&5
23834 $as_echo_n "checking for jn... " >&6; }
23835 if test "${gcc_cv_math_func_jn+set}" = set; then :
23836 $as_echo_n "(cached) " >&6
23837 else
23838 if test x$gcc_no_link = xyes; then
23839 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23842 /* end confdefs.h. */
23844 #ifdef HAVE_COMPLEX_H
23845 #include <complex.h>
23846 #endif
23847 #ifdef HAVE_MATH_H
23848 #include <math.h>
23849 #endif
23851 int (*ptr)() = (int (*)())jn;
23854 main ()
23856 return 0;
23859 _ACEOF
23860 if ac_fn_c_try_link "$LINENO"; then :
23861 gcc_cv_math_func_jn=yes
23862 else
23863 gcc_cv_math_func_jn=no
23865 rm -f core conftest.err conftest.$ac_objext \
23866 conftest$ac_exeext conftest.$ac_ext
23868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jn" >&5
23869 $as_echo "$gcc_cv_math_func_jn" >&6; }
23870 if test $gcc_cv_math_func_jn = yes; then
23872 cat >>confdefs.h <<_ACEOF
23873 #define HAVE_JN 1
23874 _ACEOF
23881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnl" >&5
23882 $as_echo_n "checking for jnl... " >&6; }
23883 if test "${gcc_cv_math_func_jnl+set}" = set; then :
23884 $as_echo_n "(cached) " >&6
23885 else
23886 if test x$gcc_no_link = xyes; then
23887 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23890 /* end confdefs.h. */
23892 #ifdef HAVE_COMPLEX_H
23893 #include <complex.h>
23894 #endif
23895 #ifdef HAVE_MATH_H
23896 #include <math.h>
23897 #endif
23899 int (*ptr)() = (int (*)())jnl;
23902 main ()
23904 return 0;
23907 _ACEOF
23908 if ac_fn_c_try_link "$LINENO"; then :
23909 gcc_cv_math_func_jnl=yes
23910 else
23911 gcc_cv_math_func_jnl=no
23913 rm -f core conftest.err conftest.$ac_objext \
23914 conftest$ac_exeext conftest.$ac_ext
23916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnl" >&5
23917 $as_echo "$gcc_cv_math_func_jnl" >&6; }
23918 if test $gcc_cv_math_func_jnl = yes; then
23920 cat >>confdefs.h <<_ACEOF
23921 #define HAVE_JNL 1
23922 _ACEOF
23929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0f" >&5
23930 $as_echo_n "checking for y0f... " >&6; }
23931 if test "${gcc_cv_math_func_y0f+set}" = set; then :
23932 $as_echo_n "(cached) " >&6
23933 else
23934 if test x$gcc_no_link = xyes; then
23935 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23938 /* end confdefs.h. */
23940 #ifdef HAVE_COMPLEX_H
23941 #include <complex.h>
23942 #endif
23943 #ifdef HAVE_MATH_H
23944 #include <math.h>
23945 #endif
23947 int (*ptr)() = (int (*)())y0f;
23950 main ()
23952 return 0;
23955 _ACEOF
23956 if ac_fn_c_try_link "$LINENO"; then :
23957 gcc_cv_math_func_y0f=yes
23958 else
23959 gcc_cv_math_func_y0f=no
23961 rm -f core conftest.err conftest.$ac_objext \
23962 conftest$ac_exeext conftest.$ac_ext
23964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0f" >&5
23965 $as_echo "$gcc_cv_math_func_y0f" >&6; }
23966 if test $gcc_cv_math_func_y0f = yes; then
23968 cat >>confdefs.h <<_ACEOF
23969 #define HAVE_Y0F 1
23970 _ACEOF
23977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0" >&5
23978 $as_echo_n "checking for y0... " >&6; }
23979 if test "${gcc_cv_math_func_y0+set}" = set; then :
23980 $as_echo_n "(cached) " >&6
23981 else
23982 if test x$gcc_no_link = xyes; then
23983 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23986 /* end confdefs.h. */
23988 #ifdef HAVE_COMPLEX_H
23989 #include <complex.h>
23990 #endif
23991 #ifdef HAVE_MATH_H
23992 #include <math.h>
23993 #endif
23995 int (*ptr)() = (int (*)())y0;
23998 main ()
24000 return 0;
24003 _ACEOF
24004 if ac_fn_c_try_link "$LINENO"; then :
24005 gcc_cv_math_func_y0=yes
24006 else
24007 gcc_cv_math_func_y0=no
24009 rm -f core conftest.err conftest.$ac_objext \
24010 conftest$ac_exeext conftest.$ac_ext
24012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0" >&5
24013 $as_echo "$gcc_cv_math_func_y0" >&6; }
24014 if test $gcc_cv_math_func_y0 = yes; then
24016 cat >>confdefs.h <<_ACEOF
24017 #define HAVE_Y0 1
24018 _ACEOF
24025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0l" >&5
24026 $as_echo_n "checking for y0l... " >&6; }
24027 if test "${gcc_cv_math_func_y0l+set}" = set; then :
24028 $as_echo_n "(cached) " >&6
24029 else
24030 if test x$gcc_no_link = xyes; then
24031 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24034 /* end confdefs.h. */
24036 #ifdef HAVE_COMPLEX_H
24037 #include <complex.h>
24038 #endif
24039 #ifdef HAVE_MATH_H
24040 #include <math.h>
24041 #endif
24043 int (*ptr)() = (int (*)())y0l;
24046 main ()
24048 return 0;
24051 _ACEOF
24052 if ac_fn_c_try_link "$LINENO"; then :
24053 gcc_cv_math_func_y0l=yes
24054 else
24055 gcc_cv_math_func_y0l=no
24057 rm -f core conftest.err conftest.$ac_objext \
24058 conftest$ac_exeext conftest.$ac_ext
24060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0l" >&5
24061 $as_echo "$gcc_cv_math_func_y0l" >&6; }
24062 if test $gcc_cv_math_func_y0l = yes; then
24064 cat >>confdefs.h <<_ACEOF
24065 #define HAVE_Y0L 1
24066 _ACEOF
24073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1f" >&5
24074 $as_echo_n "checking for y1f... " >&6; }
24075 if test "${gcc_cv_math_func_y1f+set}" = set; then :
24076 $as_echo_n "(cached) " >&6
24077 else
24078 if test x$gcc_no_link = xyes; then
24079 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24082 /* end confdefs.h. */
24084 #ifdef HAVE_COMPLEX_H
24085 #include <complex.h>
24086 #endif
24087 #ifdef HAVE_MATH_H
24088 #include <math.h>
24089 #endif
24091 int (*ptr)() = (int (*)())y1f;
24094 main ()
24096 return 0;
24099 _ACEOF
24100 if ac_fn_c_try_link "$LINENO"; then :
24101 gcc_cv_math_func_y1f=yes
24102 else
24103 gcc_cv_math_func_y1f=no
24105 rm -f core conftest.err conftest.$ac_objext \
24106 conftest$ac_exeext conftest.$ac_ext
24108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1f" >&5
24109 $as_echo "$gcc_cv_math_func_y1f" >&6; }
24110 if test $gcc_cv_math_func_y1f = yes; then
24112 cat >>confdefs.h <<_ACEOF
24113 #define HAVE_Y1F 1
24114 _ACEOF
24121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1" >&5
24122 $as_echo_n "checking for y1... " >&6; }
24123 if test "${gcc_cv_math_func_y1+set}" = set; then :
24124 $as_echo_n "(cached) " >&6
24125 else
24126 if test x$gcc_no_link = xyes; then
24127 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24130 /* end confdefs.h. */
24132 #ifdef HAVE_COMPLEX_H
24133 #include <complex.h>
24134 #endif
24135 #ifdef HAVE_MATH_H
24136 #include <math.h>
24137 #endif
24139 int (*ptr)() = (int (*)())y1;
24142 main ()
24144 return 0;
24147 _ACEOF
24148 if ac_fn_c_try_link "$LINENO"; then :
24149 gcc_cv_math_func_y1=yes
24150 else
24151 gcc_cv_math_func_y1=no
24153 rm -f core conftest.err conftest.$ac_objext \
24154 conftest$ac_exeext conftest.$ac_ext
24156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1" >&5
24157 $as_echo "$gcc_cv_math_func_y1" >&6; }
24158 if test $gcc_cv_math_func_y1 = yes; then
24160 cat >>confdefs.h <<_ACEOF
24161 #define HAVE_Y1 1
24162 _ACEOF
24169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1l" >&5
24170 $as_echo_n "checking for y1l... " >&6; }
24171 if test "${gcc_cv_math_func_y1l+set}" = set; then :
24172 $as_echo_n "(cached) " >&6
24173 else
24174 if test x$gcc_no_link = xyes; then
24175 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24178 /* end confdefs.h. */
24180 #ifdef HAVE_COMPLEX_H
24181 #include <complex.h>
24182 #endif
24183 #ifdef HAVE_MATH_H
24184 #include <math.h>
24185 #endif
24187 int (*ptr)() = (int (*)())y1l;
24190 main ()
24192 return 0;
24195 _ACEOF
24196 if ac_fn_c_try_link "$LINENO"; then :
24197 gcc_cv_math_func_y1l=yes
24198 else
24199 gcc_cv_math_func_y1l=no
24201 rm -f core conftest.err conftest.$ac_objext \
24202 conftest$ac_exeext conftest.$ac_ext
24204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1l" >&5
24205 $as_echo "$gcc_cv_math_func_y1l" >&6; }
24206 if test $gcc_cv_math_func_y1l = yes; then
24208 cat >>confdefs.h <<_ACEOF
24209 #define HAVE_Y1L 1
24210 _ACEOF
24217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynf" >&5
24218 $as_echo_n "checking for ynf... " >&6; }
24219 if test "${gcc_cv_math_func_ynf+set}" = set; then :
24220 $as_echo_n "(cached) " >&6
24221 else
24222 if test x$gcc_no_link = xyes; then
24223 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24226 /* end confdefs.h. */
24228 #ifdef HAVE_COMPLEX_H
24229 #include <complex.h>
24230 #endif
24231 #ifdef HAVE_MATH_H
24232 #include <math.h>
24233 #endif
24235 int (*ptr)() = (int (*)())ynf;
24238 main ()
24240 return 0;
24243 _ACEOF
24244 if ac_fn_c_try_link "$LINENO"; then :
24245 gcc_cv_math_func_ynf=yes
24246 else
24247 gcc_cv_math_func_ynf=no
24249 rm -f core conftest.err conftest.$ac_objext \
24250 conftest$ac_exeext conftest.$ac_ext
24252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynf" >&5
24253 $as_echo "$gcc_cv_math_func_ynf" >&6; }
24254 if test $gcc_cv_math_func_ynf = yes; then
24256 cat >>confdefs.h <<_ACEOF
24257 #define HAVE_YNF 1
24258 _ACEOF
24265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for yn" >&5
24266 $as_echo_n "checking for yn... " >&6; }
24267 if test "${gcc_cv_math_func_yn+set}" = set; then :
24268 $as_echo_n "(cached) " >&6
24269 else
24270 if test x$gcc_no_link = xyes; then
24271 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24274 /* end confdefs.h. */
24276 #ifdef HAVE_COMPLEX_H
24277 #include <complex.h>
24278 #endif
24279 #ifdef HAVE_MATH_H
24280 #include <math.h>
24281 #endif
24283 int (*ptr)() = (int (*)())yn;
24286 main ()
24288 return 0;
24291 _ACEOF
24292 if ac_fn_c_try_link "$LINENO"; then :
24293 gcc_cv_math_func_yn=yes
24294 else
24295 gcc_cv_math_func_yn=no
24297 rm -f core conftest.err conftest.$ac_objext \
24298 conftest$ac_exeext conftest.$ac_ext
24300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_yn" >&5
24301 $as_echo "$gcc_cv_math_func_yn" >&6; }
24302 if test $gcc_cv_math_func_yn = yes; then
24304 cat >>confdefs.h <<_ACEOF
24305 #define HAVE_YN 1
24306 _ACEOF
24313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynl" >&5
24314 $as_echo_n "checking for ynl... " >&6; }
24315 if test "${gcc_cv_math_func_ynl+set}" = set; then :
24316 $as_echo_n "(cached) " >&6
24317 else
24318 if test x$gcc_no_link = xyes; then
24319 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24322 /* end confdefs.h. */
24324 #ifdef HAVE_COMPLEX_H
24325 #include <complex.h>
24326 #endif
24327 #ifdef HAVE_MATH_H
24328 #include <math.h>
24329 #endif
24331 int (*ptr)() = (int (*)())ynl;
24334 main ()
24336 return 0;
24339 _ACEOF
24340 if ac_fn_c_try_link "$LINENO"; then :
24341 gcc_cv_math_func_ynl=yes
24342 else
24343 gcc_cv_math_func_ynl=no
24345 rm -f core conftest.err conftest.$ac_objext \
24346 conftest$ac_exeext conftest.$ac_ext
24348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynl" >&5
24349 $as_echo "$gcc_cv_math_func_ynl" >&6; }
24350 if test $gcc_cv_math_func_ynl = yes; then
24352 cat >>confdefs.h <<_ACEOF
24353 #define HAVE_YNL 1
24354 _ACEOF
24361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgamma" >&5
24362 $as_echo_n "checking for tgamma... " >&6; }
24363 if test "${gcc_cv_math_func_tgamma+set}" = set; then :
24364 $as_echo_n "(cached) " >&6
24365 else
24366 if test x$gcc_no_link = xyes; then
24367 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24370 /* end confdefs.h. */
24372 #ifdef HAVE_COMPLEX_H
24373 #include <complex.h>
24374 #endif
24375 #ifdef HAVE_MATH_H
24376 #include <math.h>
24377 #endif
24379 int (*ptr)() = (int (*)())tgamma;
24382 main ()
24384 return 0;
24387 _ACEOF
24388 if ac_fn_c_try_link "$LINENO"; then :
24389 gcc_cv_math_func_tgamma=yes
24390 else
24391 gcc_cv_math_func_tgamma=no
24393 rm -f core conftest.err conftest.$ac_objext \
24394 conftest$ac_exeext conftest.$ac_ext
24396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgamma" >&5
24397 $as_echo "$gcc_cv_math_func_tgamma" >&6; }
24398 if test $gcc_cv_math_func_tgamma = yes; then
24400 cat >>confdefs.h <<_ACEOF
24401 #define HAVE_TGAMMA 1
24402 _ACEOF
24409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammaf" >&5
24410 $as_echo_n "checking for tgammaf... " >&6; }
24411 if test "${gcc_cv_math_func_tgammaf+set}" = set; then :
24412 $as_echo_n "(cached) " >&6
24413 else
24414 if test x$gcc_no_link = xyes; then
24415 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24418 /* end confdefs.h. */
24420 #ifdef HAVE_COMPLEX_H
24421 #include <complex.h>
24422 #endif
24423 #ifdef HAVE_MATH_H
24424 #include <math.h>
24425 #endif
24427 int (*ptr)() = (int (*)())tgammaf;
24430 main ()
24432 return 0;
24435 _ACEOF
24436 if ac_fn_c_try_link "$LINENO"; then :
24437 gcc_cv_math_func_tgammaf=yes
24438 else
24439 gcc_cv_math_func_tgammaf=no
24441 rm -f core conftest.err conftest.$ac_objext \
24442 conftest$ac_exeext conftest.$ac_ext
24444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgammaf" >&5
24445 $as_echo "$gcc_cv_math_func_tgammaf" >&6; }
24446 if test $gcc_cv_math_func_tgammaf = yes; then
24448 cat >>confdefs.h <<_ACEOF
24449 #define HAVE_TGAMMAF 1
24450 _ACEOF
24457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammal" >&5
24458 $as_echo_n "checking for tgammal... " >&6; }
24459 if test "${gcc_cv_math_func_tgammal+set}" = set; then :
24460 $as_echo_n "(cached) " >&6
24461 else
24462 if test x$gcc_no_link = xyes; then
24463 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24466 /* end confdefs.h. */
24468 #ifdef HAVE_COMPLEX_H
24469 #include <complex.h>
24470 #endif
24471 #ifdef HAVE_MATH_H
24472 #include <math.h>
24473 #endif
24475 int (*ptr)() = (int (*)())tgammal;
24478 main ()
24480 return 0;
24483 _ACEOF
24484 if ac_fn_c_try_link "$LINENO"; then :
24485 gcc_cv_math_func_tgammal=yes
24486 else
24487 gcc_cv_math_func_tgammal=no
24489 rm -f core conftest.err conftest.$ac_objext \
24490 conftest$ac_exeext conftest.$ac_ext
24492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgammal" >&5
24493 $as_echo "$gcc_cv_math_func_tgammal" >&6; }
24494 if test $gcc_cv_math_func_tgammal = yes; then
24496 cat >>confdefs.h <<_ACEOF
24497 #define HAVE_TGAMMAL 1
24498 _ACEOF
24505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgamma" >&5
24506 $as_echo_n "checking for lgamma... " >&6; }
24507 if test "${gcc_cv_math_func_lgamma+set}" = set; then :
24508 $as_echo_n "(cached) " >&6
24509 else
24510 if test x$gcc_no_link = xyes; then
24511 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24514 /* end confdefs.h. */
24516 #ifdef HAVE_COMPLEX_H
24517 #include <complex.h>
24518 #endif
24519 #ifdef HAVE_MATH_H
24520 #include <math.h>
24521 #endif
24523 int (*ptr)() = (int (*)())lgamma;
24526 main ()
24528 return 0;
24531 _ACEOF
24532 if ac_fn_c_try_link "$LINENO"; then :
24533 gcc_cv_math_func_lgamma=yes
24534 else
24535 gcc_cv_math_func_lgamma=no
24537 rm -f core conftest.err conftest.$ac_objext \
24538 conftest$ac_exeext conftest.$ac_ext
24540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgamma" >&5
24541 $as_echo "$gcc_cv_math_func_lgamma" >&6; }
24542 if test $gcc_cv_math_func_lgamma = yes; then
24544 cat >>confdefs.h <<_ACEOF
24545 #define HAVE_LGAMMA 1
24546 _ACEOF
24553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammaf" >&5
24554 $as_echo_n "checking for lgammaf... " >&6; }
24555 if test "${gcc_cv_math_func_lgammaf+set}" = set; then :
24556 $as_echo_n "(cached) " >&6
24557 else
24558 if test x$gcc_no_link = xyes; then
24559 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24562 /* end confdefs.h. */
24564 #ifdef HAVE_COMPLEX_H
24565 #include <complex.h>
24566 #endif
24567 #ifdef HAVE_MATH_H
24568 #include <math.h>
24569 #endif
24571 int (*ptr)() = (int (*)())lgammaf;
24574 main ()
24576 return 0;
24579 _ACEOF
24580 if ac_fn_c_try_link "$LINENO"; then :
24581 gcc_cv_math_func_lgammaf=yes
24582 else
24583 gcc_cv_math_func_lgammaf=no
24585 rm -f core conftest.err conftest.$ac_objext \
24586 conftest$ac_exeext conftest.$ac_ext
24588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgammaf" >&5
24589 $as_echo "$gcc_cv_math_func_lgammaf" >&6; }
24590 if test $gcc_cv_math_func_lgammaf = yes; then
24592 cat >>confdefs.h <<_ACEOF
24593 #define HAVE_LGAMMAF 1
24594 _ACEOF
24601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammal" >&5
24602 $as_echo_n "checking for lgammal... " >&6; }
24603 if test "${gcc_cv_math_func_lgammal+set}" = set; then :
24604 $as_echo_n "(cached) " >&6
24605 else
24606 if test x$gcc_no_link = xyes; then
24607 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24610 /* end confdefs.h. */
24612 #ifdef HAVE_COMPLEX_H
24613 #include <complex.h>
24614 #endif
24615 #ifdef HAVE_MATH_H
24616 #include <math.h>
24617 #endif
24619 int (*ptr)() = (int (*)())lgammal;
24622 main ()
24624 return 0;
24627 _ACEOF
24628 if ac_fn_c_try_link "$LINENO"; then :
24629 gcc_cv_math_func_lgammal=yes
24630 else
24631 gcc_cv_math_func_lgammal=no
24633 rm -f core conftest.err conftest.$ac_objext \
24634 conftest$ac_exeext conftest.$ac_ext
24636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgammal" >&5
24637 $as_echo "$gcc_cv_math_func_lgammal" >&6; }
24638 if test $gcc_cv_math_func_lgammal = yes; then
24640 cat >>confdefs.h <<_ACEOF
24641 #define HAVE_LGAMMAL 1
24642 _ACEOF
24647 # Check for GFORTRAN_C99_1.1 funcs
24651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacos" >&5
24652 $as_echo_n "checking for cacos... " >&6; }
24653 if test "${gcc_cv_math_func_cacos+set}" = set; then :
24654 $as_echo_n "(cached) " >&6
24655 else
24656 if test x$gcc_no_link = xyes; then
24657 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24660 /* end confdefs.h. */
24662 #ifdef HAVE_COMPLEX_H
24663 #include <complex.h>
24664 #endif
24665 #ifdef HAVE_MATH_H
24666 #include <math.h>
24667 #endif
24669 int (*ptr)() = (int (*)())cacos;
24672 main ()
24674 return 0;
24677 _ACEOF
24678 if ac_fn_c_try_link "$LINENO"; then :
24679 gcc_cv_math_func_cacos=yes
24680 else
24681 gcc_cv_math_func_cacos=no
24683 rm -f core conftest.err conftest.$ac_objext \
24684 conftest$ac_exeext conftest.$ac_ext
24686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacos" >&5
24687 $as_echo "$gcc_cv_math_func_cacos" >&6; }
24688 if test $gcc_cv_math_func_cacos = yes; then
24690 cat >>confdefs.h <<_ACEOF
24691 #define HAVE_CACOS 1
24692 _ACEOF
24699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosf" >&5
24700 $as_echo_n "checking for cacosf... " >&6; }
24701 if test "${gcc_cv_math_func_cacosf+set}" = set; then :
24702 $as_echo_n "(cached) " >&6
24703 else
24704 if test x$gcc_no_link = xyes; then
24705 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24708 /* end confdefs.h. */
24710 #ifdef HAVE_COMPLEX_H
24711 #include <complex.h>
24712 #endif
24713 #ifdef HAVE_MATH_H
24714 #include <math.h>
24715 #endif
24717 int (*ptr)() = (int (*)())cacosf;
24720 main ()
24722 return 0;
24725 _ACEOF
24726 if ac_fn_c_try_link "$LINENO"; then :
24727 gcc_cv_math_func_cacosf=yes
24728 else
24729 gcc_cv_math_func_cacosf=no
24731 rm -f core conftest.err conftest.$ac_objext \
24732 conftest$ac_exeext conftest.$ac_ext
24734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosf" >&5
24735 $as_echo "$gcc_cv_math_func_cacosf" >&6; }
24736 if test $gcc_cv_math_func_cacosf = yes; then
24738 cat >>confdefs.h <<_ACEOF
24739 #define HAVE_CACOSF 1
24740 _ACEOF
24747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosh" >&5
24748 $as_echo_n "checking for cacosh... " >&6; }
24749 if test "${gcc_cv_math_func_cacosh+set}" = set; then :
24750 $as_echo_n "(cached) " >&6
24751 else
24752 if test x$gcc_no_link = xyes; then
24753 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24756 /* end confdefs.h. */
24758 #ifdef HAVE_COMPLEX_H
24759 #include <complex.h>
24760 #endif
24761 #ifdef HAVE_MATH_H
24762 #include <math.h>
24763 #endif
24765 int (*ptr)() = (int (*)())cacosh;
24768 main ()
24770 return 0;
24773 _ACEOF
24774 if ac_fn_c_try_link "$LINENO"; then :
24775 gcc_cv_math_func_cacosh=yes
24776 else
24777 gcc_cv_math_func_cacosh=no
24779 rm -f core conftest.err conftest.$ac_objext \
24780 conftest$ac_exeext conftest.$ac_ext
24782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosh" >&5
24783 $as_echo "$gcc_cv_math_func_cacosh" >&6; }
24784 if test $gcc_cv_math_func_cacosh = yes; then
24786 cat >>confdefs.h <<_ACEOF
24787 #define HAVE_CACOSH 1
24788 _ACEOF
24795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshf" >&5
24796 $as_echo_n "checking for cacoshf... " >&6; }
24797 if test "${gcc_cv_math_func_cacoshf+set}" = set; then :
24798 $as_echo_n "(cached) " >&6
24799 else
24800 if test x$gcc_no_link = xyes; then
24801 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24804 /* end confdefs.h. */
24806 #ifdef HAVE_COMPLEX_H
24807 #include <complex.h>
24808 #endif
24809 #ifdef HAVE_MATH_H
24810 #include <math.h>
24811 #endif
24813 int (*ptr)() = (int (*)())cacoshf;
24816 main ()
24818 return 0;
24821 _ACEOF
24822 if ac_fn_c_try_link "$LINENO"; then :
24823 gcc_cv_math_func_cacoshf=yes
24824 else
24825 gcc_cv_math_func_cacoshf=no
24827 rm -f core conftest.err conftest.$ac_objext \
24828 conftest$ac_exeext conftest.$ac_ext
24830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshf" >&5
24831 $as_echo "$gcc_cv_math_func_cacoshf" >&6; }
24832 if test $gcc_cv_math_func_cacoshf = yes; then
24834 cat >>confdefs.h <<_ACEOF
24835 #define HAVE_CACOSHF 1
24836 _ACEOF
24843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshl" >&5
24844 $as_echo_n "checking for cacoshl... " >&6; }
24845 if test "${gcc_cv_math_func_cacoshl+set}" = set; then :
24846 $as_echo_n "(cached) " >&6
24847 else
24848 if test x$gcc_no_link = xyes; then
24849 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24852 /* end confdefs.h. */
24854 #ifdef HAVE_COMPLEX_H
24855 #include <complex.h>
24856 #endif
24857 #ifdef HAVE_MATH_H
24858 #include <math.h>
24859 #endif
24861 int (*ptr)() = (int (*)())cacoshl;
24864 main ()
24866 return 0;
24869 _ACEOF
24870 if ac_fn_c_try_link "$LINENO"; then :
24871 gcc_cv_math_func_cacoshl=yes
24872 else
24873 gcc_cv_math_func_cacoshl=no
24875 rm -f core conftest.err conftest.$ac_objext \
24876 conftest$ac_exeext conftest.$ac_ext
24878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshl" >&5
24879 $as_echo "$gcc_cv_math_func_cacoshl" >&6; }
24880 if test $gcc_cv_math_func_cacoshl = yes; then
24882 cat >>confdefs.h <<_ACEOF
24883 #define HAVE_CACOSHL 1
24884 _ACEOF
24891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosl" >&5
24892 $as_echo_n "checking for cacosl... " >&6; }
24893 if test "${gcc_cv_math_func_cacosl+set}" = set; then :
24894 $as_echo_n "(cached) " >&6
24895 else
24896 if test x$gcc_no_link = xyes; then
24897 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24900 /* end confdefs.h. */
24902 #ifdef HAVE_COMPLEX_H
24903 #include <complex.h>
24904 #endif
24905 #ifdef HAVE_MATH_H
24906 #include <math.h>
24907 #endif
24909 int (*ptr)() = (int (*)())cacosl;
24912 main ()
24914 return 0;
24917 _ACEOF
24918 if ac_fn_c_try_link "$LINENO"; then :
24919 gcc_cv_math_func_cacosl=yes
24920 else
24921 gcc_cv_math_func_cacosl=no
24923 rm -f core conftest.err conftest.$ac_objext \
24924 conftest$ac_exeext conftest.$ac_ext
24926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosl" >&5
24927 $as_echo "$gcc_cv_math_func_cacosl" >&6; }
24928 if test $gcc_cv_math_func_cacosl = yes; then
24930 cat >>confdefs.h <<_ACEOF
24931 #define HAVE_CACOSL 1
24932 _ACEOF
24939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casin" >&5
24940 $as_echo_n "checking for casin... " >&6; }
24941 if test "${gcc_cv_math_func_casin+set}" = set; then :
24942 $as_echo_n "(cached) " >&6
24943 else
24944 if test x$gcc_no_link = xyes; then
24945 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24948 /* end confdefs.h. */
24950 #ifdef HAVE_COMPLEX_H
24951 #include <complex.h>
24952 #endif
24953 #ifdef HAVE_MATH_H
24954 #include <math.h>
24955 #endif
24957 int (*ptr)() = (int (*)())casin;
24960 main ()
24962 return 0;
24965 _ACEOF
24966 if ac_fn_c_try_link "$LINENO"; then :
24967 gcc_cv_math_func_casin=yes
24968 else
24969 gcc_cv_math_func_casin=no
24971 rm -f core conftest.err conftest.$ac_objext \
24972 conftest$ac_exeext conftest.$ac_ext
24974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casin" >&5
24975 $as_echo "$gcc_cv_math_func_casin" >&6; }
24976 if test $gcc_cv_math_func_casin = yes; then
24978 cat >>confdefs.h <<_ACEOF
24979 #define HAVE_CASIN 1
24980 _ACEOF
24987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinf" >&5
24988 $as_echo_n "checking for casinf... " >&6; }
24989 if test "${gcc_cv_math_func_casinf+set}" = set; then :
24990 $as_echo_n "(cached) " >&6
24991 else
24992 if test x$gcc_no_link = xyes; then
24993 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24996 /* end confdefs.h. */
24998 #ifdef HAVE_COMPLEX_H
24999 #include <complex.h>
25000 #endif
25001 #ifdef HAVE_MATH_H
25002 #include <math.h>
25003 #endif
25005 int (*ptr)() = (int (*)())casinf;
25008 main ()
25010 return 0;
25013 _ACEOF
25014 if ac_fn_c_try_link "$LINENO"; then :
25015 gcc_cv_math_func_casinf=yes
25016 else
25017 gcc_cv_math_func_casinf=no
25019 rm -f core conftest.err conftest.$ac_objext \
25020 conftest$ac_exeext conftest.$ac_ext
25022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinf" >&5
25023 $as_echo "$gcc_cv_math_func_casinf" >&6; }
25024 if test $gcc_cv_math_func_casinf = yes; then
25026 cat >>confdefs.h <<_ACEOF
25027 #define HAVE_CASINF 1
25028 _ACEOF
25035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinh" >&5
25036 $as_echo_n "checking for casinh... " >&6; }
25037 if test "${gcc_cv_math_func_casinh+set}" = set; then :
25038 $as_echo_n "(cached) " >&6
25039 else
25040 if test x$gcc_no_link = xyes; then
25041 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25044 /* end confdefs.h. */
25046 #ifdef HAVE_COMPLEX_H
25047 #include <complex.h>
25048 #endif
25049 #ifdef HAVE_MATH_H
25050 #include <math.h>
25051 #endif
25053 int (*ptr)() = (int (*)())casinh;
25056 main ()
25058 return 0;
25061 _ACEOF
25062 if ac_fn_c_try_link "$LINENO"; then :
25063 gcc_cv_math_func_casinh=yes
25064 else
25065 gcc_cv_math_func_casinh=no
25067 rm -f core conftest.err conftest.$ac_objext \
25068 conftest$ac_exeext conftest.$ac_ext
25070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinh" >&5
25071 $as_echo "$gcc_cv_math_func_casinh" >&6; }
25072 if test $gcc_cv_math_func_casinh = yes; then
25074 cat >>confdefs.h <<_ACEOF
25075 #define HAVE_CASINH 1
25076 _ACEOF
25083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhf" >&5
25084 $as_echo_n "checking for casinhf... " >&6; }
25085 if test "${gcc_cv_math_func_casinhf+set}" = set; then :
25086 $as_echo_n "(cached) " >&6
25087 else
25088 if test x$gcc_no_link = xyes; then
25089 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25092 /* end confdefs.h. */
25094 #ifdef HAVE_COMPLEX_H
25095 #include <complex.h>
25096 #endif
25097 #ifdef HAVE_MATH_H
25098 #include <math.h>
25099 #endif
25101 int (*ptr)() = (int (*)())casinhf;
25104 main ()
25106 return 0;
25109 _ACEOF
25110 if ac_fn_c_try_link "$LINENO"; then :
25111 gcc_cv_math_func_casinhf=yes
25112 else
25113 gcc_cv_math_func_casinhf=no
25115 rm -f core conftest.err conftest.$ac_objext \
25116 conftest$ac_exeext conftest.$ac_ext
25118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhf" >&5
25119 $as_echo "$gcc_cv_math_func_casinhf" >&6; }
25120 if test $gcc_cv_math_func_casinhf = yes; then
25122 cat >>confdefs.h <<_ACEOF
25123 #define HAVE_CASINHF 1
25124 _ACEOF
25131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhl" >&5
25132 $as_echo_n "checking for casinhl... " >&6; }
25133 if test "${gcc_cv_math_func_casinhl+set}" = set; then :
25134 $as_echo_n "(cached) " >&6
25135 else
25136 if test x$gcc_no_link = xyes; then
25137 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25140 /* end confdefs.h. */
25142 #ifdef HAVE_COMPLEX_H
25143 #include <complex.h>
25144 #endif
25145 #ifdef HAVE_MATH_H
25146 #include <math.h>
25147 #endif
25149 int (*ptr)() = (int (*)())casinhl;
25152 main ()
25154 return 0;
25157 _ACEOF
25158 if ac_fn_c_try_link "$LINENO"; then :
25159 gcc_cv_math_func_casinhl=yes
25160 else
25161 gcc_cv_math_func_casinhl=no
25163 rm -f core conftest.err conftest.$ac_objext \
25164 conftest$ac_exeext conftest.$ac_ext
25166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhl" >&5
25167 $as_echo "$gcc_cv_math_func_casinhl" >&6; }
25168 if test $gcc_cv_math_func_casinhl = yes; then
25170 cat >>confdefs.h <<_ACEOF
25171 #define HAVE_CASINHL 1
25172 _ACEOF
25179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinl" >&5
25180 $as_echo_n "checking for casinl... " >&6; }
25181 if test "${gcc_cv_math_func_casinl+set}" = set; then :
25182 $as_echo_n "(cached) " >&6
25183 else
25184 if test x$gcc_no_link = xyes; then
25185 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25188 /* end confdefs.h. */
25190 #ifdef HAVE_COMPLEX_H
25191 #include <complex.h>
25192 #endif
25193 #ifdef HAVE_MATH_H
25194 #include <math.h>
25195 #endif
25197 int (*ptr)() = (int (*)())casinl;
25200 main ()
25202 return 0;
25205 _ACEOF
25206 if ac_fn_c_try_link "$LINENO"; then :
25207 gcc_cv_math_func_casinl=yes
25208 else
25209 gcc_cv_math_func_casinl=no
25211 rm -f core conftest.err conftest.$ac_objext \
25212 conftest$ac_exeext conftest.$ac_ext
25214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinl" >&5
25215 $as_echo "$gcc_cv_math_func_casinl" >&6; }
25216 if test $gcc_cv_math_func_casinl = yes; then
25218 cat >>confdefs.h <<_ACEOF
25219 #define HAVE_CASINL 1
25220 _ACEOF
25227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catan" >&5
25228 $as_echo_n "checking for catan... " >&6; }
25229 if test "${gcc_cv_math_func_catan+set}" = set; then :
25230 $as_echo_n "(cached) " >&6
25231 else
25232 if test x$gcc_no_link = xyes; then
25233 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25236 /* end confdefs.h. */
25238 #ifdef HAVE_COMPLEX_H
25239 #include <complex.h>
25240 #endif
25241 #ifdef HAVE_MATH_H
25242 #include <math.h>
25243 #endif
25245 int (*ptr)() = (int (*)())catan;
25248 main ()
25250 return 0;
25253 _ACEOF
25254 if ac_fn_c_try_link "$LINENO"; then :
25255 gcc_cv_math_func_catan=yes
25256 else
25257 gcc_cv_math_func_catan=no
25259 rm -f core conftest.err conftest.$ac_objext \
25260 conftest$ac_exeext conftest.$ac_ext
25262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catan" >&5
25263 $as_echo "$gcc_cv_math_func_catan" >&6; }
25264 if test $gcc_cv_math_func_catan = yes; then
25266 cat >>confdefs.h <<_ACEOF
25267 #define HAVE_CATAN 1
25268 _ACEOF
25275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanf" >&5
25276 $as_echo_n "checking for catanf... " >&6; }
25277 if test "${gcc_cv_math_func_catanf+set}" = set; then :
25278 $as_echo_n "(cached) " >&6
25279 else
25280 if test x$gcc_no_link = xyes; then
25281 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25284 /* end confdefs.h. */
25286 #ifdef HAVE_COMPLEX_H
25287 #include <complex.h>
25288 #endif
25289 #ifdef HAVE_MATH_H
25290 #include <math.h>
25291 #endif
25293 int (*ptr)() = (int (*)())catanf;
25296 main ()
25298 return 0;
25301 _ACEOF
25302 if ac_fn_c_try_link "$LINENO"; then :
25303 gcc_cv_math_func_catanf=yes
25304 else
25305 gcc_cv_math_func_catanf=no
25307 rm -f core conftest.err conftest.$ac_objext \
25308 conftest$ac_exeext conftest.$ac_ext
25310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanf" >&5
25311 $as_echo "$gcc_cv_math_func_catanf" >&6; }
25312 if test $gcc_cv_math_func_catanf = yes; then
25314 cat >>confdefs.h <<_ACEOF
25315 #define HAVE_CATANF 1
25316 _ACEOF
25323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanh" >&5
25324 $as_echo_n "checking for catanh... " >&6; }
25325 if test "${gcc_cv_math_func_catanh+set}" = set; then :
25326 $as_echo_n "(cached) " >&6
25327 else
25328 if test x$gcc_no_link = xyes; then
25329 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25332 /* end confdefs.h. */
25334 #ifdef HAVE_COMPLEX_H
25335 #include <complex.h>
25336 #endif
25337 #ifdef HAVE_MATH_H
25338 #include <math.h>
25339 #endif
25341 int (*ptr)() = (int (*)())catanh;
25344 main ()
25346 return 0;
25349 _ACEOF
25350 if ac_fn_c_try_link "$LINENO"; then :
25351 gcc_cv_math_func_catanh=yes
25352 else
25353 gcc_cv_math_func_catanh=no
25355 rm -f core conftest.err conftest.$ac_objext \
25356 conftest$ac_exeext conftest.$ac_ext
25358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanh" >&5
25359 $as_echo "$gcc_cv_math_func_catanh" >&6; }
25360 if test $gcc_cv_math_func_catanh = yes; then
25362 cat >>confdefs.h <<_ACEOF
25363 #define HAVE_CATANH 1
25364 _ACEOF
25371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhf" >&5
25372 $as_echo_n "checking for catanhf... " >&6; }
25373 if test "${gcc_cv_math_func_catanhf+set}" = set; then :
25374 $as_echo_n "(cached) " >&6
25375 else
25376 if test x$gcc_no_link = xyes; then
25377 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25380 /* end confdefs.h. */
25382 #ifdef HAVE_COMPLEX_H
25383 #include <complex.h>
25384 #endif
25385 #ifdef HAVE_MATH_H
25386 #include <math.h>
25387 #endif
25389 int (*ptr)() = (int (*)())catanhf;
25392 main ()
25394 return 0;
25397 _ACEOF
25398 if ac_fn_c_try_link "$LINENO"; then :
25399 gcc_cv_math_func_catanhf=yes
25400 else
25401 gcc_cv_math_func_catanhf=no
25403 rm -f core conftest.err conftest.$ac_objext \
25404 conftest$ac_exeext conftest.$ac_ext
25406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhf" >&5
25407 $as_echo "$gcc_cv_math_func_catanhf" >&6; }
25408 if test $gcc_cv_math_func_catanhf = yes; then
25410 cat >>confdefs.h <<_ACEOF
25411 #define HAVE_CATANHF 1
25412 _ACEOF
25419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhl" >&5
25420 $as_echo_n "checking for catanhl... " >&6; }
25421 if test "${gcc_cv_math_func_catanhl+set}" = set; then :
25422 $as_echo_n "(cached) " >&6
25423 else
25424 if test x$gcc_no_link = xyes; then
25425 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25428 /* end confdefs.h. */
25430 #ifdef HAVE_COMPLEX_H
25431 #include <complex.h>
25432 #endif
25433 #ifdef HAVE_MATH_H
25434 #include <math.h>
25435 #endif
25437 int (*ptr)() = (int (*)())catanhl;
25440 main ()
25442 return 0;
25445 _ACEOF
25446 if ac_fn_c_try_link "$LINENO"; then :
25447 gcc_cv_math_func_catanhl=yes
25448 else
25449 gcc_cv_math_func_catanhl=no
25451 rm -f core conftest.err conftest.$ac_objext \
25452 conftest$ac_exeext conftest.$ac_ext
25454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhl" >&5
25455 $as_echo "$gcc_cv_math_func_catanhl" >&6; }
25456 if test $gcc_cv_math_func_catanhl = yes; then
25458 cat >>confdefs.h <<_ACEOF
25459 #define HAVE_CATANHL 1
25460 _ACEOF
25467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanl" >&5
25468 $as_echo_n "checking for catanl... " >&6; }
25469 if test "${gcc_cv_math_func_catanl+set}" = set; then :
25470 $as_echo_n "(cached) " >&6
25471 else
25472 if test x$gcc_no_link = xyes; then
25473 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25476 /* end confdefs.h. */
25478 #ifdef HAVE_COMPLEX_H
25479 #include <complex.h>
25480 #endif
25481 #ifdef HAVE_MATH_H
25482 #include <math.h>
25483 #endif
25485 int (*ptr)() = (int (*)())catanl;
25488 main ()
25490 return 0;
25493 _ACEOF
25494 if ac_fn_c_try_link "$LINENO"; then :
25495 gcc_cv_math_func_catanl=yes
25496 else
25497 gcc_cv_math_func_catanl=no
25499 rm -f core conftest.err conftest.$ac_objext \
25500 conftest$ac_exeext conftest.$ac_ext
25502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanl" >&5
25503 $as_echo "$gcc_cv_math_func_catanl" >&6; }
25504 if test $gcc_cv_math_func_catanl = yes; then
25506 cat >>confdefs.h <<_ACEOF
25507 #define HAVE_CATANL 1
25508 _ACEOF
25513 # On AIX, clog is present in libm as __clog
25514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clog in -lm" >&5
25515 $as_echo_n "checking for __clog in -lm... " >&6; }
25516 if test "${ac_cv_lib_m___clog+set}" = set; then :
25517 $as_echo_n "(cached) " >&6
25518 else
25519 ac_check_lib_save_LIBS=$LIBS
25520 LIBS="-lm $LIBS"
25521 if test x$gcc_no_link = xyes; then
25522 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25525 /* end confdefs.h. */
25527 /* Override any GCC internal prototype to avoid an error.
25528 Use char because int might match the return type of a GCC
25529 builtin and then its argument prototype would still apply. */
25530 #ifdef __cplusplus
25531 extern "C"
25532 #endif
25533 char __clog ();
25535 main ()
25537 return __clog ();
25539 return 0;
25541 _ACEOF
25542 if ac_fn_c_try_link "$LINENO"; then :
25543 ac_cv_lib_m___clog=yes
25544 else
25545 ac_cv_lib_m___clog=no
25547 rm -f core conftest.err conftest.$ac_objext \
25548 conftest$ac_exeext conftest.$ac_ext
25549 LIBS=$ac_check_lib_save_LIBS
25551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m___clog" >&5
25552 $as_echo "$ac_cv_lib_m___clog" >&6; }
25553 if test "x$ac_cv_lib_m___clog" = x""yes; then :
25555 $as_echo "#define HAVE_CLOG 1" >>confdefs.h
25560 # Check whether the system has a working stat()
25562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target stat is reliable" >&5
25563 $as_echo_n "checking whether the target stat is reliable... " >&6; }
25564 if test "${libgfor_cv_have_working_stat+set}" = set; then :
25565 $as_echo_n "(cached) " >&6
25566 else
25568 if test "$cross_compiling" = yes; then :
25570 case "${target}" in
25571 *mingw*) libgfor_cv_have_working_stat=no ;;
25572 *) libgfor_cv_have_working_stat=yes;;
25573 esac
25574 else
25575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25576 /* end confdefs.h. */
25578 #include <stdio.h>
25579 #include <sys/types.h>
25580 #include <sys/stat.h>
25581 #include <unistd.h>
25583 int main ()
25585 FILE *f, *g;
25586 struct stat st1, st2;
25588 f = fopen ("foo", "w");
25589 g = fopen ("bar", "w");
25590 if (stat ("foo", &st1) != 0 || stat ("bar", &st2))
25591 return 1;
25592 if (st1.st_dev == st2.st_dev && st1.st_ino == st2.st_ino)
25593 return 1;
25594 fclose(f);
25595 fclose(g);
25596 return 0;
25598 _ACEOF
25599 if ac_fn_c_try_run "$LINENO"; then :
25600 libgfor_cv_have_working_stat=yes
25601 else
25602 libgfor_cv_have_working_stat=no
25604 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25605 conftest.$ac_objext conftest.beam conftest.$ac_ext
25609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_working_stat" >&5
25610 $as_echo "$libgfor_cv_have_working_stat" >&6; }
25611 if test x"$libgfor_cv_have_working_stat" = xyes; then
25613 $as_echo "#define HAVE_WORKING_STAT 1" >>confdefs.h
25617 # Check whether __mingw_snprintf() is present
25619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __mingw_snprintf is present" >&5
25620 $as_echo_n "checking whether __mingw_snprintf is present... " >&6; }
25621 if test "${libgfor_cv_have_mingw_snprintf+set}" = set; then :
25622 $as_echo_n "(cached) " >&6
25623 else
25625 if test x$gcc_no_link = xyes; then
25626 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25629 /* end confdefs.h. */
25631 #include <stdio.h>
25632 extern int __mingw_snprintf (char *, size_t, const char *, ...);
25635 main ()
25638 __mingw_snprintf (NULL, 0, "%d\n", 1);
25641 return 0;
25643 _ACEOF
25644 if ac_fn_c_try_link "$LINENO"; then :
25645 eval "libgfor_cv_have_mingw_snprintf=yes"
25646 else
25647 eval "libgfor_cv_have_mingw_snprintf=no"
25649 rm -f core conftest.err conftest.$ac_objext \
25650 conftest$ac_exeext conftest.$ac_ext
25653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_mingw_snprintf" >&5
25654 $as_echo "$libgfor_cv_have_mingw_snprintf" >&6; }
25655 if test x"$libgfor_cv_have_mingw_snprintf" = xyes; then
25657 $as_echo "#define HAVE_MINGW_SNPRINTF 1" >>confdefs.h
25662 # Check whether libquadmath should be used
25663 # Check whether --enable-libquadmath-support was given.
25664 if test "${enable_libquadmath_support+set}" = set; then :
25665 enableval=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT=$enableval
25666 else
25667 ENABLE_LIBQUADMATH_SUPPORT=yes
25670 enable_libquadmath_support=
25671 if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
25672 enable_libquadmath_support=no
25675 # Check whether we have a __float128 type, depends on enable_libquadmath_support
25677 LIBQUADSPEC=
25679 if test "x$enable_libquadmath_support" != xno; then
25681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have a usable __float128 type" >&5
25682 $as_echo_n "checking whether we have a usable __float128 type... " >&6; }
25683 if test "${libgfor_cv_have_float128+set}" = set; then :
25684 $as_echo_n "(cached) " >&6
25685 else
25687 if test x$gcc_no_link = xyes; then
25688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25689 /* end confdefs.h. */
25691 typedef _Complex float __attribute__((mode(TC))) __complex128;
25693 __float128 foo (__float128 x)
25696 __complex128 z1, z2;
25698 z1 = x;
25699 z2 = x / 7.Q;
25700 z2 /= z1;
25702 return (__float128) z2;
25705 __float128 bar (__float128 x)
25707 return x * __builtin_huge_valq ();
25711 main ()
25714 foo (1.2Q);
25715 bar (1.2Q);
25718 return 0;
25720 _ACEOF
25721 if ac_fn_c_try_compile "$LINENO"; then :
25723 libgfor_cv_have_float128=yes
25725 else
25727 libgfor_cv_have_float128=no
25730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25731 else
25732 if test x$gcc_no_link = xyes; then
25733 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25736 /* end confdefs.h. */
25738 typedef _Complex float __attribute__((mode(TC))) __complex128;
25740 __float128 foo (__float128 x)
25743 __complex128 z1, z2;
25745 z1 = x;
25746 z2 = x / 7.Q;
25747 z2 /= z1;
25749 return (__float128) z2;
25752 __float128 bar (__float128 x)
25754 return x * __builtin_huge_valq ();
25758 main ()
25761 foo (1.2Q);
25762 bar (1.2Q);
25765 return 0;
25767 _ACEOF
25768 if ac_fn_c_try_link "$LINENO"; then :
25770 libgfor_cv_have_float128=yes
25772 else
25774 libgfor_cv_have_float128=no
25777 rm -f core conftest.err conftest.$ac_objext \
25778 conftest$ac_exeext conftest.$ac_ext
25781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_float128" >&5
25782 $as_echo "$libgfor_cv_have_float128" >&6; }
25784 if test "x$libgfor_cv_have_float128" = xyes; then
25786 $as_echo "#define HAVE_FLOAT128 1" >>confdefs.h
25789 ac_xsave_c_werror_flag=$ac_c_werror_flag
25790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether --as-needed/-z ignore works" >&5
25791 $as_echo_n "checking whether --as-needed/-z ignore works... " >&6; }
25792 if test "${libgfor_cv_have_as_needed+set}" = set; then :
25793 $as_echo_n "(cached) " >&6
25794 else
25796 # Test for native Solaris options first.
25797 # No whitespace after -z to pass it through -Wl.
25798 libgfor_cv_as_needed_option="-zignore"
25799 libgfor_cv_no_as_needed_option="-zrecord"
25800 save_LDFLAGS="$LDFLAGS"
25801 LDFLAGS="$LDFLAGS -Wl,$libgfor_cv_as_needed_option -lm -Wl,$libgfor_cv_no_as_needed_option"
25802 libgfor_cv_have_as_needed=no
25804 ac_c_werror_flag=yes
25805 if test x$gcc_no_link = xyes; then
25806 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25809 /* end confdefs.h. */
25812 main ()
25816 return 0;
25818 _ACEOF
25819 if ac_fn_c_try_link "$LINENO"; then :
25820 libgfor_cv_have_as_needed=yes
25821 else
25822 libgfor_cv_have_as_needed=no
25824 rm -f core conftest.err conftest.$ac_objext \
25825 conftest$ac_exeext conftest.$ac_ext
25826 LDFLAGS="$save_LDFLAGS"
25827 if test "x$libgfor_cv_have_as_needed" = xno; then
25828 libgfor_cv_as_needed_option="--as-needed"
25829 libgfor_cv_no_as_needed_option="--no-as-needed"
25830 save_LDFLAGS="$LDFLAGS"
25831 LDFLAGS="$LDFLAGS -Wl,$libgfor_cv_as_needed_option -lm -Wl,$libgfor_cv_no_as_needed_option"
25832 libgfor_cv_have_as_needed=no
25834 ac_c_werror_flag=yes
25835 if test x$gcc_no_link = xyes; then
25836 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25839 /* end confdefs.h. */
25842 main ()
25846 return 0;
25848 _ACEOF
25849 if ac_fn_c_try_link "$LINENO"; then :
25850 libgfor_cv_have_as_needed=yes
25851 else
25852 libgfor_cv_have_as_needed=no
25854 rm -f core conftest.err conftest.$ac_objext \
25855 conftest$ac_exeext conftest.$ac_ext
25856 LDFLAGS="$save_LDFLAGS"
25858 ac_c_werror_flag=$ac_xsave_c_werror_flag
25861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_as_needed" >&5
25862 $as_echo "$libgfor_cv_have_as_needed" >&6; }
25864 if test "x$libgfor_cv_have_as_needed" = xyes; then
25865 LIBQUADSPEC="%{static-libgfortran:$libgfor_cv_as_needed_option} -lquadmath %{static-libgfortran:$libgfor_cv_no_as_needed_option}"
25866 else
25867 LIBQUADSPEC="-lquadmath"
25869 if test -f ../libquadmath/libquadmath.la; then
25870 LIBQUADLIB=../libquadmath/libquadmath.la
25871 LIBQUADLIB_DEP=../libquadmath/libquadmath.la
25872 LIBQUADINCLUDE='-I$(srcdir)/../libquadmath'
25873 else
25874 LIBQUADLIB="-lquadmath"
25875 LIBQUADLIB_DEP=
25876 LIBQUADINCLUDE=
25879 else
25880 # for --disable-quadmath
25881 LIBQUADLIB=
25882 LIBQUADLIB_DEP=
25883 LIBQUADINCLUDE=
25891 if test "x$libgfor_cv_have_float128" = xyes; then
25892 LIBGFOR_BUILD_QUAD_TRUE=
25893 LIBGFOR_BUILD_QUAD_FALSE='#'
25894 else
25895 LIBGFOR_BUILD_QUAD_TRUE='#'
25896 LIBGFOR_BUILD_QUAD_FALSE=
25901 # Check for GNU libc feenableexcept
25902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for feenableexcept in -lm" >&5
25903 $as_echo_n "checking for feenableexcept in -lm... " >&6; }
25904 if test "${ac_cv_lib_m_feenableexcept+set}" = set; then :
25905 $as_echo_n "(cached) " >&6
25906 else
25907 ac_check_lib_save_LIBS=$LIBS
25908 LIBS="-lm $LIBS"
25909 if test x$gcc_no_link = xyes; then
25910 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25913 /* end confdefs.h. */
25915 /* Override any GCC internal prototype to avoid an error.
25916 Use char because int might match the return type of a GCC
25917 builtin and then its argument prototype would still apply. */
25918 #ifdef __cplusplus
25919 extern "C"
25920 #endif
25921 char feenableexcept ();
25923 main ()
25925 return feenableexcept ();
25927 return 0;
25929 _ACEOF
25930 if ac_fn_c_try_link "$LINENO"; then :
25931 ac_cv_lib_m_feenableexcept=yes
25932 else
25933 ac_cv_lib_m_feenableexcept=no
25935 rm -f core conftest.err conftest.$ac_objext \
25936 conftest$ac_exeext conftest.$ac_ext
25937 LIBS=$ac_check_lib_save_LIBS
25939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_feenableexcept" >&5
25940 $as_echo "$ac_cv_lib_m_feenableexcept" >&6; }
25941 if test "x$ac_cv_lib_m_feenableexcept" = x""yes; then :
25942 have_feenableexcept=yes
25943 $as_echo "#define HAVE_FEENABLEEXCEPT 1" >>confdefs.h
25948 # At least for glibc, clock_gettime is in librt. But don't
25949 # pull that in if it still doesn't give us the function we want. This
25950 # test is copied from libgomp, and modified to not link in -lrt as
25951 # libgfortran calls clock_gettime via a weak reference if it's found
25952 # in librt.
25953 if test $ac_cv_func_clock_gettime = no; then
25954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
25955 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
25956 if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then :
25957 $as_echo_n "(cached) " >&6
25958 else
25959 ac_check_lib_save_LIBS=$LIBS
25960 LIBS="-lrt $LIBS"
25961 if test x$gcc_no_link = xyes; then
25962 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25965 /* end confdefs.h. */
25967 /* Override any GCC internal prototype to avoid an error.
25968 Use char because int might match the return type of a GCC
25969 builtin and then its argument prototype would still apply. */
25970 #ifdef __cplusplus
25971 extern "C"
25972 #endif
25973 char clock_gettime ();
25975 main ()
25977 return clock_gettime ();
25979 return 0;
25981 _ACEOF
25982 if ac_fn_c_try_link "$LINENO"; then :
25983 ac_cv_lib_rt_clock_gettime=yes
25984 else
25985 ac_cv_lib_rt_clock_gettime=no
25987 rm -f core conftest.err conftest.$ac_objext \
25988 conftest$ac_exeext conftest.$ac_ext
25989 LIBS=$ac_check_lib_save_LIBS
25991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
25992 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
25993 if test "x$ac_cv_lib_rt_clock_gettime" = x""yes; then :
25995 $as_echo "#define HAVE_CLOCK_GETTIME_LIBRT 1" >>confdefs.h
26001 # Check for SysV fpsetmask
26003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fpsetmask is present" >&5
26004 $as_echo_n "checking whether fpsetmask is present... " >&6; }
26005 if test "${libgfor_cv_have_fpsetmask+set}" = set; then :
26006 $as_echo_n "(cached) " >&6
26007 else
26009 if test x$gcc_no_link = xyes; then
26010 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26013 /* end confdefs.h. */
26015 #if HAVE_FLOATINGPOINT_H
26016 # include <floatingpoint.h>
26017 #endif /* HAVE_FLOATINGPOINT_H */
26018 #if HAVE_IEEEFP_H
26019 # include <ieeefp.h>
26020 #endif /* HAVE_IEEEFP_H */
26022 main ()
26024 fpsetmask(0);
26026 return 0;
26028 _ACEOF
26029 if ac_fn_c_try_link "$LINENO"; then :
26030 eval "libgfor_cv_have_fpsetmask=yes"
26031 else
26032 eval "libgfor_cv_have_fpsetmask=no"
26034 rm -f core conftest.err conftest.$ac_objext \
26035 conftest$ac_exeext conftest.$ac_ext
26038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_fpsetmask" >&5
26039 $as_echo "$libgfor_cv_have_fpsetmask" >&6; }
26040 if test x"$libgfor_cv_have_fpsetmask" = xyes; then
26041 have_fpsetmask=yes
26043 $as_echo "#define HAVE_FPSETMASK 1" >>confdefs.h
26047 ac_fn_c_check_type "$LINENO" "fp_except" "ac_cv_type_fp_except" "#include <ieeefp.h>
26049 if test "x$ac_cv_type_fp_except" = x""yes; then :
26051 cat >>confdefs.h <<_ACEOF
26052 #define HAVE_FP_EXCEPT 1
26053 _ACEOF
26057 ac_fn_c_check_type "$LINENO" "fp_except_t" "ac_cv_type_fp_except_t" "#include <ieeefp.h>
26059 if test "x$ac_cv_type_fp_except_t" = x""yes; then :
26061 cat >>confdefs.h <<_ACEOF
26062 #define HAVE_FP_EXCEPT_T 1
26063 _ACEOF
26068 ac_fn_c_check_type "$LINENO" "fp_rnd" "ac_cv_type_fp_rnd" "#include <ieeefp.h>
26070 if test "x$ac_cv_type_fp_rnd" = x""yes; then :
26072 cat >>confdefs.h <<_ACEOF
26073 #define HAVE_FP_RND 1
26074 _ACEOF
26078 ac_fn_c_check_type "$LINENO" "fp_rnd_t" "ac_cv_type_fp_rnd_t" "#include <ieeefp.h>
26080 if test "x$ac_cv_type_fp_rnd_t" = x""yes; then :
26082 cat >>confdefs.h <<_ACEOF
26083 #define HAVE_FP_RND_T 1
26084 _ACEOF
26090 # Check for AIX fp_trap and fp_enable
26091 ac_fn_c_check_func "$LINENO" "fp_trap" "ac_cv_func_fp_trap"
26092 if test "x$ac_cv_func_fp_trap" = x""yes; then :
26093 have_fp_trap=yes
26094 $as_echo "#define HAVE_FP_TRAP 1" >>confdefs.h
26098 ac_fn_c_check_func "$LINENO" "fp_enable" "ac_cv_func_fp_enable"
26099 if test "x$ac_cv_func_fp_enable" = x""yes; then :
26100 have_fp_enable=yes
26101 $as_echo "#define HAVE_FP_ENABLE 1" >>confdefs.h
26106 # Runs configure.host to set up necessary host-dependent shell variables.
26107 # We then display a message about it, and propagate them through the
26108 # build chain.
26109 . ${srcdir}/configure.host
26110 { $as_echo "$as_me:${as_lineno-$LINENO}: FPU dependent file will be ${fpu_host}.h" >&5
26111 $as_echo "$as_me: FPU dependent file will be ${fpu_host}.h" >&6;}
26112 FPU_HOST_HEADER=config/${fpu_host}.h
26115 # Some targets require additional compiler options for IEEE compatibility.
26116 IEEE_FLAGS="${ieee_flags}"
26120 # Check for POSIX getpwuid_r
26122 # There are two versions of getpwuid_r, the POSIX one with 5
26123 # arguments, and another one with 4 arguments used by at least HP-UX
26124 # 10.2.
26125 if test "$ac_cv_func_getpwuid_r" = "yes"; then
26126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking POSIX version of getpwuid_r with 5 arguments" >&5
26127 $as_echo_n "checking POSIX version of getpwuid_r with 5 arguments... " >&6; }
26128 if test "${libgfor_cv_posix_getpwuid_r+set}" = set; then :
26129 $as_echo_n "(cached) " >&6
26130 else
26132 if test x$gcc_no_link = xyes; then
26133 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26136 /* end confdefs.h. */
26138 #include <stdio.h>
26139 #include <sys/types.h>
26140 #include <pwd.h>
26142 main ()
26145 getpwuid_r(0, NULL, NULL, 0, NULL);
26148 return 0;
26150 _ACEOF
26151 if ac_fn_c_try_link "$LINENO"; then :
26152 libgfor_cv_posix_getpwuid_r="yes"
26153 else
26154 libgfor_cv_posix_getpwuid_r="no"
26156 rm -f core conftest.err conftest.$ac_objext \
26157 conftest$ac_exeext conftest.$ac_ext
26159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_posix_getpwuid_r" >&5
26160 $as_echo "$libgfor_cv_posix_getpwuid_r" >&6; }
26162 if test "$libgfor_cv_posix_getpwuid_r" = "yes"; then
26164 $as_echo "#define HAVE_POSIX_GETPWUID_R 1" >>confdefs.h
26169 # Check out attribute support.
26171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
26172 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
26173 if test "${libgfor_cv_have_attribute_visibility+set}" = set; then :
26174 $as_echo_n "(cached) " >&6
26175 else
26177 save_CFLAGS="$CFLAGS"
26178 CFLAGS="$CFLAGS -Werror"
26179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26180 /* end confdefs.h. */
26181 void __attribute__((visibility("hidden"))) foo(void) { }
26183 main ()
26187 return 0;
26189 _ACEOF
26190 if ac_fn_c_try_compile "$LINENO"; then :
26191 libgfor_cv_have_attribute_visibility=yes
26192 else
26193 libgfor_cv_have_attribute_visibility=no
26195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26196 CFLAGS="$save_CFLAGS"
26198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_visibility" >&5
26199 $as_echo "$libgfor_cv_have_attribute_visibility" >&6; }
26200 if test $libgfor_cv_have_attribute_visibility = yes; then
26202 $as_echo "#define HAVE_ATTRIBUTE_VISIBILITY 1" >>confdefs.h
26206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports dllexport" >&5
26207 $as_echo_n "checking whether the target supports dllexport... " >&6; }
26208 if test "${libgfor_cv_have_attribute_dllexport+set}" = set; then :
26209 $as_echo_n "(cached) " >&6
26210 else
26212 save_CFLAGS="$CFLAGS"
26213 CFLAGS="$CFLAGS -Werror"
26214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26215 /* end confdefs.h. */
26216 void __attribute__((dllexport)) foo(void) { }
26218 main ()
26222 return 0;
26224 _ACEOF
26225 if ac_fn_c_try_compile "$LINENO"; then :
26226 libgfor_cv_have_attribute_dllexport=yes
26227 else
26228 libgfor_cv_have_attribute_dllexport=no
26230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26231 CFLAGS="$save_CFLAGS"
26233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_dllexport" >&5
26234 $as_echo "$libgfor_cv_have_attribute_dllexport" >&6; }
26235 if test $libgfor_cv_have_attribute_dllexport = yes; then
26237 $as_echo "#define HAVE_ATTRIBUTE_DLLEXPORT 1" >>confdefs.h
26241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports symbol aliases" >&5
26242 $as_echo_n "checking whether the target supports symbol aliases... " >&6; }
26243 if test "${libgfor_cv_have_attribute_alias+set}" = set; then :
26244 $as_echo_n "(cached) " >&6
26245 else
26247 if test x$gcc_no_link = xyes; then
26248 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26251 /* end confdefs.h. */
26253 void foo(void) { }
26254 extern void bar(void) __attribute__((alias("foo")));
26256 main ()
26258 bar();
26260 return 0;
26262 _ACEOF
26263 if ac_fn_c_try_link "$LINENO"; then :
26264 libgfor_cv_have_attribute_alias=yes
26265 else
26266 libgfor_cv_have_attribute_alias=no
26268 rm -f core conftest.err conftest.$ac_objext \
26269 conftest$ac_exeext conftest.$ac_ext
26271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_alias" >&5
26272 $as_echo "$libgfor_cv_have_attribute_alias" >&6; }
26273 if test $libgfor_cv_have_attribute_alias = yes; then
26275 $as_echo "#define HAVE_ATTRIBUTE_ALIAS 1" >>confdefs.h
26279 # Check out sync builtins support.
26281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports __sync_fetch_and_add" >&5
26282 $as_echo_n "checking whether the target supports __sync_fetch_and_add... " >&6; }
26283 if test "${libgfor_cv_have_sync_fetch_and_add+set}" = set; then :
26284 $as_echo_n "(cached) " >&6
26285 else
26287 if test x$gcc_no_link = xyes; then
26288 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26291 /* end confdefs.h. */
26292 int foovar = 0;
26294 main ()
26297 if (foovar <= 0) return __sync_fetch_and_add (&foovar, 1);
26298 if (foovar > 10) return __sync_add_and_fetch (&foovar, -1);
26300 return 0;
26302 _ACEOF
26303 if ac_fn_c_try_link "$LINENO"; then :
26304 libgfor_cv_have_sync_fetch_and_add=yes
26305 else
26306 libgfor_cv_have_sync_fetch_and_add=no
26308 rm -f core conftest.err conftest.$ac_objext \
26309 conftest$ac_exeext conftest.$ac_ext
26311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_sync_fetch_and_add" >&5
26312 $as_echo "$libgfor_cv_have_sync_fetch_and_add" >&6; }
26313 if test $libgfor_cv_have_sync_fetch_and_add = yes; then
26315 $as_echo "#define HAVE_SYNC_FETCH_AND_ADD 1" >>confdefs.h
26319 # Check out #pragma weak.
26321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pragma weak works" >&5
26322 $as_echo_n "checking whether pragma weak works... " >&6; }
26323 if test "${libgfor_cv_have_pragma_weak+set}" = set; then :
26324 $as_echo_n "(cached) " >&6
26325 else
26327 gfor_save_CFLAGS="$CFLAGS"
26328 CFLAGS="$CFLAGS -Wunknown-pragmas"
26329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26330 /* end confdefs.h. */
26332 void foo (void);
26333 #pragma weak foo
26336 main ()
26338 if (foo) foo ();
26340 return 0;
26342 _ACEOF
26343 if ac_fn_c_try_compile "$LINENO"; then :
26344 libgfor_cv_have_pragma_weak=yes
26345 else
26346 libgfor_cv_have_pragma_weak=no
26348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_pragma_weak" >&5
26351 $as_echo "$libgfor_cv_have_pragma_weak" >&6; }
26352 if test $libgfor_cv_have_pragma_weak = yes; then
26354 $as_echo "#define SUPPORTS_WEAK 1" >>confdefs.h
26357 case "$host" in
26358 *-*-darwin* | *-*-hpux* | *-*-cygwin* | *-*-mingw* )
26360 $as_echo "#define GTHREAD_USE_WEAK 0" >>confdefs.h
26363 esac
26365 # Various other checks on target
26367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target can unlink an open file" >&5
26368 $as_echo_n "checking whether the target can unlink an open file... " >&6; }
26369 if test "${libgfor_cv_have_unlink_open_file+set}" = set; then :
26370 $as_echo_n "(cached) " >&6
26371 else
26373 if test "$cross_compiling" = yes; then :
26375 case "${target}" in
26376 *mingw*) libgfor_cv_have_unlink_open_file=no ;;
26377 *) libgfor_cv_have_unlink_open_file=yes;;
26378 esac
26379 else
26380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26381 /* end confdefs.h. */
26383 #include <errno.h>
26384 #include <fcntl.h>
26385 #include <unistd.h>
26386 #include <sys/stat.h>
26388 int main ()
26390 int fd;
26392 fd = open ("testfile", O_RDWR | O_CREAT, S_IWUSR | S_IRUSR);
26393 if (fd <= 0)
26394 return 0;
26395 if (unlink ("testfile") == -1)
26396 return 1;
26397 write (fd, "This is a test\n", 15);
26398 close (fd);
26400 if (open ("testfile", O_RDONLY) == -1 && errno == ENOENT)
26401 return 0;
26402 else
26403 return 1;
26405 _ACEOF
26406 if ac_fn_c_try_run "$LINENO"; then :
26407 libgfor_cv_have_unlink_open_file=yes
26408 else
26409 libgfor_cv_have_unlink_open_file=no
26411 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26412 conftest.$ac_objext conftest.beam conftest.$ac_ext
26416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_unlink_open_file" >&5
26417 $as_echo "$libgfor_cv_have_unlink_open_file" >&6; }
26418 if test x"$libgfor_cv_have_unlink_open_file" = xyes; then
26420 $as_echo "#define HAVE_UNLINK_OPEN_FILE 1" >>confdefs.h
26424 # Check whether line terminator is LF or CRLF
26426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target has CRLF as line terminator" >&5
26427 $as_echo_n "checking whether the target has CRLF as line terminator... " >&6; }
26428 if test "${libgfor_cv_have_crlf+set}" = set; then :
26429 $as_echo_n "(cached) " >&6
26430 else
26432 if test "$cross_compiling" = yes; then :
26434 case "${target}" in
26435 *mingw*) libgfor_cv_have_crlf=yes ;;
26436 *) libgfor_cv_have_crlf=no;;
26437 esac
26438 else
26439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26440 /* end confdefs.h. */
26442 /* This test program should exit with status 0 if system uses a CRLF as
26443 line terminator, and status 1 otherwise.
26444 Since it is used to check for mingw systems, and should return 0 in any
26445 other case, in case of a failure we will not use CRLF. */
26446 #include <sys/stat.h>
26447 #include <stdlib.h>
26448 #include <fcntl.h>
26449 #include <stdio.h>
26451 int main ()
26453 #ifndef O_BINARY
26454 exit(1);
26455 #else
26456 int fd, bytes;
26457 char buff[5];
26459 fd = open ("foo", O_WRONLY | O_CREAT | O_TRUNC, S_IRWXU);
26460 if (fd < 0)
26461 exit(1);
26462 if (write (fd, "\n", 1) < 0)
26463 perror ("write");
26465 close (fd);
26467 if ((fd = open ("foo", O_RDONLY | O_BINARY, S_IRWXU)) < 0)
26468 exit(1);
26469 bytes = read (fd, buff, 5);
26470 if (bytes == 2 && buff[0] == '\r' && buff[1] == '\n')
26471 exit(0);
26472 else
26473 exit(1);
26474 #endif
26476 _ACEOF
26477 if ac_fn_c_try_run "$LINENO"; then :
26478 libgfor_cv_have_crlf=yes
26479 else
26480 libgfor_cv_have_crlf=no
26482 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26483 conftest.$ac_objext conftest.beam conftest.$ac_ext
26487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_crlf" >&5
26488 $as_echo "$libgfor_cv_have_crlf" >&6; }
26489 if test x"$libgfor_cv_have_crlf" = xyes; then
26491 $as_echo "#define HAVE_CRLF 1" >>confdefs.h
26495 # Check whether we have _Unwind_GetIPInfo for backtrace
26498 # Check whether --with-system-libunwind was given.
26499 if test "${with_system_libunwind+set}" = set; then :
26500 withval=$with_system_libunwind;
26503 # If system-libunwind was not specifically set, pick a default setting.
26504 if test x$with_system_libunwind = x; then
26505 case ${target} in
26506 ia64-*-hpux*) with_system_libunwind=yes ;;
26507 *) with_system_libunwind=no ;;
26508 esac
26510 # Based on system-libunwind and target, do we have ipinfo?
26511 if test x$with_system_libunwind = xyes; then
26512 case ${target} in
26513 ia64-*-*) have_unwind_getipinfo=no ;;
26514 *) have_unwind_getipinfo=yes ;;
26515 esac
26516 else
26517 # Darwin before version 9 does not have _Unwind_GetIPInfo.
26519 case ${target} in
26520 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
26521 *) have_unwind_getipinfo=yes ;;
26522 esac
26526 if test x$have_unwind_getipinfo = xyes; then
26528 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
26533 cat >confcache <<\_ACEOF
26534 # This file is a shell script that caches the results of configure
26535 # tests run on this system so they can be shared between configure
26536 # scripts and configure runs, see configure's option --config-cache.
26537 # It is not useful on other systems. If it contains results you don't
26538 # want to keep, you may remove or edit it.
26540 # config.status only pays attention to the cache file if you give it
26541 # the --recheck option to rerun configure.
26543 # `ac_cv_env_foo' variables (set or unset) will be overridden when
26544 # loading this file, other *unset* `ac_cv_foo' will be assigned the
26545 # following values.
26547 _ACEOF
26549 # The following way of writing the cache mishandles newlines in values,
26550 # but we know of no workaround that is simple, portable, and efficient.
26551 # So, we kill variables containing newlines.
26552 # Ultrix sh set writes to stderr and can't be redirected directly,
26553 # and sets the high bit in the cache file unless we assign to the vars.
26555 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
26556 eval ac_val=\$$ac_var
26557 case $ac_val in #(
26558 *${as_nl}*)
26559 case $ac_var in #(
26560 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
26561 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
26562 esac
26563 case $ac_var in #(
26564 _ | IFS | as_nl) ;; #(
26565 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
26566 *) { eval $ac_var=; unset $ac_var;} ;;
26567 esac ;;
26568 esac
26569 done
26571 (set) 2>&1 |
26572 case $as_nl`(ac_space=' '; set) 2>&1` in #(
26573 *${as_nl}ac_space=\ *)
26574 # `set' does not quote correctly, so add quotes: double-quote
26575 # substitution turns \\\\ into \\, and sed turns \\ into \.
26576 sed -n \
26577 "s/'/'\\\\''/g;
26578 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26579 ;; #(
26581 # `set' quotes correctly as required by POSIX, so do not add quotes.
26582 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
26584 esac |
26585 sort
26587 sed '
26588 /^ac_cv_env_/b end
26589 t clear
26590 :clear
26591 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26592 t end
26593 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26594 :end' >>confcache
26595 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
26596 if test -w "$cache_file"; then
26597 test "x$cache_file" != "x/dev/null" &&
26598 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
26599 $as_echo "$as_me: updating cache $cache_file" >&6;}
26600 cat confcache >$cache_file
26601 else
26602 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
26603 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
26606 rm -f confcache
26608 if test ${multilib} = yes; then
26609 multilib_arg="--enable-multilib"
26610 else
26611 multilib_arg=
26614 # Write our Makefile and spec file.
26615 ac_config_files="$ac_config_files Makefile libgfortran.spec"
26617 cat >confcache <<\_ACEOF
26618 # This file is a shell script that caches the results of configure
26619 # tests run on this system so they can be shared between configure
26620 # scripts and configure runs, see configure's option --config-cache.
26621 # It is not useful on other systems. If it contains results you don't
26622 # want to keep, you may remove or edit it.
26624 # config.status only pays attention to the cache file if you give it
26625 # the --recheck option to rerun configure.
26627 # `ac_cv_env_foo' variables (set or unset) will be overridden when
26628 # loading this file, other *unset* `ac_cv_foo' will be assigned the
26629 # following values.
26631 _ACEOF
26633 # The following way of writing the cache mishandles newlines in values,
26634 # but we know of no workaround that is simple, portable, and efficient.
26635 # So, we kill variables containing newlines.
26636 # Ultrix sh set writes to stderr and can't be redirected directly,
26637 # and sets the high bit in the cache file unless we assign to the vars.
26639 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
26640 eval ac_val=\$$ac_var
26641 case $ac_val in #(
26642 *${as_nl}*)
26643 case $ac_var in #(
26644 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
26645 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
26646 esac
26647 case $ac_var in #(
26648 _ | IFS | as_nl) ;; #(
26649 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
26650 *) { eval $ac_var=; unset $ac_var;} ;;
26651 esac ;;
26652 esac
26653 done
26655 (set) 2>&1 |
26656 case $as_nl`(ac_space=' '; set) 2>&1` in #(
26657 *${as_nl}ac_space=\ *)
26658 # `set' does not quote correctly, so add quotes: double-quote
26659 # substitution turns \\\\ into \\, and sed turns \\ into \.
26660 sed -n \
26661 "s/'/'\\\\''/g;
26662 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26663 ;; #(
26665 # `set' quotes correctly as required by POSIX, so do not add quotes.
26666 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
26668 esac |
26669 sort
26671 sed '
26672 /^ac_cv_env_/b end
26673 t clear
26674 :clear
26675 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26676 t end
26677 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26678 :end' >>confcache
26679 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
26680 if test -w "$cache_file"; then
26681 test "x$cache_file" != "x/dev/null" &&
26682 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
26683 $as_echo "$as_me: updating cache $cache_file" >&6;}
26684 cat confcache >$cache_file
26685 else
26686 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
26687 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
26690 rm -f confcache
26692 test "x$prefix" = xNONE && prefix=$ac_default_prefix
26693 # Let make expand exec_prefix.
26694 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
26696 DEFS=-DHAVE_CONFIG_H
26698 ac_libobjs=
26699 ac_ltlibobjs=
26700 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
26701 # 1. Remove the extension, and $U if already installed.
26702 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
26703 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
26704 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
26705 # will be set to the directory where LIBOBJS objects are built.
26706 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
26707 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
26708 done
26709 LIBOBJS=$ac_libobjs
26711 LTLIBOBJS=$ac_ltlibobjs
26714 if test -z "${onestep_TRUE}" && test -z "${onestep_FALSE}"; then
26715 as_fn_error "conditional \"onestep\" was never defined.
26716 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26718 if test -n "$EXEEXT"; then
26719 am__EXEEXT_TRUE=
26720 am__EXEEXT_FALSE='#'
26721 else
26722 am__EXEEXT_TRUE='#'
26723 am__EXEEXT_FALSE=
26726 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
26727 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
26728 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26730 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
26731 as_fn_error "conditional \"AMDEP\" was never defined.
26732 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26734 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
26735 as_fn_error "conditional \"am__fastdepCC\" was never defined.
26736 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26738 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
26739 as_fn_error "conditional \"am__fastdepCC\" was never defined.
26740 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26742 if test -z "${LIBGFOR_USE_SYMVER_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_FALSE}"; then
26743 as_fn_error "conditional \"LIBGFOR_USE_SYMVER\" was never defined.
26744 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26746 if test -z "${LIBGFOR_USE_SYMVER_GNU_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_GNU_FALSE}"; then
26747 as_fn_error "conditional \"LIBGFOR_USE_SYMVER_GNU\" was never defined.
26748 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26750 if test -z "${LIBGFOR_USE_SYMVER_SUN_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_SUN_FALSE}"; then
26751 as_fn_error "conditional \"LIBGFOR_USE_SYMVER_SUN\" was never defined.
26752 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26754 if test -z "${LIBGFOR_BUILD_QUAD_TRUE}" && test -z "${LIBGFOR_BUILD_QUAD_FALSE}"; then
26755 as_fn_error "conditional \"LIBGFOR_BUILD_QUAD\" was never defined.
26756 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26759 : ${CONFIG_STATUS=./config.status}
26760 ac_write_fail=0
26761 ac_clean_files_save=$ac_clean_files
26762 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
26763 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
26764 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
26765 as_write_fail=0
26766 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
26767 #! $SHELL
26768 # Generated by $as_me.
26769 # Run this file to recreate the current configuration.
26770 # Compiler output produced by configure, useful for debugging
26771 # configure, is in config.log if it exists.
26773 debug=false
26774 ac_cs_recheck=false
26775 ac_cs_silent=false
26777 SHELL=\${CONFIG_SHELL-$SHELL}
26778 export SHELL
26779 _ASEOF
26780 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
26781 ## -------------------- ##
26782 ## M4sh Initialization. ##
26783 ## -------------------- ##
26785 # Be more Bourne compatible
26786 DUALCASE=1; export DUALCASE # for MKS sh
26787 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
26788 emulate sh
26789 NULLCMD=:
26790 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26791 # is contrary to our usage. Disable this feature.
26792 alias -g '${1+"$@"}'='"$@"'
26793 setopt NO_GLOB_SUBST
26794 else
26795 case `(set -o) 2>/dev/null` in #(
26796 *posix*) :
26797 set -o posix ;; #(
26798 *) :
26800 esac
26804 as_nl='
26806 export as_nl
26807 # Printing a long string crashes Solaris 7 /usr/bin/printf.
26808 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
26809 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
26810 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
26811 # Prefer a ksh shell builtin over an external printf program on Solaris,
26812 # but without wasting forks for bash or zsh.
26813 if test -z "$BASH_VERSION$ZSH_VERSION" \
26814 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
26815 as_echo='print -r --'
26816 as_echo_n='print -rn --'
26817 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
26818 as_echo='printf %s\n'
26819 as_echo_n='printf %s'
26820 else
26821 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
26822 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
26823 as_echo_n='/usr/ucb/echo -n'
26824 else
26825 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
26826 as_echo_n_body='eval
26827 arg=$1;
26828 case $arg in #(
26829 *"$as_nl"*)
26830 expr "X$arg" : "X\\(.*\\)$as_nl";
26831 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
26832 esac;
26833 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
26835 export as_echo_n_body
26836 as_echo_n='sh -c $as_echo_n_body as_echo'
26838 export as_echo_body
26839 as_echo='sh -c $as_echo_body as_echo'
26842 # The user is always right.
26843 if test "${PATH_SEPARATOR+set}" != set; then
26844 PATH_SEPARATOR=:
26845 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
26846 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
26847 PATH_SEPARATOR=';'
26852 # IFS
26853 # We need space, tab and new line, in precisely that order. Quoting is
26854 # there to prevent editors from complaining about space-tab.
26855 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
26856 # splitting by setting IFS to empty value.)
26857 IFS=" "" $as_nl"
26859 # Find who we are. Look in the path if we contain no directory separator.
26860 case $0 in #((
26861 *[\\/]* ) as_myself=$0 ;;
26862 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26863 for as_dir in $PATH
26865 IFS=$as_save_IFS
26866 test -z "$as_dir" && as_dir=.
26867 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
26868 done
26869 IFS=$as_save_IFS
26872 esac
26873 # We did not find ourselves, most probably we were run as `sh COMMAND'
26874 # in which case we are not to be found in the path.
26875 if test "x$as_myself" = x; then
26876 as_myself=$0
26878 if test ! -f "$as_myself"; then
26879 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
26880 exit 1
26883 # Unset variables that we do not need and which cause bugs (e.g. in
26884 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
26885 # suppresses any "Segmentation fault" message there. '((' could
26886 # trigger a bug in pdksh 5.2.14.
26887 for as_var in BASH_ENV ENV MAIL MAILPATH
26888 do eval test x\${$as_var+set} = xset \
26889 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
26890 done
26891 PS1='$ '
26892 PS2='> '
26893 PS4='+ '
26895 # NLS nuisances.
26896 LC_ALL=C
26897 export LC_ALL
26898 LANGUAGE=C
26899 export LANGUAGE
26901 # CDPATH.
26902 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
26905 # as_fn_error ERROR [LINENO LOG_FD]
26906 # ---------------------------------
26907 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
26908 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
26909 # script with status $?, using 1 if that was 0.
26910 as_fn_error ()
26912 as_status=$?; test $as_status -eq 0 && as_status=1
26913 if test "$3"; then
26914 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
26915 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
26917 $as_echo "$as_me: error: $1" >&2
26918 as_fn_exit $as_status
26919 } # as_fn_error
26922 # as_fn_set_status STATUS
26923 # -----------------------
26924 # Set $? to STATUS, without forking.
26925 as_fn_set_status ()
26927 return $1
26928 } # as_fn_set_status
26930 # as_fn_exit STATUS
26931 # -----------------
26932 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
26933 as_fn_exit ()
26935 set +e
26936 as_fn_set_status $1
26937 exit $1
26938 } # as_fn_exit
26940 # as_fn_unset VAR
26941 # ---------------
26942 # Portably unset VAR.
26943 as_fn_unset ()
26945 { eval $1=; unset $1;}
26947 as_unset=as_fn_unset
26948 # as_fn_append VAR VALUE
26949 # ----------------------
26950 # Append the text in VALUE to the end of the definition contained in VAR. Take
26951 # advantage of any shell optimizations that allow amortized linear growth over
26952 # repeated appends, instead of the typical quadratic growth present in naive
26953 # implementations.
26954 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
26955 eval 'as_fn_append ()
26957 eval $1+=\$2
26959 else
26960 as_fn_append ()
26962 eval $1=\$$1\$2
26964 fi # as_fn_append
26966 # as_fn_arith ARG...
26967 # ------------------
26968 # Perform arithmetic evaluation on the ARGs, and store the result in the
26969 # global $as_val. Take advantage of shells that can avoid forks. The arguments
26970 # must be portable across $(()) and expr.
26971 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
26972 eval 'as_fn_arith ()
26974 as_val=$(( $* ))
26976 else
26977 as_fn_arith ()
26979 as_val=`expr "$@" || test $? -eq 1`
26981 fi # as_fn_arith
26984 if expr a : '\(a\)' >/dev/null 2>&1 &&
26985 test "X`expr 00001 : '.*\(...\)'`" = X001; then
26986 as_expr=expr
26987 else
26988 as_expr=false
26991 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
26992 as_basename=basename
26993 else
26994 as_basename=false
26997 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
26998 as_dirname=dirname
26999 else
27000 as_dirname=false
27003 as_me=`$as_basename -- "$0" ||
27004 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
27005 X"$0" : 'X\(//\)$' \| \
27006 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
27007 $as_echo X/"$0" |
27008 sed '/^.*\/\([^/][^/]*\)\/*$/{
27009 s//\1/
27012 /^X\/\(\/\/\)$/{
27013 s//\1/
27016 /^X\/\(\/\).*/{
27017 s//\1/
27020 s/.*/./; q'`
27022 # Avoid depending upon Character Ranges.
27023 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
27024 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
27025 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
27026 as_cr_digits='0123456789'
27027 as_cr_alnum=$as_cr_Letters$as_cr_digits
27029 ECHO_C= ECHO_N= ECHO_T=
27030 case `echo -n x` in #(((((
27031 -n*)
27032 case `echo 'xy\c'` in
27033 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
27034 xy) ECHO_C='\c';;
27035 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
27036 ECHO_T=' ';;
27037 esac;;
27039 ECHO_N='-n';;
27040 esac
27042 rm -f conf$$ conf$$.exe conf$$.file
27043 if test -d conf$$.dir; then
27044 rm -f conf$$.dir/conf$$.file
27045 else
27046 rm -f conf$$.dir
27047 mkdir conf$$.dir 2>/dev/null
27049 if (echo >conf$$.file) 2>/dev/null; then
27050 if ln -s conf$$.file conf$$ 2>/dev/null; then
27051 as_ln_s='ln -s'
27052 # ... but there are two gotchas:
27053 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
27054 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
27055 # In both cases, we have to default to `cp -p'.
27056 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
27057 as_ln_s='cp -p'
27058 elif ln conf$$.file conf$$ 2>/dev/null; then
27059 as_ln_s=ln
27060 else
27061 as_ln_s='cp -p'
27063 else
27064 as_ln_s='cp -p'
27066 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
27067 rmdir conf$$.dir 2>/dev/null
27070 # as_fn_mkdir_p
27071 # -------------
27072 # Create "$as_dir" as a directory, including parents if necessary.
27073 as_fn_mkdir_p ()
27076 case $as_dir in #(
27077 -*) as_dir=./$as_dir;;
27078 esac
27079 test -d "$as_dir" || eval $as_mkdir_p || {
27080 as_dirs=
27081 while :; do
27082 case $as_dir in #(
27083 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
27084 *) as_qdir=$as_dir;;
27085 esac
27086 as_dirs="'$as_qdir' $as_dirs"
27087 as_dir=`$as_dirname -- "$as_dir" ||
27088 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27089 X"$as_dir" : 'X\(//\)[^/]' \| \
27090 X"$as_dir" : 'X\(//\)$' \| \
27091 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
27092 $as_echo X"$as_dir" |
27093 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27094 s//\1/
27097 /^X\(\/\/\)[^/].*/{
27098 s//\1/
27101 /^X\(\/\/\)$/{
27102 s//\1/
27105 /^X\(\/\).*/{
27106 s//\1/
27109 s/.*/./; q'`
27110 test -d "$as_dir" && break
27111 done
27112 test -z "$as_dirs" || eval "mkdir $as_dirs"
27113 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
27116 } # as_fn_mkdir_p
27117 if mkdir -p . 2>/dev/null; then
27118 as_mkdir_p='mkdir -p "$as_dir"'
27119 else
27120 test -d ./-p && rmdir ./-p
27121 as_mkdir_p=false
27124 if test -x / >/dev/null 2>&1; then
27125 as_test_x='test -x'
27126 else
27127 if ls -dL / >/dev/null 2>&1; then
27128 as_ls_L_option=L
27129 else
27130 as_ls_L_option=
27132 as_test_x='
27133 eval sh -c '\''
27134 if test -d "$1"; then
27135 test -d "$1/.";
27136 else
27137 case $1 in #(
27138 -*)set "./$1";;
27139 esac;
27140 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
27141 ???[sx]*):;;*)false;;esac;fi
27142 '\'' sh
27145 as_executable_p=$as_test_x
27147 # Sed expression to map a string onto a valid CPP name.
27148 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
27150 # Sed expression to map a string onto a valid variable name.
27151 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
27154 exec 6>&1
27155 ## ----------------------------------- ##
27156 ## Main body of $CONFIG_STATUS script. ##
27157 ## ----------------------------------- ##
27158 _ASEOF
27159 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
27161 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27162 # Save the log message, to keep $0 and so on meaningful, and to
27163 # report actual input values of CONFIG_FILES etc. instead of their
27164 # values after options handling.
27165 ac_log="
27166 This file was extended by GNU Fortran Runtime Library $as_me 0.3, which was
27167 generated by GNU Autoconf 2.64. Invocation command line was
27169 CONFIG_FILES = $CONFIG_FILES
27170 CONFIG_HEADERS = $CONFIG_HEADERS
27171 CONFIG_LINKS = $CONFIG_LINKS
27172 CONFIG_COMMANDS = $CONFIG_COMMANDS
27173 $ $0 $@
27175 on `(hostname || uname -n) 2>/dev/null | sed 1q`
27178 _ACEOF
27180 case $ac_config_files in *"
27181 "*) set x $ac_config_files; shift; ac_config_files=$*;;
27182 esac
27184 case $ac_config_headers in *"
27185 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
27186 esac
27189 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27190 # Files that config.status was made for.
27191 config_files="$ac_config_files"
27192 config_headers="$ac_config_headers"
27193 config_commands="$ac_config_commands"
27195 _ACEOF
27197 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27198 ac_cs_usage="\
27199 \`$as_me' instantiates files and other configuration actions
27200 from templates according to the current configuration. Unless the files
27201 and actions are specified as TAGs, all are instantiated by default.
27203 Usage: $0 [OPTION]... [TAG]...
27205 -h, --help print this help, then exit
27206 -V, --version print version number and configuration settings, then exit
27207 -q, --quiet, --silent
27208 do not print progress messages
27209 -d, --debug don't remove temporary files
27210 --recheck update $as_me by reconfiguring in the same conditions
27211 --file=FILE[:TEMPLATE]
27212 instantiate the configuration file FILE
27213 --header=FILE[:TEMPLATE]
27214 instantiate the configuration header FILE
27216 Configuration files:
27217 $config_files
27219 Configuration headers:
27220 $config_headers
27222 Configuration commands:
27223 $config_commands
27225 Report bugs to the package provider.
27226 GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
27227 General help using GNU software: <http://www.gnu.org/gethelp/>."
27229 _ACEOF
27230 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27231 ac_cs_version="\\
27232 GNU Fortran Runtime Library config.status 0.3
27233 configured by $0, generated by GNU Autoconf 2.64,
27234 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
27236 Copyright (C) 2009 Free Software Foundation, Inc.
27237 This config.status script is free software; the Free Software Foundation
27238 gives unlimited permission to copy, distribute and modify it."
27240 ac_pwd='$ac_pwd'
27241 srcdir='$srcdir'
27242 INSTALL='$INSTALL'
27243 MKDIR_P='$MKDIR_P'
27244 AWK='$AWK'
27245 test -n "\$AWK" || AWK=awk
27246 _ACEOF
27248 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27249 # The default lists apply if the user does not specify any file.
27250 ac_need_defaults=:
27251 while test $# != 0
27253 case $1 in
27254 --*=*)
27255 ac_option=`expr "X$1" : 'X\([^=]*\)='`
27256 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
27257 ac_shift=:
27260 ac_option=$1
27261 ac_optarg=$2
27262 ac_shift=shift
27264 esac
27266 case $ac_option in
27267 # Handling of the options.
27268 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
27269 ac_cs_recheck=: ;;
27270 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
27271 $as_echo "$ac_cs_version"; exit ;;
27272 --debug | --debu | --deb | --de | --d | -d )
27273 debug=: ;;
27274 --file | --fil | --fi | --f )
27275 $ac_shift
27276 case $ac_optarg in
27277 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
27278 esac
27279 as_fn_append CONFIG_FILES " '$ac_optarg'"
27280 ac_need_defaults=false;;
27281 --header | --heade | --head | --hea )
27282 $ac_shift
27283 case $ac_optarg in
27284 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
27285 esac
27286 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
27287 ac_need_defaults=false;;
27288 --he | --h)
27289 # Conflict between --help and --header
27290 as_fn_error "ambiguous option: \`$1'
27291 Try \`$0 --help' for more information.";;
27292 --help | --hel | -h )
27293 $as_echo "$ac_cs_usage"; exit ;;
27294 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
27295 | -silent | --silent | --silen | --sile | --sil | --si | --s)
27296 ac_cs_silent=: ;;
27298 # This is an error.
27299 -*) as_fn_error "unrecognized option: \`$1'
27300 Try \`$0 --help' for more information." ;;
27302 *) as_fn_append ac_config_targets " $1"
27303 ac_need_defaults=false ;;
27305 esac
27306 shift
27307 done
27309 ac_configure_extra_args=
27311 if $ac_cs_silent; then
27312 exec 6>/dev/null
27313 ac_configure_extra_args="$ac_configure_extra_args --silent"
27316 _ACEOF
27317 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27318 if \$ac_cs_recheck; then
27319 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
27320 shift
27321 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
27322 CONFIG_SHELL='$SHELL'
27323 export CONFIG_SHELL
27324 exec "\$@"
27327 _ACEOF
27328 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27329 exec 5>>config.log
27331 echo
27332 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
27333 ## Running $as_me. ##
27334 _ASBOX
27335 $as_echo "$ac_log"
27336 } >&5
27338 _ACEOF
27339 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27341 # INIT-COMMANDS
27344 srcdir="$srcdir"
27345 host="$host"
27346 target="$target"
27347 with_multisubdir="$with_multisubdir"
27348 with_multisrctop="$with_multisrctop"
27349 with_target_subdir="$with_target_subdir"
27350 ac_configure_args="${multilib_arg} ${ac_configure_args}"
27351 multi_basedir="$multi_basedir"
27352 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
27353 CC="$CC"
27354 CXX="$CXX"
27355 GFORTRAN="$GFORTRAN"
27356 GCJ="$GCJ"
27357 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
27360 # The HP-UX ksh and POSIX shell print the target directory to stdout
27361 # if CDPATH is set.
27362 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
27364 sed_quote_subst='$sed_quote_subst'
27365 double_quote_subst='$double_quote_subst'
27366 delay_variable_subst='$delay_variable_subst'
27367 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
27368 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
27369 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
27370 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
27371 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
27372 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
27373 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
27374 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
27375 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
27376 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
27377 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
27378 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
27379 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
27380 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
27381 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
27382 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
27383 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
27384 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
27385 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
27386 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
27387 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
27388 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
27389 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
27390 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
27391 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
27392 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
27393 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
27394 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
27395 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
27396 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
27397 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
27398 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
27399 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
27400 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
27401 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
27402 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
27403 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
27404 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
27405 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
27406 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
27407 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
27408 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
27409 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
27410 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
27411 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
27412 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
27413 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
27414 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
27415 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"`'
27416 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
27417 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
27418 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
27419 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
27420 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
27421 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
27422 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
27423 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
27424 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
27425 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
27426 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
27427 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
27428 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
27429 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
27430 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
27431 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
27432 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
27433 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
27434 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
27435 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
27436 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
27437 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
27438 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
27439 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
27440 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
27441 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
27442 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
27443 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
27444 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
27445 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
27446 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
27447 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
27448 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
27449 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
27450 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
27451 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
27452 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
27453 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
27454 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
27455 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
27456 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
27457 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
27458 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
27459 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
27460 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
27461 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
27462 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
27463 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
27464 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
27465 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
27466 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
27467 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
27468 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
27469 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
27470 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
27471 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
27472 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
27473 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
27474 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
27475 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
27476 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
27477 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
27478 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
27479 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
27480 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
27481 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
27482 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
27483 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
27484 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
27485 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
27486 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
27487 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
27488 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
27489 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
27490 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
27491 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
27492 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
27493 LD_FC='`$ECHO "$LD_FC" | $SED "$delay_single_quote_subst"`'
27494 reload_flag_FC='`$ECHO "$reload_flag_FC" | $SED "$delay_single_quote_subst"`'
27495 reload_cmds_FC='`$ECHO "$reload_cmds_FC" | $SED "$delay_single_quote_subst"`'
27496 old_archive_cmds_FC='`$ECHO "$old_archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
27497 compiler_FC='`$ECHO "$compiler_FC" | $SED "$delay_single_quote_subst"`'
27498 GCC_FC='`$ECHO "$GCC_FC" | $SED "$delay_single_quote_subst"`'
27499 lt_prog_compiler_no_builtin_flag_FC='`$ECHO "$lt_prog_compiler_no_builtin_flag_FC" | $SED "$delay_single_quote_subst"`'
27500 lt_prog_compiler_wl_FC='`$ECHO "$lt_prog_compiler_wl_FC" | $SED "$delay_single_quote_subst"`'
27501 lt_prog_compiler_pic_FC='`$ECHO "$lt_prog_compiler_pic_FC" | $SED "$delay_single_quote_subst"`'
27502 lt_prog_compiler_static_FC='`$ECHO "$lt_prog_compiler_static_FC" | $SED "$delay_single_quote_subst"`'
27503 lt_cv_prog_compiler_c_o_FC='`$ECHO "$lt_cv_prog_compiler_c_o_FC" | $SED "$delay_single_quote_subst"`'
27504 archive_cmds_need_lc_FC='`$ECHO "$archive_cmds_need_lc_FC" | $SED "$delay_single_quote_subst"`'
27505 enable_shared_with_static_runtimes_FC='`$ECHO "$enable_shared_with_static_runtimes_FC" | $SED "$delay_single_quote_subst"`'
27506 export_dynamic_flag_spec_FC='`$ECHO "$export_dynamic_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
27507 whole_archive_flag_spec_FC='`$ECHO "$whole_archive_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
27508 compiler_needs_object_FC='`$ECHO "$compiler_needs_object_FC" | $SED "$delay_single_quote_subst"`'
27509 old_archive_from_new_cmds_FC='`$ECHO "$old_archive_from_new_cmds_FC" | $SED "$delay_single_quote_subst"`'
27510 old_archive_from_expsyms_cmds_FC='`$ECHO "$old_archive_from_expsyms_cmds_FC" | $SED "$delay_single_quote_subst"`'
27511 archive_cmds_FC='`$ECHO "$archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
27512 archive_expsym_cmds_FC='`$ECHO "$archive_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
27513 module_cmds_FC='`$ECHO "$module_cmds_FC" | $SED "$delay_single_quote_subst"`'
27514 module_expsym_cmds_FC='`$ECHO "$module_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
27515 with_gnu_ld_FC='`$ECHO "$with_gnu_ld_FC" | $SED "$delay_single_quote_subst"`'
27516 allow_undefined_flag_FC='`$ECHO "$allow_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
27517 no_undefined_flag_FC='`$ECHO "$no_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
27518 hardcode_libdir_flag_spec_FC='`$ECHO "$hardcode_libdir_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
27519 hardcode_libdir_flag_spec_ld_FC='`$ECHO "$hardcode_libdir_flag_spec_ld_FC" | $SED "$delay_single_quote_subst"`'
27520 hardcode_libdir_separator_FC='`$ECHO "$hardcode_libdir_separator_FC" | $SED "$delay_single_quote_subst"`'
27521 hardcode_direct_FC='`$ECHO "$hardcode_direct_FC" | $SED "$delay_single_quote_subst"`'
27522 hardcode_direct_absolute_FC='`$ECHO "$hardcode_direct_absolute_FC" | $SED "$delay_single_quote_subst"`'
27523 hardcode_minus_L_FC='`$ECHO "$hardcode_minus_L_FC" | $SED "$delay_single_quote_subst"`'
27524 hardcode_shlibpath_var_FC='`$ECHO "$hardcode_shlibpath_var_FC" | $SED "$delay_single_quote_subst"`'
27525 hardcode_automatic_FC='`$ECHO "$hardcode_automatic_FC" | $SED "$delay_single_quote_subst"`'
27526 inherit_rpath_FC='`$ECHO "$inherit_rpath_FC" | $SED "$delay_single_quote_subst"`'
27527 link_all_deplibs_FC='`$ECHO "$link_all_deplibs_FC" | $SED "$delay_single_quote_subst"`'
27528 fix_srcfile_path_FC='`$ECHO "$fix_srcfile_path_FC" | $SED "$delay_single_quote_subst"`'
27529 always_export_symbols_FC='`$ECHO "$always_export_symbols_FC" | $SED "$delay_single_quote_subst"`'
27530 export_symbols_cmds_FC='`$ECHO "$export_symbols_cmds_FC" | $SED "$delay_single_quote_subst"`'
27531 exclude_expsyms_FC='`$ECHO "$exclude_expsyms_FC" | $SED "$delay_single_quote_subst"`'
27532 include_expsyms_FC='`$ECHO "$include_expsyms_FC" | $SED "$delay_single_quote_subst"`'
27533 prelink_cmds_FC='`$ECHO "$prelink_cmds_FC" | $SED "$delay_single_quote_subst"`'
27534 file_list_spec_FC='`$ECHO "$file_list_spec_FC" | $SED "$delay_single_quote_subst"`'
27535 hardcode_action_FC='`$ECHO "$hardcode_action_FC" | $SED "$delay_single_quote_subst"`'
27536 compiler_lib_search_dirs_FC='`$ECHO "$compiler_lib_search_dirs_FC" | $SED "$delay_single_quote_subst"`'
27537 predep_objects_FC='`$ECHO "$predep_objects_FC" | $SED "$delay_single_quote_subst"`'
27538 postdep_objects_FC='`$ECHO "$postdep_objects_FC" | $SED "$delay_single_quote_subst"`'
27539 predeps_FC='`$ECHO "$predeps_FC" | $SED "$delay_single_quote_subst"`'
27540 postdeps_FC='`$ECHO "$postdeps_FC" | $SED "$delay_single_quote_subst"`'
27541 compiler_lib_search_path_FC='`$ECHO "$compiler_lib_search_path_FC" | $SED "$delay_single_quote_subst"`'
27543 LTCC='$LTCC'
27544 LTCFLAGS='$LTCFLAGS'
27545 compiler='$compiler_DEFAULT'
27547 # A function that is used when there is no print builtin or printf.
27548 func_fallback_echo ()
27550 eval 'cat <<_LTECHO_EOF
27552 _LTECHO_EOF'
27555 # Quote evaled strings.
27556 for var in SHELL \
27557 ECHO \
27558 SED \
27559 GREP \
27560 EGREP \
27561 FGREP \
27562 LD \
27563 NM \
27564 LN_S \
27565 lt_SP2NL \
27566 lt_NL2SP \
27567 reload_flag \
27568 OBJDUMP \
27569 deplibs_check_method \
27570 file_magic_cmd \
27571 AR \
27572 AR_FLAGS \
27573 STRIP \
27574 RANLIB \
27575 CC \
27576 CFLAGS \
27577 compiler \
27578 lt_cv_sys_global_symbol_pipe \
27579 lt_cv_sys_global_symbol_to_cdecl \
27580 lt_cv_sys_global_symbol_to_c_name_address \
27581 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
27582 lt_prog_compiler_no_builtin_flag \
27583 lt_prog_compiler_wl \
27584 lt_prog_compiler_pic \
27585 lt_prog_compiler_static \
27586 lt_cv_prog_compiler_c_o \
27587 need_locks \
27588 DSYMUTIL \
27589 NMEDIT \
27590 LIPO \
27591 OTOOL \
27592 OTOOL64 \
27593 shrext_cmds \
27594 export_dynamic_flag_spec \
27595 whole_archive_flag_spec \
27596 compiler_needs_object \
27597 with_gnu_ld \
27598 allow_undefined_flag \
27599 no_undefined_flag \
27600 hardcode_libdir_flag_spec \
27601 hardcode_libdir_flag_spec_ld \
27602 hardcode_libdir_separator \
27603 fix_srcfile_path \
27604 exclude_expsyms \
27605 include_expsyms \
27606 file_list_spec \
27607 variables_saved_for_relink \
27608 libname_spec \
27609 library_names_spec \
27610 soname_spec \
27611 install_override_mode \
27612 finish_eval \
27613 old_striplib \
27614 striplib \
27615 compiler_lib_search_dirs \
27616 predep_objects \
27617 postdep_objects \
27618 predeps \
27619 postdeps \
27620 compiler_lib_search_path \
27621 LD_FC \
27622 reload_flag_FC \
27623 compiler_FC \
27624 lt_prog_compiler_no_builtin_flag_FC \
27625 lt_prog_compiler_wl_FC \
27626 lt_prog_compiler_pic_FC \
27627 lt_prog_compiler_static_FC \
27628 lt_cv_prog_compiler_c_o_FC \
27629 export_dynamic_flag_spec_FC \
27630 whole_archive_flag_spec_FC \
27631 compiler_needs_object_FC \
27632 with_gnu_ld_FC \
27633 allow_undefined_flag_FC \
27634 no_undefined_flag_FC \
27635 hardcode_libdir_flag_spec_FC \
27636 hardcode_libdir_flag_spec_ld_FC \
27637 hardcode_libdir_separator_FC \
27638 fix_srcfile_path_FC \
27639 exclude_expsyms_FC \
27640 include_expsyms_FC \
27641 file_list_spec_FC \
27642 compiler_lib_search_dirs_FC \
27643 predep_objects_FC \
27644 postdep_objects_FC \
27645 predeps_FC \
27646 postdeps_FC \
27647 compiler_lib_search_path_FC; do
27648 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
27649 *[\\\\\\\`\\"\\\$]*)
27650 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
27653 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
27655 esac
27656 done
27658 # Double-quote double-evaled strings.
27659 for var in reload_cmds \
27660 old_postinstall_cmds \
27661 old_postuninstall_cmds \
27662 old_archive_cmds \
27663 extract_expsyms_cmds \
27664 old_archive_from_new_cmds \
27665 old_archive_from_expsyms_cmds \
27666 archive_cmds \
27667 archive_expsym_cmds \
27668 module_cmds \
27669 module_expsym_cmds \
27670 export_symbols_cmds \
27671 prelink_cmds \
27672 postinstall_cmds \
27673 postuninstall_cmds \
27674 finish_cmds \
27675 sys_lib_search_path_spec \
27676 sys_lib_dlsearch_path_spec \
27677 reload_cmds_FC \
27678 old_archive_cmds_FC \
27679 old_archive_from_new_cmds_FC \
27680 old_archive_from_expsyms_cmds_FC \
27681 archive_cmds_FC \
27682 archive_expsym_cmds_FC \
27683 module_cmds_FC \
27684 module_expsym_cmds_FC \
27685 export_symbols_cmds_FC \
27686 prelink_cmds_FC; do
27687 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
27688 *[\\\\\\\`\\"\\\$]*)
27689 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
27692 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
27694 esac
27695 done
27697 ac_aux_dir='$ac_aux_dir'
27698 xsi_shell='$xsi_shell'
27699 lt_shell_append='$lt_shell_append'
27701 # See if we are running on zsh, and set the options which allow our
27702 # commands through without removal of \ escapes INIT.
27703 if test -n "\${ZSH_VERSION+set}" ; then
27704 setopt NO_GLOB_SUBST
27708 PACKAGE='$PACKAGE'
27709 VERSION='$VERSION'
27710 TIMESTAMP='$TIMESTAMP'
27711 RM='$RM'
27712 ofile='$ofile'
27719 GCC="$GCC"
27720 CC="$CC"
27721 acx_cv_header_stdint="$acx_cv_header_stdint"
27722 acx_cv_type_int8_t="$acx_cv_type_int8_t"
27723 acx_cv_type_int16_t="$acx_cv_type_int16_t"
27724 acx_cv_type_int32_t="$acx_cv_type_int32_t"
27725 acx_cv_type_int64_t="$acx_cv_type_int64_t"
27726 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
27727 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
27728 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
27729 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
27730 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
27731 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
27732 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
27733 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
27734 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
27737 _ACEOF
27739 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27741 # Handling of arguments.
27742 for ac_config_target in $ac_config_targets
27744 case $ac_config_target in
27745 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
27746 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
27747 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
27748 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
27749 "gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS gstdint.h" ;;
27750 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
27751 "libgfortran.spec") CONFIG_FILES="$CONFIG_FILES libgfortran.spec" ;;
27753 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
27754 esac
27755 done
27758 # If the user did not use the arguments to specify the items to instantiate,
27759 # then the envvar interface is used. Set only those that are not.
27760 # We use the long form for the default assignment because of an extremely
27761 # bizarre bug on SunOS 4.1.3.
27762 if $ac_need_defaults; then
27763 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
27764 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
27765 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
27768 # Have a temporary directory for convenience. Make it in the build tree
27769 # simply because there is no reason against having it here, and in addition,
27770 # creating and moving files from /tmp can sometimes cause problems.
27771 # Hook for its removal unless debugging.
27772 # Note that there is a small window in which the directory will not be cleaned:
27773 # after its creation but before its name has been assigned to `$tmp'.
27774 $debug ||
27776 tmp=
27777 trap 'exit_status=$?
27778 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
27780 trap 'as_fn_exit 1' 1 2 13 15
27782 # Create a (secure) tmp directory for tmp files.
27785 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
27786 test -n "$tmp" && test -d "$tmp"
27787 } ||
27789 tmp=./conf$$-$RANDOM
27790 (umask 077 && mkdir "$tmp")
27791 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
27793 # Set up the scripts for CONFIG_FILES section.
27794 # No need to generate them if there are no CONFIG_FILES.
27795 # This happens for instance with `./config.status config.h'.
27796 if test -n "$CONFIG_FILES"; then
27799 ac_cr=`echo X | tr X '\015'`
27800 # On cygwin, bash can eat \r inside `` if the user requested igncr.
27801 # But we know of no other shell where ac_cr would be empty at this
27802 # point, so we can use a bashism as a fallback.
27803 if test "x$ac_cr" = x; then
27804 eval ac_cr=\$\'\\r\'
27806 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
27807 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
27808 ac_cs_awk_cr='\r'
27809 else
27810 ac_cs_awk_cr=$ac_cr
27813 echo 'BEGIN {' >"$tmp/subs1.awk" &&
27814 _ACEOF
27818 echo "cat >conf$$subs.awk <<_ACEOF" &&
27819 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
27820 echo "_ACEOF"
27821 } >conf$$subs.sh ||
27822 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
27823 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
27824 ac_delim='%!_!# '
27825 for ac_last_try in false false false false false :; do
27826 . ./conf$$subs.sh ||
27827 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
27829 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
27830 if test $ac_delim_n = $ac_delim_num; then
27831 break
27832 elif $ac_last_try; then
27833 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
27834 else
27835 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
27837 done
27838 rm -f conf$$subs.sh
27840 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27841 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
27842 _ACEOF
27843 sed -n '
27845 s/^/S["/; s/!.*/"]=/
27848 s/^[^!]*!//
27849 :repl
27850 t repl
27851 s/'"$ac_delim"'$//
27852 t delim
27855 s/\(.\{148\}\).*/\1/
27856 t more1
27857 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
27860 b repl
27861 :more1
27862 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
27865 s/.\{148\}//
27866 t nl
27867 :delim
27869 s/\(.\{148\}\).*/\1/
27870 t more2
27871 s/["\\]/\\&/g; s/^/"/; s/$/"/
27874 :more2
27875 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
27878 s/.\{148\}//
27879 t delim
27880 ' <conf$$subs.awk | sed '
27881 /^[^""]/{
27883 s/\n//
27885 ' >>$CONFIG_STATUS || ac_write_fail=1
27886 rm -f conf$$subs.awk
27887 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27888 _ACAWK
27889 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
27890 for (key in S) S_is_set[key] = 1
27891 FS = "\a"
27895 line = $ 0
27896 nfields = split(line, field, "@")
27897 substed = 0
27898 len = length(field[1])
27899 for (i = 2; i < nfields; i++) {
27900 key = field[i]
27901 keylen = length(key)
27902 if (S_is_set[key]) {
27903 value = S[key]
27904 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
27905 len += length(value) + length(field[++i])
27906 substed = 1
27907 } else
27908 len += 1 + keylen
27911 print line
27914 _ACAWK
27915 _ACEOF
27916 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27917 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
27918 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
27919 else
27921 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
27922 || as_fn_error "could not setup config files machinery" "$LINENO" 5
27923 _ACEOF
27925 # VPATH may cause trouble with some makes, so we remove $(srcdir),
27926 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
27927 # trailing colons and then remove the whole line if VPATH becomes empty
27928 # (actually we leave an empty line to preserve line numbers).
27929 if test "x$srcdir" = x.; then
27930 ac_vpsub='/^[ ]*VPATH[ ]*=/{
27931 s/:*\$(srcdir):*/:/
27932 s/:*\${srcdir}:*/:/
27933 s/:*@srcdir@:*/:/
27934 s/^\([^=]*=[ ]*\):*/\1/
27935 s/:*$//
27936 s/^[^=]*=[ ]*$//
27940 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27941 fi # test -n "$CONFIG_FILES"
27943 # Set up the scripts for CONFIG_HEADERS section.
27944 # No need to generate them if there are no CONFIG_HEADERS.
27945 # This happens for instance with `./config.status Makefile'.
27946 if test -n "$CONFIG_HEADERS"; then
27947 cat >"$tmp/defines.awk" <<\_ACAWK ||
27948 BEGIN {
27949 _ACEOF
27951 # Transform confdefs.h into an awk script `defines.awk', embedded as
27952 # here-document in config.status, that substitutes the proper values into
27953 # config.h.in to produce config.h.
27955 # Create a delimiter string that does not exist in confdefs.h, to ease
27956 # handling of long lines.
27957 ac_delim='%!_!# '
27958 for ac_last_try in false false :; do
27959 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
27960 if test -z "$ac_t"; then
27961 break
27962 elif $ac_last_try; then
27963 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
27964 else
27965 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
27967 done
27969 # For the awk script, D is an array of macro values keyed by name,
27970 # likewise P contains macro parameters if any. Preserve backslash
27971 # newline sequences.
27973 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
27974 sed -n '
27975 s/.\{148\}/&'"$ac_delim"'/g
27976 t rset
27977 :rset
27978 s/^[ ]*#[ ]*define[ ][ ]*/ /
27979 t def
27981 :def
27982 s/\\$//
27983 t bsnl
27984 s/["\\]/\\&/g
27985 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
27986 D["\1"]=" \3"/p
27987 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
27989 :bsnl
27990 s/["\\]/\\&/g
27991 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
27992 D["\1"]=" \3\\\\\\n"\\/p
27993 t cont
27994 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
27995 t cont
27997 :cont
27999 s/.\{148\}/&'"$ac_delim"'/g
28000 t clear
28001 :clear
28002 s/\\$//
28003 t bsnlc
28004 s/["\\]/\\&/g; s/^/"/; s/$/"/p
28006 :bsnlc
28007 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
28008 b cont
28009 ' <confdefs.h | sed '
28010 s/'"$ac_delim"'/"\\\
28011 "/g' >>$CONFIG_STATUS || ac_write_fail=1
28013 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28014 for (key in D) D_is_set[key] = 1
28015 FS = "\a"
28017 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
28018 line = \$ 0
28019 split(line, arg, " ")
28020 if (arg[1] == "#") {
28021 defundef = arg[2]
28022 mac1 = arg[3]
28023 } else {
28024 defundef = substr(arg[1], 2)
28025 mac1 = arg[2]
28027 split(mac1, mac2, "(") #)
28028 macro = mac2[1]
28029 prefix = substr(line, 1, index(line, defundef) - 1)
28030 if (D_is_set[macro]) {
28031 # Preserve the white space surrounding the "#".
28032 print prefix "define", macro P[macro] D[macro]
28033 next
28034 } else {
28035 # Replace #undef with comments. This is necessary, for example,
28036 # in the case of _POSIX_SOURCE, which is predefined and required
28037 # on some systems where configure will not decide to define it.
28038 if (defundef == "undef") {
28039 print "/*", prefix defundef, macro, "*/"
28040 next
28044 { print }
28045 _ACAWK
28046 _ACEOF
28047 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28048 as_fn_error "could not setup config headers machinery" "$LINENO" 5
28049 fi # test -n "$CONFIG_HEADERS"
28052 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
28053 shift
28054 for ac_tag
28056 case $ac_tag in
28057 :[FHLC]) ac_mode=$ac_tag; continue;;
28058 esac
28059 case $ac_mode$ac_tag in
28060 :[FHL]*:*);;
28061 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
28062 :[FH]-) ac_tag=-:-;;
28063 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
28064 esac
28065 ac_save_IFS=$IFS
28066 IFS=:
28067 set x $ac_tag
28068 IFS=$ac_save_IFS
28069 shift
28070 ac_file=$1
28071 shift
28073 case $ac_mode in
28074 :L) ac_source=$1;;
28075 :[FH])
28076 ac_file_inputs=
28077 for ac_f
28079 case $ac_f in
28080 -) ac_f="$tmp/stdin";;
28081 *) # Look for the file first in the build tree, then in the source tree
28082 # (if the path is not absolute). The absolute path cannot be DOS-style,
28083 # because $ac_f cannot contain `:'.
28084 test -f "$ac_f" ||
28085 case $ac_f in
28086 [\\/$]*) false;;
28087 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
28088 esac ||
28089 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
28090 esac
28091 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
28092 as_fn_append ac_file_inputs " '$ac_f'"
28093 done
28095 # Let's still pretend it is `configure' which instantiates (i.e., don't
28096 # use $as_me), people would be surprised to read:
28097 # /* config.h. Generated by config.status. */
28098 configure_input='Generated from '`
28099 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
28100 `' by configure.'
28101 if test x"$ac_file" != x-; then
28102 configure_input="$ac_file. $configure_input"
28103 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
28104 $as_echo "$as_me: creating $ac_file" >&6;}
28106 # Neutralize special characters interpreted by sed in replacement strings.
28107 case $configure_input in #(
28108 *\&* | *\|* | *\\* )
28109 ac_sed_conf_input=`$as_echo "$configure_input" |
28110 sed 's/[\\\\&|]/\\\\&/g'`;; #(
28111 *) ac_sed_conf_input=$configure_input;;
28112 esac
28114 case $ac_tag in
28115 *:-:* | *:-) cat >"$tmp/stdin" \
28116 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
28117 esac
28119 esac
28121 ac_dir=`$as_dirname -- "$ac_file" ||
28122 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28123 X"$ac_file" : 'X\(//\)[^/]' \| \
28124 X"$ac_file" : 'X\(//\)$' \| \
28125 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
28126 $as_echo X"$ac_file" |
28127 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28128 s//\1/
28131 /^X\(\/\/\)[^/].*/{
28132 s//\1/
28135 /^X\(\/\/\)$/{
28136 s//\1/
28139 /^X\(\/\).*/{
28140 s//\1/
28143 s/.*/./; q'`
28144 as_dir="$ac_dir"; as_fn_mkdir_p
28145 ac_builddir=.
28147 case "$ac_dir" in
28148 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
28150 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
28151 # A ".." for each directory in $ac_dir_suffix.
28152 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
28153 case $ac_top_builddir_sub in
28154 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
28155 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
28156 esac ;;
28157 esac
28158 ac_abs_top_builddir=$ac_pwd
28159 ac_abs_builddir=$ac_pwd$ac_dir_suffix
28160 # for backward compatibility:
28161 ac_top_builddir=$ac_top_build_prefix
28163 case $srcdir in
28164 .) # We are building in place.
28165 ac_srcdir=.
28166 ac_top_srcdir=$ac_top_builddir_sub
28167 ac_abs_top_srcdir=$ac_pwd ;;
28168 [\\/]* | ?:[\\/]* ) # Absolute name.
28169 ac_srcdir=$srcdir$ac_dir_suffix;
28170 ac_top_srcdir=$srcdir
28171 ac_abs_top_srcdir=$srcdir ;;
28172 *) # Relative name.
28173 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
28174 ac_top_srcdir=$ac_top_build_prefix$srcdir
28175 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
28176 esac
28177 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
28180 case $ac_mode in
28183 # CONFIG_FILE
28186 case $INSTALL in
28187 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
28188 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
28189 esac
28190 ac_MKDIR_P=$MKDIR_P
28191 case $MKDIR_P in
28192 [\\/$]* | ?:[\\/]* ) ;;
28193 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
28194 esac
28195 _ACEOF
28197 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28198 # If the template does not know about datarootdir, expand it.
28199 # FIXME: This hack should be removed a few years after 2.60.
28200 ac_datarootdir_hack=; ac_datarootdir_seen=
28201 ac_sed_dataroot='
28202 /datarootdir/ {
28206 /@datadir@/p
28207 /@docdir@/p
28208 /@infodir@/p
28209 /@localedir@/p
28210 /@mandir@/p'
28211 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
28212 *datarootdir*) ac_datarootdir_seen=yes;;
28213 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
28214 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
28215 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
28216 _ACEOF
28217 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28218 ac_datarootdir_hack='
28219 s&@datadir@&$datadir&g
28220 s&@docdir@&$docdir&g
28221 s&@infodir@&$infodir&g
28222 s&@localedir@&$localedir&g
28223 s&@mandir@&$mandir&g
28224 s&\\\${datarootdir}&$datarootdir&g' ;;
28225 esac
28226 _ACEOF
28228 # Neutralize VPATH when `$srcdir' = `.'.
28229 # Shell code in configure.ac might set extrasub.
28230 # FIXME: do we really want to maintain this feature?
28231 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28232 ac_sed_extra="$ac_vpsub
28233 $extrasub
28234 _ACEOF
28235 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28237 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
28238 s|@configure_input@|$ac_sed_conf_input|;t t
28239 s&@top_builddir@&$ac_top_builddir_sub&;t t
28240 s&@top_build_prefix@&$ac_top_build_prefix&;t t
28241 s&@srcdir@&$ac_srcdir&;t t
28242 s&@abs_srcdir@&$ac_abs_srcdir&;t t
28243 s&@top_srcdir@&$ac_top_srcdir&;t t
28244 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
28245 s&@builddir@&$ac_builddir&;t t
28246 s&@abs_builddir@&$ac_abs_builddir&;t t
28247 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
28248 s&@INSTALL@&$ac_INSTALL&;t t
28249 s&@MKDIR_P@&$ac_MKDIR_P&;t t
28250 $ac_datarootdir_hack
28252 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
28253 || as_fn_error "could not create $ac_file" "$LINENO" 5
28255 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
28256 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
28257 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
28258 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
28259 which seems to be undefined. Please make sure it is defined." >&5
28260 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
28261 which seems to be undefined. Please make sure it is defined." >&2;}
28263 rm -f "$tmp/stdin"
28264 case $ac_file in
28265 -) cat "$tmp/out" && rm -f "$tmp/out";;
28266 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
28267 esac \
28268 || as_fn_error "could not create $ac_file" "$LINENO" 5
28272 # CONFIG_HEADER
28274 if test x"$ac_file" != x-; then
28276 $as_echo "/* $configure_input */" \
28277 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
28278 } >"$tmp/config.h" \
28279 || as_fn_error "could not create $ac_file" "$LINENO" 5
28280 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
28281 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
28282 $as_echo "$as_me: $ac_file is unchanged" >&6;}
28283 else
28284 rm -f "$ac_file"
28285 mv "$tmp/config.h" "$ac_file" \
28286 || as_fn_error "could not create $ac_file" "$LINENO" 5
28288 else
28289 $as_echo "/* $configure_input */" \
28290 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
28291 || as_fn_error "could not create -" "$LINENO" 5
28293 # Compute "$ac_file"'s index in $config_headers.
28294 _am_arg="$ac_file"
28295 _am_stamp_count=1
28296 for _am_header in $config_headers :; do
28297 case $_am_header in
28298 $_am_arg | $_am_arg:* )
28299 break ;;
28301 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
28302 esac
28303 done
28304 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
28305 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28306 X"$_am_arg" : 'X\(//\)[^/]' \| \
28307 X"$_am_arg" : 'X\(//\)$' \| \
28308 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
28309 $as_echo X"$_am_arg" |
28310 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28311 s//\1/
28314 /^X\(\/\/\)[^/].*/{
28315 s//\1/
28318 /^X\(\/\/\)$/{
28319 s//\1/
28322 /^X\(\/\).*/{
28323 s//\1/
28326 s/.*/./; q'`/stamp-h$_am_stamp_count
28329 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
28330 $as_echo "$as_me: executing $ac_file commands" >&6;}
28332 esac
28335 case $ac_file$ac_mode in
28336 "default-1":C)
28337 # Only add multilib support code if we just rebuilt the top-level
28338 # Makefile.
28339 case " $CONFIG_FILES " in
28340 *" Makefile "*)
28341 ac_file=Makefile . ${multi_basedir}/config-ml.in
28343 esac ;;
28344 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
28345 # Autoconf 2.62 quotes --file arguments for eval, but not when files
28346 # are listed without --file. Let's play safe and only enable the eval
28347 # if we detect the quoting.
28348 case $CONFIG_FILES in
28349 *\'*) eval set x "$CONFIG_FILES" ;;
28350 *) set x $CONFIG_FILES ;;
28351 esac
28352 shift
28353 for mf
28355 # Strip MF so we end up with the name of the file.
28356 mf=`echo "$mf" | sed -e 's/:.*$//'`
28357 # Check whether this is an Automake generated Makefile or not.
28358 # We used to match only the files named `Makefile.in', but
28359 # some people rename them; so instead we look at the file content.
28360 # Grep'ing the first line is not enough: some people post-process
28361 # each Makefile.in and add a new line on top of each file to say so.
28362 # Grep'ing the whole file is not good either: AIX grep has a line
28363 # limit of 2048, but all sed's we know have understand at least 4000.
28364 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
28365 dirpart=`$as_dirname -- "$mf" ||
28366 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28367 X"$mf" : 'X\(//\)[^/]' \| \
28368 X"$mf" : 'X\(//\)$' \| \
28369 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
28370 $as_echo X"$mf" |
28371 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28372 s//\1/
28375 /^X\(\/\/\)[^/].*/{
28376 s//\1/
28379 /^X\(\/\/\)$/{
28380 s//\1/
28383 /^X\(\/\).*/{
28384 s//\1/
28387 s/.*/./; q'`
28388 else
28389 continue
28391 # Extract the definition of DEPDIR, am__include, and am__quote
28392 # from the Makefile without running `make'.
28393 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
28394 test -z "$DEPDIR" && continue
28395 am__include=`sed -n 's/^am__include = //p' < "$mf"`
28396 test -z "am__include" && continue
28397 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
28398 # When using ansi2knr, U may be empty or an underscore; expand it
28399 U=`sed -n 's/^U = //p' < "$mf"`
28400 # Find all dependency output files, they are included files with
28401 # $(DEPDIR) in their names. We invoke sed twice because it is the
28402 # simplest approach to changing $(DEPDIR) to its actual value in the
28403 # expansion.
28404 for file in `sed -n "
28405 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
28406 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
28407 # Make sure the directory exists.
28408 test -f "$dirpart/$file" && continue
28409 fdir=`$as_dirname -- "$file" ||
28410 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28411 X"$file" : 'X\(//\)[^/]' \| \
28412 X"$file" : 'X\(//\)$' \| \
28413 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
28414 $as_echo X"$file" |
28415 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28416 s//\1/
28419 /^X\(\/\/\)[^/].*/{
28420 s//\1/
28423 /^X\(\/\/\)$/{
28424 s//\1/
28427 /^X\(\/\).*/{
28428 s//\1/
28431 s/.*/./; q'`
28432 as_dir=$dirpart/$fdir; as_fn_mkdir_p
28433 # echo "creating $dirpart/$file"
28434 echo '# dummy' > "$dirpart/$file"
28435 done
28436 done
28439 "libtool":C)
28441 # See if we are running on zsh, and set the options which allow our
28442 # commands through without removal of \ escapes.
28443 if test -n "${ZSH_VERSION+set}" ; then
28444 setopt NO_GLOB_SUBST
28447 cfgfile="${ofile}T"
28448 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
28449 $RM "$cfgfile"
28451 cat <<_LT_EOF >> "$cfgfile"
28452 #! $SHELL
28454 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
28455 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
28456 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
28457 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
28459 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
28460 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
28461 # Written by Gordon Matzigkeit, 1996
28463 # This file is part of GNU Libtool.
28465 # GNU Libtool is free software; you can redistribute it and/or
28466 # modify it under the terms of the GNU General Public License as
28467 # published by the Free Software Foundation; either version 2 of
28468 # the License, or (at your option) any later version.
28470 # As a special exception to the GNU General Public License,
28471 # if you distribute this file as part of a program or library that
28472 # is built using GNU Libtool, you may include this file under the
28473 # same distribution terms that you use for the rest of that program.
28475 # GNU Libtool is distributed in the hope that it will be useful,
28476 # but WITHOUT ANY WARRANTY; without even the implied warranty of
28477 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
28478 # GNU General Public License for more details.
28480 # You should have received a copy of the GNU General Public License
28481 # along with GNU Libtool; see the file COPYING. If not, a copy
28482 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
28483 # obtained by writing to the Free Software Foundation, Inc.,
28484 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
28487 # The names of the tagged configurations supported by this script.
28488 available_tags="FC "
28490 # ### BEGIN LIBTOOL CONFIG
28492 # Which release of libtool.m4 was used?
28493 macro_version=$macro_version
28494 macro_revision=$macro_revision
28496 # Whether or not to build shared libraries.
28497 build_libtool_libs=$enable_shared
28499 # Whether or not to build static libraries.
28500 build_old_libs=$enable_static
28502 # What type of objects to build.
28503 pic_mode=$pic_mode
28505 # Whether or not to optimize for fast installation.
28506 fast_install=$enable_fast_install
28508 # Shell to use when invoking shell scripts.
28509 SHELL=$lt_SHELL
28511 # An echo program that protects backslashes.
28512 ECHO=$lt_ECHO
28514 # The host system.
28515 host_alias=$host_alias
28516 host=$host
28517 host_os=$host_os
28519 # The build system.
28520 build_alias=$build_alias
28521 build=$build
28522 build_os=$build_os
28524 # A sed program that does not truncate output.
28525 SED=$lt_SED
28527 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
28528 Xsed="\$SED -e 1s/^X//"
28530 # A grep program that handles long lines.
28531 GREP=$lt_GREP
28533 # An ERE matcher.
28534 EGREP=$lt_EGREP
28536 # A literal string matcher.
28537 FGREP=$lt_FGREP
28539 # A BSD- or MS-compatible name lister.
28540 NM=$lt_NM
28542 # Whether we need soft or hard links.
28543 LN_S=$lt_LN_S
28545 # What is the maximum length of a command?
28546 max_cmd_len=$max_cmd_len
28548 # Object file suffix (normally "o").
28549 objext=$ac_objext
28551 # Executable file suffix (normally "").
28552 exeext=$exeext
28554 # whether the shell understands "unset".
28555 lt_unset=$lt_unset
28557 # turn spaces into newlines.
28558 SP2NL=$lt_lt_SP2NL
28560 # turn newlines into spaces.
28561 NL2SP=$lt_lt_NL2SP
28563 # An object symbol dumper.
28564 OBJDUMP=$lt_OBJDUMP
28566 # Method to check whether dependent libraries are shared objects.
28567 deplibs_check_method=$lt_deplibs_check_method
28569 # Command to use when deplibs_check_method == "file_magic".
28570 file_magic_cmd=$lt_file_magic_cmd
28572 # The archiver.
28573 AR=$lt_AR
28574 AR_FLAGS=$lt_AR_FLAGS
28576 # A symbol stripping program.
28577 STRIP=$lt_STRIP
28579 # Commands used to install an old-style archive.
28580 RANLIB=$lt_RANLIB
28581 old_postinstall_cmds=$lt_old_postinstall_cmds
28582 old_postuninstall_cmds=$lt_old_postuninstall_cmds
28584 # Whether to use a lock for old archive extraction.
28585 lock_old_archive_extraction=$lock_old_archive_extraction
28587 # A C compiler.
28588 LTCC=$lt_CC
28590 # LTCC compiler flags.
28591 LTCFLAGS=$lt_CFLAGS
28593 # Take the output of nm and produce a listing of raw symbols and C names.
28594 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
28596 # Transform the output of nm in a proper C declaration.
28597 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
28599 # Transform the output of nm in a C name address pair.
28600 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
28602 # Transform the output of nm in a C name address pair when lib prefix is needed.
28603 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
28605 # The name of the directory that contains temporary libtool files.
28606 objdir=$objdir
28608 # Used to examine libraries when file_magic_cmd begins with "file".
28609 MAGIC_CMD=$MAGIC_CMD
28611 # Must we lock files when doing compilation?
28612 need_locks=$lt_need_locks
28614 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
28615 DSYMUTIL=$lt_DSYMUTIL
28617 # Tool to change global to local symbols on Mac OS X.
28618 NMEDIT=$lt_NMEDIT
28620 # Tool to manipulate fat objects and archives on Mac OS X.
28621 LIPO=$lt_LIPO
28623 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
28624 OTOOL=$lt_OTOOL
28626 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
28627 OTOOL64=$lt_OTOOL64
28629 # Old archive suffix (normally "a").
28630 libext=$libext
28632 # Shared library suffix (normally ".so").
28633 shrext_cmds=$lt_shrext_cmds
28635 # The commands to extract the exported symbol list from a shared archive.
28636 extract_expsyms_cmds=$lt_extract_expsyms_cmds
28638 # Variables whose values should be saved in libtool wrapper scripts and
28639 # restored at link time.
28640 variables_saved_for_relink=$lt_variables_saved_for_relink
28642 # Do we need the "lib" prefix for modules?
28643 need_lib_prefix=$need_lib_prefix
28645 # Do we need a version for libraries?
28646 need_version=$need_version
28648 # Library versioning type.
28649 version_type=$version_type
28651 # Shared library runtime path variable.
28652 runpath_var=$runpath_var
28654 # Shared library path variable.
28655 shlibpath_var=$shlibpath_var
28657 # Is shlibpath searched before the hard-coded library search path?
28658 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
28660 # Format of library name prefix.
28661 libname_spec=$lt_libname_spec
28663 # List of archive names. First name is the real one, the rest are links.
28664 # The last name is the one that the linker finds with -lNAME
28665 library_names_spec=$lt_library_names_spec
28667 # The coded name of the library, if different from the real name.
28668 soname_spec=$lt_soname_spec
28670 # Permission mode override for installation of shared libraries.
28671 install_override_mode=$lt_install_override_mode
28673 # Command to use after installation of a shared archive.
28674 postinstall_cmds=$lt_postinstall_cmds
28676 # Command to use after uninstallation of a shared archive.
28677 postuninstall_cmds=$lt_postuninstall_cmds
28679 # Commands used to finish a libtool library installation in a directory.
28680 finish_cmds=$lt_finish_cmds
28682 # As "finish_cmds", except a single script fragment to be evaled but
28683 # not shown.
28684 finish_eval=$lt_finish_eval
28686 # Whether we should hardcode library paths into libraries.
28687 hardcode_into_libs=$hardcode_into_libs
28689 # Compile-time system search path for libraries.
28690 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
28692 # Run-time system search path for libraries.
28693 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
28695 # Whether dlopen is supported.
28696 dlopen_support=$enable_dlopen
28698 # Whether dlopen of programs is supported.
28699 dlopen_self=$enable_dlopen_self
28701 # Whether dlopen of statically linked programs is supported.
28702 dlopen_self_static=$enable_dlopen_self_static
28704 # Commands to strip libraries.
28705 old_striplib=$lt_old_striplib
28706 striplib=$lt_striplib
28709 # The linker used to build libraries.
28710 LD=$lt_LD
28712 # How to create reloadable object files.
28713 reload_flag=$lt_reload_flag
28714 reload_cmds=$lt_reload_cmds
28716 # Commands used to build an old-style archive.
28717 old_archive_cmds=$lt_old_archive_cmds
28719 # A language specific compiler.
28720 CC=$lt_compiler
28722 # Is the compiler the GNU compiler?
28723 with_gcc=$GCC
28725 # Compiler flag to turn off builtin functions.
28726 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
28728 # How to pass a linker flag through the compiler.
28729 wl=$lt_lt_prog_compiler_wl
28731 # Additional compiler flags for building library objects.
28732 pic_flag=$lt_lt_prog_compiler_pic
28734 # Compiler flag to prevent dynamic linking.
28735 link_static_flag=$lt_lt_prog_compiler_static
28737 # Does compiler simultaneously support -c and -o options?
28738 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
28740 # Whether or not to add -lc for building shared libraries.
28741 build_libtool_need_lc=$archive_cmds_need_lc
28743 # Whether or not to disallow shared libs when runtime libs are static.
28744 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
28746 # Compiler flag to allow reflexive dlopens.
28747 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
28749 # Compiler flag to generate shared objects directly from archives.
28750 whole_archive_flag_spec=$lt_whole_archive_flag_spec
28752 # Whether the compiler copes with passing no objects directly.
28753 compiler_needs_object=$lt_compiler_needs_object
28755 # Create an old-style archive from a shared archive.
28756 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
28758 # Create a temporary old-style archive to link instead of a shared archive.
28759 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
28761 # Commands used to build a shared archive.
28762 archive_cmds=$lt_archive_cmds
28763 archive_expsym_cmds=$lt_archive_expsym_cmds
28765 # Commands used to build a loadable module if different from building
28766 # a shared archive.
28767 module_cmds=$lt_module_cmds
28768 module_expsym_cmds=$lt_module_expsym_cmds
28770 # Whether we are building with GNU ld or not.
28771 with_gnu_ld=$lt_with_gnu_ld
28773 # Flag that allows shared libraries with undefined symbols to be built.
28774 allow_undefined_flag=$lt_allow_undefined_flag
28776 # Flag that enforces no undefined symbols.
28777 no_undefined_flag=$lt_no_undefined_flag
28779 # Flag to hardcode \$libdir into a binary during linking.
28780 # This must work even if \$libdir does not exist
28781 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
28783 # If ld is used when linking, flag to hardcode \$libdir into a binary
28784 # during linking. This must work even if \$libdir does not exist.
28785 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
28787 # Whether we need a single "-rpath" flag with a separated argument.
28788 hardcode_libdir_separator=$lt_hardcode_libdir_separator
28790 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
28791 # DIR into the resulting binary.
28792 hardcode_direct=$hardcode_direct
28794 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
28795 # DIR into the resulting binary and the resulting library dependency is
28796 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
28797 # library is relocated.
28798 hardcode_direct_absolute=$hardcode_direct_absolute
28800 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
28801 # into the resulting binary.
28802 hardcode_minus_L=$hardcode_minus_L
28804 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
28805 # into the resulting binary.
28806 hardcode_shlibpath_var=$hardcode_shlibpath_var
28808 # Set to "yes" if building a shared library automatically hardcodes DIR
28809 # into the library and all subsequent libraries and executables linked
28810 # against it.
28811 hardcode_automatic=$hardcode_automatic
28813 # Set to yes if linker adds runtime paths of dependent libraries
28814 # to runtime path list.
28815 inherit_rpath=$inherit_rpath
28817 # Whether libtool must link a program against all its dependency libraries.
28818 link_all_deplibs=$link_all_deplibs
28820 # Fix the shell variable \$srcfile for the compiler.
28821 fix_srcfile_path=$lt_fix_srcfile_path
28823 # Set to "yes" if exported symbols are required.
28824 always_export_symbols=$always_export_symbols
28826 # The commands to list exported symbols.
28827 export_symbols_cmds=$lt_export_symbols_cmds
28829 # Symbols that should not be listed in the preloaded symbols.
28830 exclude_expsyms=$lt_exclude_expsyms
28832 # Symbols that must always be exported.
28833 include_expsyms=$lt_include_expsyms
28835 # Commands necessary for linking programs (against libraries) with templates.
28836 prelink_cmds=$lt_prelink_cmds
28838 # Specify filename containing input files.
28839 file_list_spec=$lt_file_list_spec
28841 # How to hardcode a shared library path into an executable.
28842 hardcode_action=$hardcode_action
28844 # The directories searched by this compiler when creating a shared library.
28845 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
28847 # Dependencies to place before and after the objects being linked to
28848 # create a shared library.
28849 predep_objects=$lt_predep_objects
28850 postdep_objects=$lt_postdep_objects
28851 predeps=$lt_predeps
28852 postdeps=$lt_postdeps
28854 # The library search path used internally by the compiler when linking
28855 # a shared library.
28856 compiler_lib_search_path=$lt_compiler_lib_search_path
28858 # ### END LIBTOOL CONFIG
28860 _LT_EOF
28862 case $host_os in
28863 aix3*)
28864 cat <<\_LT_EOF >> "$cfgfile"
28865 # AIX sometimes has problems with the GCC collect2 program. For some
28866 # reason, if we set the COLLECT_NAMES environment variable, the problems
28867 # vanish in a puff of smoke.
28868 if test "X${COLLECT_NAMES+set}" != Xset; then
28869 COLLECT_NAMES=
28870 export COLLECT_NAMES
28872 _LT_EOF
28874 esac
28877 ltmain="$ac_aux_dir/ltmain.sh"
28880 # We use sed instead of cat because bash on DJGPP gets confused if
28881 # if finds mixed CR/LF and LF-only lines. Since sed operates in
28882 # text mode, it properly converts lines to CR/LF. This bash problem
28883 # is reportedly fixed, but why not run on old versions too?
28884 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
28885 || (rm -f "$cfgfile"; exit 1)
28887 case $xsi_shell in
28888 yes)
28889 cat << \_LT_EOF >> "$cfgfile"
28891 # func_dirname file append nondir_replacement
28892 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
28893 # otherwise set result to NONDIR_REPLACEMENT.
28894 func_dirname ()
28896 case ${1} in
28897 */*) func_dirname_result="${1%/*}${2}" ;;
28898 * ) func_dirname_result="${3}" ;;
28899 esac
28902 # func_basename file
28903 func_basename ()
28905 func_basename_result="${1##*/}"
28908 # func_dirname_and_basename file append nondir_replacement
28909 # perform func_basename and func_dirname in a single function
28910 # call:
28911 # dirname: Compute the dirname of FILE. If nonempty,
28912 # add APPEND to the result, otherwise set result
28913 # to NONDIR_REPLACEMENT.
28914 # value returned in "$func_dirname_result"
28915 # basename: Compute filename of FILE.
28916 # value retuned in "$func_basename_result"
28917 # Implementation must be kept synchronized with func_dirname
28918 # and func_basename. For efficiency, we do not delegate to
28919 # those functions but instead duplicate the functionality here.
28920 func_dirname_and_basename ()
28922 case ${1} in
28923 */*) func_dirname_result="${1%/*}${2}" ;;
28924 * ) func_dirname_result="${3}" ;;
28925 esac
28926 func_basename_result="${1##*/}"
28929 # func_stripname prefix suffix name
28930 # strip PREFIX and SUFFIX off of NAME.
28931 # PREFIX and SUFFIX must not contain globbing or regex special
28932 # characters, hashes, percent signs, but SUFFIX may contain a leading
28933 # dot (in which case that matches only a dot).
28934 func_stripname ()
28936 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
28937 # positional parameters, so assign one to ordinary parameter first.
28938 func_stripname_result=${3}
28939 func_stripname_result=${func_stripname_result#"${1}"}
28940 func_stripname_result=${func_stripname_result%"${2}"}
28943 # func_opt_split
28944 func_opt_split ()
28946 func_opt_split_opt=${1%%=*}
28947 func_opt_split_arg=${1#*=}
28950 # func_lo2o object
28951 func_lo2o ()
28953 case ${1} in
28954 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
28955 *) func_lo2o_result=${1} ;;
28956 esac
28959 # func_xform libobj-or-source
28960 func_xform ()
28962 func_xform_result=${1%.*}.lo
28965 # func_arith arithmetic-term...
28966 func_arith ()
28968 func_arith_result=$(( $* ))
28971 # func_len string
28972 # STRING may not start with a hyphen.
28973 func_len ()
28975 func_len_result=${#1}
28978 _LT_EOF
28980 *) # Bourne compatible functions.
28981 cat << \_LT_EOF >> "$cfgfile"
28983 # func_dirname file append nondir_replacement
28984 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
28985 # otherwise set result to NONDIR_REPLACEMENT.
28986 func_dirname ()
28988 # Extract subdirectory from the argument.
28989 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
28990 if test "X$func_dirname_result" = "X${1}"; then
28991 func_dirname_result="${3}"
28992 else
28993 func_dirname_result="$func_dirname_result${2}"
28997 # func_basename file
28998 func_basename ()
29000 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
29004 # func_stripname prefix suffix name
29005 # strip PREFIX and SUFFIX off of NAME.
29006 # PREFIX and SUFFIX must not contain globbing or regex special
29007 # characters, hashes, percent signs, but SUFFIX may contain a leading
29008 # dot (in which case that matches only a dot).
29009 # func_strip_suffix prefix name
29010 func_stripname ()
29012 case ${2} in
29013 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
29014 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
29015 esac
29018 # sed scripts:
29019 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
29020 my_sed_long_arg='1s/^-[^=]*=//'
29022 # func_opt_split
29023 func_opt_split ()
29025 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
29026 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
29029 # func_lo2o object
29030 func_lo2o ()
29032 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
29035 # func_xform libobj-or-source
29036 func_xform ()
29038 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
29041 # func_arith arithmetic-term...
29042 func_arith ()
29044 func_arith_result=`expr "$@"`
29047 # func_len string
29048 # STRING may not start with a hyphen.
29049 func_len ()
29051 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
29054 _LT_EOF
29055 esac
29057 case $lt_shell_append in
29058 yes)
29059 cat << \_LT_EOF >> "$cfgfile"
29061 # func_append var value
29062 # Append VALUE to the end of shell variable VAR.
29063 func_append ()
29065 eval "$1+=\$2"
29067 _LT_EOF
29070 cat << \_LT_EOF >> "$cfgfile"
29072 # func_append var value
29073 # Append VALUE to the end of shell variable VAR.
29074 func_append ()
29076 eval "$1=\$$1\$2"
29079 _LT_EOF
29081 esac
29084 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
29085 || (rm -f "$cfgfile"; exit 1)
29087 mv -f "$cfgfile" "$ofile" ||
29088 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
29089 chmod +x "$ofile"
29092 cat <<_LT_EOF >> "$ofile"
29094 # ### BEGIN LIBTOOL TAG CONFIG: FC
29096 # The linker used to build libraries.
29097 LD=$lt_LD_FC
29099 # How to create reloadable object files.
29100 reload_flag=$lt_reload_flag_FC
29101 reload_cmds=$lt_reload_cmds_FC
29103 # Commands used to build an old-style archive.
29104 old_archive_cmds=$lt_old_archive_cmds_FC
29106 # A language specific compiler.
29107 CC=$lt_compiler_FC
29109 # Is the compiler the GNU compiler?
29110 with_gcc=$GCC_FC
29112 # Compiler flag to turn off builtin functions.
29113 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_FC
29115 # How to pass a linker flag through the compiler.
29116 wl=$lt_lt_prog_compiler_wl_FC
29118 # Additional compiler flags for building library objects.
29119 pic_flag=$lt_lt_prog_compiler_pic_FC
29121 # Compiler flag to prevent dynamic linking.
29122 link_static_flag=$lt_lt_prog_compiler_static_FC
29124 # Does compiler simultaneously support -c and -o options?
29125 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_FC
29127 # Whether or not to add -lc for building shared libraries.
29128 build_libtool_need_lc=$archive_cmds_need_lc_FC
29130 # Whether or not to disallow shared libs when runtime libs are static.
29131 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_FC
29133 # Compiler flag to allow reflexive dlopens.
29134 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_FC
29136 # Compiler flag to generate shared objects directly from archives.
29137 whole_archive_flag_spec=$lt_whole_archive_flag_spec_FC
29139 # Whether the compiler copes with passing no objects directly.
29140 compiler_needs_object=$lt_compiler_needs_object_FC
29142 # Create an old-style archive from a shared archive.
29143 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_FC
29145 # Create a temporary old-style archive to link instead of a shared archive.
29146 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_FC
29148 # Commands used to build a shared archive.
29149 archive_cmds=$lt_archive_cmds_FC
29150 archive_expsym_cmds=$lt_archive_expsym_cmds_FC
29152 # Commands used to build a loadable module if different from building
29153 # a shared archive.
29154 module_cmds=$lt_module_cmds_FC
29155 module_expsym_cmds=$lt_module_expsym_cmds_FC
29157 # Whether we are building with GNU ld or not.
29158 with_gnu_ld=$lt_with_gnu_ld_FC
29160 # Flag that allows shared libraries with undefined symbols to be built.
29161 allow_undefined_flag=$lt_allow_undefined_flag_FC
29163 # Flag that enforces no undefined symbols.
29164 no_undefined_flag=$lt_no_undefined_flag_FC
29166 # Flag to hardcode \$libdir into a binary during linking.
29167 # This must work even if \$libdir does not exist
29168 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_FC
29170 # If ld is used when linking, flag to hardcode \$libdir into a binary
29171 # during linking. This must work even if \$libdir does not exist.
29172 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_FC
29174 # Whether we need a single "-rpath" flag with a separated argument.
29175 hardcode_libdir_separator=$lt_hardcode_libdir_separator_FC
29177 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
29178 # DIR into the resulting binary.
29179 hardcode_direct=$hardcode_direct_FC
29181 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
29182 # DIR into the resulting binary and the resulting library dependency is
29183 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
29184 # library is relocated.
29185 hardcode_direct_absolute=$hardcode_direct_absolute_FC
29187 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
29188 # into the resulting binary.
29189 hardcode_minus_L=$hardcode_minus_L_FC
29191 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
29192 # into the resulting binary.
29193 hardcode_shlibpath_var=$hardcode_shlibpath_var_FC
29195 # Set to "yes" if building a shared library automatically hardcodes DIR
29196 # into the library and all subsequent libraries and executables linked
29197 # against it.
29198 hardcode_automatic=$hardcode_automatic_FC
29200 # Set to yes if linker adds runtime paths of dependent libraries
29201 # to runtime path list.
29202 inherit_rpath=$inherit_rpath_FC
29204 # Whether libtool must link a program against all its dependency libraries.
29205 link_all_deplibs=$link_all_deplibs_FC
29207 # Fix the shell variable \$srcfile for the compiler.
29208 fix_srcfile_path=$lt_fix_srcfile_path_FC
29210 # Set to "yes" if exported symbols are required.
29211 always_export_symbols=$always_export_symbols_FC
29213 # The commands to list exported symbols.
29214 export_symbols_cmds=$lt_export_symbols_cmds_FC
29216 # Symbols that should not be listed in the preloaded symbols.
29217 exclude_expsyms=$lt_exclude_expsyms_FC
29219 # Symbols that must always be exported.
29220 include_expsyms=$lt_include_expsyms_FC
29222 # Commands necessary for linking programs (against libraries) with templates.
29223 prelink_cmds=$lt_prelink_cmds_FC
29225 # Specify filename containing input files.
29226 file_list_spec=$lt_file_list_spec_FC
29228 # How to hardcode a shared library path into an executable.
29229 hardcode_action=$hardcode_action_FC
29231 # The directories searched by this compiler when creating a shared library.
29232 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_FC
29234 # Dependencies to place before and after the objects being linked to
29235 # create a shared library.
29236 predep_objects=$lt_predep_objects_FC
29237 postdep_objects=$lt_postdep_objects_FC
29238 predeps=$lt_predeps_FC
29239 postdeps=$lt_postdeps_FC
29241 # The library search path used internally by the compiler when linking
29242 # a shared library.
29243 compiler_lib_search_path=$lt_compiler_lib_search_path_FC
29245 # ### END LIBTOOL TAG CONFIG: FC
29246 _LT_EOF
29249 "gstdint.h":C)
29250 if test "$GCC" = yes; then
29251 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
29252 else
29253 echo "/* generated for $CC */" > tmp-stdint.h
29256 sed 's/^ *//' >> tmp-stdint.h <<EOF
29258 #ifndef GCC_GENERATED_STDINT_H
29259 #define GCC_GENERATED_STDINT_H 1
29261 #include <sys/types.h>
29264 if test "$acx_cv_header_stdint" != stdint.h; then
29265 echo "#include <stddef.h>" >> tmp-stdint.h
29267 if test "$acx_cv_header_stdint" != stddef.h; then
29268 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
29271 sed 's/^ *//' >> tmp-stdint.h <<EOF
29272 /* glibc uses these symbols as guards to prevent redefinitions. */
29273 #ifdef __int8_t_defined
29274 #define _INT8_T
29275 #define _INT16_T
29276 #define _INT32_T
29277 #endif
29278 #ifdef __uint32_t_defined
29279 #define _UINT32_T
29280 #endif
29284 # ----------------- done header, emit basic int types -------------
29285 if test "$acx_cv_header_stdint" = stddef.h; then
29286 sed 's/^ *//' >> tmp-stdint.h <<EOF
29288 #ifndef _UINT8_T
29289 #define _UINT8_T
29290 #ifndef __uint8_t_defined
29291 #define __uint8_t_defined
29292 #ifndef uint8_t
29293 typedef unsigned $acx_cv_type_int8_t uint8_t;
29294 #endif
29295 #endif
29296 #endif
29298 #ifndef _UINT16_T
29299 #define _UINT16_T
29300 #ifndef __uint16_t_defined
29301 #define __uint16_t_defined
29302 #ifndef uint16_t
29303 typedef unsigned $acx_cv_type_int16_t uint16_t;
29304 #endif
29305 #endif
29306 #endif
29308 #ifndef _UINT32_T
29309 #define _UINT32_T
29310 #ifndef __uint32_t_defined
29311 #define __uint32_t_defined
29312 #ifndef uint32_t
29313 typedef unsigned $acx_cv_type_int32_t uint32_t;
29314 #endif
29315 #endif
29316 #endif
29318 #ifndef _INT8_T
29319 #define _INT8_T
29320 #ifndef __int8_t_defined
29321 #define __int8_t_defined
29322 #ifndef int8_t
29323 typedef $acx_cv_type_int8_t int8_t;
29324 #endif
29325 #endif
29326 #endif
29328 #ifndef _INT16_T
29329 #define _INT16_T
29330 #ifndef __int16_t_defined
29331 #define __int16_t_defined
29332 #ifndef int16_t
29333 typedef $acx_cv_type_int16_t int16_t;
29334 #endif
29335 #endif
29336 #endif
29338 #ifndef _INT32_T
29339 #define _INT32_T
29340 #ifndef __int32_t_defined
29341 #define __int32_t_defined
29342 #ifndef int32_t
29343 typedef $acx_cv_type_int32_t int32_t;
29344 #endif
29345 #endif
29346 #endif
29348 elif test "$ac_cv_type_u_int32_t" = yes; then
29349 sed 's/^ *//' >> tmp-stdint.h <<EOF
29351 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
29352 #ifndef _INT8_T
29353 #define _INT8_T
29354 #endif
29355 #ifndef _INT16_T
29356 #define _INT16_T
29357 #endif
29358 #ifndef _INT32_T
29359 #define _INT32_T
29360 #endif
29362 #ifndef _UINT8_T
29363 #define _UINT8_T
29364 #ifndef __uint8_t_defined
29365 #define __uint8_t_defined
29366 #ifndef uint8_t
29367 typedef u_int8_t uint8_t;
29368 #endif
29369 #endif
29370 #endif
29372 #ifndef _UINT16_T
29373 #define _UINT16_T
29374 #ifndef __uint16_t_defined
29375 #define __uint16_t_defined
29376 #ifndef uint16_t
29377 typedef u_int16_t uint16_t;
29378 #endif
29379 #endif
29380 #endif
29382 #ifndef _UINT32_T
29383 #define _UINT32_T
29384 #ifndef __uint32_t_defined
29385 #define __uint32_t_defined
29386 #ifndef uint32_t
29387 typedef u_int32_t uint32_t;
29388 #endif
29389 #endif
29390 #endif
29392 else
29393 sed 's/^ *//' >> tmp-stdint.h <<EOF
29395 /* Some systems have guard macros to prevent redefinitions, define them. */
29396 #ifndef _INT8_T
29397 #define _INT8_T
29398 #endif
29399 #ifndef _INT16_T
29400 #define _INT16_T
29401 #endif
29402 #ifndef _INT32_T
29403 #define _INT32_T
29404 #endif
29405 #ifndef _UINT8_T
29406 #define _UINT8_T
29407 #endif
29408 #ifndef _UINT16_T
29409 #define _UINT16_T
29410 #endif
29411 #ifndef _UINT32_T
29412 #define _UINT32_T
29413 #endif
29417 # ------------- done basic int types, emit int64_t types ------------
29418 if test "$ac_cv_type_uint64_t" = yes; then
29419 sed 's/^ *//' >> tmp-stdint.h <<EOF
29421 /* system headers have good uint64_t and int64_t */
29422 #ifndef _INT64_T
29423 #define _INT64_T
29424 #endif
29425 #ifndef _UINT64_T
29426 #define _UINT64_T
29427 #endif
29429 elif test "$ac_cv_type_u_int64_t" = yes; then
29430 sed 's/^ *//' >> tmp-stdint.h <<EOF
29432 /* system headers have an u_int64_t (and int64_t) */
29433 #ifndef _INT64_T
29434 #define _INT64_T
29435 #endif
29436 #ifndef _UINT64_T
29437 #define _UINT64_T
29438 #ifndef __uint64_t_defined
29439 #define __uint64_t_defined
29440 #ifndef uint64_t
29441 typedef u_int64_t uint64_t;
29442 #endif
29443 #endif
29444 #endif
29446 elif test -n "$acx_cv_type_int64_t"; then
29447 sed 's/^ *//' >> tmp-stdint.h <<EOF
29449 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
29450 #ifndef _INT64_T
29451 #define _INT64_T
29452 #ifndef int64_t
29453 typedef $acx_cv_type_int64_t int64_t;
29454 #endif
29455 #endif
29456 #ifndef _UINT64_T
29457 #define _UINT64_T
29458 #ifndef __uint64_t_defined
29459 #define __uint64_t_defined
29460 #ifndef uint64_t
29461 typedef unsigned $acx_cv_type_int64_t uint64_t;
29462 #endif
29463 #endif
29464 #endif
29466 else
29467 sed 's/^ *//' >> tmp-stdint.h <<EOF
29469 /* some common heuristics for int64_t, using compiler-specific tests */
29470 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
29471 #ifndef _INT64_T
29472 #define _INT64_T
29473 #ifndef __int64_t_defined
29474 #ifndef int64_t
29475 typedef long long int64_t;
29476 #endif
29477 #endif
29478 #endif
29479 #ifndef _UINT64_T
29480 #define _UINT64_T
29481 #ifndef uint64_t
29482 typedef unsigned long long uint64_t;
29483 #endif
29484 #endif
29486 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
29487 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
29488 does not implement __extension__. But that compiler doesn't define
29489 __GNUC_MINOR__. */
29490 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
29491 # define __extension__
29492 # endif
29494 # ifndef _INT64_T
29495 # define _INT64_T
29496 # ifndef int64_t
29497 __extension__ typedef long long int64_t;
29498 # endif
29499 # endif
29500 # ifndef _UINT64_T
29501 # define _UINT64_T
29502 # ifndef uint64_t
29503 __extension__ typedef unsigned long long uint64_t;
29504 # endif
29505 # endif
29507 #elif !defined __STRICT_ANSI__
29508 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
29510 # ifndef _INT64_T
29511 # define _INT64_T
29512 # ifndef int64_t
29513 typedef __int64 int64_t;
29514 # endif
29515 # endif
29516 # ifndef _UINT64_T
29517 # define _UINT64_T
29518 # ifndef uint64_t
29519 typedef unsigned __int64 uint64_t;
29520 # endif
29521 # endif
29522 # endif /* compiler */
29524 #endif /* ANSI version */
29528 # ------------- done int64_t types, emit intptr types ------------
29529 if test "$ac_cv_type_uintptr_t" != yes; then
29530 sed 's/^ *//' >> tmp-stdint.h <<EOF
29532 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
29533 #ifndef __uintptr_t_defined
29534 #ifndef uintptr_t
29535 typedef u$acx_cv_type_intptr_t uintptr_t;
29536 #endif
29537 #endif
29538 #ifndef __intptr_t_defined
29539 #ifndef intptr_t
29540 typedef $acx_cv_type_intptr_t intptr_t;
29541 #endif
29542 #endif
29546 # ------------- done intptr types, emit int_least types ------------
29547 if test "$ac_cv_type_int_least32_t" != yes; then
29548 sed 's/^ *//' >> tmp-stdint.h <<EOF
29550 /* Define int_least types */
29551 typedef int8_t int_least8_t;
29552 typedef int16_t int_least16_t;
29553 typedef int32_t int_least32_t;
29554 #ifdef _INT64_T
29555 typedef int64_t int_least64_t;
29556 #endif
29558 typedef uint8_t uint_least8_t;
29559 typedef uint16_t uint_least16_t;
29560 typedef uint32_t uint_least32_t;
29561 #ifdef _UINT64_T
29562 typedef uint64_t uint_least64_t;
29563 #endif
29567 # ------------- done intptr types, emit int_fast types ------------
29568 if test "$ac_cv_type_int_fast32_t" != yes; then
29569 sed 's/^ *//' >> tmp-stdint.h <<EOF
29571 /* Define int_fast types. short is often slow */
29572 typedef int8_t int_fast8_t;
29573 typedef int int_fast16_t;
29574 typedef int32_t int_fast32_t;
29575 #ifdef _INT64_T
29576 typedef int64_t int_fast64_t;
29577 #endif
29579 typedef uint8_t uint_fast8_t;
29580 typedef unsigned int uint_fast16_t;
29581 typedef uint32_t uint_fast32_t;
29582 #ifdef _UINT64_T
29583 typedef uint64_t uint_fast64_t;
29584 #endif
29588 if test "$ac_cv_type_uintmax_t" != yes; then
29589 sed 's/^ *//' >> tmp-stdint.h <<EOF
29591 /* Define intmax based on what we found */
29592 #ifndef intmax_t
29593 #ifdef _INT64_T
29594 typedef int64_t intmax_t;
29595 #else
29596 typedef long intmax_t;
29597 #endif
29598 #endif
29599 #ifndef uintmax_t
29600 #ifdef _UINT64_T
29601 typedef uint64_t uintmax_t;
29602 #else
29603 typedef unsigned long uintmax_t;
29604 #endif
29605 #endif
29609 sed 's/^ *//' >> tmp-stdint.h <<EOF
29611 #endif /* GCC_GENERATED_STDINT_H */
29614 if test -r gstdint.h && cmp -s tmp-stdint.h gstdint.h; then
29615 rm -f tmp-stdint.h
29616 else
29617 mv -f tmp-stdint.h gstdint.h
29622 esac
29623 done # for ac_tag
29626 as_fn_exit 0
29627 _ACEOF
29628 ac_clean_files=$ac_clean_files_save
29630 test $ac_write_fail = 0 ||
29631 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
29634 # configure is writing to config.log, and then calls config.status.
29635 # config.status does its own redirection, appending to config.log.
29636 # Unfortunately, on DOS this fails, as config.log is still kept open
29637 # by configure, so config.status won't be able to write to it; its
29638 # output is simply discarded. So we exec the FD to /dev/null,
29639 # effectively closing config.log, so it can be properly (re)opened and
29640 # appended to by config.status. When coming back to configure, we
29641 # need to make the FD available again.
29642 if test "$no_create" != yes; then
29643 ac_cs_success=:
29644 ac_config_status_args=
29645 test "$silent" = yes &&
29646 ac_config_status_args="$ac_config_status_args --quiet"
29647 exec 5>/dev/null
29648 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
29649 exec 5>>config.log
29650 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
29651 # would make configure fail if this is the last instruction.
29652 $ac_cs_success || as_fn_exit $?
29654 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
29655 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
29656 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}