2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for GCC Quad-precision Math Library 0.1.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
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 :
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+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
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
46 as_echo_n='print
-rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
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'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
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.)
89 # Find who we are. Look in the path if we contain no directory separator.
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
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
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
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 ||
:
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 :
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+\"\$@\"}'='\"\$@\"'
143 case \`(set -o) 2>/dev/null\` in #(
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; }
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 :
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 :
186 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
189 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
191 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
194 test -z "$as_dir" && as_dir
=.
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 :
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
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.
225 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
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."
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."
246 SHELL
=${CONFIG_SHELL-/bin/sh}
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 ## --------------------- ##
257 # Portably unset VAR.
260 { eval $1=; unset $1;}
264 # as_fn_set_status STATUS
265 # -----------------------
266 # Set $? to STATUS, without forking.
274 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
284 # Create "$as_dir" as a directory, including parents if necessary.
289 -*) as_dir
=.
/$as_dir;;
291 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
295 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
322 test -d "$as_dir" && break
324 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
325 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
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
335 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
336 eval 'as_fn_append ()
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 :
360 as_val
=`expr "$@" || test $? -eq 1`
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.
372 as_status
=$?
; test $as_status -eq 0 && as_status
=1
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
381 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
382 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
388 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
394 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
400 as_me
=`$as_basename -- "$0" ||
401 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
402 X"$0" : 'X\(//\)$' \| \
403 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
405 sed '/^.*\/\([^/][^/]*\)\/*$/{
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. :-)
443 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
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).
454 # Exit status is that of the last command.
458 ECHO_C
= ECHO_N
= ECHO_T
=
459 case `echo -n x` in #(((((
461 case `echo 'xy\c'` in
462 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
464 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
471 rm -f conf$$ conf$$.exe conf$$.
file
472 if test -d conf$$.dir
; then
473 rm -f conf$$.dir
/conf$$.
file
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
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 ||
487 elif ln conf$$.
file conf$$
2>/dev
/null
; then
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"'
501 test -d .
/-p && rmdir .
/-p
505 if test -x / >/dev
/null
2>&1; then
508 if ls -dL / >/dev
/null
2>&1; then
515 if test -d "$1"; then
521 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
522 ???[sx]*):;;*)false;;esac;fi
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
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`
547 ac_default_prefix
=/usr
/local
549 ac_config_libobj_dir
=.
556 # Identity of this package.
557 PACKAGE_NAME
='GCC Quad-precision Math Library'
558 PACKAGE_TARNAME
='libquadmath'
559 PACKAGE_VERSION
='0.1'
560 PACKAGE_STRING
='GCC Quad-precision Math Library 0.1'
564 # Factoring default headers for most tests.
565 ac_includes_default
="\
567 #ifdef HAVE_SYS_TYPES_H
568 # include <sys/types.h>
570 #ifdef HAVE_SYS_STAT_H
571 # include <sys/stat.h>
577 # ifdef HAVE_STDLIB_H
582 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
587 #ifdef HAVE_STRINGS_H
588 # include <strings.h>
590 #ifdef HAVE_INTTYPES_H
591 # include <inttypes.h>
600 ac_subst_vars
='am__EXEEXT_FALSE
606 BUILD_LIBQUADMATH_FALSE
607 BUILD_LIBQUADMATH_TRUE
608 LIBQUAD_USE_SYMVER_SUN_FALSE
609 LIBQUAD_USE_SYMVER_SUN_TRUE
610 LIBQUAD_USE_SYMVER_GNU_FALSE
611 LIBQUAD_USE_SYMVER_GNU_TRUE
612 LIBQUAD_USE_SYMVER_FALSE
613 LIBQUAD_USE_SYMVER_TRUE
618 MAINTAINER_MODE_FALSE
670 INSTALL_STRIP_PROGRAM
725 program_transform_name
738 enable_option_checking
739 enable_version_specific_runtime_libs
740 enable_dependency_tracking
748 enable_maintainer_mode
751 enable_generated_files_in_srcdir
753 ac_precious_vars
='build_alias
764 # Initialize some variables set by options.
766 ac_init_version
=false
767 ac_unrecognized_opts
=
769 # The variables have the same names as the options, with
770 # dashes changed to underlines.
778 program_transform_name
=s
,x
,x
,
786 # Installation directory options.
787 # These are left unexpanded so users can "make install exec_prefix=/foo"
788 # and all the variables that are supposed to be based on exec_prefix
789 # by default will actually change.
790 # Use braces instead of parens because sh, perl, etc. also accept them.
791 # (The list follows the same order as the GNU Coding Standards.)
792 bindir
='${exec_prefix}/bin'
793 sbindir
='${exec_prefix}/sbin'
794 libexecdir
='${exec_prefix}/libexec'
795 datarootdir
='${prefix}/share'
796 datadir
='${datarootdir}'
797 sysconfdir
='${prefix}/etc'
798 sharedstatedir
='${prefix}/com'
799 localstatedir
='${prefix}/var'
800 includedir
='${prefix}/include'
801 oldincludedir
='/usr/include'
802 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
803 infodir
='${datarootdir}/info'
808 libdir
='${exec_prefix}/lib'
809 localedir
='${datarootdir}/locale'
810 mandir
='${datarootdir}/man'
816 # If the previous option needs an argument, assign it.
817 if test -n "$ac_prev"; then
818 eval $ac_prev=\
$ac_option
824 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
828 # Accept the important Cygnus configure options, so we can diagnose typos.
830 case $ac_dashdash$ac_option in
834 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
836 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
839 -build |
--build |
--buil |
--bui |
--bu)
840 ac_prev
=build_alias
;;
841 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
842 build_alias
=$ac_optarg ;;
844 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
845 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
846 ac_prev
=cache_file
;;
847 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
848 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
849 cache_file
=$ac_optarg ;;
852 cache_file
=config.cache
;;
854 -datadir |
--datadir |
--datadi |
--datad)
856 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
857 datadir
=$ac_optarg ;;
859 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
860 |
--dataroo |
--dataro |
--datar)
861 ac_prev
=datarootdir
;;
862 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
863 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
864 datarootdir
=$ac_optarg ;;
866 -disable-* |
--disable-*)
867 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
868 # Reject names that are not valid shell variable names.
869 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
870 as_fn_error
"invalid feature name: $ac_useropt"
871 ac_useropt_orig
=$ac_useropt
872 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
873 case $ac_user_opts in
877 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
878 ac_unrecognized_sep
=', ';;
880 eval enable_
$ac_useropt=no
;;
882 -docdir |
--docdir |
--docdi |
--doc |
--do)
884 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
887 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
889 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
892 -enable-* |
--enable-*)
893 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
894 # Reject names that are not valid shell variable names.
895 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
896 as_fn_error
"invalid feature name: $ac_useropt"
897 ac_useropt_orig
=$ac_useropt
898 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
899 case $ac_user_opts in
903 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
904 ac_unrecognized_sep
=', ';;
906 eval enable_
$ac_useropt=\
$ac_optarg ;;
908 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
909 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
910 |
--exec |
--exe |
--ex)
911 ac_prev
=exec_prefix
;;
912 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
913 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
914 |
--exec=* |
--exe=* |
--ex=*)
915 exec_prefix
=$ac_optarg ;;
917 -gas |
--gas |
--ga |
--g)
918 # Obsolete; use --with-gas.
921 -help |
--help |
--hel |
--he |
-h)
923 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
924 ac_init_help
=recursive
;;
925 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
926 ac_init_help
=short
;;
928 -host |
--host |
--hos |
--ho)
929 ac_prev
=host_alias
;;
930 -host=* |
--host=* |
--hos=* |
--ho=*)
931 host_alias
=$ac_optarg ;;
933 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
935 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
937 htmldir
=$ac_optarg ;;
939 -includedir |
--includedir |
--includedi |
--included |
--include \
940 |
--includ |
--inclu |
--incl |
--inc)
941 ac_prev
=includedir
;;
942 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
943 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
944 includedir
=$ac_optarg ;;
946 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
948 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
949 infodir
=$ac_optarg ;;
951 -libdir |
--libdir |
--libdi |
--libd)
953 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
956 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
957 |
--libexe |
--libex |
--libe)
958 ac_prev
=libexecdir
;;
959 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
960 |
--libexe=* |
--libex=* |
--libe=*)
961 libexecdir
=$ac_optarg ;;
963 -localedir |
--localedir |
--localedi |
--localed |
--locale)
965 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
966 localedir
=$ac_optarg ;;
968 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
969 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
970 ac_prev
=localstatedir
;;
971 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
972 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
973 localstatedir
=$ac_optarg ;;
975 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
977 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
981 # Obsolete; use --without-fp.
984 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
985 |
--no-cr |
--no-c |
-n)
988 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
989 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
992 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
993 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
994 |
--oldin |
--oldi |
--old |
--ol |
--o)
995 ac_prev
=oldincludedir
;;
996 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
997 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
998 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
999 oldincludedir
=$ac_optarg ;;
1001 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1003 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1004 prefix
=$ac_optarg ;;
1006 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1007 |
--program-pre |
--program-pr |
--program-p)
1008 ac_prev
=program_prefix
;;
1009 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1010 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1011 program_prefix
=$ac_optarg ;;
1013 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1014 |
--program-suf |
--program-su |
--program-s)
1015 ac_prev
=program_suffix
;;
1016 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1017 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1018 program_suffix
=$ac_optarg ;;
1020 -program-transform-name |
--program-transform-name \
1021 |
--program-transform-nam |
--program-transform-na \
1022 |
--program-transform-n |
--program-transform- \
1023 |
--program-transform |
--program-transfor \
1024 |
--program-transfo |
--program-transf \
1025 |
--program-trans |
--program-tran \
1026 |
--progr-tra |
--program-tr |
--program-t)
1027 ac_prev
=program_transform_name
;;
1028 -program-transform-name=* |
--program-transform-name=* \
1029 |
--program-transform-nam=* |
--program-transform-na=* \
1030 |
--program-transform-n=* |
--program-transform-=* \
1031 |
--program-transform=* |
--program-transfor=* \
1032 |
--program-transfo=* |
--program-transf=* \
1033 |
--program-trans=* |
--program-tran=* \
1034 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1035 program_transform_name
=$ac_optarg ;;
1037 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1039 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1040 pdfdir
=$ac_optarg ;;
1042 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1044 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1047 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1048 |
-silent |
--silent |
--silen |
--sile |
--sil)
1051 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1053 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1055 sbindir
=$ac_optarg ;;
1057 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1058 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1059 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1061 ac_prev
=sharedstatedir
;;
1062 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1063 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1064 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1066 sharedstatedir
=$ac_optarg ;;
1068 -site |
--site |
--sit)
1070 -site=* |
--site=* |
--sit=*)
1073 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1075 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1076 srcdir
=$ac_optarg ;;
1078 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1079 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1080 ac_prev
=sysconfdir
;;
1081 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1082 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1083 sysconfdir
=$ac_optarg ;;
1085 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1086 ac_prev
=target_alias
;;
1087 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1088 target_alias
=$ac_optarg ;;
1090 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1093 -version |
--version |
--versio |
--versi |
--vers |
-V)
1094 ac_init_version
=: ;;
1097 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1098 # Reject names that are not valid shell variable names.
1099 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1100 as_fn_error
"invalid package name: $ac_useropt"
1101 ac_useropt_orig
=$ac_useropt
1102 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1103 case $ac_user_opts in
1107 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1108 ac_unrecognized_sep
=', ';;
1110 eval with_
$ac_useropt=\
$ac_optarg ;;
1112 -without-* |
--without-*)
1113 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1114 # Reject names that are not valid shell variable names.
1115 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1116 as_fn_error
"invalid package name: $ac_useropt"
1117 ac_useropt_orig
=$ac_useropt
1118 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1119 case $ac_user_opts in
1123 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1124 ac_unrecognized_sep
=', ';;
1126 eval with_
$ac_useropt=no
;;
1129 # Obsolete; use --with-x.
1132 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1133 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1134 ac_prev
=x_includes
;;
1135 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1136 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1137 x_includes
=$ac_optarg ;;
1139 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1140 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1141 ac_prev
=x_libraries
;;
1142 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1143 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1144 x_libraries
=$ac_optarg ;;
1146 -*) as_fn_error
"unrecognized option: \`$ac_option'
1147 Try \`$0 --help' for more information."
1151 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1152 # Reject names that are not valid shell variable names.
1153 case $ac_envvar in #(
1154 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1155 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1157 eval $ac_envvar=\
$ac_optarg
1158 export $ac_envvar ;;
1161 # FIXME: should be removed in autoconf 3.0.
1162 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1163 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1164 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1165 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1171 if test -n "$ac_prev"; then
1172 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1173 as_fn_error
"missing argument to $ac_option"
1176 if test -n "$ac_unrecognized_opts"; then
1177 case $enable_option_checking in
1179 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1180 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1184 # Check all directory arguments for consistency.
1185 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1186 datadir sysconfdir sharedstatedir localstatedir includedir \
1187 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1188 libdir localedir mandir
1190 eval ac_val
=\$
$ac_var
1191 # Remove trailing slashes.
1194 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1195 eval $ac_var=\
$ac_val;;
1197 # Be sure to have absolute directory names.
1199 [\\/$
]* | ?
:[\\/]* ) continue;;
1200 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1202 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1205 # There might be people who depend on the old broken behavior: `$host'
1206 # used to hold the argument of --host etc.
1207 # FIXME: To remove some day.
1210 target
=$target_alias
1212 # FIXME: To remove some day.
1213 if test "x$host_alias" != x
; then
1214 if test "x$build_alias" = x
; then
1215 cross_compiling
=maybe
1216 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1217 If a cross compiler is detected then cross compile mode will be used." >&2
1218 elif test "x$build_alias" != "x$host_alias"; then
1224 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1226 test "$silent" = yes && exec 6>/dev
/null
1229 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1230 ac_ls_di
=`ls -di .` &&
1231 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1232 as_fn_error
"working directory cannot be determined"
1233 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1234 as_fn_error
"pwd does not report name of working directory"
1237 # Find the source files, if location was not specified.
1238 if test -z "$srcdir"; then
1239 ac_srcdir_defaulted
=yes
1240 # Try the directory containing this script, then the parent directory.
1241 ac_confdir
=`$as_dirname -- "$as_myself" ||
1242 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1243 X"$as_myself" : 'X\(//\)[^/]' \| \
1244 X"$as_myself" : 'X\(//\)$' \| \
1245 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1246 $as_echo X"$as_myself" |
1247 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1265 if test ! -r "$srcdir/$ac_unique_file"; then
1269 ac_srcdir_defaulted
=no
1271 if test ! -r "$srcdir/$ac_unique_file"; then
1272 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1273 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1275 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1277 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1279 # When building in place, set srcdir=.
1280 if test "$ac_abs_confdir" = "$ac_pwd"; then
1283 # Remove unnecessary trailing slashes from srcdir.
1284 # Double slashes in file names in object file debugging info
1285 # mess up M-x gdb in Emacs.
1287 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1289 for ac_var
in $ac_precious_vars; do
1290 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1291 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1292 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1293 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1297 # Report the --help message.
1299 if test "$ac_init_help" = "long"; then
1300 # Omit some internal or obsolete options to make the list less imposing.
1301 # This message is too long to be a string in the A/UX 3.1 sh.
1303 \`configure' configures GCC Quad-precision Math Library 0.1 to adapt to many kinds of systems.
1305 Usage: $0 [OPTION]... [VAR=VALUE]...
1307 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1308 VAR=VALUE. See below for descriptions of some of the useful variables.
1310 Defaults for the options are specified in brackets.
1313 -h, --help display this help and exit
1314 --help=short display options specific to this package
1315 --help=recursive display the short help of all the included packages
1316 -V, --version display version information and exit
1317 -q, --quiet, --silent do not print \`checking...' messages
1318 --cache-file=FILE cache test results in FILE [disabled]
1319 -C, --config-cache alias for \`--cache-file=config.cache'
1320 -n, --no-create do not create output files
1321 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1323 Installation directories:
1324 --prefix=PREFIX install architecture-independent files in PREFIX
1325 [$ac_default_prefix]
1326 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1329 By default, \`make install' will install all the files in
1330 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1331 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1332 for instance \`--prefix=\$HOME'.
1334 For better control, use the options below.
1336 Fine tuning of the installation directories:
1337 --bindir=DIR user executables [EPREFIX/bin]
1338 --sbindir=DIR system admin executables [EPREFIX/sbin]
1339 --libexecdir=DIR program executables [EPREFIX/libexec]
1340 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1341 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1342 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1343 --libdir=DIR object code libraries [EPREFIX/lib]
1344 --includedir=DIR C header files [PREFIX/include]
1345 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1346 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1347 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1348 --infodir=DIR info documentation [DATAROOTDIR/info]
1349 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1350 --mandir=DIR man documentation [DATAROOTDIR/man]
1351 --docdir=DIR documentation root [DATAROOTDIR/doc/libquadmath]
1352 --htmldir=DIR html documentation [DOCDIR]
1353 --dvidir=DIR dvi documentation [DOCDIR]
1354 --pdfdir=DIR pdf documentation [DOCDIR]
1355 --psdir=DIR ps documentation [DOCDIR]
1361 --program-prefix=PREFIX prepend PREFIX to installed program names
1362 --program-suffix=SUFFIX append SUFFIX to installed program names
1363 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1366 --build=BUILD configure
for building on BUILD
[guessed
]
1367 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1368 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1372 if test -n "$ac_init_help"; then
1373 case $ac_init_help in
1374 short | recursive
) echo "Configuration of GCC Quad-precision Math Library 0.1:";;
1379 --disable-option-checking ignore unrecognized
--enable/--with options
1380 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1381 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1382 --enable-version-specific-runtime-libs
1383 specify that runtime libraries should be installed
1384 in a compiler-specific directory
1385 --disable-dependency-tracking speeds up one-time build
1386 --enable-dependency-tracking do not reject slow dependency extractors
1387 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1388 --enable-static[=PKGS
] build static libraries
[default
=yes]
1389 --enable-fast-install[=PKGS
]
1390 optimize
for fast installation
[default
=yes]
1391 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1392 --enable-maintainer-mode enable make rules and dependencies not useful
1393 (and sometimes confusing
) to the casual installer
1394 --enable-multilib build many library versions
(default
)
1395 --disable-symvers disable symbol versioning
for libquadmath
1396 --enable-generated-files-in-srcdir
1397 put copies of generated files
in source dir intended
1398 for creating
source tarballs
for users without
1399 texinfo bison or flex
1402 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1403 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1404 --with-bugurl=URL Direct users to URL to report a bug
1405 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1407 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1409 Some influential environment variables
:
1410 CC C compiler
command
1411 CFLAGS C compiler flags
1412 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1413 nonstandard directory
<lib dir
>
1414 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1415 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1416 you have headers
in a nonstandard directory
<include dir
>
1419 Use these variables to override the choices made by
`configure' or to help
1420 it to find libraries and programs with nonstandard names/locations.
1422 Report bugs to the package provider.
1427 if test "$ac_init_help" = "recursive"; then
1428 # If there are subdirs, report their specific --help.
1429 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1430 test -d "$ac_dir" ||
1431 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1436 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1438 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1439 # A ".." for each directory in $ac_dir_suffix.
1440 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1441 case $ac_top_builddir_sub in
1442 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1443 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1446 ac_abs_top_builddir=$ac_pwd
1447 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1448 # for backward compatibility:
1449 ac_top_builddir=$ac_top_build_prefix
1452 .) # We are building in place.
1454 ac_top_srcdir=$ac_top_builddir_sub
1455 ac_abs_top_srcdir=$ac_pwd ;;
1456 [\\/]* | ?:[\\/]* ) # Absolute name.
1457 ac_srcdir=$srcdir$ac_dir_suffix;
1458 ac_top_srcdir=$srcdir
1459 ac_abs_top_srcdir=$srcdir ;;
1461 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1462 ac_top_srcdir=$ac_top_build_prefix$srcdir
1463 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1465 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1467 cd "$ac_dir" || { ac_status=$?; continue; }
1468 # Check for guested configure.
1469 if test -f "$ac_srcdir/configure.gnu"; then
1471 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1472 elif test -f "$ac_srcdir/configure"; then
1474 $SHELL "$ac_srcdir/configure" --help=recursive
1476 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1478 cd "$ac_pwd" || { ac_status=$?; break; }
1482 test -n "$ac_init_help" && exit $ac_status
1483 if $ac_init_version; then
1485 GCC Quad-precision Math Library configure 0.1
1486 generated by GNU Autoconf 2.64
1488 Copyright (C) 2009 Free Software Foundation, Inc.
1489 This configure script is free software; the Free Software Foundation
1490 gives unlimited permission to copy, distribute and modify it.
1495 ## ------------------------ ##
1496 ## Autoconf initialization. ##
1497 ## ------------------------ ##
1499 # ac_fn_c_try_compile LINENO
1500 # --------------------------
1501 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1502 ac_fn_c_try_compile ()
1504 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1505 rm -f conftest.$ac_objext
1506 if { { ac_try="$ac_compile"
1508 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1509 *) ac_try_echo
=$ac_try;;
1511 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1512 $as_echo "$ac_try_echo"; } >&5
1513 (eval "$ac_compile") 2>conftest.err
1515 if test -s conftest.err
; then
1516 grep -v '^ *+' conftest.err
>conftest.er1
1517 cat conftest.er1
>&5
1518 mv -f conftest.er1 conftest.err
1520 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1521 test $ac_status = 0; } && {
1522 test -z "$ac_c_werror_flag" ||
1523 test ! -s conftest.err
1524 } && test -s conftest.
$ac_objext; then :
1527 $as_echo "$as_me: failed program was:" >&5
1528 sed 's/^/| /' conftest.
$ac_ext >&5
1532 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1535 } # ac_fn_c_try_compile
1537 # ac_fn_c_try_cpp LINENO
1538 # ----------------------
1539 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1542 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1543 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1545 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1546 *) ac_try_echo=$ac_try;;
1548 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1549 $as_echo "$ac_try_echo"; } >&5
1550 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1552 if test -s conftest.err; then
1553 grep -v '^ *+' conftest.err >conftest.er1
1554 cat conftest.er1 >&5
1555 mv -f conftest.er1 conftest.err
1557 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1558 test $ac_status = 0; } >/dev/null && {
1559 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1560 test ! -s conftest.err
1564 $as_echo "$as_me: failed program was:" >&5
1565 sed 's/^/| /' conftest.$ac_ext >&5
1569 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1574 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1575 # -------------------------------------------------------
1576 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1577 # the include files in INCLUDES and setting the cache variable VAR
1579 ac_fn_c_check_header_mongrel ()
1581 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1582 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1584 $as_echo_n "checking for $2... " >&6; }
1585 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1586 $as_echo_n "(cached) " >&6
1589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1590 $as_echo "$ac_res" >&6; }
1592 # Is the header compilable?
1593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1594 $as_echo_n "checking $2 usability... " >&6; }
1595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1596 /* end confdefs.h. */
1600 if ac_fn_c_try_compile "$LINENO"; then :
1601 ac_header_compiler=yes
1603 ac_header_compiler=no
1605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1607 $as_echo "$ac_header_compiler" >&6; }
1609 # Is the header present?
1610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1611 $as_echo_n "checking $2 presence... " >&6; }
1612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1613 /* end confdefs.h. */
1616 if ac_fn_c_try_cpp "$LINENO"; then :
1617 ac_header_preproc=yes
1619 ac_header_preproc=no
1621 rm -f conftest.err conftest.$ac_ext
1622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1623 $as_echo "$ac_header_preproc" >&6; }
1625 # So? What about this header?
1626 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1628 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1629 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1630 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1631 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1634 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1635 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1636 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1637 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1638 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1639 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1640 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1641 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1642 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1643 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1647 $as_echo_n "checking for $2... " >&6; }
1648 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1649 $as_echo_n "(cached) " >&6
1651 eval "$3=\$ac_header_compiler"
1654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1655 $as_echo "$ac_res" >&6; }
1657 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1659 } # ac_fn_c_check_header_mongrel
1661 # ac_fn_c_try_run LINENO
1662 # ----------------------
1663 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1664 # that executables *can* be run.
1667 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1668 if { { ac_try="$ac_link"
1670 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1671 *) ac_try_echo
=$ac_try;;
1673 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1674 $as_echo "$ac_try_echo"; } >&5
1675 (eval "$ac_link") 2>&5
1677 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1678 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1679 { { case "(($ac_try" in
1680 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1681 *) ac_try_echo=$ac_try;;
1683 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1684 $as_echo "$ac_try_echo"; } >&5
1685 (eval "$ac_try") 2>&5
1687 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1688 test $ac_status = 0; }; }; then :
1691 $as_echo "$as_me: program exited with status $ac_status" >&5
1692 $as_echo "$as_me: failed program was:" >&5
1693 sed 's/^/| /' conftest.$ac_ext >&5
1695 ac_retval=$ac_status
1697 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1698 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1703 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1704 # -------------------------------------------------------
1705 # Tests whether HEADER exists and can be compiled using the include files in
1706 # INCLUDES, setting the cache variable VAR accordingly.
1707 ac_fn_c_check_header_compile ()
1709 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1711 $as_echo_n "checking for $2... " >&6; }
1712 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1713 $as_echo_n "(cached) " >&6
1715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1716 /* end confdefs.h. */
1720 if ac_fn_c_try_compile "$LINENO"; then :
1725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1729 $as_echo "$ac_res" >&6; }
1730 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1732 } # ac_fn_c_check_header_compile
1734 # ac_fn_c_try_link LINENO
1735 # -----------------------
1736 # Try to link conftest.$ac_ext, and return whether this succeeded.
1739 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1740 rm -f conftest.$ac_objext conftest$ac_exeext
1741 if { { ac_try="$ac_link"
1743 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1744 *) ac_try_echo
=$ac_try;;
1746 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1747 $as_echo "$ac_try_echo"; } >&5
1748 (eval "$ac_link") 2>conftest.err
1750 if test -s conftest.err
; then
1751 grep -v '^ *+' conftest.err
>conftest.er1
1752 cat conftest.er1
>&5
1753 mv -f conftest.er1 conftest.err
1755 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1756 test $ac_status = 0; } && {
1757 test -z "$ac_c_werror_flag" ||
1758 test ! -s conftest.err
1759 } && test -s conftest
$ac_exeext && {
1760 test "$cross_compiling" = yes ||
1761 $as_test_x conftest
$ac_exeext
1765 $as_echo "$as_me: failed program was:" >&5
1766 sed 's/^/| /' conftest.
$ac_ext >&5
1770 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1771 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1772 # interfere with the next link command; also delete a directory that is
1773 # left behind by Apple's compiler. We do this before executing the actions.
1774 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1775 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1778 } # ac_fn_c_try_link
1780 # ac_fn_c_check_func LINENO FUNC VAR
1781 # ----------------------------------
1782 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1783 ac_fn_c_check_func
()
1785 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1787 $as_echo_n "checking for $2... " >&6; }
1788 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1789 $as_echo_n "(cached) " >&6
1791 if test x
$gcc_no_link = xyes
; then
1792 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1794 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1795 /* end confdefs.h. */
1796 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1797 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1798 #define $2 innocuous_$2
1800 /* System header to define __stub macros and hopefully few prototypes,
1801 which can conflict with char $2 (); below.
1802 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1803 <limits.h> exists even on freestanding compilers. */
1806 # include <limits.h>
1808 # include <assert.h>
1813 /* Override any GCC internal prototype to avoid an error.
1814 Use char because int might match the return type of a GCC
1815 builtin and then its argument prototype would still apply. */
1820 /* The GNU C library defines this for functions which it implements
1821 to always fail with ENOSYS. Some functions are actually named
1822 something starting with __ and the normal name is an alias. */
1823 #if defined __stub_$2 || defined __stub___$2
1835 if ac_fn_c_try_link
"$LINENO"; then :
1840 rm -f core conftest.err conftest.
$ac_objext \
1841 conftest
$ac_exeext conftest.
$ac_ext
1844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1845 $as_echo "$ac_res" >&6; }
1846 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1848 } # ac_fn_c_check_func
1849 cat >config.log
<<_ACEOF
1850 This file contains any messages produced by compilers while
1851 running configure, to aid debugging if configure makes a mistake.
1853 It was created by GCC Quad-precision Math Library $as_me 0.1, which was
1854 generated by GNU Autoconf 2.64. Invocation command line was
1866 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1867 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1868 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1869 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1870 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1872 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1873 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1875 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1876 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1877 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1878 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1879 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1880 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1881 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1885 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1889 test -z "$as_dir" && as_dir
=.
1890 $as_echo "PATH: $as_dir"
1906 # Keep a trace of the command line.
1907 # Strip out --no-create and --no-recursion so they do not pile up.
1908 # Strip out --silent because we don't want to record it for future runs.
1909 # Also quote any args containing shell meta-characters.
1910 # Make two passes to allow for proper duplicate-argument suppression.
1914 ac_must_keep_next
=false
1920 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1921 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1922 |
-silent |
--silent |
--silen |
--sile |
--sil)
1925 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1928 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1930 as_fn_append ac_configure_args1
" '$ac_arg'"
1931 if test $ac_must_keep_next = true
; then
1932 ac_must_keep_next
=false
# Got value, back to normal.
1935 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1936 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1937 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1938 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1939 case "$ac_configure_args0 " in
1940 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1943 -* ) ac_must_keep_next
=true
;;
1946 as_fn_append ac_configure_args
" '$ac_arg'"
1951 { ac_configure_args0
=; unset ac_configure_args0
;}
1952 { ac_configure_args1
=; unset ac_configure_args1
;}
1954 # When interrupted or exit'd, cleanup temporary files, and complete
1955 # config.log. We remove comments because anyway the quotes in there
1956 # would cause problems or look ugly.
1957 # WARNING: Use '\'' to represent an apostrophe within the trap.
1958 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1959 trap 'exit_status=$?
1960 # Save into config.log some information that might help in debugging.
1965 ## ---------------- ##
1966 ## Cache variables. ##
1967 ## ---------------- ##
1970 # The following way of writing the cache mishandles newlines in values,
1972 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1973 eval ac_val=\$$ac_var
1977 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1978 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1981 _ | IFS | as_nl) ;; #(
1982 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1983 *) { eval $ac_var=; unset $ac_var;} ;;
1988 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1989 *${as_nl}ac_space=\ *)
1991 "s/'\''/'\''\\\\'\'''\''/g;
1992 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1995 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2003 ## ----------------- ##
2004 ## Output variables. ##
2005 ## ----------------- ##
2008 for ac_var in $ac_subst_vars
2010 eval ac_val=\$$ac_var
2012 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2014 $as_echo "$ac_var='\''$ac_val'\''"
2018 if test -n "$ac_subst_files"; then
2020 ## ------------------- ##
2021 ## File substitutions. ##
2022 ## ------------------- ##
2025 for ac_var
in $ac_subst_files
2027 eval ac_val
=\$
$ac_var
2029 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2031 $as_echo "$ac_var='\''$ac_val'\''"
2036 if test -s confdefs.h; then
2046 test "$ac_signal" != 0 &&
2047 $as_echo "$as_me: caught signal $ac_signal"
2048 $as_echo "$as_me: exit $exit_status"
2050 rm -f core *.core core.conftest.* &&
2051 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2054 for ac_signal
in 1 2 13 15; do
2055 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2059 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2060 rm -f -r conftest
* confdefs.h
2062 $as_echo "/* confdefs.h */" > confdefs.h
2064 # Predefined preprocessor variables.
2066 cat >>confdefs.h
<<_ACEOF
2067 #define PACKAGE_NAME "$PACKAGE_NAME"
2070 cat >>confdefs.h
<<_ACEOF
2071 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2074 cat >>confdefs.h
<<_ACEOF
2075 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2078 cat >>confdefs.h
<<_ACEOF
2079 #define PACKAGE_STRING "$PACKAGE_STRING"
2082 cat >>confdefs.h
<<_ACEOF
2083 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2086 cat >>confdefs.h
<<_ACEOF
2087 #define PACKAGE_URL "$PACKAGE_URL"
2091 # Let the site file select an alternate cache file if it wants to.
2092 # Prefer an explicitly selected file to automatically selected ones.
2095 if test -n "$CONFIG_SITE"; then
2096 ac_site_file1
=$CONFIG_SITE
2097 elif test "x$prefix" != xNONE
; then
2098 ac_site_file1
=$prefix/share
/config.site
2099 ac_site_file2
=$prefix/etc
/config.site
2101 ac_site_file1
=$ac_default_prefix/share
/config.site
2102 ac_site_file2
=$ac_default_prefix/etc
/config.site
2104 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2106 test "x$ac_site_file" = xNONE
&& continue
2107 if test -r "$ac_site_file"; then
2108 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2109 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2110 sed 's/^/| /' "$ac_site_file" >&5
2115 if test -r "$cache_file"; then
2116 # Some versions of bash will fail to source /dev/null (special
2117 # files actually), so we avoid doing that.
2118 if test -f "$cache_file"; then
2119 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2120 $as_echo "$as_me: loading cache $cache_file" >&6;}
2122 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2123 *) .
"./$cache_file";;
2127 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2128 $as_echo "$as_me: creating cache $cache_file" >&6;}
2132 # Check that the precious variables saved in the cache have kept the same
2134 ac_cache_corrupted
=false
2135 for ac_var
in $ac_precious_vars; do
2136 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2137 eval ac_new_set
=\
$ac_env_${ac_var}_set
2138 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2139 eval ac_new_val
=\
$ac_env_${ac_var}_value
2140 case $ac_old_set,$ac_new_set in
2142 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2143 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2144 ac_cache_corrupted
=: ;;
2146 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2147 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2148 ac_cache_corrupted
=: ;;
2151 if test "x$ac_old_val" != "x$ac_new_val"; then
2152 # differences in whitespace do not lead to failure.
2153 ac_old_val_w
=`echo x $ac_old_val`
2154 ac_new_val_w
=`echo x $ac_new_val`
2155 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2156 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2157 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2158 ac_cache_corrupted
=:
2160 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2161 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2162 eval $ac_var=\
$ac_old_val
2164 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2165 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2166 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2167 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2170 # Pass precious variables to config.status.
2171 if test "$ac_new_set" = set; then
2173 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2174 *) ac_arg
=$ac_var=$ac_new_val ;;
2176 case " $ac_configure_args " in
2177 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2178 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2182 if $ac_cache_corrupted; then
2183 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2184 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2185 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2186 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2187 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2189 ## -------------------- ##
2190 ## Main body of script. ##
2191 ## -------------------- ##
2194 ac_cpp
='$CPP $CPPFLAGS'
2195 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2196 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2197 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2203 ac_config_headers
="$ac_config_headers config.h"
2206 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2208 # You will slowly go insane if you do not grok the following fact: when
2209 # building this library, the top-level /target/ becomes the library's /host/.
2211 # configure then causes --target to default to --host, exactly like any
2212 # other package using autoconf. Therefore, 'target' and 'host' will
2213 # always be the same. This makes sense both for native and cross compilers
2214 # just think about it for a little while. :-)
2216 # Also, if this library is being configured as part of a cross compiler, the
2217 # top-level configure script will pass the "real" host as $with_cross_host.
2219 # Do not delete or change the following two lines. For why, see
2220 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2222 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2223 for ac_t
in install-sh
install.sh shtool
; do
2224 if test -f "$ac_dir/$ac_t"; then
2226 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2231 if test -z "$ac_aux_dir"; then
2232 as_fn_error
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2235 # These three variables are undocumented and unsupported,
2236 # and are intended to be withdrawn in a future Autoconf release.
2237 # They can cause serious problems if a builder's source tree is in a directory
2238 # whose full name contains unusual characters.
2239 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2240 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2241 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2244 # Make sure we can run config.sub.
2245 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2246 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2249 $as_echo_n "checking build system type... " >&6; }
2250 if test "${ac_cv_build+set}" = set; then :
2251 $as_echo_n "(cached) " >&6
2253 ac_build_alias
=$build_alias
2254 test "x$ac_build_alias" = x
&&
2255 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2256 test "x$ac_build_alias" = x
&&
2257 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
2258 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2259 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2263 $as_echo "$ac_cv_build" >&6; }
2264 case $ac_cv_build in
2266 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
2269 ac_save_IFS
=$IFS; IFS
='-'
2275 # Remember, the first character of IFS is used to create $*,
2276 # except with old shells:
2279 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2283 $as_echo_n "checking host system type... " >&6; }
2284 if test "${ac_cv_host+set}" = set; then :
2285 $as_echo_n "(cached) " >&6
2287 if test "x$host_alias" = x
; then
2288 ac_cv_host
=$ac_cv_build
2290 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2291 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2296 $as_echo "$ac_cv_host" >&6; }
2299 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
2302 ac_save_IFS
=$IFS; IFS
='-'
2308 # Remember, the first character of IFS is used to create $*,
2309 # except with old shells:
2312 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2316 $as_echo_n "checking target system type... " >&6; }
2317 if test "${ac_cv_target+set}" = set; then :
2318 $as_echo_n "(cached) " >&6
2320 if test "x$target_alias" = x
; then
2321 ac_cv_target
=$ac_cv_host
2323 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2324 as_fn_error
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2329 $as_echo "$ac_cv_target" >&6; }
2330 case $ac_cv_target in
2332 *) as_fn_error
"invalid value of canonical target" "$LINENO" 5;;
2334 target
=$ac_cv_target
2335 ac_save_IFS
=$IFS; IFS
='-'
2341 # Remember, the first character of IFS is used to create $*,
2342 # except with old shells:
2345 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2348 # The aliases save the names the user supplied, while $host etc.
2349 # will get canonicalized.
2350 test -n "$target_alias" &&
2351 test "$program_prefix$program_suffix$program_transform_name" = \
2353 program_prefix
=${target_alias}-
2355 case ${build_alias} in
2356 "") build_noncanonical
=${build} ;;
2357 *) build_noncanonical
=${build_alias} ;;
2360 case ${host_alias} in
2361 "") host_noncanonical
=${build_noncanonical} ;;
2362 *) host_noncanonical
=${host_alias} ;;
2365 case ${target_alias} in
2366 "") target_noncanonical
=${host_noncanonical} ;;
2367 *) target_noncanonical
=${target_alias} ;;
2373 target_alias
=${target_alias-$host_alias}
2376 am__api_version
='1.11'
2378 # Find a good install program. We prefer a C program (faster),
2379 # so one script is as good as another. But avoid the broken or
2380 # incompatible versions:
2381 # SysV /etc/install, /usr/sbin/install
2382 # SunOS /usr/etc/install
2383 # IRIX /sbin/install
2385 # AmigaOS /C/install, which installs bootblocks on floppy discs
2386 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2387 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2388 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2389 # OS/2's system install, which has a completely different semantic
2390 # ./install, which can be erroneously created by make from ./install.sh.
2391 # Reject install programs that cannot install multiple files.
2392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2393 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2394 if test -z "$INSTALL"; then
2395 if test "${ac_cv_path_install+set}" = set; then :
2396 $as_echo_n "(cached) " >&6
2398 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2402 test -z "$as_dir" && as_dir
=.
2403 # Account for people who put trailing slashes in PATH elements.
2404 case $as_dir/ in #((
2405 .
/ | .
// |
/[cC
]/* | \
2406 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2407 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2410 # OSF1 and SCO ODT 3.0 have their own names for install.
2411 # Don't use installbsd from OSF since it installs stuff as root
2413 for ac_prog
in ginstall scoinst
install; do
2414 for ac_exec_ext
in '' $ac_executable_extensions; do
2415 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2416 if test $ac_prog = install &&
2417 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2418 # AIX install. It has an incompatible calling convention.
2420 elif test $ac_prog = install &&
2421 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2422 # program-specific install script used by HP pwplus--don't use.
2425 rm -rf conftest.one conftest.two conftest.dir
2426 echo one
> conftest.one
2427 echo two
> conftest.two
2429 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2430 test -s conftest.one
&& test -s conftest.two
&&
2431 test -s conftest.dir
/conftest.one
&&
2432 test -s conftest.dir
/conftest.two
2434 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2447 rm -rf conftest.one conftest.two conftest.dir
2450 if test "${ac_cv_path_install+set}" = set; then
2451 INSTALL
=$ac_cv_path_install
2453 # As a last resort, use the slow shell script. Don't cache a
2454 # value for INSTALL within a source directory, because that will
2455 # break other packages using the cache if that directory is
2456 # removed, or if the value is a relative name.
2457 INSTALL
=$ac_install_sh
2460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2461 $as_echo "$INSTALL" >&6; }
2463 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2464 # It thinks the first close brace ends the variable substitution.
2465 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2467 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2469 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2472 $as_echo_n "checking whether build environment is sane... " >&6; }
2475 echo timestamp
> conftest.
file
2476 # Reject unsafe characters in $srcdir or the absolute working directory
2477 # name. Accept space and tab only in the latter.
2481 *[\\\"\
#\$\&\'\`$am_lf]*)
2482 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
2485 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2486 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2489 # Do `set' in a subshell so we don't clobber the current shell's
2490 # arguments. Must try -L first in case configure is actually a
2491 # symlink; some systems play weird games with the mod time of symlinks
2492 # (eg FreeBSD returns the mod time of the symlink's containing
2495 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2496 if test "$*" = "X"; then
2498 set X
`ls -t "$srcdir/configure" conftest.file`
2501 if test "$*" != "X $srcdir/configure conftest.file" \
2502 && test "$*" != "X conftest.file $srcdir/configure"; then
2504 # If neither matched, then we have a broken ls. This can happen
2505 # if, for instance, CONFIG_SHELL is bash and it inherits a
2506 # broken ls alias from the environment. This has actually
2507 # happened. Such a system could not be considered "sane".
2508 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
2509 alias in your environment" "$LINENO" 5
2512 test "$2" = conftest.
file
2518 as_fn_error
"newly created file is older than distributed files!
2519 Check your system clock" "$LINENO" 5
2521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2522 $as_echo "yes" >&6; }
2523 test "$program_prefix" != NONE
&&
2524 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2525 # Use a double $ so make ignores it.
2526 test "$program_suffix" != NONE
&&
2527 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2528 # Double any \ or $.
2529 # By default was `s,x,x', remove it if useless.
2530 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2531 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2533 # expand $ac_aux_dir to an absolute path
2534 am_aux_dir
=`cd $ac_aux_dir && pwd`
2536 if test x
"${MISSING+set}" != xset
; then
2539 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2541 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2544 # Use eval to expand $SHELL
2545 if eval "$MISSING --run true"; then
2546 am_missing_run
="$MISSING --run "
2549 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2550 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2553 if test x
"${install_sh}" != xset
; then
2556 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2558 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2562 # Installed binaries are usually stripped using `strip' when the user
2563 # run `make install-strip'. However `strip' might not be the right
2564 # tool to use in cross-compilation environments, therefore Automake
2565 # will honor the `STRIP' environment variable to overrule this program.
2566 if test "$cross_compiling" != no
; then
2567 if test -n "$ac_tool_prefix"; then
2568 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2569 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2571 $as_echo_n "checking for $ac_word... " >&6; }
2572 if test "${ac_cv_prog_STRIP+set}" = set; then :
2573 $as_echo_n "(cached) " >&6
2575 if test -n "$STRIP"; then
2576 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2578 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2582 test -z "$as_dir" && as_dir
=.
2583 for ac_exec_ext
in '' $ac_executable_extensions; do
2584 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2585 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2586 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2595 STRIP
=$ac_cv_prog_STRIP
2596 if test -n "$STRIP"; then
2597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2598 $as_echo "$STRIP" >&6; }
2600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2601 $as_echo "no" >&6; }
2606 if test -z "$ac_cv_prog_STRIP"; then
2608 # Extract the first word of "strip", so it can be a program name with args.
2609 set dummy strip
; ac_word
=$2
2610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2611 $as_echo_n "checking for $ac_word... " >&6; }
2612 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2613 $as_echo_n "(cached) " >&6
2615 if test -n "$ac_ct_STRIP"; then
2616 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2618 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2622 test -z "$as_dir" && as_dir
=.
2623 for ac_exec_ext
in '' $ac_executable_extensions; do
2624 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2625 ac_cv_prog_ac_ct_STRIP
="strip"
2626 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2635 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2636 if test -n "$ac_ct_STRIP"; then
2637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2638 $as_echo "$ac_ct_STRIP" >&6; }
2640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2641 $as_echo "no" >&6; }
2644 if test "x$ac_ct_STRIP" = x
; then
2647 case $cross_compiling:$ac_tool_warned in
2649 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2650 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2651 ac_tool_warned
=yes ;;
2656 STRIP
="$ac_cv_prog_STRIP"
2660 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2663 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2664 if test -z "$MKDIR_P"; then
2665 if test "${ac_cv_path_mkdir+set}" = set; then :
2666 $as_echo_n "(cached) " >&6
2668 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2669 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2672 test -z "$as_dir" && as_dir
=.
2673 for ac_prog
in mkdir gmkdir
; do
2674 for ac_exec_ext
in '' $ac_executable_extensions; do
2675 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2676 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2677 'mkdir (GNU coreutils) '* | \
2678 'mkdir (coreutils) '* | \
2679 'mkdir (fileutils) '4.1*)
2680 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2690 if test "${ac_cv_path_mkdir+set}" = set; then
2691 MKDIR_P
="$ac_cv_path_mkdir -p"
2693 # As a last resort, use the slow shell script. Don't cache a
2694 # value for MKDIR_P within a source directory, because that will
2695 # break other packages using the cache if that directory is
2696 # removed, or if the value is a relative name.
2697 test -d .
/--version && rmdir .
/--version
2698 MKDIR_P
="$ac_install_sh -d"
2701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2702 $as_echo "$MKDIR_P" >&6; }
2706 [\\/$
]* | ?
:[\\/]*) ;;
2707 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2710 for ac_prog
in gawk mawk nawk
awk
2712 # Extract the first word of "$ac_prog", so it can be a program name with args.
2713 set dummy
$ac_prog; ac_word
=$2
2714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2715 $as_echo_n "checking for $ac_word... " >&6; }
2716 if test "${ac_cv_prog_AWK+set}" = set; then :
2717 $as_echo_n "(cached) " >&6
2719 if test -n "$AWK"; then
2720 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2722 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2726 test -z "$as_dir" && as_dir
=.
2727 for ac_exec_ext
in '' $ac_executable_extensions; do
2728 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2729 ac_cv_prog_AWK
="$ac_prog"
2730 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2740 if test -n "$AWK"; then
2741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2742 $as_echo "$AWK" >&6; }
2744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2745 $as_echo "no" >&6; }
2749 test -n "$AWK" && break
2752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2753 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2755 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2756 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2757 $as_echo_n "(cached) " >&6
2759 cat >conftest.
make <<\_ACEOF
2762 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2764 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2765 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2767 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2769 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2773 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2775 $as_echo "yes" >&6; }
2778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2779 $as_echo "no" >&6; }
2780 SET_MAKE
="MAKE=${MAKE-make}"
2783 rm -rf .tst
2>/dev
/null
2784 mkdir .tst
2>/dev
/null
2785 if test -d .tst
; then
2790 rmdir .tst
2>/dev
/null
2792 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2793 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2794 # is not polluted with repeated "-I."
2795 am__isrc
=' -I$(srcdir)'
2796 # test to see if srcdir already configured
2797 if test -f $srcdir/config.status
; then
2798 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2802 # test whether we have cygpath
2803 if test -z "$CYGPATH_W"; then
2804 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2805 CYGPATH_W
='cygpath -w'
2812 # Define the identity of the package.
2813 PACKAGE
='libquadmath'
2817 cat >>confdefs.h
<<_ACEOF
2818 #define PACKAGE "$PACKAGE"
2822 cat >>confdefs.h
<<_ACEOF
2823 #define VERSION "$VERSION"
2826 # Some tools Automake needs.
2828 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2831 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2834 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2837 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2840 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2842 # We need awk for the "check" target. The system "awk" is bad on
2844 # Always define AMTAR for backward compatibility.
2846 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2848 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2856 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2857 # Check whether --enable-version-specific-runtime-libs was given.
2858 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2859 enableval
=$enable_version_specific_runtime_libs; case "$enableval" in
2860 yes) version_specific_libs
=yes ;;
2861 no
) version_specific_libs
=no
;;
2862 *) as_fn_error
"Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
2865 version_specific_libs
=no
2868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
2869 $as_echo "$version_specific_libs" >&6; }
2873 DEPDIR
="${am__leading_dot}deps"
2875 ac_config_commands
="$ac_config_commands depfiles"
2878 am_make
=${MAKE-make}
2879 cat > confinc
<< 'END'
2881 @
echo this is the am__doit target
2884 # If we don't find an include directive, just comment out the code.
2885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2886 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2890 # First try GNU make style include.
2891 echo "include confinc" > confmf
2892 # Ignore all kinds of additional output from `make'.
2893 case `$am_make -s -f confmf 2> /dev/null` in #(
2894 *the\ am__doit\ target
*)
2900 # Now try BSD make style include.
2901 if test "$am__include" = "#"; then
2902 echo '.include "confinc"' > confmf
2903 case `$am_make -s -f confmf 2> /dev/null` in #(
2904 *the\ am__doit\ target
*)
2905 am__include
=.include
2913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2914 $as_echo "$_am_result" >&6; }
2915 rm -f confinc confmf
2917 # Check whether --enable-dependency-tracking was given.
2918 if test "${enable_dependency_tracking+set}" = set; then :
2919 enableval
=$enable_dependency_tracking;
2922 if test "x$enable_dependency_tracking" != xno
; then
2923 am_depcomp
="$ac_aux_dir/depcomp"
2926 if test "x$enable_dependency_tracking" != xno; then
2936 ac_cpp
='$CPP $CPPFLAGS'
2937 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2938 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2939 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2940 if test -n "$ac_tool_prefix"; then
2941 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2942 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2944 $as_echo_n "checking for $ac_word... " >&6; }
2945 if test "${ac_cv_prog_CC+set}" = set; then :
2946 $as_echo_n "(cached) " >&6
2948 if test -n "$CC"; then
2949 ac_cv_prog_CC
="$CC" # Let the user override the test.
2951 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2955 test -z "$as_dir" && as_dir
=.
2956 for ac_exec_ext
in '' $ac_executable_extensions; do
2957 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2958 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2959 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2969 if test -n "$CC"; then
2970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2971 $as_echo "$CC" >&6; }
2973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2974 $as_echo "no" >&6; }
2979 if test -z "$ac_cv_prog_CC"; then
2981 # Extract the first word of "gcc", so it can be a program name with args.
2982 set dummy gcc
; ac_word
=$2
2983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2984 $as_echo_n "checking for $ac_word... " >&6; }
2985 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2986 $as_echo_n "(cached) " >&6
2988 if test -n "$ac_ct_CC"; then
2989 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2991 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2995 test -z "$as_dir" && as_dir
=.
2996 for ac_exec_ext
in '' $ac_executable_extensions; do
2997 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2998 ac_cv_prog_ac_ct_CC
="gcc"
2999 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3008 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3009 if test -n "$ac_ct_CC"; then
3010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3011 $as_echo "$ac_ct_CC" >&6; }
3013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3014 $as_echo "no" >&6; }
3017 if test "x$ac_ct_CC" = x
; then
3020 case $cross_compiling:$ac_tool_warned in
3022 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3023 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3024 ac_tool_warned
=yes ;;
3032 if test -z "$CC"; then
3033 if test -n "$ac_tool_prefix"; then
3034 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3035 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3037 $as_echo_n "checking for $ac_word... " >&6; }
3038 if test "${ac_cv_prog_CC+set}" = set; then :
3039 $as_echo_n "(cached) " >&6
3041 if test -n "$CC"; then
3042 ac_cv_prog_CC
="$CC" # Let the user override the test.
3044 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3048 test -z "$as_dir" && as_dir
=.
3049 for ac_exec_ext
in '' $ac_executable_extensions; do
3050 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3051 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3052 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3062 if test -n "$CC"; then
3063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3064 $as_echo "$CC" >&6; }
3066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3067 $as_echo "no" >&6; }
3073 if test -z "$CC"; then
3074 # Extract the first word of "cc", so it can be a program name with args.
3075 set dummy cc
; ac_word
=$2
3076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3077 $as_echo_n "checking for $ac_word... " >&6; }
3078 if test "${ac_cv_prog_CC+set}" = set; then :
3079 $as_echo_n "(cached) " >&6
3081 if test -n "$CC"; then
3082 ac_cv_prog_CC
="$CC" # Let the user override the test.
3085 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3089 test -z "$as_dir" && as_dir
=.
3090 for ac_exec_ext
in '' $ac_executable_extensions; do
3091 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3092 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3093 ac_prog_rejected
=yes
3097 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3104 if test $ac_prog_rejected = yes; then
3105 # We found a bogon in the path, so make sure we never use it.
3106 set dummy
$ac_cv_prog_CC
3108 if test $# != 0; then
3109 # We chose a different compiler from the bogus one.
3110 # However, it has the same basename, so the bogon will be chosen
3111 # first if we set CC to just the basename; use the full file name.
3113 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3119 if test -n "$CC"; then
3120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3121 $as_echo "$CC" >&6; }
3123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3124 $as_echo "no" >&6; }
3129 if test -z "$CC"; then
3130 if test -n "$ac_tool_prefix"; then
3131 for ac_prog
in cl.exe
3133 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3134 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3136 $as_echo_n "checking for $ac_word... " >&6; }
3137 if test "${ac_cv_prog_CC+set}" = set; then :
3138 $as_echo_n "(cached) " >&6
3140 if test -n "$CC"; then
3141 ac_cv_prog_CC
="$CC" # Let the user override the test.
3143 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3147 test -z "$as_dir" && as_dir
=.
3148 for ac_exec_ext
in '' $ac_executable_extensions; do
3149 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3150 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3151 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3161 if test -n "$CC"; then
3162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3163 $as_echo "$CC" >&6; }
3165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3166 $as_echo "no" >&6; }
3170 test -n "$CC" && break
3173 if test -z "$CC"; then
3175 for ac_prog
in cl.exe
3177 # Extract the first word of "$ac_prog", so it can be a program name with args.
3178 set dummy
$ac_prog; ac_word
=$2
3179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3180 $as_echo_n "checking for $ac_word... " >&6; }
3181 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3182 $as_echo_n "(cached) " >&6
3184 if test -n "$ac_ct_CC"; then
3185 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3187 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3191 test -z "$as_dir" && as_dir
=.
3192 for ac_exec_ext
in '' $ac_executable_extensions; do
3193 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3194 ac_cv_prog_ac_ct_CC
="$ac_prog"
3195 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3204 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3205 if test -n "$ac_ct_CC"; then
3206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3207 $as_echo "$ac_ct_CC" >&6; }
3209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3210 $as_echo "no" >&6; }
3214 test -n "$ac_ct_CC" && break
3217 if test "x$ac_ct_CC" = x
; then
3220 case $cross_compiling:$ac_tool_warned in
3222 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3223 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3224 ac_tool_warned
=yes ;;
3233 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3234 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3235 as_fn_error
"no acceptable C compiler found in \$PATH
3236 See \`config.log' for more details." "$LINENO" 5; }
3238 # Provide some information about the compiler.
3239 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3242 for ac_option
in --version -v -V -qversion; do
3243 { { ac_try
="$ac_compiler $ac_option >&5"
3245 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3246 *) ac_try_echo=$ac_try;;
3248 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3249 $as_echo "$ac_try_echo"; } >&5
3250 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3252 if test -s conftest.err; then
3254 ... rest of stderr output deleted ...
3255 10q' conftest.err >conftest.er1
3256 cat conftest.er1 >&5
3257 rm -f conftest.er1 conftest.err
3259 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3260 test $ac_status = 0; }
3263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3264 /* end confdefs.h. */
3275 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3276 (eval $ac_link) 2>&5
3278 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3279 test $ac_status = 0; }; then :
3284 if test x$gcc_no_link = xyes; then
3285 # Setting cross_compile will disable run tests; it will
3286 # also disable AC_CHECK_FILE but that's generally
3287 # correct if we can't link.
3291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3292 /* end confdefs.h. */
3302 ac_clean_files_save=$ac_clean_files
3303 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3304 # Try to create an executable without -o first, disregard a.out.
3305 # It will help us diagnose broken compilers, and finding out an intuition
3307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3308 $as_echo_n "checking for C compiler default output file name... " >&6; }
3309 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3311 # The possible output files:
3312 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3315 for ac_file in $ac_files
3318 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3319 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3324 if { { ac_try="$ac_link_default"
3326 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3327 *) ac_try_echo
=$ac_try;;
3329 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3330 $as_echo "$ac_try_echo"; } >&5
3331 (eval "$ac_link_default") 2>&5
3333 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3334 test $ac_status = 0; }; then :
3335 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3336 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3337 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3338 # so that the user can short-circuit this test for compilers unknown to
3340 for ac_file
in $ac_files ''
3342 test -f "$ac_file" ||
continue
3344 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3347 # We found the default executable, but exeext='' is most
3351 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3353 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3355 # We set ac_cv_exeext here because the later test for it is not
3356 # safe: cross compilers may not add the suffix if given an `-o'
3357 # argument, so we may need to know it at that point already.
3358 # Even if this section looks crufty: it has the advantage of
3365 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3371 $as_echo "$ac_file" >&6; }
3372 if test -z "$ac_file"; then :
3373 $as_echo "$as_me: failed program was:" >&5
3374 sed 's/^/| /' conftest.
$ac_ext >&5
3376 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3377 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3378 { as_fn_set_status
77
3379 as_fn_error
"C compiler cannot create executables
3380 See \`config.log' for more details." "$LINENO" 5; }; }
3382 ac_exeext
=$ac_cv_exeext
3384 # Check that the compiler produces executables we can run. If not, either
3385 # the compiler is broken, or we cross compile.
3386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3387 $as_echo_n "checking whether the C compiler works... " >&6; }
3388 # If not cross compiling, check that we can run a simple program.
3389 if test "$cross_compiling" != yes; then
3390 if { ac_try
='./$ac_file'
3391 { { case "(($ac_try" in
3392 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3393 *) ac_try_echo=$ac_try;;
3395 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3396 $as_echo "$ac_try_echo"; } >&5
3397 (eval "$ac_try") 2>&5
3399 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3400 test $ac_status = 0; }; }; then
3403 if test "$cross_compiling" = maybe; then
3406 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3407 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3408 as_fn_error "cannot run C compiled programs.
3409 If you meant to cross compile
, use \
`--host'.
3410 See \`config.log
' for more details." "$LINENO" 5; }
3414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3415 $as_echo "yes" >&6; }
3417 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3418 ac_clean_files=$ac_clean_files_save
3419 # Check that the compiler produces executables we can run. If not, either
3420 # the compiler is broken, or we cross compile.
3421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3422 $as_echo_n "checking whether we are cross compiling... " >&6; }
3423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3424 $as_echo "$cross_compiling" >&6; }
3426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3427 $as_echo_n "checking for suffix of executables... " >&6; }
3428 if { { ac_try="$ac_link"
3430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3431 *) ac_try_echo=$ac_try;;
3433 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3434 $as_echo "$ac_try_echo"; } >&5
3435 (eval "$ac_link") 2>&5
3437 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3438 test $ac_status = 0; }; then :
3439 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3440 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3441 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3443 for ac_file
in conftest.exe conftest conftest.
*; do
3444 test -f "$ac_file" ||
continue
3446 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3447 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3453 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3454 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3455 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3456 See \`config.log' for more details." "$LINENO" 5; }
3458 rm -f conftest
$ac_cv_exeext
3459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3460 $as_echo "$ac_cv_exeext" >&6; }
3462 rm -f conftest.
$ac_ext
3463 EXEEXT
=$ac_cv_exeext
3466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3467 $as_echo_n "checking for suffix of object files... " >&6; }
3468 if test "${ac_cv_objext+set}" = set; then :
3469 $as_echo_n "(cached) " >&6
3471 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3472 /* end confdefs.h. */
3482 rm -f conftest.o conftest.obj
3483 if { { ac_try
="$ac_compile"
3485 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3486 *) ac_try_echo=$ac_try;;
3488 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3489 $as_echo "$ac_try_echo"; } >&5
3490 (eval "$ac_compile") 2>&5
3492 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3493 test $ac_status = 0; }; then :
3494 for ac_file in conftest.o conftest.obj conftest.*; do
3495 test -f "$ac_file" || continue;
3497 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3498 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3503 $as_echo "$as_me: failed program was:" >&5
3504 sed 's/^/| /' conftest.$ac_ext >&5
3506 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3507 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3508 as_fn_error "cannot compute suffix of object files
: cannot compile
3509 See \
`config.log' for more details." "$LINENO" 5; }
3511 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3514 $as_echo "$ac_cv_objext" >&6; }
3515 OBJEXT=$ac_cv_objext
3517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3518 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3519 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3520 $as_echo_n "(cached) " >&6
3522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3523 /* end confdefs.h. */
3536 if ac_fn_c_try_compile "$LINENO"; then :
3541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3542 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3546 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3547 if test $ac_compiler_gnu = yes; then
3552 ac_test_CFLAGS=${CFLAGS+set}
3553 ac_save_CFLAGS=$CFLAGS
3554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3555 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3556 if test "${ac_cv_prog_cc_g+set}" = set; then :
3557 $as_echo_n "(cached) " >&6
3559 ac_save_c_werror_flag=$ac_c_werror_flag
3560 ac_c_werror_flag=yes
3563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3564 /* end confdefs.h. */
3574 if ac_fn_c_try_compile "$LINENO"; then :
3578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3579 /* end confdefs.h. */
3589 if ac_fn_c_try_compile "$LINENO"; then :
3592 ac_c_werror_flag=$ac_save_c_werror_flag
3594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3595 /* end confdefs.h. */
3605 if ac_fn_c_try_compile "$LINENO"; then :
3608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3613 ac_c_werror_flag=$ac_save_c_werror_flag
3615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3616 $as_echo "$ac_cv_prog_cc_g" >&6; }
3617 if test "$ac_test_CFLAGS" = set; then
3618 CFLAGS=$ac_save_CFLAGS
3619 elif test $ac_cv_prog_cc_g = yes; then
3620 if test "$GCC" = yes; then
3626 if test "$GCC" = yes; then
3632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3633 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3634 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3635 $as_echo_n "(cached) " >&6
3637 ac_cv_prog_cc_c89=no
3639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3640 /* end confdefs.h. */
3643 #include <sys/types.h>
3644 #include <sys/stat.h>
3645 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3646 struct buf { int x; };
3647 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3648 static char *e (p, i)
3654 static char *f (char * (*g) (char **, int), char **p, ...)
3659 s = g (p, va_arg (v,int));
3664 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3665 function prototypes and stuff, but not '\xHH' hex character constants.
3666 These don't provoke an error unfortunately, instead are silently treated
3667 as 'x'. The following induces an error, until -std is added to get
3668 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3669 array size at least. It's necessary to write '\x00'==0 to get something
3670 that's true only with -std. */
3671 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3673 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3674 inside strings and character constants. */
3676 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3678 int test (int i, double x);
3679 struct s1 {int (*f) (int a);};
3680 struct s2 {int (*f) (double a);};
3681 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3687 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3692 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3693 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3695 CC="$ac_save_CC $ac_arg"
3696 if ac_fn_c_try_compile "$LINENO"; then :
3697 ac_cv_prog_cc_c89=$ac_arg
3699 rm -f core conftest.err conftest.$ac_objext
3700 test "x$ac_cv_prog_cc_c89" != "xno" && break
3702 rm -f conftest.$ac_ext
3707 case "x$ac_cv_prog_cc_c89" in
3709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3710 $as_echo "none needed" >&6; } ;;
3712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3713 $as_echo "unsupported" >&6; } ;;
3715 CC="$CC $ac_cv_prog_cc_c89"
3716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3717 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3719 if test "x$ac_cv_prog_cc_c89" != xno; then :
3724 ac_cpp='$CPP $CPPFLAGS'
3725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3729 depcc="$CC" am_compiler_list=
3731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3732 $as_echo_n "checking dependency style of $depcc... " >&6; }
3733 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3734 $as_echo_n "(cached) " >&6
3736 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3737 # We make a subdir and do the tests there. Otherwise we can end up
3738 # making bogus files that we don't know about and never remove. For
3739 # instance it was reported that on HP-UX the gcc test will end up
3740 # making a dummy file named `D
' -- because `-MD' means
`put the output
3743 # Copy depcomp to subdir because otherwise we won't find it if we're
3744 # using a relative directory.
3745 cp "$am_depcomp" conftest.dir
3747 # We will build objects and dependencies in a subdirectory because
3748 # it helps to detect inapplicable dependency modes. For instance
3749 # both Tru64's cc and ICC support -MD to output dependencies as a
3750 # side effect of compilation, but ICC will put the dependencies in
3751 # the current directory while Tru64 will put them in the object
3755 am_cv_CC_dependencies_compiler_type=none
3756 if test "$am_compiler_list" = ""; then
3757 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
3760 case " $depcc " in #(
3761 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3764 for depmode in $am_compiler_list; do
3765 # Setup a source with many dependencies, because some compilers
3766 # like to wrap large dependency lists on column 80 (with \), and
3767 # we should not choose a depcomp mode which is confused by this.
3769 # We need to recreate these files for each test, as the compiler may
3770 # overwrite some of them when testing with obscure command lines.
3771 # This happens at least with the AIX C compiler.
3773 for i in 1 2 3 4 5 6; do
3774 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3775 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
3776 # Solaris 8's
{/usr
,}/bin
/sh.
3777 touch sub
/conftst
$i.h
3779 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3781 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3782 # mode. It turns out that the SunPro C++ compiler does not properly
3783 # handle `-M -o', and we need to detect this. Also, some Intel
3784 # versions had trouble with output in subdirs
3785 am__obj
=sub
/conftest.
${OBJEXT-o}
3786 am__minus_obj
="-o $am__obj"
3789 # This depmode causes a compiler race in universal mode.
3790 test "$am__universal" = false ||
continue
3793 # after this tag, mechanisms are not by side-effect, so they'll
3794 # only be used when explicitly requested
3795 if test "x$enable_dependency_tracking" = xyes
; then
3801 msvisualcpp | msvcmsys
)
3802 # This compiler won't grok `-c -o', but also, the minuso test has
3803 # not run yet. These depmodes are late enough in the game, and
3804 # so weak that their functioning should not be impacted.
3805 am__obj
=conftest.
${OBJEXT-o}
3810 if depmode
=$depmode \
3811 source=sub
/conftest.c object
=$am__obj \
3812 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3813 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
3814 >/dev
/null
2>conftest.err
&&
3815 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3816 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3817 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
3818 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3819 # icc doesn't choke on unknown options, it will just issue warnings
3820 # or remarks (even with -Werror). So we grep stderr for any message
3821 # that says an option was ignored or not supported.
3822 # When given -MP, icc 7.0 and 7.1 complain thusly:
3823 # icc: Command line warning: ignoring option '-M'; no argument required
3824 # The diagnosis changed in icc 8.0:
3825 # icc: Command line remark: option '-MP' not supported
3826 if (grep 'ignoring option' conftest.err ||
3827 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3828 am_cv_CC_dependencies_compiler_type
=$depmode
3837 am_cv_CC_dependencies_compiler_type
=none
3841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3842 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3843 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3846 test "x$enable_dependency_tracking" != xno \
3847 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3849 am__fastdepCC_FALSE
='#'
3851 am__fastdepCC_TRUE
='#'
3852 am__fastdepCC_FALSE
=
3858 ac_cpp
='$CPP $CPPFLAGS'
3859 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3860 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3861 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3863 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3864 # On Suns, sometimes $CPP names a directory.
3865 if test -n "$CPP" && test -d "$CPP"; then
3868 if test -z "$CPP"; then
3869 if test "${ac_cv_prog_CPP+set}" = set; then :
3870 $as_echo_n "(cached) " >&6
3872 # Double quotes because CPP needs to be expanded
3873 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3876 for ac_c_preproc_warn_flag
in '' yes
3878 # Use a header file that comes with gcc, so configuring glibc
3879 # with a fresh cross-compiler works.
3880 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3881 # <limits.h> exists even on freestanding compilers.
3882 # On the NeXT, cc -E runs the code through the compiler's parser,
3883 # not just through cpp. "Syntax error" is here to catch this case.
3884 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3885 /* end confdefs.h. */
3887 # include <limits.h>
3889 # include <assert.h>
3893 if ac_fn_c_try_cpp
"$LINENO"; then :
3896 # Broken: fails on valid input.
3899 rm -f conftest.err conftest.
$ac_ext
3901 # OK, works on sane cases. Now check whether nonexistent headers
3902 # can be detected and how.
3903 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3904 /* end confdefs.h. */
3905 #include <ac_nonexistent.h>
3907 if ac_fn_c_try_cpp
"$LINENO"; then :
3908 # Broken: success on invalid input.
3911 # Passes both tests.
3915 rm -f conftest.err conftest.
$ac_ext
3918 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3919 rm -f conftest.err conftest.
$ac_ext
3920 if $ac_preproc_ok; then :
3932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3933 $as_echo "$CPP" >&6; }
3935 for ac_c_preproc_warn_flag
in '' yes
3937 # Use a header file that comes with gcc, so configuring glibc
3938 # with a fresh cross-compiler works.
3939 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3940 # <limits.h> exists even on freestanding compilers.
3941 # On the NeXT, cc -E runs the code through the compiler's parser,
3942 # not just through cpp. "Syntax error" is here to catch this case.
3943 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3944 /* end confdefs.h. */
3946 # include <limits.h>
3948 # include <assert.h>
3952 if ac_fn_c_try_cpp
"$LINENO"; then :
3955 # Broken: fails on valid input.
3958 rm -f conftest.err conftest.
$ac_ext
3960 # OK, works on sane cases. Now check whether nonexistent headers
3961 # can be detected and how.
3962 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3963 /* end confdefs.h. */
3964 #include <ac_nonexistent.h>
3966 if ac_fn_c_try_cpp
"$LINENO"; then :
3967 # Broken: success on invalid input.
3970 # Passes both tests.
3974 rm -f conftest.err conftest.
$ac_ext
3977 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3978 rm -f conftest.err conftest.
$ac_ext
3979 if $ac_preproc_ok; then :
3982 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3983 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3984 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
3985 See \`config.log' for more details." "$LINENO" 5; }
3989 ac_cpp
='$CPP $CPPFLAGS'
3990 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3991 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3992 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3996 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3997 if test "${ac_cv_path_GREP+set}" = set; then :
3998 $as_echo_n "(cached) " >&6
4000 if test -z "$GREP"; then
4001 ac_path_GREP_found
=false
4002 # Loop through the user's path and test for each of PROGNAME-LIST
4003 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4004 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4007 test -z "$as_dir" && as_dir
=.
4008 for ac_prog
in grep ggrep
; do
4009 for ac_exec_ext
in '' $ac_executable_extensions; do
4010 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4011 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4012 # Check for GNU ac_path_GREP and select it if it is found.
4013 # Check for GNU $ac_path_GREP
4014 case `"$ac_path_GREP" --version 2>&1` in
4016 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4019 $as_echo_n 0123456789 >"conftest.in"
4022 cat "conftest.in" "conftest.in" >"conftest.tmp"
4023 mv "conftest.tmp" "conftest.in"
4024 cp "conftest.in" "conftest.nl"
4025 $as_echo 'GREP' >> "conftest.nl"
4026 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4027 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4028 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4029 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4030 # Best one so far, save it but keep looking for a better one
4031 ac_cv_path_GREP
="$ac_path_GREP"
4032 ac_path_GREP_max
=$ac_count
4034 # 10*(2^10) chars as input seems more than enough
4035 test $ac_count -gt 10 && break
4037 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4040 $ac_path_GREP_found && break 3
4045 if test -z "$ac_cv_path_GREP"; then
4046 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4049 ac_cv_path_GREP
=$GREP
4053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4054 $as_echo "$ac_cv_path_GREP" >&6; }
4055 GREP
="$ac_cv_path_GREP"
4058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4059 $as_echo_n "checking for egrep... " >&6; }
4060 if test "${ac_cv_path_EGREP+set}" = set; then :
4061 $as_echo_n "(cached) " >&6
4063 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4064 then ac_cv_path_EGREP
="$GREP -E"
4066 if test -z "$EGREP"; then
4067 ac_path_EGREP_found
=false
4068 # Loop through the user's path and test for each of PROGNAME-LIST
4069 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4070 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4073 test -z "$as_dir" && as_dir
=.
4074 for ac_prog
in egrep; do
4075 for ac_exec_ext
in '' $ac_executable_extensions; do
4076 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4077 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4078 # Check for GNU ac_path_EGREP and select it if it is found.
4079 # Check for GNU $ac_path_EGREP
4080 case `"$ac_path_EGREP" --version 2>&1` in
4082 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4085 $as_echo_n 0123456789 >"conftest.in"
4088 cat "conftest.in" "conftest.in" >"conftest.tmp"
4089 mv "conftest.tmp" "conftest.in"
4090 cp "conftest.in" "conftest.nl"
4091 $as_echo 'EGREP' >> "conftest.nl"
4092 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4093 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4094 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4095 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4096 # Best one so far, save it but keep looking for a better one
4097 ac_cv_path_EGREP
="$ac_path_EGREP"
4098 ac_path_EGREP_max
=$ac_count
4100 # 10*(2^10) chars as input seems more than enough
4101 test $ac_count -gt 10 && break
4103 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4106 $ac_path_EGREP_found && break 3
4111 if test -z "$ac_cv_path_EGREP"; then
4112 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4115 ac_cv_path_EGREP
=$EGREP
4120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4121 $as_echo "$ac_cv_path_EGREP" >&6; }
4122 EGREP
="$ac_cv_path_EGREP"
4125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4126 $as_echo_n "checking for ANSI C header files... " >&6; }
4127 if test "${ac_cv_header_stdc+set}" = set; then :
4128 $as_echo_n "(cached) " >&6
4130 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4131 /* end confdefs.h. */
4145 if ac_fn_c_try_compile
"$LINENO"; then :
4146 ac_cv_header_stdc
=yes
4148 ac_cv_header_stdc
=no
4150 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4152 if test $ac_cv_header_stdc = yes; then
4153 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4154 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4155 /* end confdefs.h. */
4159 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4160 $EGREP "memchr" >/dev
/null
2>&1; then :
4163 ac_cv_header_stdc
=no
4169 if test $ac_cv_header_stdc = yes; then
4170 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4171 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4172 /* end confdefs.h. */
4176 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4177 $EGREP "free" >/dev
/null
2>&1; then :
4180 ac_cv_header_stdc
=no
4186 if test $ac_cv_header_stdc = yes; then
4187 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4188 if test "$cross_compiling" = yes; then :
4191 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4192 /* end confdefs.h. */
4195 #if ((' ' & 0x0FF) == 0x020)
4196 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4197 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4199 # define ISLOWER(c) \
4200 (('a' <= (c) && (c) <= 'i') \
4201 || ('j' <= (c) && (c) <= 'r') \
4202 || ('s' <= (c) && (c) <= 'z'))
4203 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4206 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4211 for (i = 0; i < 256; i++)
4212 if (XOR (islower (i), ISLOWER (i))
4213 || toupper (i) != TOUPPER (i))
4218 if ac_fn_c_try_run
"$LINENO"; then :
4221 ac_cv_header_stdc
=no
4223 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4224 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4230 $as_echo "$ac_cv_header_stdc" >&6; }
4231 if test $ac_cv_header_stdc = yes; then
4233 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4237 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4238 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4239 inttypes.h stdint.h unistd.h
4241 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4242 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4244 eval as_val
=\$
$as_ac_Header
4245 if test "x$as_val" = x
""yes; then :
4246 cat >>confdefs.h
<<_ACEOF
4247 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4256 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4257 if test "x$ac_cv_header_minix_config_h" = x
""yes; then :
4264 if test "$MINIX" = yes; then
4266 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4269 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4272 $as_echo "#define _MINIX 1" >>confdefs.h
4277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4278 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4279 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
4280 $as_echo_n "(cached) " >&6
4282 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4283 /* end confdefs.h. */
4285 # define __EXTENSIONS__ 1
4286 $ac_includes_default
4295 if ac_fn_c_try_compile
"$LINENO"; then :
4296 ac_cv_safe_to_define___extensions__
=yes
4298 ac_cv_safe_to_define___extensions__
=no
4300 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4303 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4304 test $ac_cv_safe_to_define___extensions__ = yes &&
4305 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4307 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4309 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4311 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4313 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4317 # See if makeinfo has been installed and is modern enough
4318 # that we can use it.
4320 # Extract the first word of "makeinfo", so it can be a program name with args.
4321 set dummy makeinfo
; ac_word
=$2
4322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4323 $as_echo_n "checking for $ac_word... " >&6; }
4324 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
4325 $as_echo_n "(cached) " >&6
4327 if test -n "$MAKEINFO"; then
4328 ac_cv_prog_MAKEINFO
="$MAKEINFO" # Let the user override the test.
4330 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4334 test -z "$as_dir" && as_dir
=.
4335 for ac_exec_ext
in '' $ac_executable_extensions; do
4336 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4337 ac_cv_prog_MAKEINFO
="makeinfo"
4338 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4347 MAKEINFO
=$ac_cv_prog_MAKEINFO
4348 if test -n "$MAKEINFO"; then
4349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
4350 $as_echo "$MAKEINFO" >&6; }
4352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4353 $as_echo "no" >&6; }
4357 if test -n "$MAKEINFO"; then
4358 # Found it, now check the version.
4359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
4360 $as_echo_n "checking for modern makeinfo... " >&6; }
4361 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
4362 $as_echo_n "(cached) " >&6
4364 ac_prog_version
=`eval $MAKEINFO --version 2>&1 |
4365 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
4367 case $ac_prog_version in
4368 '') gcc_cv_prog_makeinfo_modern
=no
;;
4369 4.
[4-9]*|
4.
[1-9][0-9]*|
[5-9]*|
[1-9][0-9]*) gcc_cv_prog_makeinfo_modern
=yes;;
4370 *) gcc_cv_prog_makeinfo_modern
=no
;;
4374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
4375 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
4377 gcc_cv_prog_makeinfo_modern
=no
4379 if test $gcc_cv_prog_makeinfo_modern = no
; then
4380 MAKEINFO
="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
4383 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
4385 BUILD_INFO_FALSE
='#'
4394 # Check whether --with-bugurl was given.
4395 if test "${with_bugurl+set}" = set; then :
4396 withval
=$with_bugurl; case "$withval" in
4397 yes) as_fn_error
"bug URL not specified" "$LINENO" 5 ;;
4400 *) BUGURL
="$withval"
4404 BUGURL
="http://gcc.gnu.org/bugs.html"
4414 REPORT_BUGS_TO
="<$BUGURL>"
4415 REPORT_BUGS_TEXI
=@uref
{`echo "$BUGURL" | sed 's/@/@@/g'`}
4425 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4426 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4431 macro_version
='2.2.7a'
4432 macro_revision
='1.3134'
4446 ltmain
="$ac_aux_dir/ltmain.sh"
4448 # Backslashify metacharacters that are still active within
4449 # double-quoted strings.
4450 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
4452 # Same as above, but do not quote variable references.
4453 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
4455 # Sed substitution to delay expansion of an escaped shell variable in a
4456 # double_quote_subst'ed string.
4457 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
4459 # Sed substitution to delay expansion of an escaped single quote.
4460 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
4462 # Sed substitution to avoid accidental globbing in evaled expressions
4463 no_glob_subst
='s/\*/\\\*/g'
4465 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4466 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4467 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4470 $as_echo_n "checking how to print strings... " >&6; }
4471 # Test print first, because it will be a builtin if present.
4472 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
4473 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4475 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4478 # Use this function as a fallback that always works.
4479 func_fallback_echo ()
4481 eval 'cat <<_LTECHO_EOF
4485 ECHO='func_fallback_echo
'
4488 # func_echo_all arg...
4489 # Invoke $ECHO with all args, space-separated.
4496 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4497 $as_echo "printf" >&6; } ;;
4498 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4499 $as_echo "print -r" >&6; } ;;
4500 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4501 $as_echo "cat" >&6; } ;;
4517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4518 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4519 if test "${ac_cv_path_SED+set}" = set; then :
4520 $as_echo_n "(cached) " >&6
4522 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4523 for ac_i in 1 2 3 4 5 6 7; do
4524 ac_script="$ac_script$as_nl$ac_script"
4526 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4527 { ac_script=; unset ac_script;}
4528 if test -z "$SED"; then
4529 ac_path_SED_found=false
4530 # Loop through the user's path and
test for each of PROGNAME-LIST
4531 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4535 test -z "$as_dir" && as_dir
=.
4536 for ac_prog
in sed gsed
; do
4537 for ac_exec_ext
in '' $ac_executable_extensions; do
4538 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
4539 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
4540 # Check for GNU ac_path_SED and select it if it is found.
4541 # Check for GNU $ac_path_SED
4542 case `"$ac_path_SED" --version 2>&1` in
4544 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
4547 $as_echo_n 0123456789 >"conftest.in"
4550 cat "conftest.in" "conftest.in" >"conftest.tmp"
4551 mv "conftest.tmp" "conftest.in"
4552 cp "conftest.in" "conftest.nl"
4553 $as_echo '' >> "conftest.nl"
4554 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4555 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4556 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4557 if test $ac_count -gt ${ac_path_SED_max-0}; then
4558 # Best one so far, save it but keep looking for a better one
4559 ac_cv_path_SED
="$ac_path_SED"
4560 ac_path_SED_max
=$ac_count
4562 # 10*(2^10) chars as input seems more than enough
4563 test $ac_count -gt 10 && break
4565 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4568 $ac_path_SED_found && break 3
4573 if test -z "$ac_cv_path_SED"; then
4574 as_fn_error
"no acceptable sed could be found in \$PATH" "$LINENO" 5
4581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4582 $as_echo "$ac_cv_path_SED" >&6; }
4583 SED
="$ac_cv_path_SED"
4586 test -z "$SED" && SED
=sed
4587 Xsed
="$SED -e 1s/^X//"
4599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4600 $as_echo_n "checking for fgrep... " >&6; }
4601 if test "${ac_cv_path_FGREP+set}" = set; then :
4602 $as_echo_n "(cached) " >&6
4604 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
4605 then ac_cv_path_FGREP
="$GREP -F"
4607 if test -z "$FGREP"; then
4608 ac_path_FGREP_found
=false
4609 # Loop through the user's path and test for each of PROGNAME-LIST
4610 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4611 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4614 test -z "$as_dir" && as_dir
=.
4615 for ac_prog
in fgrep
; do
4616 for ac_exec_ext
in '' $ac_executable_extensions; do
4617 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
4618 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } ||
continue
4619 # Check for GNU ac_path_FGREP and select it if it is found.
4620 # Check for GNU $ac_path_FGREP
4621 case `"$ac_path_FGREP" --version 2>&1` in
4623 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
4626 $as_echo_n 0123456789 >"conftest.in"
4629 cat "conftest.in" "conftest.in" >"conftest.tmp"
4630 mv "conftest.tmp" "conftest.in"
4631 cp "conftest.in" "conftest.nl"
4632 $as_echo 'FGREP' >> "conftest.nl"
4633 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4634 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4635 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4636 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4637 # Best one so far, save it but keep looking for a better one
4638 ac_cv_path_FGREP
="$ac_path_FGREP"
4639 ac_path_FGREP_max
=$ac_count
4641 # 10*(2^10) chars as input seems more than enough
4642 test $ac_count -gt 10 && break
4644 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4647 $ac_path_FGREP_found && break 3
4652 if test -z "$ac_cv_path_FGREP"; then
4653 as_fn_error
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4656 ac_cv_path_FGREP
=$FGREP
4661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4662 $as_echo "$ac_cv_path_FGREP" >&6; }
4663 FGREP
="$ac_cv_path_FGREP"
4666 test -z "$GREP" && GREP
=grep
4686 # Check whether --with-gnu-ld was given.
4687 if test "${with_gnu_ld+set}" = set; then :
4688 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
4694 if test "$GCC" = yes; then
4695 # Check if gcc -print-prog-name=ld gives a path.
4696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4697 $as_echo_n "checking for ld used by $CC... " >&6; }
4700 # gcc leaves a trailing carriage return which upsets mingw
4701 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4703 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4706 # Accept absolute paths.
4708 re_direlt
='/[^/][^/]*/\.\./'
4709 # Canonicalize the pathname of ld
4710 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4711 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
4712 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4714 test -z "$LD" && LD
="$ac_prog"
4717 # If it fails, then pretend we aren't using GCC.
4721 # If it is relative, then search for the first ld in PATH.
4725 elif test "$with_gnu_ld" = yes; then
4726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4727 $as_echo_n "checking for GNU ld... " >&6; }
4729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4730 $as_echo_n "checking for non-GNU ld... " >&6; }
4732 if test "${lt_cv_path_LD+set}" = set; then :
4733 $as_echo_n "(cached) " >&6
4735 if test -z "$LD"; then
4736 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4737 for ac_dir
in $PATH; do
4739 test -z "$ac_dir" && ac_dir
=.
4740 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4741 lt_cv_path_LD
="$ac_dir/$ac_prog"
4742 # Check to see if the program is GNU ld. I'd rather use --version,
4743 # but apparently some variants of GNU ld only accept -v.
4744 # Break only if it was the GNU/non-GNU ld that we prefer.
4745 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4746 *GNU
* |
*'with BFD'*)
4747 test "$with_gnu_ld" != no
&& break
4750 test "$with_gnu_ld" != yes && break
4757 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4762 if test -n "$LD"; then
4763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4764 $as_echo "$LD" >&6; }
4766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4767 $as_echo "no" >&6; }
4769 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
4770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4771 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4772 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4773 $as_echo_n "(cached) " >&6
4775 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4776 case `$LD -v 2>&1 </dev/null` in
4777 *GNU
* |
*'with BFD'*)
4778 lt_cv_prog_gnu_ld
=yes
4781 lt_cv_prog_gnu_ld
=no
4785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4786 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4787 with_gnu_ld
=$lt_cv_prog_gnu_ld
4797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4798 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4799 if test "${lt_cv_path_NM+set}" = set; then :
4800 $as_echo_n "(cached) " >&6
4802 if test -n "$NM"; then
4803 # Let the user override the test.
4806 lt_nm_to_check
="${ac_tool_prefix}nm"
4807 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4808 lt_nm_to_check
="$lt_nm_to_check nm"
4810 for lt_tmp_nm
in $lt_nm_to_check; do
4811 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4812 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
4814 test -z "$ac_dir" && ac_dir
=.
4815 tmp_nm
="$ac_dir/$lt_tmp_nm"
4816 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
4817 # Check to see if the nm accepts a BSD-compat flag.
4818 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4819 # nm: unknown option "B" ignored
4820 # Tru64's nm complains that /dev/null is an invalid object file
4821 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4822 */dev
/null
* |
*'Invalid file or object type'*)
4823 lt_cv_path_NM
="$tmp_nm -B"
4827 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4829 lt_cv_path_NM
="$tmp_nm -p"
4833 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4834 continue # so that we can try to find one that supports BSD flags
4843 : ${lt_cv_path_NM=no}
4846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4847 $as_echo "$lt_cv_path_NM" >&6; }
4848 if test "$lt_cv_path_NM" != "no"; then
4851 # Didn't find any BSD compatible name lister, look for dumpbin.
4852 if test -n "$DUMPBIN"; then :
4853 # Let the user override the test.
4855 if test -n "$ac_tool_prefix"; then
4856 for ac_prog
in dumpbin
"link -dump"
4858 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4859 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4861 $as_echo_n "checking for $ac_word... " >&6; }
4862 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
4863 $as_echo_n "(cached) " >&6
4865 if test -n "$DUMPBIN"; then
4866 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
4868 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4872 test -z "$as_dir" && as_dir
=.
4873 for ac_exec_ext
in '' $ac_executable_extensions; do
4874 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4875 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
4876 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4885 DUMPBIN
=$ac_cv_prog_DUMPBIN
4886 if test -n "$DUMPBIN"; then
4887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4888 $as_echo "$DUMPBIN" >&6; }
4890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4891 $as_echo "no" >&6; }
4895 test -n "$DUMPBIN" && break
4898 if test -z "$DUMPBIN"; then
4899 ac_ct_DUMPBIN
=$DUMPBIN
4900 for ac_prog
in dumpbin
"link -dump"
4902 # Extract the first word of "$ac_prog", so it can be a program name with args.
4903 set dummy
$ac_prog; ac_word
=$2
4904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4905 $as_echo_n "checking for $ac_word... " >&6; }
4906 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
4907 $as_echo_n "(cached) " >&6
4909 if test -n "$ac_ct_DUMPBIN"; then
4910 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
4912 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4916 test -z "$as_dir" && as_dir
=.
4917 for ac_exec_ext
in '' $ac_executable_extensions; do
4918 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4919 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
4920 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4929 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
4930 if test -n "$ac_ct_DUMPBIN"; then
4931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4932 $as_echo "$ac_ct_DUMPBIN" >&6; }
4934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4935 $as_echo "no" >&6; }
4939 test -n "$ac_ct_DUMPBIN" && break
4942 if test "x$ac_ct_DUMPBIN" = x
; then
4945 case $cross_compiling:$ac_tool_warned in
4947 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4948 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4949 ac_tool_warned
=yes ;;
4951 DUMPBIN
=$ac_ct_DUMPBIN
4955 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4957 DUMPBIN
="$DUMPBIN -symbols"
4965 if test "$DUMPBIN" != ":"; then
4969 test -z "$NM" && NM
=nm
4976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4977 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4978 if test "${lt_cv_nm_interface+set}" = set; then :
4979 $as_echo_n "(cached) " >&6
4981 lt_cv_nm_interface
="BSD nm"
4982 echo "int some_variable = 0;" > conftest.
$ac_ext
4983 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4984 (eval "$ac_compile" 2>conftest.err
)
4985 cat conftest.err
>&5
4986 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4987 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
4988 cat conftest.err
>&5
4989 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4990 cat conftest.out
>&5
4991 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
4992 lt_cv_nm_interface
="MS dumpbin"
4996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4997 $as_echo "$lt_cv_nm_interface" >&6; }
4999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5000 $as_echo_n "checking whether ln -s works... " >&6; }
5002 if test "$LN_S" = "ln -s"; then
5003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5004 $as_echo "yes" >&6; }
5006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5007 $as_echo "no, using $LN_S" >&6; }
5010 # find the maximum length of command line arguments
5011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5012 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5013 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5014 $as_echo_n "(cached) " >&6
5021 # On DJGPP, this test can blow up pretty badly due to problems in libc
5022 # (any single argument exceeding 2000 bytes causes a buffer overrun
5023 # during glob expansion). Even if it were fixed, the result of this
5024 # check would be larger than it should be.
5025 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5029 # Under GNU Hurd, this test is not required because there is
5030 # no limit to the length of command line arguments.
5031 # Libtool will interpret -1 as no limit whatsoever
5032 lt_cv_sys_max_cmd_len
=-1;
5035 cygwin
* | mingw
* | cegcc
*)
5036 # On Win9x/ME, this test blows up -- it succeeds, but takes
5037 # about 5 minutes as the teststring grows exponentially.
5038 # Worse, since 9x/ME are not pre-emptively multitasking,
5039 # you end up with a "frozen" computer, even though with patience
5040 # the test eventually succeeds (with a max line length of 256k).
5041 # Instead, let's just punt: use the minimum linelength reported by
5042 # all of the supported platforms: 8192 (on NT/2K/XP).
5043 lt_cv_sys_max_cmd_len
=8192;
5047 # On MiNT this can take a long time and run out of memory.
5048 lt_cv_sys_max_cmd_len
=8192;
5052 # On AmigaOS with pdksh, this test takes hours, literally.
5053 # So we just punt and use a minimum line length of 8192.
5054 lt_cv_sys_max_cmd_len
=8192;
5057 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5058 # This has been around since 386BSD, at least. Likely further.
5059 if test -x /sbin
/sysctl
; then
5060 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5061 elif test -x /usr
/sbin
/sysctl
; then
5062 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5064 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
5066 # And add a safety zone
5067 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5068 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5072 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5073 lt_cv_sys_max_cmd_len
=196608
5077 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5078 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5079 # nice to cause kernel panics so lets avoid the loop below.
5080 # First set a reasonable default.
5081 lt_cv_sys_max_cmd_len
=16384
5083 if test -x /sbin
/sysconfig
; then
5084 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5085 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
5090 lt_cv_sys_max_cmd_len
=102400
5092 sysv5
* | sco5v6
* | sysv4.2uw2
*)
5093 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5094 if test -n "$kargmax"; then
5095 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
5097 lt_cv_sys_max_cmd_len
=32768
5101 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
5102 if test -n "$lt_cv_sys_max_cmd_len"; then
5103 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5104 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5106 # Make teststring a little bigger before we do anything with it.
5107 # a 1K string should be a reasonable start.
5108 for i
in 1 2 3 4 5 6 7 8 ; do
5109 teststring
=$teststring$teststring
5111 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
5112 # If test is not a shell built-in, we'll probably end up computing a
5113 # maximum length that is only half of the actual maximum length, but
5115 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5116 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
5117 test $i != 17 # 1/2 MB should be enough
5120 teststring
=$teststring$teststring
5122 # Only check the string length outside the loop.
5123 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
5125 # Add a significant safety factor because C++ compilers can tack on
5126 # massive amounts of additional arguments before passing them to the
5127 # linker. It appears as though 1/2 is a usable value.
5128 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5135 if test -n $lt_cv_sys_max_cmd_len ; then
5136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5137 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5140 $as_echo "none" >&6; }
5142 max_cmd_len
=$lt_cv_sys_max_cmd_len
5153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5154 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5155 # Try some XSI features
5158 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5160 && eval 'test $(( 1 + 1 )) -eq 2 \
5161 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5163 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
5164 $as_echo "$xsi_shell" >&6; }
5167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
5168 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
5170 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
5172 && lt_shell_append=yes
5173 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
5174 $as_echo "$lt_shell_append" >&6; }
5177 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5187 # test EBCDIC or ASCII
5188 case `echo X|tr X '\101'` in
5189 A) # ASCII based system
5190 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5191 lt_SP2NL='tr \040 \012'
5192 lt_NL2SP='tr \015\012 \040\040'
5194 *) # EBCDIC based system
5195 lt_SP2NL='tr \100 \n'
5196 lt_NL2SP='tr \r\n \100\100'
5208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
5209 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
5210 if test "${lt_cv_ld_reload_flag+set}" = set; then :
5211 $as_echo_n "(cached
) " >&6
5213 lt_cv_ld_reload_flag='-r'
5215 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
5216 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5217 reload_flag=$lt_cv_ld_reload_flag
5218 case $reload_flag in
5220 *) reload_flag=" $reload_flag" ;;
5222 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5225 if test "$GCC" = yes; then
5226 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5228 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5241 if test -n "$ac_tool_prefix"; then
5242 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
5243 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5245 $as_echo_n "checking
for $ac_word...
" >&6; }
5246 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5247 $as_echo_n "(cached
) " >&6
5249 if test -n "$OBJDUMP"; then
5250 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5256 test -z "$as_dir" && as_dir=.
5257 for ac_exec_ext in '' $ac_executable_extensions; do
5258 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5259 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
5260 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5269 OBJDUMP=$ac_cv_prog_OBJDUMP
5270 if test -n "$OBJDUMP"; then
5271 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
5272 $as_echo "$OBJDUMP" >&6; }
5274 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5275 $as_echo "no
" >&6; }
5280 if test -z "$ac_cv_prog_OBJDUMP"; then
5281 ac_ct_OBJDUMP=$OBJDUMP
5282 # Extract the first word of "objdump
", so it can be a program name with args.
5283 set dummy objdump; ac_word=$2
5284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5285 $as_echo_n "checking
for $ac_word...
" >&6; }
5286 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5287 $as_echo_n "(cached
) " >&6
5289 if test -n "$ac_ct_OBJDUMP"; then
5290 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5296 test -z "$as_dir" && as_dir=.
5297 for ac_exec_ext in '' $ac_executable_extensions; do
5298 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5299 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
5300 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5309 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5310 if test -n "$ac_ct_OBJDUMP"; then
5311 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
5312 $as_echo "$ac_ct_OBJDUMP" >&6; }
5314 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5315 $as_echo "no
" >&6; }
5318 if test "x
$ac_ct_OBJDUMP" = x; then
5321 case $cross_compiling:$ac_tool_warned in
5323 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5324 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5325 ac_tool_warned=yes ;;
5327 OBJDUMP=$ac_ct_OBJDUMP
5330 OBJDUMP="$ac_cv_prog_OBJDUMP"
5333 test -z "$OBJDUMP" && OBJDUMP=objdump
5343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
5344 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
5345 if test "${lt_cv_deplibs_check_method+set}" = set; then :
5346 $as_echo_n "(cached
) " >&6
5348 lt_cv_file_magic_cmd='$MAGIC_CMD'
5349 lt_cv_file_magic_test_file=
5350 lt_cv_deplibs_check_method='unknown'
5351 # Need to set the preceding variable on all platforms that support
5352 # interlibrary dependencies.
5353 # 'none' -- dependencies not supported.
5354 # `unknown' -- same as none, but documents that we really don't know.
5355 # 'pass_all' -- all dependencies passed with no checks.
5356 # 'test_compile' -- check by making test program.
5357 # 'file_magic [[regex]]' -- check by looking for files in library path
5358 # which responds to the $file_magic_cmd with a given extended regex.
5359 # If you have `file' or equivalent on your system and you're not sure
5360 # whether `pass_all' will *always* work, you probably want this one.
5364 lt_cv_deplibs_check_method=pass_all
5368 lt_cv_deplibs_check_method=pass_all
5372 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5373 lt_cv_file_magic_cmd='/usr/bin/file -L'
5374 lt_cv_file_magic_test_file=/shlib/libc.so
5378 # func_win32_libid is a shell function defined in ltmain.sh
5379 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5380 lt_cv_file_magic_cmd='func_win32_libid'
5384 # Base MSYS/MinGW do not provide the 'file' command needed by
5385 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5386 # unless we find 'file', for example because we are cross-compiling.
5387 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5388 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
5389 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5390 lt_cv_file_magic_cmd='func_win32_libid'
5392 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5393 lt_cv_file_magic_cmd='$OBJDUMP -f'
5398 # use the weaker test based on 'objdump'. See mingw*.
5399 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5400 lt_cv_file_magic_cmd='$OBJDUMP -f'
5403 darwin* | rhapsody*)
5404 lt_cv_deplibs_check_method=pass_all
5407 freebsd* | dragonfly*)
5408 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5411 # Not sure whether the presence of OpenBSD here was a mistake.
5412 # Let's accept both of them until this is cleared up.
5413 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5414 lt_cv_file_magic_cmd=/usr/bin/file
5415 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5419 lt_cv_deplibs_check_method=pass_all
5424 lt_cv_deplibs_check_method=pass_all
5428 lt_cv_deplibs_check_method=pass_all
5431 hpux10.20* | hpux11*)
5432 lt_cv_file_magic_cmd=/usr/bin/file
5435 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5436 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5439 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]'
5440 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5443 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5444 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5450 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5451 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5454 irix5* | irix6* | nonstopux*)
5456 *-32|*"-32 ") libmagic=32-bit;;
5457 *-n32|*"-n32 ") libmagic=N32;;
5458 *-64|*"-64 ") libmagic=64-bit;;
5459 *) libmagic=never-match;;
5461 lt_cv_deplibs_check_method=pass_all
5464 # This must be Linux ELF.
5465 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5466 lt_cv_deplibs_check_method=pass_all
5470 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5471 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5473 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5478 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5479 lt_cv_file_magic_cmd=/usr/bin/file
5480 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5484 lt_cv_deplibs_check_method=pass_all
5488 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
5489 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5491 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5495 osf3* | osf4* | osf5*)
5496 lt_cv_deplibs_check_method=pass_all
5500 lt_cv_deplibs_check_method=pass_all
5504 lt_cv_deplibs_check_method=pass_all
5507 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5508 lt_cv_deplibs_check_method=pass_all
5512 case $host_vendor in
5514 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]'
5515 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5518 lt_cv_deplibs_check_method=pass_all
5521 lt_cv_file_magic_cmd='/bin/file'
5522 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5525 lt_cv_file_magic_cmd='/bin/file'
5526 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
5527 lt_cv_file_magic_test_file=/lib/libc.so
5530 lt_cv_deplibs_check_method=pass_all
5533 lt_cv_deplibs_check_method=pass_all
5539 lt_cv_deplibs_check_method=pass_all
5544 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
5545 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5546 file_magic_cmd=$lt_cv_file_magic_cmd
5547 deplibs_check_method=$lt_cv_deplibs_check_method
5548 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5561 if test -n "$ac_tool_prefix"; then
5562 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5563 set dummy ${ac_tool_prefix}ar; ac_word=$2
5564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5565 $as_echo_n "checking
for $ac_word...
" >&6; }
5566 if test "${ac_cv_prog_AR+set}" = set; then :
5567 $as_echo_n "(cached
) " >&6
5569 if test -n "$AR"; then
5570 ac_cv_prog_AR="$AR" # Let the user override the test.
5572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5576 test -z "$as_dir" && as_dir=.
5577 for ac_exec_ext in '' $ac_executable_extensions; do
5578 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5579 ac_cv_prog_AR="${ac_tool_prefix}ar"
5580 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5590 if test -n "$AR"; then
5591 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
5592 $as_echo "$AR" >&6; }
5594 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5595 $as_echo "no
" >&6; }
5600 if test -z "$ac_cv_prog_AR"; then
5602 # Extract the first word of "ar", so it can be a program name with args.
5603 set dummy ar; ac_word=$2
5604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5605 $as_echo_n "checking
for $ac_word...
" >&6; }
5606 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5607 $as_echo_n "(cached
) " >&6
5609 if test -n "$ac_ct_AR"; then
5610 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5616 test -z "$as_dir" && as_dir=.
5617 for ac_exec_ext in '' $ac_executable_extensions; do
5618 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5619 ac_cv_prog_ac_ct_AR="ar"
5620 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5629 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5630 if test -n "$ac_ct_AR"; then
5631 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
5632 $as_echo "$ac_ct_AR" >&6; }
5634 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5635 $as_echo "no
" >&6; }
5638 if test "x
$ac_ct_AR" = x; then
5641 case $cross_compiling:$ac_tool_warned in
5643 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5644 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5645 ac_tool_warned=yes ;;
5653 test -z "$AR" && AR=ar
5654 test -z "$AR_FLAGS" && AR_FLAGS=cru
5666 if test -n "$ac_tool_prefix"; then
5667 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
5668 set dummy ${ac_tool_prefix}strip; ac_word=$2
5669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5670 $as_echo_n "checking
for $ac_word...
" >&6; }
5671 if test "${ac_cv_prog_STRIP+set}" = set; then :
5672 $as_echo_n "(cached
) " >&6
5674 if test -n "$STRIP"; then
5675 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5681 test -z "$as_dir" && as_dir=.
5682 for ac_exec_ext in '' $ac_executable_extensions; do
5683 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5684 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
5685 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5694 STRIP=$ac_cv_prog_STRIP
5695 if test -n "$STRIP"; then
5696 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
5697 $as_echo "$STRIP" >&6; }
5699 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5700 $as_echo "no
" >&6; }
5705 if test -z "$ac_cv_prog_STRIP"; then
5707 # Extract the first word of "strip
", so it can be a program name with args.
5708 set dummy strip; ac_word=$2
5709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5710 $as_echo_n "checking
for $ac_word...
" >&6; }
5711 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
5712 $as_echo_n "(cached
) " >&6
5714 if test -n "$ac_ct_STRIP"; then
5715 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5717 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5721 test -z "$as_dir" && as_dir=.
5722 for ac_exec_ext in '' $ac_executable_extensions; do
5723 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5724 ac_cv_prog_ac_ct_STRIP="strip
"
5725 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5734 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5735 if test -n "$ac_ct_STRIP"; then
5736 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
5737 $as_echo "$ac_ct_STRIP" >&6; }
5739 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5740 $as_echo "no
" >&6; }
5743 if test "x
$ac_ct_STRIP" = x; then
5746 case $cross_compiling:$ac_tool_warned in
5748 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5749 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5750 ac_tool_warned=yes ;;
5755 STRIP="$ac_cv_prog_STRIP"
5758 test -z "$STRIP" && STRIP=:
5765 if test -n "$ac_tool_prefix"; then
5766 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
5767 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5769 $as_echo_n "checking
for $ac_word...
" >&6; }
5770 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5771 $as_echo_n "(cached
) " >&6
5773 if test -n "$RANLIB"; then
5774 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5780 test -z "$as_dir" && as_dir=.
5781 for ac_exec_ext in '' $ac_executable_extensions; do
5782 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5783 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
5784 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5793 RANLIB=$ac_cv_prog_RANLIB
5794 if test -n "$RANLIB"; then
5795 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
5796 $as_echo "$RANLIB" >&6; }
5798 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5799 $as_echo "no
" >&6; }
5804 if test -z "$ac_cv_prog_RANLIB"; then
5805 ac_ct_RANLIB=$RANLIB
5806 # Extract the first word of "ranlib
", so it can be a program name with args.
5807 set dummy ranlib; ac_word=$2
5808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5809 $as_echo_n "checking
for $ac_word...
" >&6; }
5810 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5811 $as_echo_n "(cached
) " >&6
5813 if test -n "$ac_ct_RANLIB"; then
5814 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5820 test -z "$as_dir" && as_dir=.
5821 for ac_exec_ext in '' $ac_executable_extensions; do
5822 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5823 ac_cv_prog_ac_ct_RANLIB="ranlib
"
5824 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5833 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5834 if test -n "$ac_ct_RANLIB"; then
5835 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
5836 $as_echo "$ac_ct_RANLIB" >&6; }
5838 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5839 $as_echo "no
" >&6; }
5842 if test "x
$ac_ct_RANLIB" = x; then
5845 case $cross_compiling:$ac_tool_warned in
5847 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5848 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5849 ac_tool_warned=yes ;;
5851 RANLIB=$ac_ct_RANLIB
5854 RANLIB="$ac_cv_prog_RANLIB"
5857 test -z "$RANLIB" && RANLIB=:
5864 # Determine commands to create old-style static archives.
5865 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5866 old_postinstall_cmds='chmod 644 $oldlib'
5867 old_postuninstall_cmds=
5869 if test -n "$RANLIB"; then
5872 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
5875 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
5878 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
5883 lock_old_archive_extraction=yes ;;
5885 lock_old_archive_extraction=no ;;
5926 # If no C compiler was specified, use CC.
5929 # If no C compiler flags were specified, use CFLAGS.
5930 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5932 # Allow CC to be a program name with arguments.
5936 # Check for command to grab the raw symbol name followed by C symbol from nm.
5937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
5938 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
5939 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
5940 $as_echo_n "(cached
) " >&6
5943 # These are sane defaults that work on at least a few old systems.
5944 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5946 # Character class describing NM global symbol codes.
5947 symcode='[BCDEGRST]'
5949 # Regexp to match symbols that can be accessed directly from C.
5950 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5952 # Define system-specific variables.
5957 cygwin* | mingw* | pw32* | cegcc*)
5958 symcode='[ABCDGISTW]'
5961 if test "$host_cpu" = ia64; then
5962 symcode='[ABCDEGRST]'
5966 symcode='[BCDEGRST]'
5969 symcode='[BCDEGQRST]'
5980 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5988 # If we're using GNU nm, then use its standard symbol codes.
5989 case `$NM -V 2>&1` in
5990 *GNU* | *'with BFD'*)
5991 symcode='[ABCDGIRSTW]' ;;
5994 # Transform an extracted symbol line into a proper C declaration.
5995 # Some systems (esp. on ia64) link data and code symbols differently,
5996 # so use this general approach.
5997 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5999 # Transform an extracted symbol line into symbol name and symbol address
6000 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6001 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'"
6003 # Handle CRLF in mingw tool chain
6007 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6011 # Try without a prefix underscore, then with it.
6012 for ac_symprfx in "" "_
"; do
6014 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6015 symxfrm="\\1 $ac_symprfx\\2 \\2"
6017 # Write the raw and C identifiers.
6018 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6019 # Fake it for dumpbin and say T for any non-static function
6020 # and D for any global variable.
6021 # Also find C++ and __fastcall symbols from MSVC++,
6022 # which start with @ or ?.
6023 lt_cv_sys_global_symbol_pipe="$AWK '"\
6024 " {last_section=section; section=\$ 3};"\
6025 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6026 " \$ 0!~/External *\|/{next};"\
6027 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6028 " {if(hide[section]) next};"\
6029 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6030 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6031 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6032 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6033 " ' prfx
=^
$ac_symprfx"
6035 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6038 # Check to see that the pipe works correctly.
6042 cat > conftest.$ac_ext <<_LT_EOF
6047 void nm_test_func(void);
6048 void nm_test_func(void){}
6052 int main(){nm_test_var='a';nm_test_func();return(0);}
6055 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6056 (eval $ac_compile) 2>&5
6058 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6059 test $ac_status = 0; }; then
6060 # Now try to grab the symbols.
6062 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
6063 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6065 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6066 test $ac_status = 0; } && test -s "$nlist"; then
6067 # Try sorting and uniquifying the output.
6068 if sort "$nlist" | uniq > "$nlist"T; then
6069 mv -f "$nlist"T "$nlist"
6074 # Make sure that we snagged all the symbols we need.
6075 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6076 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6077 cat <<_LT_EOF > conftest.$ac_ext
6083 # Now generate the symbol file.
6084 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6086 cat <<_LT_EOF >> conftest.$ac_ext
6088 /* The mapping between symbol names and symbols. */
6093 lt__PROGRAM__LTX_preloaded_symbols[] =
6095 { "@PROGRAM@
", (void *) 0 },
6097 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6098 cat <<\_LT_EOF >> conftest.$ac_ext
6102 /* This works around a problem in FreeBSD linker */
6103 #ifdef FREEBSD_WORKAROUND
6104 static const void *lt_preloaded_setup() {
6105 return lt__PROGRAM__LTX_preloaded_symbols;
6113 # Now try linking the two files.
6114 mv conftest.$ac_objext conftstm.$ac_objext
6115 lt_save_LIBS="$LIBS"
6116 lt_save_CFLAGS="$CFLAGS"
6117 LIBS="conftstm.
$ac_objext"
6118 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6119 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6120 (eval $ac_link) 2>&5
6122 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6123 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6126 LIBS="$lt_save_LIBS"
6127 CFLAGS="$lt_save_CFLAGS"
6129 echo "cannot
find nm_test_func
in $nlist" >&5
6132 echo "cannot
find nm_test_var
in $nlist" >&5
6135 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
6138 echo "$progname: failed program was
:" >&5
6139 cat conftest.$ac_ext >&5
6141 rm -rf conftest* conftst*
6143 # Do not use the global_symbol_pipe unless it works.
6144 if test "$pipe_works" = yes; then
6147 lt_cv_sys_global_symbol_pipe=
6153 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6154 lt_cv_sys_global_symbol_to_cdecl=
6156 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6157 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
6158 $as_echo "failed
" >&6; }
6160 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
6161 $as_echo "ok
" >&6; }
6185 # Check whether --enable-libtool-lock was given.
6186 if test "${enable_libtool_lock+set}" = set; then :
6187 enableval=$enable_libtool_lock;
6190 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
6192 # Some flags need to be propagated to the compiler or linker for good
6196 # Find out which ABI we are using.
6197 echo 'int i;' > conftest.$ac_ext
6198 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6199 (eval $ac_compile) 2>&5
6201 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6202 test $ac_status = 0; }; then
6203 case `/usr/bin/file conftest.$ac_objext` in
6215 # Find out which ABI we are using.
6216 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
6217 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6218 (eval $ac_compile) 2>&5
6220 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6221 test $ac_status = 0; }; then
6222 if test "$lt_cv_prog_gnu_ld" = yes; then
6223 case `/usr/bin/file conftest.$ac_objext` in
6225 LD="${LD-ld} -melf32bsmip"
6228 LD="${LD-ld} -melf32bmipn32"
6231 LD="${LD-ld} -melf64bmip"
6235 case `/usr/bin/file conftest.$ac_objext` in
6251 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6252 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6253 # Find out which ABI we are using.
6254 echo 'int i;' > conftest.$ac_ext
6255 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6256 (eval $ac_compile) 2>&5
6258 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6259 test $ac_status = 0; }; then
6260 case `/usr/bin/file conftest.o` in
6263 x86_64-*kfreebsd*-gnu)
6264 LD="${LD-ld} -m elf_i386_fbsd
"
6267 case `/usr/bin/file conftest.o` in
6269 LD="${LD-ld} -m elf32_x86_64
"
6272 LD="${LD-ld} -m elf_i386
"
6276 powerpc64le-*linux*)
6277 LD="${LD-ld} -m elf32lppclinux
"
6280 LD="${LD-ld} -m elf32ppclinux
"
6283 LD="${LD-ld} -m elf_s390
"
6286 LD="${LD-ld} -m elf32_sparc
"
6292 x86_64-*kfreebsd*-gnu)
6293 LD="${LD-ld} -m elf_x86_64_fbsd
"
6296 LD="${LD-ld} -m elf_x86_64
"
6299 LD="${LD-ld} -m elf64lppc
"
6302 LD="${LD-ld} -m elf64ppc
"
6304 s390*-*linux*|s390*-*tpf*)
6305 LD="${LD-ld} -m elf64_s390
"
6308 LD="${LD-ld} -m elf64_sparc
"
6318 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6319 SAVE_CFLAGS="$CFLAGS"
6320 CFLAGS="$CFLAGS -belf"
6321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
6322 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
6323 if test "${lt_cv_cc_needs_belf+set}" = set; then :
6324 $as_echo_n "(cached
) " >&6
6327 ac_cpp='$CPP $CPPFLAGS'
6328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6332 if test x$gcc_no_link = xyes; then
6333 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES.
" "$LINENO" 5
6335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6336 /* end confdefs.h. */
6346 if ac_fn_c_try_link "$LINENO"; then :
6347 lt_cv_cc_needs_belf=yes
6349 lt_cv_cc_needs_belf=no
6351 rm -f core conftest.err conftest.$ac_objext \
6352 conftest$ac_exeext conftest.$ac_ext
6354 ac_cpp='$CPP $CPPFLAGS'
6355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6360 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
6361 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6362 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6363 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6364 CFLAGS="$SAVE_CFLAGS"
6368 # Find out which ABI we are using.
6369 echo 'int i;' > conftest.$ac_ext
6370 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6371 (eval $ac_compile) 2>&5
6373 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6374 test $ac_status = 0; }; then
6375 case `/usr/bin/file conftest.o` in
6377 case $lt_cv_prog_gnu_ld in
6378 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
6380 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6392 need_locks="$enable_libtool_lock"
6396 rhapsody* | darwin*)
6397 if test -n "$ac_tool_prefix"; then
6398 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
6399 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6401 $as_echo_n "checking
for $ac_word...
" >&6; }
6402 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6403 $as_echo_n "(cached
) " >&6
6405 if test -n "$DSYMUTIL"; then
6406 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6412 test -z "$as_dir" && as_dir=.
6413 for ac_exec_ext in '' $ac_executable_extensions; do
6414 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6415 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
6416 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6425 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6426 if test -n "$DSYMUTIL"; then
6427 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
6428 $as_echo "$DSYMUTIL" >&6; }
6430 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6431 $as_echo "no
" >&6; }
6436 if test -z "$ac_cv_prog_DSYMUTIL"; then
6437 ac_ct_DSYMUTIL=$DSYMUTIL
6438 # Extract the first word of "dsymutil
", so it can be a program name with args.
6439 set dummy dsymutil; ac_word=$2
6440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6441 $as_echo_n "checking
for $ac_word...
" >&6; }
6442 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6443 $as_echo_n "(cached
) " >&6
6445 if test -n "$ac_ct_DSYMUTIL"; then
6446 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6452 test -z "$as_dir" && as_dir=.
6453 for ac_exec_ext in '' $ac_executable_extensions; do
6454 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6455 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
6456 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6465 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6466 if test -n "$ac_ct_DSYMUTIL"; then
6467 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
6468 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6470 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6471 $as_echo "no
" >&6; }
6474 if test "x
$ac_ct_DSYMUTIL" = x; then
6477 case $cross_compiling:$ac_tool_warned in
6479 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6480 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6481 ac_tool_warned=yes ;;
6483 DSYMUTIL=$ac_ct_DSYMUTIL
6486 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6489 if test -n "$ac_tool_prefix"; then
6490 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
6491 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6493 $as_echo_n "checking
for $ac_word...
" >&6; }
6494 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6495 $as_echo_n "(cached
) " >&6
6497 if test -n "$NMEDIT"; then
6498 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6504 test -z "$as_dir" && as_dir=.
6505 for ac_exec_ext in '' $ac_executable_extensions; do
6506 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6507 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
6508 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6517 NMEDIT=$ac_cv_prog_NMEDIT
6518 if test -n "$NMEDIT"; then
6519 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
6520 $as_echo "$NMEDIT" >&6; }
6522 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6523 $as_echo "no
" >&6; }
6528 if test -z "$ac_cv_prog_NMEDIT"; then
6529 ac_ct_NMEDIT=$NMEDIT
6530 # Extract the first word of "nmedit
", so it can be a program name with args.
6531 set dummy nmedit; ac_word=$2
6532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6533 $as_echo_n "checking
for $ac_word...
" >&6; }
6534 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6535 $as_echo_n "(cached
) " >&6
6537 if test -n "$ac_ct_NMEDIT"; then
6538 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6544 test -z "$as_dir" && as_dir=.
6545 for ac_exec_ext in '' $ac_executable_extensions; do
6546 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6547 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
6548 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6557 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6558 if test -n "$ac_ct_NMEDIT"; then
6559 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
6560 $as_echo "$ac_ct_NMEDIT" >&6; }
6562 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6563 $as_echo "no
" >&6; }
6566 if test "x
$ac_ct_NMEDIT" = x; then
6569 case $cross_compiling:$ac_tool_warned in
6571 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6572 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6573 ac_tool_warned=yes ;;
6575 NMEDIT=$ac_ct_NMEDIT
6578 NMEDIT="$ac_cv_prog_NMEDIT"
6581 if test -n "$ac_tool_prefix"; then
6582 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
6583 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6585 $as_echo_n "checking
for $ac_word...
" >&6; }
6586 if test "${ac_cv_prog_LIPO+set}" = set; then :
6587 $as_echo_n "(cached
) " >&6
6589 if test -n "$LIPO"; then
6590 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6596 test -z "$as_dir" && as_dir=.
6597 for ac_exec_ext in '' $ac_executable_extensions; do
6598 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6599 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
6600 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6609 LIPO=$ac_cv_prog_LIPO
6610 if test -n "$LIPO"; then
6611 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
6612 $as_echo "$LIPO" >&6; }
6614 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6615 $as_echo "no
" >&6; }
6620 if test -z "$ac_cv_prog_LIPO"; then
6622 # Extract the first word of "lipo
", so it can be a program name with args.
6623 set dummy lipo; ac_word=$2
6624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6625 $as_echo_n "checking
for $ac_word...
" >&6; }
6626 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6627 $as_echo_n "(cached
) " >&6
6629 if test -n "$ac_ct_LIPO"; then
6630 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6636 test -z "$as_dir" && as_dir=.
6637 for ac_exec_ext in '' $ac_executable_extensions; do
6638 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6639 ac_cv_prog_ac_ct_LIPO="lipo
"
6640 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6649 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6650 if test -n "$ac_ct_LIPO"; then
6651 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
6652 $as_echo "$ac_ct_LIPO" >&6; }
6654 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6655 $as_echo "no
" >&6; }
6658 if test "x
$ac_ct_LIPO" = x; then
6661 case $cross_compiling:$ac_tool_warned in
6663 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6664 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6665 ac_tool_warned=yes ;;
6670 LIPO="$ac_cv_prog_LIPO"
6673 if test -n "$ac_tool_prefix"; then
6674 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
6675 set dummy ${ac_tool_prefix}otool; ac_word=$2
6676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6677 $as_echo_n "checking
for $ac_word...
" >&6; }
6678 if test "${ac_cv_prog_OTOOL+set}" = set; then :
6679 $as_echo_n "(cached
) " >&6
6681 if test -n "$OTOOL"; then
6682 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6688 test -z "$as_dir" && as_dir=.
6689 for ac_exec_ext in '' $ac_executable_extensions; do
6690 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6691 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
6692 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6701 OTOOL=$ac_cv_prog_OTOOL
6702 if test -n "$OTOOL"; then
6703 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
6704 $as_echo "$OTOOL" >&6; }
6706 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6707 $as_echo "no
" >&6; }
6712 if test -z "$ac_cv_prog_OTOOL"; then
6714 # Extract the first word of "otool
", so it can be a program name with args.
6715 set dummy otool; ac_word=$2
6716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6717 $as_echo_n "checking
for $ac_word...
" >&6; }
6718 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
6719 $as_echo_n "(cached
) " >&6
6721 if test -n "$ac_ct_OTOOL"; then
6722 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6728 test -z "$as_dir" && as_dir=.
6729 for ac_exec_ext in '' $ac_executable_extensions; do
6730 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6731 ac_cv_prog_ac_ct_OTOOL="otool
"
6732 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6741 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6742 if test -n "$ac_ct_OTOOL"; then
6743 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
6744 $as_echo "$ac_ct_OTOOL" >&6; }
6746 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6747 $as_echo "no
" >&6; }
6750 if test "x
$ac_ct_OTOOL" = x; then
6753 case $cross_compiling:$ac_tool_warned in
6755 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6756 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6757 ac_tool_warned=yes ;;
6762 OTOOL="$ac_cv_prog_OTOOL"
6765 if test -n "$ac_tool_prefix"; then
6766 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
6767 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6769 $as_echo_n "checking
for $ac_word...
" >&6; }
6770 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
6771 $as_echo_n "(cached
) " >&6
6773 if test -n "$OTOOL64"; then
6774 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6780 test -z "$as_dir" && as_dir=.
6781 for ac_exec_ext in '' $ac_executable_extensions; do
6782 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6783 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
6784 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6793 OTOOL64=$ac_cv_prog_OTOOL64
6794 if test -n "$OTOOL64"; then
6795 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
6796 $as_echo "$OTOOL64" >&6; }
6798 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6799 $as_echo "no
" >&6; }
6804 if test -z "$ac_cv_prog_OTOOL64"; then
6805 ac_ct_OTOOL64=$OTOOL64
6806 # Extract the first word of "otool64
", so it can be a program name with args.
6807 set dummy otool64; ac_word=$2
6808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6809 $as_echo_n "checking
for $ac_word...
" >&6; }
6810 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
6811 $as_echo_n "(cached
) " >&6
6813 if test -n "$ac_ct_OTOOL64"; then
6814 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6820 test -z "$as_dir" && as_dir=.
6821 for ac_exec_ext in '' $ac_executable_extensions; do
6822 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6823 ac_cv_prog_ac_ct_OTOOL64="otool64
"
6824 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6833 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6834 if test -n "$ac_ct_OTOOL64"; then
6835 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
6836 $as_echo "$ac_ct_OTOOL64" >&6; }
6838 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6839 $as_echo "no
" >&6; }
6842 if test "x
$ac_ct_OTOOL64" = x; then
6845 case $cross_compiling:$ac_tool_warned in
6847 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6848 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6849 ac_tool_warned=yes ;;
6851 OTOOL64=$ac_ct_OTOOL64
6854 OTOOL64="$ac_cv_prog_OTOOL64"
6883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
6884 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
6885 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
6886 $as_echo_n "(cached
) " >&6
6888 lt_cv_apple_cc_single_mod=no
6889 if test -z "${LT_MULTI_MODULE}"; then
6890 # By default we will add the -single_module flag. You can override
6891 # by either setting the environment variable LT_MULTI_MODULE
6892 # non-empty at configure time, or by adding -multi_module to the
6894 rm -rf libconftest.dylib*
6895 echo "int foo
(void
){return 1;}" > conftest.c
6896 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6897 -dynamiclib -Wl,-single_module conftest.c
" >&5
6898 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6899 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6901 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6902 lt_cv_apple_cc_single_mod=yes
6904 cat conftest.err >&5
6906 rm -rf libconftest.dylib*
6910 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
6911 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
6913 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
6914 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
6915 $as_echo_n "(cached
) " >&6
6917 lt_cv_ld_exported_symbols_list=no
6918 save_LDFLAGS=$LDFLAGS
6919 echo "_main
" > conftest.sym
6920 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
6921 if test x$gcc_no_link = xyes; then
6922 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES.
" "$LINENO" 5
6924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6925 /* end confdefs.h. */
6935 if ac_fn_c_try_link "$LINENO"; then :
6936 lt_cv_ld_exported_symbols_list=yes
6938 lt_cv_ld_exported_symbols_list=no
6940 rm -f core conftest.err conftest.$ac_objext \
6941 conftest$ac_exeext conftest.$ac_ext
6942 LDFLAGS="$save_LDFLAGS"
6945 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
6946 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
6948 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
6949 if test "${lt_cv_ld_force_load+set}" = set; then :
6950 $as_echo_n "(cached
) " >&6
6952 lt_cv_ld_force_load=no
6953 cat > conftest.c << _LT_EOF
6954 int forced_loaded() { return 2;}
6956 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
6957 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
6958 echo "$AR cru libconftest.a conftest.o
" >&5
6959 $AR cru libconftest.a conftest.o 2>&5
6960 cat > conftest.c << _LT_EOF
6961 int main() { return 0;}
6963 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
6964 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
6966 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
6967 lt_cv_ld_force_load=yes
6969 cat conftest.err >&5
6971 rm -f conftest.err libconftest.a conftest conftest.c
6972 rm -rf conftest.dSYM
6975 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
6976 $as_echo "$lt_cv_ld_force_load" >&6; }
6978 rhapsody* | darwin1.[012])
6979 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6981 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6982 darwin*) # darwin 5.x on
6983 # if running on 10.5 or later, the deployment target defaults
6984 # to the OS version, if on x86, and 10.4, the deployment
6985 # target defaults to 10.4. Don't you love it?
6986 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6987 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6988 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6990 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6992 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6996 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6997 _lt_dar_single_mod='$single_module'
6999 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7000 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7002 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7004 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
7005 _lt_dsymutil='~$DSYMUTIL $lib || :'
7012 for ac_header in dlfcn.h
7014 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h
" "ac_cv_header_dlfcn_h
" "$ac_includes_default
7016 if test "x
$ac_cv_header_dlfcn_h" = x""yes; then :
7017 cat >>confdefs.h <<_ACEOF
7018 #define HAVE_DLFCN_H 1
7039 # Check whether --enable-shared was given.
7040 if test "${enable_shared+set}" = set; then :
7041 enableval=$enable_shared; p=${PACKAGE-default}
7043 yes) enable_shared=yes ;;
7044 no) enable_shared=no ;;
7047 # Look at the argument we got. We use all the common list separators.
7048 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7049 for pkg in $enableval; do
7051 if test "X
$pkg" = "X
$p"; then
7070 # Check whether --enable-static was given.
7071 if test "${enable_static+set}" = set; then :
7072 enableval=$enable_static; p=${PACKAGE-default}
7074 yes) enable_static=yes ;;
7075 no) enable_static=no ;;
7078 # Look at the argument we got. We use all the common list separators.
7079 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7080 for pkg in $enableval; do
7082 if test "X
$pkg" = "X
$p"; then
7102 # Check whether --with-pic was given.
7103 if test "${with_pic+set}" = set; then :
7104 withval=$with_pic; pic_mode="$withval"
7110 test -z "$pic_mode" && pic_mode=default
7118 # Check whether --enable-fast-install was given.
7119 if test "${enable_fast_install+set}" = set; then :
7120 enableval=$enable_fast_install; p=${PACKAGE-default}
7122 yes) enable_fast_install=yes ;;
7123 no) enable_fast_install=no ;;
7125 enable_fast_install=no
7126 # Look at the argument we got. We use all the common list separators.
7127 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7128 for pkg in $enableval; do
7130 if test "X
$pkg" = "X
$p"; then
7131 enable_fast_install=yes
7138 enable_fast_install=yes
7151 # This can be used to rebuild libtool when needed
7152 LIBTOOL_DEPS="$ltmain"
7154 # Always use our own libtool.
7155 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7182 test -z "$LN_S" && LN_S="ln -s"
7197 if test -n "${ZSH_VERSION+set}" ; then
7198 setopt NO_GLOB_SUBST
7201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdir
" >&5
7202 $as_echo_n "checking
for objdir...
" >&6; }
7203 if test "${lt_cv_objdir+set}" = set; then :
7204 $as_echo_n "(cached
) " >&6
7206 rm -f .libs 2>/dev/null
7207 mkdir .libs 2>/dev/null
7208 if test -d .libs; then
7211 # MS-DOS does not allow filenames that begin with a dot.
7214 rmdir .libs 2>/dev/null
7216 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_objdir" >&5
7217 $as_echo "$lt_cv_objdir" >&6; }
7218 objdir=$lt_cv_objdir
7224 cat >>confdefs.h <<_ACEOF
7225 #define LT_OBJDIR "$lt_cv_objdir/"
7233 # AIX sometimes has problems with the GCC collect2 program. For some
7234 # reason, if we set the COLLECT_NAMES environment variable, the problems
7235 # vanish in a puff of smoke.
7236 if test "X
${COLLECT_NAMES+set}" != Xset; then
7238 export COLLECT_NAMES
7245 can_build_shared=yes
7247 # All known linkers require a `.a' archive for static linking (except MSVC,
7248 # which needs '.lib').
7251 with_gnu_ld="$lt_cv_prog_gnu_ld"
7254 old_CFLAGS="$CFLAGS"
7256 # Set sane defaults for various variables
7257 test -z "$CC" && CC=cc
7258 test -z "$LTCC" && LTCC=$CC
7259 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7260 test -z "$LD" && LD=ld
7261 test -z "$ac_objext" && ac_objext=o
7263 for cc_temp in $compiler""; do
7265 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7266 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7271 cc_basename=`$ECHO "$cc_temp" | $SED "s
%.
*/%%; s
%^
$host_alias-%%"`
7274 # Only perform the check for file, if the check method requires it
7275 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7276 case $deplibs_check_method in
7278 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ac_tool_prefix}file" >&5
7280 $as_echo_n "checking
for ${ac_tool_prefix}file...
" >&6; }
7281 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7282 $as_echo_n "(cached
) " >&6
7286 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7289 lt_save_MAGIC_CMD="$MAGIC_CMD"
7290 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7291 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
7292 for ac_dir in $ac_dummy; do
7294 test -z "$ac_dir" && ac_dir=.
7295 if test -f $ac_dir/${ac_tool_prefix}file; then
7296 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7297 if test -n "$file_magic_test_file"; then
7298 case $deplibs_check_method in
7300 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
7301 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7302 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7303 $EGREP "$file_magic_regex" > /dev/null; then
7308 *** Warning: the command libtool uses to detect shared libraries,
7309 *** $file_magic_cmd, produces output that libtool cannot recognize.
7310 *** The result is that libtool may fail to recognize shared libraries
7311 *** as such. This will affect the creation of libtool libraries that
7312 *** depend on shared libraries, but programs linked with such libtool
7313 *** libraries will work regardless of this problem. Nevertheless, you
7314 *** may want to report the problem to your system manager and/or to
7315 *** bug-libtool@gnu.org
7325 MAGIC_CMD="$lt_save_MAGIC_CMD"
7330 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7331 if test -n "$MAGIC_CMD"; then
7332 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
7333 $as_echo "$MAGIC_CMD" >&6; }
7335 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7336 $as_echo "no
" >&6; }
7343 if test -z "$lt_cv_path_MAGIC_CMD"; then
7344 if test -n "$ac_tool_prefix"; then
7345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for file" >&5
7346 $as_echo_n "checking
for file...
" >&6; }
7347 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7348 $as_echo_n "(cached
) " >&6
7352 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7355 lt_save_MAGIC_CMD="$MAGIC_CMD"
7356 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7357 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
7358 for ac_dir in $ac_dummy; do
7360 test -z "$ac_dir" && ac_dir=.
7361 if test -f $ac_dir/file; then
7362 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7363 if test -n "$file_magic_test_file"; then
7364 case $deplibs_check_method in
7366 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
7367 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7368 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7369 $EGREP "$file_magic_regex" > /dev/null; then
7374 *** Warning: the command libtool uses to detect shared libraries,
7375 *** $file_magic_cmd, produces output that libtool cannot recognize.
7376 *** The result is that libtool may fail to recognize shared libraries
7377 *** as such. This will affect the creation of libtool libraries that
7378 *** depend on shared libraries, but programs linked with such libtool
7379 *** libraries will work regardless of this problem. Nevertheless, you
7380 *** may want to report the problem to your system manager and/or to
7381 *** bug-libtool@gnu.org
7391 MAGIC_CMD="$lt_save_MAGIC_CMD"
7396 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7397 if test -n "$MAGIC_CMD"; then
7398 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
7399 $as_echo "$MAGIC_CMD" >&6; }
7401 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7402 $as_echo "no
" >&6; }
7415 # Use C for the default configuration in the libtool script
7419 ac_cpp='$CPP $CPPFLAGS'
7420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7425 # Source file extension for C test sources.
7428 # Object file extension for compiled C test sources.
7432 # Code to be used in simple compile tests
7433 lt_simple_compile_test_code="int some_variable
= 0;"
7435 # Code to be used in simple link tests
7436 lt_simple_link_test_code='int main(){return(0);}'
7444 # If no C compiler was specified, use CC.
7447 # If no C compiler flags were specified, use CFLAGS.
7448 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7450 # Allow CC to be a program name with arguments.
7453 # Save the default compiler, since it gets overwritten when the other
7454 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7455 compiler_DEFAULT=$CC
7457 # save warnings/boilerplate of simple test code
7458 ac_outfile=conftest.$ac_objext
7459 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7460 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7461 _lt_compiler_boilerplate=`cat conftest.err`
7464 ac_outfile=conftest.$ac_objext
7465 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7466 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7467 _lt_linker_boilerplate=`cat conftest.err`
7472 ## There is no encapsulation within the following macros, do not change
7473 ## the running order or otherwise move them around unless you know exactly
7474 ## what you are doing...
7475 if test -n "$compiler"; then
7477 lt_prog_compiler_no_builtin_flag=
7479 if test "$GCC" = yes; then
7480 case $cc_basename in
7482 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
7484 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
7487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-fno-rtti -fno-exceptions" >&5
7488 $as_echo_n "checking
if $compiler supports
-fno-rtti -fno-exceptions...
" >&6; }
7489 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
7490 $as_echo_n "(cached
) " >&6
7492 lt_cv_prog_compiler_rtti_exceptions=no
7493 ac_outfile=conftest.$ac_objext
7494 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7495 lt_compiler_flag="-fno-rtti -fno-exceptions"
7496 # Insert the option either (1) after the last *FLAGS variable, or
7497 # (2) before a word containing "conftest.
", or (3) at the end.
7498 # Note that $ac_compile itself does not contain backslashes and begins
7499 # with a dollar sign (not a hyphen), so the echo should work correctly.
7500 # The option is referenced via a variable to avoid confusing sed.
7501 lt_compile=`echo "$ac_compile" | $SED \
7502 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7503 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7504 -e 's:$: $lt_compiler_flag:'`
7505 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
7506 (eval "$lt_compile" 2>conftest.err)
7508 cat conftest.err >&5
7509 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7510 if (exit $ac_status) && test -s "$ac_outfile"; then
7511 # The compiler can only warn and ignore the option if not recognized
7512 # So say no if there are warnings other than the usual output.
7513 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7514 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7515 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7516 lt_cv_prog_compiler_rtti_exceptions=yes
7522 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_rtti_exceptions" >&5
7523 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7525 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7526 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7538 lt_prog_compiler_wl=
7539 lt_prog_compiler_pic=
7540 lt_prog_compiler_static=
7542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $compiler option to produce PIC
" >&5
7543 $as_echo_n "checking
for $compiler option to produce PIC...
" >&6; }
7545 if test "$GCC" = yes; then
7546 lt_prog_compiler_wl='-Wl,'
7547 lt_prog_compiler_static='-static'
7551 # All AIX code is PIC.
7552 if test "$host_cpu" = ia64; then
7553 # AIX 5 now supports IA64 processor
7554 lt_prog_compiler_static='-Bstatic'
7556 lt_prog_compiler_pic='-fPIC'
7562 # see comment about AmigaOS4 .so support
7563 lt_prog_compiler_pic='-fPIC'
7566 # FIXME: we need at least 68020 code to build shared libraries, but
7567 # adding the `-m68020' flag to GCC prevents building anything better,
7569 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7574 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7575 # PIC is the default for these OSes.
7578 mingw* | cygwin* | pw32* | os2* | cegcc*)
7579 # This hack is so that the source file can tell whether it is being
7580 # built for inclusion in a dll (and should export symbols for example).
7581 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7582 # (--disable-auto-import) libraries
7583 lt_prog_compiler_pic='-DDLL_EXPORT'
7586 darwin* | rhapsody*)
7587 # PIC is the default on this platform
7588 # Common symbols not allowed in MH_DYLIB files
7589 lt_prog_compiler_pic='-fno-common'
7593 # PIC is the default for Haiku.
7594 # The "-static" flag exists, but is broken.
7595 lt_prog_compiler_static=
7599 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7600 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7601 # sets the default TLS model and affects inlining.
7607 lt_prog_compiler_pic='-fPIC'
7613 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7614 # Instead, we relocate shared libraries at runtime.
7618 # Just because we use GCC doesn't mean we suddenly get shared libraries
7619 # on systems that don't support them.
7620 lt_prog_compiler_can_build_shared=no
7625 # QNX uses GNU C++, but need to define -shared option too, otherwise
7627 lt_prog_compiler_pic='-fPIC -shared'
7631 if test -d /usr/nec; then
7632 lt_prog_compiler_pic=-Kconform_pic
7637 lt_prog_compiler_pic='-fPIC'
7641 case $cc_basename in
7642 nvcc*) # Cuda Compiler Driver 2.2
7643 lt_prog_compiler_wl='-Xlinker '
7644 lt_prog_compiler_pic='-Xcompiler -fPIC'
7648 # PORTME Check for flag to pass linker flags through the system compiler.
7651 lt_prog_compiler_wl='-Wl,'
7652 if test "$host_cpu" = ia64; then
7653 # AIX 5 now supports IA64 processor
7654 lt_prog_compiler_static='-Bstatic'
7656 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7660 mingw* | cygwin* | pw32* | os2* | cegcc*)
7661 # This hack is so that the source file can tell whether it is being
7662 # built for inclusion in a dll (and should export symbols for example).
7663 lt_prog_compiler_pic='-DDLL_EXPORT'
7666 hpux9* | hpux10* | hpux11*)
7667 lt_prog_compiler_wl='-Wl,'
7668 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7675 lt_prog_compiler_pic='+Z'
7678 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7679 lt_prog_compiler_static='${wl}-a ${wl}archive'
7682 irix5* | irix6* | nonstopux*)
7683 lt_prog_compiler_wl='-Wl,'
7684 # PIC (with -KPIC) is the default.
7685 lt_prog_compiler_static='-non_shared'
7688 linux* | k*bsd*-gnu | kopensolaris*-gnu)
7689 case $cc_basename in
7690 # old Intel for x86_64 which still supported -KPIC.
7692 lt_prog_compiler_wl='-Wl,'
7693 lt_prog_compiler_pic='-KPIC'
7694 lt_prog_compiler_static='-static'
7696 # icc used to be incompatible with GCC.
7697 # ICC 10 doesn't accept -KPIC any more.
7699 lt_prog_compiler_wl='-Wl,'
7700 lt_prog_compiler_pic='-fPIC'
7701 lt_prog_compiler_static='-static'
7703 # Lahey Fortran 8.1.
7705 lt_prog_compiler_wl='-Wl,'
7706 lt_prog_compiler_pic='--shared'
7707 lt_prog_compiler_static='--static'
7709 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
7710 # Portland Group compilers (*not* the Pentium gcc compiler,
7711 # which looks to be a dead project)
7712 lt_prog_compiler_wl='-Wl,'
7713 lt_prog_compiler_pic='-fpic'
7714 lt_prog_compiler_static='-Bstatic'
7717 lt_prog_compiler_wl='-Wl,'
7718 # All Alpha code is PIC.
7719 lt_prog_compiler_static='-non_shared'
7721 xl* | bgxl* | bgf* | mpixl*)
7722 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
7723 lt_prog_compiler_wl='-Wl,'
7724 lt_prog_compiler_pic='-qpic'
7725 lt_prog_compiler_static='-qstaticlink'
7728 case `$CC -V 2>&1 | sed 5q` in
7729 *Sun\ F* | *Sun*Fortran*)
7730 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7731 lt_prog_compiler_pic='-KPIC'
7732 lt_prog_compiler_static='-Bstatic'
7733 lt_prog_compiler_wl=''
7737 lt_prog_compiler_pic='-KPIC'
7738 lt_prog_compiler_static='-Bstatic'
7739 lt_prog_compiler_wl='-Wl,'
7747 lt_prog_compiler_pic='-KPIC'
7748 lt_prog_compiler_static='-Bstatic'
7752 # QNX uses GNU C++, but need to define -shared option too, otherwise
7754 lt_prog_compiler_pic='-fPIC -shared'
7757 osf3* | osf4* | osf5*)
7758 lt_prog_compiler_wl='-Wl,'
7759 # All OSF/1 code is PIC.
7760 lt_prog_compiler_static='-non_shared'
7764 lt_prog_compiler_static='-non_shared'
7768 lt_prog_compiler_pic='-KPIC'
7769 lt_prog_compiler_static='-Bstatic'
7770 case $cc_basename in
7772 lt_prog_compiler_wl='-Qoption ld ';;
7774 lt_prog_compiler_wl='-Wl,';;
7779 lt_prog_compiler_wl='-Qoption ld '
7780 lt_prog_compiler_pic='-PIC'
7781 lt_prog_compiler_static='-Bstatic'
7784 sysv4 | sysv4.2uw2* | sysv4.3*)
7785 lt_prog_compiler_wl='-Wl,'
7786 lt_prog_compiler_pic='-KPIC'
7787 lt_prog_compiler_static='-Bstatic'
7791 if test -d /usr/nec ;then
7792 lt_prog_compiler_pic='-Kconform_pic'
7793 lt_prog_compiler_static='-Bstatic'
7797 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
7798 lt_prog_compiler_wl='-Wl,'
7799 lt_prog_compiler_pic='-KPIC'
7800 lt_prog_compiler_static='-Bstatic'
7804 lt_prog_compiler_wl='-Wl,'
7805 lt_prog_compiler_can_build_shared=no
7809 lt_prog_compiler_pic='-pic'
7810 lt_prog_compiler_static='-Bstatic'
7814 lt_prog_compiler_can_build_shared=no
7820 # For platforms which do not support PIC, -DPIC is meaningless:
7822 lt_prog_compiler_pic=
7825 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7828 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_prog_compiler_pic" >&5
7829 $as_echo "$lt_prog_compiler_pic" >&6; }
7837 # Check to make sure the PIC flag actually works.
7839 if test -n "$lt_prog_compiler_pic"; then
7840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler PIC flag
$lt_prog_compiler_pic works
" >&5
7841 $as_echo_n "checking
if $compiler PIC flag
$lt_prog_compiler_pic works...
" >&6; }
7842 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
7843 $as_echo_n "(cached
) " >&6
7845 lt_cv_prog_compiler_pic_works=no
7846 ac_outfile=conftest.$ac_objext
7847 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7848 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7849 # Insert the option either (1) after the last *FLAGS variable, or
7850 # (2) before a word containing "conftest.
", or (3) at the end.
7851 # Note that $ac_compile itself does not contain backslashes and begins
7852 # with a dollar sign (not a hyphen), so the echo should work correctly.
7853 # The option is referenced via a variable to avoid confusing sed.
7854 lt_compile=`echo "$ac_compile" | $SED \
7855 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7856 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7857 -e 's:$: $lt_compiler_flag:'`
7858 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
7859 (eval "$lt_compile" 2>conftest.err)
7861 cat conftest.err >&5
7862 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7863 if (exit $ac_status) && test -s "$ac_outfile"; then
7864 # The compiler can only warn and ignore the option if not recognized
7865 # So say no if there are warnings other than the usual output.
7866 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7867 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7868 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7869 lt_cv_prog_compiler_pic_works=yes
7875 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_pic_works" >&5
7876 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
7878 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
7879 case $lt_prog_compiler_pic in
7881 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
7884 lt_prog_compiler_pic=
7885 lt_prog_compiler_can_build_shared=no
7896 # Check to make sure the static flag actually works.
7898 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler static flag
$lt_tmp_static_flag works
" >&5
7900 $as_echo_n "checking
if $compiler static flag
$lt_tmp_static_flag works...
" >&6; }
7901 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
7902 $as_echo_n "(cached
) " >&6
7904 lt_cv_prog_compiler_static_works=no
7905 save_LDFLAGS="$LDFLAGS"
7906 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
7907 echo "$lt_simple_link_test_code" > conftest.$ac_ext
7908 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
7909 # The linker can only warn and ignore the option if not recognized
7910 # So say no if there are warnings
7911 if test -s conftest.err; then
7912 # Append any errors to the config.log.
7913 cat conftest.err 1>&5
7914 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
7915 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7916 if diff conftest.exp conftest.er2 >/dev/null; then
7917 lt_cv_prog_compiler_static_works=yes
7920 lt_cv_prog_compiler_static_works=yes
7924 LDFLAGS="$save_LDFLAGS"
7927 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_static_works" >&5
7928 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
7930 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
7933 lt_prog_compiler_static=
7942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
7943 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
7944 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
7945 $as_echo_n "(cached
) " >&6
7947 lt_cv_prog_compiler_c_o=no
7948 $RM -r conftest 2>/dev/null
7952 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7954 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
7955 # Insert the option either (1) after the last *FLAGS variable, or
7956 # (2) before a word containing "conftest.
", or (3) at the end.
7957 # Note that $ac_compile itself does not contain backslashes and begins
7958 # with a dollar sign (not a hyphen), so the echo should work correctly.
7959 lt_compile=`echo "$ac_compile" | $SED \
7960 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7961 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7962 -e 's:$: $lt_compiler_flag:'`
7963 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
7964 (eval "$lt_compile" 2>out/conftest.err)
7966 cat out/conftest.err >&5
7967 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7968 if (exit $ac_status) && test -s out/conftest2.$ac_objext
7970 # The compiler can only warn and ignore the option if not recognized
7971 # So say no if there are warnings
7972 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
7973 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7974 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7975 lt_cv_prog_compiler_c_o=yes
7980 # SGI C++ compiler will create directory out/ii_files/ for
7981 # template instantiation
7982 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7983 $RM out/* && rmdir out
7989 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
7990 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
7998 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
7999 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8000 $as_echo_n "(cached
) " >&6
8002 lt_cv_prog_compiler_c_o=no
8003 $RM -r conftest 2>/dev/null
8007 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8009 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
8010 # Insert the option either (1) after the last *FLAGS variable, or
8011 # (2) before a word containing "conftest.
", or (3) at the end.
8012 # Note that $ac_compile itself does not contain backslashes and begins
8013 # with a dollar sign (not a hyphen), so the echo should work correctly.
8014 lt_compile=`echo "$ac_compile" | $SED \
8015 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8016 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8017 -e 's:$: $lt_compiler_flag:'`
8018 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8019 (eval "$lt_compile" 2>out/conftest.err)
8021 cat out/conftest.err >&5
8022 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8023 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8025 # The compiler can only warn and ignore the option if not recognized
8026 # So say no if there are warnings
8027 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8028 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8029 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8030 lt_cv_prog_compiler_c_o=yes
8035 # SGI C++ compiler will create directory out/ii_files/ for
8036 # template instantiation
8037 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8038 $RM out/* && rmdir out
8044 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
8045 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8050 hard_links="nottested
"
8051 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8052 # do not overwrite the value of need_locks provided by the user
8053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if we can lock with hard links
" >&5
8054 $as_echo_n "checking
if we can lock with hard links...
" >&6; }
8057 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8059 ln conftest.a conftest.b 2>&5 || hard_links=no
8060 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8061 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $hard_links" >&5
8062 $as_echo "$hard_links" >&6; }
8063 if test "$hard_links" = no; then
8064 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&5
8065 $as_echo "$as_me: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&2;}
8077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the
$compiler linker
($LD) supports shared libraries
" >&5
8078 $as_echo_n "checking whether the
$compiler linker
($LD) supports shared libraries...
" >&6; }
8081 allow_undefined_flag=
8082 always_export_symbols=no
8084 archive_expsym_cmds=
8085 compiler_needs_object=no
8086 enable_shared_with_static_runtimes=no
8087 export_dynamic_flag_spec=
8088 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8089 hardcode_automatic=no
8091 hardcode_direct_absolute=no
8092 hardcode_libdir_flag_spec=
8093 hardcode_libdir_flag_spec_ld=
8094 hardcode_libdir_separator=
8096 hardcode_shlibpath_var=unsupported
8098 link_all_deplibs=unknown
8101 old_archive_from_new_cmds=
8102 old_archive_from_expsyms_cmds=
8103 thread_safe_flag_spec=
8104 whole_archive_flag_spec=
8105 # include_expsyms should be a list of space-separated symbols to be *always*
8106 # included in the symbol list
8108 # exclude_expsyms can be an extended regexp of symbols to exclude
8109 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8110 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8111 # as well as any symbol that contains `d'.
8112 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8113 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8114 # platforms (ab)use it in PIC code, but their linkers get confused if
8115 # the symbol is explicitly referenced. Since portable code cannot
8116 # rely on this symbol name, it's probably fine to never include it in
8117 # preloaded symbol tables.
8118 # Exclude shared library initialization/finalization symbols.
8119 extract_expsyms_cmds=
8122 cygwin* | mingw* | pw32* | cegcc*)
8123 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8124 # When not using gcc, we currently assume that we are using
8125 # Microsoft Visual C++.
8126 if test "$GCC" != yes; then
8131 # we just hope/assume this is gcc and not c89 (= MSVC++)
8141 # On some targets, GNU ld is compatible enough with the native linker
8142 # that we're better off using the native interface for both.
8143 lt_use_gnu_ld_interface=no
8144 if test "$with_gnu_ld" = yes; then
8147 # The AIX port of GNU ld has always aspired to compatibility
8148 # with the native linker. However, as the warning in the GNU ld
8149 # block says, versions before 2.19.5* couldn't really create working
8150 # shared libraries, regardless of the interface used.
8151 case `$LD -v 2>&1` in
8152 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8153 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8154 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8156 lt_use_gnu_ld_interface=yes
8161 lt_use_gnu_ld_interface=yes
8166 if test "$lt_use_gnu_ld_interface" = yes; then
8167 # If archive_cmds runs LD, not CC, wlarc should be empty
8170 # Set some defaults for GNU ld with shared library support. These
8171 # are reset later if shared libraries are not supported. Putting them
8172 # here allows them to be overridden if necessary.
8173 runpath_var=LD_RUN_PATH
8174 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8175 export_dynamic_flag_spec='${wl}--export-dynamic'
8176 # ancient GNU ld didn't support --whole-archive et. al.
8177 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8178 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8180 whole_archive_flag_spec=
8182 supports_anon_versioning=no
8183 case `$LD -v 2>&1` in
8184 *GNU\ gold*) supports_anon_versioning=yes ;;
8185 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8186 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8187 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8188 *\ 2.11.*) ;; # other 2.11 versions
8189 *) supports_anon_versioning=yes ;;
8192 # See if GNU ld supports shared libraries.
8195 # On AIX/PPC, the GNU linker is very broken
8196 if test "$host_cpu" != ia64; then
8200 *** Warning: the GNU linker, at least up to release 2.19, is reported
8201 *** to be unable to reliably create shared libraries on AIX.
8202 *** Therefore, libtool is disabling shared libraries support. If you
8203 *** really care for shared libraries, you may want to install binutils
8204 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8205 *** You will then need to restart the configuration process.
8214 # see comment about AmigaOS4 .so support
8215 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8216 archive_expsym_cmds=''
8219 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)'
8220 hardcode_libdir_flag_spec
='-L$libdir'
8221 hardcode_minus_L
=yes
8227 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8228 allow_undefined_flag
=unsupported
8229 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8230 # support --undefined. This deserves some investigation. FIXME
8231 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8237 cygwin
* | mingw
* | pw32
* | cegcc
*)
8238 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8239 # as there is no search path for DLLs.
8240 hardcode_libdir_flag_spec
='-L$libdir'
8241 export_dynamic_flag_spec
='${wl}--export-all-symbols'
8242 allow_undefined_flag
=unsupported
8243 always_export_symbols
=no
8244 enable_shared_with_static_runtimes
=yes
8245 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8247 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8248 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8249 # If the export-symbols file already is a .def file (1st line
8250 # is EXPORTS), use it as is; otherwise, prepend...
8251 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8252 cp $export_symbols $output_objdir/$soname.def;
8254 echo EXPORTS > $output_objdir/$soname.def;
8255 cat $export_symbols >> $output_objdir/$soname.def;
8257 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8264 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8265 link_all_deplibs
=yes
8270 hardcode_shlibpath_var
=no
8271 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8272 export_dynamic_flag_spec
='${wl}-E'
8273 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8274 # Instead, shared libraries are loaded at an image base (0x10000000 by
8275 # default) and relocated if they conflict, which is a slow very memory
8276 # consuming and fragmenting process. To avoid this, we pick a random,
8277 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8278 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8279 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8280 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'
8283 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8285 if test "$host_os" = linux-dietlibc
; then
8286 case $cc_basename in
8287 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8290 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8291 && test "$tmp_diet" = no
8293 tmp_addflag
=' $pic_flag'
8294 tmp_sharedflag
='-shared'
8295 case $cc_basename,$host_cpu in
8296 pgcc
*) # Portland Group C compiler
8297 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'
8298 tmp_addflag
=' $pic_flag'
8300 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8301 # Portland Group f77 and f90 compilers
8302 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'
8303 tmp_addflag
=' $pic_flag -Mnomain' ;;
8304 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8305 tmp_addflag
=' -i_dynamic' ;;
8306 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8307 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8308 ifc
* | ifort
*) # Intel Fortran compiler
8309 tmp_addflag
=' -nofor_main' ;;
8310 lf95
*) # Lahey Fortran 8.1
8311 whole_archive_flag_spec
=
8312 tmp_sharedflag
='--shared' ;;
8313 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8314 tmp_sharedflag
='-qmkshrobj'
8316 nvcc
*) # Cuda Compiler Driver 2.2
8317 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'
8318 compiler_needs_object
=yes
8321 case `$CC -V 2>&1 | sed 5q` in
8322 *Sun\ C
*) # Sun C 5.9
8323 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'
8324 compiler_needs_object
=yes
8325 tmp_sharedflag
='-G' ;;
8326 *Sun\ F
*) # Sun Fortran 8.3
8327 tmp_sharedflag
='-G' ;;
8329 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8331 if test "x$supports_anon_versioning" = xyes
; then
8332 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8333 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8334 echo "local: *; };" >> $output_objdir/$libname.ver~
8335 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8338 case $cc_basename in
8339 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
8340 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8341 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
8342 hardcode_libdir_flag_spec
=
8343 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8344 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8345 if test "x$supports_anon_versioning" = xyes
; then
8346 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8347 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8348 echo "local: *; };" >> $output_objdir/$libname.ver~
8349 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8359 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8360 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8363 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8364 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8369 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
8373 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8374 *** create shared libraries on Solaris systems. Therefore, libtool
8375 *** is disabling shared libraries support. We urge you to upgrade GNU
8376 *** binutils to release 2.9.1 or newer. Another option is to modify
8377 *** your PATH or compiler configuration so that the native linker is
8378 *** used, and then restart.
8381 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8382 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8383 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8389 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8390 case `$LD -v 2>&1` in
8391 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8395 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8396 *** reliably create shared libraries on SCO systems. Therefore, libtool
8397 *** is disabling shared libraries support. We urge you to upgrade GNU
8398 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8399 *** your PATH or compiler configuration so that the native linker is
8400 *** used, and then restart.
8405 # For security reasons, it is highly recommended that you always
8406 # use absolute paths for naming shared libraries, and exclude the
8407 # DT_RUNPATH tag from executables and libraries. But doing so
8408 # requires that you compile everything twice, which is a pain.
8409 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8410 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8411 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8412 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8421 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8424 hardcode_shlibpath_var
=no
8428 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8429 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8430 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8437 if test "$ld_shlibs" = no
; then
8439 hardcode_libdir_flag_spec
=
8440 export_dynamic_flag_spec
=
8441 whole_archive_flag_spec
=
8444 # PORTME fill in a description of your system's linker (not GNU ld)
8447 allow_undefined_flag
=unsupported
8448 always_export_symbols
=yes
8449 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'
8450 # Note: this linker hardcodes the directories in LIBPATH if there
8451 # are no directories specified by -L.
8452 hardcode_minus_L
=yes
8453 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8454 # Neither direct hardcoding nor static linking is supported with a
8456 hardcode_direct
=unsupported
8461 if test "$host_cpu" = ia64
; then
8462 # On IA64, the linker does run time linking by default, so we don't
8463 # have to do anything special.
8464 aix_use_runtimelinking
=no
8465 exp_sym_flag
='-Bexport'
8468 # If we're using GNU nm, then we don't want the "-C" option.
8469 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8470 # Also, AIX nm treats weak defined symbols like other global
8471 # defined symbols, whereas GNU nm marks them as "W".
8472 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
8473 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'
8475 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'
8477 aix_use_runtimelinking
=no
8479 # Test if we are trying to use run time linking or normal
8480 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8481 # need to do runtime linking.
8482 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
8483 for ld_flag
in $LDFLAGS; do
8484 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
8485 aix_use_runtimelinking
=yes
8492 exp_sym_flag
='-bexport'
8493 no_entry_flag
='-bnoentry'
8496 # When large executables or shared objects are built, AIX ld can
8497 # have problems creating the table of contents. If linking a library
8498 # or program results in "error TOC overflow" add -mminimal-toc to
8499 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8500 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8504 hardcode_direct_absolute
=yes
8505 hardcode_libdir_separator
=':'
8506 link_all_deplibs
=yes
8507 file_list_spec
='${wl}-f,'
8509 if test "$GCC" = yes; then
8510 case $host_os in aix4.
[012]|aix4.
[012].
*)
8511 # We only want to do this on AIX 4.2 and lower, the check
8512 # below for broken collect2 doesn't work under 4.3+
8513 collect2name
=`${CC} -print-prog-name=collect2`
8514 if test -f "$collect2name" &&
8515 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
8517 # We have reworked collect2
8520 # We have old collect2
8521 hardcode_direct
=unsupported
8522 # It fails to find uninstalled libraries when the uninstalled
8523 # path is not listed in the libpath. Setting hardcode_minus_L
8524 # to unsupported forces relinking
8525 hardcode_minus_L
=yes
8526 hardcode_libdir_flag_spec
='-L$libdir'
8527 hardcode_libdir_separator
=
8531 shared_flag
='-shared'
8532 if test "$aix_use_runtimelinking" = yes; then
8533 shared_flag
="$shared_flag "'${wl}-G'
8537 if test "$host_cpu" = ia64
; then
8538 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8539 # chokes on -Wl,-G. The following line is correct:
8542 if test "$aix_use_runtimelinking" = yes; then
8543 shared_flag
='${wl}-G'
8545 shared_flag
='${wl}-bM:SRE'
8550 export_dynamic_flag_spec
='${wl}-bexpall'
8551 # It seems that -bexpall does not export symbols beginning with
8552 # underscore (_), so it is better to generate a list of symbols to export.
8553 always_export_symbols
=yes
8554 if test "$aix_use_runtimelinking" = yes; then
8555 # Warning - without using the other runtime loading flags (-brtl),
8556 # -berok will link without error, but may produce a broken library.
8557 allow_undefined_flag
='-berok'
8558 # Determine the default libpath from the value encoded in an
8560 if test x
$gcc_no_link = xyes
; then
8561 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8563 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8564 /* end confdefs.h. */
8574 if ac_fn_c_try_link
"$LINENO"; then :
8576 lt_aix_libpath_sed
='
8577 /Import File Strings/,/^$/ {
8583 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8584 # Check for a 64-bit object if we didn't find anything.
8585 if test -z "$aix_libpath"; then
8586 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8589 rm -f core conftest.err conftest.
$ac_objext \
8590 conftest
$ac_exeext conftest.
$ac_ext
8591 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8593 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8594 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"
8596 if test "$host_cpu" = ia64
; then
8597 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
8598 allow_undefined_flag
="-z nodefs"
8599 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"
8601 # Determine the default libpath from the value encoded in an
8603 if test x
$gcc_no_link = xyes
; then
8604 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8606 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8607 /* end confdefs.h. */
8617 if ac_fn_c_try_link
"$LINENO"; then :
8619 lt_aix_libpath_sed
='
8620 /Import File Strings/,/^$/ {
8626 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8627 # Check for a 64-bit object if we didn't find anything.
8628 if test -z "$aix_libpath"; then
8629 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8632 rm -f core conftest.err conftest.
$ac_objext \
8633 conftest
$ac_exeext conftest.
$ac_ext
8634 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8636 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8637 # Warning - without using the other run time loading flags,
8638 # -berok will link without error, but may produce a broken library.
8639 no_undefined_flag
=' ${wl}-bernotok'
8640 allow_undefined_flag
=' ${wl}-berok'
8641 if test "$with_gnu_ld" = yes; then
8642 # We only use this code for GNU lds that support --whole-archive.
8643 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
8645 # Exported symbols can be pulled into shared objects from archives
8646 whole_archive_flag_spec
='$convenience'
8648 archive_cmds_need_lc
=yes
8649 # This is similar to how AIX traditionally builds its shared libraries.
8650 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'
8658 # see comment about AmigaOS4 .so support
8659 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8660 archive_expsym_cmds
=''
8663 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)'
8664 hardcode_libdir_flag_spec
='-L$libdir'
8665 hardcode_minus_L
=yes
8671 export_dynamic_flag_spec
=-rdynamic
8674 cygwin
* | mingw
* | pw32
* | cegcc
*)
8675 # When not using gcc, we currently assume that we are using
8676 # Microsoft Visual C++.
8677 # hardcode_libdir_flag_spec is actually meaningless, as there is
8678 # no search path for DLLs.
8679 hardcode_libdir_flag_spec
=' '
8680 allow_undefined_flag
=unsupported
8681 # Tell ltmain to make .lib files, not .a files.
8683 # Tell ltmain to make .dll files, not .so files.
8685 # FIXME: Setting linknames here is a bad hack.
8686 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
8687 # The linker will automatically build a .lib file if we build a DLL.
8688 old_archive_from_new_cmds
='true'
8689 # FIXME: Should let the user specify the lib program.
8690 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
8691 fix_srcfile_path
='`cygpath -w "$srcfile"`'
8692 enable_shared_with_static_runtimes
=yes
8695 darwin
* | rhapsody
*)
8698 archive_cmds_need_lc
=no
8700 hardcode_automatic
=yes
8701 hardcode_shlibpath_var
=unsupported
8702 if test "$lt_cv_ld_force_load" = "yes"; then
8703 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\"`'
8705 whole_archive_flag_spec
=''
8707 link_all_deplibs
=yes
8708 allow_undefined_flag
="$_lt_dar_allow_undefined"
8709 case $cc_basename in
8710 ifort
*) _lt_dar_can_shared
=yes ;;
8711 *) _lt_dar_can_shared
=$GCC ;;
8713 if test "$_lt_dar_can_shared" = "yes"; then
8714 output_verbose_link_cmd
=func_echo_all
8715 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8716 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8717 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}"
8718 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}"
8727 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8728 hardcode_libdir_flag_spec
='-L$libdir'
8729 hardcode_shlibpath_var
=no
8732 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8733 # support. Future versions do this automatically, but an explicit c++rt0.o
8734 # does not break anything, and helps significantly (at the cost of a little
8737 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8738 hardcode_libdir_flag_spec
='-R$libdir'
8740 hardcode_shlibpath_var
=no
8743 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8745 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8747 hardcode_minus_L
=yes
8748 hardcode_shlibpath_var
=no
8751 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8752 freebsd
* | dragonfly
*)
8753 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8754 hardcode_libdir_flag_spec
='-R$libdir'
8756 hardcode_shlibpath_var
=no
8760 if test "$GCC" = yes; then
8761 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'
8763 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'
8765 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8766 hardcode_libdir_separator
=:
8769 # hardcode_minus_L: Not really in the search PATH,
8770 # but as the default location of the library.
8771 hardcode_minus_L
=yes
8772 export_dynamic_flag_spec
='${wl}-E'
8776 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
8777 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8779 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8781 if test "$with_gnu_ld" = no
; then
8782 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8783 hardcode_libdir_flag_spec_ld
='+b $libdir'
8784 hardcode_libdir_separator
=:
8786 hardcode_direct_absolute
=yes
8787 export_dynamic_flag_spec
='${wl}-E'
8788 # hardcode_minus_L: Not really in the search PATH,
8789 # but as the default location of the library.
8790 hardcode_minus_L
=yes
8795 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
8798 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8801 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8804 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8810 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8813 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8817 # Older versions of the 11.00 compiler do not understand -b yet
8818 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
8819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
8820 $as_echo_n "checking if $CC understands -b... " >&6; }
8821 if test "${lt_cv_prog_compiler__b+set}" = set; then :
8822 $as_echo_n "(cached) " >&6
8824 lt_cv_prog_compiler__b
=no
8825 save_LDFLAGS
="$LDFLAGS"
8826 LDFLAGS
="$LDFLAGS -b"
8827 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8828 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8829 # The linker can only warn and ignore the option if not recognized
8830 # So say no if there are warnings
8831 if test -s conftest.err
; then
8832 # Append any errors to the config.log.
8833 cat conftest.err
1>&5
8834 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
8835 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8836 if diff conftest.exp conftest.er2
>/dev
/null
; then
8837 lt_cv_prog_compiler__b
=yes
8840 lt_cv_prog_compiler__b
=yes
8844 LDFLAGS
="$save_LDFLAGS"
8847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
8848 $as_echo "$lt_cv_prog_compiler__b" >&6; }
8850 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
8851 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8853 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8859 if test "$with_gnu_ld" = no
; then
8860 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8861 hardcode_libdir_separator
=:
8866 hardcode_shlibpath_var
=no
8870 hardcode_direct_absolute
=yes
8871 export_dynamic_flag_spec
='${wl}-E'
8873 # hardcode_minus_L: Not really in the search PATH,
8874 # but as the default location of the library.
8875 hardcode_minus_L
=yes
8881 irix5
* | irix6
* | nonstopux
*)
8882 if test "$GCC" = yes; then
8883 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'
8884 # Try to use the -exported_symbol ld option, if it does not
8885 # work, assume that -exports_file does not work either and
8886 # implicitly export all symbols.
8887 save_LDFLAGS
="$LDFLAGS"
8888 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8889 if test x
$gcc_no_link = xyes
; then
8890 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8892 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8893 /* end confdefs.h. */
8896 if ac_fn_c_try_link
"$LINENO"; then :
8897 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'
8900 rm -f core conftest.err conftest.
$ac_objext \
8901 conftest
$ac_exeext conftest.
$ac_ext
8902 LDFLAGS
="$save_LDFLAGS"
8904 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'
8905 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'
8907 archive_cmds_need_lc
='no'
8908 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8909 hardcode_libdir_separator
=:
8911 link_all_deplibs
=yes
8915 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8916 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8918 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8920 hardcode_libdir_flag_spec
='-R$libdir'
8922 hardcode_shlibpath_var
=no
8926 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8928 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8929 hardcode_libdir_separator
=:
8930 hardcode_shlibpath_var
=no
8937 if test -f /usr
/libexec
/ld.so
; then
8939 hardcode_shlibpath_var
=no
8940 hardcode_direct_absolute
=yes
8941 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8942 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8943 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8944 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8945 export_dynamic_flag_spec
='${wl}-E'
8948 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
8949 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8950 hardcode_libdir_flag_spec
='-R$libdir'
8953 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8954 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8964 hardcode_libdir_flag_spec
='-L$libdir'
8965 hardcode_minus_L
=yes
8966 allow_undefined_flag
=unsupported
8967 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'
8968 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8972 if test "$GCC" = yes; then
8973 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8974 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'
8976 allow_undefined_flag
=' -expect_unresolved \*'
8977 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'
8979 archive_cmds_need_lc
='no'
8980 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8981 hardcode_libdir_separator
=:
8984 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
8985 if test "$GCC" = yes; then
8986 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8987 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'
8988 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8990 allow_undefined_flag
=' -expect_unresolved \*'
8991 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'
8992 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~
8993 $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'
8995 # Both c and cxx compiler support -rpath directly
8996 hardcode_libdir_flag_spec
='-rpath $libdir'
8998 archive_cmds_need_lc
='no'
8999 hardcode_libdir_separator
=:
9003 no_undefined_flag
=' -z defs'
9004 if test "$GCC" = yes; then
9006 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9007 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9008 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9010 case `$CC -V 2>&1` in
9013 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9014 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9015 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9019 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9020 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9021 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9025 hardcode_libdir_flag_spec
='-R$libdir'
9026 hardcode_shlibpath_var
=no
9028 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9030 # The compiler driver will combine and reorder linker options,
9031 # but understands `-z linker_flag'. GCC discards it without `$wl',
9032 # but is careful enough not to reorder.
9033 # Supported since Solaris 2.6 (maybe 2.5.1?)
9034 if test "$GCC" = yes; then
9035 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9037 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9041 link_all_deplibs
=yes
9045 if test "x$host_vendor" = xsequent
; then
9046 # Use $CC to link under sequent, because it throws in some extra .o
9047 # files that make .init and .fini sections work.
9048 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9050 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9052 hardcode_libdir_flag_spec
='-L$libdir'
9054 hardcode_minus_L
=yes
9055 hardcode_shlibpath_var
=no
9059 case $host_vendor in
9061 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9062 hardcode_direct
=yes # is this really true???
9065 ## LD is ld it makes a PLAMLIB
9066 ## CC just makes a GrossModule.
9067 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9068 reload_cmds
='$CC -r -o $output$reload_objs'
9072 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9073 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9076 runpath_var
='LD_RUN_PATH'
9077 hardcode_shlibpath_var
=no
9081 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9082 hardcode_shlibpath_var
=no
9083 export_dynamic_flag_spec
='-Bexport'
9087 if test -d /usr
/nec
; then
9088 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9089 hardcode_shlibpath_var
=no
9090 runpath_var
=LD_RUN_PATH
9091 hardcode_runpath_var
=yes
9096 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9097 no_undefined_flag
='${wl}-z,text'
9098 archive_cmds_need_lc
=no
9099 hardcode_shlibpath_var
=no
9100 runpath_var
='LD_RUN_PATH'
9102 if test "$GCC" = yes; then
9103 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9104 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9106 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9107 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9111 sysv5
* | sco3.2v5
* | sco5v6
*)
9112 # Note: We can NOT use -z defs as we might desire, because we do not
9113 # link with -lc, and that would cause any symbols used from libc to
9114 # always be unresolved, which means just about no library would
9115 # ever link correctly. If we're not using GNU ld we use -z text
9116 # though, which does catch some bad symbols but isn't as heavy-handed
9118 no_undefined_flag
='${wl}-z,text'
9119 allow_undefined_flag
='${wl}-z,nodefs'
9120 archive_cmds_need_lc
=no
9121 hardcode_shlibpath_var
=no
9122 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9123 hardcode_libdir_separator
=':'
9124 link_all_deplibs
=yes
9125 export_dynamic_flag_spec
='${wl}-Bexport'
9126 runpath_var
='LD_RUN_PATH'
9128 if test "$GCC" = yes; then
9129 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9130 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9132 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9133 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9138 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9139 hardcode_libdir_flag_spec
='-L$libdir'
9140 hardcode_shlibpath_var
=no
9148 if test x
$host_vendor = xsni
; then
9150 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9151 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9158 $as_echo "$ld_shlibs" >&6; }
9159 test "$ld_shlibs" = no
&& can_build_shared
=no
9161 with_gnu_ld
=$with_gnu_ld
9178 # Do we need to explicitly link libc?
9180 case "x$archive_cmds_need_lc" in
9182 # Assume -lc should be added
9183 archive_cmds_need_lc
=yes
9185 if test "$enable_shared" = yes && test "$GCC" = yes; then
9186 case $archive_cmds in
9188 # FIXME: we may have to deal with multi-command sequences.
9191 # Test whether the compiler implicitly links with -lc since on some
9192 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9193 # to ld, don't add -lc before -lgcc.
9194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9195 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9196 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
9197 $as_echo_n "(cached) " >&6
9200 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9202 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9203 (eval $ac_compile) 2>&5
9205 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9206 test $ac_status = 0; } 2>conftest.err
; then
9209 libobjs
=conftest.
$ac_objext
9211 wl
=$lt_prog_compiler_wl
9212 pic_flag
=$lt_prog_compiler_pic
9218 lt_save_allow_undefined_flag
=$allow_undefined_flag
9219 allow_undefined_flag
=
9220 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9221 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9223 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9224 test $ac_status = 0; }
9226 lt_cv_archive_cmds_need_lc
=no
9228 lt_cv_archive_cmds_need_lc
=yes
9230 allow_undefined_flag
=$lt_save_allow_undefined_flag
9232 cat conftest.err
1>&5
9237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9238 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9239 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
9402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9403 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9405 if test "$GCC" = yes; then
9407 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
9408 *) lt_awk_arg
="/^libraries:/" ;;
9411 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
9412 *) lt_sed_strip_eq
="s,=/,/,g" ;;
9414 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9415 case $lt_search_path_spec in
9417 # if the path contains ";" then we assume it to be the separator
9418 # otherwise default to the standard path separator (i.e. ":") - it is
9419 # assumed that no part of a normal pathname contains ";" but that should
9420 # okay in the real world where ";" in dirpaths is itself problematic.
9421 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9424 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9427 # Ok, now we have the path, separated by spaces, we can step through it
9428 # and add multilib dir if necessary.
9429 lt_tmp_lt_search_path_spec
=
9430 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9431 for lt_sys_path
in $lt_search_path_spec; do
9432 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9433 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9435 test -d "$lt_sys_path" && \
9436 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
9439 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9440 BEGIN {RS=" "; FS="/|\n";} {
9443 for (lt_i = NF; lt_i > 0; lt_i--) {
9444 if ($lt_i != "" && $lt_i != ".") {
9445 if ($lt_i == "..") {
9448 if (lt_count == 0) {
9449 lt_foo="/" $lt_i lt_foo;
9456 if (lt_foo != "") { lt_freq[lt_foo]++; }
9457 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9459 # AWK program above erroneously prepends '/' to C:/dos/paths
9462 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
9463 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
9465 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
9467 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
9470 libname_spec
='lib$name'
9478 shlibpath_overrides_runpath
=unknown
9480 dynamic_linker
="$host_os ld.so"
9481 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
9482 need_lib_prefix
=unknown
9483 hardcode_into_libs
=no
9485 # when you set need_version to no, make sure it does not cause -set_version
9486 # flags to be left without arguments
9487 need_version
=unknown
9492 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
9493 shlibpath_var
=LIBPATH
9495 # AIX 3 has no versioning support, so we append a major version to the name.
9496 soname_spec
='${libname}${release}${shared_ext}$major'
9503 hardcode_into_libs
=yes
9504 if test "$host_cpu" = ia64
; then
9505 # AIX 5 supports IA64
9506 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9507 shlibpath_var
=LD_LIBRARY_PATH
9509 # With GCC up to 2.95.x, collect2 would create an import file
9510 # for dependence libraries. The import file would start with
9511 # the line `#! .'. This would cause the generated library to
9512 # depend on `.', always an invalid library. This was fixed in
9513 # development snapshots of GCC prior to 3.0.
9515 aix4 | aix4.
[01] | aix4.
[01].
*)
9516 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9518 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
9525 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9526 # soname into executable. Probably we can add versioning support to
9527 # collect2, so additional links can be useful in future.
9528 if test "$aix_use_runtimelinking" = yes; then
9529 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9530 # instead of lib<name>.a to let people know that these are not
9531 # typical AIX shared libraries.
9532 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9534 # We preserve .a as extension for shared libraries through AIX4.2
9535 # and later when we are not doing run time linking.
9536 library_names_spec
='${libname}${release}.a $libname.a'
9537 soname_spec
='${libname}${release}${shared_ext}$major'
9539 shlibpath_var
=LIBPATH
9546 # Since July 2007 AmigaOS4 officially supports .so libraries.
9547 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9548 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9551 library_names_spec
='$libname.ixlibrary $libname.a'
9552 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9553 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'
9559 library_names_spec
='${libname}${shared_ext}'
9560 dynamic_linker
="$host_os ld.so"
9561 shlibpath_var
=LIBRARY_PATH
9567 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9568 soname_spec
='${libname}${release}${shared_ext}$major'
9569 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
9570 shlibpath_var
=LD_LIBRARY_PATH
9571 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9572 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
9573 # the default ld.so.conf also contains /usr/contrib/lib and
9574 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9575 # libtool to hard-code these into programs
9578 cygwin
* | mingw
* | pw32
* | cegcc
*)
9579 version_type
=windows
9584 case $GCC,$host_os in
9585 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
9586 library_names_spec
='$libname.dll.a'
9587 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9588 postinstall_cmds
='base_file=`basename \${file}`~
9589 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9590 dldir=$destdir/`dirname \$dlpath`~
9591 test -d \$dldir || mkdir -p \$dldir~
9592 $install_prog $dir/$dlname \$dldir/$dlname~
9593 chmod a+x \$dldir/$dlname~
9594 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9595 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9597 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9598 dlpath=$dir/\$dldll~
9600 shlibpath_overrides_runpath
=yes
9604 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9605 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9607 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
9610 # MinGW DLLs use traditional 'lib' prefix
9611 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9614 # pw32 DLLs use 'pw' prefix rather than 'lib'
9615 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9621 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9624 dynamic_linker
='Win32 ld.exe'
9625 # FIXME: first we should search . and the directory the executable is in
9629 darwin
* | rhapsody
*)
9630 dynamic_linker
="$host_os dyld"
9634 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9635 soname_spec
='${libname}${release}${major}$shared_ext'
9636 shlibpath_overrides_runpath
=yes
9637 shlibpath_var
=DYLD_LIBRARY_PATH
9638 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
9640 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
9641 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
9648 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9649 soname_spec
='${libname}${release}${shared_ext}$major'
9650 shlibpath_var
=LD_LIBRARY_PATH
9653 freebsd
* | dragonfly
*)
9654 # DragonFly does not have aout. When/if they implement a new
9655 # versioning mechanism, adjust this.
9656 if test -x /usr
/bin
/objformat
; then
9657 objformat
=`/usr/bin/objformat`
9660 freebsd
[23].
*) objformat
=aout
;;
9664 version_type
=freebsd-
$objformat
9665 case $version_type in
9667 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9672 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9676 shlibpath_var
=LD_LIBRARY_PATH
9679 shlibpath_overrides_runpath
=yes
9681 freebsd3.
[01]* | freebsdelf3.
[01]*)
9682 shlibpath_overrides_runpath
=yes
9683 hardcode_into_libs
=yes
9685 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
9686 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
9687 shlibpath_overrides_runpath
=no
9688 hardcode_into_libs
=yes
9690 *) # from 4.6 on, and DragonFly
9691 shlibpath_overrides_runpath
=yes
9692 hardcode_into_libs
=yes
9701 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9702 soname_spec
='${libname}${release}${shared_ext}$major'
9703 shlibpath_var
=LD_LIBRARY_PATH
9704 hardcode_into_libs
=yes
9711 dynamic_linker
="$host_os runtime_loader"
9712 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9713 soname_spec
='${libname}${release}${shared_ext}$major'
9714 shlibpath_var
=LIBRARY_PATH
9715 shlibpath_overrides_runpath
=yes
9716 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
9717 hardcode_into_libs
=yes
9720 hpux9
* | hpux10
* | hpux11
*)
9721 # Give a soname corresponding to the major version so that dld.sl refuses to
9722 # link against other versions.
9729 hardcode_into_libs
=yes
9730 dynamic_linker
="$host_os dld.so"
9731 shlibpath_var
=LD_LIBRARY_PATH
9732 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9733 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9734 soname_spec
='${libname}${release}${shared_ext}$major'
9735 if test "X$HPUX_IA64_MODE" = X32
; then
9736 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9738 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
9740 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9744 hardcode_into_libs
=yes
9745 dynamic_linker
="$host_os dld.sl"
9746 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
9747 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9748 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9749 soname_spec
='${libname}${release}${shared_ext}$major'
9750 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9751 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9755 dynamic_linker
="$host_os dld.sl"
9756 shlibpath_var
=SHLIB_PATH
9757 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
9758 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9759 soname_spec
='${libname}${release}${shared_ext}$major'
9762 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
9763 postinstall_cmds
='chmod 555 $lib'
9764 # or fails outright, so override atomically:
9765 install_override_mode
=555
9772 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9773 soname_spec
='${libname}${release}${shared_ext}$major'
9774 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
9775 shlibpath_var
=LD_LIBRARY_PATH
9776 shlibpath_overrides_runpath
=no
9777 hardcode_into_libs
=yes
9780 irix5
* | irix6
* | nonstopux
*)
9782 nonstopux
*) version_type
=nonstopux
;;
9784 if test "$lt_cv_prog_gnu_ld" = yes; then
9792 soname_spec
='${libname}${release}${shared_ext}$major'
9793 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9795 irix5
* | nonstopux
*)
9799 case $LD in # libtool.m4 will add one of these switches to LD
9800 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
9801 libsuff
= shlibsuff
= libmagic
=32-bit;;
9802 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
9803 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
9804 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
9805 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
9806 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
9810 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
9811 shlibpath_overrides_runpath
=no
9812 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9813 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
9814 hardcode_into_libs
=yes
9817 # No shared lib support for Linux oldld, aout, or coff.
9818 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
9822 # This must be Linux ELF.
9823 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9827 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9828 soname_spec
='${libname}${release}${shared_ext}$major'
9829 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9830 shlibpath_var
=LD_LIBRARY_PATH
9831 shlibpath_overrides_runpath
=no
9833 # Some binutils ld are patched to set DT_RUNPATH
9834 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
9835 $as_echo_n "(cached) " >&6
9837 lt_cv_shlibpath_overrides_runpath
=no
9838 save_LDFLAGS
=$LDFLAGS
9840 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9841 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9842 if test x
$gcc_no_link = xyes
; then
9843 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9845 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9846 /* end confdefs.h. */
9856 if ac_fn_c_try_link
"$LINENO"; then :
9857 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
9858 lt_cv_shlibpath_overrides_runpath
=yes
9861 rm -f core conftest.err conftest.
$ac_objext \
9862 conftest
$ac_exeext conftest.
$ac_ext
9863 LDFLAGS
=$save_LDFLAGS
9868 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
9870 # This implies no fast_install, which is unacceptable.
9871 # Some rework will be needed to allow for fast_install
9872 # before this can be enabled.
9873 hardcode_into_libs
=yes
9875 # Append ld.so.conf contents to the search path
9876 if test -f /etc
/ld.so.conf
; then
9877 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' ' '`
9878 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
9881 # We used to test for /lib/ld.so.1 and disable shared libraries on
9882 # powerpc, because MkLinux only supported shared libraries with the
9883 # GNU dynamic linker. Since this was broken with cross compilers,
9884 # most powerpc-linux boxes support dynamic linking these days and
9885 # people can always --disable-shared, the test was removed, and we
9886 # assume the GNU/Linux dynamic linker is in use.
9887 dynamic_linker
='GNU/Linux ld.so'
9894 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9895 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9896 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9897 dynamic_linker
='NetBSD (a.out) ld.so'
9899 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9900 soname_spec
='${libname}${release}${shared_ext}$major'
9901 dynamic_linker
='NetBSD ld.elf_so'
9903 shlibpath_var
=LD_LIBRARY_PATH
9904 shlibpath_overrides_runpath
=yes
9905 hardcode_into_libs
=yes
9910 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9911 shlibpath_var
=LD_LIBRARY_PATH
9912 shlibpath_overrides_runpath
=yes
9919 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9920 soname_spec
='${libname}${release}${shared_ext}$major'
9921 shlibpath_var
=LD_LIBRARY_PATH
9922 shlibpath_overrides_runpath
=no
9923 hardcode_into_libs
=yes
9924 dynamic_linker
='ldqnx.so'
9929 sys_lib_dlsearch_path_spec
="/usr/lib"
9931 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9933 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
9934 *) need_version
=no
;;
9936 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9937 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9938 shlibpath_var
=LD_LIBRARY_PATH
9939 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9941 openbsd2.
[89] | openbsd2.
[89].
*)
9942 shlibpath_overrides_runpath
=no
9945 shlibpath_overrides_runpath
=yes
9949 shlibpath_overrides_runpath
=yes
9954 libname_spec
='$name'
9957 library_names_spec
='$libname${shared_ext} $libname.a'
9958 dynamic_linker
='OS/2 ld.exe'
9959 shlibpath_var
=LIBPATH
9962 osf3
* | osf4
* | osf5
*)
9966 soname_spec
='${libname}${release}${shared_ext}$major'
9967 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9968 shlibpath_var
=LD_LIBRARY_PATH
9969 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9970 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
9981 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9982 soname_spec
='${libname}${release}${shared_ext}$major'
9983 shlibpath_var
=LD_LIBRARY_PATH
9984 shlibpath_overrides_runpath
=yes
9985 hardcode_into_libs
=yes
9986 # ldd complains unless libraries are executable
9987 postinstall_cmds
='chmod +x $lib'
9992 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9993 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9994 shlibpath_var
=LD_LIBRARY_PATH
9995 shlibpath_overrides_runpath
=yes
9996 if test "$with_gnu_ld" = yes; then
10004 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10005 soname_spec
='${libname}${release}${shared_ext}$major'
10006 shlibpath_var
=LD_LIBRARY_PATH
10007 case $host_vendor in
10009 shlibpath_overrides_runpath
=no
10011 runpath_var
=LD_RUN_PATH
10019 shlibpath_overrides_runpath
=no
10020 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10026 if test -d /usr
/nec
;then
10028 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10029 soname_spec
='$libname${shared_ext}.$major'
10030 shlibpath_var
=LD_LIBRARY_PATH
10034 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10035 version_type
=freebsd-elf
10038 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10039 soname_spec
='${libname}${release}${shared_ext}$major'
10040 shlibpath_var
=LD_LIBRARY_PATH
10041 shlibpath_overrides_runpath
=yes
10042 hardcode_into_libs
=yes
10043 if test "$with_gnu_ld" = yes; then
10044 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10046 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10049 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10053 sys_lib_dlsearch_path_spec
='/usr/lib'
10057 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10061 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10062 shlibpath_var
=LD_LIBRARY_PATH
10063 shlibpath_overrides_runpath
=no
10064 hardcode_into_libs
=yes
10069 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10070 soname_spec
='${libname}${release}${shared_ext}$major'
10071 shlibpath_var
=LD_LIBRARY_PATH
10078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10079 $as_echo "$dynamic_linker" >&6; }
10080 test "$dynamic_linker" = no
&& can_build_shared
=no
10082 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10083 if test "$GCC" = yes; then
10084 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10087 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10088 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10090 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10091 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
10185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10186 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10188 if test -n "$hardcode_libdir_flag_spec" ||
10189 test -n "$runpath_var" ||
10190 test "X$hardcode_automatic" = "Xyes" ; then
10192 # We can hardcode non-existent directories.
10193 if test "$hardcode_direct" != no
&&
10194 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10195 # have to relink, otherwise we might link with an installed library
10196 # when we should be linking with a yet-to-be-installed one
10197 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10198 test "$hardcode_minus_L" != no
; then
10199 # Linking always hardcodes the temporary library directory.
10200 hardcode_action
=relink
10202 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10203 hardcode_action
=immediate
10206 # We cannot hardcode anything, or else we can only hardcode existing
10208 hardcode_action
=unsupported
10210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10211 $as_echo "$hardcode_action" >&6; }
10213 if test "$hardcode_action" = relink ||
10214 test "$inherit_rpath" = yes; then
10215 # Fast installation is not supported
10216 enable_fast_install
=no
10217 elif test "$shlibpath_overrides_runpath" = yes ||
10218 test "$enable_shared" = no
; then
10219 # Fast installation is not necessary
10220 enable_fast_install
=needless
10228 if test "x$enable_dlopen" != xyes
; then
10229 enable_dlopen
=unknown
10230 enable_dlopen_self
=unknown
10231 enable_dlopen_self_static
=unknown
10238 lt_cv_dlopen
="load_add_on"
10240 lt_cv_dlopen_self
=yes
10243 mingw
* | pw32
* | cegcc
*)
10244 lt_cv_dlopen
="LoadLibrary"
10249 lt_cv_dlopen
="dlopen"
10254 # if libdl is installed we need to link against it
10255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10256 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10257 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10258 $as_echo_n "(cached) " >&6
10260 ac_check_lib_save_LIBS
=$LIBS
10262 if test x
$gcc_no_link = xyes
; then
10263 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10265 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10266 /* end confdefs.h. */
10268 /* Override any GCC internal prototype to avoid an error.
10269 Use char because int might match the return type of a GCC
10270 builtin and then its argument prototype would still apply. */
10283 if ac_fn_c_try_link
"$LINENO"; then :
10284 ac_cv_lib_dl_dlopen
=yes
10286 ac_cv_lib_dl_dlopen
=no
10288 rm -f core conftest.err conftest.
$ac_objext \
10289 conftest
$ac_exeext conftest.
$ac_ext
10290 LIBS
=$ac_check_lib_save_LIBS
10292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10293 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10294 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10295 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10298 lt_cv_dlopen
="dyld"
10300 lt_cv_dlopen_self
=yes
10307 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
10308 if test "x$ac_cv_func_shl_load" = x
""yes; then :
10309 lt_cv_dlopen
="shl_load"
10311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10312 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10313 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10314 $as_echo_n "(cached) " >&6
10316 ac_check_lib_save_LIBS
=$LIBS
10318 if test x
$gcc_no_link = xyes
; then
10319 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10321 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10322 /* end confdefs.h. */
10324 /* Override any GCC internal prototype to avoid an error.
10325 Use char because int might match the return type of a GCC
10326 builtin and then its argument prototype would still apply. */
10334 return shl_load ();
10339 if ac_fn_c_try_link
"$LINENO"; then :
10340 ac_cv_lib_dld_shl_load
=yes
10342 ac_cv_lib_dld_shl_load
=no
10344 rm -f core conftest.err conftest.
$ac_objext \
10345 conftest
$ac_exeext conftest.
$ac_ext
10346 LIBS
=$ac_check_lib_save_LIBS
10348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10349 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10350 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
10351 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
10353 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
10354 if test "x$ac_cv_func_dlopen" = x
""yes; then :
10355 lt_cv_dlopen
="dlopen"
10357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10358 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10359 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10360 $as_echo_n "(cached) " >&6
10362 ac_check_lib_save_LIBS
=$LIBS
10364 if test x
$gcc_no_link = xyes
; then
10365 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10367 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10368 /* end confdefs.h. */
10370 /* Override any GCC internal prototype to avoid an error.
10371 Use char because int might match the return type of a GCC
10372 builtin and then its argument prototype would still apply. */
10385 if ac_fn_c_try_link
"$LINENO"; then :
10386 ac_cv_lib_dl_dlopen
=yes
10388 ac_cv_lib_dl_dlopen
=no
10390 rm -f core conftest.err conftest.
$ac_objext \
10391 conftest
$ac_exeext conftest.
$ac_ext
10392 LIBS
=$ac_check_lib_save_LIBS
10394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10395 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10396 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10397 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10400 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10401 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10402 $as_echo_n "(cached) " >&6
10404 ac_check_lib_save_LIBS
=$LIBS
10405 LIBS
="-lsvld $LIBS"
10406 if test x
$gcc_no_link = xyes
; then
10407 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10409 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10410 /* end confdefs.h. */
10412 /* Override any GCC internal prototype to avoid an error.
10413 Use char because int might match the return type of a GCC
10414 builtin and then its argument prototype would still apply. */
10427 if ac_fn_c_try_link
"$LINENO"; then :
10428 ac_cv_lib_svld_dlopen
=yes
10430 ac_cv_lib_svld_dlopen
=no
10432 rm -f core conftest.err conftest.
$ac_objext \
10433 conftest
$ac_exeext conftest.
$ac_ext
10434 LIBS
=$ac_check_lib_save_LIBS
10436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10437 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10438 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
10439 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
10441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10442 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10443 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
10444 $as_echo_n "(cached) " >&6
10446 ac_check_lib_save_LIBS
=$LIBS
10448 if test x
$gcc_no_link = xyes
; then
10449 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10451 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10452 /* end confdefs.h. */
10454 /* Override any GCC internal prototype to avoid an error.
10455 Use char because int might match the return type of a GCC
10456 builtin and then its argument prototype would still apply. */
10464 return dld_link ();
10469 if ac_fn_c_try_link
"$LINENO"; then :
10470 ac_cv_lib_dld_dld_link
=yes
10472 ac_cv_lib_dld_dld_link
=no
10474 rm -f core conftest.err conftest.
$ac_objext \
10475 conftest
$ac_exeext conftest.
$ac_ext
10476 LIBS
=$ac_check_lib_save_LIBS
10478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10479 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10480 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
10481 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
10502 if test "x$lt_cv_dlopen" != xno
; then
10508 case $lt_cv_dlopen in
10510 save_CPPFLAGS
="$CPPFLAGS"
10511 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
10513 save_LDFLAGS
="$LDFLAGS"
10514 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
10517 LIBS
="$lt_cv_dlopen_libs $LIBS"
10519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10520 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10521 if test "${lt_cv_dlopen_self+set}" = set; then :
10522 $as_echo_n "(cached) " >&6
10524 if test "$cross_compiling" = yes; then :
10525 lt_cv_dlopen_self
=cross
10527 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10528 lt_status
=$lt_dlunknown
10529 cat > conftest.
$ac_ext <<_LT_EOF
10530 #line 10530 "configure"
10531 #include "confdefs.h"
10540 # define LT_DLGLOBAL RTLD_GLOBAL
10543 # define LT_DLGLOBAL DL_GLOBAL
10545 # define LT_DLGLOBAL 0
10549 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10550 find out it does not work in some platform. */
10551 #ifndef LT_DLLAZY_OR_NOW
10553 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10556 # define LT_DLLAZY_OR_NOW DL_LAZY
10559 # define LT_DLLAZY_OR_NOW RTLD_NOW
10562 # define LT_DLLAZY_OR_NOW DL_NOW
10564 # define LT_DLLAZY_OR_NOW 0
10571 /* When -fvisbility=hidden is used, assume the code has been annotated
10572 correspondingly for the symbols needed. */
10573 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
10574 void fnord () __attribute__((visibility("default")));
10577 void fnord () { int i=42; }
10580 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10581 int status = $lt_dlunknown;
10585 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10588 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10589 else puts (dlerror ());
10591 /* dlclose (self); */
10599 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10600 (eval $ac_link) 2>&5
10602 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10603 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10604 (.
/conftest
; exit; ) >&5 2>/dev
/null
10606 case x
$lt_status in
10607 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
10608 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
10609 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
10612 # compilation failed
10613 lt_cv_dlopen_self
=no
10620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
10621 $as_echo "$lt_cv_dlopen_self" >&6; }
10623 if test "x$lt_cv_dlopen_self" = xyes
; then
10624 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
10625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10626 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10627 if test "${lt_cv_dlopen_self_static+set}" = set; then :
10628 $as_echo_n "(cached) " >&6
10630 if test "$cross_compiling" = yes; then :
10631 lt_cv_dlopen_self_static
=cross
10633 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10634 lt_status
=$lt_dlunknown
10635 cat > conftest.
$ac_ext <<_LT_EOF
10636 #line 10636 "configure"
10637 #include "confdefs.h"
10646 # define LT_DLGLOBAL RTLD_GLOBAL
10649 # define LT_DLGLOBAL DL_GLOBAL
10651 # define LT_DLGLOBAL 0
10655 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10656 find out it does not work in some platform. */
10657 #ifndef LT_DLLAZY_OR_NOW
10659 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10662 # define LT_DLLAZY_OR_NOW DL_LAZY
10665 # define LT_DLLAZY_OR_NOW RTLD_NOW
10668 # define LT_DLLAZY_OR_NOW DL_NOW
10670 # define LT_DLLAZY_OR_NOW 0
10677 /* When -fvisbility=hidden is used, assume the code has been annotated
10678 correspondingly for the symbols needed. */
10679 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
10680 void fnord () __attribute__((visibility("default")));
10683 void fnord () { int i=42; }
10686 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10687 int status = $lt_dlunknown;
10691 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10694 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10695 else puts (dlerror ());
10697 /* dlclose (self); */
10705 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10706 (eval $ac_link) 2>&5
10708 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10709 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10710 (.
/conftest
; exit; ) >&5 2>/dev
/null
10712 case x
$lt_status in
10713 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
10714 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
10715 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
10718 # compilation failed
10719 lt_cv_dlopen_self_static
=no
10726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
10727 $as_echo "$lt_cv_dlopen_self_static" >&6; }
10730 CPPFLAGS
="$save_CPPFLAGS"
10731 LDFLAGS
="$save_LDFLAGS"
10736 case $lt_cv_dlopen_self in
10737 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
10738 *) enable_dlopen_self
=unknown
;;
10741 case $lt_cv_dlopen_self_static in
10742 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
10743 *) enable_dlopen_self_static
=unknown
;;
10765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
10766 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
10767 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
10768 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
10769 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
10770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10771 $as_echo "yes" >&6; }
10773 # FIXME - insert some real tests, host_os isn't really good enough
10776 if test -n "$STRIP" ; then
10777 striplib
="$STRIP -x"
10778 old_striplib
="$STRIP -S"
10779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10780 $as_echo "yes" >&6; }
10782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10783 $as_echo "no" >&6; }
10787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10788 $as_echo "no" >&6; }
10804 # Report which library types will actually be built
10805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
10806 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
10807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
10808 $as_echo "$can_build_shared" >&6; }
10810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
10811 $as_echo_n "checking whether to build shared libraries... " >&6; }
10812 test "$can_build_shared" = "no" && enable_shared
=no
10814 # On AIX, shared libraries and static libraries use the same namespace, and
10815 # are all built from PIC.
10818 test "$enable_shared" = yes && enable_static
=no
10819 if test -n "$RANLIB"; then
10820 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
10821 postinstall_cmds
='$RANLIB $lib'
10826 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
10827 test "$enable_shared" = yes && enable_static
=no
10831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
10832 $as_echo "$enable_shared" >&6; }
10834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
10835 $as_echo_n "checking whether to build static libraries... " >&6; }
10836 # Make sure either enable_shared or enable_static is yes.
10837 test "$enable_shared" = yes || enable_static
=yes
10838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
10839 $as_echo "$enable_static" >&6; }
10846 ac_cpp
='$CPP $CPPFLAGS'
10847 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10848 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10849 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10865 ac_config_commands
="$ac_config_commands libtool"
10870 # Only expand once:
10877 *-cygwin* |
*-mingw*)
10878 # 'host' will be top-level target in the case of a target lib,
10879 # we must compare to with_cross_host to decide if this is a native
10880 # or cross-compiler and select where to install dlls appropriately.
10881 if test -n "$with_cross_host" &&
10882 test x
"$with_cross_host" != x
"no"; then
10883 lt_host_flags
='-no-undefined -bindir "$(toolexeclibdir)"';
10885 lt_host_flags
='-no-undefined -bindir "$(bindir)"';
10899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
10900 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
10901 # Check whether --enable-maintainer-mode was given.
10902 if test "${enable_maintainer_mode+set}" = set; then :
10903 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
10905 USE_MAINTAINER_MODE
=no
10908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
10909 $as_echo "$USE_MAINTAINER_MODE" >&6; }
10910 if test $USE_MAINTAINER_MODE = yes; then
10911 MAINTAINER_MODE_TRUE
=
10912 MAINTAINER_MODE_FALSE
='#'
10914 MAINTAINER_MODE_TRUE
='#'
10915 MAINTAINER_MODE_FALSE
=
10918 MAINT
=$MAINTAINER_MODE_TRUE
10921 # Default to --enable-multilib
10922 # Check whether --enable-multilib was given.
10923 if test "${enable_multilib+set}" = set; then :
10924 enableval
=$enable_multilib; case "$enableval" in
10925 yes) multilib
=yes ;;
10927 *) as_fn_error
"bad value $enableval for multilib option" "$LINENO" 5 ;;
10934 # We may get other options which we leave undocumented:
10935 # --with-target-subdir, --with-multisrctop, --with-multisubdir
10936 # See config-ml.in if you want the gory details.
10938 if test "$srcdir" = "."; then
10939 if test "$with_target_subdir" != "."; then
10940 multi_basedir
="$srcdir/$with_multisrctop../.."
10942 multi_basedir
="$srcdir/$with_multisrctop.."
10945 multi_basedir
="$srcdir/.."
10949 # Even if the default multilib is not a cross compilation,
10950 # it may be that some of the other multilibs are.
10951 if test $cross_compiling = no
&& test $multilib = yes \
10952 && test "x${with_multisubdir}" != x
; then
10953 cross_compiling
=maybe
10956 ac_config_commands
="$ac_config_commands default-1"
10960 ac_cpp
='$CPP $CPPFLAGS'
10961 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10962 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10963 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10965 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
10966 # We must force CC to /not/ be precious variables; otherwise
10967 # the wrong, non-multilib-adjusted value will be used in multilibs.
10968 # As a side effect, we have to subst CFLAGS ourselves.
10973 ac_cpp
='$CPP $CPPFLAGS'
10974 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10975 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10976 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10977 if test -n "$ac_tool_prefix"; then
10978 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10979 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
10980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10981 $as_echo_n "checking for $ac_word... " >&6; }
10982 if test "${ac_cv_prog_CC+set}" = set; then :
10983 $as_echo_n "(cached) " >&6
10985 if test -n "$CC"; then
10986 ac_cv_prog_CC
="$CC" # Let the user override the test.
10988 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10989 for as_dir
in $PATH
10992 test -z "$as_dir" && as_dir
=.
10993 for ac_exec_ext
in '' $ac_executable_extensions; do
10994 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10995 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
10996 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11006 if test -n "$CC"; then
11007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11008 $as_echo "$CC" >&6; }
11010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11011 $as_echo "no" >&6; }
11016 if test -z "$ac_cv_prog_CC"; then
11018 # Extract the first word of "gcc", so it can be a program name with args.
11019 set dummy gcc
; ac_word
=$2
11020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11021 $as_echo_n "checking for $ac_word... " >&6; }
11022 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
11023 $as_echo_n "(cached) " >&6
11025 if test -n "$ac_ct_CC"; then
11026 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11028 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11029 for as_dir
in $PATH
11032 test -z "$as_dir" && as_dir
=.
11033 for ac_exec_ext
in '' $ac_executable_extensions; do
11034 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11035 ac_cv_prog_ac_ct_CC
="gcc"
11036 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11045 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11046 if test -n "$ac_ct_CC"; then
11047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11048 $as_echo "$ac_ct_CC" >&6; }
11050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11051 $as_echo "no" >&6; }
11054 if test "x$ac_ct_CC" = x
; then
11057 case $cross_compiling:$ac_tool_warned in
11059 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11060 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11061 ac_tool_warned
=yes ;;
11066 CC
="$ac_cv_prog_CC"
11069 if test -z "$CC"; then
11070 if test -n "$ac_tool_prefix"; then
11071 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11072 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
11073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11074 $as_echo_n "checking for $ac_word... " >&6; }
11075 if test "${ac_cv_prog_CC+set}" = set; then :
11076 $as_echo_n "(cached) " >&6
11078 if test -n "$CC"; then
11079 ac_cv_prog_CC
="$CC" # Let the user override the test.
11081 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11082 for as_dir
in $PATH
11085 test -z "$as_dir" && as_dir
=.
11086 for ac_exec_ext
in '' $ac_executable_extensions; do
11087 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11088 ac_cv_prog_CC
="${ac_tool_prefix}cc"
11089 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11099 if test -n "$CC"; then
11100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11101 $as_echo "$CC" >&6; }
11103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11104 $as_echo "no" >&6; }
11110 if test -z "$CC"; then
11111 # Extract the first word of "cc", so it can be a program name with args.
11112 set dummy cc
; ac_word
=$2
11113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11114 $as_echo_n "checking for $ac_word... " >&6; }
11115 if test "${ac_cv_prog_CC+set}" = set; then :
11116 $as_echo_n "(cached) " >&6
11118 if test -n "$CC"; then
11119 ac_cv_prog_CC
="$CC" # Let the user override the test.
11121 ac_prog_rejected
=no
11122 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11123 for as_dir
in $PATH
11126 test -z "$as_dir" && as_dir
=.
11127 for ac_exec_ext
in '' $ac_executable_extensions; do
11128 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11129 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11130 ac_prog_rejected
=yes
11134 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11141 if test $ac_prog_rejected = yes; then
11142 # We found a bogon in the path, so make sure we never use it.
11143 set dummy
$ac_cv_prog_CC
11145 if test $# != 0; then
11146 # We chose a different compiler from the bogus one.
11147 # However, it has the same basename, so the bogon will be chosen
11148 # first if we set CC to just the basename; use the full file name.
11150 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
11156 if test -n "$CC"; then
11157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11158 $as_echo "$CC" >&6; }
11160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11161 $as_echo "no" >&6; }
11166 if test -z "$CC"; then
11167 if test -n "$ac_tool_prefix"; then
11168 for ac_prog
in cl.exe
11170 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11171 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
11172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11173 $as_echo_n "checking for $ac_word... " >&6; }
11174 if test "${ac_cv_prog_CC+set}" = set; then :
11175 $as_echo_n "(cached) " >&6
11177 if test -n "$CC"; then
11178 ac_cv_prog_CC
="$CC" # Let the user override the test.
11180 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11181 for as_dir
in $PATH
11184 test -z "$as_dir" && as_dir
=.
11185 for ac_exec_ext
in '' $ac_executable_extensions; do
11186 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11187 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
11188 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11198 if test -n "$CC"; then
11199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11200 $as_echo "$CC" >&6; }
11202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11203 $as_echo "no" >&6; }
11207 test -n "$CC" && break
11210 if test -z "$CC"; then
11212 for ac_prog
in cl.exe
11214 # Extract the first word of "$ac_prog", so it can be a program name with args.
11215 set dummy
$ac_prog; ac_word
=$2
11216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11217 $as_echo_n "checking for $ac_word... " >&6; }
11218 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
11219 $as_echo_n "(cached) " >&6
11221 if test -n "$ac_ct_CC"; then
11222 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11224 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11225 for as_dir
in $PATH
11228 test -z "$as_dir" && as_dir
=.
11229 for ac_exec_ext
in '' $ac_executable_extensions; do
11230 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11231 ac_cv_prog_ac_ct_CC
="$ac_prog"
11232 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11241 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11242 if test -n "$ac_ct_CC"; then
11243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11244 $as_echo "$ac_ct_CC" >&6; }
11246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11247 $as_echo "no" >&6; }
11251 test -n "$ac_ct_CC" && break
11254 if test "x$ac_ct_CC" = x
; then
11257 case $cross_compiling:$ac_tool_warned in
11259 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11260 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11261 ac_tool_warned
=yes ;;
11270 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11271 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11272 as_fn_error
"no acceptable C compiler found in \$PATH
11273 See \`config.log' for more details." "$LINENO" 5; }
11275 # Provide some information about the compiler.
11276 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
11279 for ac_option
in --version -v -V -qversion; do
11280 { { ac_try
="$ac_compiler $ac_option >&5"
11281 case "(($ac_try" in
11282 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11283 *) ac_try_echo=$ac_try;;
11285 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11286 $as_echo "$ac_try_echo"; } >&5
11287 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
11289 if test -s conftest.err; then
11291 ... rest of stderr output deleted ...
11292 10q' conftest.err >conftest.er1
11293 cat conftest.er1 >&5
11294 rm -f conftest.er1 conftest.err
11296 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11297 test $ac_status = 0; }
11300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
11301 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
11302 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
11303 $as_echo_n "(cached) " >&6
11305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11306 /* end confdefs.h. */
11319 if ac_fn_c_try_compile "$LINENO"; then :
11320 ac_compiler_gnu=yes
11324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11325 ac_cv_c_compiler_gnu=$ac_compiler_gnu
11328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
11329 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
11330 if test $ac_compiler_gnu = yes; then
11335 ac_test_CFLAGS=${CFLAGS+set}
11336 ac_save_CFLAGS=$CFLAGS
11337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
11338 $as_echo_n "checking whether $CC accepts -g... " >&6; }
11339 if test "${ac_cv_prog_cc_g+set}" = set; then :
11340 $as_echo_n "(cached) " >&6
11342 ac_save_c_werror_flag=$ac_c_werror_flag
11343 ac_c_werror_flag=yes
11346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11347 /* end confdefs.h. */
11357 if ac_fn_c_try_compile "$LINENO"; then :
11358 ac_cv_prog_cc_g=yes
11361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11362 /* end confdefs.h. */
11372 if ac_fn_c_try_compile "$LINENO"; then :
11375 ac_c_werror_flag=$ac_save_c_werror_flag
11377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11378 /* end confdefs.h. */
11388 if ac_fn_c_try_compile "$LINENO"; then :
11389 ac_cv_prog_cc_g=yes
11391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11396 ac_c_werror_flag=$ac_save_c_werror_flag
11398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
11399 $as_echo "$ac_cv_prog_cc_g" >&6; }
11400 if test "$ac_test_CFLAGS" = set; then
11401 CFLAGS=$ac_save_CFLAGS
11402 elif test $ac_cv_prog_cc_g = yes; then
11403 if test "$GCC" = yes; then
11409 if test "$GCC" = yes; then
11415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
11416 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
11417 if test "${ac_cv_prog_cc_c89+set}" = set; then :
11418 $as_echo_n "(cached) " >&6
11420 ac_cv_prog_cc_c89=no
11422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11423 /* end confdefs.h. */
11424 #include <stdarg.h>
11426 #include <sys/types.h>
11427 #include <sys/stat.h>
11428 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11429 struct buf { int x; };
11430 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11431 static char *e (p, i)
11437 static char *f (char * (*g) (char **, int), char **p, ...)
11442 s = g (p, va_arg (v,int));
11447 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11448 function prototypes and stuff, but not '\xHH' hex character constants.
11449 These don't provoke an error unfortunately, instead are silently treated
11450 as 'x'. The following induces an error, until -std is added to get
11451 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11452 array size at least. It's necessary to write '\x00'==0 to get something
11453 that's true only with -std. */
11454 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11456 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
11457 inside strings and character constants. */
11459 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
11461 int test (int i, double x);
11462 struct s1 {int (*f) (int a);};
11463 struct s2 {int (*f) (double a);};
11464 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11470 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11475 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
11476 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11478 CC="$ac_save_CC $ac_arg"
11479 if ac_fn_c_try_compile "$LINENO"; then :
11480 ac_cv_prog_cc_c89=$ac_arg
11482 rm -f core conftest.err conftest.$ac_objext
11483 test "x$ac_cv_prog_cc_c89" != "xno" && break
11485 rm -f conftest.$ac_ext
11490 case "x$ac_cv_prog_cc_c89" in
11492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
11493 $as_echo "none needed" >&6; } ;;
11495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
11496 $as_echo "unsupported" >&6; } ;;
11498 CC="$CC $ac_cv_prog_cc_c89"
11499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
11500 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
11502 if test "x$ac_cv_prog_cc_c89" != xno; then :
11507 ac_cpp='$CPP $CPPFLAGS'
11508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11512 depcc="$CC" am_compiler_list=
11514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
11515 $as_echo_n "checking dependency style of $depcc... " >&6; }
11516 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
11517 $as_echo_n "(cached) " >&6
11519 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
11520 # We make a subdir and do the tests there. Otherwise we can end up
11521 # making bogus files that we don't know about and never remove. For
11522 # instance it was reported that on HP-UX the gcc test will end up
11523 # making a dummy file named `D
' -- because `-MD' means
`put the output
11526 # Copy depcomp to subdir because otherwise we won't find it if we're
11527 # using a relative directory.
11528 cp "$am_depcomp" conftest.dir
11530 # We will build objects and dependencies in a subdirectory because
11531 # it helps to detect inapplicable dependency modes. For instance
11532 # both Tru64's cc and ICC support -MD to output dependencies as a
11533 # side effect of compilation, but ICC will put the dependencies in
11534 # the current directory while Tru64 will put them in the object
11538 am_cv_CC_dependencies_compiler_type=none
11539 if test "$am_compiler_list" = ""; then
11540 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
11542 am__universal=false
11543 case " $depcc " in #(
11544 *\ -arch\ *\ -arch\ *) am__universal=true ;;
11547 for depmode in $am_compiler_list; do
11548 # Setup a source with many dependencies, because some compilers
11549 # like to wrap large dependency lists on column 80 (with \), and
11550 # we should not choose a depcomp mode which is confused by this.
11552 # We need to recreate these files for each test, as the compiler may
11553 # overwrite some of them when testing with obscure command lines.
11554 # This happens at least with the AIX C compiler.
11556 for i in 1 2 3 4 5 6; do
11557 echo '#include "conftst'$i'.h"' >> sub/conftest.c
11558 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
11559 # Solaris 8's
{/usr
,}/bin
/sh.
11560 touch sub
/conftst
$i.h
11562 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
11564 # We check with `-c' and `-o' for the sake of the "dashmstdout"
11565 # mode. It turns out that the SunPro C++ compiler does not properly
11566 # handle `-M -o', and we need to detect this. Also, some Intel
11567 # versions had trouble with output in subdirs
11568 am__obj
=sub
/conftest.
${OBJEXT-o}
11569 am__minus_obj
="-o $am__obj"
11572 # This depmode causes a compiler race in universal mode.
11573 test "$am__universal" = false ||
continue
11576 # after this tag, mechanisms are not by side-effect, so they'll
11577 # only be used when explicitly requested
11578 if test "x$enable_dependency_tracking" = xyes
; then
11584 msvisualcpp | msvcmsys
)
11585 # This compiler won't grok `-c -o', but also, the minuso test has
11586 # not run yet. These depmodes are late enough in the game, and
11587 # so weak that their functioning should not be impacted.
11588 am__obj
=conftest.
${OBJEXT-o}
11593 if depmode
=$depmode \
11594 source=sub
/conftest.c object
=$am__obj \
11595 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
11596 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
11597 >/dev
/null
2>conftest.err
&&
11598 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
11599 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
11600 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
11601 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
11602 # icc doesn't choke on unknown options, it will just issue warnings
11603 # or remarks (even with -Werror). So we grep stderr for any message
11604 # that says an option was ignored or not supported.
11605 # When given -MP, icc 7.0 and 7.1 complain thusly:
11606 # icc: Command line warning: ignoring option '-M'; no argument required
11607 # The diagnosis changed in icc 8.0:
11608 # icc: Command line remark: option '-MP' not supported
11609 if (grep 'ignoring option' conftest.err ||
11610 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
11611 am_cv_CC_dependencies_compiler_type
=$depmode
11618 rm -rf conftest.dir
11620 am_cv_CC_dependencies_compiler_type
=none
11624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
11625 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
11626 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
11629 test "x$enable_dependency_tracking" != xno \
11630 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
11631 am__fastdepCC_TRUE
=
11632 am__fastdepCC_FALSE
='#'
11634 am__fastdepCC_TRUE
='#'
11635 am__fastdepCC_FALSE
=
11643 if test "x$CC" != xcc
; then
11644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
11645 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
11647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
11648 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
11650 set dummy
$CC; ac_cc
=`$as_echo "$2" |
11651 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
11652 if { as_var
=ac_cv_prog_cc_
${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
11653 $as_echo_n "(cached) " >&6
11655 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11656 /* end confdefs.h. */
11666 # Make sure it works both with $CC and with simple cc.
11667 # We do the test twice because some compilers refuse to overwrite an
11668 # existing .o file with -o, though they will create one.
11669 ac_try
='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
11671 if { { case "(($ac_try" in
11672 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11673 *) ac_try_echo=$ac_try;;
11675 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11676 $as_echo "$ac_try_echo"; } >&5
11677 (eval "$ac_try") 2>&5
11679 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11680 test $ac_status = 0; } &&
11681 test -f conftest2.$ac_objext && { { case "(($ac_try" in
11682 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11683 *) ac_try_echo
=$ac_try;;
11685 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11686 $as_echo "$ac_try_echo"; } >&5
11687 (eval "$ac_try") 2>&5
11689 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11690 test $ac_status = 0; };
11692 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
11693 if test "x$CC" != xcc
; then
11694 # Test first that cc exists at all.
11695 if { ac_try
='cc -c conftest.$ac_ext >&5'
11696 { { case "(($ac_try" in
11697 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11698 *) ac_try_echo=$ac_try;;
11700 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11701 $as_echo "$ac_try_echo"; } >&5
11702 (eval "$ac_try") 2>&5
11704 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11705 test $ac_status = 0; }; }; then
11706 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
11708 if { { case "(($ac_try" in
11709 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11710 *) ac_try_echo
=$ac_try;;
11712 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11713 $as_echo "$ac_try_echo"; } >&5
11714 (eval "$ac_try") 2>&5
11716 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11717 test $ac_status = 0; } &&
11718 test -f conftest2.
$ac_objext && { { case "(($ac_try" in
11719 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11720 *) ac_try_echo=$ac_try;;
11722 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11723 $as_echo "$ac_try_echo"; } >&5
11724 (eval "$ac_try") 2>&5
11726 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11727 test $ac_status = 0; };
11732 # cc exists but doesn't like -o.
11733 eval ac_cv_prog_cc_${ac_cc}_c_o=no
11738 eval ac_cv_prog_cc_${ac_cc}_c_o=no
11740 rm -f core conftest*
11743 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
11744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11745 $as_echo "yes" >&6; }
11747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11748 $as_echo "no" >&6; }
11750 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
11754 # FIXME: we rely on the cache variable name because
11755 # there is no other way.
11757 am_cc=`echo $2 |
sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
11758 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
11759 if test "$am_t" != yes; then
11760 # Losing compiler, so override with the script.
11761 # FIXME: It is wrong to rewrite CC.
11762 # But if we don't then we get into trouble of one sort or another.
11763 # A longer-term fix would be to have automake use am__CC in this case,
11764 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
11765 CC="$am_aux_dir/compile $CC"
11770 if test "x$GCC" != "xyes"; then
11771 as_fn_error "libquadmath must be built with GCC" "$LINENO" 5
11774 ac_cpp='$CPP $CPPFLAGS'
11775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
11779 $as_echo_n "checking how to run the C preprocessor... " >&6; }
11780 # On Suns, sometimes $CPP names a directory.
11781 if test -n "$CPP" && test -d "$CPP"; then
11784 if test -z "$CPP"; then
11785 if test "${ac_cv_prog_CPP+set}" = set; then :
11786 $as_echo_n "(cached) " >&6
11788 # Double quotes because CPP needs to be expanded
11789 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
11791 ac_preproc_ok=false
11792 for ac_c_preproc_warn_flag in '' yes
11794 # Use a header file that comes with gcc, so configuring glibc
11795 # with a fresh cross-compiler works.
11796 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11797 # <limits.h> exists even on freestanding compilers.
11798 # On the NeXT, cc -E runs the code through the compiler's parser,
11799 # not just through cpp. "Syntax error" is here to catch this case.
11800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11801 /* end confdefs.h. */
11803 # include <limits.h>
11805 # include <assert.h>
11809 if ac_fn_c_try_cpp "$LINENO"; then :
11812 # Broken: fails on valid input.
11815 rm -f conftest.err conftest.$ac_ext
11817 # OK, works on sane cases. Now check whether nonexistent headers
11818 # can be detected and how.
11819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11820 /* end confdefs.h. */
11821 #include <ac_nonexistent.h>
11823 if ac_fn_c_try_cpp "$LINENO"; then :
11824 # Broken: success on invalid input.
11827 # Passes both tests.
11831 rm -f conftest.err conftest.$ac_ext
11834 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11835 rm -f conftest.err conftest.
$ac_ext
11836 if $ac_preproc_ok; then :
11841 ac_cv_prog_CPP
=$CPP
11844 CPP
=$ac_cv_prog_CPP
11846 ac_cv_prog_CPP
=$CPP
11848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
11849 $as_echo "$CPP" >&6; }
11850 ac_preproc_ok
=false
11851 for ac_c_preproc_warn_flag
in '' yes
11853 # Use a header file that comes with gcc, so configuring glibc
11854 # with a fresh cross-compiler works.
11855 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11856 # <limits.h> exists even on freestanding compilers.
11857 # On the NeXT, cc -E runs the code through the compiler's parser,
11858 # not just through cpp. "Syntax error" is here to catch this case.
11859 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11860 /* end confdefs.h. */
11862 # include <limits.h>
11864 # include <assert.h>
11868 if ac_fn_c_try_cpp
"$LINENO"; then :
11871 # Broken: fails on valid input.
11874 rm -f conftest.err conftest.
$ac_ext
11876 # OK, works on sane cases. Now check whether nonexistent headers
11877 # can be detected and how.
11878 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11879 /* end confdefs.h. */
11880 #include <ac_nonexistent.h>
11882 if ac_fn_c_try_cpp
"$LINENO"; then :
11883 # Broken: success on invalid input.
11886 # Passes both tests.
11890 rm -f conftest.err conftest.
$ac_ext
11893 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11894 rm -f conftest.err conftest.
$ac_ext
11895 if $ac_preproc_ok; then :
11898 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11899 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11900 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
11901 See \`config.log' for more details." "$LINENO" 5; }
11905 ac_cpp
='$CPP $CPPFLAGS'
11906 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11907 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11908 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11911 # Calculate toolexeclibdir
11912 # Also toolexecdir, though it's only used in toolexeclibdir
11913 case ${version_specific_libs} in
11915 # Need the gcc compiler version to know where to install libraries
11916 # and header files if --enable-version-specific-runtime-libs option
11918 toolexecdir
='$(libdir)/gcc/$(target_alias)'
11919 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
11922 if test -n "$with_cross_host" &&
11923 test x
"$with_cross_host" != x
"no"; then
11924 # Install a library built with a cross compiler in tooldir, not libdir.
11925 toolexecdir
='$(exec_prefix)/$(target_alias)'
11926 toolexeclibdir
='$(toolexecdir)/lib'
11928 toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
11929 toolexeclibdir
='$(libdir)'
11931 multi_os_directory
=`$CC -print-multi-os-directory`
11932 case $multi_os_directory in
11933 .
) ;; # Avoid trailing /.
11934 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
11941 for ac_header
in fenv.h langinfo.h locale.h wchar.h wctype.h limits.h ctype.h
printf.h errno.h
11943 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11944 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11945 eval as_val
=\$
$as_ac_Header
11946 if test "x$as_val" = x
""yes; then :
11947 cat >>confdefs.h
<<_ACEOF
11948 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the math.h includes POSIX's signgam" >&5
11957 $as_echo_n "checking whether the math.h includes POSIX's signgam... " >&6; }
11958 if test "${libgfor_cv_have_math_h_signgam+set}" = set; then :
11959 $as_echo_n "(cached) " >&6
11962 save_CFLAGS
="$CFLAGS"
11963 CFLAGS
="$CFLAGS -Werror"
11964 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11965 /* end confdefs.h. */
11968 void foo(void) { signgam = 1; }
11977 if ac_fn_c_try_compile
"$LINENO"; then :
11978 libgfor_cv_have_math_h_signgam
=yes
11980 libgfor_cv_have_math_h_signgam
=no
11982 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11983 CFLAGS
="$save_CFLAGS"
11985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_math_h_signgam" >&5
11986 $as_echo "$libgfor_cv_have_math_h_signgam" >&6; }
11987 if test $libgfor_cv_have_math_h_signgam = yes; then
11989 $as_echo "#define HAVE_MATH_H_SIGNGAM 1" >>confdefs.h
11993 # If available, sqrtl and cbrtl speed up the calculation -
11994 # but they are not required
11995 if test x
$gcc_no_link != xyes
; then
11996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl in -lm" >&5
11997 $as_echo_n "checking for sqrtl in -lm... " >&6; }
11998 if test "${ac_cv_lib_m_sqrtl+set}" = set; then :
11999 $as_echo_n "(cached) " >&6
12001 ac_check_lib_save_LIBS
=$LIBS
12003 if test x
$gcc_no_link = xyes
; then
12004 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12006 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12007 /* end confdefs.h. */
12009 /* Override any GCC internal prototype to avoid an error.
12010 Use char because int might match the return type of a GCC
12011 builtin and then its argument prototype would still apply. */
12024 if ac_fn_c_try_link
"$LINENO"; then :
12025 ac_cv_lib_m_sqrtl
=yes
12027 ac_cv_lib_m_sqrtl
=no
12029 rm -f core conftest.err conftest.
$ac_objext \
12030 conftest
$ac_exeext conftest.
$ac_ext
12031 LIBS
=$ac_check_lib_save_LIBS
12033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrtl" >&5
12034 $as_echo "$ac_cv_lib_m_sqrtl" >&6; }
12035 if test "x$ac_cv_lib_m_sqrtl" = x
""yes; then :
12037 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
12041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cbrtl in -lm" >&5
12042 $as_echo_n "checking for cbrtl in -lm... " >&6; }
12043 if test "${ac_cv_lib_m_cbrtl+set}" = set; then :
12044 $as_echo_n "(cached) " >&6
12046 ac_check_lib_save_LIBS
=$LIBS
12048 if test x
$gcc_no_link = xyes
; then
12049 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12051 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12052 /* end confdefs.h. */
12054 /* Override any GCC internal prototype to avoid an error.
12055 Use char because int might match the return type of a GCC
12056 builtin and then its argument prototype would still apply. */
12069 if ac_fn_c_try_link
"$LINENO"; then :
12070 ac_cv_lib_m_cbrtl
=yes
12072 ac_cv_lib_m_cbrtl
=no
12074 rm -f core conftest.err conftest.
$ac_objext \
12075 conftest
$ac_exeext conftest.
$ac_ext
12076 LIBS
=$ac_check_lib_save_LIBS
12078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cbrtl" >&5
12079 $as_echo "$ac_cv_lib_m_cbrtl" >&6; }
12080 if test "x$ac_cv_lib_m_cbrtl" = x
""yes; then :
12082 $as_echo "#define HAVE_CBRTL 1" >>confdefs.h
12086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for feholdexcept in -lm" >&5
12087 $as_echo_n "checking for feholdexcept in -lm... " >&6; }
12088 if test "${ac_cv_lib_m_feholdexcept+set}" = set; then :
12089 $as_echo_n "(cached) " >&6
12091 ac_check_lib_save_LIBS
=$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. */
12105 char feholdexcept ();
12109 return feholdexcept ();
12114 if ac_fn_c_try_link
"$LINENO"; then :
12115 ac_cv_lib_m_feholdexcept
=yes
12117 ac_cv_lib_m_feholdexcept
=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_m_feholdexcept" >&5
12124 $as_echo "$ac_cv_lib_m_feholdexcept" >&6; }
12125 if test "x$ac_cv_lib_m_feholdexcept" = x
""yes; then :
12127 $as_echo "#define HAVE_FEHOLDEXCEPT 1" >>confdefs.h
12131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fesetround in -lm" >&5
12132 $as_echo_n "checking for fesetround in -lm... " >&6; }
12133 if test "${ac_cv_lib_m_fesetround+set}" = set; then :
12134 $as_echo_n "(cached) " >&6
12136 ac_check_lib_save_LIBS
=$LIBS
12138 if test x
$gcc_no_link = xyes
; then
12139 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12141 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12142 /* end confdefs.h. */
12144 /* Override any GCC internal prototype to avoid an error.
12145 Use char because int might match the return type of a GCC
12146 builtin and then its argument prototype would still apply. */
12150 char fesetround ();
12154 return fesetround ();
12159 if ac_fn_c_try_link
"$LINENO"; then :
12160 ac_cv_lib_m_fesetround
=yes
12162 ac_cv_lib_m_fesetround
=no
12164 rm -f core conftest.err conftest.
$ac_objext \
12165 conftest
$ac_exeext conftest.
$ac_ext
12166 LIBS
=$ac_check_lib_save_LIBS
12168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fesetround" >&5
12169 $as_echo "$ac_cv_lib_m_fesetround" >&6; }
12170 if test "x$ac_cv_lib_m_fesetround" = x
""yes; then :
12172 $as_echo "#define HAVE_FESETROUND 1" >>confdefs.h
12176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for feupdateenv in -lm" >&5
12177 $as_echo_n "checking for feupdateenv in -lm... " >&6; }
12178 if test "${ac_cv_lib_m_feupdateenv+set}" = set; then :
12179 $as_echo_n "(cached) " >&6
12181 ac_check_lib_save_LIBS
=$LIBS
12183 if test x
$gcc_no_link = xyes
; then
12184 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12186 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12187 /* end confdefs.h. */
12189 /* Override any GCC internal prototype to avoid an error.
12190 Use char because int might match the return type of a GCC
12191 builtin and then its argument prototype would still apply. */
12195 char feupdateenv ();
12199 return feupdateenv ();
12204 if ac_fn_c_try_link
"$LINENO"; then :
12205 ac_cv_lib_m_feupdateenv
=yes
12207 ac_cv_lib_m_feupdateenv
=no
12209 rm -f core conftest.err conftest.
$ac_objext \
12210 conftest
$ac_exeext conftest.
$ac_ext
12211 LIBS
=$ac_check_lib_save_LIBS
12213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_feupdateenv" >&5
12214 $as_echo "$ac_cv_lib_m_feupdateenv" >&6; }
12215 if test "x$ac_cv_lib_m_feupdateenv" = x
""yes; then :
12217 $as_echo "#define HAVE_FEUPDATEENV 1" >>confdefs.h
12221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fesetenv in -lm" >&5
12222 $as_echo_n "checking for fesetenv in -lm... " >&6; }
12223 if test "${ac_cv_lib_m_fesetenv+set}" = set; then :
12224 $as_echo_n "(cached) " >&6
12226 ac_check_lib_save_LIBS
=$LIBS
12228 if test x
$gcc_no_link = xyes
; then
12229 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12231 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12232 /* end confdefs.h. */
12234 /* Override any GCC internal prototype to avoid an error.
12235 Use char because int might match the return type of a GCC
12236 builtin and then its argument prototype would still apply. */
12244 return fesetenv ();
12249 if ac_fn_c_try_link
"$LINENO"; then :
12250 ac_cv_lib_m_fesetenv
=yes
12252 ac_cv_lib_m_fesetenv
=no
12254 rm -f core conftest.err conftest.
$ac_objext \
12255 conftest
$ac_exeext conftest.
$ac_ext
12256 LIBS
=$ac_check_lib_save_LIBS
12258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fesetenv" >&5
12259 $as_echo "$ac_cv_lib_m_fesetenv" >&6; }
12260 if test "x$ac_cv_lib_m_fesetenv" = x
""yes; then :
12262 $as_echo "#define HAVE_FESETENV 1" >>confdefs.h
12266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fetestexcept in -lm" >&5
12267 $as_echo_n "checking for fetestexcept in -lm... " >&6; }
12268 if test "${ac_cv_lib_m_fetestexcept+set}" = set; then :
12269 $as_echo_n "(cached) " >&6
12271 ac_check_lib_save_LIBS
=$LIBS
12273 if test x
$gcc_no_link = xyes
; then
12274 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12276 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12277 /* end confdefs.h. */
12279 /* Override any GCC internal prototype to avoid an error.
12280 Use char because int might match the return type of a GCC
12281 builtin and then its argument prototype would still apply. */
12285 char fetestexcept ();
12289 return fetestexcept ();
12294 if ac_fn_c_try_link
"$LINENO"; then :
12295 ac_cv_lib_m_fetestexcept
=yes
12297 ac_cv_lib_m_fetestexcept
=no
12299 rm -f core conftest.err conftest.
$ac_objext \
12300 conftest
$ac_exeext conftest.
$ac_ext
12301 LIBS
=$ac_check_lib_save_LIBS
12303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fetestexcept" >&5
12304 $as_echo "$ac_cv_lib_m_fetestexcept" >&6; }
12305 if test "x$ac_cv_lib_m_fetestexcept" = x
""yes; then :
12307 $as_echo "#define HAVE_FETESTEXCEPT 1" >>confdefs.h
12311 for ac_func
in strtoull
12313 ac_fn_c_check_func
"$LINENO" "strtoull" "ac_cv_func_strtoull"
12314 if test "x$ac_cv_func_strtoull" = x
""yes; then :
12315 cat >>confdefs.h
<<_ACEOF
12316 #define HAVE_STRTOULL 1
12323 if test "x$ac_cv_lib_m_sqrtl" = x
""yes; then
12325 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
12328 if test "x$ac_cv_lib_m_cbrtl" = x
""yes; then
12330 $as_echo "#define HAVE_CBRTL 1" >>confdefs.h
12333 if test "x$ac_cv_lib_m_feholdexcept" = x
""yes; then
12335 $as_echo "#define HAVE_FEHOLDEXCEPT 1" >>confdefs.h
12338 if test "x$ac_cv_lib_m_fesetround" = x
""yes; then
12340 $as_echo "#define HAVE_FESETROUND 1" >>confdefs.h
12343 if test "x$ac_cv_lib_m_feupdateenv" = x
""yes; then
12345 $as_echo "#define HAVE_FEUPDATEENV 1" >>confdefs.h
12348 if test "x$ac_cv_lib_m_fesetenv" = x
""yes; then
12350 $as_echo "#define HAVE_FESETENV 1" >>confdefs.h
12353 if test "x$ac_cv_lib_m_fetestexcept" = x
""yes; then
12355 $as_echo "#define HAVE_FETESTEXCEPT 1" >>confdefs.h
12360 # Check for hidden visibility (copied from libssp).
12361 saved_CFLAGS
="$CFLAGS"
12362 CFLAGS
="$CFLAGS -Werror"
12363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether hidden visibility is supported" >&5
12364 $as_echo_n "checking whether hidden visibility is supported... " >&6; }
12365 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12366 /* end confdefs.h. */
12368 void __attribute__((visibility ("hidden"))) bar (void) {}
12377 if ac_fn_c_try_compile
"$LINENO"; then :
12378 quadmath_hidden
=yes
12382 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $quadmath_hidden" >&5
12384 $as_echo "$quadmath_hidden" >&6; }
12385 if test x
$quadmath_hidden = xyes
; then
12387 $as_echo "#define HAVE_HIDDEN_VISIBILITY 1" >>confdefs.h
12390 CFLAGS
="$saved_CFLAGS"
12392 # Check for symbol versioning (copied from libssp).
12393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether symbol versioning is supported" >&5
12394 $as_echo_n "checking whether symbol versioning is supported... " >&6; }
12395 # Check whether --enable-symvers was given.
12396 if test "${enable_symvers+set}" = set; then :
12397 enableval
=$enable_symvers; quadmath_use_symver
=$enableval
12399 quadmath_use_symver
=yes
12402 if test "x$quadmath_use_symver" != xno
; then
12403 if test x
$gcc_no_link = xyes
; then
12404 # If we cannot link, we cannot build shared libraries, so do not use
12405 # symbol versioning.
12406 quadmath_use_symver
=no
12408 save_LDFLAGS
="$LDFLAGS"
12409 LDFLAGS
="$LDFLAGS -fPIC -shared -Wl,--version-script,./conftest.map"
12410 cat > conftest.map
<<EOF
12412 global: *foo*; bar; local: *;
12415 if test x
$gcc_no_link = xyes
; then
12416 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12418 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12419 /* end confdefs.h. */
12429 if ac_fn_c_try_link
"$LINENO"; then :
12430 quadmath_use_symver
=gnu
12432 quadmath_use_symver
=no
12434 rm -f core conftest.err conftest.
$ac_objext \
12435 conftest
$ac_exeext conftest.
$ac_ext
12436 if test x
$quadmath_use_symver = xno
; then
12437 case "$target_os" in
12439 LDFLAGS
="$save_LDFLAGS"
12440 LDFLAGS
="$LDFLAGS -fPIC -shared -Wl,-M,./conftest.map"
12441 # Sun ld cannot handle wildcards and treats all entries as undefined.
12442 cat > conftest.map
<<EOF
12444 global: foo; local: *;
12447 if test x
$gcc_no_link = xyes
; then
12448 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12450 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12451 /* end confdefs.h. */
12461 if ac_fn_c_try_link
"$LINENO"; then :
12462 quadmath_use_symver
=sun
12464 quadmath_use_symver
=no
12466 rm -f core conftest.err conftest.
$ac_objext \
12467 conftest
$ac_exeext conftest.
$ac_ext
12471 LDFLAGS
="$save_LDFLAGS"
12474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $quadmath_use_symver" >&5
12475 $as_echo "$quadmath_use_symver" >&6; }
12476 if test "x$quadmath_use_symver" != xno
; then
12477 LIBQUAD_USE_SYMVER_TRUE
=
12478 LIBQUAD_USE_SYMVER_FALSE
='#'
12480 LIBQUAD_USE_SYMVER_TRUE
='#'
12481 LIBQUAD_USE_SYMVER_FALSE
=
12484 if test "x$quadmath_use_symver" = xgnu
; then
12485 LIBQUAD_USE_SYMVER_GNU_TRUE
=
12486 LIBQUAD_USE_SYMVER_GNU_FALSE
='#'
12488 LIBQUAD_USE_SYMVER_GNU_TRUE
='#'
12489 LIBQUAD_USE_SYMVER_GNU_FALSE
=
12492 if test "x$quadmath_use_symver" = xsun
; then
12493 LIBQUAD_USE_SYMVER_SUN_TRUE
=
12494 LIBQUAD_USE_SYMVER_SUN_FALSE
='#'
12496 LIBQUAD_USE_SYMVER_SUN_TRUE
='#'
12497 LIBQUAD_USE_SYMVER_SUN_FALSE
=
12501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __float128 is supported" >&5
12502 $as_echo_n "checking whether __float128 is supported... " >&6; }
12503 if test "${libquad_cv_have_float128+set}" = set; then :
12504 $as_echo_n "(cached) " >&6
12506 if test x
$gcc_no_link = xyes
; then
12507 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12508 /* end confdefs.h. */
12510 typedef _Complex float __attribute__((mode(TC))) __complex128;
12512 __float128 foo (__float128 x)
12515 __complex128 z1, z2;
12521 return (__float128) z2;
12524 __float128 bar (__float128 x)
12526 return x * __builtin_huge_valq ();
12540 if ac_fn_c_try_compile
"$LINENO"; then :
12542 libquad_cv_have_float128
=yes
12546 libquad_cv_have_float128
=no
12549 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12551 if test x
$gcc_no_link = xyes
; then
12552 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12554 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12555 /* end confdefs.h. */
12557 typedef _Complex float __attribute__((mode(TC))) __complex128;
12559 __float128 foo (__float128 x)
12562 __complex128 z1, z2;
12568 return (__float128) z2;
12571 __float128 bar (__float128 x)
12573 return x * __builtin_huge_valq ();
12587 if ac_fn_c_try_link
"$LINENO"; then :
12589 libquad_cv_have_float128
=yes
12593 libquad_cv_have_float128
=no
12596 rm -f core conftest.err conftest.
$ac_objext \
12597 conftest
$ac_exeext conftest.
$ac_ext
12600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libquad_cv_have_float128" >&5
12601 $as_echo "$libquad_cv_have_float128" >&6; }
12602 if test "x$libquad_cv_have_float128" = xyes
; then
12603 BUILD_LIBQUADMATH_TRUE
=
12604 BUILD_LIBQUADMATH_FALSE
='#'
12606 BUILD_LIBQUADMATH_TRUE
='#'
12607 BUILD_LIBQUADMATH_FALSE
=
12611 # Check for printf hook support.
12612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf hooks are supported" >&5
12613 $as_echo_n "checking whether printf hooks are supported... " >&6; }
12614 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12615 /* end confdefs.h. */
12617 #include <printf.h>
12618 #include <stdarg.h>
12619 #include <stdlib.h>
12620 extern void flt128_va (void *, va_list *);
12621 extern int flt128_ais (const struct printf_info *, size_t, int *, int *);
12622 extern int flt128_printf_fp (FILE *, const struct printf_info *, const void *const *);
12628 int pa_flt128 = register_printf_type (flt128_va);
12629 int mod_Q = register_printf_modifier (L"Q");
12630 int res = register_printf_specifier ('f', flt128_printf_fp, flt128_ais);
12631 struct printf_info info = { .user = -1 };
12637 if ac_fn_c_try_compile
"$LINENO"; then :
12638 quadmath_printf_hooks
=yes
12640 quadmath_printf_hooks
=no
12642 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $quadmath_printf_hooks" >&5
12644 $as_echo "$quadmath_printf_hooks" >&6; }
12645 if test x
$quadmath_printf_hooks = xyes
; then
12647 $as_echo "#define HAVE_PRINTF_HOOKS 1" >>confdefs.h
12651 # Check for whether locale support for quadmath_snprintf or Q printf hooks
12652 # should be provided.
12653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether nl_langinfo should be used" >&5
12654 $as_echo_n "checking whether nl_langinfo should be used... " >&6; }
12655 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12656 /* end confdefs.h. */
12657 #include <langinfo.h>
12663 s = nl_langinfo (DECIMAL_POINT);
12664 s = nl_langinfo (MON_DECIMAL_POINT);
12665 s = nl_langinfo (GROUPING);
12666 s = nl_langinfo (MON_GROUPING);
12667 s = nl_langinfo (THOUSANDS_SEP);
12668 s = nl_langinfo (MON_THOUSANDS_SEP);
12675 if ac_fn_c_try_compile
"$LINENO"; then :
12676 quadmath_use_nl_langinfo
=yes
12678 quadmath_use_nl_langinfo
=no
12680 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $quadmath_use_nl_langinfo" >&5
12682 $as_echo "$quadmath_use_nl_langinfo" >&6; }
12683 if test x
$quadmath_use_nl_langinfo = xyes
; then
12685 $as_echo "#define USE_NL_LANGINFO 1" >>confdefs.h
12689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether nl_langinfo should be used for wide char locale info" >&5
12690 $as_echo_n "checking whether nl_langinfo should be used for wide char locale info... " >&6; }
12691 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12692 /* end confdefs.h. */
12693 #include <langinfo.h>
12699 s = nl_langinfo (_NL_NUMERIC_DECIMAL_POINT_WC);
12700 s = nl_langinfo (_NL_MONETARY_DECIMAL_POINT_WC);
12701 s = nl_langinfo (_NL_NUMERIC_THOUSANDS_SEP_WC);
12702 s = nl_langinfo (_NL_MONETARY_THOUSANDS_SEP_WC);
12709 if ac_fn_c_try_compile
"$LINENO"; then :
12710 quadmath_use_nl_langinfo_wc
=yes
12712 quadmath_use_nl_langinfo_wc
=no
12714 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $quadmath_use_nl_langinfo_wc" >&5
12716 $as_echo "$quadmath_use_nl_langinfo_wc" >&6; }
12717 if test x
$quadmath_use_nl_langinfo_wc = xyes
; then
12719 $as_echo "#define USE_NL_LANGINFO_WC 1" >>confdefs.h
12723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether localeconv should be used" >&5
12724 $as_echo_n "checking whether localeconv should be used... " >&6; }
12725 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12726 /* end confdefs.h. */
12727 #include <locale.h>
12732 const struct lconv *l = localeconv ();
12734 s = l->decimal_point;
12735 s = l->mon_decimal_point;
12737 s = l->mon_grouping;
12738 s = l->thousands_sep;
12739 s = l->mon_thousands_sep;
12746 if ac_fn_c_try_compile
"$LINENO"; then :
12747 quadmath_use_localeconv
=yes
12749 quadmath_use_localeconv
=no
12751 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $quadmath_use_localeconv" >&5
12753 $as_echo "$quadmath_use_localeconv" >&6; }
12754 if test x
$quadmath_use_localeconv = xyes
; then
12756 $as_echo "#define USE_LOCALECONV 1" >>confdefs.h
12760 # Check for whether i18n number rewriting support for quadmath_snprintf
12761 # or Q printf hooks should be provided.
12762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether i18n number rewriting support for quadmath_snprintf should be added" >&5
12763 $as_echo_n "checking whether i18n number rewriting support for quadmath_snprintf should be added... " >&6; }
12764 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12765 /* end confdefs.h. */
12766 #include <langinfo.h>
12767 #include <limits.h>
12768 #include <string.h>
12770 #include <wctype.h>
12776 char decimal[MB_LEN_MAX];
12777 wctrans_t map = wctrans ("to_outpunct");
12778 wint_t wdecimal = towctrans (L'.', map);
12780 memset (&state, '\0', sizeof (state));
12781 wcrtomb (decimal, wdecimal, &state);
12782 s = nl_langinfo (_NL_CTYPE_OUTDIGIT0_MB);
12783 s = nl_langinfo (_NL_CTYPE_OUTDIGIT0_WC);
12784 s = nl_langinfo (_NL_CTYPE_MB_CUR_MAX);
12791 if ac_fn_c_try_compile
"$LINENO"; then :
12792 quadmath_use_i18n_number_h
=yes
12794 quadmath_use_i18n_number_h
=no
12796 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $quadmath_use_i18n_number_h" >&5
12798 $as_echo "$quadmath_use_i18n_number_h" >&6; }
12799 if test x
$quadmath_use_i18n_number_h = xyes
; then
12801 $as_echo "#define USE_I18N_NUMBER_H 1" >>confdefs.h
12805 cat >confcache
<<\_ACEOF
12806 # This file is a shell script that caches the results of configure
12807 # tests run on this system so they can be shared between configure
12808 # scripts and configure runs, see configure's option --config-cache.
12809 # It is not useful on other systems. If it contains results you don't
12810 # want to keep, you may remove or edit it.
12812 # config.status only pays attention to the cache file if you give it
12813 # the --recheck option to rerun configure.
12815 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12816 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12817 # following values.
12821 # The following way of writing the cache mishandles newlines in values,
12822 # but we know of no workaround that is simple, portable, and efficient.
12823 # So, we kill variables containing newlines.
12824 # Ultrix sh set writes to stderr and can't be redirected directly,
12825 # and sets the high bit in the cache file unless we assign to the vars.
12827 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12828 eval ac_val
=\$
$ac_var
12832 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12833 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12836 _ | IFS | as_nl
) ;; #(
12837 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
12838 *) { eval $ac_var=; unset $ac_var;} ;;
12844 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12845 *${as_nl}ac_space
=\
*)
12846 # `set' does not quote correctly, so add quotes: double-quote
12847 # substitution turns \\\\ into \\, and sed turns \\ into \.
12850 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12853 # `set' quotes correctly as required by POSIX, so do not add quotes.
12854 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12863 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12865 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12867 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
12868 if test -w "$cache_file"; then
12869 test "x$cache_file" != "x/dev/null" &&
12870 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12871 $as_echo "$as_me: updating cache $cache_file" >&6;}
12872 cat confcache
>$cache_file
12874 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12875 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12880 if test ${multilib} = yes; then
12881 multilib_arg
="--enable-multilib"
12887 # We would like our source tree to be readonly. However when releases or
12888 # pre-releases are generated, the flex/bison generated files as well as the
12889 # various formats of manuals need to be included along with the rest of the
12890 # sources. Therefore we have --enable-generated-files-in-srcdir to do
12892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking generated-files-in-srcdir" >&5
12893 $as_echo_n "checking generated-files-in-srcdir... " >&6; }
12894 # Check whether --enable-generated-files-in-srcdir was given.
12895 if test "${enable_generated_files_in_srcdir+set}" = set; then :
12896 enableval
=$enable_generated_files_in_srcdir; case "$enableval" in
12897 yes) enable_generated_files_in_srcdir
=yes ;;
12898 no
) enable_generated_files_in_srcdir
=no
;;
12899 *) as_fn_error
"Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
12902 enable_generated_files_in_srcdir
=no
12905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_generated_files_in_srcdir" >&5
12906 $as_echo "$enable_generated_files_in_srcdir" >&6; }
12907 if test "$enable_generated_files_in_srcdir" = yes; then
12917 ac_config_files
="$ac_config_files Makefile"
12919 cat >confcache
<<\_ACEOF
12920 # This file is a shell script that caches the results of configure
12921 # tests run on this system so they can be shared between configure
12922 # scripts and configure runs, see configure's option --config-cache.
12923 # It is not useful on other systems. If it contains results you don't
12924 # want to keep, you may remove or edit it.
12926 # config.status only pays attention to the cache file if you give it
12927 # the --recheck option to rerun configure.
12929 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12930 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12931 # following values.
12935 # The following way of writing the cache mishandles newlines in values,
12936 # but we know of no workaround that is simple, portable, and efficient.
12937 # So, we kill variables containing newlines.
12938 # Ultrix sh set writes to stderr and can't be redirected directly,
12939 # and sets the high bit in the cache file unless we assign to the vars.
12941 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12942 eval ac_val
=\$
$ac_var
12946 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12947 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12950 _ | IFS | as_nl
) ;; #(
12951 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
12952 *) { eval $ac_var=; unset $ac_var;} ;;
12958 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12959 *${as_nl}ac_space
=\
*)
12960 # `set' does not quote correctly, so add quotes: double-quote
12961 # substitution turns \\\\ into \\, and sed turns \\ into \.
12964 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12967 # `set' quotes correctly as required by POSIX, so do not add quotes.
12968 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12977 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12979 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12981 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
12982 if test -w "$cache_file"; then
12983 test "x$cache_file" != "x/dev/null" &&
12984 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12985 $as_echo "$as_me: updating cache $cache_file" >&6;}
12986 cat confcache
>$cache_file
12988 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12989 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12994 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
12995 # Let make expand exec_prefix.
12996 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
12998 DEFS
=-DHAVE_CONFIG_H
13002 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
13003 # 1. Remove the extension, and $U if already installed.
13004 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
13005 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
13006 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
13007 # will be set to the directory where LIBOBJS objects are built.
13008 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13009 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
13011 LIBOBJS
=$ac_libobjs
13013 LTLIBOBJS
=$ac_ltlibobjs
13016 if test -n "$EXEEXT"; then
13018 am__EXEEXT_FALSE
='#'
13020 am__EXEEXT_TRUE
='#'
13024 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13025 as_fn_error
"conditional \"AMDEP\" was never defined.
13026 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13028 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13029 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
13030 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13032 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
13033 as_fn_error
"conditional \"BUILD_INFO\" was never defined.
13034 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13036 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
13037 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
13038 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13040 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13041 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
13042 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13044 if test -z "${LIBQUAD_USE_SYMVER_TRUE}" && test -z "${LIBQUAD_USE_SYMVER_FALSE}"; then
13045 as_fn_error
"conditional \"LIBQUAD_USE_SYMVER\" was never defined.
13046 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13048 if test -z "${LIBQUAD_USE_SYMVER_GNU_TRUE}" && test -z "${LIBQUAD_USE_SYMVER_GNU_FALSE}"; then
13049 as_fn_error
"conditional \"LIBQUAD_USE_SYMVER_GNU\" was never defined.
13050 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13052 if test -z "${LIBQUAD_USE_SYMVER_SUN_TRUE}" && test -z "${LIBQUAD_USE_SYMVER_SUN_FALSE}"; then
13053 as_fn_error
"conditional \"LIBQUAD_USE_SYMVER_SUN\" was never defined.
13054 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13056 if test -z "${BUILD_LIBQUADMATH_TRUE}" && test -z "${BUILD_LIBQUADMATH_FALSE}"; then
13057 as_fn_error
"conditional \"BUILD_LIBQUADMATH\" was never defined.
13058 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13060 if test -z "${GENINSRC_TRUE}" && test -z "${GENINSRC_FALSE}"; then
13061 as_fn_error
"conditional \"GENINSRC\" was never defined.
13062 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13065 : ${CONFIG_STATUS=./config.status}
13067 ac_clean_files_save
=$ac_clean_files
13068 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
13069 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13070 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13072 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13074 # Generated by $as_me.
13075 # Run this file to recreate the current configuration.
13076 # Compiler output produced by configure, useful for debugging
13077 # configure, is in config.log if it exists.
13080 ac_cs_recheck=false
13083 SHELL=\${CONFIG_SHELL-$SHELL}
13086 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
13087 ## -------------------- ##
13088 ## M4sh Initialization. ##
13089 ## -------------------- ##
13091 # Be more Bourne compatible
13092 DUALCASE
=1; export DUALCASE
# for MKS sh
13093 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
13096 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13097 # is contrary to our usage. Disable this feature.
13098 alias -g '${1+"$@"}'='"$@"'
13099 setopt NO_GLOB_SUBST
13101 case `(set -o) 2>/dev/null` in #(
13113 # Printing a long string crashes Solaris 7 /usr/bin/printf.
13114 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13115 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13116 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13117 # Prefer a ksh shell builtin over an external printf program on Solaris,
13118 # but without wasting forks for bash or zsh.
13119 if test -z "$BASH_VERSION$ZSH_VERSION" \
13120 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13121 as_echo='print
-r --'
13122 as_echo_n='print
-rn --'
13123 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13124 as_echo='printf %s
\n'
13125 as_echo_n='printf %s
'
13127 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13128 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
13129 as_echo_n='/usr
/ucb
/echo -n'
13131 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13132 as_echo_n_body='eval
13136 expr "X$arg" : "X\\(.*\\)$as_nl";
13137 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13139 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
13141 export as_echo_n_body
13142 as_echo_n='sh
-c $as_echo_n_body as_echo
'
13144 export as_echo_body
13145 as_echo='sh
-c $as_echo_body as_echo
'
13148 # The user is always right.
13149 if test "${PATH_SEPARATOR+set}" != set; then
13151 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13152 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13159 # We need space, tab and new line, in precisely that order. Quoting is
13160 # there to prevent editors from complaining about space-tab.
13161 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13162 # splitting by setting IFS to empty value.)
13165 # Find who we are. Look in the path if we contain no directory separator.
13167 *[\\/]* ) as_myself=$0 ;;
13168 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13169 for as_dir in $PATH
13172 test -z "$as_dir" && as_dir=.
13173 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13179 # We did not find ourselves, most probably we were run as `sh COMMAND'
13180 # in which case we are not to be found in the path.
13181 if test "x$as_myself" = x
; then
13184 if test ! -f "$as_myself"; then
13185 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13189 # Unset variables that we do not need and which cause bugs (e.g. in
13190 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
13191 # suppresses any "Segmentation fault" message there. '((' could
13192 # trigger a bug in pdksh 5.2.14.
13193 for as_var
in BASH_ENV ENV MAIL MAILPATH
13194 do eval test x\
${$as_var+set} = xset \
13195 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
13208 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
13211 # as_fn_error ERROR [LINENO LOG_FD]
13212 # ---------------------------------
13213 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13214 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13215 # script with status $?, using 1 if that was 0.
13218 as_status
=$?
; test $as_status -eq 0 && as_status
=1
13220 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
13221 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
13223 $as_echo "$as_me: error: $1" >&2
13224 as_fn_exit
$as_status
13228 # as_fn_set_status STATUS
13229 # -----------------------
13230 # Set $? to STATUS, without forking.
13231 as_fn_set_status
()
13234 } # as_fn_set_status
13236 # as_fn_exit STATUS
13237 # -----------------
13238 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13242 as_fn_set_status
$1
13248 # Portably unset VAR.
13251 { eval $1=; unset $1;}
13253 as_unset
=as_fn_unset
13254 # as_fn_append VAR VALUE
13255 # ----------------------
13256 # Append the text in VALUE to the end of the definition contained in VAR. Take
13257 # advantage of any shell optimizations that allow amortized linear growth over
13258 # repeated appends, instead of the typical quadratic growth present in naive
13260 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
13261 eval 'as_fn_append ()
13272 # as_fn_arith ARG...
13273 # ------------------
13274 # Perform arithmetic evaluation on the ARGs, and store the result in the
13275 # global $as_val. Take advantage of shells that can avoid forks. The arguments
13276 # must be portable across $(()) and expr.
13277 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
13278 eval 'as_fn_arith ()
13285 as_val
=`expr "$@" || test $? -eq 1`
13290 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
13291 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
13297 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13298 as_basename
=basename
13303 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
13309 as_me
=`$as_basename -- "$0" ||
13310 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13311 X"$0" : 'X\(//\)$' \| \
13312 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13314 sed '/^.*\/\([^/][^/]*\)\/*$/{
13328 # Avoid depending upon Character Ranges.
13329 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
13330 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13331 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
13332 as_cr_digits
='0123456789'
13333 as_cr_alnum
=$as_cr_Letters$as_cr_digits
13335 ECHO_C
= ECHO_N
= ECHO_T
=
13336 case `echo -n x` in #(((((
13338 case `echo 'xy\c'` in
13339 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
13341 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
13348 rm -f conf$$ conf$$.exe conf$$.
file
13349 if test -d conf$$.dir
; then
13350 rm -f conf$$.dir
/conf$$.
file
13353 mkdir conf$$.dir
2>/dev
/null
13355 if (echo >conf$$.
file) 2>/dev
/null
; then
13356 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
13358 # ... but there are two gotchas:
13359 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13360 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13361 # In both cases, we have to default to `cp -p'.
13362 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
13364 elif ln conf$$.
file conf$$
2>/dev
/null
; then
13372 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
13373 rmdir conf$$.dir
2>/dev
/null
13378 # Create "$as_dir" as a directory, including parents if necessary.
13383 -*) as_dir
=.
/$as_dir;;
13385 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
13389 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13390 *) as_qdir
=$as_dir;;
13392 as_dirs
="'$as_qdir' $as_dirs"
13393 as_dir
=`$as_dirname -- "$as_dir" ||
13394 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13395 X"$as_dir" : 'X\(//\)[^/]' \| \
13396 X"$as_dir" : 'X\(//\)$' \| \
13397 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13398 $as_echo X"$as_dir" |
13399 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13403 /^X\(\/\/\)[^/].*/{
13416 test -d "$as_dir" && break
13418 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
13419 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
13423 if mkdir
-p .
2>/dev
/null
; then
13424 as_mkdir_p
='mkdir -p "$as_dir"'
13426 test -d .
/-p && rmdir .
/-p
13430 if test -x / >/dev
/null
2>&1; then
13431 as_test_x
='test -x'
13433 if ls -dL / >/dev
/null
2>&1; then
13440 if test -d "$1"; then
13446 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
13447 ???[sx]*):;;*)false;;esac;fi
13451 as_executable_p
=$as_test_x
13453 # Sed expression to map a string onto a valid CPP name.
13454 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13456 # Sed expression to map a string onto a valid variable name.
13457 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13461 ## ----------------------------------- ##
13462 ## Main body of $CONFIG_STATUS script. ##
13463 ## ----------------------------------- ##
13465 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
13467 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13468 # Save the log message, to keep $0 and so on meaningful, and to
13469 # report actual input values of CONFIG_FILES etc. instead of their
13470 # values after options handling.
13472 This file was extended by GCC Quad-precision Math Library $as_me 0.1, which was
13473 generated by GNU Autoconf 2.64. Invocation command line was
13475 CONFIG_FILES = $CONFIG_FILES
13476 CONFIG_HEADERS = $CONFIG_HEADERS
13477 CONFIG_LINKS = $CONFIG_LINKS
13478 CONFIG_COMMANDS = $CONFIG_COMMANDS
13481 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13486 case $ac_config_files in *"
13487 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
13490 case $ac_config_headers in *"
13491 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
13495 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13496 # Files that config.status was made for.
13497 config_files="$ac_config_files"
13498 config_headers="$ac_config_headers"
13499 config_commands="$ac_config_commands"
13503 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13505 \`$as_me' instantiates files and other configuration actions
13506 from templates according to the current configuration. Unless the files
13507 and actions are specified as TAGs, all are instantiated by default.
13509 Usage: $0 [OPTION]... [TAG]...
13511 -h, --help print this help, then exit
13512 -V, --version print version number and configuration settings, then exit
13513 -q, --quiet, --silent
13514 do not print progress messages
13515 -d, --debug don't remove temporary files
13516 --recheck update $as_me by reconfiguring in the same conditions
13517 --file=FILE[:TEMPLATE]
13518 instantiate the configuration file FILE
13519 --header=FILE[:TEMPLATE]
13520 instantiate the configuration header FILE
13522 Configuration files:
13525 Configuration headers:
13528 Configuration commands:
13531 Report bugs to the package provider."
13534 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13536 GCC Quad-precision Math Library config.status 0.1
13537 configured by $0, generated by GNU Autoconf 2.64,
13538 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
13540 Copyright (C) 2009 Free Software Foundation, Inc.
13541 This config.status script is free software; the Free Software Foundation
13542 gives unlimited permission to copy, distribute and modify it."
13549 test -n "\$AWK" || AWK=awk
13552 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13553 # The default lists apply if the user does not specify any file.
13559 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
13560 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
13571 # Handling of the options.
13572 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
13574 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
13575 $as_echo "$ac_cs_version"; exit ;;
13576 --debug |
--debu |
--deb |
--de |
--d |
-d )
13578 --file |
--fil |
--fi |
--f )
13581 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13583 as_fn_append CONFIG_FILES
" '$ac_optarg'"
13584 ac_need_defaults
=false
;;
13585 --header |
--heade |
--head |
--hea )
13588 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13590 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
13591 ac_need_defaults
=false
;;
13593 # Conflict between --help and --header
13594 as_fn_error
"ambiguous option: \`$1'
13595 Try \`$0 --help' for more information.";;
13596 --help |
--hel |
-h )
13597 $as_echo "$ac_cs_usage"; exit ;;
13598 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
13599 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
13602 # This is an error.
13603 -*) as_fn_error
"unrecognized option: \`$1'
13604 Try \`$0 --help' for more information." ;;
13606 *) as_fn_append ac_config_targets
" $1"
13607 ac_need_defaults
=false
;;
13613 ac_configure_extra_args
=
13615 if $ac_cs_silent; then
13617 ac_configure_extra_args
="$ac_configure_extra_args --silent"
13621 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13622 if \$ac_cs_recheck; then
13623 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13625 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13626 CONFIG_SHELL='$SHELL'
13627 export CONFIG_SHELL
13632 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13636 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13637 ## Running $as_me. ##
13643 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13647 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13650 # The HP-UX ksh and POSIX shell print the target directory to stdout
13651 # if CDPATH is set.
13652 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13654 sed_quote_subst='$sed_quote_subst'
13655 double_quote_subst='$double_quote_subst'
13656 delay_variable_subst='$delay_variable_subst'
13657 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
13658 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
13659 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
13660 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
13661 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
13662 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
13663 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
13664 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
13665 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
13666 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
13667 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
13668 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
13669 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
13670 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
13671 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
13672 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
13673 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
13674 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
13675 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
13676 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
13677 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
13678 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
13679 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
13680 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
13681 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
13682 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
13683 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
13684 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
13685 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
13686 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
13687 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
13688 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
13689 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
13690 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
13691 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
13692 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
13693 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
13694 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13695 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13696 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
13697 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
13698 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
13699 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
13700 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
13701 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
13702 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
13703 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
13704 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
13705 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"`'
13706 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
13707 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
13708 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
13709 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
13710 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
13711 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
13712 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
13713 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
13714 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
13715 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
13716 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
13717 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
13718 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
13719 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
13720 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
13721 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13722 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
13723 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
13724 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
13725 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
13726 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
13727 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
13728 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13729 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
13730 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13731 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
13732 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13733 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
13734 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
13735 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
13736 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
13737 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
13738 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
13739 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
13740 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
13741 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
13742 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
13743 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
13744 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
13745 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
13746 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
13747 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
13748 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
13749 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
13750 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
13751 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
13752 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
13753 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
13754 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
13755 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
13756 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
13757 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
13758 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
13759 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
13760 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
13761 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
13762 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
13763 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
13764 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13765 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13766 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
13767 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
13768 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
13769 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
13770 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
13771 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
13772 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
13773 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
13774 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
13775 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
13776 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
13779 LTCFLAGS='$LTCFLAGS'
13780 compiler='$compiler_DEFAULT'
13782 # A function that is used when there is no print builtin or printf.
13783 func_fallback_echo ()
13785 eval 'cat <<_LTECHO_EOF
13790 # Quote evaled strings.
13804 deplibs_check_method \
13813 lt_cv_sys_global_symbol_pipe \
13814 lt_cv_sys_global_symbol_to_cdecl \
13815 lt_cv_sys_global_symbol_to_c_name_address \
13816 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13817 lt_prog_compiler_no_builtin_flag \
13818 lt_prog_compiler_wl \
13819 lt_prog_compiler_pic \
13820 lt_prog_compiler_static \
13821 lt_cv_prog_compiler_c_o \
13829 export_dynamic_flag_spec \
13830 whole_archive_flag_spec \
13831 compiler_needs_object \
13833 allow_undefined_flag \
13834 no_undefined_flag \
13835 hardcode_libdir_flag_spec \
13836 hardcode_libdir_flag_spec_ld \
13837 hardcode_libdir_separator \
13842 variables_saved_for_relink \
13844 library_names_spec \
13846 install_override_mode \
13850 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13851 *[\\\\\\\`\\"\\\$]*)
13852 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13855 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13860 # Double-quote double-evaled strings.
13861 for var in reload_cmds \
13862 old_postinstall_cmds \
13863 old_postuninstall_cmds \
13865 extract_expsyms_cmds \
13866 old_archive_from_new_cmds \
13867 old_archive_from_expsyms_cmds \
13869 archive_expsym_cmds \
13871 module_expsym_cmds \
13872 export_symbols_cmds \
13875 postuninstall_cmds \
13877 sys_lib_search_path_spec \
13878 sys_lib_dlsearch_path_spec; do
13879 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13880 *[\\\\\\\`\\"\\\$]*)
13881 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13884 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13889 ac_aux_dir='$ac_aux_dir'
13890 xsi_shell='$xsi_shell'
13891 lt_shell_append='$lt_shell_append'
13893 # See if we are running on zsh, and set the options which allow our
13894 # commands through without removal of \ escapes INIT.
13895 if test -n "\${ZSH_VERSION+set}" ; then
13896 setopt NO_GLOB_SUBST
13902 TIMESTAMP='$TIMESTAMP'
13912 with_multisubdir="$with_multisubdir"
13913 with_multisrctop="$with_multisrctop"
13914 with_target_subdir="$with_target_subdir"
13915 ac_configure_args="${multilib_arg} ${ac_configure_args}"
13916 multi_basedir="$multi_basedir"
13917 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
13920 GFORTRAN="$GFORTRAN"
13925 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13927 # Handling of arguments.
13928 for ac_config_target
in $ac_config_targets
13930 case $ac_config_target in
13931 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
13932 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
13933 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
13934 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
13935 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
13937 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
13942 # If the user did not use the arguments to specify the items to instantiate,
13943 # then the envvar interface is used. Set only those that are not.
13944 # We use the long form for the default assignment because of an extremely
13945 # bizarre bug on SunOS 4.1.3.
13946 if $ac_need_defaults; then
13947 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
13948 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
13949 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
13952 # Have a temporary directory for convenience. Make it in the build tree
13953 # simply because there is no reason against having it here, and in addition,
13954 # creating and moving files from /tmp can sometimes cause problems.
13955 # Hook for its removal unless debugging.
13956 # Note that there is a small window in which the directory will not be cleaned:
13957 # after its creation but before its name has been assigned to `$tmp'.
13961 trap 'exit_status=$?
13962 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
13964 trap 'as_fn_exit 1' 1 2 13 15
13966 # Create a (secure) tmp directory for tmp files.
13969 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13970 test -n "$tmp" && test -d "$tmp"
13973 tmp
=.
/conf$$
-$RANDOM
13974 (umask 077 && mkdir
"$tmp")
13975 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
13977 # Set up the scripts for CONFIG_FILES section.
13978 # No need to generate them if there are no CONFIG_FILES.
13979 # This happens for instance with `./config.status config.h'.
13980 if test -n "$CONFIG_FILES"; then
13983 ac_cr
=`echo X | tr X '\015'`
13984 # On cygwin, bash can eat \r inside `` if the user requested igncr.
13985 # But we know of no other shell where ac_cr would be empty at this
13986 # point, so we can use a bashism as a fallback.
13987 if test "x$ac_cr" = x
; then
13988 eval ac_cr
=\$
\'\\r
\'
13990 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13991 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13994 ac_cs_awk_cr
=$ac_cr
13997 echo 'BEGIN {' >"$tmp/subs1.awk" &&
14002 echo "cat >conf$$subs.awk <<_ACEOF" &&
14003 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14005 } >conf$$subs.sh ||
14006 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
14007 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
14009 for ac_last_try in false false false false false :; do
14010 . ./conf$$subs.sh ||
14011 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
14013 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
14014 if test $ac_delim_n = $ac_delim_num; then
14016 elif $ac_last_try; then
14017 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
14019 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
14022 rm -f conf$$subs.sh
14024 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14025 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
14029 s/^/S["/; s
/!.
*/"]=/
14039 s/\(.\{148\}\).*/\1/
14041 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
14046 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
14053 s/\(.\{148\}\).*/\1/
14055 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
14059 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
14064 ' <conf$$subs.awk | sed '
14069 ' >>$CONFIG_STATUS || ac_write_fail=1
14070 rm -f conf$$subs.awk
14071 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14073 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
14074 for (key in S) S_is_set[key] = 1
14080 nfields = split(line, field, "@
")
14082 len = length(field[1])
14083 for (i = 2; i < nfields; i++) {
14085 keylen = length(key)
14086 if (S_is_set[key]) {
14088 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14089 len += length(value) + length(field[++i])
14100 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14101 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14102 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
14105 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
14106 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
14109 # VPATH may cause trouble with some makes, so we remove $(srcdir),
14110 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
14111 # trailing colons and then remove the whole line if VPATH becomes empty
14112 # (actually we leave an empty line to preserve line numbers).
14113 if test "x
$srcdir" = x.; then
14114 ac_vpsub='/^[ ]*VPATH[ ]*=/{
14115 s/:*\$(srcdir):*/:/
14116 s/:*\${srcdir}:*/:/
14118 s/^\([^=]*=[ ]*\):*/\1/
14124 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14125 fi # test -n "$CONFIG_FILES"
14127 # Set up the scripts for CONFIG_HEADERS section.
14128 # No need to generate them if there are no CONFIG_HEADERS.
14129 # This happens for instance with `./config.status Makefile'.
14130 if test -n "$CONFIG_HEADERS"; then
14131 cat >"$tmp/defines.
awk" <<\_ACAWK ||
14135 # Transform confdefs.h into an awk script `defines.awk', embedded as
14136 # here-document in config.status, that substitutes the proper values into
14137 # config.h.in to produce config.h.
14139 # Create a delimiter string that does not exist in confdefs.h, to ease
14140 # handling of long lines.
14142 for ac_last_try in false false :; do
14143 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
14144 if test -z "$ac_t"; then
14146 elif $ac_last_try; then
14147 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
14149 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
14153 # For the awk script, D is an array of macro values keyed by name,
14154 # likewise P contains macro parameters if any. Preserve backslash
14155 # newline sequences.
14157 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14159 s/.\{148\}/&'"$ac_delim"'/g
14162 s/^[ ]*#[ ]*define[ ][ ]*/ /
14169 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
14171 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
14175 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
14176 D["\
1"]=" \
3\\\\\\n
"\\/p
14178 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
14183 s/.\{148\}/&'"$ac_delim"'/g
14188 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
14191 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
14193 ' <confdefs.h | sed '
14194 s/'"$ac_delim"'/"\\\
14195 "/g' >>$CONFIG_STATUS || ac_write_fail=1
14197 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14198 for (key in D) D_is_set[key] = 1
14201 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14203 split(line, arg, " ")
14204 if (arg[1] == "#") {
14208 defundef
= substr
(arg
[1], 2)
14211 split(mac1
, mac2
, "(") #)
14213 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
14214 if (D_is_set
[macro
]) {
14215 # Preserve the white space surrounding the "#".
14216 print prefix
"define", macro P
[macro
] D
[macro
]
14219 # Replace #undef with comments. This is necessary, for example,
14220 # in the case of _POSIX_SOURCE, which is predefined and required
14221 # on some systems where configure will not decide to define it.
14222 if (defundef
== "undef") {
14223 print
"/*", prefix defundef
, macro
, "*/"
14231 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14232 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
14233 fi # test -n "$CONFIG_HEADERS"
14236 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
14241 :[FHLC
]) ac_mode
=$ac_tag; continue;;
14243 case $ac_mode$ac_tag in
14245 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
14246 :[FH
]-) ac_tag
=-:-;;
14247 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
14264 -) ac_f
="$tmp/stdin";;
14265 *) # Look for the file first in the build tree, then in the source tree
14266 # (if the path is not absolute). The absolute path cannot be DOS-style,
14267 # because $ac_f cannot contain `:'.
14271 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
14273 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
14275 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14276 as_fn_append ac_file_inputs
" '$ac_f'"
14279 # Let's still pretend it is `configure' which instantiates (i.e., don't
14280 # use $as_me), people would be surprised to read:
14281 # /* config.h. Generated by config.status. */
14282 configure_input
='Generated from '`
14283 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14285 if test x
"$ac_file" != x-
; then
14286 configure_input
="$ac_file. $configure_input"
14287 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14288 $as_echo "$as_me: creating $ac_file" >&6;}
14290 # Neutralize special characters interpreted by sed in replacement strings.
14291 case $configure_input in #(
14292 *\
&* |
*\|
* |
*\\* )
14293 ac_sed_conf_input
=`$as_echo "$configure_input" |
14294 sed 's/[\\\\&|]/\\\\&/g'`;; #(
14295 *) ac_sed_conf_input
=$configure_input;;
14299 *:-:* |
*:-) cat >"$tmp/stdin" \
14300 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
14305 ac_dir
=`$as_dirname -- "$ac_file" ||
14306 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14307 X"$ac_file" : 'X\(//\)[^/]' \| \
14308 X"$ac_file" : 'X\(//\)$' \| \
14309 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14310 $as_echo X"$ac_file" |
14311 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14315 /^X\(\/\/\)[^/].*/{
14328 as_dir
="$ac_dir"; as_fn_mkdir_p
14332 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
14334 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14335 # A ".." for each directory in $ac_dir_suffix.
14336 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14337 case $ac_top_builddir_sub in
14338 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
14339 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
14342 ac_abs_top_builddir
=$ac_pwd
14343 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
14344 # for backward compatibility:
14345 ac_top_builddir
=$ac_top_build_prefix
14348 .
) # We are building in place.
14350 ac_top_srcdir
=$ac_top_builddir_sub
14351 ac_abs_top_srcdir
=$ac_pwd ;;
14352 [\\/]* | ?
:[\\/]* ) # Absolute name.
14353 ac_srcdir
=$srcdir$ac_dir_suffix;
14354 ac_top_srcdir
=$srcdir
14355 ac_abs_top_srcdir
=$srcdir ;;
14356 *) # Relative name.
14357 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
14358 ac_top_srcdir
=$ac_top_build_prefix$srcdir
14359 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
14361 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
14371 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
14372 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
14374 ac_MKDIR_P
=$MKDIR_P
14376 [\\/$
]* | ?
:[\\/]* ) ;;
14377 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
14381 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14382 # If the template does not know about datarootdir, expand it.
14383 # FIXME: This hack should be removed a few years after 2.60.
14384 ac_datarootdir_hack
=; ac_datarootdir_seen
=
14395 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14396 *datarootdir
*) ac_datarootdir_seen
=yes;;
14397 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
14398 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14399 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14401 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14402 ac_datarootdir_hack='
14403 s&@datadir@&$datadir&g
14404 s&@docdir@&$docdir&g
14405 s&@infodir@&$infodir&g
14406 s&@localedir@&$localedir&g
14407 s&@mandir@&$mandir&g
14408 s&\\\${datarootdir}&$datarootdir&g' ;;
14412 # Neutralize VPATH when `$srcdir' = `.'.
14413 # Shell code in configure.ac might set extrasub.
14414 # FIXME: do we really want to maintain this feature?
14415 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14416 ac_sed_extra="$ac_vpsub
14419 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14421 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
14422 s|@configure_input@|
$ac_sed_conf_input|
;t t
14423 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
14424 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
14425 s
&@srcdir@
&$ac_srcdir&;t t
14426 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
14427 s
&@top_srcdir@
&$ac_top_srcdir&;t t
14428 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
14429 s
&@builddir@
&$ac_builddir&;t t
14430 s
&@abs_builddir@
&$ac_abs_builddir&;t t
14431 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
14432 s
&@INSTALL@
&$ac_INSTALL&;t t
14433 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
14434 $ac_datarootdir_hack
14436 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
14437 || as_fn_error "could not create
$ac_file" "$LINENO" 5
14439 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14440 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
14441 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
14442 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
14443 which seems to be undefined. Please make sure it is defined." >&5
14444 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
14445 which seems to be undefined. Please make sure it is defined." >&2;}
14449 -) cat "$tmp/out" && rm -f "$tmp/out";;
14450 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
14452 || as_fn_error "could not create $ac_file" "$LINENO" 5
14458 if test x"$ac_file" != x-; then
14460 $as_echo "/* $configure_input */" \
14461 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
14462 } >"$tmp/config.h" \
14463 || as_fn_error "could not create $ac_file" "$LINENO" 5
14464 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
14465 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14466 $as_echo "$as_me: $ac_file is unchanged" >&6;}
14469 mv "$tmp/config.h" "$ac_file" \
14470 || as_fn_error "could not create $ac_file" "$LINENO" 5
14473 $as_echo "/* $configure_input */" \
14474 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
14475 || as_fn_error "could not create -" "$LINENO" 5
14477 # Compute "$ac_file"'s index
in $config_headers.
14480 for _am_header
in $config_headers :; do
14481 case $_am_header in
14482 $_am_arg |
$_am_arg:* )
14485 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
14488 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14489 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14490 X"$_am_arg" : 'X\(//\)[^/]' \| \
14491 X"$_am_arg" : 'X\(//\)$' \| \
14492 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14493 $as_echo X"$_am_arg" |
14494 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14498 /^X\(\/\/\)[^/].*/{
14510 s/.*/./; q'`/stamp-h
$_am_stamp_count
14513 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14514 $as_echo "$as_me: executing $ac_file commands" >&6;}
14519 case $ac_file$ac_mode in
14520 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
14521 # Autoconf 2.62 quotes --file arguments for eval, but not when files
14522 # are listed without --file. Let's play safe and only enable the eval
14523 # if we detect the quoting.
14524 case $CONFIG_FILES in
14525 *\'*) eval set x
"$CONFIG_FILES" ;;
14526 *) set x
$CONFIG_FILES ;;
14531 # Strip MF so we end up with the name of the file.
14532 mf
=`echo "$mf" | sed -e 's/:.*$//'`
14533 # Check whether this is an Automake generated Makefile or not.
14534 # We used to match only the files named `Makefile.in', but
14535 # some people rename them; so instead we look at the file content.
14536 # Grep'ing the first line is not enough: some people post-process
14537 # each Makefile.in and add a new line on top of each file to say so.
14538 # Grep'ing the whole file is not good either: AIX grep has a line
14539 # limit of 2048, but all sed's we know have understand at least 4000.
14540 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
14541 dirpart
=`$as_dirname -- "$mf" ||
14542 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14543 X"$mf" : 'X\(//\)[^/]' \| \
14544 X"$mf" : 'X\(//\)$' \| \
14545 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14547 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14551 /^X\(\/\/\)[^/].*/{
14567 # Extract the definition of DEPDIR, am__include, and am__quote
14568 # from the Makefile without running `make'.
14569 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
14570 test -z "$DEPDIR" && continue
14571 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
14572 test -z "am__include" && continue
14573 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
14574 # When using ansi2knr, U may be empty or an underscore; expand it
14575 U
=`sed -n 's/^U = //p' < "$mf"`
14576 # Find all dependency output files, they are included files with
14577 # $(DEPDIR) in their names. We invoke sed twice because it is the
14578 # simplest approach to changing $(DEPDIR) to its actual value in the
14580 for file in `sed -n "
14581 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14582 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
14583 # Make sure the directory exists.
14584 test -f "$dirpart/$file" && continue
14585 fdir
=`$as_dirname -- "$file" ||
14586 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14587 X"$file" : 'X\(//\)[^/]' \| \
14588 X"$file" : 'X\(//\)$' \| \
14589 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14590 $as_echo X"$file" |
14591 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14595 /^X\(\/\/\)[^/].*/{
14608 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
14609 # echo "creating $dirpart/$file"
14610 echo '# dummy' > "$dirpart/$file"
14617 # See if we are running on zsh, and set the options which allow our
14618 # commands through without removal of \ escapes.
14619 if test -n "${ZSH_VERSION+set}" ; then
14620 setopt NO_GLOB_SUBST
14623 cfgfile
="${ofile}T"
14624 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14627 cat <<_LT_EOF >> "$cfgfile"
14630 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14631 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14632 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14633 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14635 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14636 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
14637 # Written by Gordon Matzigkeit, 1996
14639 # This file is part of GNU Libtool.
14641 # GNU Libtool is free software; you can redistribute it and/or
14642 # modify it under the terms of the GNU General Public License as
14643 # published by the Free Software Foundation; either version 2 of
14644 # the License, or (at your option) any later version.
14646 # As a special exception to the GNU General Public License,
14647 # if you distribute this file as part of a program or library that
14648 # is built using GNU Libtool, you may include this file under the
14649 # same distribution terms that you use for the rest of that program.
14651 # GNU Libtool is distributed in the hope that it will be useful,
14652 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14653 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14654 # GNU General Public License for more details.
14656 # You should have received a copy of the GNU General Public License
14657 # along with GNU Libtool; see the file COPYING. If not, a copy
14658 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14659 # obtained by writing to the Free Software Foundation, Inc.,
14660 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14663 # The names of the tagged configurations supported by this script.
14666 # ### BEGIN LIBTOOL CONFIG
14668 # Which release of libtool.m4 was used?
14669 macro_version=$macro_version
14670 macro_revision=$macro_revision
14672 # Whether or not to build shared libraries.
14673 build_libtool_libs=$enable_shared
14675 # Whether or not to build static libraries.
14676 build_old_libs=$enable_static
14678 # What type of objects to build.
14681 # Whether or not to optimize for fast installation.
14682 fast_install=$enable_fast_install
14684 # Shell to use when invoking shell scripts.
14687 # An echo program that protects backslashes.
14691 host_alias=$host_alias
14695 # The build system.
14696 build_alias=$build_alias
14700 # A sed program that does not truncate output.
14703 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
14704 Xsed="\$SED -e 1s/^X//"
14706 # A grep program that handles long lines.
14712 # A literal string matcher.
14715 # A BSD- or MS-compatible name lister.
14718 # Whether we need soft or hard links.
14721 # What is the maximum length of a command?
14722 max_cmd_len=$max_cmd_len
14724 # Object file suffix (normally "o").
14727 # Executable file suffix (normally "").
14730 # whether the shell understands "unset".
14733 # turn spaces into newlines.
14736 # turn newlines into spaces.
14739 # An object symbol dumper.
14740 OBJDUMP=$lt_OBJDUMP
14742 # Method to check whether dependent libraries are shared objects.
14743 deplibs_check_method=$lt_deplibs_check_method
14745 # Command to use when deplibs_check_method == "file_magic".
14746 file_magic_cmd=$lt_file_magic_cmd
14750 AR_FLAGS=$lt_AR_FLAGS
14752 # A symbol stripping program.
14755 # Commands used to install an old-style archive.
14757 old_postinstall_cmds=$lt_old_postinstall_cmds
14758 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14760 # Whether to use a lock for old archive extraction.
14761 lock_old_archive_extraction=$lock_old_archive_extraction
14766 # LTCC compiler flags.
14767 LTCFLAGS=$lt_CFLAGS
14769 # Take the output of nm and produce a listing of raw symbols and C names.
14770 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14772 # Transform the output of nm in a proper C declaration.
14773 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14775 # Transform the output of nm in a C name address pair.
14776 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14778 # Transform the output of nm in a C name address pair when lib prefix is needed.
14779 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14781 # The name of the directory that contains temporary libtool files.
14784 # Used to examine libraries when file_magic_cmd begins with "file".
14785 MAGIC_CMD=$MAGIC_CMD
14787 # Must we lock files when doing compilation?
14788 need_locks=$lt_need_locks
14790 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14791 DSYMUTIL=$lt_DSYMUTIL
14793 # Tool to change global to local symbols on Mac OS X.
14796 # Tool to manipulate fat objects and archives on Mac OS X.
14799 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
14802 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14803 OTOOL64=$lt_OTOOL64
14805 # Old archive suffix (normally "a").
14808 # Shared library suffix (normally ".so").
14809 shrext_cmds=$lt_shrext_cmds
14811 # The commands to extract the exported symbol list from a shared archive.
14812 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14814 # Variables whose values should be saved in libtool wrapper scripts and
14815 # restored at link time.
14816 variables_saved_for_relink=$lt_variables_saved_for_relink
14818 # Do we need the "lib" prefix for modules?
14819 need_lib_prefix=$need_lib_prefix
14821 # Do we need a version for libraries?
14822 need_version=$need_version
14824 # Library versioning type.
14825 version_type=$version_type
14827 # Shared library runtime path variable.
14828 runpath_var=$runpath_var
14830 # Shared library path variable.
14831 shlibpath_var=$shlibpath_var
14833 # Is shlibpath searched before the hard-coded library search path?
14834 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14836 # Format of library name prefix.
14837 libname_spec=$lt_libname_spec
14839 # List of archive names. First name is the real one, the rest are links.
14840 # The last name is the one that the linker finds with -lNAME
14841 library_names_spec=$lt_library_names_spec
14843 # The coded name of the library, if different from the real name.
14844 soname_spec=$lt_soname_spec
14846 # Permission mode override for installation of shared libraries.
14847 install_override_mode=$lt_install_override_mode
14849 # Command to use after installation of a shared archive.
14850 postinstall_cmds=$lt_postinstall_cmds
14852 # Command to use after uninstallation of a shared archive.
14853 postuninstall_cmds=$lt_postuninstall_cmds
14855 # Commands used to finish a libtool library installation in a directory.
14856 finish_cmds=$lt_finish_cmds
14858 # As "finish_cmds", except a single script fragment to be evaled but
14860 finish_eval=$lt_finish_eval
14862 # Whether we should hardcode library paths into libraries.
14863 hardcode_into_libs=$hardcode_into_libs
14865 # Compile-time system search path for libraries.
14866 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14868 # Run-time system search path for libraries.
14869 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14871 # Whether dlopen is supported.
14872 dlopen_support=$enable_dlopen
14874 # Whether dlopen of programs is supported.
14875 dlopen_self=$enable_dlopen_self
14877 # Whether dlopen of statically linked programs is supported.
14878 dlopen_self_static=$enable_dlopen_self_static
14880 # Commands to strip libraries.
14881 old_striplib=$lt_old_striplib
14882 striplib=$lt_striplib
14885 # The linker used to build libraries.
14888 # How to create reloadable object files.
14889 reload_flag=$lt_reload_flag
14890 reload_cmds=$lt_reload_cmds
14892 # Commands used to build an old-style archive.
14893 old_archive_cmds=$lt_old_archive_cmds
14895 # A language specific compiler.
14898 # Is the compiler the GNU compiler?
14901 # Compiler flag to turn off builtin functions.
14902 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14904 # How to pass a linker flag through the compiler.
14905 wl=$lt_lt_prog_compiler_wl
14907 # Additional compiler flags for building library objects.
14908 pic_flag=$lt_lt_prog_compiler_pic
14910 # Compiler flag to prevent dynamic linking.
14911 link_static_flag=$lt_lt_prog_compiler_static
14913 # Does compiler simultaneously support -c and -o options?
14914 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14916 # Whether or not to add -lc for building shared libraries.
14917 build_libtool_need_lc=$archive_cmds_need_lc
14919 # Whether or not to disallow shared libs when runtime libs are static.
14920 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14922 # Compiler flag to allow reflexive dlopens.
14923 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14925 # Compiler flag to generate shared objects directly from archives.
14926 whole_archive_flag_spec=$lt_whole_archive_flag_spec
14928 # Whether the compiler copes with passing no objects directly.
14929 compiler_needs_object=$lt_compiler_needs_object
14931 # Create an old-style archive from a shared archive.
14932 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14934 # Create a temporary old-style archive to link instead of a shared archive.
14935 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14937 # Commands used to build a shared archive.
14938 archive_cmds=$lt_archive_cmds
14939 archive_expsym_cmds=$lt_archive_expsym_cmds
14941 # Commands used to build a loadable module if different from building
14942 # a shared archive.
14943 module_cmds=$lt_module_cmds
14944 module_expsym_cmds=$lt_module_expsym_cmds
14946 # Whether we are building with GNU ld or not.
14947 with_gnu_ld=$lt_with_gnu_ld
14949 # Flag that allows shared libraries with undefined symbols to be built.
14950 allow_undefined_flag=$lt_allow_undefined_flag
14952 # Flag that enforces no undefined symbols.
14953 no_undefined_flag=$lt_no_undefined_flag
14955 # Flag to hardcode \$libdir into a binary during linking.
14956 # This must work even if \$libdir does not exist
14957 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14959 # If ld is used when linking, flag to hardcode \$libdir into a binary
14960 # during linking. This must work even if \$libdir does not exist.
14961 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
14963 # Whether we need a single "-rpath" flag with a separated argument.
14964 hardcode_libdir_separator=$lt_hardcode_libdir_separator
14966 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14967 # DIR into the resulting binary.
14968 hardcode_direct=$hardcode_direct
14970 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14971 # DIR into the resulting binary and the resulting library dependency is
14972 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
14973 # library is relocated.
14974 hardcode_direct_absolute=$hardcode_direct_absolute
14976 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14977 # into the resulting binary.
14978 hardcode_minus_L=$hardcode_minus_L
14980 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14981 # into the resulting binary.
14982 hardcode_shlibpath_var=$hardcode_shlibpath_var
14984 # Set to "yes" if building a shared library automatically hardcodes DIR
14985 # into the library and all subsequent libraries and executables linked
14987 hardcode_automatic=$hardcode_automatic
14989 # Set to yes if linker adds runtime paths of dependent libraries
14990 # to runtime path list.
14991 inherit_rpath=$inherit_rpath
14993 # Whether libtool must link a program against all its dependency libraries.
14994 link_all_deplibs=$link_all_deplibs
14996 # Fix the shell variable \$srcfile for the compiler.
14997 fix_srcfile_path=$lt_fix_srcfile_path
14999 # Set to "yes" if exported symbols are required.
15000 always_export_symbols=$always_export_symbols
15002 # The commands to list exported symbols.
15003 export_symbols_cmds=$lt_export_symbols_cmds
15005 # Symbols that should not be listed in the preloaded symbols.
15006 exclude_expsyms=$lt_exclude_expsyms
15008 # Symbols that must always be exported.
15009 include_expsyms=$lt_include_expsyms
15011 # Commands necessary for linking programs (against libraries) with templates.
15012 prelink_cmds=$lt_prelink_cmds
15014 # Specify filename containing input files.
15015 file_list_spec=$lt_file_list_spec
15017 # How to hardcode a shared library path into an executable.
15018 hardcode_action=$hardcode_action
15020 # ### END LIBTOOL CONFIG
15026 cat <<\_LT_EOF
>> "$cfgfile"
15027 # AIX sometimes has problems with the GCC collect2 program. For some
15028 # reason, if we set the COLLECT_NAMES environment variable, the problems
15029 # vanish in a puff of smoke.
15030 if test "X${COLLECT_NAMES+set}" != Xset
; then
15032 export COLLECT_NAMES
15039 ltmain
="$ac_aux_dir/ltmain.sh"
15042 # We use sed instead of cat because bash on DJGPP gets confused if
15043 # if finds mixed CR/LF and LF-only lines. Since sed operates in
15044 # text mode, it properly converts lines to CR/LF. This bash problem
15045 # is reportedly fixed, but why not run on old versions too?
15046 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
15047 ||
(rm -f "$cfgfile"; exit 1)
15051 cat << \_LT_EOF
>> "$cfgfile"
15053 # func_dirname file append nondir_replacement
15054 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
15055 # otherwise set result to NONDIR_REPLACEMENT.
15059 */*) func_dirname_result
="${1%/*}${2}" ;;
15060 * ) func_dirname_result
="${3}" ;;
15064 # func_basename file
15067 func_basename_result
="${1##*/}"
15070 # func_dirname_and_basename file append nondir_replacement
15071 # perform func_basename and func_dirname in a single function
15073 # dirname: Compute the dirname of FILE. If nonempty,
15074 # add APPEND to the result, otherwise set result
15075 # to NONDIR_REPLACEMENT.
15076 # value returned in "$func_dirname_result"
15077 # basename: Compute filename of FILE.
15078 # value retuned in "$func_basename_result"
15079 # Implementation must be kept synchronized with func_dirname
15080 # and func_basename. For efficiency, we do not delegate to
15081 # those functions but instead duplicate the functionality here.
15082 func_dirname_and_basename
()
15085 */*) func_dirname_result
="${1%/*}${2}" ;;
15086 * ) func_dirname_result
="${3}" ;;
15088 func_basename_result
="${1##*/}"
15091 # func_stripname prefix suffix name
15092 # strip PREFIX and SUFFIX off of NAME.
15093 # PREFIX and SUFFIX must not contain globbing or regex special
15094 # characters, hashes, percent signs, but SUFFIX may contain a leading
15095 # dot (in which case that matches only a dot).
15098 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
15099 # positional parameters, so assign one to ordinary parameter first.
15100 func_stripname_result
=${3}
15101 func_stripname_result
=${func_stripname_result#"${1}"}
15102 func_stripname_result
=${func_stripname_result%"${2}"}
15108 func_opt_split_opt
=${1%%=*}
15109 func_opt_split_arg
=${1#*=}
15116 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
15117 *) func_lo2o_result
=${1} ;;
15121 # func_xform libobj-or-source
15124 func_xform_result
=${1%.*}.lo
15127 # func_arith arithmetic-term...
15130 func_arith_result
=$
(( $
* ))
15134 # STRING may not start with a hyphen.
15137 func_len_result
=${#1}
15142 *) # Bourne compatible functions.
15143 cat << \_LT_EOF
>> "$cfgfile"
15145 # func_dirname file append nondir_replacement
15146 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
15147 # otherwise set result to NONDIR_REPLACEMENT.
15150 # Extract subdirectory from the argument.
15151 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
15152 if test "X$func_dirname_result" = "X${1}"; then
15153 func_dirname_result
="${3}"
15155 func_dirname_result
="$func_dirname_result${2}"
15159 # func_basename file
15162 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
15166 # func_stripname prefix suffix name
15167 # strip PREFIX and SUFFIX off of NAME.
15168 # PREFIX and SUFFIX must not contain globbing or regex special
15169 # characters, hashes, percent signs, but SUFFIX may contain a leading
15170 # dot (in which case that matches only a dot).
15171 # func_strip_suffix prefix name
15175 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
15176 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
15181 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
15182 my_sed_long_arg
='1s/^-[^=]*=//'
15187 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
15188 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
15194 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
15197 # func_xform libobj-or-source
15200 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
15203 # func_arith arithmetic-term...
15206 func_arith_result
=`expr "$@"`
15210 # STRING may not start with a hyphen.
15213 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
15219 case $lt_shell_append in
15221 cat << \_LT_EOF
>> "$cfgfile"
15223 # func_append var value
15224 # Append VALUE to the end of shell variable VAR.
15232 cat << \_LT_EOF
>> "$cfgfile"
15234 # func_append var value
15235 # Append VALUE to the end of shell variable VAR.
15246 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
15247 ||
(rm -f "$cfgfile"; exit 1)
15249 mv -f "$cfgfile" "$ofile" ||
15250 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15255 # Only add multilib support code if we just rebuilt the top-level
15257 case " $CONFIG_FILES " in
15259 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
15269 ac_clean_files
=$ac_clean_files_save
15271 test $ac_write_fail = 0 ||
15272 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
15275 # configure is writing to config.log, and then calls config.status.
15276 # config.status does its own redirection, appending to config.log.
15277 # Unfortunately, on DOS this fails, as config.log is still kept open
15278 # by configure, so config.status won't be able to write to it; its
15279 # output is simply discarded. So we exec the FD to /dev/null,
15280 # effectively closing config.log, so it can be properly (re)opened and
15281 # appended to by config.status. When coming back to configure, we
15282 # need to make the FD available again.
15283 if test "$no_create" != yes; then
15285 ac_config_status_args
=
15286 test "$silent" = yes &&
15287 ac_config_status_args
="$ac_config_status_args --quiet"
15289 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
15291 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15292 # would make configure fail if this is the last instruction.
15293 $ac_cs_success || as_fn_exit $?
15295 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
15296 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15297 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}