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
173 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
174 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
175 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
176 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
177 PATH=/empty FPATH=/empty; export PATH FPATH
178 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
179 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
180 test \$(( 1 + 1 )) = 2 || 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
668 INSTALL_STRIP_PROGRAM
723 program_transform_name
736 enable_option_checking
737 enable_version_specific_runtime_libs
742 enable_dependency_tracking
745 enable_maintainer_mode
747 enable_generated_files_in_srcdir
749 ac_precious_vars
='build_alias
760 # Initialize some variables set by options.
762 ac_init_version
=false
763 ac_unrecognized_opts
=
765 # The variables have the same names as the options, with
766 # dashes changed to underlines.
774 program_transform_name
=s
,x
,x
,
782 # Installation directory options.
783 # These are left unexpanded so users can "make install exec_prefix=/foo"
784 # and all the variables that are supposed to be based on exec_prefix
785 # by default will actually change.
786 # Use braces instead of parens because sh, perl, etc. also accept them.
787 # (The list follows the same order as the GNU Coding Standards.)
788 bindir
='${exec_prefix}/bin'
789 sbindir
='${exec_prefix}/sbin'
790 libexecdir
='${exec_prefix}/libexec'
791 datarootdir
='${prefix}/share'
792 datadir
='${datarootdir}'
793 sysconfdir
='${prefix}/etc'
794 sharedstatedir
='${prefix}/com'
795 localstatedir
='${prefix}/var'
796 includedir
='${prefix}/include'
797 oldincludedir
='/usr/include'
798 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
799 infodir
='${datarootdir}/info'
804 libdir
='${exec_prefix}/lib'
805 localedir
='${datarootdir}/locale'
806 mandir
='${datarootdir}/man'
812 # If the previous option needs an argument, assign it.
813 if test -n "$ac_prev"; then
814 eval $ac_prev=\
$ac_option
820 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
824 # Accept the important Cygnus configure options, so we can diagnose typos.
826 case $ac_dashdash$ac_option in
830 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
832 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
835 -build |
--build |
--buil |
--bui |
--bu)
836 ac_prev
=build_alias
;;
837 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
838 build_alias
=$ac_optarg ;;
840 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
841 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
842 ac_prev
=cache_file
;;
843 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
844 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
845 cache_file
=$ac_optarg ;;
848 cache_file
=config.cache
;;
850 -datadir |
--datadir |
--datadi |
--datad)
852 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
853 datadir
=$ac_optarg ;;
855 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
856 |
--dataroo |
--dataro |
--datar)
857 ac_prev
=datarootdir
;;
858 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
859 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
860 datarootdir
=$ac_optarg ;;
862 -disable-* |
--disable-*)
863 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
864 # Reject names that are not valid shell variable names.
865 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
866 as_fn_error
"invalid feature name: $ac_useropt"
867 ac_useropt_orig
=$ac_useropt
868 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
869 case $ac_user_opts in
873 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
874 ac_unrecognized_sep
=', ';;
876 eval enable_
$ac_useropt=no
;;
878 -docdir |
--docdir |
--docdi |
--doc |
--do)
880 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
883 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
885 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
888 -enable-* |
--enable-*)
889 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
890 # Reject names that are not valid shell variable names.
891 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
892 as_fn_error
"invalid feature name: $ac_useropt"
893 ac_useropt_orig
=$ac_useropt
894 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
895 case $ac_user_opts in
899 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
900 ac_unrecognized_sep
=', ';;
902 eval enable_
$ac_useropt=\
$ac_optarg ;;
904 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
905 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
906 |
--exec |
--exe |
--ex)
907 ac_prev
=exec_prefix
;;
908 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
909 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
910 |
--exec=* |
--exe=* |
--ex=*)
911 exec_prefix
=$ac_optarg ;;
913 -gas |
--gas |
--ga |
--g)
914 # Obsolete; use --with-gas.
917 -help |
--help |
--hel |
--he |
-h)
919 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
920 ac_init_help
=recursive
;;
921 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
922 ac_init_help
=short
;;
924 -host |
--host |
--hos |
--ho)
925 ac_prev
=host_alias
;;
926 -host=* |
--host=* |
--hos=* |
--ho=*)
927 host_alias
=$ac_optarg ;;
929 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
931 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
933 htmldir
=$ac_optarg ;;
935 -includedir |
--includedir |
--includedi |
--included |
--include \
936 |
--includ |
--inclu |
--incl |
--inc)
937 ac_prev
=includedir
;;
938 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
939 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
940 includedir
=$ac_optarg ;;
942 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
944 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
945 infodir
=$ac_optarg ;;
947 -libdir |
--libdir |
--libdi |
--libd)
949 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
952 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
953 |
--libexe |
--libex |
--libe)
954 ac_prev
=libexecdir
;;
955 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
956 |
--libexe=* |
--libex=* |
--libe=*)
957 libexecdir
=$ac_optarg ;;
959 -localedir |
--localedir |
--localedi |
--localed |
--locale)
961 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
962 localedir
=$ac_optarg ;;
964 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
965 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
966 ac_prev
=localstatedir
;;
967 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
968 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
969 localstatedir
=$ac_optarg ;;
971 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
973 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
977 # Obsolete; use --without-fp.
980 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
981 |
--no-cr |
--no-c |
-n)
984 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
985 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
988 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
989 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
990 |
--oldin |
--oldi |
--old |
--ol |
--o)
991 ac_prev
=oldincludedir
;;
992 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
993 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
994 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
995 oldincludedir
=$ac_optarg ;;
997 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
999 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1000 prefix
=$ac_optarg ;;
1002 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1003 |
--program-pre |
--program-pr |
--program-p)
1004 ac_prev
=program_prefix
;;
1005 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1006 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1007 program_prefix
=$ac_optarg ;;
1009 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1010 |
--program-suf |
--program-su |
--program-s)
1011 ac_prev
=program_suffix
;;
1012 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1013 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1014 program_suffix
=$ac_optarg ;;
1016 -program-transform-name |
--program-transform-name \
1017 |
--program-transform-nam |
--program-transform-na \
1018 |
--program-transform-n |
--program-transform- \
1019 |
--program-transform |
--program-transfor \
1020 |
--program-transfo |
--program-transf \
1021 |
--program-trans |
--program-tran \
1022 |
--progr-tra |
--program-tr |
--program-t)
1023 ac_prev
=program_transform_name
;;
1024 -program-transform-name=* |
--program-transform-name=* \
1025 |
--program-transform-nam=* |
--program-transform-na=* \
1026 |
--program-transform-n=* |
--program-transform-=* \
1027 |
--program-transform=* |
--program-transfor=* \
1028 |
--program-transfo=* |
--program-transf=* \
1029 |
--program-trans=* |
--program-tran=* \
1030 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1031 program_transform_name
=$ac_optarg ;;
1033 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1035 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1036 pdfdir
=$ac_optarg ;;
1038 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1040 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1043 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1044 |
-silent |
--silent |
--silen |
--sile |
--sil)
1047 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1049 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1051 sbindir
=$ac_optarg ;;
1053 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1054 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1055 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1057 ac_prev
=sharedstatedir
;;
1058 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1059 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1060 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1062 sharedstatedir
=$ac_optarg ;;
1064 -site |
--site |
--sit)
1066 -site=* |
--site=* |
--sit=*)
1069 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1071 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1072 srcdir
=$ac_optarg ;;
1074 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1075 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1076 ac_prev
=sysconfdir
;;
1077 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1078 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1079 sysconfdir
=$ac_optarg ;;
1081 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1082 ac_prev
=target_alias
;;
1083 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1084 target_alias
=$ac_optarg ;;
1086 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1089 -version |
--version |
--versio |
--versi |
--vers |
-V)
1090 ac_init_version
=: ;;
1093 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1094 # Reject names that are not valid shell variable names.
1095 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1096 as_fn_error
"invalid package name: $ac_useropt"
1097 ac_useropt_orig
=$ac_useropt
1098 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1099 case $ac_user_opts in
1103 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1104 ac_unrecognized_sep
=', ';;
1106 eval with_
$ac_useropt=\
$ac_optarg ;;
1108 -without-* |
--without-*)
1109 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1110 # Reject names that are not valid shell variable names.
1111 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1112 as_fn_error
"invalid package name: $ac_useropt"
1113 ac_useropt_orig
=$ac_useropt
1114 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1115 case $ac_user_opts in
1119 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1120 ac_unrecognized_sep
=', ';;
1122 eval with_
$ac_useropt=no
;;
1125 # Obsolete; use --with-x.
1128 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1129 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1130 ac_prev
=x_includes
;;
1131 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1132 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1133 x_includes
=$ac_optarg ;;
1135 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1136 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1137 ac_prev
=x_libraries
;;
1138 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1139 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1140 x_libraries
=$ac_optarg ;;
1142 -*) as_fn_error
"unrecognized option: \`$ac_option'
1143 Try \`$0 --help' for more information."
1147 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1148 # Reject names that are not valid shell variable names.
1149 case $ac_envvar in #(
1150 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1151 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1153 eval $ac_envvar=\
$ac_optarg
1154 export $ac_envvar ;;
1157 # FIXME: should be removed in autoconf 3.0.
1158 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1159 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1160 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1161 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1167 if test -n "$ac_prev"; then
1168 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1169 as_fn_error
"missing argument to $ac_option"
1172 if test -n "$ac_unrecognized_opts"; then
1173 case $enable_option_checking in
1175 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1176 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1180 # Check all directory arguments for consistency.
1181 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1182 datadir sysconfdir sharedstatedir localstatedir includedir \
1183 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1184 libdir localedir mandir
1186 eval ac_val
=\$
$ac_var
1187 # Remove trailing slashes.
1190 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1191 eval $ac_var=\
$ac_val;;
1193 # Be sure to have absolute directory names.
1195 [\\/$
]* | ?
:[\\/]* ) continue;;
1196 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1198 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1201 # There might be people who depend on the old broken behavior: `$host'
1202 # used to hold the argument of --host etc.
1203 # FIXME: To remove some day.
1206 target
=$target_alias
1208 # FIXME: To remove some day.
1209 if test "x$host_alias" != x
; then
1210 if test "x$build_alias" = x
; then
1211 cross_compiling
=maybe
1212 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1213 If a cross compiler is detected then cross compile mode will be used." >&2
1214 elif test "x$build_alias" != "x$host_alias"; then
1220 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1222 test "$silent" = yes && exec 6>/dev
/null
1225 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1226 ac_ls_di
=`ls -di .` &&
1227 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1228 as_fn_error
"working directory cannot be determined"
1229 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1230 as_fn_error
"pwd does not report name of working directory"
1233 # Find the source files, if location was not specified.
1234 if test -z "$srcdir"; then
1235 ac_srcdir_defaulted
=yes
1236 # Try the directory containing this script, then the parent directory.
1237 ac_confdir
=`$as_dirname -- "$as_myself" ||
1238 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1239 X"$as_myself" : 'X\(//\)[^/]' \| \
1240 X"$as_myself" : 'X\(//\)$' \| \
1241 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1242 $as_echo X"$as_myself" |
1243 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1261 if test ! -r "$srcdir/$ac_unique_file"; then
1265 ac_srcdir_defaulted
=no
1267 if test ! -r "$srcdir/$ac_unique_file"; then
1268 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1269 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1271 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1273 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1275 # When building in place, set srcdir=.
1276 if test "$ac_abs_confdir" = "$ac_pwd"; then
1279 # Remove unnecessary trailing slashes from srcdir.
1280 # Double slashes in file names in object file debugging info
1281 # mess up M-x gdb in Emacs.
1283 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1285 for ac_var
in $ac_precious_vars; do
1286 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1287 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1288 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1289 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1293 # Report the --help message.
1295 if test "$ac_init_help" = "long"; then
1296 # Omit some internal or obsolete options to make the list less imposing.
1297 # This message is too long to be a string in the A/UX 3.1 sh.
1299 \`configure' configures GCC Quad-precision Math Library 0.1 to adapt to many kinds of systems.
1301 Usage: $0 [OPTION]... [VAR=VALUE]...
1303 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1304 VAR=VALUE. See below for descriptions of some of the useful variables.
1306 Defaults for the options are specified in brackets.
1309 -h, --help display this help and exit
1310 --help=short display options specific to this package
1311 --help=recursive display the short help of all the included packages
1312 -V, --version display version information and exit
1313 -q, --quiet, --silent do not print \`checking...' messages
1314 --cache-file=FILE cache test results in FILE [disabled]
1315 -C, --config-cache alias for \`--cache-file=config.cache'
1316 -n, --no-create do not create output files
1317 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1319 Installation directories:
1320 --prefix=PREFIX install architecture-independent files in PREFIX
1321 [$ac_default_prefix]
1322 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1325 By default, \`make install' will install all the files in
1326 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1327 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1328 for instance \`--prefix=\$HOME'.
1330 For better control, use the options below.
1332 Fine tuning of the installation directories:
1333 --bindir=DIR user executables [EPREFIX/bin]
1334 --sbindir=DIR system admin executables [EPREFIX/sbin]
1335 --libexecdir=DIR program executables [EPREFIX/libexec]
1336 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1337 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1338 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1339 --libdir=DIR object code libraries [EPREFIX/lib]
1340 --includedir=DIR C header files [PREFIX/include]
1341 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1342 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1343 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1344 --infodir=DIR info documentation [DATAROOTDIR/info]
1345 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1346 --mandir=DIR man documentation [DATAROOTDIR/man]
1347 --docdir=DIR documentation root [DATAROOTDIR/doc/libquadmath]
1348 --htmldir=DIR html documentation [DOCDIR]
1349 --dvidir=DIR dvi documentation [DOCDIR]
1350 --pdfdir=DIR pdf documentation [DOCDIR]
1351 --psdir=DIR ps documentation [DOCDIR]
1357 --program-prefix=PREFIX prepend PREFIX to installed program names
1358 --program-suffix=SUFFIX append SUFFIX to installed program names
1359 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1362 --build=BUILD configure
for building on BUILD
[guessed
]
1363 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1364 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1368 if test -n "$ac_init_help"; then
1369 case $ac_init_help in
1370 short | recursive
) echo "Configuration of GCC Quad-precision Math Library 0.1:";;
1375 --disable-option-checking ignore unrecognized
--enable/--with options
1376 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1377 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1378 --enable-version-specific-runtime-libs
1379 specify that runtime libraries should be installed
1380 in a compiler-specific directory
1381 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1382 --enable-static[=PKGS
] build static libraries
[default
=yes]
1383 --enable-fast-install[=PKGS
]
1384 optimize
for fast installation
[default
=yes]
1385 --disable-dependency-tracking speeds up one-time build
1386 --enable-dependency-tracking do not reject slow dependency extractors
1387 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1388 --enable-maintainer-mode enable make rules and dependencies not useful
1389 (and sometimes confusing
) to the casual installer
1390 --enable-multilib build many library versions
(default
)
1391 --enable-generated-files-in-srcdir
1392 put copies of generated files
in source dir intended
1393 for creating
source tarballs
for users without
1394 texinfo bison or flex
1397 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1398 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1399 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1401 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1403 Some influential environment variables
:
1404 CC C compiler
command
1405 CFLAGS C compiler flags
1406 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1407 nonstandard directory
<lib dir
>
1408 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1409 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1410 you have headers
in a nonstandard directory
<include dir
>
1413 Use these variables to override the choices made by
`configure' or to help
1414 it to find libraries and programs with nonstandard names/locations.
1416 Report bugs to the package provider.
1421 if test "$ac_init_help" = "recursive"; then
1422 # If there are subdirs, report their specific --help.
1423 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1424 test -d "$ac_dir" ||
1425 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1430 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1432 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1433 # A ".." for each directory in $ac_dir_suffix.
1434 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1435 case $ac_top_builddir_sub in
1436 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1437 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1440 ac_abs_top_builddir=$ac_pwd
1441 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1442 # for backward compatibility:
1443 ac_top_builddir=$ac_top_build_prefix
1446 .) # We are building in place.
1448 ac_top_srcdir=$ac_top_builddir_sub
1449 ac_abs_top_srcdir=$ac_pwd ;;
1450 [\\/]* | ?:[\\/]* ) # Absolute name.
1451 ac_srcdir=$srcdir$ac_dir_suffix;
1452 ac_top_srcdir=$srcdir
1453 ac_abs_top_srcdir=$srcdir ;;
1455 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1456 ac_top_srcdir=$ac_top_build_prefix$srcdir
1457 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1459 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1461 cd "$ac_dir" || { ac_status=$?; continue; }
1462 # Check for guested configure.
1463 if test -f "$ac_srcdir/configure.gnu"; then
1465 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1466 elif test -f "$ac_srcdir/configure"; then
1468 $SHELL "$ac_srcdir/configure" --help=recursive
1470 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1472 cd "$ac_pwd" || { ac_status=$?; break; }
1476 test -n "$ac_init_help" && exit $ac_status
1477 if $ac_init_version; then
1479 GCC Quad-precision Math Library configure 0.1
1480 generated by GNU Autoconf 2.64
1482 Copyright (C) 2009 Free Software Foundation, Inc.
1483 This configure script is free software; the Free Software Foundation
1484 gives unlimited permission to copy, distribute and modify it.
1489 ## ------------------------ ##
1490 ## Autoconf initialization. ##
1491 ## ------------------------ ##
1493 # ac_fn_c_try_compile LINENO
1494 # --------------------------
1495 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1496 ac_fn_c_try_compile ()
1498 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1499 rm -f conftest.$ac_objext
1500 if { { ac_try="$ac_compile"
1502 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1503 *) ac_try_echo
=$ac_try;;
1505 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1506 $as_echo "$ac_try_echo"; } >&5
1507 (eval "$ac_compile") 2>conftest.err
1509 if test -s conftest.err
; then
1510 grep -v '^ *+' conftest.err
>conftest.er1
1511 cat conftest.er1
>&5
1512 mv -f conftest.er1 conftest.err
1514 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1515 test $ac_status = 0; } && {
1516 test -z "$ac_c_werror_flag" ||
1517 test ! -s conftest.err
1518 } && test -s conftest.
$ac_objext; then :
1521 $as_echo "$as_me: failed program was:" >&5
1522 sed 's/^/| /' conftest.
$ac_ext >&5
1526 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1529 } # ac_fn_c_try_compile
1531 # ac_fn_c_try_link LINENO
1532 # -----------------------
1533 # Try to link conftest.$ac_ext, and return whether this succeeded.
1536 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1537 rm -f conftest.
$ac_objext conftest
$ac_exeext
1538 if { { ac_try
="$ac_link"
1540 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1541 *) ac_try_echo=$ac_try;;
1543 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1544 $as_echo "$ac_try_echo"; } >&5
1545 (eval "$ac_link") 2>conftest.err
1547 if test -s conftest.err; then
1548 grep -v '^ *+' conftest.err >conftest.er1
1549 cat conftest.er1 >&5
1550 mv -f conftest.er1 conftest.err
1552 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1553 test $ac_status = 0; } && {
1554 test -z "$ac_c_werror_flag" ||
1555 test ! -s conftest.err
1556 } && test -s conftest$ac_exeext && {
1557 test "$cross_compiling" = yes ||
1558 $as_test_x conftest$ac_exeext
1562 $as_echo "$as_me: failed program was:" >&5
1563 sed 's/^/| /' conftest.$ac_ext >&5
1567 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1568 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1569 # interfere with the next link command; also delete a directory that is
1570 # left behind by Apple's compiler. We do this before executing the actions.
1571 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1572 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1575 } # ac_fn_c_try_link
1577 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1578 # -------------------------------------------------------
1579 # Tests whether HEADER exists and can be compiled using the include files in
1580 # INCLUDES, setting the cache variable VAR accordingly.
1581 ac_fn_c_check_header_compile ()
1583 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1585 $as_echo_n "checking for $2... " >&6; }
1586 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1587 $as_echo_n "(cached) " >&6
1589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1590 /* end confdefs.h. */
1594 if ac_fn_c_try_compile "$LINENO"; then :
1599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1603 $as_echo "$ac_res" >&6; }
1604 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1606 } # ac_fn_c_check_header_compile
1608 # ac_fn_c_try_cpp LINENO
1609 # ----------------------
1610 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1613 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1614 if { { ac_try="$ac_cpp conftest.$ac_ext"
1616 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1617 *) ac_try_echo
=$ac_try;;
1619 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1620 $as_echo "$ac_try_echo"; } >&5
1621 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1623 if test -s conftest.err
; then
1624 grep -v '^ *+' conftest.err
>conftest.er1
1625 cat conftest.er1
>&5
1626 mv -f conftest.er1 conftest.err
1628 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1629 test $ac_status = 0; } >/dev
/null
&& {
1630 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1631 test ! -s conftest.err
1635 $as_echo "$as_me: failed program was:" >&5
1636 sed 's/^/| /' conftest.
$ac_ext >&5
1640 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1645 # ac_fn_c_try_run LINENO
1646 # ----------------------
1647 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1648 # that executables *can* be run.
1651 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1652 if { { ac_try
="$ac_link"
1654 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1655 *) ac_try_echo=$ac_try;;
1657 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1658 $as_echo "$ac_try_echo"; } >&5
1659 (eval "$ac_link") 2>&5
1661 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1662 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1663 { { case "(($ac_try" in
1664 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1665 *) ac_try_echo
=$ac_try;;
1667 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1668 $as_echo "$ac_try_echo"; } >&5
1669 (eval "$ac_try") 2>&5
1671 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1672 test $ac_status = 0; }; }; then :
1675 $as_echo "$as_me: program exited with status $ac_status" >&5
1676 $as_echo "$as_me: failed program was:" >&5
1677 sed 's/^/| /' conftest.
$ac_ext >&5
1679 ac_retval
=$ac_status
1681 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1682 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1687 # ac_fn_c_check_func LINENO FUNC VAR
1688 # ----------------------------------
1689 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1690 ac_fn_c_check_func
()
1692 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1694 $as_echo_n "checking for $2... " >&6; }
1695 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1696 $as_echo_n "(cached) " >&6
1698 if test x
$gcc_no_link = xyes
; then
1699 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1701 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1702 /* end confdefs.h. */
1703 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1704 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1705 #define $2 innocuous_$2
1707 /* System header to define __stub macros and hopefully few prototypes,
1708 which can conflict with char $2 (); below.
1709 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1710 <limits.h> exists even on freestanding compilers. */
1713 # include <limits.h>
1715 # include <assert.h>
1720 /* Override any GCC internal prototype to avoid an error.
1721 Use char because int might match the return type of a GCC
1722 builtin and then its argument prototype would still apply. */
1727 /* The GNU C library defines this for functions which it implements
1728 to always fail with ENOSYS. Some functions are actually named
1729 something starting with __ and the normal name is an alias. */
1730 #if defined __stub_$2 || defined __stub___$2
1742 if ac_fn_c_try_link
"$LINENO"; then :
1747 rm -f core conftest.err conftest.
$ac_objext \
1748 conftest
$ac_exeext conftest.
$ac_ext
1751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1752 $as_echo "$ac_res" >&6; }
1753 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1755 } # ac_fn_c_check_func
1756 cat >config.log
<<_ACEOF
1757 This file contains any messages produced by compilers while
1758 running configure, to aid debugging if configure makes a mistake.
1760 It was created by GCC Quad-precision Math Library $as_me 0.1, which was
1761 generated by GNU Autoconf 2.64. Invocation command line was
1773 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1774 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1775 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1776 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1777 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1779 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1780 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1782 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1783 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1784 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1785 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1786 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1787 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1788 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1792 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1796 test -z "$as_dir" && as_dir
=.
1797 $as_echo "PATH: $as_dir"
1813 # Keep a trace of the command line.
1814 # Strip out --no-create and --no-recursion so they do not pile up.
1815 # Strip out --silent because we don't want to record it for future runs.
1816 # Also quote any args containing shell meta-characters.
1817 # Make two passes to allow for proper duplicate-argument suppression.
1821 ac_must_keep_next
=false
1827 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1828 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1829 |
-silent |
--silent |
--silen |
--sile |
--sil)
1832 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1835 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1837 as_fn_append ac_configure_args1
" '$ac_arg'"
1838 if test $ac_must_keep_next = true
; then
1839 ac_must_keep_next
=false
# Got value, back to normal.
1842 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1843 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1844 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1845 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1846 case "$ac_configure_args0 " in
1847 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1850 -* ) ac_must_keep_next
=true
;;
1853 as_fn_append ac_configure_args
" '$ac_arg'"
1858 { ac_configure_args0
=; unset ac_configure_args0
;}
1859 { ac_configure_args1
=; unset ac_configure_args1
;}
1861 # When interrupted or exit'd, cleanup temporary files, and complete
1862 # config.log. We remove comments because anyway the quotes in there
1863 # would cause problems or look ugly.
1864 # WARNING: Use '\'' to represent an apostrophe within the trap.
1865 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1866 trap 'exit_status=$?
1867 # Save into config.log some information that might help in debugging.
1872 ## ---------------- ##
1873 ## Cache variables. ##
1874 ## ---------------- ##
1877 # The following way of writing the cache mishandles newlines in values,
1879 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1880 eval ac_val=\$$ac_var
1884 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1885 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1888 _ | IFS | as_nl) ;; #(
1889 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1890 *) { eval $ac_var=; unset $ac_var;} ;;
1895 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1896 *${as_nl}ac_space=\ *)
1898 "s/'\''/'\''\\\\'\'''\''/g;
1899 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1902 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1910 ## ----------------- ##
1911 ## Output variables. ##
1912 ## ----------------- ##
1915 for ac_var in $ac_subst_vars
1917 eval ac_val=\$$ac_var
1919 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1921 $as_echo "$ac_var='\''$ac_val'\''"
1925 if test -n "$ac_subst_files"; then
1927 ## ------------------- ##
1928 ## File substitutions. ##
1929 ## ------------------- ##
1932 for ac_var
in $ac_subst_files
1934 eval ac_val
=\$
$ac_var
1936 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1938 $as_echo "$ac_var='\''$ac_val'\''"
1943 if test -s confdefs.h; then
1953 test "$ac_signal" != 0 &&
1954 $as_echo "$as_me: caught signal $ac_signal"
1955 $as_echo "$as_me: exit $exit_status"
1957 rm -f core *.core core.conftest.* &&
1958 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1961 for ac_signal
in 1 2 13 15; do
1962 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1966 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1967 rm -f -r conftest
* confdefs.h
1969 $as_echo "/* confdefs.h */" > confdefs.h
1971 # Predefined preprocessor variables.
1973 cat >>confdefs.h
<<_ACEOF
1974 #define PACKAGE_NAME "$PACKAGE_NAME"
1977 cat >>confdefs.h
<<_ACEOF
1978 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1981 cat >>confdefs.h
<<_ACEOF
1982 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1985 cat >>confdefs.h
<<_ACEOF
1986 #define PACKAGE_STRING "$PACKAGE_STRING"
1989 cat >>confdefs.h
<<_ACEOF
1990 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1993 cat >>confdefs.h
<<_ACEOF
1994 #define PACKAGE_URL "$PACKAGE_URL"
1998 # Let the site file select an alternate cache file if it wants to.
1999 # Prefer an explicitly selected file to automatically selected ones.
2002 if test -n "$CONFIG_SITE"; then
2003 ac_site_file1
=$CONFIG_SITE
2004 elif test "x$prefix" != xNONE
; then
2005 ac_site_file1
=$prefix/share
/config.site
2006 ac_site_file2
=$prefix/etc
/config.site
2008 ac_site_file1
=$ac_default_prefix/share
/config.site
2009 ac_site_file2
=$ac_default_prefix/etc
/config.site
2011 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2013 test "x$ac_site_file" = xNONE
&& continue
2014 if test -r "$ac_site_file"; then
2015 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2016 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2017 sed 's/^/| /' "$ac_site_file" >&5
2022 if test -r "$cache_file"; then
2023 # Some versions of bash will fail to source /dev/null (special
2024 # files actually), so we avoid doing that.
2025 if test -f "$cache_file"; then
2026 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2027 $as_echo "$as_me: loading cache $cache_file" >&6;}
2029 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2030 *) .
"./$cache_file";;
2034 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2035 $as_echo "$as_me: creating cache $cache_file" >&6;}
2039 # Check that the precious variables saved in the cache have kept the same
2041 ac_cache_corrupted
=false
2042 for ac_var
in $ac_precious_vars; do
2043 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2044 eval ac_new_set
=\
$ac_env_${ac_var}_set
2045 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2046 eval ac_new_val
=\
$ac_env_${ac_var}_value
2047 case $ac_old_set,$ac_new_set in
2049 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2050 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2051 ac_cache_corrupted
=: ;;
2053 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2054 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2055 ac_cache_corrupted
=: ;;
2058 if test "x$ac_old_val" != "x$ac_new_val"; then
2059 # differences in whitespace do not lead to failure.
2060 ac_old_val_w
=`echo x $ac_old_val`
2061 ac_new_val_w
=`echo x $ac_new_val`
2062 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2063 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2064 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2065 ac_cache_corrupted
=:
2067 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2068 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2069 eval $ac_var=\
$ac_old_val
2071 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2072 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2073 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2074 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2077 # Pass precious variables to config.status.
2078 if test "$ac_new_set" = set; then
2080 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2081 *) ac_arg
=$ac_var=$ac_new_val ;;
2083 case " $ac_configure_args " in
2084 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2085 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2089 if $ac_cache_corrupted; then
2090 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2091 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2092 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2093 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2094 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2096 ## -------------------- ##
2097 ## Main body of script. ##
2098 ## -------------------- ##
2101 ac_cpp
='$CPP $CPPFLAGS'
2102 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2103 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2104 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2110 ac_config_headers
="$ac_config_headers config.h"
2113 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2115 # You will slowly go insane if you do not grok the following fact: when
2116 # building this library, the top-level /target/ becomes the library's /host/.
2118 # configure then causes --target to default to --host, exactly like any
2119 # other package using autoconf. Therefore, 'target' and 'host' will
2120 # always be the same. This makes sense both for native and cross compilers
2121 # just think about it for a little while. :-)
2123 # Also, if this library is being configured as part of a cross compiler, the
2124 # top-level configure script will pass the "real" host as $with_cross_host.
2126 # Do not delete or change the following two lines. For why, see
2127 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2129 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2130 for ac_t
in install-sh
install.sh shtool
; do
2131 if test -f "$ac_dir/$ac_t"; then
2133 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2138 if test -z "$ac_aux_dir"; then
2139 as_fn_error
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2142 # These three variables are undocumented and unsupported,
2143 # and are intended to be withdrawn in a future Autoconf release.
2144 # They can cause serious problems if a builder's source tree is in a directory
2145 # whose full name contains unusual characters.
2146 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2147 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2148 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2151 # Make sure we can run config.sub.
2152 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2153 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2156 $as_echo_n "checking build system type... " >&6; }
2157 if test "${ac_cv_build+set}" = set; then :
2158 $as_echo_n "(cached) " >&6
2160 ac_build_alias
=$build_alias
2161 test "x$ac_build_alias" = x
&&
2162 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2163 test "x$ac_build_alias" = x
&&
2164 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
2165 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2166 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2170 $as_echo "$ac_cv_build" >&6; }
2171 case $ac_cv_build in
2173 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
2176 ac_save_IFS
=$IFS; IFS
='-'
2182 # Remember, the first character of IFS is used to create $*,
2183 # except with old shells:
2186 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2190 $as_echo_n "checking host system type... " >&6; }
2191 if test "${ac_cv_host+set}" = set; then :
2192 $as_echo_n "(cached) " >&6
2194 if test "x$host_alias" = x
; then
2195 ac_cv_host
=$ac_cv_build
2197 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2198 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2203 $as_echo "$ac_cv_host" >&6; }
2206 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
2209 ac_save_IFS
=$IFS; IFS
='-'
2215 # Remember, the first character of IFS is used to create $*,
2216 # except with old shells:
2219 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2223 $as_echo_n "checking target system type... " >&6; }
2224 if test "${ac_cv_target+set}" = set; then :
2225 $as_echo_n "(cached) " >&6
2227 if test "x$target_alias" = x
; then
2228 ac_cv_target
=$ac_cv_host
2230 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2231 as_fn_error
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2236 $as_echo "$ac_cv_target" >&6; }
2237 case $ac_cv_target in
2239 *) as_fn_error
"invalid value of canonical target" "$LINENO" 5;;
2241 target
=$ac_cv_target
2242 ac_save_IFS
=$IFS; IFS
='-'
2248 # Remember, the first character of IFS is used to create $*,
2249 # except with old shells:
2252 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2255 # The aliases save the names the user supplied, while $host etc.
2256 # will get canonicalized.
2257 test -n "$target_alias" &&
2258 test "$program_prefix$program_suffix$program_transform_name" = \
2260 program_prefix
=${target_alias}-
2262 case ${build_alias} in
2263 "") build_noncanonical
=${build} ;;
2264 *) build_noncanonical
=${build_alias} ;;
2267 case ${host_alias} in
2268 "") host_noncanonical
=${build_noncanonical} ;;
2269 *) host_noncanonical
=${host_alias} ;;
2272 case ${target_alias} in
2273 "") target_noncanonical
=${host_noncanonical} ;;
2274 *) target_noncanonical
=${target_alias} ;;
2280 target_alias
=${target_alias-$host_alias}
2283 am__api_version
='1.11'
2285 # Find a good install program. We prefer a C program (faster),
2286 # so one script is as good as another. But avoid the broken or
2287 # incompatible versions:
2288 # SysV /etc/install, /usr/sbin/install
2289 # SunOS /usr/etc/install
2290 # IRIX /sbin/install
2292 # AmigaOS /C/install, which installs bootblocks on floppy discs
2293 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2294 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2295 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2296 # OS/2's system install, which has a completely different semantic
2297 # ./install, which can be erroneously created by make from ./install.sh.
2298 # Reject install programs that cannot install multiple files.
2299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2300 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2301 if test -z "$INSTALL"; then
2302 if test "${ac_cv_path_install+set}" = set; then :
2303 $as_echo_n "(cached) " >&6
2305 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2309 test -z "$as_dir" && as_dir
=.
2310 # Account for people who put trailing slashes in PATH elements.
2311 case $as_dir/ in #((
2312 .
/ | .
// |
/[cC
]/* | \
2313 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2314 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2317 # OSF1 and SCO ODT 3.0 have their own names for install.
2318 # Don't use installbsd from OSF since it installs stuff as root
2320 for ac_prog
in ginstall scoinst
install; do
2321 for ac_exec_ext
in '' $ac_executable_extensions; do
2322 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2323 if test $ac_prog = install &&
2324 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2325 # AIX install. It has an incompatible calling convention.
2327 elif test $ac_prog = install &&
2328 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2329 # program-specific install script used by HP pwplus--don't use.
2332 rm -rf conftest.one conftest.two conftest.dir
2333 echo one
> conftest.one
2334 echo two
> conftest.two
2336 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2337 test -s conftest.one
&& test -s conftest.two
&&
2338 test -s conftest.dir
/conftest.one
&&
2339 test -s conftest.dir
/conftest.two
2341 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2354 rm -rf conftest.one conftest.two conftest.dir
2357 if test "${ac_cv_path_install+set}" = set; then
2358 INSTALL
=$ac_cv_path_install
2360 # As a last resort, use the slow shell script. Don't cache a
2361 # value for INSTALL within a source directory, because that will
2362 # break other packages using the cache if that directory is
2363 # removed, or if the value is a relative name.
2364 INSTALL
=$ac_install_sh
2367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2368 $as_echo "$INSTALL" >&6; }
2370 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2371 # It thinks the first close brace ends the variable substitution.
2372 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2374 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2376 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2379 $as_echo_n "checking whether build environment is sane... " >&6; }
2382 echo timestamp
> conftest.
file
2383 # Reject unsafe characters in $srcdir or the absolute working directory
2384 # name. Accept space and tab only in the latter.
2388 *[\\\"\
#\$\&\'\`$am_lf]*)
2389 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
2392 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2393 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2396 # Do `set' in a subshell so we don't clobber the current shell's
2397 # arguments. Must try -L first in case configure is actually a
2398 # symlink; some systems play weird games with the mod time of symlinks
2399 # (eg FreeBSD returns the mod time of the symlink's containing
2402 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2403 if test "$*" = "X"; then
2405 set X
`ls -t "$srcdir/configure" conftest.file`
2408 if test "$*" != "X $srcdir/configure conftest.file" \
2409 && test "$*" != "X conftest.file $srcdir/configure"; then
2411 # If neither matched, then we have a broken ls. This can happen
2412 # if, for instance, CONFIG_SHELL is bash and it inherits a
2413 # broken ls alias from the environment. This has actually
2414 # happened. Such a system could not be considered "sane".
2415 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
2416 alias in your environment" "$LINENO" 5
2419 test "$2" = conftest.
file
2425 as_fn_error
"newly created file is older than distributed files!
2426 Check your system clock" "$LINENO" 5
2428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2429 $as_echo "yes" >&6; }
2430 test "$program_prefix" != NONE
&&
2431 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2432 # Use a double $ so make ignores it.
2433 test "$program_suffix" != NONE
&&
2434 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2435 # Double any \ or $.
2436 # By default was `s,x,x', remove it if useless.
2437 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2438 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2440 # expand $ac_aux_dir to an absolute path
2441 am_aux_dir
=`cd $ac_aux_dir && pwd`
2443 if test x
"${MISSING+set}" != xset
; then
2446 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2448 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2451 # Use eval to expand $SHELL
2452 if eval "$MISSING --run true"; then
2453 am_missing_run
="$MISSING --run "
2456 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2457 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2460 if test x
"${install_sh}" != xset
; then
2463 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2465 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2469 # Installed binaries are usually stripped using `strip' when the user
2470 # run `make install-strip'. However `strip' might not be the right
2471 # tool to use in cross-compilation environments, therefore Automake
2472 # will honor the `STRIP' environment variable to overrule this program.
2473 if test "$cross_compiling" != no
; then
2474 if test -n "$ac_tool_prefix"; then
2475 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2476 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2478 $as_echo_n "checking for $ac_word... " >&6; }
2479 if test "${ac_cv_prog_STRIP+set}" = set; then :
2480 $as_echo_n "(cached) " >&6
2482 if test -n "$STRIP"; then
2483 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2485 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2489 test -z "$as_dir" && as_dir
=.
2490 for ac_exec_ext
in '' $ac_executable_extensions; do
2491 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2492 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2493 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2502 STRIP
=$ac_cv_prog_STRIP
2503 if test -n "$STRIP"; then
2504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2505 $as_echo "$STRIP" >&6; }
2507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2508 $as_echo "no" >&6; }
2513 if test -z "$ac_cv_prog_STRIP"; then
2515 # Extract the first word of "strip", so it can be a program name with args.
2516 set dummy strip
; ac_word
=$2
2517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2518 $as_echo_n "checking for $ac_word... " >&6; }
2519 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2520 $as_echo_n "(cached) " >&6
2522 if test -n "$ac_ct_STRIP"; then
2523 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2525 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2529 test -z "$as_dir" && as_dir
=.
2530 for ac_exec_ext
in '' $ac_executable_extensions; do
2531 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2532 ac_cv_prog_ac_ct_STRIP
="strip"
2533 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2542 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2543 if test -n "$ac_ct_STRIP"; then
2544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2545 $as_echo "$ac_ct_STRIP" >&6; }
2547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2548 $as_echo "no" >&6; }
2551 if test "x$ac_ct_STRIP" = x
; then
2554 case $cross_compiling:$ac_tool_warned in
2556 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2557 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2558 ac_tool_warned
=yes ;;
2563 STRIP
="$ac_cv_prog_STRIP"
2567 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2570 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2571 if test -z "$MKDIR_P"; then
2572 if test "${ac_cv_path_mkdir+set}" = set; then :
2573 $as_echo_n "(cached) " >&6
2575 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2576 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2579 test -z "$as_dir" && as_dir
=.
2580 for ac_prog
in mkdir gmkdir
; do
2581 for ac_exec_ext
in '' $ac_executable_extensions; do
2582 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2583 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2584 'mkdir (GNU coreutils) '* | \
2585 'mkdir (coreutils) '* | \
2586 'mkdir (fileutils) '4.1*)
2587 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2597 if test "${ac_cv_path_mkdir+set}" = set; then
2598 MKDIR_P
="$ac_cv_path_mkdir -p"
2600 # As a last resort, use the slow shell script. Don't cache a
2601 # value for MKDIR_P within a source directory, because that will
2602 # break other packages using the cache if that directory is
2603 # removed, or if the value is a relative name.
2604 test -d .
/--version && rmdir .
/--version
2605 MKDIR_P
="$ac_install_sh -d"
2608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2609 $as_echo "$MKDIR_P" >&6; }
2613 [\\/$
]* | ?
:[\\/]*) ;;
2614 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2617 for ac_prog
in gawk mawk nawk
awk
2619 # Extract the first word of "$ac_prog", so it can be a program name with args.
2620 set dummy
$ac_prog; ac_word
=$2
2621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2622 $as_echo_n "checking for $ac_word... " >&6; }
2623 if test "${ac_cv_prog_AWK+set}" = set; then :
2624 $as_echo_n "(cached) " >&6
2626 if test -n "$AWK"; then
2627 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2629 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2633 test -z "$as_dir" && as_dir
=.
2634 for ac_exec_ext
in '' $ac_executable_extensions; do
2635 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2636 ac_cv_prog_AWK
="$ac_prog"
2637 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2647 if test -n "$AWK"; then
2648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2649 $as_echo "$AWK" >&6; }
2651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2652 $as_echo "no" >&6; }
2656 test -n "$AWK" && break
2659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2660 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2662 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2663 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2664 $as_echo_n "(cached) " >&6
2666 cat >conftest.
make <<\_ACEOF
2669 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2671 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2672 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2674 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2676 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2680 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2682 $as_echo "yes" >&6; }
2685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2686 $as_echo "no" >&6; }
2687 SET_MAKE
="MAKE=${MAKE-make}"
2690 rm -rf .tst
2>/dev
/null
2691 mkdir .tst
2>/dev
/null
2692 if test -d .tst
; then
2697 rmdir .tst
2>/dev
/null
2699 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2700 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2701 # is not polluted with repeated "-I."
2702 am__isrc
=' -I$(srcdir)'
2703 # test to see if srcdir already configured
2704 if test -f $srcdir/config.status
; then
2705 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2709 # test whether we have cygpath
2710 if test -z "$CYGPATH_W"; then
2711 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2712 CYGPATH_W
='cygpath -w'
2719 # Define the identity of the package.
2720 PACKAGE
='libquadmath'
2724 cat >>confdefs.h
<<_ACEOF
2725 #define PACKAGE "$PACKAGE"
2729 cat >>confdefs.h
<<_ACEOF
2730 #define VERSION "$VERSION"
2733 # Some tools Automake needs.
2735 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2738 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2741 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2744 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2747 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2749 # We need awk for the "check" target. The system "awk" is bad on
2751 # Always define AMTAR for backward compatibility.
2753 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2755 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2763 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2764 # Check whether --enable-version-specific-runtime-libs was given.
2765 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2766 enableval
=$enable_version_specific_runtime_libs; case "$enableval" in
2767 yes) version_specific_libs
=yes ;;
2768 no
) version_specific_libs
=no
;;
2769 *) as_fn_error
"Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
2772 version_specific_libs
=no
2775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
2776 $as_echo "$version_specific_libs" >&6; }
2780 # See if makeinfo has been installed and is modern enough
2781 # that we can use it.
2783 # Extract the first word of "makeinfo", so it can be a program name with args.
2784 set dummy makeinfo
; ac_word
=$2
2785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2786 $as_echo_n "checking for $ac_word... " >&6; }
2787 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
2788 $as_echo_n "(cached) " >&6
2790 if test -n "$MAKEINFO"; then
2791 ac_cv_prog_MAKEINFO
="$MAKEINFO" # Let the user override the test.
2793 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2797 test -z "$as_dir" && as_dir
=.
2798 for ac_exec_ext
in '' $ac_executable_extensions; do
2799 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2800 ac_cv_prog_MAKEINFO
="makeinfo"
2801 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2810 MAKEINFO
=$ac_cv_prog_MAKEINFO
2811 if test -n "$MAKEINFO"; then
2812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
2813 $as_echo "$MAKEINFO" >&6; }
2815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2816 $as_echo "no" >&6; }
2820 if test -n "$MAKEINFO"; then
2821 # Found it, now check the version.
2822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
2823 $as_echo_n "checking for modern makeinfo... " >&6; }
2824 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
2825 $as_echo_n "(cached) " >&6
2827 ac_prog_version
=`eval $MAKEINFO --version 2>&1 |
2828 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
2830 case $ac_prog_version in
2831 '') gcc_cv_prog_makeinfo_modern
=no
;;
2832 4.
[4-9]*|
4.
[1-9][0-9]*|
[5-9]*|
[1-9][0-9]*) gcc_cv_prog_makeinfo_modern
=yes;;
2833 *) gcc_cv_prog_makeinfo_modern
=no
;;
2837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
2838 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
2840 gcc_cv_prog_makeinfo_modern
=no
2842 if test $gcc_cv_prog_makeinfo_modern = no
; then
2843 MAKEINFO
="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
2846 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
2848 BUILD_INFO_FALSE
='#'
2859 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
2860 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
2865 macro_version
='2.2.7a'
2866 macro_revision
='1.3134'
2880 ltmain
="$ac_aux_dir/ltmain.sh"
2882 # Backslashify metacharacters that are still active within
2883 # double-quoted strings.
2884 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
2886 # Same as above, but do not quote variable references.
2887 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
2889 # Sed substitution to delay expansion of an escaped shell variable in a
2890 # double_quote_subst'ed string.
2891 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
2893 # Sed substitution to delay expansion of an escaped single quote.
2894 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
2896 # Sed substitution to avoid accidental globbing in evaled expressions
2897 no_glob_subst
='s/\*/\\\*/g'
2899 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
2900 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
2901 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
2903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
2904 $as_echo_n "checking how to print strings... " >&6; }
2905 # Test print first, because it will be a builtin if present.
2906 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
2907 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
2909 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
2912 # Use this function as a fallback that always works.
2913 func_fallback_echo ()
2915 eval 'cat <<_LTECHO_EOF
2919 ECHO='func_fallback_echo
'
2922 # func_echo_all arg...
2923 # Invoke $ECHO with all args, space-separated.
2930 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
2931 $as_echo "printf" >&6; } ;;
2932 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
2933 $as_echo "print -r" >&6; } ;;
2934 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
2935 $as_echo "cat" >&6; } ;;
2951 DEPDIR="${am__leading_dot}deps"
2953 ac_config_commands="$ac_config_commands depfiles"
2956 am_make=${MAKE-make}
2957 cat > confinc << 'END
'
2959 @echo this is the am__doit target
2962 # If we don't
find an include directive
, just comment out the code.
2963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2964 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2968 # First try GNU make style include.
2969 echo "include confinc" > confmf
2970 # Ignore all kinds of additional output from `make'.
2971 case `$am_make -s -f confmf 2> /dev/null` in #(
2972 *the\ am__doit\ target
*)
2978 # Now try BSD make style include.
2979 if test "$am__include" = "#"; then
2980 echo '.include "confinc"' > confmf
2981 case `$am_make -s -f confmf 2> /dev/null` in #(
2982 *the\ am__doit\ target
*)
2983 am__include
=.include
2991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2992 $as_echo "$_am_result" >&6; }
2993 rm -f confinc confmf
2995 # Check whether --enable-dependency-tracking was given.
2996 if test "${enable_dependency_tracking+set}" = set; then :
2997 enableval
=$enable_dependency_tracking;
3000 if test "x$enable_dependency_tracking" != xno
; then
3001 am_depcomp
="$ac_aux_dir/depcomp"
3004 if test "x$enable_dependency_tracking" != xno; then
3014 ac_cpp
='$CPP $CPPFLAGS'
3015 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3016 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3017 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3018 if test -n "$ac_tool_prefix"; then
3019 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3020 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3022 $as_echo_n "checking for $ac_word... " >&6; }
3023 if test "${ac_cv_prog_CC+set}" = set; then :
3024 $as_echo_n "(cached) " >&6
3026 if test -n "$CC"; then
3027 ac_cv_prog_CC
="$CC" # Let the user override the test.
3029 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3033 test -z "$as_dir" && as_dir
=.
3034 for ac_exec_ext
in '' $ac_executable_extensions; do
3035 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3036 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3037 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3047 if test -n "$CC"; then
3048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3049 $as_echo "$CC" >&6; }
3051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3052 $as_echo "no" >&6; }
3057 if test -z "$ac_cv_prog_CC"; then
3059 # Extract the first word of "gcc", so it can be a program name with args.
3060 set dummy gcc
; ac_word
=$2
3061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3062 $as_echo_n "checking for $ac_word... " >&6; }
3063 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3064 $as_echo_n "(cached) " >&6
3066 if test -n "$ac_ct_CC"; then
3067 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3069 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3073 test -z "$as_dir" && as_dir
=.
3074 for ac_exec_ext
in '' $ac_executable_extensions; do
3075 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3076 ac_cv_prog_ac_ct_CC
="gcc"
3077 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3086 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3087 if test -n "$ac_ct_CC"; then
3088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3089 $as_echo "$ac_ct_CC" >&6; }
3091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3092 $as_echo "no" >&6; }
3095 if test "x$ac_ct_CC" = x
; then
3098 case $cross_compiling:$ac_tool_warned in
3100 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3101 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3102 ac_tool_warned
=yes ;;
3110 if test -z "$CC"; then
3111 if test -n "$ac_tool_prefix"; then
3112 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3113 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3115 $as_echo_n "checking for $ac_word... " >&6; }
3116 if test "${ac_cv_prog_CC+set}" = set; then :
3117 $as_echo_n "(cached) " >&6
3119 if test -n "$CC"; then
3120 ac_cv_prog_CC
="$CC" # Let the user override the test.
3122 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3126 test -z "$as_dir" && as_dir
=.
3127 for ac_exec_ext
in '' $ac_executable_extensions; do
3128 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3129 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3130 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3140 if test -n "$CC"; then
3141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3142 $as_echo "$CC" >&6; }
3144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3145 $as_echo "no" >&6; }
3151 if test -z "$CC"; then
3152 # Extract the first word of "cc", so it can be a program name with args.
3153 set dummy cc
; ac_word
=$2
3154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3155 $as_echo_n "checking for $ac_word... " >&6; }
3156 if test "${ac_cv_prog_CC+set}" = set; then :
3157 $as_echo_n "(cached) " >&6
3159 if test -n "$CC"; then
3160 ac_cv_prog_CC
="$CC" # Let the user override the test.
3163 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3167 test -z "$as_dir" && as_dir
=.
3168 for ac_exec_ext
in '' $ac_executable_extensions; do
3169 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3170 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3171 ac_prog_rejected
=yes
3175 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3182 if test $ac_prog_rejected = yes; then
3183 # We found a bogon in the path, so make sure we never use it.
3184 set dummy
$ac_cv_prog_CC
3186 if test $# != 0; then
3187 # We chose a different compiler from the bogus one.
3188 # However, it has the same basename, so the bogon will be chosen
3189 # first if we set CC to just the basename; use the full file name.
3191 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3197 if test -n "$CC"; then
3198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3199 $as_echo "$CC" >&6; }
3201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3202 $as_echo "no" >&6; }
3207 if test -z "$CC"; then
3208 if test -n "$ac_tool_prefix"; then
3209 for ac_prog
in cl.exe
3211 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3212 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3214 $as_echo_n "checking for $ac_word... " >&6; }
3215 if test "${ac_cv_prog_CC+set}" = set; then :
3216 $as_echo_n "(cached) " >&6
3218 if test -n "$CC"; then
3219 ac_cv_prog_CC
="$CC" # Let the user override the test.
3221 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3225 test -z "$as_dir" && as_dir
=.
3226 for ac_exec_ext
in '' $ac_executable_extensions; do
3227 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3228 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3229 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3239 if test -n "$CC"; then
3240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3241 $as_echo "$CC" >&6; }
3243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3244 $as_echo "no" >&6; }
3248 test -n "$CC" && break
3251 if test -z "$CC"; then
3253 for ac_prog
in cl.exe
3255 # Extract the first word of "$ac_prog", so it can be a program name with args.
3256 set dummy
$ac_prog; ac_word
=$2
3257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3258 $as_echo_n "checking for $ac_word... " >&6; }
3259 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3260 $as_echo_n "(cached) " >&6
3262 if test -n "$ac_ct_CC"; then
3263 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3265 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3269 test -z "$as_dir" && as_dir
=.
3270 for ac_exec_ext
in '' $ac_executable_extensions; do
3271 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3272 ac_cv_prog_ac_ct_CC
="$ac_prog"
3273 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3282 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3283 if test -n "$ac_ct_CC"; then
3284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3285 $as_echo "$ac_ct_CC" >&6; }
3287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3288 $as_echo "no" >&6; }
3292 test -n "$ac_ct_CC" && break
3295 if test "x$ac_ct_CC" = x
; then
3298 case $cross_compiling:$ac_tool_warned in
3300 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3301 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3302 ac_tool_warned
=yes ;;
3311 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3312 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3313 as_fn_error
"no acceptable C compiler found in \$PATH
3314 See \`config.log' for more details." "$LINENO" 5; }
3316 # Provide some information about the compiler.
3317 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3320 for ac_option
in --version -v -V -qversion; do
3321 { { ac_try
="$ac_compiler $ac_option >&5"
3323 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3324 *) ac_try_echo=$ac_try;;
3326 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3327 $as_echo "$ac_try_echo"; } >&5
3328 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3330 if test -s conftest.err; then
3332 ... rest of stderr output deleted ...
3333 10q' conftest.err >conftest.er1
3334 cat conftest.er1 >&5
3335 rm -f conftest.er1 conftest.err
3337 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3338 test $ac_status = 0; }
3341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3342 /* end confdefs.h. */
3353 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3354 (eval $ac_link) 2>&5
3356 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3357 test $ac_status = 0; }; then :
3362 if test x$gcc_no_link = xyes; then
3363 # Setting cross_compile will disable run tests; it will
3364 # also disable AC_CHECK_FILE but that's generally
3365 # correct if we can't link.
3369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3370 /* end confdefs.h. */
3380 ac_clean_files_save=$ac_clean_files
3381 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3382 # Try to create an executable without -o first, disregard a.out.
3383 # It will help us diagnose broken compilers, and finding out an intuition
3385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3386 $as_echo_n "checking for C compiler default output file name... " >&6; }
3387 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3389 # The possible output files:
3390 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3393 for ac_file in $ac_files
3396 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3397 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3402 if { { ac_try="$ac_link_default"
3404 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3405 *) ac_try_echo
=$ac_try;;
3407 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3408 $as_echo "$ac_try_echo"; } >&5
3409 (eval "$ac_link_default") 2>&5
3411 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3412 test $ac_status = 0; }; then :
3413 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3414 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3415 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3416 # so that the user can short-circuit this test for compilers unknown to
3418 for ac_file
in $ac_files ''
3420 test -f "$ac_file" ||
continue
3422 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3425 # We found the default executable, but exeext='' is most
3429 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3431 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3433 # We set ac_cv_exeext here because the later test for it is not
3434 # safe: cross compilers may not add the suffix if given an `-o'
3435 # argument, so we may need to know it at that point already.
3436 # Even if this section looks crufty: it has the advantage of
3443 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3449 $as_echo "$ac_file" >&6; }
3450 if test -z "$ac_file"; then :
3451 $as_echo "$as_me: failed program was:" >&5
3452 sed 's/^/| /' conftest.
$ac_ext >&5
3454 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3455 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3456 { as_fn_set_status
77
3457 as_fn_error
"C compiler cannot create executables
3458 See \`config.log' for more details." "$LINENO" 5; }; }
3460 ac_exeext
=$ac_cv_exeext
3462 # Check that the compiler produces executables we can run. If not, either
3463 # the compiler is broken, or we cross compile.
3464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3465 $as_echo_n "checking whether the C compiler works... " >&6; }
3466 # If not cross compiling, check that we can run a simple program.
3467 if test "$cross_compiling" != yes; then
3468 if { ac_try
='./$ac_file'
3469 { { case "(($ac_try" in
3470 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3471 *) ac_try_echo=$ac_try;;
3473 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3474 $as_echo "$ac_try_echo"; } >&5
3475 (eval "$ac_try") 2>&5
3477 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3478 test $ac_status = 0; }; }; then
3481 if test "$cross_compiling" = maybe; then
3484 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3485 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3486 as_fn_error "cannot run C compiled programs.
3487 If you meant to cross compile
, use \
`--host'.
3488 See \`config.log
' for more details." "$LINENO" 5; }
3492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3493 $as_echo "yes" >&6; }
3495 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3496 ac_clean_files=$ac_clean_files_save
3497 # Check that the compiler produces executables we can run. If not, either
3498 # the compiler is broken, or we cross compile.
3499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3500 $as_echo_n "checking whether we are cross compiling... " >&6; }
3501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3502 $as_echo "$cross_compiling" >&6; }
3504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3505 $as_echo_n "checking for suffix of executables... " >&6; }
3506 if { { ac_try="$ac_link"
3508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3509 *) ac_try_echo=$ac_try;;
3511 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3512 $as_echo "$ac_try_echo"; } >&5
3513 (eval "$ac_link") 2>&5
3515 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3516 test $ac_status = 0; }; then :
3517 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3518 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3519 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3521 for ac_file
in conftest.exe conftest conftest.
*; do
3522 test -f "$ac_file" ||
continue
3524 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3525 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3531 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3532 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3533 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3534 See \`config.log' for more details." "$LINENO" 5; }
3536 rm -f conftest
$ac_cv_exeext
3537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3538 $as_echo "$ac_cv_exeext" >&6; }
3540 rm -f conftest.
$ac_ext
3541 EXEEXT
=$ac_cv_exeext
3544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3545 $as_echo_n "checking for suffix of object files... " >&6; }
3546 if test "${ac_cv_objext+set}" = set; then :
3547 $as_echo_n "(cached) " >&6
3549 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3550 /* end confdefs.h. */
3560 rm -f conftest.o conftest.obj
3561 if { { ac_try
="$ac_compile"
3563 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3564 *) ac_try_echo=$ac_try;;
3566 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3567 $as_echo "$ac_try_echo"; } >&5
3568 (eval "$ac_compile") 2>&5
3570 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3571 test $ac_status = 0; }; then :
3572 for ac_file in conftest.o conftest.obj conftest.*; do
3573 test -f "$ac_file" || continue;
3575 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3576 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3581 $as_echo "$as_me: failed program was:" >&5
3582 sed 's/^/| /' conftest.$ac_ext >&5
3584 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3585 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3586 as_fn_error "cannot compute suffix of object files
: cannot compile
3587 See \
`config.log' for more details." "$LINENO" 5; }
3589 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3592 $as_echo "$ac_cv_objext" >&6; }
3593 OBJEXT=$ac_cv_objext
3595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3596 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3597 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3598 $as_echo_n "(cached) " >&6
3600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3601 /* end confdefs.h. */
3614 if ac_fn_c_try_compile "$LINENO"; then :
3619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3620 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3624 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3625 if test $ac_compiler_gnu = yes; then
3630 ac_test_CFLAGS=${CFLAGS+set}
3631 ac_save_CFLAGS=$CFLAGS
3632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3633 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3634 if test "${ac_cv_prog_cc_g+set}" = set; then :
3635 $as_echo_n "(cached) " >&6
3637 ac_save_c_werror_flag=$ac_c_werror_flag
3638 ac_c_werror_flag=yes
3641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3642 /* end confdefs.h. */
3652 if ac_fn_c_try_compile "$LINENO"; then :
3656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3657 /* end confdefs.h. */
3667 if ac_fn_c_try_compile "$LINENO"; then :
3670 ac_c_werror_flag=$ac_save_c_werror_flag
3672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3673 /* end confdefs.h. */
3683 if ac_fn_c_try_compile "$LINENO"; then :
3686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3691 ac_c_werror_flag=$ac_save_c_werror_flag
3693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3694 $as_echo "$ac_cv_prog_cc_g" >&6; }
3695 if test "$ac_test_CFLAGS" = set; then
3696 CFLAGS=$ac_save_CFLAGS
3697 elif test $ac_cv_prog_cc_g = yes; then
3698 if test "$GCC" = yes; then
3704 if test "$GCC" = yes; then
3710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3711 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3712 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3713 $as_echo_n "(cached) " >&6
3715 ac_cv_prog_cc_c89=no
3717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3718 /* end confdefs.h. */
3721 #include <sys/types.h>
3722 #include <sys/stat.h>
3723 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3724 struct buf { int x; };
3725 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3726 static char *e (p, i)
3732 static char *f (char * (*g) (char **, int), char **p, ...)
3737 s = g (p, va_arg (v,int));
3742 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3743 function prototypes and stuff, but not '\xHH' hex character constants.
3744 These don't provoke an error unfortunately, instead are silently treated
3745 as 'x'. The following induces an error, until -std is added to get
3746 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3747 array size at least. It's necessary to write '\x00'==0 to get something
3748 that's true only with -std. */
3749 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3751 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3752 inside strings and character constants. */
3754 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3756 int test (int i, double x);
3757 struct s1 {int (*f) (int a);};
3758 struct s2 {int (*f) (double a);};
3759 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3765 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3770 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3771 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3773 CC="$ac_save_CC $ac_arg"
3774 if ac_fn_c_try_compile "$LINENO"; then :
3775 ac_cv_prog_cc_c89=$ac_arg
3777 rm -f core conftest.err conftest.$ac_objext
3778 test "x$ac_cv_prog_cc_c89" != "xno" && break
3780 rm -f conftest.$ac_ext
3785 case "x$ac_cv_prog_cc_c89" in
3787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3788 $as_echo "none needed" >&6; } ;;
3790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3791 $as_echo "unsupported" >&6; } ;;
3793 CC="$CC $ac_cv_prog_cc_c89"
3794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3795 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3797 if test "x$ac_cv_prog_cc_c89" != xno; then :
3802 ac_cpp='$CPP $CPPFLAGS'
3803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3807 depcc="$CC" am_compiler_list=
3809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3810 $as_echo_n "checking dependency style of $depcc... " >&6; }
3811 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3812 $as_echo_n "(cached) " >&6
3814 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3815 # We make a subdir and do the tests there. Otherwise we can end up
3816 # making bogus files that we don't know about and never remove. For
3817 # instance it was reported that on HP-UX the gcc test will end up
3818 # making a dummy file named `D
' -- because `-MD' means
`put the output
3821 # Copy depcomp to subdir because otherwise we won't find it if we're
3822 # using a relative directory.
3823 cp "$am_depcomp" conftest.dir
3825 # We will build objects and dependencies in a subdirectory because
3826 # it helps to detect inapplicable dependency modes. For instance
3827 # both Tru64's cc and ICC support -MD to output dependencies as a
3828 # side effect of compilation, but ICC will put the dependencies in
3829 # the current directory while Tru64 will put them in the object
3833 am_cv_CC_dependencies_compiler_type=none
3834 if test "$am_compiler_list" = ""; then
3835 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
3838 case " $depcc " in #(
3839 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3842 for depmode in $am_compiler_list; do
3843 # Setup a source with many dependencies, because some compilers
3844 # like to wrap large dependency lists on column 80 (with \), and
3845 # we should not choose a depcomp mode which is confused by this.
3847 # We need to recreate these files for each test, as the compiler may
3848 # overwrite some of them when testing with obscure command lines.
3849 # This happens at least with the AIX C compiler.
3851 for i in 1 2 3 4 5 6; do
3852 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3853 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
3854 # Solaris 8's
{/usr
,}/bin
/sh.
3855 touch sub
/conftst
$i.h
3857 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3859 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3860 # mode. It turns out that the SunPro C++ compiler does not properly
3861 # handle `-M -o', and we need to detect this. Also, some Intel
3862 # versions had trouble with output in subdirs
3863 am__obj
=sub
/conftest.
${OBJEXT-o}
3864 am__minus_obj
="-o $am__obj"
3867 # This depmode causes a compiler race in universal mode.
3868 test "$am__universal" = false ||
continue
3871 # after this tag, mechanisms are not by side-effect, so they'll
3872 # only be used when explicitly requested
3873 if test "x$enable_dependency_tracking" = xyes
; then
3879 msvisualcpp | msvcmsys
)
3880 # This compiler won't grok `-c -o', but also, the minuso test has
3881 # not run yet. These depmodes are late enough in the game, and
3882 # so weak that their functioning should not be impacted.
3883 am__obj
=conftest.
${OBJEXT-o}
3888 if depmode
=$depmode \
3889 source=sub
/conftest.c object
=$am__obj \
3890 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3891 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
3892 >/dev
/null
2>conftest.err
&&
3893 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3894 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3895 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
3896 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3897 # icc doesn't choke on unknown options, it will just issue warnings
3898 # or remarks (even with -Werror). So we grep stderr for any message
3899 # that says an option was ignored or not supported.
3900 # When given -MP, icc 7.0 and 7.1 complain thusly:
3901 # icc: Command line warning: ignoring option '-M'; no argument required
3902 # The diagnosis changed in icc 8.0:
3903 # icc: Command line remark: option '-MP' not supported
3904 if (grep 'ignoring option' conftest.err ||
3905 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3906 am_cv_CC_dependencies_compiler_type
=$depmode
3915 am_cv_CC_dependencies_compiler_type
=none
3919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3920 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3921 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3924 test "x$enable_dependency_tracking" != xno \
3925 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3927 am__fastdepCC_FALSE
='#'
3929 am__fastdepCC_TRUE
='#'
3930 am__fastdepCC_FALSE
=
3934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
3935 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
3936 if test "${ac_cv_path_SED+set}" = set; then :
3937 $as_echo_n "(cached) " >&6
3939 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
3940 for ac_i
in 1 2 3 4 5 6 7; do
3941 ac_script
="$ac_script$as_nl$ac_script"
3943 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
3944 { ac_script
=; unset ac_script
;}
3945 if test -z "$SED"; then
3946 ac_path_SED_found
=false
3947 # Loop through the user's path and test for each of PROGNAME-LIST
3948 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3952 test -z "$as_dir" && as_dir
=.
3953 for ac_prog
in sed gsed
; do
3954 for ac_exec_ext
in '' $ac_executable_extensions; do
3955 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
3956 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
3957 # Check for GNU ac_path_SED and select it if it is found.
3958 # Check for GNU $ac_path_SED
3959 case `"$ac_path_SED" --version 2>&1` in
3961 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
3964 $as_echo_n 0123456789 >"conftest.in"
3967 cat "conftest.in" "conftest.in" >"conftest.tmp"
3968 mv "conftest.tmp" "conftest.in"
3969 cp "conftest.in" "conftest.nl"
3970 $as_echo '' >> "conftest.nl"
3971 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3972 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3973 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3974 if test $ac_count -gt ${ac_path_SED_max-0}; then
3975 # Best one so far, save it but keep looking for a better one
3976 ac_cv_path_SED
="$ac_path_SED"
3977 ac_path_SED_max
=$ac_count
3979 # 10*(2^10) chars as input seems more than enough
3980 test $ac_count -gt 10 && break
3982 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3985 $ac_path_SED_found && break 3
3990 if test -z "$ac_cv_path_SED"; then
3991 as_fn_error
"no acceptable sed could be found in \$PATH" "$LINENO" 5
3998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
3999 $as_echo "$ac_cv_path_SED" >&6; }
4000 SED
="$ac_cv_path_SED"
4003 test -z "$SED" && SED
=sed
4004 Xsed
="$SED -e 1s/^X//"
4016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4017 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4018 if test "${ac_cv_path_GREP+set}" = set; then :
4019 $as_echo_n "(cached) " >&6
4021 if test -z "$GREP"; then
4022 ac_path_GREP_found
=false
4023 # Loop through the user's path and test for each of PROGNAME-LIST
4024 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4025 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4028 test -z "$as_dir" && as_dir
=.
4029 for ac_prog
in grep ggrep
; do
4030 for ac_exec_ext
in '' $ac_executable_extensions; do
4031 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4032 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4033 # Check for GNU ac_path_GREP and select it if it is found.
4034 # Check for GNU $ac_path_GREP
4035 case `"$ac_path_GREP" --version 2>&1` in
4037 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4040 $as_echo_n 0123456789 >"conftest.in"
4043 cat "conftest.in" "conftest.in" >"conftest.tmp"
4044 mv "conftest.tmp" "conftest.in"
4045 cp "conftest.in" "conftest.nl"
4046 $as_echo 'GREP' >> "conftest.nl"
4047 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4048 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4049 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4050 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4051 # Best one so far, save it but keep looking for a better one
4052 ac_cv_path_GREP
="$ac_path_GREP"
4053 ac_path_GREP_max
=$ac_count
4055 # 10*(2^10) chars as input seems more than enough
4056 test $ac_count -gt 10 && break
4058 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4061 $ac_path_GREP_found && break 3
4066 if test -z "$ac_cv_path_GREP"; then
4067 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4070 ac_cv_path_GREP
=$GREP
4074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4075 $as_echo "$ac_cv_path_GREP" >&6; }
4076 GREP
="$ac_cv_path_GREP"
4079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4080 $as_echo_n "checking for egrep... " >&6; }
4081 if test "${ac_cv_path_EGREP+set}" = set; then :
4082 $as_echo_n "(cached) " >&6
4084 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4085 then ac_cv_path_EGREP
="$GREP -E"
4087 if test -z "$EGREP"; then
4088 ac_path_EGREP_found
=false
4089 # Loop through the user's path and test for each of PROGNAME-LIST
4090 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4091 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4094 test -z "$as_dir" && as_dir
=.
4095 for ac_prog
in egrep; do
4096 for ac_exec_ext
in '' $ac_executable_extensions; do
4097 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4098 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4099 # Check for GNU ac_path_EGREP and select it if it is found.
4100 # Check for GNU $ac_path_EGREP
4101 case `"$ac_path_EGREP" --version 2>&1` in
4103 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4106 $as_echo_n 0123456789 >"conftest.in"
4109 cat "conftest.in" "conftest.in" >"conftest.tmp"
4110 mv "conftest.tmp" "conftest.in"
4111 cp "conftest.in" "conftest.nl"
4112 $as_echo 'EGREP' >> "conftest.nl"
4113 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4114 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4115 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4116 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4117 # Best one so far, save it but keep looking for a better one
4118 ac_cv_path_EGREP
="$ac_path_EGREP"
4119 ac_path_EGREP_max
=$ac_count
4121 # 10*(2^10) chars as input seems more than enough
4122 test $ac_count -gt 10 && break
4124 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4127 $ac_path_EGREP_found && break 3
4132 if test -z "$ac_cv_path_EGREP"; then
4133 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4136 ac_cv_path_EGREP
=$EGREP
4141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4142 $as_echo "$ac_cv_path_EGREP" >&6; }
4143 EGREP
="$ac_cv_path_EGREP"
4146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4147 $as_echo_n "checking for fgrep... " >&6; }
4148 if test "${ac_cv_path_FGREP+set}" = set; then :
4149 $as_echo_n "(cached) " >&6
4151 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
4152 then ac_cv_path_FGREP
="$GREP -F"
4154 if test -z "$FGREP"; then
4155 ac_path_FGREP_found
=false
4156 # Loop through the user's path and test for each of PROGNAME-LIST
4157 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4158 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4161 test -z "$as_dir" && as_dir
=.
4162 for ac_prog
in fgrep
; do
4163 for ac_exec_ext
in '' $ac_executable_extensions; do
4164 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
4165 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } ||
continue
4166 # Check for GNU ac_path_FGREP and select it if it is found.
4167 # Check for GNU $ac_path_FGREP
4168 case `"$ac_path_FGREP" --version 2>&1` in
4170 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
4173 $as_echo_n 0123456789 >"conftest.in"
4176 cat "conftest.in" "conftest.in" >"conftest.tmp"
4177 mv "conftest.tmp" "conftest.in"
4178 cp "conftest.in" "conftest.nl"
4179 $as_echo 'FGREP' >> "conftest.nl"
4180 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4181 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4182 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4183 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4184 # Best one so far, save it but keep looking for a better one
4185 ac_cv_path_FGREP
="$ac_path_FGREP"
4186 ac_path_FGREP_max
=$ac_count
4188 # 10*(2^10) chars as input seems more than enough
4189 test $ac_count -gt 10 && break
4191 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4194 $ac_path_FGREP_found && break 3
4199 if test -z "$ac_cv_path_FGREP"; then
4200 as_fn_error
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4203 ac_cv_path_FGREP
=$FGREP
4208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4209 $as_echo "$ac_cv_path_FGREP" >&6; }
4210 FGREP
="$ac_cv_path_FGREP"
4213 test -z "$GREP" && GREP
=grep
4233 # Check whether --with-gnu-ld was given.
4234 if test "${with_gnu_ld+set}" = set; then :
4235 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
4241 if test "$GCC" = yes; then
4242 # Check if gcc -print-prog-name=ld gives a path.
4243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4244 $as_echo_n "checking for ld used by $CC... " >&6; }
4247 # gcc leaves a trailing carriage return which upsets mingw
4248 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4250 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4253 # Accept absolute paths.
4255 re_direlt
='/[^/][^/]*/\.\./'
4256 # Canonicalize the pathname of ld
4257 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4258 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
4259 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4261 test -z "$LD" && LD
="$ac_prog"
4264 # If it fails, then pretend we aren't using GCC.
4268 # If it is relative, then search for the first ld in PATH.
4272 elif test "$with_gnu_ld" = yes; then
4273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4274 $as_echo_n "checking for GNU ld... " >&6; }
4276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4277 $as_echo_n "checking for non-GNU ld... " >&6; }
4279 if test "${lt_cv_path_LD+set}" = set; then :
4280 $as_echo_n "(cached) " >&6
4282 if test -z "$LD"; then
4283 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4284 for ac_dir
in $PATH; do
4286 test -z "$ac_dir" && ac_dir
=.
4287 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4288 lt_cv_path_LD
="$ac_dir/$ac_prog"
4289 # Check to see if the program is GNU ld. I'd rather use --version,
4290 # but apparently some variants of GNU ld only accept -v.
4291 # Break only if it was the GNU/non-GNU ld that we prefer.
4292 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4293 *GNU
* |
*'with BFD'*)
4294 test "$with_gnu_ld" != no
&& break
4297 test "$with_gnu_ld" != yes && break
4304 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4309 if test -n "$LD"; then
4310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4311 $as_echo "$LD" >&6; }
4313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4314 $as_echo "no" >&6; }
4316 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
4317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4318 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4319 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4320 $as_echo_n "(cached) " >&6
4322 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4323 case `$LD -v 2>&1 </dev/null` in
4324 *GNU
* |
*'with BFD'*)
4325 lt_cv_prog_gnu_ld
=yes
4328 lt_cv_prog_gnu_ld
=no
4332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4333 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4334 with_gnu_ld
=$lt_cv_prog_gnu_ld
4344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4345 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4346 if test "${lt_cv_path_NM+set}" = set; then :
4347 $as_echo_n "(cached) " >&6
4349 if test -n "$NM"; then
4350 # Let the user override the test.
4353 lt_nm_to_check
="${ac_tool_prefix}nm"
4354 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4355 lt_nm_to_check
="$lt_nm_to_check nm"
4357 for lt_tmp_nm
in $lt_nm_to_check; do
4358 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4359 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
4361 test -z "$ac_dir" && ac_dir
=.
4362 tmp_nm
="$ac_dir/$lt_tmp_nm"
4363 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
4364 # Check to see if the nm accepts a BSD-compat flag.
4365 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4366 # nm: unknown option "B" ignored
4367 # Tru64's nm complains that /dev/null is an invalid object file
4368 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4369 */dev
/null
* |
*'Invalid file or object type'*)
4370 lt_cv_path_NM
="$tmp_nm -B"
4374 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4376 lt_cv_path_NM
="$tmp_nm -p"
4380 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4381 continue # so that we can try to find one that supports BSD flags
4390 : ${lt_cv_path_NM=no}
4393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4394 $as_echo "$lt_cv_path_NM" >&6; }
4395 if test "$lt_cv_path_NM" != "no"; then
4398 # Didn't find any BSD compatible name lister, look for dumpbin.
4399 if test -n "$DUMPBIN"; then :
4400 # Let the user override the test.
4402 if test -n "$ac_tool_prefix"; then
4403 for ac_prog
in dumpbin
"link -dump"
4405 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4406 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4408 $as_echo_n "checking for $ac_word... " >&6; }
4409 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
4410 $as_echo_n "(cached) " >&6
4412 if test -n "$DUMPBIN"; then
4413 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
4415 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4419 test -z "$as_dir" && as_dir
=.
4420 for ac_exec_ext
in '' $ac_executable_extensions; do
4421 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4422 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
4423 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4432 DUMPBIN
=$ac_cv_prog_DUMPBIN
4433 if test -n "$DUMPBIN"; then
4434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4435 $as_echo "$DUMPBIN" >&6; }
4437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4438 $as_echo "no" >&6; }
4442 test -n "$DUMPBIN" && break
4445 if test -z "$DUMPBIN"; then
4446 ac_ct_DUMPBIN
=$DUMPBIN
4447 for ac_prog
in dumpbin
"link -dump"
4449 # Extract the first word of "$ac_prog", so it can be a program name with args.
4450 set dummy
$ac_prog; ac_word
=$2
4451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4452 $as_echo_n "checking for $ac_word... " >&6; }
4453 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
4454 $as_echo_n "(cached) " >&6
4456 if test -n "$ac_ct_DUMPBIN"; then
4457 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
4459 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4463 test -z "$as_dir" && as_dir
=.
4464 for ac_exec_ext
in '' $ac_executable_extensions; do
4465 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4466 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
4467 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4476 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
4477 if test -n "$ac_ct_DUMPBIN"; then
4478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4479 $as_echo "$ac_ct_DUMPBIN" >&6; }
4481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4482 $as_echo "no" >&6; }
4486 test -n "$ac_ct_DUMPBIN" && break
4489 if test "x$ac_ct_DUMPBIN" = x
; then
4492 case $cross_compiling:$ac_tool_warned in
4494 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4495 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4496 ac_tool_warned
=yes ;;
4498 DUMPBIN
=$ac_ct_DUMPBIN
4502 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4504 DUMPBIN
="$DUMPBIN -symbols"
4512 if test "$DUMPBIN" != ":"; then
4516 test -z "$NM" && NM
=nm
4523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4524 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4525 if test "${lt_cv_nm_interface+set}" = set; then :
4526 $as_echo_n "(cached) " >&6
4528 lt_cv_nm_interface
="BSD nm"
4529 echo "int some_variable = 0;" > conftest.
$ac_ext
4530 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4531 (eval "$ac_compile" 2>conftest.err
)
4532 cat conftest.err
>&5
4533 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4534 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
4535 cat conftest.err
>&5
4536 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4537 cat conftest.out
>&5
4538 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
4539 lt_cv_nm_interface
="MS dumpbin"
4543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4544 $as_echo "$lt_cv_nm_interface" >&6; }
4546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4547 $as_echo_n "checking whether ln -s works... " >&6; }
4549 if test "$LN_S" = "ln -s"; then
4550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4551 $as_echo "yes" >&6; }
4553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4554 $as_echo "no, using $LN_S" >&6; }
4557 # find the maximum length of command line arguments
4558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4559 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4560 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
4561 $as_echo_n "(cached) " >&6
4568 # On DJGPP, this test can blow up pretty badly due to problems in libc
4569 # (any single argument exceeding 2000 bytes causes a buffer overrun
4570 # during glob expansion). Even if it were fixed, the result of this
4571 # check would be larger than it should be.
4572 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
4576 # Under GNU Hurd, this test is not required because there is
4577 # no limit to the length of command line arguments.
4578 # Libtool will interpret -1 as no limit whatsoever
4579 lt_cv_sys_max_cmd_len
=-1;
4582 cygwin
* | mingw
* | cegcc
*)
4583 # On Win9x/ME, this test blows up -- it succeeds, but takes
4584 # about 5 minutes as the teststring grows exponentially.
4585 # Worse, since 9x/ME are not pre-emptively multitasking,
4586 # you end up with a "frozen" computer, even though with patience
4587 # the test eventually succeeds (with a max line length of 256k).
4588 # Instead, let's just punt: use the minimum linelength reported by
4589 # all of the supported platforms: 8192 (on NT/2K/XP).
4590 lt_cv_sys_max_cmd_len
=8192;
4594 # On MiNT this can take a long time and run out of memory.
4595 lt_cv_sys_max_cmd_len
=8192;
4599 # On AmigaOS with pdksh, this test takes hours, literally.
4600 # So we just punt and use a minimum line length of 8192.
4601 lt_cv_sys_max_cmd_len
=8192;
4604 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
4605 # This has been around since 386BSD, at least. Likely further.
4606 if test -x /sbin
/sysctl
; then
4607 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
4608 elif test -x /usr
/sbin
/sysctl
; then
4609 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
4611 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
4613 # And add a safety zone
4614 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4615 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4619 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4620 lt_cv_sys_max_cmd_len
=196608
4624 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4625 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4626 # nice to cause kernel panics so lets avoid the loop below.
4627 # First set a reasonable default.
4628 lt_cv_sys_max_cmd_len
=16384
4630 if test -x /sbin
/sysconfig
; then
4631 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4632 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
4637 lt_cv_sys_max_cmd_len
=102400
4639 sysv5
* | sco5v6
* | sysv4.2uw2
*)
4640 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4641 if test -n "$kargmax"; then
4642 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
4644 lt_cv_sys_max_cmd_len
=32768
4648 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
4649 if test -n "$lt_cv_sys_max_cmd_len"; then
4650 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4651 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4653 # Make teststring a little bigger before we do anything with it.
4654 # a 1K string should be a reasonable start.
4655 for i
in 1 2 3 4 5 6 7 8 ; do
4656 teststring
=$teststring$teststring
4658 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
4659 # If test is not a shell built-in, we'll probably end up computing a
4660 # maximum length that is only half of the actual maximum length, but
4662 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
4663 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
4664 test $i != 17 # 1/2 MB should be enough
4667 teststring
=$teststring$teststring
4669 # Only check the string length outside the loop.
4670 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
4672 # Add a significant safety factor because C++ compilers can tack on
4673 # massive amounts of additional arguments before passing them to the
4674 # linker. It appears as though 1/2 is a usable value.
4675 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
4682 if test -n $lt_cv_sys_max_cmd_len ; then
4683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4684 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4687 $as_echo "none" >&6; }
4689 max_cmd_len
=$lt_cv_sys_max_cmd_len
4700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4701 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4702 # Try some XSI features
4705 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4707 && eval 'test $(( 1 + 1 )) -eq 2 \
4708 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4710 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
4711 $as_echo "$xsi_shell" >&6; }
4714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
4715 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
4717 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
4719 && lt_shell_append=yes
4720 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
4721 $as_echo "$lt_shell_append" >&6; }
4724 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4734 # test EBCDIC or ASCII
4735 case `echo X|tr X '\101'` in
4736 A) # ASCII based system
4737 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4738 lt_SP2NL='tr \040 \012'
4739 lt_NL2SP='tr \015\012 \040\040'
4741 *) # EBCDIC based system
4742 lt_SP2NL='tr \100 \n'
4743 lt_NL2SP='tr \r\n \100\100'
4755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
4756 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
4757 if test "${lt_cv_ld_reload_flag+set}" = set; then :
4758 $as_echo_n "(cached
) " >&6
4760 lt_cv_ld_reload_flag='-r'
4762 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
4763 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4764 reload_flag=$lt_cv_ld_reload_flag
4765 case $reload_flag in
4767 *) reload_flag=" $reload_flag" ;;
4769 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4772 if test "$GCC" = yes; then
4773 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4775 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4788 if test -n "$ac_tool_prefix"; then
4789 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
4790 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4792 $as_echo_n "checking
for $ac_word...
" >&6; }
4793 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
4794 $as_echo_n "(cached
) " >&6
4796 if test -n "$OBJDUMP"; then
4797 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4803 test -z "$as_dir" && as_dir=.
4804 for ac_exec_ext in '' $ac_executable_extensions; do
4805 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4806 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
4807 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4816 OBJDUMP=$ac_cv_prog_OBJDUMP
4817 if test -n "$OBJDUMP"; then
4818 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
4819 $as_echo "$OBJDUMP" >&6; }
4821 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4822 $as_echo "no
" >&6; }
4827 if test -z "$ac_cv_prog_OBJDUMP"; then
4828 ac_ct_OBJDUMP=$OBJDUMP
4829 # Extract the first word of "objdump
", so it can be a program name with args.
4830 set dummy objdump; ac_word=$2
4831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4832 $as_echo_n "checking
for $ac_word...
" >&6; }
4833 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
4834 $as_echo_n "(cached
) " >&6
4836 if test -n "$ac_ct_OBJDUMP"; then
4837 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4843 test -z "$as_dir" && as_dir=.
4844 for ac_exec_ext in '' $ac_executable_extensions; do
4845 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4846 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
4847 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4856 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4857 if test -n "$ac_ct_OBJDUMP"; then
4858 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
4859 $as_echo "$ac_ct_OBJDUMP" >&6; }
4861 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4862 $as_echo "no
" >&6; }
4865 if test "x
$ac_ct_OBJDUMP" = x; then
4868 case $cross_compiling:$ac_tool_warned in
4870 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
4871 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
4872 ac_tool_warned=yes ;;
4874 OBJDUMP=$ac_ct_OBJDUMP
4877 OBJDUMP="$ac_cv_prog_OBJDUMP"
4880 test -z "$OBJDUMP" && OBJDUMP=objdump
4890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
4891 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
4892 if test "${lt_cv_deplibs_check_method+set}" = set; then :
4893 $as_echo_n "(cached
) " >&6
4895 lt_cv_file_magic_cmd='$MAGIC_CMD'
4896 lt_cv_file_magic_test_file=
4897 lt_cv_deplibs_check_method='unknown'
4898 # Need to set the preceding variable on all platforms that support
4899 # interlibrary dependencies.
4900 # 'none' -- dependencies not supported.
4901 # `unknown' -- same as none, but documents that we really don't know.
4902 # 'pass_all' -- all dependencies passed with no checks.
4903 # 'test_compile' -- check by making test program.
4904 # 'file_magic [[regex]]' -- check by looking for files in library path
4905 # which responds to the $file_magic_cmd with a given extended regex.
4906 # If you have `file' or equivalent on your system and you're not sure
4907 # whether `pass_all' will *always* work, you probably want this one.
4911 lt_cv_deplibs_check_method=pass_all
4915 lt_cv_deplibs_check_method=pass_all
4919 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4920 lt_cv_file_magic_cmd='/usr/bin/file -L'
4921 lt_cv_file_magic_test_file=/shlib/libc.so
4925 # func_win32_libid is a shell function defined in ltmain.sh
4926 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4927 lt_cv_file_magic_cmd='func_win32_libid'
4931 # Base MSYS/MinGW do not provide the 'file' command needed by
4932 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4933 # unless we find 'file', for example because we are cross-compiling.
4934 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
4935 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
4936 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4937 lt_cv_file_magic_cmd='func_win32_libid'
4939 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4940 lt_cv_file_magic_cmd='$OBJDUMP -f'
4945 # use the weaker test based on 'objdump'. See mingw*.
4946 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
4947 lt_cv_file_magic_cmd='$OBJDUMP -f'
4950 darwin* | rhapsody*)
4951 lt_cv_deplibs_check_method=pass_all
4954 freebsd* | dragonfly*)
4955 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4958 # Not sure whether the presence of OpenBSD here was a mistake.
4959 # Let's accept both of them until this is cleared up.
4960 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4961 lt_cv_file_magic_cmd=/usr/bin/file
4962 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4966 lt_cv_deplibs_check_method=pass_all
4971 lt_cv_deplibs_check_method=pass_all
4975 lt_cv_deplibs_check_method=pass_all
4978 hpux10.20* | hpux11*)
4979 lt_cv_file_magic_cmd=/usr/bin/file
4982 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4983 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4986 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]'
4987 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4990 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
4991 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4997 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4998 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5001 irix5* | irix6* | nonstopux*)
5003 *-32|*"-32 ") libmagic=32-bit;;
5004 *-n32|*"-n32 ") libmagic=N32;;
5005 *-64|*"-64 ") libmagic=64-bit;;
5006 *) libmagic=never-match;;
5008 lt_cv_deplibs_check_method=pass_all
5011 # This must be Linux ELF.
5012 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5013 lt_cv_deplibs_check_method=pass_all
5017 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5018 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5020 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5025 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5026 lt_cv_file_magic_cmd=/usr/bin/file
5027 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5031 lt_cv_deplibs_check_method=pass_all
5035 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
5036 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5038 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5042 osf3* | osf4* | osf5*)
5043 lt_cv_deplibs_check_method=pass_all
5047 lt_cv_deplibs_check_method=pass_all
5051 lt_cv_deplibs_check_method=pass_all
5054 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5055 lt_cv_deplibs_check_method=pass_all
5059 case $host_vendor in
5061 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]'
5062 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5065 lt_cv_deplibs_check_method=pass_all
5068 lt_cv_file_magic_cmd='/bin/file'
5069 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5072 lt_cv_file_magic_cmd='/bin/file'
5073 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
5074 lt_cv_file_magic_test_file=/lib/libc.so
5077 lt_cv_deplibs_check_method=pass_all
5080 lt_cv_deplibs_check_method=pass_all
5086 lt_cv_deplibs_check_method=pass_all
5091 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
5092 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5093 file_magic_cmd=$lt_cv_file_magic_cmd
5094 deplibs_check_method=$lt_cv_deplibs_check_method
5095 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5108 if test -n "$ac_tool_prefix"; then
5109 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5110 set dummy ${ac_tool_prefix}ar; ac_word=$2
5111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5112 $as_echo_n "checking
for $ac_word...
" >&6; }
5113 if test "${ac_cv_prog_AR+set}" = set; then :
5114 $as_echo_n "(cached
) " >&6
5116 if test -n "$AR"; then
5117 ac_cv_prog_AR="$AR" # Let the user override the test.
5119 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5123 test -z "$as_dir" && as_dir=.
5124 for ac_exec_ext in '' $ac_executable_extensions; do
5125 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5126 ac_cv_prog_AR="${ac_tool_prefix}ar"
5127 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5137 if test -n "$AR"; then
5138 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
5139 $as_echo "$AR" >&6; }
5141 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5142 $as_echo "no
" >&6; }
5147 if test -z "$ac_cv_prog_AR"; then
5149 # Extract the first word of "ar", so it can be a program name with args.
5150 set dummy ar; ac_word=$2
5151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5152 $as_echo_n "checking
for $ac_word...
" >&6; }
5153 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5154 $as_echo_n "(cached
) " >&6
5156 if test -n "$ac_ct_AR"; then
5157 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5159 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5163 test -z "$as_dir" && as_dir=.
5164 for ac_exec_ext in '' $ac_executable_extensions; do
5165 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5166 ac_cv_prog_ac_ct_AR="ar"
5167 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5176 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5177 if test -n "$ac_ct_AR"; then
5178 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
5179 $as_echo "$ac_ct_AR" >&6; }
5181 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5182 $as_echo "no
" >&6; }
5185 if test "x
$ac_ct_AR" = x; then
5188 case $cross_compiling:$ac_tool_warned in
5190 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5191 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5192 ac_tool_warned=yes ;;
5200 test -z "$AR" && AR=ar
5201 test -z "$AR_FLAGS" && AR_FLAGS=cru
5213 if test -n "$ac_tool_prefix"; then
5214 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
5215 set dummy ${ac_tool_prefix}strip; ac_word=$2
5216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5217 $as_echo_n "checking
for $ac_word...
" >&6; }
5218 if test "${ac_cv_prog_STRIP+set}" = set; then :
5219 $as_echo_n "(cached
) " >&6
5221 if test -n "$STRIP"; then
5222 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5228 test -z "$as_dir" && as_dir=.
5229 for ac_exec_ext in '' $ac_executable_extensions; do
5230 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5231 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
5232 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5241 STRIP=$ac_cv_prog_STRIP
5242 if test -n "$STRIP"; then
5243 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
5244 $as_echo "$STRIP" >&6; }
5246 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5247 $as_echo "no
" >&6; }
5252 if test -z "$ac_cv_prog_STRIP"; then
5254 # Extract the first word of "strip
", so it can be a program name with args.
5255 set dummy strip; ac_word=$2
5256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5257 $as_echo_n "checking
for $ac_word...
" >&6; }
5258 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
5259 $as_echo_n "(cached
) " >&6
5261 if test -n "$ac_ct_STRIP"; then
5262 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5268 test -z "$as_dir" && as_dir=.
5269 for ac_exec_ext in '' $ac_executable_extensions; do
5270 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5271 ac_cv_prog_ac_ct_STRIP="strip
"
5272 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5281 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5282 if test -n "$ac_ct_STRIP"; then
5283 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
5284 $as_echo "$ac_ct_STRIP" >&6; }
5286 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5287 $as_echo "no
" >&6; }
5290 if test "x
$ac_ct_STRIP" = x; then
5293 case $cross_compiling:$ac_tool_warned in
5295 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5296 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5297 ac_tool_warned=yes ;;
5302 STRIP="$ac_cv_prog_STRIP"
5305 test -z "$STRIP" && STRIP=:
5312 if test -n "$ac_tool_prefix"; then
5313 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
5314 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5316 $as_echo_n "checking
for $ac_word...
" >&6; }
5317 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5318 $as_echo_n "(cached
) " >&6
5320 if test -n "$RANLIB"; then
5321 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5327 test -z "$as_dir" && as_dir=.
5328 for ac_exec_ext in '' $ac_executable_extensions; do
5329 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5330 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
5331 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5340 RANLIB=$ac_cv_prog_RANLIB
5341 if test -n "$RANLIB"; then
5342 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
5343 $as_echo "$RANLIB" >&6; }
5345 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5346 $as_echo "no
" >&6; }
5351 if test -z "$ac_cv_prog_RANLIB"; then
5352 ac_ct_RANLIB=$RANLIB
5353 # Extract the first word of "ranlib
", so it can be a program name with args.
5354 set dummy ranlib; ac_word=$2
5355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5356 $as_echo_n "checking
for $ac_word...
" >&6; }
5357 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5358 $as_echo_n "(cached
) " >&6
5360 if test -n "$ac_ct_RANLIB"; then
5361 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5367 test -z "$as_dir" && as_dir=.
5368 for ac_exec_ext in '' $ac_executable_extensions; do
5369 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5370 ac_cv_prog_ac_ct_RANLIB="ranlib
"
5371 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5380 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5381 if test -n "$ac_ct_RANLIB"; then
5382 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
5383 $as_echo "$ac_ct_RANLIB" >&6; }
5385 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5386 $as_echo "no
" >&6; }
5389 if test "x
$ac_ct_RANLIB" = x; then
5392 case $cross_compiling:$ac_tool_warned in
5394 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5395 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5396 ac_tool_warned=yes ;;
5398 RANLIB=$ac_ct_RANLIB
5401 RANLIB="$ac_cv_prog_RANLIB"
5404 test -z "$RANLIB" && RANLIB=:
5411 # Determine commands to create old-style static archives.
5412 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5413 old_postinstall_cmds='chmod 644 $oldlib'
5414 old_postuninstall_cmds=
5416 if test -n "$RANLIB"; then
5419 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
5422 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
5425 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
5430 lock_old_archive_extraction=yes ;;
5432 lock_old_archive_extraction=no ;;
5473 # If no C compiler was specified, use CC.
5476 # If no C compiler flags were specified, use CFLAGS.
5477 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5479 # Allow CC to be a program name with arguments.
5483 # Check for command to grab the raw symbol name followed by C symbol from nm.
5484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
5485 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
5486 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
5487 $as_echo_n "(cached
) " >&6
5490 # These are sane defaults that work on at least a few old systems.
5491 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5493 # Character class describing NM global symbol codes.
5494 symcode='[BCDEGRST]'
5496 # Regexp to match symbols that can be accessed directly from C.
5497 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5499 # Define system-specific variables.
5504 cygwin* | mingw* | pw32* | cegcc*)
5505 symcode='[ABCDGISTW]'
5508 if test "$host_cpu" = ia64; then
5509 symcode='[ABCDEGRST]'
5513 symcode='[BCDEGRST]'
5516 symcode='[BCDEGQRST]'
5527 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5535 # If we're using GNU nm, then use its standard symbol codes.
5536 case `$NM -V 2>&1` in
5537 *GNU* | *'with BFD'*)
5538 symcode='[ABCDGIRSTW]' ;;
5541 # Transform an extracted symbol line into a proper C declaration.
5542 # Some systems (esp. on ia64) link data and code symbols differently,
5543 # so use this general approach.
5544 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5546 # Transform an extracted symbol line into symbol name and symbol address
5547 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5548 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'"
5550 # Handle CRLF in mingw tool chain
5554 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5558 # Try without a prefix underscore, then with it.
5559 for ac_symprfx in "" "_
"; do
5561 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5562 symxfrm="\\1 $ac_symprfx\\2 \\2"
5564 # Write the raw and C identifiers.
5565 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
5566 # Fake it for dumpbin and say T for any non-static function
5567 # and D for any global variable.
5568 # Also find C++ and __fastcall symbols from MSVC++,
5569 # which start with @ or ?.
5570 lt_cv_sys_global_symbol_pipe="$AWK '"\
5571 " {last_section=section; section=\$ 3};"\
5572 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5573 " \$ 0!~/External *\|/{next};"\
5574 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5575 " {if(hide[section]) next};"\
5576 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5577 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5578 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5579 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5580 " ' prfx
=^
$ac_symprfx"
5582 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5585 # Check to see that the pipe works correctly.
5589 cat > conftest.$ac_ext <<_LT_EOF
5594 void nm_test_func(void);
5595 void nm_test_func(void){}
5599 int main(){nm_test_var='a';nm_test_func();return(0);}
5602 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5603 (eval $ac_compile) 2>&5
5605 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5606 test $ac_status = 0; }; then
5607 # Now try to grab the symbols.
5609 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
5610 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
5612 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5613 test $ac_status = 0; } && test -s "$nlist"; then
5614 # Try sorting and uniquifying the output.
5615 if sort "$nlist" | uniq > "$nlist"T; then
5616 mv -f "$nlist"T "$nlist"
5621 # Make sure that we snagged all the symbols we need.
5622 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5623 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5624 cat <<_LT_EOF > conftest.$ac_ext
5630 # Now generate the symbol file.
5631 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5633 cat <<_LT_EOF >> conftest.$ac_ext
5635 /* The mapping between symbol names and symbols. */
5640 lt__PROGRAM__LTX_preloaded_symbols[] =
5642 { "@PROGRAM@
", (void *) 0 },
5644 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5645 cat <<\_LT_EOF >> conftest.$ac_ext
5649 /* This works around a problem in FreeBSD linker */
5650 #ifdef FREEBSD_WORKAROUND
5651 static const void *lt_preloaded_setup() {
5652 return lt__PROGRAM__LTX_preloaded_symbols;
5660 # Now try linking the two files.
5661 mv conftest.$ac_objext conftstm.$ac_objext
5662 lt_save_LIBS="$LIBS"
5663 lt_save_CFLAGS="$CFLAGS"
5664 LIBS="conftstm.
$ac_objext"
5665 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5666 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
5667 (eval $ac_link) 2>&5
5669 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5670 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
5673 LIBS="$lt_save_LIBS"
5674 CFLAGS="$lt_save_CFLAGS"
5676 echo "cannot
find nm_test_func
in $nlist" >&5
5679 echo "cannot
find nm_test_var
in $nlist" >&5
5682 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
5685 echo "$progname: failed program was
:" >&5
5686 cat conftest.$ac_ext >&5
5688 rm -rf conftest* conftst*
5690 # Do not use the global_symbol_pipe unless it works.
5691 if test "$pipe_works" = yes; then
5694 lt_cv_sys_global_symbol_pipe=
5700 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5701 lt_cv_sys_global_symbol_to_cdecl=
5703 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5704 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
5705 $as_echo "failed
" >&6; }
5707 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
5708 $as_echo "ok
" >&6; }
5733 # Check whether --enable-libtool-lock was given.
5734 if test "${enable_libtool_lock+set}" = set; then :
5735 enableval=$enable_libtool_lock;
5738 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
5740 # Some flags need to be propagated to the compiler or linker for good
5744 # Find out which ABI we are using.
5745 echo 'int i;' > conftest.$ac_ext
5746 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5747 (eval $ac_compile) 2>&5
5749 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5750 test $ac_status = 0; }; then
5751 case `/usr/bin/file conftest.$ac_objext` in
5763 # Find out which ABI we are using.
5764 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
5765 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5766 (eval $ac_compile) 2>&5
5768 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5769 test $ac_status = 0; }; then
5770 if test "$lt_cv_prog_gnu_ld" = yes; then
5771 case `/usr/bin/file conftest.$ac_objext` in
5773 LD="${LD-ld} -melf32bsmip"
5776 LD="${LD-ld} -melf32bmipn32"
5779 LD="${LD-ld} -melf64bmip"
5783 case `/usr/bin/file conftest.$ac_objext` in
5799 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5800 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5801 # Find out which ABI we are using.
5802 echo 'int i;' > conftest.$ac_ext
5803 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5804 (eval $ac_compile) 2>&5
5806 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5807 test $ac_status = 0; }; then
5808 case `/usr/bin/file conftest.o` in
5811 x86_64-*kfreebsd*-gnu)
5812 LD="${LD-ld} -m elf_i386_fbsd
"
5815 LD="${LD-ld} -m elf_i386
"
5817 ppc64-*linux*|powerpc64-*linux*)
5818 LD="${LD-ld} -m elf32ppclinux
"
5821 LD="${LD-ld} -m elf_s390
"
5824 LD="${LD-ld} -m elf32_sparc
"
5830 x86_64-*kfreebsd*-gnu)
5831 LD="${LD-ld} -m elf_x86_64_fbsd
"
5834 LD="${LD-ld} -m elf_x86_64
"
5836 ppc*-*linux*|powerpc*-*linux*)
5837 LD="${LD-ld} -m elf64ppc
"
5839 s390*-*linux*|s390*-*tpf*)
5840 LD="${LD-ld} -m elf64_s390
"
5843 LD="${LD-ld} -m elf64_sparc
"
5853 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5854 SAVE_CFLAGS="$CFLAGS"
5855 CFLAGS="$CFLAGS -belf"
5856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
5857 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
5858 if test "${lt_cv_cc_needs_belf+set}" = set; then :
5859 $as_echo_n "(cached
) " >&6
5862 ac_cpp='$CPP $CPPFLAGS'
5863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5867 if test x$gcc_no_link = xyes; then
5868 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES.
" "$LINENO" 5
5870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5871 /* end confdefs.h. */
5881 if ac_fn_c_try_link "$LINENO"; then :
5882 lt_cv_cc_needs_belf=yes
5884 lt_cv_cc_needs_belf=no
5886 rm -f core conftest.err conftest.$ac_objext \
5887 conftest$ac_exeext conftest.$ac_ext
5889 ac_cpp='$CPP $CPPFLAGS'
5890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5895 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
5896 $as_echo "$lt_cv_cc_needs_belf" >&6; }
5897 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5898 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5899 CFLAGS="$SAVE_CFLAGS"
5903 # Find out which ABI we are using.
5904 echo 'int i;' > conftest.$ac_ext
5905 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5906 (eval $ac_compile) 2>&5
5908 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5909 test $ac_status = 0; }; then
5910 case `/usr/bin/file conftest.o` in
5912 case $lt_cv_prog_gnu_ld in
5913 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
5915 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
5927 need_locks="$enable_libtool_lock"
5931 rhapsody* | darwin*)
5932 if test -n "$ac_tool_prefix"; then
5933 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
5934 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
5935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5936 $as_echo_n "checking
for $ac_word...
" >&6; }
5937 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
5938 $as_echo_n "(cached
) " >&6
5940 if test -n "$DSYMUTIL"; then
5941 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
5943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5947 test -z "$as_dir" && as_dir=.
5948 for ac_exec_ext in '' $ac_executable_extensions; do
5949 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5950 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
5951 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5960 DSYMUTIL=$ac_cv_prog_DSYMUTIL
5961 if test -n "$DSYMUTIL"; then
5962 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
5963 $as_echo "$DSYMUTIL" >&6; }
5965 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5966 $as_echo "no
" >&6; }
5971 if test -z "$ac_cv_prog_DSYMUTIL"; then
5972 ac_ct_DSYMUTIL=$DSYMUTIL
5973 # Extract the first word of "dsymutil
", so it can be a program name with args.
5974 set dummy dsymutil; ac_word=$2
5975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5976 $as_echo_n "checking
for $ac_word...
" >&6; }
5977 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
5978 $as_echo_n "(cached
) " >&6
5980 if test -n "$ac_ct_DSYMUTIL"; then
5981 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
5983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5987 test -z "$as_dir" && as_dir=.
5988 for ac_exec_ext in '' $ac_executable_extensions; do
5989 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5990 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
5991 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6000 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6001 if test -n "$ac_ct_DSYMUTIL"; then
6002 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
6003 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6005 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6006 $as_echo "no
" >&6; }
6009 if test "x
$ac_ct_DSYMUTIL" = x; then
6012 case $cross_compiling:$ac_tool_warned in
6014 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6015 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6016 ac_tool_warned=yes ;;
6018 DSYMUTIL=$ac_ct_DSYMUTIL
6021 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6024 if test -n "$ac_tool_prefix"; then
6025 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
6026 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6028 $as_echo_n "checking
for $ac_word...
" >&6; }
6029 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6030 $as_echo_n "(cached
) " >&6
6032 if test -n "$NMEDIT"; then
6033 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6039 test -z "$as_dir" && as_dir=.
6040 for ac_exec_ext in '' $ac_executable_extensions; do
6041 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6042 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
6043 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6052 NMEDIT=$ac_cv_prog_NMEDIT
6053 if test -n "$NMEDIT"; then
6054 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
6055 $as_echo "$NMEDIT" >&6; }
6057 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6058 $as_echo "no
" >&6; }
6063 if test -z "$ac_cv_prog_NMEDIT"; then
6064 ac_ct_NMEDIT=$NMEDIT
6065 # Extract the first word of "nmedit
", so it can be a program name with args.
6066 set dummy nmedit; ac_word=$2
6067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6068 $as_echo_n "checking
for $ac_word...
" >&6; }
6069 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6070 $as_echo_n "(cached
) " >&6
6072 if test -n "$ac_ct_NMEDIT"; then
6073 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6075 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6079 test -z "$as_dir" && as_dir=.
6080 for ac_exec_ext in '' $ac_executable_extensions; do
6081 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6082 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
6083 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6092 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6093 if test -n "$ac_ct_NMEDIT"; then
6094 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
6095 $as_echo "$ac_ct_NMEDIT" >&6; }
6097 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6098 $as_echo "no
" >&6; }
6101 if test "x
$ac_ct_NMEDIT" = x; then
6104 case $cross_compiling:$ac_tool_warned in
6106 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6107 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6108 ac_tool_warned=yes ;;
6110 NMEDIT=$ac_ct_NMEDIT
6113 NMEDIT="$ac_cv_prog_NMEDIT"
6116 if test -n "$ac_tool_prefix"; then
6117 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
6118 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6120 $as_echo_n "checking
for $ac_word...
" >&6; }
6121 if test "${ac_cv_prog_LIPO+set}" = set; then :
6122 $as_echo_n "(cached
) " >&6
6124 if test -n "$LIPO"; then
6125 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6131 test -z "$as_dir" && as_dir=.
6132 for ac_exec_ext in '' $ac_executable_extensions; do
6133 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6134 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
6135 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6144 LIPO=$ac_cv_prog_LIPO
6145 if test -n "$LIPO"; then
6146 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
6147 $as_echo "$LIPO" >&6; }
6149 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6150 $as_echo "no
" >&6; }
6155 if test -z "$ac_cv_prog_LIPO"; then
6157 # Extract the first word of "lipo
", so it can be a program name with args.
6158 set dummy lipo; ac_word=$2
6159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6160 $as_echo_n "checking
for $ac_word...
" >&6; }
6161 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6162 $as_echo_n "(cached
) " >&6
6164 if test -n "$ac_ct_LIPO"; then
6165 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6167 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6171 test -z "$as_dir" && as_dir=.
6172 for ac_exec_ext in '' $ac_executable_extensions; do
6173 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6174 ac_cv_prog_ac_ct_LIPO="lipo
"
6175 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6184 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6185 if test -n "$ac_ct_LIPO"; then
6186 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
6187 $as_echo "$ac_ct_LIPO" >&6; }
6189 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6190 $as_echo "no
" >&6; }
6193 if test "x
$ac_ct_LIPO" = x; then
6196 case $cross_compiling:$ac_tool_warned in
6198 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6199 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6200 ac_tool_warned=yes ;;
6205 LIPO="$ac_cv_prog_LIPO"
6208 if test -n "$ac_tool_prefix"; then
6209 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
6210 set dummy ${ac_tool_prefix}otool; ac_word=$2
6211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6212 $as_echo_n "checking
for $ac_word...
" >&6; }
6213 if test "${ac_cv_prog_OTOOL+set}" = set; then :
6214 $as_echo_n "(cached
) " >&6
6216 if test -n "$OTOOL"; then
6217 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6219 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6223 test -z "$as_dir" && as_dir=.
6224 for ac_exec_ext in '' $ac_executable_extensions; do
6225 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6226 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
6227 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6236 OTOOL=$ac_cv_prog_OTOOL
6237 if test -n "$OTOOL"; then
6238 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
6239 $as_echo "$OTOOL" >&6; }
6241 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6242 $as_echo "no
" >&6; }
6247 if test -z "$ac_cv_prog_OTOOL"; then
6249 # Extract the first word of "otool
", so it can be a program name with args.
6250 set dummy otool; ac_word=$2
6251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6252 $as_echo_n "checking
for $ac_word...
" >&6; }
6253 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
6254 $as_echo_n "(cached
) " >&6
6256 if test -n "$ac_ct_OTOOL"; then
6257 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6259 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6263 test -z "$as_dir" && as_dir=.
6264 for ac_exec_ext in '' $ac_executable_extensions; do
6265 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6266 ac_cv_prog_ac_ct_OTOOL="otool
"
6267 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6276 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6277 if test -n "$ac_ct_OTOOL"; then
6278 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
6279 $as_echo "$ac_ct_OTOOL" >&6; }
6281 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6282 $as_echo "no
" >&6; }
6285 if test "x
$ac_ct_OTOOL" = x; then
6288 case $cross_compiling:$ac_tool_warned in
6290 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6291 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6292 ac_tool_warned=yes ;;
6297 OTOOL="$ac_cv_prog_OTOOL"
6300 if test -n "$ac_tool_prefix"; then
6301 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
6302 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6304 $as_echo_n "checking
for $ac_word...
" >&6; }
6305 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
6306 $as_echo_n "(cached
) " >&6
6308 if test -n "$OTOOL64"; then
6309 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6315 test -z "$as_dir" && as_dir=.
6316 for ac_exec_ext in '' $ac_executable_extensions; do
6317 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6318 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
6319 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6328 OTOOL64=$ac_cv_prog_OTOOL64
6329 if test -n "$OTOOL64"; then
6330 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
6331 $as_echo "$OTOOL64" >&6; }
6333 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6334 $as_echo "no
" >&6; }
6339 if test -z "$ac_cv_prog_OTOOL64"; then
6340 ac_ct_OTOOL64=$OTOOL64
6341 # Extract the first word of "otool64
", so it can be a program name with args.
6342 set dummy otool64; ac_word=$2
6343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6344 $as_echo_n "checking
for $ac_word...
" >&6; }
6345 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
6346 $as_echo_n "(cached
) " >&6
6348 if test -n "$ac_ct_OTOOL64"; then
6349 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6355 test -z "$as_dir" && as_dir=.
6356 for ac_exec_ext in '' $ac_executable_extensions; do
6357 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6358 ac_cv_prog_ac_ct_OTOOL64="otool64
"
6359 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6368 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6369 if test -n "$ac_ct_OTOOL64"; then
6370 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
6371 $as_echo "$ac_ct_OTOOL64" >&6; }
6373 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6374 $as_echo "no
" >&6; }
6377 if test "x
$ac_ct_OTOOL64" = x; then
6380 case $cross_compiling:$ac_tool_warned in
6382 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6383 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6384 ac_tool_warned=yes ;;
6386 OTOOL64=$ac_ct_OTOOL64
6389 OTOOL64="$ac_cv_prog_OTOOL64"
6418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
6419 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
6420 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
6421 $as_echo_n "(cached
) " >&6
6423 lt_cv_apple_cc_single_mod=no
6424 if test -z "${LT_MULTI_MODULE}"; then
6425 # By default we will add the -single_module flag. You can override
6426 # by either setting the environment variable LT_MULTI_MODULE
6427 # non-empty at configure time, or by adding -multi_module to the
6429 rm -rf libconftest.dylib*
6430 echo "int foo
(void
){return 1;}" > conftest.c
6431 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6432 -dynamiclib -Wl,-single_module conftest.c
" >&5
6433 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6434 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6436 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6437 lt_cv_apple_cc_single_mod=yes
6439 cat conftest.err >&5
6441 rm -rf libconftest.dylib*
6445 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
6446 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
6448 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
6449 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
6450 $as_echo_n "(cached
) " >&6
6452 lt_cv_ld_exported_symbols_list=no
6453 save_LDFLAGS=$LDFLAGS
6454 echo "_main
" > conftest.sym
6455 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
6456 if test x$gcc_no_link = xyes; then
6457 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES.
" "$LINENO" 5
6459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6460 /* end confdefs.h. */
6470 if ac_fn_c_try_link "$LINENO"; then :
6471 lt_cv_ld_exported_symbols_list=yes
6473 lt_cv_ld_exported_symbols_list=no
6475 rm -f core conftest.err conftest.$ac_objext \
6476 conftest$ac_exeext conftest.$ac_ext
6477 LDFLAGS="$save_LDFLAGS"
6480 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
6481 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
6483 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
6484 if test "${lt_cv_ld_force_load+set}" = set; then :
6485 $as_echo_n "(cached
) " >&6
6487 lt_cv_ld_force_load=no
6488 cat > conftest.c << _LT_EOF
6489 int forced_loaded() { return 2;}
6491 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
6492 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
6493 echo "$AR cru libconftest.a conftest.o
" >&5
6494 $AR cru libconftest.a conftest.o 2>&5
6495 cat > conftest.c << _LT_EOF
6496 int main() { return 0;}
6498 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
6499 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
6501 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
6502 lt_cv_ld_force_load=yes
6504 cat conftest.err >&5
6506 rm -f conftest.err libconftest.a conftest conftest.c
6507 rm -rf conftest.dSYM
6510 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
6511 $as_echo "$lt_cv_ld_force_load" >&6; }
6513 rhapsody* | darwin1.[012])
6514 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6516 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6517 darwin*) # darwin 5.x on
6518 # if running on 10.5 or later, the deployment target defaults
6519 # to the OS version, if on x86, and 10.4, the deployment
6520 # target defaults to 10.4. Don't you love it?
6521 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6522 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6523 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6525 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6527 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6531 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6532 _lt_dar_single_mod='$single_module'
6534 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6535 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6537 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6539 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
6540 _lt_dsymutil='~$DSYMUTIL $lib || :'
6548 ac_cpp='$CPP $CPPFLAGS'
6549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor
" >&5
6553 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
6554 # On Suns, sometimes $CPP names a directory.
6555 if test -n "$CPP" && test -d "$CPP"; then
6558 if test -z "$CPP"; then
6559 if test "${ac_cv_prog_CPP+set}" = set; then :
6560 $as_echo_n "(cached
) " >&6
6562 # Double quotes because CPP needs to be expanded
6563 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
6566 for ac_c_preproc_warn_flag in '' yes
6568 # Use a header file that comes with gcc, so configuring glibc
6569 # with a fresh cross-compiler works.
6570 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6571 # <limits.h> exists even on freestanding compilers.
6572 # On the NeXT, cc -E runs the code through the compiler's parser,
6573 # not just through cpp. "Syntax error
" is here to catch this case.
6574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6575 /* end confdefs.h. */
6577 # include <limits.h>
6579 # include <assert.h>
6583 if ac_fn_c_try_cpp "$LINENO"; then :
6586 # Broken: fails on valid input.
6589 rm -f conftest.err conftest.$ac_ext
6591 # OK, works on sane cases. Now check whether nonexistent headers
6592 # can be detected and how.
6593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6594 /* end confdefs.h. */
6595 #include <ac_nonexistent.h>
6597 if ac_fn_c_try_cpp "$LINENO"; then :
6598 # Broken: success on invalid input.
6601 # Passes both tests.
6605 rm -f conftest.err conftest.$ac_ext
6608 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6609 rm -f conftest.err conftest.$ac_ext
6610 if $ac_preproc_ok; then :
6622 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CPP" >&5
6623 $as_echo "$CPP" >&6; }
6625 for ac_c_preproc_warn_flag in '' yes
6627 # Use a header file that comes with gcc, so configuring glibc
6628 # with a fresh cross-compiler works.
6629 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6630 # <limits.h> exists even on freestanding compilers.
6631 # On the NeXT, cc -E runs the code through the compiler's parser,
6632 # not just through cpp. "Syntax error
" is here to catch this case.
6633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6634 /* end confdefs.h. */
6636 # include <limits.h>
6638 # include <assert.h>
6642 if ac_fn_c_try_cpp "$LINENO"; then :
6645 # Broken: fails on valid input.
6648 rm -f conftest.err conftest.$ac_ext
6650 # OK, works on sane cases. Now check whether nonexistent headers
6651 # can be detected and how.
6652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6653 /* end confdefs.h. */
6654 #include <ac_nonexistent.h>
6656 if ac_fn_c_try_cpp "$LINENO"; then :
6657 # Broken: success on invalid input.
6660 # Passes both tests.
6664 rm -f conftest.err conftest.$ac_ext
6667 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6668 rm -f conftest.err conftest.$ac_ext
6669 if $ac_preproc_ok; then :
6672 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
6673 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6674 as_fn_error "C preprocessor \"$CPP\" fails sanity check
6675 See \`config.log' for more details.
" "$LINENO" 5; }
6679 ac_cpp='$CPP $CPPFLAGS'
6680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
6686 $as_echo_n "checking
for ANSI C header files...
" >&6; }
6687 if test "${ac_cv_header_stdc+set}" = set; then :
6688 $as_echo_n "(cached
) " >&6
6690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6691 /* end confdefs.h. */
6705 if ac_fn_c_try_compile "$LINENO"; then :
6706 ac_cv_header_stdc=yes
6708 ac_cv_header_stdc=no
6710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6712 if test $ac_cv_header_stdc = yes; then
6713 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6715 /* end confdefs.h. */
6719 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
6720 $EGREP "memchr
" >/dev/null 2>&1; then :
6723 ac_cv_header_stdc=no
6729 if test $ac_cv_header_stdc = yes; then
6730 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6732 /* end confdefs.h. */
6736 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
6737 $EGREP "free
" >/dev/null 2>&1; then :
6740 ac_cv_header_stdc=no
6746 if test $ac_cv_header_stdc = yes; then
6747 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6748 if test "$cross_compiling" = yes; then :
6751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6752 /* end confdefs.h. */
6755 #if ((' ' & 0x0FF) == 0x020)
6756 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6757 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6759 # define ISLOWER(c) \
6760 (('a' <= (c) && (c) <= 'i') \
6761 || ('j' <= (c) && (c) <= 'r') \
6762 || ('s' <= (c) && (c) <= 'z'))
6763 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6766 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6771 for (i = 0; i < 256; i++)
6772 if (XOR (islower (i), ISLOWER (i))
6773 || toupper (i) != TOUPPER (i))
6778 if ac_fn_c_try_run "$LINENO"; then :
6781 ac_cv_header_stdc=no
6783 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6784 conftest.$ac_objext conftest.beam conftest.$ac_ext
6789 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
6790 $as_echo "$ac_cv_header_stdc" >&6; }
6791 if test $ac_cv_header_stdc = yes; then
6793 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6797 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6798 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6799 inttypes.h stdint.h unistd.h
6801 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6802 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6804 eval as_val
=\$
$as_ac_Header
6805 if test "x$as_val" = x
""yes; then :
6806 cat >>confdefs.h
<<_ACEOF
6807 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6815 for ac_header
in dlfcn.h
6817 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
6819 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
6820 cat >>confdefs.h
<<_ACEOF
6821 #define HAVE_DLFCN_H 1
6842 # Check whether --enable-shared was given.
6843 if test "${enable_shared+set}" = set; then :
6844 enableval
=$enable_shared; p
=${PACKAGE-default}
6846 yes) enable_shared
=yes ;;
6847 no
) enable_shared
=no
;;
6850 # Look at the argument we got. We use all the common list separators.
6851 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
6852 for pkg
in $enableval; do
6854 if test "X$pkg" = "X$p"; then
6873 # Check whether --enable-static was given.
6874 if test "${enable_static+set}" = set; then :
6875 enableval
=$enable_static; p
=${PACKAGE-default}
6877 yes) enable_static
=yes ;;
6878 no
) enable_static
=no
;;
6881 # Look at the argument we got. We use all the common list separators.
6882 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
6883 for pkg
in $enableval; do
6885 if test "X$pkg" = "X$p"; then
6905 # Check whether --with-pic was given.
6906 if test "${with_pic+set}" = set; then :
6907 withval
=$with_pic; pic_mode
="$withval"
6913 test -z "$pic_mode" && pic_mode
=default
6921 # Check whether --enable-fast-install was given.
6922 if test "${enable_fast_install+set}" = set; then :
6923 enableval
=$enable_fast_install; p
=${PACKAGE-default}
6925 yes) enable_fast_install
=yes ;;
6926 no
) enable_fast_install
=no
;;
6928 enable_fast_install
=no
6929 # Look at the argument we got. We use all the common list separators.
6930 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
6931 for pkg
in $enableval; do
6933 if test "X$pkg" = "X$p"; then
6934 enable_fast_install
=yes
6941 enable_fast_install
=yes
6954 # This can be used to rebuild libtool when needed
6955 LIBTOOL_DEPS
="$ltmain"
6957 # Always use our own libtool.
6958 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
6985 test -z "$LN_S" && LN_S
="ln -s"
7000 if test -n "${ZSH_VERSION+set}" ; then
7001 setopt NO_GLOB_SUBST
7004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7005 $as_echo_n "checking for objdir... " >&6; }
7006 if test "${lt_cv_objdir+set}" = set; then :
7007 $as_echo_n "(cached) " >&6
7009 rm -f .libs
2>/dev
/null
7010 mkdir .libs
2>/dev
/null
7011 if test -d .libs
; then
7014 # MS-DOS does not allow filenames that begin with a dot.
7017 rmdir .libs
2>/dev
/null
7019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7020 $as_echo "$lt_cv_objdir" >&6; }
7021 objdir
=$lt_cv_objdir
7027 cat >>confdefs.h
<<_ACEOF
7028 #define LT_OBJDIR "$lt_cv_objdir/"
7036 # AIX sometimes has problems with the GCC collect2 program. For some
7037 # reason, if we set the COLLECT_NAMES environment variable, the problems
7038 # vanish in a puff of smoke.
7039 if test "X${COLLECT_NAMES+set}" != Xset
; then
7041 export COLLECT_NAMES
7048 can_build_shared
=yes
7050 # All known linkers require a `.a' archive for static linking (except MSVC,
7051 # which needs '.lib').
7054 with_gnu_ld
="$lt_cv_prog_gnu_ld"
7057 old_CFLAGS
="$CFLAGS"
7059 # Set sane defaults for various variables
7060 test -z "$CC" && CC
=cc
7061 test -z "$LTCC" && LTCC
=$CC
7062 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7063 test -z "$LD" && LD
=ld
7064 test -z "$ac_objext" && ac_objext
=o
7066 for cc_temp
in $compiler""; do
7068 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7069 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7074 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7077 # Only perform the check for file, if the check method requires it
7078 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7079 case $deplibs_check_method in
7081 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7083 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7084 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7085 $as_echo_n "(cached) " >&6
7089 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7092 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7093 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7094 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7095 for ac_dir
in $ac_dummy; do
7097 test -z "$ac_dir" && ac_dir
=.
7098 if test -f $ac_dir/${ac_tool_prefix}file; then
7099 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7100 if test -n "$file_magic_test_file"; then
7101 case $deplibs_check_method in
7103 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7104 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7105 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7106 $EGREP "$file_magic_regex" > /dev
/null
; then
7111 *** Warning: the command libtool uses to detect shared libraries,
7112 *** $file_magic_cmd, produces output that libtool cannot recognize.
7113 *** The result is that libtool may fail to recognize shared libraries
7114 *** as such. This will affect the creation of libtool libraries that
7115 *** depend on shared libraries, but programs linked with such libtool
7116 *** libraries will work regardless of this problem. Nevertheless, you
7117 *** may want to report the problem to your system manager and/or to
7118 *** bug-libtool@gnu.org
7128 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7133 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7134 if test -n "$MAGIC_CMD"; then
7135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7136 $as_echo "$MAGIC_CMD" >&6; }
7138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7139 $as_echo "no" >&6; }
7146 if test -z "$lt_cv_path_MAGIC_CMD"; then
7147 if test -n "$ac_tool_prefix"; then
7148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7149 $as_echo_n "checking for file... " >&6; }
7150 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7151 $as_echo_n "(cached) " >&6
7155 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7158 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7159 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7160 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7161 for ac_dir
in $ac_dummy; do
7163 test -z "$ac_dir" && ac_dir
=.
7164 if test -f $ac_dir/file; then
7165 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7166 if test -n "$file_magic_test_file"; then
7167 case $deplibs_check_method in
7169 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7170 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7171 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7172 $EGREP "$file_magic_regex" > /dev
/null
; then
7177 *** Warning: the command libtool uses to detect shared libraries,
7178 *** $file_magic_cmd, produces output that libtool cannot recognize.
7179 *** The result is that libtool may fail to recognize shared libraries
7180 *** as such. This will affect the creation of libtool libraries that
7181 *** depend on shared libraries, but programs linked with such libtool
7182 *** libraries will work regardless of this problem. Nevertheless, you
7183 *** may want to report the problem to your system manager and/or to
7184 *** bug-libtool@gnu.org
7194 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7199 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7200 if test -n "$MAGIC_CMD"; then
7201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7202 $as_echo "$MAGIC_CMD" >&6; }
7204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7205 $as_echo "no" >&6; }
7218 # Use C for the default configuration in the libtool script
7222 ac_cpp
='$CPP $CPPFLAGS'
7223 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7224 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7225 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7228 # Source file extension for C test sources.
7231 # Object file extension for compiled C test sources.
7235 # Code to be used in simple compile tests
7236 lt_simple_compile_test_code
="int some_variable = 0;"
7238 # Code to be used in simple link tests
7239 lt_simple_link_test_code
='int main(){return(0);}'
7247 # If no C compiler was specified, use CC.
7250 # If no C compiler flags were specified, use CFLAGS.
7251 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7253 # Allow CC to be a program name with arguments.
7256 # Save the default compiler, since it gets overwritten when the other
7257 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7258 compiler_DEFAULT
=$CC
7260 # save warnings/boilerplate of simple test code
7261 ac_outfile
=conftest.
$ac_objext
7262 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
7263 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7264 _lt_compiler_boilerplate
=`cat conftest.err`
7267 ac_outfile
=conftest.
$ac_objext
7268 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
7269 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7270 _lt_linker_boilerplate
=`cat conftest.err`
7275 ## There is no encapsulation within the following macros, do not change
7276 ## the running order or otherwise move them around unless you know exactly
7277 ## what you are doing...
7278 if test -n "$compiler"; then
7280 lt_prog_compiler_no_builtin_flag
=
7282 if test "$GCC" = yes; then
7283 case $cc_basename in
7285 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
7287 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
7290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7291 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7292 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
7293 $as_echo_n "(cached) " >&6
7295 lt_cv_prog_compiler_rtti_exceptions
=no
7296 ac_outfile
=conftest.
$ac_objext
7297 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7298 lt_compiler_flag
="-fno-rtti -fno-exceptions"
7299 # Insert the option either (1) after the last *FLAGS variable, or
7300 # (2) before a word containing "conftest.", or (3) at the end.
7301 # Note that $ac_compile itself does not contain backslashes and begins
7302 # with a dollar sign (not a hyphen), so the echo should work correctly.
7303 # The option is referenced via a variable to avoid confusing sed.
7304 lt_compile
=`echo "$ac_compile" | $SED \
7305 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7306 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7307 -e 's:$: $lt_compiler_flag:'`
7308 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7309 (eval "$lt_compile" 2>conftest.err
)
7311 cat conftest.err
>&5
7312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7313 if (exit $ac_status) && test -s "$ac_outfile"; then
7314 # The compiler can only warn and ignore the option if not recognized
7315 # So say no if there are warnings other than the usual output.
7316 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
7317 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7318 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7319 lt_cv_prog_compiler_rtti_exceptions
=yes
7325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7326 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7328 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
7329 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7341 lt_prog_compiler_wl
=
7342 lt_prog_compiler_pic
=
7343 lt_prog_compiler_static
=
7345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7346 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7348 if test "$GCC" = yes; then
7349 lt_prog_compiler_wl
='-Wl,'
7350 lt_prog_compiler_static
='-static'
7354 # All AIX code is PIC.
7355 if test "$host_cpu" = ia64
; then
7356 # AIX 5 now supports IA64 processor
7357 lt_prog_compiler_static
='-Bstatic'
7364 # see comment about AmigaOS4 .so support
7365 lt_prog_compiler_pic
='-fPIC'
7368 # FIXME: we need at least 68020 code to build shared libraries, but
7369 # adding the `-m68020' flag to GCC prevents building anything better,
7371 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
7376 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
7377 # PIC is the default for these OSes.
7380 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
7381 # This hack is so that the source file can tell whether it is being
7382 # built for inclusion in a dll (and should export symbols for example).
7383 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7384 # (--disable-auto-import) libraries
7385 lt_prog_compiler_pic
='-DDLL_EXPORT'
7388 darwin
* | rhapsody
*)
7389 # PIC is the default on this platform
7390 # Common symbols not allowed in MH_DYLIB files
7391 lt_prog_compiler_pic
='-fno-common'
7395 # PIC is the default for Haiku.
7396 # The "-static" flag exists, but is broken.
7397 lt_prog_compiler_static
=
7401 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7402 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7403 # sets the default TLS model and affects inlining.
7409 lt_prog_compiler_pic
='-fPIC'
7415 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7416 # Instead, we relocate shared libraries at runtime.
7420 # Just because we use GCC doesn't mean we suddenly get shared libraries
7421 # on systems that don't support them.
7422 lt_prog_compiler_can_build_shared
=no
7427 # QNX uses GNU C++, but need to define -shared option too, otherwise
7429 lt_prog_compiler_pic
='-fPIC -shared'
7433 if test -d /usr
/nec
; then
7434 lt_prog_compiler_pic
=-Kconform_pic
7439 lt_prog_compiler_pic
='-fPIC'
7443 case $cc_basename in
7444 nvcc
*) # Cuda Compiler Driver 2.2
7445 lt_prog_compiler_wl
='-Xlinker '
7446 lt_prog_compiler_pic
='-Xcompiler -fPIC'
7450 # PORTME Check for flag to pass linker flags through the system compiler.
7453 lt_prog_compiler_wl
='-Wl,'
7454 if test "$host_cpu" = ia64
; then
7455 # AIX 5 now supports IA64 processor
7456 lt_prog_compiler_static
='-Bstatic'
7458 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
7462 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
7463 # This hack is so that the source file can tell whether it is being
7464 # built for inclusion in a dll (and should export symbols for example).
7465 lt_prog_compiler_pic
='-DDLL_EXPORT'
7468 hpux9
* | hpux10
* | hpux11
*)
7469 lt_prog_compiler_wl
='-Wl,'
7470 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7477 lt_prog_compiler_pic
='+Z'
7480 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7481 lt_prog_compiler_static
='${wl}-a ${wl}archive'
7484 irix5
* | irix6
* | nonstopux
*)
7485 lt_prog_compiler_wl
='-Wl,'
7486 # PIC (with -KPIC) is the default.
7487 lt_prog_compiler_static
='-non_shared'
7490 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
7491 case $cc_basename in
7492 # old Intel for x86_64 which still supported -KPIC.
7494 lt_prog_compiler_wl
='-Wl,'
7495 lt_prog_compiler_pic
='-KPIC'
7496 lt_prog_compiler_static
='-static'
7498 # icc used to be incompatible with GCC.
7499 # ICC 10 doesn't accept -KPIC any more.
7501 lt_prog_compiler_wl
='-Wl,'
7502 lt_prog_compiler_pic
='-fPIC'
7503 lt_prog_compiler_static
='-static'
7505 # Lahey Fortran 8.1.
7507 lt_prog_compiler_wl
='-Wl,'
7508 lt_prog_compiler_pic
='--shared'
7509 lt_prog_compiler_static
='--static'
7511 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
7512 # Portland Group compilers (*not* the Pentium gcc compiler,
7513 # which looks to be a dead project)
7514 lt_prog_compiler_wl
='-Wl,'
7515 lt_prog_compiler_pic
='-fpic'
7516 lt_prog_compiler_static
='-Bstatic'
7519 lt_prog_compiler_wl
='-Wl,'
7520 # All Alpha code is PIC.
7521 lt_prog_compiler_static
='-non_shared'
7523 xl
* | bgxl
* | bgf
* | mpixl
*)
7524 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
7525 lt_prog_compiler_wl
='-Wl,'
7526 lt_prog_compiler_pic
='-qpic'
7527 lt_prog_compiler_static
='-qstaticlink'
7530 case `$CC -V 2>&1 | sed 5q` in
7531 *Sun\ F
* |
*Sun
*Fortran
*)
7532 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7533 lt_prog_compiler_pic
='-KPIC'
7534 lt_prog_compiler_static
='-Bstatic'
7535 lt_prog_compiler_wl
=''
7539 lt_prog_compiler_pic
='-KPIC'
7540 lt_prog_compiler_static
='-Bstatic'
7541 lt_prog_compiler_wl
='-Wl,'
7549 lt_prog_compiler_pic
='-KPIC'
7550 lt_prog_compiler_static
='-Bstatic'
7554 # QNX uses GNU C++, but need to define -shared option too, otherwise
7556 lt_prog_compiler_pic
='-fPIC -shared'
7559 osf3
* | osf4
* | osf5
*)
7560 lt_prog_compiler_wl
='-Wl,'
7561 # All OSF/1 code is PIC.
7562 lt_prog_compiler_static
='-non_shared'
7566 lt_prog_compiler_static
='-non_shared'
7570 lt_prog_compiler_pic
='-KPIC'
7571 lt_prog_compiler_static
='-Bstatic'
7572 case $cc_basename in
7574 lt_prog_compiler_wl
='-Qoption ld ';;
7576 lt_prog_compiler_wl
='-Wl,';;
7581 lt_prog_compiler_wl
='-Qoption ld '
7582 lt_prog_compiler_pic
='-PIC'
7583 lt_prog_compiler_static
='-Bstatic'
7586 sysv4 | sysv4.2uw2
* | sysv4.3
*)
7587 lt_prog_compiler_wl
='-Wl,'
7588 lt_prog_compiler_pic
='-KPIC'
7589 lt_prog_compiler_static
='-Bstatic'
7593 if test -d /usr
/nec
;then
7594 lt_prog_compiler_pic
='-Kconform_pic'
7595 lt_prog_compiler_static
='-Bstatic'
7599 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
7600 lt_prog_compiler_wl
='-Wl,'
7601 lt_prog_compiler_pic
='-KPIC'
7602 lt_prog_compiler_static
='-Bstatic'
7606 lt_prog_compiler_wl
='-Wl,'
7607 lt_prog_compiler_can_build_shared
=no
7611 lt_prog_compiler_pic
='-pic'
7612 lt_prog_compiler_static
='-Bstatic'
7616 lt_prog_compiler_can_build_shared
=no
7622 # For platforms which do not support PIC, -DPIC is meaningless:
7624 lt_prog_compiler_pic
=
7627 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
7630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
7631 $as_echo "$lt_prog_compiler_pic" >&6; }
7639 # Check to make sure the PIC flag actually works.
7641 if test -n "$lt_prog_compiler_pic"; then
7642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7643 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7644 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
7645 $as_echo_n "(cached) " >&6
7647 lt_cv_prog_compiler_pic_works
=no
7648 ac_outfile
=conftest.
$ac_objext
7649 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7650 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
7651 # Insert the option either (1) after the last *FLAGS variable, or
7652 # (2) before a word containing "conftest.", or (3) at the end.
7653 # Note that $ac_compile itself does not contain backslashes and begins
7654 # with a dollar sign (not a hyphen), so the echo should work correctly.
7655 # The option is referenced via a variable to avoid confusing sed.
7656 lt_compile
=`echo "$ac_compile" | $SED \
7657 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7658 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7659 -e 's:$: $lt_compiler_flag:'`
7660 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7661 (eval "$lt_compile" 2>conftest.err
)
7663 cat conftest.err
>&5
7664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7665 if (exit $ac_status) && test -s "$ac_outfile"; then
7666 # The compiler can only warn and ignore the option if not recognized
7667 # So say no if there are warnings other than the usual output.
7668 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
7669 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7670 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7671 lt_cv_prog_compiler_pic_works
=yes
7677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
7678 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
7680 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
7681 case $lt_prog_compiler_pic in
7683 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
7686 lt_prog_compiler_pic
=
7687 lt_prog_compiler_can_build_shared
=no
7698 # Check to make sure the static flag actually works.
7700 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
7701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7702 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
7703 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
7704 $as_echo_n "(cached) " >&6
7706 lt_cv_prog_compiler_static_works
=no
7707 save_LDFLAGS
="$LDFLAGS"
7708 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
7709 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
7710 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
7711 # The linker can only warn and ignore the option if not recognized
7712 # So say no if there are warnings
7713 if test -s conftest.err
; then
7714 # Append any errors to the config.log.
7715 cat conftest.err
1>&5
7716 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
7717 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7718 if diff conftest.exp conftest.er2
>/dev
/null
; then
7719 lt_cv_prog_compiler_static_works
=yes
7722 lt_cv_prog_compiler_static_works
=yes
7726 LDFLAGS
="$save_LDFLAGS"
7729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
7730 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
7732 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
7735 lt_prog_compiler_static
=
7744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7745 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7746 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
7747 $as_echo_n "(cached) " >&6
7749 lt_cv_prog_compiler_c_o
=no
7750 $RM -r conftest
2>/dev
/null
7754 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7756 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7757 # Insert the option either (1) after the last *FLAGS variable, or
7758 # (2) before a word containing "conftest.", or (3) at the end.
7759 # Note that $ac_compile itself does not contain backslashes and begins
7760 # with a dollar sign (not a hyphen), so the echo should work correctly.
7761 lt_compile
=`echo "$ac_compile" | $SED \
7762 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7763 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7764 -e 's:$: $lt_compiler_flag:'`
7765 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7766 (eval "$lt_compile" 2>out
/conftest.err
)
7768 cat out
/conftest.err
>&5
7769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7770 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7772 # The compiler can only warn and ignore the option if not recognized
7773 # So say no if there are warnings
7774 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
7775 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7776 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7777 lt_cv_prog_compiler_c_o
=yes
7782 # SGI C++ compiler will create directory out/ii_files/ for
7783 # template instantiation
7784 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
7785 $RM out
/* && rmdir out
7791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
7792 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7800 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7801 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
7802 $as_echo_n "(cached) " >&6
7804 lt_cv_prog_compiler_c_o
=no
7805 $RM -r conftest
2>/dev
/null
7809 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7811 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7812 # Insert the option either (1) after the last *FLAGS variable, or
7813 # (2) before a word containing "conftest.", or (3) at the end.
7814 # Note that $ac_compile itself does not contain backslashes and begins
7815 # with a dollar sign (not a hyphen), so the echo should work correctly.
7816 lt_compile
=`echo "$ac_compile" | $SED \
7817 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7818 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7819 -e 's:$: $lt_compiler_flag:'`
7820 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7821 (eval "$lt_compile" 2>out
/conftest.err
)
7823 cat out
/conftest.err
>&5
7824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7825 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7827 # The compiler can only warn and ignore the option if not recognized
7828 # So say no if there are warnings
7829 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
7830 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7831 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7832 lt_cv_prog_compiler_c_o
=yes
7837 # SGI C++ compiler will create directory out/ii_files/ for
7838 # template instantiation
7839 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
7840 $RM out
/* && rmdir out
7846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
7847 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7852 hard_links
="nottested"
7853 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
7854 # do not overwrite the value of need_locks provided by the user
7855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
7856 $as_echo_n "checking if we can lock with hard links... " >&6; }
7859 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7861 ln conftest.a conftest.b
2>&5 || hard_links
=no
7862 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
7864 $as_echo "$hard_links" >&6; }
7865 if test "$hard_links" = no
; then
7866 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7867 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7880 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
7883 allow_undefined_flag
=
7884 always_export_symbols
=no
7886 archive_expsym_cmds
=
7887 compiler_needs_object
=no
7888 enable_shared_with_static_runtimes
=no
7889 export_dynamic_flag_spec
=
7890 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7891 hardcode_automatic
=no
7893 hardcode_direct_absolute
=no
7894 hardcode_libdir_flag_spec
=
7895 hardcode_libdir_flag_spec_ld
=
7896 hardcode_libdir_separator
=
7898 hardcode_shlibpath_var
=unsupported
7900 link_all_deplibs
=unknown
7903 old_archive_from_new_cmds
=
7904 old_archive_from_expsyms_cmds
=
7905 thread_safe_flag_spec
=
7906 whole_archive_flag_spec
=
7907 # include_expsyms should be a list of space-separated symbols to be *always*
7908 # included in the symbol list
7910 # exclude_expsyms can be an extended regexp of symbols to exclude
7911 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7912 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7913 # as well as any symbol that contains `d'.
7914 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
7915 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7916 # platforms (ab)use it in PIC code, but their linkers get confused if
7917 # the symbol is explicitly referenced. Since portable code cannot
7918 # rely on this symbol name, it's probably fine to never include it in
7919 # preloaded symbol tables.
7920 # Exclude shared library initialization/finalization symbols.
7921 extract_expsyms_cmds
=
7924 cygwin
* | mingw
* | pw32
* | cegcc
*)
7925 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7926 # When not using gcc, we currently assume that we are using
7927 # Microsoft Visual C++.
7928 if test "$GCC" != yes; then
7933 # we just hope/assume this is gcc and not c89 (= MSVC++)
7943 # On some targets, GNU ld is compatible enough with the native linker
7944 # that we're better off using the native interface for both.
7945 lt_use_gnu_ld_interface
=no
7946 if test "$with_gnu_ld" = yes; then
7949 # The AIX port of GNU ld has always aspired to compatibility
7950 # with the native linker. However, as the warning in the GNU ld
7951 # block says, versions before 2.19.5* couldn't really create working
7952 # shared libraries, regardless of the interface used.
7953 case `$LD -v 2>&1` in
7954 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
7955 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
7956 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
7958 lt_use_gnu_ld_interface
=yes
7963 lt_use_gnu_ld_interface
=yes
7968 if test "$lt_use_gnu_ld_interface" = yes; then
7969 # If archive_cmds runs LD, not CC, wlarc should be empty
7972 # Set some defaults for GNU ld with shared library support. These
7973 # are reset later if shared libraries are not supported. Putting them
7974 # here allows them to be overridden if necessary.
7975 runpath_var
=LD_RUN_PATH
7976 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7977 export_dynamic_flag_spec
='${wl}--export-dynamic'
7978 # ancient GNU ld didn't support --whole-archive et. al.
7979 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
7980 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7982 whole_archive_flag_spec
=
7984 supports_anon_versioning
=no
7985 case `$LD -v 2>&1` in
7986 *GNU\ gold
*) supports_anon_versioning
=yes ;;
7987 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
7988 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
7989 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
7990 *\
2.11.
*) ;; # other 2.11 versions
7991 *) supports_anon_versioning
=yes ;;
7994 # See if GNU ld supports shared libraries.
7997 # On AIX/PPC, the GNU linker is very broken
7998 if test "$host_cpu" != ia64
; then
8002 *** Warning: the GNU linker, at least up to release 2.19, is reported
8003 *** to be unable to reliably create shared libraries on AIX.
8004 *** Therefore, libtool is disabling shared libraries support. If you
8005 *** really care for shared libraries, you may want to install binutils
8006 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8007 *** You will then need to restart the configuration process.
8016 # see comment about AmigaOS4 .so support
8017 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8018 archive_expsym_cmds
=''
8021 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)'
8022 hardcode_libdir_flag_spec
='-L$libdir'
8023 hardcode_minus_L
=yes
8029 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8030 allow_undefined_flag
=unsupported
8031 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8032 # support --undefined. This deserves some investigation. FIXME
8033 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8039 cygwin
* | mingw
* | pw32
* | cegcc
*)
8040 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8041 # as there is no search path for DLLs.
8042 hardcode_libdir_flag_spec
='-L$libdir'
8043 export_dynamic_flag_spec
='${wl}--export-all-symbols'
8044 allow_undefined_flag
=unsupported
8045 always_export_symbols
=no
8046 enable_shared_with_static_runtimes
=yes
8047 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8049 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8050 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8051 # If the export-symbols file already is a .def file (1st line
8052 # is EXPORTS), use it as is; otherwise, prepend...
8053 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8054 cp $export_symbols $output_objdir/$soname.def;
8056 echo EXPORTS > $output_objdir/$soname.def;
8057 cat $export_symbols >> $output_objdir/$soname.def;
8059 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8066 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8067 link_all_deplibs
=yes
8072 hardcode_shlibpath_var
=no
8073 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8074 export_dynamic_flag_spec
='${wl}-E'
8075 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8076 # Instead, shared libraries are loaded at an image base (0x10000000 by
8077 # default) and relocated if they conflict, which is a slow very memory
8078 # consuming and fragmenting process. To avoid this, we pick a random,
8079 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8080 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8081 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8082 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'
8085 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8087 if test "$host_os" = linux-dietlibc
; then
8088 case $cc_basename in
8089 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8092 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8093 && test "$tmp_diet" = no
8096 tmp_sharedflag
='-shared'
8097 case $cc_basename,$host_cpu in
8098 pgcc
*) # Portland Group C compiler
8099 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'
8100 tmp_addflag
=' $pic_flag'
8102 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8103 # Portland Group f77 and f90 compilers
8104 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'
8105 tmp_addflag
=' $pic_flag -Mnomain' ;;
8106 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8107 tmp_addflag
=' -i_dynamic' ;;
8108 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8109 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8110 ifc
* | ifort
*) # Intel Fortran compiler
8111 tmp_addflag
=' -nofor_main' ;;
8112 lf95
*) # Lahey Fortran 8.1
8113 whole_archive_flag_spec
=
8114 tmp_sharedflag
='--shared' ;;
8115 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8116 tmp_sharedflag
='-qmkshrobj'
8118 nvcc
*) # Cuda Compiler Driver 2.2
8119 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'
8120 compiler_needs_object
=yes
8123 case `$CC -V 2>&1 | sed 5q` in
8124 *Sun\ C
*) # Sun C 5.9
8125 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'
8126 compiler_needs_object
=yes
8127 tmp_sharedflag
='-G' ;;
8128 *Sun\ F
*) # Sun Fortran 8.3
8129 tmp_sharedflag
='-G' ;;
8131 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8133 if test "x$supports_anon_versioning" = xyes
; then
8134 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8135 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8136 echo "local: *; };" >> $output_objdir/$libname.ver~
8137 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8140 case $cc_basename in
8141 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
8142 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8143 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
8144 hardcode_libdir_flag_spec
=
8145 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8146 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8147 if test "x$supports_anon_versioning" = xyes
; then
8148 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8149 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8150 echo "local: *; };" >> $output_objdir/$libname.ver~
8151 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8161 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8162 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8165 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8166 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8171 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
8175 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8176 *** create shared libraries on Solaris systems. Therefore, libtool
8177 *** is disabling shared libraries support. We urge you to upgrade GNU
8178 *** binutils to release 2.9.1 or newer. Another option is to modify
8179 *** your PATH or compiler configuration so that the native linker is
8180 *** used, and then restart.
8183 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8184 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8185 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8191 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8192 case `$LD -v 2>&1` in
8193 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8197 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8198 *** reliably create shared libraries on SCO systems. Therefore, libtool
8199 *** is disabling shared libraries support. We urge you to upgrade GNU
8200 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8201 *** your PATH or compiler configuration so that the native linker is
8202 *** used, and then restart.
8207 # For security reasons, it is highly recommended that you always
8208 # use absolute paths for naming shared libraries, and exclude the
8209 # DT_RUNPATH tag from executables and libraries. But doing so
8210 # requires that you compile everything twice, which is a pain.
8211 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8212 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8213 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8214 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8223 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8226 hardcode_shlibpath_var
=no
8230 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8231 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8232 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8239 if test "$ld_shlibs" = no
; then
8241 hardcode_libdir_flag_spec
=
8242 export_dynamic_flag_spec
=
8243 whole_archive_flag_spec
=
8246 # PORTME fill in a description of your system's linker (not GNU ld)
8249 allow_undefined_flag
=unsupported
8250 always_export_symbols
=yes
8251 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'
8252 # Note: this linker hardcodes the directories in LIBPATH if there
8253 # are no directories specified by -L.
8254 hardcode_minus_L
=yes
8255 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8256 # Neither direct hardcoding nor static linking is supported with a
8258 hardcode_direct
=unsupported
8263 if test "$host_cpu" = ia64
; then
8264 # On IA64, the linker does run time linking by default, so we don't
8265 # have to do anything special.
8266 aix_use_runtimelinking
=no
8267 exp_sym_flag
='-Bexport'
8270 # If we're using GNU nm, then we don't want the "-C" option.
8271 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8272 # Also, AIX nm treats weak defined symbols like other global
8273 # defined symbols, whereas GNU nm marks them as "W".
8274 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
8275 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'
8277 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'
8279 aix_use_runtimelinking
=no
8281 # Test if we are trying to use run time linking or normal
8282 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8283 # need to do runtime linking.
8284 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
8285 for ld_flag
in $LDFLAGS; do
8286 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
8287 aix_use_runtimelinking
=yes
8294 exp_sym_flag
='-bexport'
8295 no_entry_flag
='-bnoentry'
8298 # When large executables or shared objects are built, AIX ld can
8299 # have problems creating the table of contents. If linking a library
8300 # or program results in "error TOC overflow" add -mminimal-toc to
8301 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8302 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8306 hardcode_direct_absolute
=yes
8307 hardcode_libdir_separator
=':'
8308 link_all_deplibs
=yes
8309 file_list_spec
='${wl}-f,'
8311 if test "$GCC" = yes; then
8312 case $host_os in aix4.
[012]|aix4.
[012].
*)
8313 # We only want to do this on AIX 4.2 and lower, the check
8314 # below for broken collect2 doesn't work under 4.3+
8315 collect2name
=`${CC} -print-prog-name=collect2`
8316 if test -f "$collect2name" &&
8317 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
8319 # We have reworked collect2
8322 # We have old collect2
8323 hardcode_direct
=unsupported
8324 # It fails to find uninstalled libraries when the uninstalled
8325 # path is not listed in the libpath. Setting hardcode_minus_L
8326 # to unsupported forces relinking
8327 hardcode_minus_L
=yes
8328 hardcode_libdir_flag_spec
='-L$libdir'
8329 hardcode_libdir_separator
=
8333 shared_flag
='-shared'
8334 if test "$aix_use_runtimelinking" = yes; then
8335 shared_flag
="$shared_flag "'${wl}-G'
8339 if test "$host_cpu" = ia64
; then
8340 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8341 # chokes on -Wl,-G. The following line is correct:
8344 if test "$aix_use_runtimelinking" = yes; then
8345 shared_flag
='${wl}-G'
8347 shared_flag
='${wl}-bM:SRE'
8352 export_dynamic_flag_spec
='${wl}-bexpall'
8353 # It seems that -bexpall does not export symbols beginning with
8354 # underscore (_), so it is better to generate a list of symbols to export.
8355 always_export_symbols
=yes
8356 if test "$aix_use_runtimelinking" = yes; then
8357 # Warning - without using the other runtime loading flags (-brtl),
8358 # -berok will link without error, but may produce a broken library.
8359 allow_undefined_flag
='-berok'
8360 # Determine the default libpath from the value encoded in an
8362 if test x
$gcc_no_link = xyes
; then
8363 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8365 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8366 /* end confdefs.h. */
8376 if ac_fn_c_try_link
"$LINENO"; then :
8378 lt_aix_libpath_sed
='
8379 /Import File Strings/,/^$/ {
8385 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8386 # Check for a 64-bit object if we didn't find anything.
8387 if test -z "$aix_libpath"; then
8388 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8391 rm -f core conftest.err conftest.
$ac_objext \
8392 conftest
$ac_exeext conftest.
$ac_ext
8393 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8395 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8396 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"
8398 if test "$host_cpu" = ia64
; then
8399 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
8400 allow_undefined_flag
="-z nodefs"
8401 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"
8403 # Determine the default libpath from the value encoded in an
8405 if test x
$gcc_no_link = xyes
; then
8406 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8408 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8409 /* end confdefs.h. */
8419 if ac_fn_c_try_link
"$LINENO"; then :
8421 lt_aix_libpath_sed
='
8422 /Import File Strings/,/^$/ {
8428 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8429 # Check for a 64-bit object if we didn't find anything.
8430 if test -z "$aix_libpath"; then
8431 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8434 rm -f core conftest.err conftest.
$ac_objext \
8435 conftest
$ac_exeext conftest.
$ac_ext
8436 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8438 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8439 # Warning - without using the other run time loading flags,
8440 # -berok will link without error, but may produce a broken library.
8441 no_undefined_flag
=' ${wl}-bernotok'
8442 allow_undefined_flag
=' ${wl}-berok'
8443 if test "$with_gnu_ld" = yes; then
8444 # We only use this code for GNU lds that support --whole-archive.
8445 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
8447 # Exported symbols can be pulled into shared objects from archives
8448 whole_archive_flag_spec
='$convenience'
8450 archive_cmds_need_lc
=yes
8451 # This is similar to how AIX traditionally builds its shared libraries.
8452 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'
8460 # see comment about AmigaOS4 .so support
8461 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8462 archive_expsym_cmds
=''
8465 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)'
8466 hardcode_libdir_flag_spec
='-L$libdir'
8467 hardcode_minus_L
=yes
8473 export_dynamic_flag_spec
=-rdynamic
8476 cygwin
* | mingw
* | pw32
* | cegcc
*)
8477 # When not using gcc, we currently assume that we are using
8478 # Microsoft Visual C++.
8479 # hardcode_libdir_flag_spec is actually meaningless, as there is
8480 # no search path for DLLs.
8481 hardcode_libdir_flag_spec
=' '
8482 allow_undefined_flag
=unsupported
8483 # Tell ltmain to make .lib files, not .a files.
8485 # Tell ltmain to make .dll files, not .so files.
8487 # FIXME: Setting linknames here is a bad hack.
8488 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
8489 # The linker will automatically build a .lib file if we build a DLL.
8490 old_archive_from_new_cmds
='true'
8491 # FIXME: Should let the user specify the lib program.
8492 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
8493 fix_srcfile_path
='`cygpath -w "$srcfile"`'
8494 enable_shared_with_static_runtimes
=yes
8497 darwin
* | rhapsody
*)
8500 archive_cmds_need_lc
=no
8502 hardcode_automatic
=yes
8503 hardcode_shlibpath_var
=unsupported
8504 if test "$lt_cv_ld_force_load" = "yes"; then
8505 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\"`'
8507 whole_archive_flag_spec
=''
8509 link_all_deplibs
=yes
8510 allow_undefined_flag
="$_lt_dar_allow_undefined"
8511 case $cc_basename in
8512 ifort
*) _lt_dar_can_shared
=yes ;;
8513 *) _lt_dar_can_shared
=$GCC ;;
8515 if test "$_lt_dar_can_shared" = "yes"; then
8516 output_verbose_link_cmd
=func_echo_all
8517 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8518 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8519 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}"
8520 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}"
8529 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8530 hardcode_libdir_flag_spec
='-L$libdir'
8531 hardcode_shlibpath_var
=no
8538 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8539 # support. Future versions do this automatically, but an explicit c++rt0.o
8540 # does not break anything, and helps significantly (at the cost of a little
8543 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8544 hardcode_libdir_flag_spec
='-R$libdir'
8546 hardcode_shlibpath_var
=no
8549 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8551 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8553 hardcode_minus_L
=yes
8554 hardcode_shlibpath_var
=no
8557 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8558 freebsd
* | dragonfly
*)
8559 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8560 hardcode_libdir_flag_spec
='-R$libdir'
8562 hardcode_shlibpath_var
=no
8566 if test "$GCC" = yes; then
8567 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'
8569 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'
8571 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8572 hardcode_libdir_separator
=:
8575 # hardcode_minus_L: Not really in the search PATH,
8576 # but as the default location of the library.
8577 hardcode_minus_L
=yes
8578 export_dynamic_flag_spec
='${wl}-E'
8582 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
8583 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8585 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8587 if test "$with_gnu_ld" = no
; then
8588 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8589 hardcode_libdir_flag_spec_ld
='+b $libdir'
8590 hardcode_libdir_separator
=:
8592 hardcode_direct_absolute
=yes
8593 export_dynamic_flag_spec
='${wl}-E'
8594 # hardcode_minus_L: Not really in the search PATH,
8595 # but as the default location of the library.
8596 hardcode_minus_L
=yes
8601 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
8604 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8607 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8610 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8616 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8619 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8623 # Older versions of the 11.00 compiler do not understand -b yet
8624 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
8625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
8626 $as_echo_n "checking if $CC understands -b... " >&6; }
8627 if test "${lt_cv_prog_compiler__b+set}" = set; then :
8628 $as_echo_n "(cached) " >&6
8630 lt_cv_prog_compiler__b
=no
8631 save_LDFLAGS
="$LDFLAGS"
8632 LDFLAGS
="$LDFLAGS -b"
8633 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8634 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8635 # The linker can only warn and ignore the option if not recognized
8636 # So say no if there are warnings
8637 if test -s conftest.err
; then
8638 # Append any errors to the config.log.
8639 cat conftest.err
1>&5
8640 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
8641 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8642 if diff conftest.exp conftest.er2
>/dev
/null
; then
8643 lt_cv_prog_compiler__b
=yes
8646 lt_cv_prog_compiler__b
=yes
8650 LDFLAGS
="$save_LDFLAGS"
8653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
8654 $as_echo "$lt_cv_prog_compiler__b" >&6; }
8656 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
8657 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8659 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8665 if test "$with_gnu_ld" = no
; then
8666 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8667 hardcode_libdir_separator
=:
8672 hardcode_shlibpath_var
=no
8676 hardcode_direct_absolute
=yes
8677 export_dynamic_flag_spec
='${wl}-E'
8679 # hardcode_minus_L: Not really in the search PATH,
8680 # but as the default location of the library.
8681 hardcode_minus_L
=yes
8687 irix5
* | irix6
* | nonstopux
*)
8688 if test "$GCC" = yes; then
8689 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'
8690 # Try to use the -exported_symbol ld option, if it does not
8691 # work, assume that -exports_file does not work either and
8692 # implicitly export all symbols.
8693 save_LDFLAGS
="$LDFLAGS"
8694 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8695 if test x
$gcc_no_link = xyes
; then
8696 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8698 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8699 /* end confdefs.h. */
8702 if ac_fn_c_try_link
"$LINENO"; then :
8703 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'
8706 rm -f core conftest.err conftest.
$ac_objext \
8707 conftest
$ac_exeext conftest.
$ac_ext
8708 LDFLAGS
="$save_LDFLAGS"
8710 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'
8711 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'
8713 archive_cmds_need_lc
='no'
8714 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8715 hardcode_libdir_separator
=:
8717 link_all_deplibs
=yes
8721 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8722 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8724 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8726 hardcode_libdir_flag_spec
='-R$libdir'
8728 hardcode_shlibpath_var
=no
8732 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8734 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8735 hardcode_libdir_separator
=:
8736 hardcode_shlibpath_var
=no
8743 if test -f /usr
/libexec
/ld.so
; then
8745 hardcode_shlibpath_var
=no
8746 hardcode_direct_absolute
=yes
8747 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8748 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8749 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8750 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8751 export_dynamic_flag_spec
='${wl}-E'
8754 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
8755 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8756 hardcode_libdir_flag_spec
='-R$libdir'
8759 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8760 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8770 hardcode_libdir_flag_spec
='-L$libdir'
8771 hardcode_minus_L
=yes
8772 allow_undefined_flag
=unsupported
8773 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'
8774 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8778 if test "$GCC" = yes; then
8779 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8780 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'
8782 allow_undefined_flag
=' -expect_unresolved \*'
8783 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'
8785 archive_cmds_need_lc
='no'
8786 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8787 hardcode_libdir_separator
=:
8790 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
8791 if test "$GCC" = yes; then
8792 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8793 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'
8794 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8796 allow_undefined_flag
=' -expect_unresolved \*'
8797 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'
8798 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~
8799 $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'
8801 # Both c and cxx compiler support -rpath directly
8802 hardcode_libdir_flag_spec
='-rpath $libdir'
8804 archive_cmds_need_lc
='no'
8805 hardcode_libdir_separator
=:
8809 no_undefined_flag
=' -z defs'
8810 if test "$GCC" = yes; then
8812 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8813 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8814 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8816 case `$CC -V 2>&1` in
8819 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8820 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8821 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8825 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8826 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8827 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8831 hardcode_libdir_flag_spec
='-R$libdir'
8832 hardcode_shlibpath_var
=no
8834 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
8836 # The compiler driver will combine and reorder linker options,
8837 # but understands `-z linker_flag'. GCC discards it without `$wl',
8838 # but is careful enough not to reorder.
8839 # Supported since Solaris 2.6 (maybe 2.5.1?)
8840 if test "$GCC" = yes; then
8841 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8843 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
8847 link_all_deplibs
=yes
8851 if test "x$host_vendor" = xsequent
; then
8852 # Use $CC to link under sequent, because it throws in some extra .o
8853 # files that make .init and .fini sections work.
8854 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8856 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8858 hardcode_libdir_flag_spec
='-L$libdir'
8860 hardcode_minus_L
=yes
8861 hardcode_shlibpath_var
=no
8865 case $host_vendor in
8867 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8868 hardcode_direct
=yes # is this really true???
8871 ## LD is ld it makes a PLAMLIB
8872 ## CC just makes a GrossModule.
8873 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8874 reload_cmds
='$CC -r -o $output$reload_objs'
8878 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8879 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
8882 runpath_var
='LD_RUN_PATH'
8883 hardcode_shlibpath_var
=no
8887 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8888 hardcode_shlibpath_var
=no
8889 export_dynamic_flag_spec
='-Bexport'
8893 if test -d /usr
/nec
; then
8894 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8895 hardcode_shlibpath_var
=no
8896 runpath_var
=LD_RUN_PATH
8897 hardcode_runpath_var
=yes
8902 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
8903 no_undefined_flag
='${wl}-z,text'
8904 archive_cmds_need_lc
=no
8905 hardcode_shlibpath_var
=no
8906 runpath_var
='LD_RUN_PATH'
8908 if test "$GCC" = yes; then
8909 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8910 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8912 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8913 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8917 sysv5
* | sco3.2v5
* | sco5v6
*)
8918 # Note: We can NOT use -z defs as we might desire, because we do not
8919 # link with -lc, and that would cause any symbols used from libc to
8920 # always be unresolved, which means just about no library would
8921 # ever link correctly. If we're not using GNU ld we use -z text
8922 # though, which does catch some bad symbols but isn't as heavy-handed
8924 no_undefined_flag
='${wl}-z,text'
8925 allow_undefined_flag
='${wl}-z,nodefs'
8926 archive_cmds_need_lc
=no
8927 hardcode_shlibpath_var
=no
8928 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
8929 hardcode_libdir_separator
=':'
8930 link_all_deplibs
=yes
8931 export_dynamic_flag_spec
='${wl}-Bexport'
8932 runpath_var
='LD_RUN_PATH'
8934 if test "$GCC" = yes; then
8935 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8936 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8938 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8939 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8944 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8945 hardcode_libdir_flag_spec
='-L$libdir'
8946 hardcode_shlibpath_var
=no
8954 if test x
$host_vendor = xsni
; then
8956 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
8957 export_dynamic_flag_spec
='${wl}-Blargedynsym'
8963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
8964 $as_echo "$ld_shlibs" >&6; }
8965 test "$ld_shlibs" = no
&& can_build_shared
=no
8967 with_gnu_ld
=$with_gnu_ld
8984 # Do we need to explicitly link libc?
8986 case "x$archive_cmds_need_lc" in
8988 # Assume -lc should be added
8989 archive_cmds_need_lc
=yes
8991 if test "$enable_shared" = yes && test "$GCC" = yes; then
8992 case $archive_cmds in
8994 # FIXME: we may have to deal with multi-command sequences.
8997 # Test whether the compiler implicitly links with -lc since on some
8998 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8999 # to ld, don't add -lc before -lgcc.
9000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9001 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9002 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
9003 $as_echo_n "(cached) " >&6
9006 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9008 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9009 (eval $ac_compile) 2>&5
9011 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9012 test $ac_status = 0; } 2>conftest.err
; then
9015 libobjs
=conftest.
$ac_objext
9017 wl
=$lt_prog_compiler_wl
9018 pic_flag
=$lt_prog_compiler_pic
9024 lt_save_allow_undefined_flag
=$allow_undefined_flag
9025 allow_undefined_flag
=
9026 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9027 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9029 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9030 test $ac_status = 0; }
9032 lt_cv_archive_cmds_need_lc
=no
9034 lt_cv_archive_cmds_need_lc
=yes
9036 allow_undefined_flag
=$lt_save_allow_undefined_flag
9038 cat conftest.err
1>&5
9043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9044 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9045 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
9208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9209 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9211 if test "$GCC" = yes; then
9213 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
9214 *) lt_awk_arg
="/^libraries:/" ;;
9217 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
9218 *) lt_sed_strip_eq
="s,=/,/,g" ;;
9220 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9221 case $lt_search_path_spec in
9223 # if the path contains ";" then we assume it to be the separator
9224 # otherwise default to the standard path separator (i.e. ":") - it is
9225 # assumed that no part of a normal pathname contains ";" but that should
9226 # okay in the real world where ";" in dirpaths is itself problematic.
9227 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9230 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9233 # Ok, now we have the path, separated by spaces, we can step through it
9234 # and add multilib dir if necessary.
9235 lt_tmp_lt_search_path_spec
=
9236 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9237 for lt_sys_path
in $lt_search_path_spec; do
9238 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9239 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9241 test -d "$lt_sys_path" && \
9242 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
9245 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9246 BEGIN {RS=" "; FS="/|\n";} {
9249 for (lt_i = NF; lt_i > 0; lt_i--) {
9250 if ($lt_i != "" && $lt_i != ".") {
9251 if ($lt_i == "..") {
9254 if (lt_count == 0) {
9255 lt_foo="/" $lt_i lt_foo;
9262 if (lt_foo != "") { lt_freq[lt_foo]++; }
9263 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9265 # AWK program above erroneously prepends '/' to C:/dos/paths
9268 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
9269 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
9271 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
9273 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
9276 libname_spec
='lib$name'
9284 shlibpath_overrides_runpath
=unknown
9286 dynamic_linker
="$host_os ld.so"
9287 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
9288 need_lib_prefix
=unknown
9289 hardcode_into_libs
=no
9291 # when you set need_version to no, make sure it does not cause -set_version
9292 # flags to be left without arguments
9293 need_version
=unknown
9298 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
9299 shlibpath_var
=LIBPATH
9301 # AIX 3 has no versioning support, so we append a major version to the name.
9302 soname_spec
='${libname}${release}${shared_ext}$major'
9309 hardcode_into_libs
=yes
9310 if test "$host_cpu" = ia64
; then
9311 # AIX 5 supports IA64
9312 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9313 shlibpath_var
=LD_LIBRARY_PATH
9315 # With GCC up to 2.95.x, collect2 would create an import file
9316 # for dependence libraries. The import file would start with
9317 # the line `#! .'. This would cause the generated library to
9318 # depend on `.', always an invalid library. This was fixed in
9319 # development snapshots of GCC prior to 3.0.
9321 aix4 | aix4.
[01] | aix4.
[01].
*)
9322 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9324 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
9331 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9332 # soname into executable. Probably we can add versioning support to
9333 # collect2, so additional links can be useful in future.
9334 if test "$aix_use_runtimelinking" = yes; then
9335 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9336 # instead of lib<name>.a to let people know that these are not
9337 # typical AIX shared libraries.
9338 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9340 # We preserve .a as extension for shared libraries through AIX4.2
9341 # and later when we are not doing run time linking.
9342 library_names_spec
='${libname}${release}.a $libname.a'
9343 soname_spec
='${libname}${release}${shared_ext}$major'
9345 shlibpath_var
=LIBPATH
9352 # Since July 2007 AmigaOS4 officially supports .so libraries.
9353 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9354 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9357 library_names_spec
='$libname.ixlibrary $libname.a'
9358 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9359 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'
9365 library_names_spec
='${libname}${shared_ext}'
9366 dynamic_linker
="$host_os ld.so"
9367 shlibpath_var
=LIBRARY_PATH
9373 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9374 soname_spec
='${libname}${release}${shared_ext}$major'
9375 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
9376 shlibpath_var
=LD_LIBRARY_PATH
9377 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9378 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
9379 # the default ld.so.conf also contains /usr/contrib/lib and
9380 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9381 # libtool to hard-code these into programs
9384 cygwin
* | mingw
* | pw32
* | cegcc
*)
9385 version_type
=windows
9390 case $GCC,$host_os in
9391 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
9392 library_names_spec
='$libname.dll.a'
9393 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9394 postinstall_cmds
='base_file=`basename \${file}`~
9395 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9396 dldir=$destdir/`dirname \$dlpath`~
9397 test -d \$dldir || mkdir -p \$dldir~
9398 $install_prog $dir/$dlname \$dldir/$dlname~
9399 chmod a+x \$dldir/$dlname~
9400 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9401 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9403 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9404 dlpath=$dir/\$dldll~
9406 shlibpath_overrides_runpath
=yes
9410 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9411 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9413 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
9416 # MinGW DLLs use traditional 'lib' prefix
9417 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9420 # pw32 DLLs use 'pw' prefix rather than 'lib'
9421 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9427 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9430 dynamic_linker
='Win32 ld.exe'
9431 # FIXME: first we should search . and the directory the executable is in
9435 darwin
* | rhapsody
*)
9436 dynamic_linker
="$host_os dyld"
9440 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9441 soname_spec
='${libname}${release}${major}$shared_ext'
9442 shlibpath_overrides_runpath
=yes
9443 shlibpath_var
=DYLD_LIBRARY_PATH
9444 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
9446 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
9447 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
9454 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9455 soname_spec
='${libname}${release}${shared_ext}$major'
9456 shlibpath_var
=LD_LIBRARY_PATH
9463 freebsd
* | dragonfly
*)
9464 # DragonFly does not have aout. When/if they implement a new
9465 # versioning mechanism, adjust this.
9466 if test -x /usr
/bin
/objformat
; then
9467 objformat
=`/usr/bin/objformat`
9470 freebsd
[123]*) objformat
=aout
;;
9474 version_type
=freebsd-
$objformat
9475 case $version_type in
9477 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9482 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9486 shlibpath_var
=LD_LIBRARY_PATH
9489 shlibpath_overrides_runpath
=yes
9491 freebsd3.
[01]* | freebsdelf3.
[01]*)
9492 shlibpath_overrides_runpath
=yes
9493 hardcode_into_libs
=yes
9495 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
9496 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
9497 shlibpath_overrides_runpath
=no
9498 hardcode_into_libs
=yes
9500 *) # from 4.6 on, and DragonFly
9501 shlibpath_overrides_runpath
=yes
9502 hardcode_into_libs
=yes
9511 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9512 soname_spec
='${libname}${release}${shared_ext}$major'
9513 shlibpath_var
=LD_LIBRARY_PATH
9514 hardcode_into_libs
=yes
9521 dynamic_linker
="$host_os runtime_loader"
9522 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9523 soname_spec
='${libname}${release}${shared_ext}$major'
9524 shlibpath_var
=LIBRARY_PATH
9525 shlibpath_overrides_runpath
=yes
9526 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
9527 hardcode_into_libs
=yes
9530 hpux9
* | hpux10
* | hpux11
*)
9531 # Give a soname corresponding to the major version so that dld.sl refuses to
9532 # link against other versions.
9539 hardcode_into_libs
=yes
9540 dynamic_linker
="$host_os dld.so"
9541 shlibpath_var
=LD_LIBRARY_PATH
9542 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9543 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9544 soname_spec
='${libname}${release}${shared_ext}$major'
9545 if test "X$HPUX_IA64_MODE" = X32
; then
9546 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9548 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
9550 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9554 hardcode_into_libs
=yes
9555 dynamic_linker
="$host_os dld.sl"
9556 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
9557 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9558 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9559 soname_spec
='${libname}${release}${shared_ext}$major'
9560 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9561 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9565 dynamic_linker
="$host_os dld.sl"
9566 shlibpath_var
=SHLIB_PATH
9567 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
9568 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9569 soname_spec
='${libname}${release}${shared_ext}$major'
9572 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
9573 postinstall_cmds
='chmod 555 $lib'
9574 # or fails outright, so override atomically:
9575 install_override_mode
=555
9582 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9583 soname_spec
='${libname}${release}${shared_ext}$major'
9584 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
9585 shlibpath_var
=LD_LIBRARY_PATH
9586 shlibpath_overrides_runpath
=no
9587 hardcode_into_libs
=yes
9590 irix5
* | irix6
* | nonstopux
*)
9592 nonstopux
*) version_type
=nonstopux
;;
9594 if test "$lt_cv_prog_gnu_ld" = yes; then
9602 soname_spec
='${libname}${release}${shared_ext}$major'
9603 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9605 irix5
* | nonstopux
*)
9609 case $LD in # libtool.m4 will add one of these switches to LD
9610 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
9611 libsuff
= shlibsuff
= libmagic
=32-bit;;
9612 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
9613 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
9614 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
9615 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
9616 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
9620 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
9621 shlibpath_overrides_runpath
=no
9622 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9623 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
9624 hardcode_into_libs
=yes
9627 # No shared lib support for Linux oldld, aout, or coff.
9628 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
9632 # This must be Linux ELF.
9633 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9637 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9638 soname_spec
='${libname}${release}${shared_ext}$major'
9639 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9640 shlibpath_var
=LD_LIBRARY_PATH
9641 shlibpath_overrides_runpath
=no
9643 # Some binutils ld are patched to set DT_RUNPATH
9644 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
9645 $as_echo_n "(cached) " >&6
9647 lt_cv_shlibpath_overrides_runpath
=no
9648 save_LDFLAGS
=$LDFLAGS
9650 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9651 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9652 if test x
$gcc_no_link = xyes
; then
9653 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9655 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9656 /* end confdefs.h. */
9666 if ac_fn_c_try_link
"$LINENO"; then :
9667 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
9668 lt_cv_shlibpath_overrides_runpath
=yes
9671 rm -f core conftest.err conftest.
$ac_objext \
9672 conftest
$ac_exeext conftest.
$ac_ext
9673 LDFLAGS
=$save_LDFLAGS
9678 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
9680 # This implies no fast_install, which is unacceptable.
9681 # Some rework will be needed to allow for fast_install
9682 # before this can be enabled.
9683 hardcode_into_libs
=yes
9685 # Append ld.so.conf contents to the search path
9686 if test -f /etc
/ld.so.conf
; then
9687 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' ' '`
9688 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
9691 # We used to test for /lib/ld.so.1 and disable shared libraries on
9692 # powerpc, because MkLinux only supported shared libraries with the
9693 # GNU dynamic linker. Since this was broken with cross compilers,
9694 # most powerpc-linux boxes support dynamic linking these days and
9695 # people can always --disable-shared, the test was removed, and we
9696 # assume the GNU/Linux dynamic linker is in use.
9697 dynamic_linker
='GNU/Linux ld.so'
9704 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9705 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9706 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9707 dynamic_linker
='NetBSD (a.out) ld.so'
9709 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9710 soname_spec
='${libname}${release}${shared_ext}$major'
9711 dynamic_linker
='NetBSD ld.elf_so'
9713 shlibpath_var
=LD_LIBRARY_PATH
9714 shlibpath_overrides_runpath
=yes
9715 hardcode_into_libs
=yes
9720 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9721 shlibpath_var
=LD_LIBRARY_PATH
9722 shlibpath_overrides_runpath
=yes
9729 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9730 soname_spec
='${libname}${release}${shared_ext}$major'
9731 shlibpath_var
=LD_LIBRARY_PATH
9732 shlibpath_overrides_runpath
=no
9733 hardcode_into_libs
=yes
9734 dynamic_linker
='ldqnx.so'
9739 sys_lib_dlsearch_path_spec
="/usr/lib"
9741 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9743 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
9744 *) need_version
=no
;;
9746 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9747 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9748 shlibpath_var
=LD_LIBRARY_PATH
9749 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9751 openbsd2.
[89] | openbsd2.
[89].
*)
9752 shlibpath_overrides_runpath
=no
9755 shlibpath_overrides_runpath
=yes
9759 shlibpath_overrides_runpath
=yes
9764 libname_spec
='$name'
9767 library_names_spec
='$libname${shared_ext} $libname.a'
9768 dynamic_linker
='OS/2 ld.exe'
9769 shlibpath_var
=LIBPATH
9772 osf3
* | osf4
* | osf5
*)
9776 soname_spec
='${libname}${release}${shared_ext}$major'
9777 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9778 shlibpath_var
=LD_LIBRARY_PATH
9779 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9780 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
9791 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9792 soname_spec
='${libname}${release}${shared_ext}$major'
9793 shlibpath_var
=LD_LIBRARY_PATH
9794 shlibpath_overrides_runpath
=yes
9795 hardcode_into_libs
=yes
9796 # ldd complains unless libraries are executable
9797 postinstall_cmds
='chmod +x $lib'
9802 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9803 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9804 shlibpath_var
=LD_LIBRARY_PATH
9805 shlibpath_overrides_runpath
=yes
9806 if test "$with_gnu_ld" = yes; then
9814 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9815 soname_spec
='${libname}${release}${shared_ext}$major'
9816 shlibpath_var
=LD_LIBRARY_PATH
9817 case $host_vendor in
9819 shlibpath_overrides_runpath
=no
9821 runpath_var
=LD_RUN_PATH
9829 shlibpath_overrides_runpath
=no
9830 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
9836 if test -d /usr
/nec
;then
9838 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9839 soname_spec
='$libname${shared_ext}.$major'
9840 shlibpath_var
=LD_LIBRARY_PATH
9844 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
9845 version_type
=freebsd-elf
9848 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9849 soname_spec
='${libname}${release}${shared_ext}$major'
9850 shlibpath_var
=LD_LIBRARY_PATH
9851 shlibpath_overrides_runpath
=yes
9852 hardcode_into_libs
=yes
9853 if test "$with_gnu_ld" = yes; then
9854 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9856 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
9859 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
9863 sys_lib_dlsearch_path_spec
='/usr/lib'
9867 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
9871 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9872 shlibpath_var
=LD_LIBRARY_PATH
9873 shlibpath_overrides_runpath
=no
9874 hardcode_into_libs
=yes
9879 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9880 soname_spec
='${libname}${release}${shared_ext}$major'
9881 shlibpath_var
=LD_LIBRARY_PATH
9888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
9889 $as_echo "$dynamic_linker" >&6; }
9890 test "$dynamic_linker" = no
&& can_build_shared
=no
9892 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
9893 if test "$GCC" = yes; then
9894 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9897 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
9898 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
9900 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
9901 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
9995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
9996 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
9998 if test -n "$hardcode_libdir_flag_spec" ||
9999 test -n "$runpath_var" ||
10000 test "X$hardcode_automatic" = "Xyes" ; then
10002 # We can hardcode non-existent directories.
10003 if test "$hardcode_direct" != no
&&
10004 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10005 # have to relink, otherwise we might link with an installed library
10006 # when we should be linking with a yet-to-be-installed one
10007 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10008 test "$hardcode_minus_L" != no
; then
10009 # Linking always hardcodes the temporary library directory.
10010 hardcode_action
=relink
10012 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10013 hardcode_action
=immediate
10016 # We cannot hardcode anything, or else we can only hardcode existing
10018 hardcode_action
=unsupported
10020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10021 $as_echo "$hardcode_action" >&6; }
10023 if test "$hardcode_action" = relink ||
10024 test "$inherit_rpath" = yes; then
10025 # Fast installation is not supported
10026 enable_fast_install
=no
10027 elif test "$shlibpath_overrides_runpath" = yes ||
10028 test "$enable_shared" = no
; then
10029 # Fast installation is not necessary
10030 enable_fast_install
=needless
10038 if test "x$enable_dlopen" != xyes
; then
10039 enable_dlopen
=unknown
10040 enable_dlopen_self
=unknown
10041 enable_dlopen_self_static
=unknown
10048 lt_cv_dlopen
="load_add_on"
10050 lt_cv_dlopen_self
=yes
10053 mingw
* | pw32
* | cegcc
*)
10054 lt_cv_dlopen
="LoadLibrary"
10059 lt_cv_dlopen
="dlopen"
10064 # if libdl is installed we need to link against it
10065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10066 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10067 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10068 $as_echo_n "(cached) " >&6
10070 ac_check_lib_save_LIBS
=$LIBS
10072 if test x
$gcc_no_link = xyes
; then
10073 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10075 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10076 /* end confdefs.h. */
10078 /* Override any GCC internal prototype to avoid an error.
10079 Use char because int might match the return type of a GCC
10080 builtin and then its argument prototype would still apply. */
10093 if ac_fn_c_try_link
"$LINENO"; then :
10094 ac_cv_lib_dl_dlopen
=yes
10096 ac_cv_lib_dl_dlopen
=no
10098 rm -f core conftest.err conftest.
$ac_objext \
10099 conftest
$ac_exeext conftest.
$ac_ext
10100 LIBS
=$ac_check_lib_save_LIBS
10102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10103 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10104 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10105 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10108 lt_cv_dlopen
="dyld"
10110 lt_cv_dlopen_self
=yes
10117 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
10118 if test "x$ac_cv_func_shl_load" = x
""yes; then :
10119 lt_cv_dlopen
="shl_load"
10121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10122 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10123 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10124 $as_echo_n "(cached) " >&6
10126 ac_check_lib_save_LIBS
=$LIBS
10128 if test x
$gcc_no_link = xyes
; then
10129 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10131 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10132 /* end confdefs.h. */
10134 /* Override any GCC internal prototype to avoid an error.
10135 Use char because int might match the return type of a GCC
10136 builtin and then its argument prototype would still apply. */
10144 return shl_load ();
10149 if ac_fn_c_try_link
"$LINENO"; then :
10150 ac_cv_lib_dld_shl_load
=yes
10152 ac_cv_lib_dld_shl_load
=no
10154 rm -f core conftest.err conftest.
$ac_objext \
10155 conftest
$ac_exeext conftest.
$ac_ext
10156 LIBS
=$ac_check_lib_save_LIBS
10158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10159 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10160 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
10161 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
10163 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
10164 if test "x$ac_cv_func_dlopen" = x
""yes; then :
10165 lt_cv_dlopen
="dlopen"
10167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10168 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10169 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10170 $as_echo_n "(cached) " >&6
10172 ac_check_lib_save_LIBS
=$LIBS
10174 if test x
$gcc_no_link = xyes
; then
10175 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10177 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10178 /* end confdefs.h. */
10180 /* Override any GCC internal prototype to avoid an error.
10181 Use char because int might match the return type of a GCC
10182 builtin and then its argument prototype would still apply. */
10195 if ac_fn_c_try_link
"$LINENO"; then :
10196 ac_cv_lib_dl_dlopen
=yes
10198 ac_cv_lib_dl_dlopen
=no
10200 rm -f core conftest.err conftest.
$ac_objext \
10201 conftest
$ac_exeext conftest.
$ac_ext
10202 LIBS
=$ac_check_lib_save_LIBS
10204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10205 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10206 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10207 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10210 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10211 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10212 $as_echo_n "(cached) " >&6
10214 ac_check_lib_save_LIBS
=$LIBS
10215 LIBS
="-lsvld $LIBS"
10216 if test x
$gcc_no_link = xyes
; then
10217 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10219 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10220 /* end confdefs.h. */
10222 /* Override any GCC internal prototype to avoid an error.
10223 Use char because int might match the return type of a GCC
10224 builtin and then its argument prototype would still apply. */
10237 if ac_fn_c_try_link
"$LINENO"; then :
10238 ac_cv_lib_svld_dlopen
=yes
10240 ac_cv_lib_svld_dlopen
=no
10242 rm -f core conftest.err conftest.
$ac_objext \
10243 conftest
$ac_exeext conftest.
$ac_ext
10244 LIBS
=$ac_check_lib_save_LIBS
10246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10247 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10248 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
10249 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
10251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10252 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10253 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
10254 $as_echo_n "(cached) " >&6
10256 ac_check_lib_save_LIBS
=$LIBS
10258 if test x
$gcc_no_link = xyes
; then
10259 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10261 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10262 /* end confdefs.h. */
10264 /* Override any GCC internal prototype to avoid an error.
10265 Use char because int might match the return type of a GCC
10266 builtin and then its argument prototype would still apply. */
10274 return dld_link ();
10279 if ac_fn_c_try_link
"$LINENO"; then :
10280 ac_cv_lib_dld_dld_link
=yes
10282 ac_cv_lib_dld_dld_link
=no
10284 rm -f core conftest.err conftest.
$ac_objext \
10285 conftest
$ac_exeext conftest.
$ac_ext
10286 LIBS
=$ac_check_lib_save_LIBS
10288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10289 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10290 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
10291 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
10312 if test "x$lt_cv_dlopen" != xno
; then
10318 case $lt_cv_dlopen in
10320 save_CPPFLAGS
="$CPPFLAGS"
10321 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
10323 save_LDFLAGS
="$LDFLAGS"
10324 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
10327 LIBS
="$lt_cv_dlopen_libs $LIBS"
10329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10330 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10331 if test "${lt_cv_dlopen_self+set}" = set; then :
10332 $as_echo_n "(cached) " >&6
10334 if test "$cross_compiling" = yes; then :
10335 lt_cv_dlopen_self
=cross
10337 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10338 lt_status
=$lt_dlunknown
10339 cat > conftest.
$ac_ext <<_LT_EOF
10340 #line 10340 "configure"
10341 #include "confdefs.h"
10350 # define LT_DLGLOBAL RTLD_GLOBAL
10353 # define LT_DLGLOBAL DL_GLOBAL
10355 # define LT_DLGLOBAL 0
10359 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10360 find out it does not work in some platform. */
10361 #ifndef LT_DLLAZY_OR_NOW
10363 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10366 # define LT_DLLAZY_OR_NOW DL_LAZY
10369 # define LT_DLLAZY_OR_NOW RTLD_NOW
10372 # define LT_DLLAZY_OR_NOW DL_NOW
10374 # define LT_DLLAZY_OR_NOW 0
10381 /* When -fvisbility=hidden is used, assume the code has been annotated
10382 correspondingly for the symbols needed. */
10383 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
10384 void fnord () __attribute__((visibility("default")));
10387 void fnord () { int i=42; }
10390 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10391 int status = $lt_dlunknown;
10395 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10398 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10399 else puts (dlerror ());
10401 /* dlclose (self); */
10409 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10410 (eval $ac_link) 2>&5
10412 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10413 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10414 (.
/conftest
; exit; ) >&5 2>/dev
/null
10416 case x
$lt_status in
10417 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
10418 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
10419 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
10422 # compilation failed
10423 lt_cv_dlopen_self
=no
10430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
10431 $as_echo "$lt_cv_dlopen_self" >&6; }
10433 if test "x$lt_cv_dlopen_self" = xyes
; then
10434 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
10435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10436 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10437 if test "${lt_cv_dlopen_self_static+set}" = set; then :
10438 $as_echo_n "(cached) " >&6
10440 if test "$cross_compiling" = yes; then :
10441 lt_cv_dlopen_self_static
=cross
10443 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10444 lt_status
=$lt_dlunknown
10445 cat > conftest.
$ac_ext <<_LT_EOF
10446 #line 10446 "configure"
10447 #include "confdefs.h"
10456 # define LT_DLGLOBAL RTLD_GLOBAL
10459 # define LT_DLGLOBAL DL_GLOBAL
10461 # define LT_DLGLOBAL 0
10465 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10466 find out it does not work in some platform. */
10467 #ifndef LT_DLLAZY_OR_NOW
10469 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10472 # define LT_DLLAZY_OR_NOW DL_LAZY
10475 # define LT_DLLAZY_OR_NOW RTLD_NOW
10478 # define LT_DLLAZY_OR_NOW DL_NOW
10480 # define LT_DLLAZY_OR_NOW 0
10487 /* When -fvisbility=hidden is used, assume the code has been annotated
10488 correspondingly for the symbols needed. */
10489 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
10490 void fnord () __attribute__((visibility("default")));
10493 void fnord () { int i=42; }
10496 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10497 int status = $lt_dlunknown;
10501 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10504 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10505 else puts (dlerror ());
10507 /* dlclose (self); */
10515 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10516 (eval $ac_link) 2>&5
10518 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10519 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10520 (.
/conftest
; exit; ) >&5 2>/dev
/null
10522 case x
$lt_status in
10523 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
10524 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
10525 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
10528 # compilation failed
10529 lt_cv_dlopen_self_static
=no
10536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
10537 $as_echo "$lt_cv_dlopen_self_static" >&6; }
10540 CPPFLAGS
="$save_CPPFLAGS"
10541 LDFLAGS
="$save_LDFLAGS"
10546 case $lt_cv_dlopen_self in
10547 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
10548 *) enable_dlopen_self
=unknown
;;
10551 case $lt_cv_dlopen_self_static in
10552 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
10553 *) enable_dlopen_self_static
=unknown
;;
10575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
10576 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
10577 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
10578 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
10579 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
10580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10581 $as_echo "yes" >&6; }
10583 # FIXME - insert some real tests, host_os isn't really good enough
10586 if test -n "$STRIP" ; then
10587 striplib
="$STRIP -x"
10588 old_striplib
="$STRIP -S"
10589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10590 $as_echo "yes" >&6; }
10592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10593 $as_echo "no" >&6; }
10597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10598 $as_echo "no" >&6; }
10614 # Report which library types will actually be built
10615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
10616 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
10617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
10618 $as_echo "$can_build_shared" >&6; }
10620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
10621 $as_echo_n "checking whether to build shared libraries... " >&6; }
10622 test "$can_build_shared" = "no" && enable_shared
=no
10624 # On AIX, shared libraries and static libraries use the same namespace, and
10625 # are all built from PIC.
10628 test "$enable_shared" = yes && enable_static
=no
10629 if test -n "$RANLIB"; then
10630 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
10631 postinstall_cmds
='$RANLIB $lib'
10636 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
10637 test "$enable_shared" = yes && enable_static
=no
10641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
10642 $as_echo "$enable_shared" >&6; }
10644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
10645 $as_echo_n "checking whether to build static libraries... " >&6; }
10646 # Make sure either enable_shared or enable_static is yes.
10647 test "$enable_shared" = yes || enable_static
=yes
10648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
10649 $as_echo "$enable_static" >&6; }
10656 ac_cpp
='$CPP $CPPFLAGS'
10657 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10658 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10659 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10675 ac_config_commands
="$ac_config_commands libtool"
10680 # Only expand once:
10687 *-cygwin* |
*-mingw*)
10688 # 'host' will be top-level target in the case of a target lib,
10689 # we must compare to with_cross_host to decide if this is a native
10690 # or cross-compiler and select where to install dlls appropriately.
10691 if test -n "$with_cross_host" &&
10692 test x
"$with_cross_host" != x
"no"; then
10693 lt_host_flags
='-no-undefined -bindir "$(toolexeclibdir)"';
10695 lt_host_flags
='-no-undefined -bindir "$(bindir)"';
10709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
10710 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
10711 # Check whether --enable-maintainer-mode was given.
10712 if test "${enable_maintainer_mode+set}" = set; then :
10713 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
10715 USE_MAINTAINER_MODE
=no
10718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
10719 $as_echo "$USE_MAINTAINER_MODE" >&6; }
10720 if test $USE_MAINTAINER_MODE = yes; then
10721 MAINTAINER_MODE_TRUE
=
10722 MAINTAINER_MODE_FALSE
='#'
10724 MAINTAINER_MODE_TRUE
='#'
10725 MAINTAINER_MODE_FALSE
=
10728 MAINT
=$MAINTAINER_MODE_TRUE
10731 # Default to --enable-multilib
10732 # Check whether --enable-multilib was given.
10733 if test "${enable_multilib+set}" = set; then :
10734 enableval
=$enable_multilib; case "$enableval" in
10735 yes) multilib
=yes ;;
10737 *) as_fn_error
"bad value $enableval for multilib option" "$LINENO" 5 ;;
10744 # We may get other options which we leave undocumented:
10745 # --with-target-subdir, --with-multisrctop, --with-multisubdir
10746 # See config-ml.in if you want the gory details.
10748 if test "$srcdir" = "."; then
10749 if test "$with_target_subdir" != "."; then
10750 multi_basedir
="$srcdir/$with_multisrctop../.."
10752 multi_basedir
="$srcdir/$with_multisrctop.."
10755 multi_basedir
="$srcdir/.."
10759 # Even if the default multilib is not a cross compilation,
10760 # it may be that some of the other multilibs are.
10761 if test $cross_compiling = no
&& test $multilib = yes \
10762 && test "x${with_multisubdir}" != x
; then
10763 cross_compiling
=maybe
10766 ac_config_commands
="$ac_config_commands default-1"
10770 ac_cpp
='$CPP $CPPFLAGS'
10771 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10772 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10773 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10775 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
10776 # We must force CC to /not/ be precious variables; otherwise
10777 # the wrong, non-multilib-adjusted value will be used in multilibs.
10778 # As a side effect, we have to subst CFLAGS ourselves.
10783 ac_cpp
='$CPP $CPPFLAGS'
10784 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10785 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10786 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10787 if test -n "$ac_tool_prefix"; then
10788 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10789 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
10790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10791 $as_echo_n "checking for $ac_word... " >&6; }
10792 if test "${ac_cv_prog_CC+set}" = set; then :
10793 $as_echo_n "(cached) " >&6
10795 if test -n "$CC"; then
10796 ac_cv_prog_CC
="$CC" # Let the user override the test.
10798 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10799 for as_dir
in $PATH
10802 test -z "$as_dir" && as_dir
=.
10803 for ac_exec_ext
in '' $ac_executable_extensions; do
10804 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10805 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
10806 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10816 if test -n "$CC"; then
10817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
10818 $as_echo "$CC" >&6; }
10820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10821 $as_echo "no" >&6; }
10826 if test -z "$ac_cv_prog_CC"; then
10828 # Extract the first word of "gcc", so it can be a program name with args.
10829 set dummy gcc
; ac_word
=$2
10830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10831 $as_echo_n "checking for $ac_word... " >&6; }
10832 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
10833 $as_echo_n "(cached) " >&6
10835 if test -n "$ac_ct_CC"; then
10836 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10838 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10839 for as_dir
in $PATH
10842 test -z "$as_dir" && as_dir
=.
10843 for ac_exec_ext
in '' $ac_executable_extensions; do
10844 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10845 ac_cv_prog_ac_ct_CC
="gcc"
10846 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10855 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10856 if test -n "$ac_ct_CC"; then
10857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
10858 $as_echo "$ac_ct_CC" >&6; }
10860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10861 $as_echo "no" >&6; }
10864 if test "x$ac_ct_CC" = x
; then
10867 case $cross_compiling:$ac_tool_warned in
10869 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10870 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10871 ac_tool_warned
=yes ;;
10876 CC
="$ac_cv_prog_CC"
10879 if test -z "$CC"; then
10880 if test -n "$ac_tool_prefix"; then
10881 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10882 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
10883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10884 $as_echo_n "checking for $ac_word... " >&6; }
10885 if test "${ac_cv_prog_CC+set}" = set; then :
10886 $as_echo_n "(cached) " >&6
10888 if test -n "$CC"; then
10889 ac_cv_prog_CC
="$CC" # Let the user override the test.
10891 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10892 for as_dir
in $PATH
10895 test -z "$as_dir" && as_dir
=.
10896 for ac_exec_ext
in '' $ac_executable_extensions; do
10897 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10898 ac_cv_prog_CC
="${ac_tool_prefix}cc"
10899 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10909 if test -n "$CC"; then
10910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
10911 $as_echo "$CC" >&6; }
10913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10914 $as_echo "no" >&6; }
10920 if test -z "$CC"; then
10921 # Extract the first word of "cc", so it can be a program name with args.
10922 set dummy cc
; ac_word
=$2
10923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10924 $as_echo_n "checking for $ac_word... " >&6; }
10925 if test "${ac_cv_prog_CC+set}" = set; then :
10926 $as_echo_n "(cached) " >&6
10928 if test -n "$CC"; then
10929 ac_cv_prog_CC
="$CC" # Let the user override the test.
10931 ac_prog_rejected
=no
10932 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10933 for as_dir
in $PATH
10936 test -z "$as_dir" && as_dir
=.
10937 for ac_exec_ext
in '' $ac_executable_extensions; do
10938 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10939 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10940 ac_prog_rejected
=yes
10944 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10951 if test $ac_prog_rejected = yes; then
10952 # We found a bogon in the path, so make sure we never use it.
10953 set dummy
$ac_cv_prog_CC
10955 if test $# != 0; then
10956 # We chose a different compiler from the bogus one.
10957 # However, it has the same basename, so the bogon will be chosen
10958 # first if we set CC to just the basename; use the full file name.
10960 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
10966 if test -n "$CC"; then
10967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
10968 $as_echo "$CC" >&6; }
10970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10971 $as_echo "no" >&6; }
10976 if test -z "$CC"; then
10977 if test -n "$ac_tool_prefix"; then
10978 for ac_prog
in cl.exe
10980 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10981 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
10982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10983 $as_echo_n "checking for $ac_word... " >&6; }
10984 if test "${ac_cv_prog_CC+set}" = set; then :
10985 $as_echo_n "(cached) " >&6
10987 if test -n "$CC"; then
10988 ac_cv_prog_CC
="$CC" # Let the user override the test.
10990 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10991 for as_dir
in $PATH
10994 test -z "$as_dir" && as_dir
=.
10995 for ac_exec_ext
in '' $ac_executable_extensions; do
10996 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10997 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
10998 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11008 if test -n "$CC"; then
11009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11010 $as_echo "$CC" >&6; }
11012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11013 $as_echo "no" >&6; }
11017 test -n "$CC" && break
11020 if test -z "$CC"; then
11022 for ac_prog
in cl.exe
11024 # Extract the first word of "$ac_prog", so it can be a program name with args.
11025 set dummy
$ac_prog; ac_word
=$2
11026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11027 $as_echo_n "checking for $ac_word... " >&6; }
11028 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
11029 $as_echo_n "(cached) " >&6
11031 if test -n "$ac_ct_CC"; then
11032 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11034 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11035 for as_dir
in $PATH
11038 test -z "$as_dir" && as_dir
=.
11039 for ac_exec_ext
in '' $ac_executable_extensions; do
11040 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11041 ac_cv_prog_ac_ct_CC
="$ac_prog"
11042 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11051 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11052 if test -n "$ac_ct_CC"; then
11053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11054 $as_echo "$ac_ct_CC" >&6; }
11056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11057 $as_echo "no" >&6; }
11061 test -n "$ac_ct_CC" && break
11064 if test "x$ac_ct_CC" = x
; then
11067 case $cross_compiling:$ac_tool_warned in
11069 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11070 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11071 ac_tool_warned
=yes ;;
11080 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11081 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11082 as_fn_error
"no acceptable C compiler found in \$PATH
11083 See \`config.log' for more details." "$LINENO" 5; }
11085 # Provide some information about the compiler.
11086 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
11089 for ac_option
in --version -v -V -qversion; do
11090 { { ac_try
="$ac_compiler $ac_option >&5"
11091 case "(($ac_try" in
11092 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11093 *) ac_try_echo=$ac_try;;
11095 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11096 $as_echo "$ac_try_echo"; } >&5
11097 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
11099 if test -s conftest.err; then
11101 ... rest of stderr output deleted ...
11102 10q' conftest.err >conftest.er1
11103 cat conftest.er1 >&5
11104 rm -f conftest.er1 conftest.err
11106 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11107 test $ac_status = 0; }
11110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
11111 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
11112 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
11113 $as_echo_n "(cached) " >&6
11115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11116 /* end confdefs.h. */
11129 if ac_fn_c_try_compile "$LINENO"; then :
11130 ac_compiler_gnu=yes
11134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11135 ac_cv_c_compiler_gnu=$ac_compiler_gnu
11138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
11139 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
11140 if test $ac_compiler_gnu = yes; then
11145 ac_test_CFLAGS=${CFLAGS+set}
11146 ac_save_CFLAGS=$CFLAGS
11147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
11148 $as_echo_n "checking whether $CC accepts -g... " >&6; }
11149 if test "${ac_cv_prog_cc_g+set}" = set; then :
11150 $as_echo_n "(cached) " >&6
11152 ac_save_c_werror_flag=$ac_c_werror_flag
11153 ac_c_werror_flag=yes
11156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11157 /* end confdefs.h. */
11167 if ac_fn_c_try_compile "$LINENO"; then :
11168 ac_cv_prog_cc_g=yes
11171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11172 /* end confdefs.h. */
11182 if ac_fn_c_try_compile "$LINENO"; then :
11185 ac_c_werror_flag=$ac_save_c_werror_flag
11187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11188 /* end confdefs.h. */
11198 if ac_fn_c_try_compile "$LINENO"; then :
11199 ac_cv_prog_cc_g=yes
11201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11206 ac_c_werror_flag=$ac_save_c_werror_flag
11208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
11209 $as_echo "$ac_cv_prog_cc_g" >&6; }
11210 if test "$ac_test_CFLAGS" = set; then
11211 CFLAGS=$ac_save_CFLAGS
11212 elif test $ac_cv_prog_cc_g = yes; then
11213 if test "$GCC" = yes; then
11219 if test "$GCC" = yes; then
11225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
11226 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
11227 if test "${ac_cv_prog_cc_c89+set}" = set; then :
11228 $as_echo_n "(cached) " >&6
11230 ac_cv_prog_cc_c89=no
11232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11233 /* end confdefs.h. */
11234 #include <stdarg.h>
11236 #include <sys/types.h>
11237 #include <sys/stat.h>
11238 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11239 struct buf { int x; };
11240 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11241 static char *e (p, i)
11247 static char *f (char * (*g) (char **, int), char **p, ...)
11252 s = g (p, va_arg (v,int));
11257 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11258 function prototypes and stuff, but not '\xHH' hex character constants.
11259 These don't provoke an error unfortunately, instead are silently treated
11260 as 'x'. The following induces an error, until -std is added to get
11261 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11262 array size at least. It's necessary to write '\x00'==0 to get something
11263 that's true only with -std. */
11264 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11266 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
11267 inside strings and character constants. */
11269 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
11271 int test (int i, double x);
11272 struct s1 {int (*f) (int a);};
11273 struct s2 {int (*f) (double a);};
11274 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11280 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11285 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
11286 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11288 CC="$ac_save_CC $ac_arg"
11289 if ac_fn_c_try_compile "$LINENO"; then :
11290 ac_cv_prog_cc_c89=$ac_arg
11292 rm -f core conftest.err conftest.$ac_objext
11293 test "x$ac_cv_prog_cc_c89" != "xno" && break
11295 rm -f conftest.$ac_ext
11300 case "x$ac_cv_prog_cc_c89" in
11302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
11303 $as_echo "none needed" >&6; } ;;
11305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
11306 $as_echo "unsupported" >&6; } ;;
11308 CC="$CC $ac_cv_prog_cc_c89"
11309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
11310 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
11312 if test "x$ac_cv_prog_cc_c89" != xno; then :
11317 ac_cpp='$CPP $CPPFLAGS'
11318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11322 depcc="$CC" am_compiler_list=
11324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
11325 $as_echo_n "checking dependency style of $depcc... " >&6; }
11326 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
11327 $as_echo_n "(cached) " >&6
11329 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
11330 # We make a subdir and do the tests there. Otherwise we can end up
11331 # making bogus files that we don't know about and never remove. For
11332 # instance it was reported that on HP-UX the gcc test will end up
11333 # making a dummy file named `D
' -- because `-MD' means
`put the output
11336 # Copy depcomp to subdir because otherwise we won't find it if we're
11337 # using a relative directory.
11338 cp "$am_depcomp" conftest.dir
11340 # We will build objects and dependencies in a subdirectory because
11341 # it helps to detect inapplicable dependency modes. For instance
11342 # both Tru64's cc and ICC support -MD to output dependencies as a
11343 # side effect of compilation, but ICC will put the dependencies in
11344 # the current directory while Tru64 will put them in the object
11348 am_cv_CC_dependencies_compiler_type=none
11349 if test "$am_compiler_list" = ""; then
11350 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
11352 am__universal=false
11353 case " $depcc " in #(
11354 *\ -arch\ *\ -arch\ *) am__universal=true ;;
11357 for depmode in $am_compiler_list; do
11358 # Setup a source with many dependencies, because some compilers
11359 # like to wrap large dependency lists on column 80 (with \), and
11360 # we should not choose a depcomp mode which is confused by this.
11362 # We need to recreate these files for each test, as the compiler may
11363 # overwrite some of them when testing with obscure command lines.
11364 # This happens at least with the AIX C compiler.
11366 for i in 1 2 3 4 5 6; do
11367 echo '#include "conftst'$i'.h"' >> sub/conftest.c
11368 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
11369 # Solaris 8's
{/usr
,}/bin
/sh.
11370 touch sub
/conftst
$i.h
11372 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
11374 # We check with `-c' and `-o' for the sake of the "dashmstdout"
11375 # mode. It turns out that the SunPro C++ compiler does not properly
11376 # handle `-M -o', and we need to detect this. Also, some Intel
11377 # versions had trouble with output in subdirs
11378 am__obj
=sub
/conftest.
${OBJEXT-o}
11379 am__minus_obj
="-o $am__obj"
11382 # This depmode causes a compiler race in universal mode.
11383 test "$am__universal" = false ||
continue
11386 # after this tag, mechanisms are not by side-effect, so they'll
11387 # only be used when explicitly requested
11388 if test "x$enable_dependency_tracking" = xyes
; then
11394 msvisualcpp | msvcmsys
)
11395 # This compiler won't grok `-c -o', but also, the minuso test has
11396 # not run yet. These depmodes are late enough in the game, and
11397 # so weak that their functioning should not be impacted.
11398 am__obj
=conftest.
${OBJEXT-o}
11403 if depmode
=$depmode \
11404 source=sub
/conftest.c object
=$am__obj \
11405 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
11406 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
11407 >/dev
/null
2>conftest.err
&&
11408 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
11409 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
11410 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
11411 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
11412 # icc doesn't choke on unknown options, it will just issue warnings
11413 # or remarks (even with -Werror). So we grep stderr for any message
11414 # that says an option was ignored or not supported.
11415 # When given -MP, icc 7.0 and 7.1 complain thusly:
11416 # icc: Command line warning: ignoring option '-M'; no argument required
11417 # The diagnosis changed in icc 8.0:
11418 # icc: Command line remark: option '-MP' not supported
11419 if (grep 'ignoring option' conftest.err ||
11420 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
11421 am_cv_CC_dependencies_compiler_type
=$depmode
11428 rm -rf conftest.dir
11430 am_cv_CC_dependencies_compiler_type
=none
11434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
11435 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
11436 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
11439 test "x$enable_dependency_tracking" != xno \
11440 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
11441 am__fastdepCC_TRUE
=
11442 am__fastdepCC_FALSE
='#'
11444 am__fastdepCC_TRUE
='#'
11445 am__fastdepCC_FALSE
=
11453 if test "x$CC" != xcc
; then
11454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
11455 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
11457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
11458 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
11460 set dummy
$CC; ac_cc
=`$as_echo "$2" |
11461 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
11462 if { as_var
=ac_cv_prog_cc_
${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
11463 $as_echo_n "(cached) " >&6
11465 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11466 /* end confdefs.h. */
11476 # Make sure it works both with $CC and with simple cc.
11477 # We do the test twice because some compilers refuse to overwrite an
11478 # existing .o file with -o, though they will create one.
11479 ac_try
='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
11481 if { { case "(($ac_try" in
11482 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11483 *) ac_try_echo=$ac_try;;
11485 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11486 $as_echo "$ac_try_echo"; } >&5
11487 (eval "$ac_try") 2>&5
11489 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11490 test $ac_status = 0; } &&
11491 test -f conftest2.$ac_objext && { { case "(($ac_try" in
11492 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11493 *) ac_try_echo
=$ac_try;;
11495 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11496 $as_echo "$ac_try_echo"; } >&5
11497 (eval "$ac_try") 2>&5
11499 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11500 test $ac_status = 0; };
11502 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
11503 if test "x$CC" != xcc
; then
11504 # Test first that cc exists at all.
11505 if { ac_try
='cc -c conftest.$ac_ext >&5'
11506 { { case "(($ac_try" in
11507 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11508 *) ac_try_echo=$ac_try;;
11510 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11511 $as_echo "$ac_try_echo"; } >&5
11512 (eval "$ac_try") 2>&5
11514 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11515 test $ac_status = 0; }; }; then
11516 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
11518 if { { case "(($ac_try" in
11519 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11520 *) ac_try_echo
=$ac_try;;
11522 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11523 $as_echo "$ac_try_echo"; } >&5
11524 (eval "$ac_try") 2>&5
11526 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11527 test $ac_status = 0; } &&
11528 test -f conftest2.
$ac_objext && { { case "(($ac_try" in
11529 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11530 *) ac_try_echo=$ac_try;;
11532 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11533 $as_echo "$ac_try_echo"; } >&5
11534 (eval "$ac_try") 2>&5
11536 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11537 test $ac_status = 0; };
11542 # cc exists but doesn't like -o.
11543 eval ac_cv_prog_cc_${ac_cc}_c_o=no
11548 eval ac_cv_prog_cc_${ac_cc}_c_o=no
11550 rm -f core conftest*
11553 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
11554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11555 $as_echo "yes" >&6; }
11557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11558 $as_echo "no" >&6; }
11560 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
11564 # FIXME: we rely on the cache variable name because
11565 # there is no other way.
11567 am_cc=`echo $2 |
sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
11568 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
11569 if test "$am_t" != yes; then
11570 # Losing compiler, so override with the script.
11571 # FIXME: It is wrong to rewrite CC.
11572 # But if we don't then we get into trouble of one sort or another.
11573 # A longer-term fix would be to have automake use am__CC in this case,
11574 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
11575 CC="$am_aux_dir/compile $CC"
11580 if test "x$GCC" != "xyes"; then
11581 as_fn_error "libquadmath must be built with GCC" "$LINENO" 5
11584 ac_cpp='$CPP $CPPFLAGS'
11585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
11589 $as_echo_n "checking how to run the C preprocessor... " >&6; }
11590 # On Suns, sometimes $CPP names a directory.
11591 if test -n "$CPP" && test -d "$CPP"; then
11594 if test -z "$CPP"; then
11595 if test "${ac_cv_prog_CPP+set}" = set; then :
11596 $as_echo_n "(cached) " >&6
11598 # Double quotes because CPP needs to be expanded
11599 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
11601 ac_preproc_ok=false
11602 for ac_c_preproc_warn_flag in '' yes
11604 # Use a header file that comes with gcc, so configuring glibc
11605 # with a fresh cross-compiler works.
11606 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11607 # <limits.h> exists even on freestanding compilers.
11608 # On the NeXT, cc -E runs the code through the compiler's parser,
11609 # not just through cpp. "Syntax error" is here to catch this case.
11610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11611 /* end confdefs.h. */
11613 # include <limits.h>
11615 # include <assert.h>
11619 if ac_fn_c_try_cpp "$LINENO"; then :
11622 # Broken: fails on valid input.
11625 rm -f conftest.err conftest.$ac_ext
11627 # OK, works on sane cases. Now check whether nonexistent headers
11628 # can be detected and how.
11629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11630 /* end confdefs.h. */
11631 #include <ac_nonexistent.h>
11633 if ac_fn_c_try_cpp "$LINENO"; then :
11634 # Broken: success on invalid input.
11637 # Passes both tests.
11641 rm -f conftest.err conftest.$ac_ext
11644 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11645 rm -f conftest.err conftest.
$ac_ext
11646 if $ac_preproc_ok; then :
11651 ac_cv_prog_CPP
=$CPP
11654 CPP
=$ac_cv_prog_CPP
11656 ac_cv_prog_CPP
=$CPP
11658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
11659 $as_echo "$CPP" >&6; }
11660 ac_preproc_ok
=false
11661 for ac_c_preproc_warn_flag
in '' yes
11663 # Use a header file that comes with gcc, so configuring glibc
11664 # with a fresh cross-compiler works.
11665 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11666 # <limits.h> exists even on freestanding compilers.
11667 # On the NeXT, cc -E runs the code through the compiler's parser,
11668 # not just through cpp. "Syntax error" is here to catch this case.
11669 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11670 /* end confdefs.h. */
11672 # include <limits.h>
11674 # include <assert.h>
11678 if ac_fn_c_try_cpp
"$LINENO"; then :
11681 # Broken: fails on valid input.
11684 rm -f conftest.err conftest.
$ac_ext
11686 # OK, works on sane cases. Now check whether nonexistent headers
11687 # can be detected and how.
11688 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11689 /* end confdefs.h. */
11690 #include <ac_nonexistent.h>
11692 if ac_fn_c_try_cpp
"$LINENO"; then :
11693 # Broken: success on invalid input.
11696 # Passes both tests.
11700 rm -f conftest.err conftest.
$ac_ext
11703 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11704 rm -f conftest.err conftest.
$ac_ext
11705 if $ac_preproc_ok; then :
11708 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11709 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11710 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
11711 See \`config.log' for more details." "$LINENO" 5; }
11715 ac_cpp
='$CPP $CPPFLAGS'
11716 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11717 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11718 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11721 # Calculate toolexeclibdir
11722 # Also toolexecdir, though it's only used in toolexeclibdir
11723 case ${version_specific_libs} in
11725 # Need the gcc compiler version to know where to install libraries
11726 # and header files if --enable-version-specific-runtime-libs option
11728 toolexecdir
='$(libdir)/gcc/$(target_alias)'
11729 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
11732 if test -n "$with_cross_host" &&
11733 test x
"$with_cross_host" != x
"no"; then
11734 # Install a library built with a cross compiler in tooldir, not libdir.
11735 toolexecdir
='$(exec_prefix)/$(target_alias)'
11736 toolexeclibdir
='$(toolexecdir)/lib'
11738 toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
11739 toolexeclibdir
='$(libdir)'
11741 multi_os_directory
=`$CC -print-multi-os-directory`
11742 case $multi_os_directory in
11743 .
) ;; # Avoid trailing /.
11744 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
11751 # If available, sqrtl and cbrtl speed up the calculation -
11752 # but they are not required
11753 if test x
$gcc_no_link != xyes
; then
11754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl in -lm" >&5
11755 $as_echo_n "checking for sqrtl in -lm... " >&6; }
11756 if test "${ac_cv_lib_m_sqrtl+set}" = set; then :
11757 $as_echo_n "(cached) " >&6
11759 ac_check_lib_save_LIBS
=$LIBS
11761 if test x
$gcc_no_link = xyes
; then
11762 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11764 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11765 /* end confdefs.h. */
11767 /* Override any GCC internal prototype to avoid an error.
11768 Use char because int might match the return type of a GCC
11769 builtin and then its argument prototype would still apply. */
11782 if ac_fn_c_try_link
"$LINENO"; then :
11783 ac_cv_lib_m_sqrtl
=yes
11785 ac_cv_lib_m_sqrtl
=no
11787 rm -f core conftest.err conftest.
$ac_objext \
11788 conftest
$ac_exeext conftest.
$ac_ext
11789 LIBS
=$ac_check_lib_save_LIBS
11791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrtl" >&5
11792 $as_echo "$ac_cv_lib_m_sqrtl" >&6; }
11793 if test "x$ac_cv_lib_m_sqrtl" = x
""yes; then :
11795 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
11799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cbrtl in -lm" >&5
11800 $as_echo_n "checking for cbrtl in -lm... " >&6; }
11801 if test "${ac_cv_lib_m_cbrtl+set}" = set; then :
11802 $as_echo_n "(cached) " >&6
11804 ac_check_lib_save_LIBS
=$LIBS
11806 if test x
$gcc_no_link = xyes
; then
11807 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11809 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11810 /* end confdefs.h. */
11812 /* Override any GCC internal prototype to avoid an error.
11813 Use char because int might match the return type of a GCC
11814 builtin and then its argument prototype would still apply. */
11827 if ac_fn_c_try_link
"$LINENO"; then :
11828 ac_cv_lib_m_cbrtl
=yes
11830 ac_cv_lib_m_cbrtl
=no
11832 rm -f core conftest.err conftest.
$ac_objext \
11833 conftest
$ac_exeext conftest.
$ac_ext
11834 LIBS
=$ac_check_lib_save_LIBS
11836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cbrtl" >&5
11837 $as_echo "$ac_cv_lib_m_cbrtl" >&6; }
11838 if test "x$ac_cv_lib_m_cbrtl" = x
""yes; then :
11840 $as_echo "#define HAVE_CBRTL 1" >>confdefs.h
11845 if test "x$ac_cv_lib_m_sqrtl" = x
""yes; then
11847 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
11850 if test "x$ac_cv_lib_m_cbrtl" = x
""yes; then
11852 $as_echo "#define HAVE_CBRTL 1" >>confdefs.h
11857 # Check for symbol versioning (copied from libssp).
11858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether symbol versioning is supported" >&5
11859 $as_echo_n "checking whether symbol versioning is supported... " >&6; }
11860 if test x
$gcc_no_link = xyes
; then
11861 # If we cannot link, we cannot build shared libraries, so do not use
11862 # symbol versioning.
11863 quadmath_use_symver
=no
11865 save_LDFLAGS
="$LDFLAGS"
11866 LDFLAGS
="$LDFLAGS -fPIC -shared -Wl,--version-script,./conftest.map"
11867 cat > conftest.map
<<EOF
11869 global: *foo*; bar; local: *;
11872 if test x
$gcc_no_link = xyes
; then
11873 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11875 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11876 /* end confdefs.h. */
11886 if ac_fn_c_try_link
"$LINENO"; then :
11887 quadmath_use_symver
=gnu
11889 quadmath_use_symver
=no
11891 rm -f core conftest.err conftest.
$ac_objext \
11892 conftest
$ac_exeext conftest.
$ac_ext
11893 if test x
$quadmath_use_symver = xno
; then
11894 case "$target_os" in
11896 LDFLAGS
="$save_LDFLAGS"
11897 LDFLAGS
="$LDFLAGS -fPIC -shared -Wl,-M,./conftest.map"
11898 # Sun ld cannot handle wildcards and treats all entries as undefined.
11899 cat > conftest.map
<<EOF
11901 global: foo; local: *;
11904 if test x
$gcc_no_link = xyes
; then
11905 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11907 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11908 /* end confdefs.h. */
11918 if ac_fn_c_try_link
"$LINENO"; then :
11919 quadmath_use_symver
=sun
11921 quadmath_use_symver
=no
11923 rm -f core conftest.err conftest.
$ac_objext \
11924 conftest
$ac_exeext conftest.
$ac_ext
11928 LDFLAGS
="$save_LDFLAGS"
11930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $quadmath_use_symver" >&5
11931 $as_echo "$quadmath_use_symver" >&6; }
11932 if test "x$quadmath_use_symver" != xno
; then
11933 LIBQUAD_USE_SYMVER_TRUE
=
11934 LIBQUAD_USE_SYMVER_FALSE
='#'
11936 LIBQUAD_USE_SYMVER_TRUE
='#'
11937 LIBQUAD_USE_SYMVER_FALSE
=
11940 if test "x$quadmath_use_symver" = xgnu
; then
11941 LIBQUAD_USE_SYMVER_GNU_TRUE
=
11942 LIBQUAD_USE_SYMVER_GNU_FALSE
='#'
11944 LIBQUAD_USE_SYMVER_GNU_TRUE
='#'
11945 LIBQUAD_USE_SYMVER_GNU_FALSE
=
11948 if test "x$quadmath_use_symver" = xsun
; then
11949 LIBQUAD_USE_SYMVER_SUN_TRUE
=
11950 LIBQUAD_USE_SYMVER_SUN_FALSE
='#'
11952 LIBQUAD_USE_SYMVER_SUN_TRUE
='#'
11953 LIBQUAD_USE_SYMVER_SUN_FALSE
=
11957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __float128 is supported" >&5
11958 $as_echo_n "checking whether __float128 is supported... " >&6; }
11959 if test "${libquad_cv_have_float128+set}" = set; then :
11960 $as_echo_n "(cached) " >&6
11962 if test x
$gcc_no_link = xyes
; then
11963 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11964 /* end confdefs.h. */
11966 typedef _Complex float __attribute__((mode(TC))) __complex128;
11968 __float128 foo (__float128 x)
11971 __complex128 z1, z2;
11977 return (__float128) z2;
11980 __float128 bar (__float128 x)
11982 return x * __builtin_huge_valq ();
11996 if ac_fn_c_try_compile
"$LINENO"; then :
11998 libquad_cv_have_float128
=yes
12002 libquad_cv_have_float128
=no
12005 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12007 if test x
$gcc_no_link = xyes
; then
12008 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12010 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12011 /* end confdefs.h. */
12013 typedef _Complex float __attribute__((mode(TC))) __complex128;
12015 __float128 foo (__float128 x)
12018 __complex128 z1, z2;
12024 return (__float128) z2;
12027 __float128 bar (__float128 x)
12029 return x * __builtin_huge_valq ();
12043 if ac_fn_c_try_link
"$LINENO"; then :
12045 libquad_cv_have_float128
=yes
12049 libquad_cv_have_float128
=no
12052 rm -f core conftest.err conftest.
$ac_objext \
12053 conftest
$ac_exeext conftest.
$ac_ext
12056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libquad_cv_have_float128" >&5
12057 $as_echo "$libquad_cv_have_float128" >&6; }
12058 if test "x$libquad_cv_have_float128" = xyes
; then
12059 BUILD_LIBQUADMATH_TRUE
=
12060 BUILD_LIBQUADMATH_FALSE
='#'
12062 BUILD_LIBQUADMATH_TRUE
='#'
12063 BUILD_LIBQUADMATH_FALSE
=
12067 cat >confcache
<<\_ACEOF
12068 # This file is a shell script that caches the results of configure
12069 # tests run on this system so they can be shared between configure
12070 # scripts and configure runs, see configure's option --config-cache.
12071 # It is not useful on other systems. If it contains results you don't
12072 # want to keep, you may remove or edit it.
12074 # config.status only pays attention to the cache file if you give it
12075 # the --recheck option to rerun configure.
12077 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12078 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12079 # following values.
12083 # The following way of writing the cache mishandles newlines in values,
12084 # but we know of no workaround that is simple, portable, and efficient.
12085 # So, we kill variables containing newlines.
12086 # Ultrix sh set writes to stderr and can't be redirected directly,
12087 # and sets the high bit in the cache file unless we assign to the vars.
12089 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12090 eval ac_val
=\$
$ac_var
12094 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12095 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12098 _ | IFS | as_nl
) ;; #(
12099 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
12100 *) { eval $ac_var=; unset $ac_var;} ;;
12106 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12107 *${as_nl}ac_space
=\
*)
12108 # `set' does not quote correctly, so add quotes: double-quote
12109 # substitution turns \\\\ into \\, and sed turns \\ into \.
12112 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12115 # `set' quotes correctly as required by POSIX, so do not add quotes.
12116 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12125 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12127 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12129 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
12130 if test -w "$cache_file"; then
12131 test "x$cache_file" != "x/dev/null" &&
12132 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12133 $as_echo "$as_me: updating cache $cache_file" >&6;}
12134 cat confcache
>$cache_file
12136 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12137 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12142 if test ${multilib} = yes; then
12143 multilib_arg
="--enable-multilib"
12149 # We would like our source tree to be readonly. However when releases or
12150 # pre-releases are generated, the flex/bison generated files as well as the
12151 # various formats of manuals need to be included along with the rest of the
12152 # sources. Therefore we have --enable-generated-files-in-srcdir to do
12154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking generated-files-in-srcdir" >&5
12155 $as_echo_n "checking generated-files-in-srcdir... " >&6; }
12156 # Check whether --enable-generated-files-in-srcdir was given.
12157 if test "${enable_generated_files_in_srcdir+set}" = set; then :
12158 enableval
=$enable_generated_files_in_srcdir; case "$enableval" in
12159 yes) enable_generated_files_in_srcdir
=yes ;;
12160 no
) enable_generated_files_in_srcdir
=no
;;
12161 *) as_fn_error
"Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
12164 enable_generated_files_in_srcdir
=no
12167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_generated_files_in_srcdir" >&5
12168 $as_echo "$enable_generated_files_in_srcdir" >&6; }
12169 if test "$enable_generated_files_in_srcdir" = yes; then
12179 ac_config_files
="$ac_config_files Makefile"
12181 cat >confcache
<<\_ACEOF
12182 # This file is a shell script that caches the results of configure
12183 # tests run on this system so they can be shared between configure
12184 # scripts and configure runs, see configure's option --config-cache.
12185 # It is not useful on other systems. If it contains results you don't
12186 # want to keep, you may remove or edit it.
12188 # config.status only pays attention to the cache file if you give it
12189 # the --recheck option to rerun configure.
12191 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12192 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12193 # following values.
12197 # The following way of writing the cache mishandles newlines in values,
12198 # but we know of no workaround that is simple, portable, and efficient.
12199 # So, we kill variables containing newlines.
12200 # Ultrix sh set writes to stderr and can't be redirected directly,
12201 # and sets the high bit in the cache file unless we assign to the vars.
12203 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12204 eval ac_val
=\$
$ac_var
12208 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12209 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12212 _ | IFS | as_nl
) ;; #(
12213 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
12214 *) { eval $ac_var=; unset $ac_var;} ;;
12220 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12221 *${as_nl}ac_space
=\
*)
12222 # `set' does not quote correctly, so add quotes: double-quote
12223 # substitution turns \\\\ into \\, and sed turns \\ into \.
12226 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12229 # `set' quotes correctly as required by POSIX, so do not add quotes.
12230 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12239 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12241 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12243 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
12244 if test -w "$cache_file"; then
12245 test "x$cache_file" != "x/dev/null" &&
12246 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12247 $as_echo "$as_me: updating cache $cache_file" >&6;}
12248 cat confcache
>$cache_file
12250 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12251 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12256 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
12257 # Let make expand exec_prefix.
12258 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
12260 DEFS
=-DHAVE_CONFIG_H
12264 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
12265 # 1. Remove the extension, and $U if already installed.
12266 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
12267 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
12268 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
12269 # will be set to the directory where LIBOBJS objects are built.
12270 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12271 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
12273 LIBOBJS
=$ac_libobjs
12275 LTLIBOBJS
=$ac_ltlibobjs
12278 if test -n "$EXEEXT"; then
12280 am__EXEEXT_FALSE
='#'
12282 am__EXEEXT_TRUE
='#'
12286 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
12287 as_fn_error
"conditional \"BUILD_INFO\" was never defined.
12288 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12290 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12291 as_fn_error
"conditional \"AMDEP\" was never defined.
12292 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12294 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12295 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
12296 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12298 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
12299 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
12300 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12302 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12303 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
12304 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12306 if test -z "${LIBQUAD_USE_SYMVER_TRUE}" && test -z "${LIBQUAD_USE_SYMVER_FALSE}"; then
12307 as_fn_error
"conditional \"LIBQUAD_USE_SYMVER\" was never defined.
12308 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12310 if test -z "${LIBQUAD_USE_SYMVER_GNU_TRUE}" && test -z "${LIBQUAD_USE_SYMVER_GNU_FALSE}"; then
12311 as_fn_error
"conditional \"LIBQUAD_USE_SYMVER_GNU\" was never defined.
12312 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12314 if test -z "${LIBQUAD_USE_SYMVER_SUN_TRUE}" && test -z "${LIBQUAD_USE_SYMVER_SUN_FALSE}"; then
12315 as_fn_error
"conditional \"LIBQUAD_USE_SYMVER_SUN\" was never defined.
12316 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12318 if test -z "${BUILD_LIBQUADMATH_TRUE}" && test -z "${BUILD_LIBQUADMATH_FALSE}"; then
12319 as_fn_error
"conditional \"BUILD_LIBQUADMATH\" was never defined.
12320 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12322 if test -z "${GENINSRC_TRUE}" && test -z "${GENINSRC_FALSE}"; then
12323 as_fn_error
"conditional \"GENINSRC\" was never defined.
12324 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12327 : ${CONFIG_STATUS=./config.status}
12329 ac_clean_files_save
=$ac_clean_files
12330 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
12331 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
12332 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
12334 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
12336 # Generated by $as_me.
12337 # Run this file to recreate the current configuration.
12338 # Compiler output produced by configure, useful for debugging
12339 # configure, is in config.log if it exists.
12342 ac_cs_recheck=false
12345 SHELL=\${CONFIG_SHELL-$SHELL}
12348 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
12349 ## -------------------- ##
12350 ## M4sh Initialization. ##
12351 ## -------------------- ##
12353 # Be more Bourne compatible
12354 DUALCASE
=1; export DUALCASE
# for MKS sh
12355 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
12358 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12359 # is contrary to our usage. Disable this feature.
12360 alias -g '${1+"$@"}'='"$@"'
12361 setopt NO_GLOB_SUBST
12363 case `(set -o) 2>/dev/null` in #(
12375 # Printing a long string crashes Solaris 7 /usr/bin/printf.
12376 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12377 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12378 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12379 # Prefer a ksh shell builtin over an external printf program on Solaris,
12380 # but without wasting forks for bash or zsh.
12381 if test -z "$BASH_VERSION$ZSH_VERSION" \
12382 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
12383 as_echo='print
-r --'
12384 as_echo_n='print
-rn --'
12385 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12386 as_echo='printf %s
\n'
12387 as_echo_n='printf %s
'
12389 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
12390 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
12391 as_echo_n='/usr
/ucb
/echo -n'
12393 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
12394 as_echo_n_body='eval
12398 expr "X$arg" : "X\\(.*\\)$as_nl";
12399 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
12401 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
12403 export as_echo_n_body
12404 as_echo_n='sh
-c $as_echo_n_body as_echo
'
12406 export as_echo_body
12407 as_echo='sh
-c $as_echo_body as_echo
'
12410 # The user is always right.
12411 if test "${PATH_SEPARATOR+set}" != set; then
12413 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
12414 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
12421 # We need space, tab and new line, in precisely that order. Quoting is
12422 # there to prevent editors from complaining about space-tab.
12423 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
12424 # splitting by setting IFS to empty value.)
12427 # Find who we are. Look in the path if we contain no directory separator.
12429 *[\\/]* ) as_myself=$0 ;;
12430 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12431 for as_dir in $PATH
12434 test -z "$as_dir" && as_dir=.
12435 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12441 # We did not find ourselves, most probably we were run as `sh COMMAND'
12442 # in which case we are not to be found in the path.
12443 if test "x$as_myself" = x
; then
12446 if test ! -f "$as_myself"; then
12447 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12451 # Unset variables that we do not need and which cause bugs (e.g. in
12452 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
12453 # suppresses any "Segmentation fault" message there. '((' could
12454 # trigger a bug in pdksh 5.2.14.
12455 for as_var
in BASH_ENV ENV MAIL MAILPATH
12456 do eval test x\
${$as_var+set} = xset \
12457 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
12470 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
12473 # as_fn_error ERROR [LINENO LOG_FD]
12474 # ---------------------------------
12475 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
12476 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
12477 # script with status $?, using 1 if that was 0.
12480 as_status
=$?
; test $as_status -eq 0 && as_status
=1
12482 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
12483 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
12485 $as_echo "$as_me: error: $1" >&2
12486 as_fn_exit
$as_status
12490 # as_fn_set_status STATUS
12491 # -----------------------
12492 # Set $? to STATUS, without forking.
12493 as_fn_set_status
()
12496 } # as_fn_set_status
12498 # as_fn_exit STATUS
12499 # -----------------
12500 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
12504 as_fn_set_status
$1
12510 # Portably unset VAR.
12513 { eval $1=; unset $1;}
12515 as_unset
=as_fn_unset
12516 # as_fn_append VAR VALUE
12517 # ----------------------
12518 # Append the text in VALUE to the end of the definition contained in VAR. Take
12519 # advantage of any shell optimizations that allow amortized linear growth over
12520 # repeated appends, instead of the typical quadratic growth present in naive
12522 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
12523 eval 'as_fn_append ()
12534 # as_fn_arith ARG...
12535 # ------------------
12536 # Perform arithmetic evaluation on the ARGs, and store the result in the
12537 # global $as_val. Take advantage of shells that can avoid forks. The arguments
12538 # must be portable across $(()) and expr.
12539 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
12540 eval 'as_fn_arith ()
12547 as_val
=`expr "$@" || test $? -eq 1`
12552 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
12553 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
12559 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12560 as_basename
=basename
12565 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
12571 as_me
=`$as_basename -- "$0" ||
12572 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12573 X"$0" : 'X\(//\)$' \| \
12574 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12576 sed '/^.*\/\([^/][^/]*\)\/*$/{
12590 # Avoid depending upon Character Ranges.
12591 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
12592 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12593 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
12594 as_cr_digits
='0123456789'
12595 as_cr_alnum
=$as_cr_Letters$as_cr_digits
12597 ECHO_C
= ECHO_N
= ECHO_T
=
12598 case `echo -n x` in #(((((
12600 case `echo 'xy\c'` in
12601 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
12603 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
12610 rm -f conf$$ conf$$.exe conf$$.
file
12611 if test -d conf$$.dir
; then
12612 rm -f conf$$.dir
/conf$$.
file
12615 mkdir conf$$.dir
2>/dev
/null
12617 if (echo >conf$$.
file) 2>/dev
/null
; then
12618 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
12620 # ... but there are two gotchas:
12621 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12622 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12623 # In both cases, we have to default to `cp -p'.
12624 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
12626 elif ln conf$$.
file conf$$
2>/dev
/null
; then
12634 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
12635 rmdir conf$$.dir
2>/dev
/null
12640 # Create "$as_dir" as a directory, including parents if necessary.
12645 -*) as_dir
=.
/$as_dir;;
12647 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
12651 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
12652 *) as_qdir
=$as_dir;;
12654 as_dirs
="'$as_qdir' $as_dirs"
12655 as_dir
=`$as_dirname -- "$as_dir" ||
12656 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12657 X"$as_dir" : 'X\(//\)[^/]' \| \
12658 X"$as_dir" : 'X\(//\)$' \| \
12659 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12660 $as_echo X"$as_dir" |
12661 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12665 /^X\(\/\/\)[^/].*/{
12678 test -d "$as_dir" && break
12680 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
12681 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
12685 if mkdir
-p .
2>/dev
/null
; then
12686 as_mkdir_p
='mkdir -p "$as_dir"'
12688 test -d .
/-p && rmdir .
/-p
12692 if test -x / >/dev
/null
2>&1; then
12693 as_test_x
='test -x'
12695 if ls -dL / >/dev
/null
2>&1; then
12702 if test -d "$1"; then
12708 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
12709 ???[sx]*):;;*)false;;esac;fi
12713 as_executable_p
=$as_test_x
12715 # Sed expression to map a string onto a valid CPP name.
12716 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12718 # Sed expression to map a string onto a valid variable name.
12719 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12723 ## ----------------------------------- ##
12724 ## Main body of $CONFIG_STATUS script. ##
12725 ## ----------------------------------- ##
12727 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
12729 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12730 # Save the log message, to keep $0 and so on meaningful, and to
12731 # report actual input values of CONFIG_FILES etc. instead of their
12732 # values after options handling.
12734 This file was extended by GCC Quad-precision Math Library $as_me 0.1, which was
12735 generated by GNU Autoconf 2.64. Invocation command line was
12737 CONFIG_FILES = $CONFIG_FILES
12738 CONFIG_HEADERS = $CONFIG_HEADERS
12739 CONFIG_LINKS = $CONFIG_LINKS
12740 CONFIG_COMMANDS = $CONFIG_COMMANDS
12743 on `(hostname || uname -n) 2>/dev/null | sed 1q`
12748 case $ac_config_files in *"
12749 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
12752 case $ac_config_headers in *"
12753 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
12757 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12758 # Files that config.status was made for.
12759 config_files="$ac_config_files"
12760 config_headers="$ac_config_headers"
12761 config_commands="$ac_config_commands"
12765 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12767 \`$as_me' instantiates files and other configuration actions
12768 from templates according to the current configuration. Unless the files
12769 and actions are specified as TAGs, all are instantiated by default.
12771 Usage: $0 [OPTION]... [TAG]...
12773 -h, --help print this help, then exit
12774 -V, --version print version number and configuration settings, then exit
12775 -q, --quiet, --silent
12776 do not print progress messages
12777 -d, --debug don't remove temporary files
12778 --recheck update $as_me by reconfiguring in the same conditions
12779 --file=FILE[:TEMPLATE]
12780 instantiate the configuration file FILE
12781 --header=FILE[:TEMPLATE]
12782 instantiate the configuration header FILE
12784 Configuration files:
12787 Configuration headers:
12790 Configuration commands:
12793 Report bugs to the package provider."
12796 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12798 GCC Quad-precision Math Library config.status 0.1
12799 configured by $0, generated by GNU Autoconf 2.64,
12800 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
12802 Copyright (C) 2009 Free Software Foundation, Inc.
12803 This config.status script is free software; the Free Software Foundation
12804 gives unlimited permission to copy, distribute and modify it."
12811 test -n "\$AWK" || AWK=awk
12814 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12815 # The default lists apply if the user does not specify any file.
12821 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
12822 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
12833 # Handling of the options.
12834 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
12836 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
12837 $as_echo "$ac_cs_version"; exit ;;
12838 --debug |
--debu |
--deb |
--de |
--d |
-d )
12840 --file |
--fil |
--fi |
--f )
12843 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12845 as_fn_append CONFIG_FILES
" '$ac_optarg'"
12846 ac_need_defaults
=false
;;
12847 --header |
--heade |
--head |
--hea )
12850 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12852 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
12853 ac_need_defaults
=false
;;
12855 # Conflict between --help and --header
12856 as_fn_error
"ambiguous option: \`$1'
12857 Try \`$0 --help' for more information.";;
12858 --help |
--hel |
-h )
12859 $as_echo "$ac_cs_usage"; exit ;;
12860 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
12861 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
12864 # This is an error.
12865 -*) as_fn_error
"unrecognized option: \`$1'
12866 Try \`$0 --help' for more information." ;;
12868 *) as_fn_append ac_config_targets
" $1"
12869 ac_need_defaults
=false
;;
12875 ac_configure_extra_args
=
12877 if $ac_cs_silent; then
12879 ac_configure_extra_args
="$ac_configure_extra_args --silent"
12883 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12884 if \$ac_cs_recheck; then
12885 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12887 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
12888 CONFIG_SHELL='$SHELL'
12889 export CONFIG_SHELL
12894 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12898 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12899 ## Running $as_me. ##
12905 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12909 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
12912 # The HP-UX ksh and POSIX shell print the target directory to stdout
12913 # if CDPATH is set.
12914 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12916 sed_quote_subst='$sed_quote_subst'
12917 double_quote_subst='$double_quote_subst'
12918 delay_variable_subst='$delay_variable_subst'
12919 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
12920 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
12921 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
12922 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
12923 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
12924 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
12925 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
12926 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
12927 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
12928 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
12929 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
12930 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
12931 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
12932 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
12933 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
12934 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
12935 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
12936 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
12937 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
12938 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
12939 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
12940 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
12941 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
12942 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
12943 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
12944 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
12945 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
12946 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
12947 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
12948 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
12949 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
12950 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
12951 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
12952 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
12953 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
12954 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
12955 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
12956 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
12957 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
12958 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
12959 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
12960 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
12961 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
12962 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
12963 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
12964 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
12965 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
12966 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
12967 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"`'
12968 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
12969 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
12970 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
12971 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
12972 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
12973 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
12974 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
12975 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
12976 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
12977 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
12978 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
12979 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
12980 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
12981 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
12982 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
12983 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
12984 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
12985 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
12986 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
12987 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
12988 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
12989 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
12990 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
12991 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
12992 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
12993 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
12994 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
12995 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
12996 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
12997 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
12998 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
12999 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
13000 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
13001 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
13002 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
13003 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
13004 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
13005 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
13006 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
13007 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
13008 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
13009 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
13010 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
13011 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
13012 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
13013 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
13014 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
13015 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
13016 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
13017 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
13018 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
13019 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
13020 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
13021 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
13022 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
13023 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
13024 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
13025 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
13026 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13027 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13028 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
13029 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
13030 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
13031 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
13032 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
13033 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
13034 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
13035 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
13036 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
13037 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
13038 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
13041 LTCFLAGS='$LTCFLAGS'
13042 compiler='$compiler_DEFAULT'
13044 # A function that is used when there is no print builtin or printf.
13045 func_fallback_echo ()
13047 eval 'cat <<_LTECHO_EOF
13052 # Quote evaled strings.
13066 deplibs_check_method \
13075 lt_cv_sys_global_symbol_pipe \
13076 lt_cv_sys_global_symbol_to_cdecl \
13077 lt_cv_sys_global_symbol_to_c_name_address \
13078 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13079 lt_prog_compiler_no_builtin_flag \
13080 lt_prog_compiler_wl \
13081 lt_prog_compiler_pic \
13082 lt_prog_compiler_static \
13083 lt_cv_prog_compiler_c_o \
13091 export_dynamic_flag_spec \
13092 whole_archive_flag_spec \
13093 compiler_needs_object \
13095 allow_undefined_flag \
13096 no_undefined_flag \
13097 hardcode_libdir_flag_spec \
13098 hardcode_libdir_flag_spec_ld \
13099 hardcode_libdir_separator \
13104 variables_saved_for_relink \
13106 library_names_spec \
13108 install_override_mode \
13112 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13113 *[\\\\\\\`\\"\\\$]*)
13114 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13117 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13122 # Double-quote double-evaled strings.
13123 for var in reload_cmds \
13124 old_postinstall_cmds \
13125 old_postuninstall_cmds \
13127 extract_expsyms_cmds \
13128 old_archive_from_new_cmds \
13129 old_archive_from_expsyms_cmds \
13131 archive_expsym_cmds \
13133 module_expsym_cmds \
13134 export_symbols_cmds \
13137 postuninstall_cmds \
13139 sys_lib_search_path_spec \
13140 sys_lib_dlsearch_path_spec; do
13141 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13142 *[\\\\\\\`\\"\\\$]*)
13143 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13146 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13151 ac_aux_dir='$ac_aux_dir'
13152 xsi_shell='$xsi_shell'
13153 lt_shell_append='$lt_shell_append'
13155 # See if we are running on zsh, and set the options which allow our
13156 # commands through without removal of \ escapes INIT.
13157 if test -n "\${ZSH_VERSION+set}" ; then
13158 setopt NO_GLOB_SUBST
13164 TIMESTAMP='$TIMESTAMP'
13174 with_multisubdir="$with_multisubdir"
13175 with_multisrctop="$with_multisrctop"
13176 with_target_subdir="$with_target_subdir"
13177 ac_configure_args="${multilib_arg} ${ac_configure_args}"
13178 multi_basedir="$multi_basedir"
13179 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
13182 GFORTRAN="$GFORTRAN"
13187 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13189 # Handling of arguments.
13190 for ac_config_target
in $ac_config_targets
13192 case $ac_config_target in
13193 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
13194 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
13195 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
13196 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
13197 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
13199 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
13204 # If the user did not use the arguments to specify the items to instantiate,
13205 # then the envvar interface is used. Set only those that are not.
13206 # We use the long form for the default assignment because of an extremely
13207 # bizarre bug on SunOS 4.1.3.
13208 if $ac_need_defaults; then
13209 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
13210 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
13211 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
13214 # Have a temporary directory for convenience. Make it in the build tree
13215 # simply because there is no reason against having it here, and in addition,
13216 # creating and moving files from /tmp can sometimes cause problems.
13217 # Hook for its removal unless debugging.
13218 # Note that there is a small window in which the directory will not be cleaned:
13219 # after its creation but before its name has been assigned to `$tmp'.
13223 trap 'exit_status=$?
13224 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
13226 trap 'as_fn_exit 1' 1 2 13 15
13228 # Create a (secure) tmp directory for tmp files.
13231 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13232 test -n "$tmp" && test -d "$tmp"
13235 tmp
=.
/conf$$
-$RANDOM
13236 (umask 077 && mkdir
"$tmp")
13237 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
13239 # Set up the scripts for CONFIG_FILES section.
13240 # No need to generate them if there are no CONFIG_FILES.
13241 # This happens for instance with `./config.status config.h'.
13242 if test -n "$CONFIG_FILES"; then
13245 ac_cr
=`echo X | tr X '\015'`
13246 # On cygwin, bash can eat \r inside `` if the user requested igncr.
13247 # But we know of no other shell where ac_cr would be empty at this
13248 # point, so we can use a bashism as a fallback.
13249 if test "x$ac_cr" = x
; then
13250 eval ac_cr
=\$
\'\\r
\'
13252 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13253 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13256 ac_cs_awk_cr
=$ac_cr
13259 echo 'BEGIN {' >"$tmp/subs1.awk" &&
13264 echo "cat >conf$$subs.awk <<_ACEOF" &&
13265 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13267 } >conf$$subs.sh ||
13268 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
13269 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
13271 for ac_last_try in false false false false false :; do
13272 . ./conf$$subs.sh ||
13273 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
13275 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
13276 if test $ac_delim_n = $ac_delim_num; then
13278 elif $ac_last_try; then
13279 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
13281 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
13284 rm -f conf$$subs.sh
13286 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13287 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
13291 s/^/S["/; s
/!.
*/"]=/
13301 s/\(.\{148\}\).*/\1/
13303 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
13308 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
13315 s/\(.\{148\}\).*/\1/
13317 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
13321 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
13326 ' <conf$$subs.awk | sed '
13331 ' >>$CONFIG_STATUS || ac_write_fail=1
13332 rm -f conf$$subs.awk
13333 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13335 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
13336 for (key in S) S_is_set[key] = 1
13342 nfields = split(line, field, "@
")
13344 len = length(field[1])
13345 for (i = 2; i < nfields; i++) {
13347 keylen = length(key)
13348 if (S_is_set[key]) {
13350 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13351 len += length(value) + length(field[++i])
13362 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13363 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13364 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
13367 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
13368 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
13371 # VPATH may cause trouble with some makes, so we remove $(srcdir),
13372 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
13373 # trailing colons and then remove the whole line if VPATH becomes empty
13374 # (actually we leave an empty line to preserve line numbers).
13375 if test "x
$srcdir" = x.; then
13376 ac_vpsub='/^[ ]*VPATH[ ]*=/{
13377 s/:*\$(srcdir):*/:/
13378 s/:*\${srcdir}:*/:/
13380 s/^\([^=]*=[ ]*\):*/\1/
13386 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13387 fi # test -n "$CONFIG_FILES"
13389 # Set up the scripts for CONFIG_HEADERS section.
13390 # No need to generate them if there are no CONFIG_HEADERS.
13391 # This happens for instance with `./config.status Makefile'.
13392 if test -n "$CONFIG_HEADERS"; then
13393 cat >"$tmp/defines.
awk" <<\_ACAWK ||
13397 # Transform confdefs.h into an awk script `defines.awk', embedded as
13398 # here-document in config.status, that substitutes the proper values into
13399 # config.h.in to produce config.h.
13401 # Create a delimiter string that does not exist in confdefs.h, to ease
13402 # handling of long lines.
13404 for ac_last_try in false false :; do
13405 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
13406 if test -z "$ac_t"; then
13408 elif $ac_last_try; then
13409 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
13411 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
13415 # For the awk script, D is an array of macro values keyed by name,
13416 # likewise P contains macro parameters if any. Preserve backslash
13417 # newline sequences.
13419 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
13421 s/.\{148\}/&'"$ac_delim"'/g
13424 s/^[ ]*#[ ]*define[ ][ ]*/ /
13431 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
13433 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
13437 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
13438 D["\
1"]=" \
3\\\\\\n
"\\/p
13440 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
13445 s/.\{148\}/&'"$ac_delim"'/g
13450 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
13453 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
13455 ' <confdefs.h | sed '
13456 s/'"$ac_delim"'/"\\\
13457 "/g' >>$CONFIG_STATUS || ac_write_fail=1
13459 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13460 for (key in D) D_is_set[key] = 1
13463 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
13465 split(line, arg, " ")
13466 if (arg[1] == "#") {
13470 defundef
= substr
(arg
[1], 2)
13473 split(mac1
, mac2
, "(") #)
13475 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
13476 if (D_is_set
[macro
]) {
13477 # Preserve the white space surrounding the "#".
13478 print prefix
"define", macro P
[macro
] D
[macro
]
13481 # Replace #undef with comments. This is necessary, for example,
13482 # in the case of _POSIX_SOURCE, which is predefined and required
13483 # on some systems where configure will not decide to define it.
13484 if (defundef
== "undef") {
13485 print
"/*", prefix defundef
, macro
, "*/"
13493 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13494 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
13495 fi # test -n "$CONFIG_HEADERS"
13498 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
13503 :[FHLC
]) ac_mode
=$ac_tag; continue;;
13505 case $ac_mode$ac_tag in
13507 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
13508 :[FH
]-) ac_tag
=-:-;;
13509 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
13526 -) ac_f
="$tmp/stdin";;
13527 *) # Look for the file first in the build tree, then in the source tree
13528 # (if the path is not absolute). The absolute path cannot be DOS-style,
13529 # because $ac_f cannot contain `:'.
13533 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
13535 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
13537 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
13538 as_fn_append ac_file_inputs
" '$ac_f'"
13541 # Let's still pretend it is `configure' which instantiates (i.e., don't
13542 # use $as_me), people would be surprised to read:
13543 # /* config.h. Generated by config.status. */
13544 configure_input
='Generated from '`
13545 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
13547 if test x
"$ac_file" != x-
; then
13548 configure_input
="$ac_file. $configure_input"
13549 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
13550 $as_echo "$as_me: creating $ac_file" >&6;}
13552 # Neutralize special characters interpreted by sed in replacement strings.
13553 case $configure_input in #(
13554 *\
&* |
*\|
* |
*\\* )
13555 ac_sed_conf_input
=`$as_echo "$configure_input" |
13556 sed 's/[\\\\&|]/\\\\&/g'`;; #(
13557 *) ac_sed_conf_input
=$configure_input;;
13561 *:-:* |
*:-) cat >"$tmp/stdin" \
13562 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
13567 ac_dir
=`$as_dirname -- "$ac_file" ||
13568 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13569 X"$ac_file" : 'X\(//\)[^/]' \| \
13570 X"$ac_file" : 'X\(//\)$' \| \
13571 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13572 $as_echo X"$ac_file" |
13573 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13577 /^X\(\/\/\)[^/].*/{
13590 as_dir
="$ac_dir"; as_fn_mkdir_p
13594 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
13596 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
13597 # A ".." for each directory in $ac_dir_suffix.
13598 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
13599 case $ac_top_builddir_sub in
13600 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
13601 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
13604 ac_abs_top_builddir
=$ac_pwd
13605 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
13606 # for backward compatibility:
13607 ac_top_builddir
=$ac_top_build_prefix
13610 .
) # We are building in place.
13612 ac_top_srcdir
=$ac_top_builddir_sub
13613 ac_abs_top_srcdir
=$ac_pwd ;;
13614 [\\/]* | ?
:[\\/]* ) # Absolute name.
13615 ac_srcdir
=$srcdir$ac_dir_suffix;
13616 ac_top_srcdir
=$srcdir
13617 ac_abs_top_srcdir
=$srcdir ;;
13618 *) # Relative name.
13619 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
13620 ac_top_srcdir
=$ac_top_build_prefix$srcdir
13621 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
13623 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
13633 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
13634 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
13636 ac_MKDIR_P
=$MKDIR_P
13638 [\\/$
]* | ?
:[\\/]* ) ;;
13639 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
13643 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13644 # If the template does not know about datarootdir, expand it.
13645 # FIXME: This hack should be removed a few years after 2.60.
13646 ac_datarootdir_hack
=; ac_datarootdir_seen
=
13657 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
13658 *datarootdir
*) ac_datarootdir_seen
=yes;;
13659 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
13660 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
13661 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
13663 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13664 ac_datarootdir_hack='
13665 s&@datadir@&$datadir&g
13666 s&@docdir@&$docdir&g
13667 s&@infodir@&$infodir&g
13668 s&@localedir@&$localedir&g
13669 s&@mandir@&$mandir&g
13670 s&\\\${datarootdir}&$datarootdir&g' ;;
13674 # Neutralize VPATH when `$srcdir' = `.'.
13675 # Shell code in configure.ac might set extrasub.
13676 # FIXME: do we really want to maintain this feature?
13677 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13678 ac_sed_extra="$ac_vpsub
13681 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13683 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
13684 s|@configure_input@|
$ac_sed_conf_input|
;t t
13685 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
13686 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
13687 s
&@srcdir@
&$ac_srcdir&;t t
13688 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
13689 s
&@top_srcdir@
&$ac_top_srcdir&;t t
13690 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
13691 s
&@builddir@
&$ac_builddir&;t t
13692 s
&@abs_builddir@
&$ac_abs_builddir&;t t
13693 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
13694 s
&@INSTALL@
&$ac_INSTALL&;t t
13695 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
13696 $ac_datarootdir_hack
13698 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
13699 || as_fn_error "could not create
$ac_file" "$LINENO" 5
13701 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
13702 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
13703 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
13704 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
13705 which seems to be undefined. Please make sure it is defined." >&5
13706 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
13707 which seems to be undefined. Please make sure it is defined." >&2;}
13711 -) cat "$tmp/out" && rm -f "$tmp/out";;
13712 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
13714 || as_fn_error "could not create $ac_file" "$LINENO" 5
13720 if test x"$ac_file" != x-; then
13722 $as_echo "/* $configure_input */" \
13723 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
13724 } >"$tmp/config.h" \
13725 || as_fn_error "could not create $ac_file" "$LINENO" 5
13726 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
13727 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
13728 $as_echo "$as_me: $ac_file is unchanged" >&6;}
13731 mv "$tmp/config.h" "$ac_file" \
13732 || as_fn_error "could not create $ac_file" "$LINENO" 5
13735 $as_echo "/* $configure_input */" \
13736 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
13737 || as_fn_error "could not create -" "$LINENO" 5
13739 # Compute "$ac_file"'s index
in $config_headers.
13742 for _am_header
in $config_headers :; do
13743 case $_am_header in
13744 $_am_arg |
$_am_arg:* )
13747 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
13750 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
13751 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13752 X"$_am_arg" : 'X\(//\)[^/]' \| \
13753 X"$_am_arg" : 'X\(//\)$' \| \
13754 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
13755 $as_echo X"$_am_arg" |
13756 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13760 /^X\(\/\/\)[^/].*/{
13772 s/.*/./; q'`/stamp-h
$_am_stamp_count
13775 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
13776 $as_echo "$as_me: executing $ac_file commands" >&6;}
13781 case $ac_file$ac_mode in
13782 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
13783 # Autoconf 2.62 quotes --file arguments for eval, but not when files
13784 # are listed without --file. Let's play safe and only enable the eval
13785 # if we detect the quoting.
13786 case $CONFIG_FILES in
13787 *\'*) eval set x
"$CONFIG_FILES" ;;
13788 *) set x
$CONFIG_FILES ;;
13793 # Strip MF so we end up with the name of the file.
13794 mf
=`echo "$mf" | sed -e 's/:.*$//'`
13795 # Check whether this is an Automake generated Makefile or not.
13796 # We used to match only the files named `Makefile.in', but
13797 # some people rename them; so instead we look at the file content.
13798 # Grep'ing the first line is not enough: some people post-process
13799 # each Makefile.in and add a new line on top of each file to say so.
13800 # Grep'ing the whole file is not good either: AIX grep has a line
13801 # limit of 2048, but all sed's we know have understand at least 4000.
13802 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
13803 dirpart
=`$as_dirname -- "$mf" ||
13804 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13805 X"$mf" : 'X\(//\)[^/]' \| \
13806 X"$mf" : 'X\(//\)$' \| \
13807 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
13809 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13813 /^X\(\/\/\)[^/].*/{
13829 # Extract the definition of DEPDIR, am__include, and am__quote
13830 # from the Makefile without running `make'.
13831 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
13832 test -z "$DEPDIR" && continue
13833 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
13834 test -z "am__include" && continue
13835 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
13836 # When using ansi2knr, U may be empty or an underscore; expand it
13837 U
=`sed -n 's/^U = //p' < "$mf"`
13838 # Find all dependency output files, they are included files with
13839 # $(DEPDIR) in their names. We invoke sed twice because it is the
13840 # simplest approach to changing $(DEPDIR) to its actual value in the
13842 for file in `sed -n "
13843 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
13844 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
13845 # Make sure the directory exists.
13846 test -f "$dirpart/$file" && continue
13847 fdir
=`$as_dirname -- "$file" ||
13848 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13849 X"$file" : 'X\(//\)[^/]' \| \
13850 X"$file" : 'X\(//\)$' \| \
13851 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
13852 $as_echo X"$file" |
13853 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13857 /^X\(\/\/\)[^/].*/{
13870 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
13871 # echo "creating $dirpart/$file"
13872 echo '# dummy' > "$dirpart/$file"
13879 # See if we are running on zsh, and set the options which allow our
13880 # commands through without removal of \ escapes.
13881 if test -n "${ZSH_VERSION+set}" ; then
13882 setopt NO_GLOB_SUBST
13885 cfgfile
="${ofile}T"
13886 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
13889 cat <<_LT_EOF >> "$cfgfile"
13892 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
13893 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
13894 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13895 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
13897 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
13898 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
13899 # Written by Gordon Matzigkeit, 1996
13901 # This file is part of GNU Libtool.
13903 # GNU Libtool is free software; you can redistribute it and/or
13904 # modify it under the terms of the GNU General Public License as
13905 # published by the Free Software Foundation; either version 2 of
13906 # the License, or (at your option) any later version.
13908 # As a special exception to the GNU General Public License,
13909 # if you distribute this file as part of a program or library that
13910 # is built using GNU Libtool, you may include this file under the
13911 # same distribution terms that you use for the rest of that program.
13913 # GNU Libtool is distributed in the hope that it will be useful,
13914 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13915 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13916 # GNU General Public License for more details.
13918 # You should have received a copy of the GNU General Public License
13919 # along with GNU Libtool; see the file COPYING. If not, a copy
13920 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
13921 # obtained by writing to the Free Software Foundation, Inc.,
13922 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
13925 # The names of the tagged configurations supported by this script.
13928 # ### BEGIN LIBTOOL CONFIG
13930 # Which release of libtool.m4 was used?
13931 macro_version=$macro_version
13932 macro_revision=$macro_revision
13934 # Whether or not to build shared libraries.
13935 build_libtool_libs=$enable_shared
13937 # Whether or not to build static libraries.
13938 build_old_libs=$enable_static
13940 # What type of objects to build.
13943 # Whether or not to optimize for fast installation.
13944 fast_install=$enable_fast_install
13946 # Shell to use when invoking shell scripts.
13949 # An echo program that protects backslashes.
13953 host_alias=$host_alias
13957 # The build system.
13958 build_alias=$build_alias
13962 # A sed program that does not truncate output.
13965 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
13966 Xsed="\$SED -e 1s/^X//"
13968 # A grep program that handles long lines.
13974 # A literal string matcher.
13977 # A BSD- or MS-compatible name lister.
13980 # Whether we need soft or hard links.
13983 # What is the maximum length of a command?
13984 max_cmd_len=$max_cmd_len
13986 # Object file suffix (normally "o").
13989 # Executable file suffix (normally "").
13992 # whether the shell understands "unset".
13995 # turn spaces into newlines.
13998 # turn newlines into spaces.
14001 # An object symbol dumper.
14002 OBJDUMP=$lt_OBJDUMP
14004 # Method to check whether dependent libraries are shared objects.
14005 deplibs_check_method=$lt_deplibs_check_method
14007 # Command to use when deplibs_check_method == "file_magic".
14008 file_magic_cmd=$lt_file_magic_cmd
14012 AR_FLAGS=$lt_AR_FLAGS
14014 # A symbol stripping program.
14017 # Commands used to install an old-style archive.
14019 old_postinstall_cmds=$lt_old_postinstall_cmds
14020 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14022 # Whether to use a lock for old archive extraction.
14023 lock_old_archive_extraction=$lock_old_archive_extraction
14028 # LTCC compiler flags.
14029 LTCFLAGS=$lt_CFLAGS
14031 # Take the output of nm and produce a listing of raw symbols and C names.
14032 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14034 # Transform the output of nm in a proper C declaration.
14035 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14037 # Transform the output of nm in a C name address pair.
14038 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14040 # Transform the output of nm in a C name address pair when lib prefix is needed.
14041 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14043 # The name of the directory that contains temporary libtool files.
14046 # Used to examine libraries when file_magic_cmd begins with "file".
14047 MAGIC_CMD=$MAGIC_CMD
14049 # Must we lock files when doing compilation?
14050 need_locks=$lt_need_locks
14052 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14053 DSYMUTIL=$lt_DSYMUTIL
14055 # Tool to change global to local symbols on Mac OS X.
14058 # Tool to manipulate fat objects and archives on Mac OS X.
14061 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
14064 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14065 OTOOL64=$lt_OTOOL64
14067 # Old archive suffix (normally "a").
14070 # Shared library suffix (normally ".so").
14071 shrext_cmds=$lt_shrext_cmds
14073 # The commands to extract the exported symbol list from a shared archive.
14074 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14076 # Variables whose values should be saved in libtool wrapper scripts and
14077 # restored at link time.
14078 variables_saved_for_relink=$lt_variables_saved_for_relink
14080 # Do we need the "lib" prefix for modules?
14081 need_lib_prefix=$need_lib_prefix
14083 # Do we need a version for libraries?
14084 need_version=$need_version
14086 # Library versioning type.
14087 version_type=$version_type
14089 # Shared library runtime path variable.
14090 runpath_var=$runpath_var
14092 # Shared library path variable.
14093 shlibpath_var=$shlibpath_var
14095 # Is shlibpath searched before the hard-coded library search path?
14096 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14098 # Format of library name prefix.
14099 libname_spec=$lt_libname_spec
14101 # List of archive names. First name is the real one, the rest are links.
14102 # The last name is the one that the linker finds with -lNAME
14103 library_names_spec=$lt_library_names_spec
14105 # The coded name of the library, if different from the real name.
14106 soname_spec=$lt_soname_spec
14108 # Permission mode override for installation of shared libraries.
14109 install_override_mode=$lt_install_override_mode
14111 # Command to use after installation of a shared archive.
14112 postinstall_cmds=$lt_postinstall_cmds
14114 # Command to use after uninstallation of a shared archive.
14115 postuninstall_cmds=$lt_postuninstall_cmds
14117 # Commands used to finish a libtool library installation in a directory.
14118 finish_cmds=$lt_finish_cmds
14120 # As "finish_cmds", except a single script fragment to be evaled but
14122 finish_eval=$lt_finish_eval
14124 # Whether we should hardcode library paths into libraries.
14125 hardcode_into_libs=$hardcode_into_libs
14127 # Compile-time system search path for libraries.
14128 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14130 # Run-time system search path for libraries.
14131 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14133 # Whether dlopen is supported.
14134 dlopen_support=$enable_dlopen
14136 # Whether dlopen of programs is supported.
14137 dlopen_self=$enable_dlopen_self
14139 # Whether dlopen of statically linked programs is supported.
14140 dlopen_self_static=$enable_dlopen_self_static
14142 # Commands to strip libraries.
14143 old_striplib=$lt_old_striplib
14144 striplib=$lt_striplib
14147 # The linker used to build libraries.
14150 # How to create reloadable object files.
14151 reload_flag=$lt_reload_flag
14152 reload_cmds=$lt_reload_cmds
14154 # Commands used to build an old-style archive.
14155 old_archive_cmds=$lt_old_archive_cmds
14157 # A language specific compiler.
14160 # Is the compiler the GNU compiler?
14163 # Compiler flag to turn off builtin functions.
14164 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14166 # How to pass a linker flag through the compiler.
14167 wl=$lt_lt_prog_compiler_wl
14169 # Additional compiler flags for building library objects.
14170 pic_flag=$lt_lt_prog_compiler_pic
14172 # Compiler flag to prevent dynamic linking.
14173 link_static_flag=$lt_lt_prog_compiler_static
14175 # Does compiler simultaneously support -c and -o options?
14176 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14178 # Whether or not to add -lc for building shared libraries.
14179 build_libtool_need_lc=$archive_cmds_need_lc
14181 # Whether or not to disallow shared libs when runtime libs are static.
14182 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14184 # Compiler flag to allow reflexive dlopens.
14185 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14187 # Compiler flag to generate shared objects directly from archives.
14188 whole_archive_flag_spec=$lt_whole_archive_flag_spec
14190 # Whether the compiler copes with passing no objects directly.
14191 compiler_needs_object=$lt_compiler_needs_object
14193 # Create an old-style archive from a shared archive.
14194 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14196 # Create a temporary old-style archive to link instead of a shared archive.
14197 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14199 # Commands used to build a shared archive.
14200 archive_cmds=$lt_archive_cmds
14201 archive_expsym_cmds=$lt_archive_expsym_cmds
14203 # Commands used to build a loadable module if different from building
14204 # a shared archive.
14205 module_cmds=$lt_module_cmds
14206 module_expsym_cmds=$lt_module_expsym_cmds
14208 # Whether we are building with GNU ld or not.
14209 with_gnu_ld=$lt_with_gnu_ld
14211 # Flag that allows shared libraries with undefined symbols to be built.
14212 allow_undefined_flag=$lt_allow_undefined_flag
14214 # Flag that enforces no undefined symbols.
14215 no_undefined_flag=$lt_no_undefined_flag
14217 # Flag to hardcode \$libdir into a binary during linking.
14218 # This must work even if \$libdir does not exist
14219 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14221 # If ld is used when linking, flag to hardcode \$libdir into a binary
14222 # during linking. This must work even if \$libdir does not exist.
14223 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
14225 # Whether we need a single "-rpath" flag with a separated argument.
14226 hardcode_libdir_separator=$lt_hardcode_libdir_separator
14228 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14229 # DIR into the resulting binary.
14230 hardcode_direct=$hardcode_direct
14232 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14233 # DIR into the resulting binary and the resulting library dependency is
14234 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
14235 # library is relocated.
14236 hardcode_direct_absolute=$hardcode_direct_absolute
14238 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14239 # into the resulting binary.
14240 hardcode_minus_L=$hardcode_minus_L
14242 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14243 # into the resulting binary.
14244 hardcode_shlibpath_var=$hardcode_shlibpath_var
14246 # Set to "yes" if building a shared library automatically hardcodes DIR
14247 # into the library and all subsequent libraries and executables linked
14249 hardcode_automatic=$hardcode_automatic
14251 # Set to yes if linker adds runtime paths of dependent libraries
14252 # to runtime path list.
14253 inherit_rpath=$inherit_rpath
14255 # Whether libtool must link a program against all its dependency libraries.
14256 link_all_deplibs=$link_all_deplibs
14258 # Fix the shell variable \$srcfile for the compiler.
14259 fix_srcfile_path=$lt_fix_srcfile_path
14261 # Set to "yes" if exported symbols are required.
14262 always_export_symbols=$always_export_symbols
14264 # The commands to list exported symbols.
14265 export_symbols_cmds=$lt_export_symbols_cmds
14267 # Symbols that should not be listed in the preloaded symbols.
14268 exclude_expsyms=$lt_exclude_expsyms
14270 # Symbols that must always be exported.
14271 include_expsyms=$lt_include_expsyms
14273 # Commands necessary for linking programs (against libraries) with templates.
14274 prelink_cmds=$lt_prelink_cmds
14276 # Specify filename containing input files.
14277 file_list_spec=$lt_file_list_spec
14279 # How to hardcode a shared library path into an executable.
14280 hardcode_action=$hardcode_action
14282 # ### END LIBTOOL CONFIG
14288 cat <<\_LT_EOF
>> "$cfgfile"
14289 # AIX sometimes has problems with the GCC collect2 program. For some
14290 # reason, if we set the COLLECT_NAMES environment variable, the problems
14291 # vanish in a puff of smoke.
14292 if test "X${COLLECT_NAMES+set}" != Xset
; then
14294 export COLLECT_NAMES
14301 ltmain
="$ac_aux_dir/ltmain.sh"
14304 # We use sed instead of cat because bash on DJGPP gets confused if
14305 # if finds mixed CR/LF and LF-only lines. Since sed operates in
14306 # text mode, it properly converts lines to CR/LF. This bash problem
14307 # is reportedly fixed, but why not run on old versions too?
14308 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
14309 ||
(rm -f "$cfgfile"; exit 1)
14313 cat << \_LT_EOF
>> "$cfgfile"
14315 # func_dirname file append nondir_replacement
14316 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
14317 # otherwise set result to NONDIR_REPLACEMENT.
14321 */*) func_dirname_result
="${1%/*}${2}" ;;
14322 * ) func_dirname_result
="${3}" ;;
14326 # func_basename file
14329 func_basename_result
="${1##*/}"
14332 # func_dirname_and_basename file append nondir_replacement
14333 # perform func_basename and func_dirname in a single function
14335 # dirname: Compute the dirname of FILE. If nonempty,
14336 # add APPEND to the result, otherwise set result
14337 # to NONDIR_REPLACEMENT.
14338 # value returned in "$func_dirname_result"
14339 # basename: Compute filename of FILE.
14340 # value retuned in "$func_basename_result"
14341 # Implementation must be kept synchronized with func_dirname
14342 # and func_basename. For efficiency, we do not delegate to
14343 # those functions but instead duplicate the functionality here.
14344 func_dirname_and_basename
()
14347 */*) func_dirname_result
="${1%/*}${2}" ;;
14348 * ) func_dirname_result
="${3}" ;;
14350 func_basename_result
="${1##*/}"
14353 # func_stripname prefix suffix name
14354 # strip PREFIX and SUFFIX off of NAME.
14355 # PREFIX and SUFFIX must not contain globbing or regex special
14356 # characters, hashes, percent signs, but SUFFIX may contain a leading
14357 # dot (in which case that matches only a dot).
14360 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
14361 # positional parameters, so assign one to ordinary parameter first.
14362 func_stripname_result
=${3}
14363 func_stripname_result
=${func_stripname_result#"${1}"}
14364 func_stripname_result
=${func_stripname_result%"${2}"}
14370 func_opt_split_opt
=${1%%=*}
14371 func_opt_split_arg
=${1#*=}
14378 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
14379 *) func_lo2o_result
=${1} ;;
14383 # func_xform libobj-or-source
14386 func_xform_result
=${1%.*}.lo
14389 # func_arith arithmetic-term...
14392 func_arith_result
=$
(( $
* ))
14396 # STRING may not start with a hyphen.
14399 func_len_result
=${#1}
14404 *) # Bourne compatible functions.
14405 cat << \_LT_EOF
>> "$cfgfile"
14407 # func_dirname file append nondir_replacement
14408 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
14409 # otherwise set result to NONDIR_REPLACEMENT.
14412 # Extract subdirectory from the argument.
14413 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
14414 if test "X$func_dirname_result" = "X${1}"; then
14415 func_dirname_result
="${3}"
14417 func_dirname_result
="$func_dirname_result${2}"
14421 # func_basename file
14424 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
14428 # func_stripname prefix suffix name
14429 # strip PREFIX and SUFFIX off of NAME.
14430 # PREFIX and SUFFIX must not contain globbing or regex special
14431 # characters, hashes, percent signs, but SUFFIX may contain a leading
14432 # dot (in which case that matches only a dot).
14433 # func_strip_suffix prefix name
14437 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
14438 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
14443 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
14444 my_sed_long_arg
='1s/^-[^=]*=//'
14449 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
14450 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
14456 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
14459 # func_xform libobj-or-source
14462 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
14465 # func_arith arithmetic-term...
14468 func_arith_result
=`expr "$@"`
14472 # STRING may not start with a hyphen.
14475 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
14481 case $lt_shell_append in
14483 cat << \_LT_EOF
>> "$cfgfile"
14485 # func_append var value
14486 # Append VALUE to the end of shell variable VAR.
14494 cat << \_LT_EOF
>> "$cfgfile"
14496 # func_append var value
14497 # Append VALUE to the end of shell variable VAR.
14508 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
14509 ||
(rm -f "$cfgfile"; exit 1)
14511 mv -f "$cfgfile" "$ofile" ||
14512 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
14517 # Only add multilib support code if we just rebuilt the top-level
14519 case " $CONFIG_FILES " in
14521 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
14531 ac_clean_files
=$ac_clean_files_save
14533 test $ac_write_fail = 0 ||
14534 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
14537 # configure is writing to config.log, and then calls config.status.
14538 # config.status does its own redirection, appending to config.log.
14539 # Unfortunately, on DOS this fails, as config.log is still kept open
14540 # by configure, so config.status won't be able to write to it; its
14541 # output is simply discarded. So we exec the FD to /dev/null,
14542 # effectively closing config.log, so it can be properly (re)opened and
14543 # appended to by config.status. When coming back to configure, we
14544 # need to make the FD available again.
14545 if test "$no_create" != yes; then
14547 ac_config_status_args
=
14548 test "$silent" = yes &&
14549 ac_config_status_args
="$ac_config_status_args --quiet"
14551 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
14553 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14554 # would make configure fail if this is the last instruction.
14555 $ac_cs_success || as_fn_exit $?
14557 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
14558 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
14559 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}