2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for expat 2.1.0.
5 # Report bugs to <expat-bugs@libexpat.org>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
19 # Be more Bourne compatible
20 DUALCASE
=1; export DUALCASE
# for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
29 case `(set -o) 2>/dev/null` in #(
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo_n='print
-rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
57 as_echo_n='/usr
/ucb
/echo -n'
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
70 as_echo_n='sh
-c $as_echo_n_body as_echo
'
73 as_echo='sh
-c $as_echo_body as_echo
'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
79 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
93 # Find who we are. Look in the path if we contain no directory separator.
96 *[\\/]* ) as_myself=$0 ;;
97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
101 test -z "$as_dir" && as_dir=.
102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
109 # in which case we are not to be found in the path.
110 if test "x$as_myself" = x
; then
113 if test ! -f "$as_myself"; then
114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there. '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var
in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\
${$as_var+set} = xset \
124 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
137 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
139 if test "x$CONFIG_SHELL" = x
; then
140 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
143 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144 # is contrary to our usage. Disable this feature.
145 alias -g '\${1+\"\$@\"}'='\"\$@\"'
148 case \`(set -o) 2>/dev/null\` in #(
156 as_required
="as_fn_return () { (exit \$1); }
157 as_fn_success () { as_fn_return 0; }
158 as_fn_failure () { as_fn_return 1; }
159 as_fn_ret_success () { return 0; }
160 as_fn_ret_failure () { return 1; }
163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
170 exitcode=1; echo positional parameters were not saved.
172 test x\$exitcode = x0 || exit 1"
173 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
174 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
175 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
178 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
179 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
180 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
181 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
182 PATH=/empty FPATH=/empty; export PATH FPATH
183 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
184 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
185 test \$(( 1 + 1 )) = 2 || exit 1"
186 if (eval "$as_required") 2>/dev
/null
; then :
191 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
194 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
196 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
199 test -z "$as_dir" && as_dir
=.
203 for as_base
in sh bash ksh sh5
; do
204 # Try only shells that exist, to save several forks.
205 as_shell
=$as_dir/$as_base
206 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
207 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
208 CONFIG_SHELL
=$as_shell as_have_required
=yes
209 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
217 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
218 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
219 CONFIG_SHELL
=$SHELL as_have_required
=yes
224 if test "x$CONFIG_SHELL" != x
; then :
225 # We cannot yet assume a decent shell, so we have to provide a
226 # neutralization value for shells without unset; and this also
227 # works around shells that cannot unset nonexistent variables.
228 # Preserve -v and -x to the replacement shell.
231 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
234 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
239 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
242 if test x
$as_have_required = xno
; then :
243 $as_echo "$0: This script requires a shell more modern than all"
244 $as_echo "$0: the shells that I found on your system."
245 if test x
${ZSH_VERSION+set} = xset
; then
246 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
247 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
249 $as_echo "$0: Please tell bug-autoconf@gnu.org and
250 $0: expat-bugs@libexpat.org about your system, including
251 $0: any error possibly output before this message. Then
252 $0: install a modern shell, or manually run the script
253 $0: under such a shell if you do have one."
259 SHELL
=${CONFIG_SHELL-/bin/sh}
261 # Unset more variables known to interfere with behavior of common tools.
262 CLICOLOR_FORCE
= GREP_OPTIONS
=
263 unset CLICOLOR_FORCE GREP_OPTIONS
265 ## --------------------- ##
266 ## M4sh Shell Functions. ##
267 ## --------------------- ##
270 # Portably unset VAR.
273 { eval $1=; unset $1;}
277 # as_fn_set_status STATUS
278 # -----------------------
279 # Set $? to STATUS, without forking.
287 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
297 # Create "$as_dir" as a directory, including parents if necessary.
302 -*) as_dir
=.
/$as_dir;;
304 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
308 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
311 as_dirs
="'$as_qdir' $as_dirs"
312 as_dir
=`$as_dirname -- "$as_dir" ||
313 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
314 X"$as_dir" : 'X\(//\)[^/]' \| \
315 X"$as_dir" : 'X\(//\)$' \| \
316 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
317 $as_echo X"$as_dir" |
318 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
335 test -d "$as_dir" && break
337 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
338 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
342 # as_fn_append VAR VALUE
343 # ----------------------
344 # Append the text in VALUE to the end of the definition contained in VAR. Take
345 # advantage of any shell optimizations that allow amortized linear growth over
346 # repeated appends, instead of the typical quadratic growth present in naive
348 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
349 eval 'as_fn_append ()
362 # Perform arithmetic evaluation on the ARGs, and store the result in the
363 # global $as_val. Take advantage of shells that can avoid forks. The arguments
364 # must be portable across $(()) and expr.
365 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
373 as_val
=`expr "$@" || test $? -eq 1`
378 # as_fn_error STATUS ERROR [LINENO LOG_FD]
379 # ----------------------------------------
380 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
381 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
382 # script with STATUS, using 1 if that was 0.
385 as_status
=$1; test $as_status -eq 0 && as_status
=1
387 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
388 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
390 $as_echo "$as_me: error: $2" >&2
391 as_fn_exit
$as_status
394 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
395 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
401 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
407 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
413 as_me
=`$as_basename -- "$0" ||
414 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
415 X"$0" : 'X\(//\)$' \| \
416 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
418 sed '/^.*\/\([^/][^/]*\)\/*$/{
432 # Avoid depending upon Character Ranges.
433 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
434 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
435 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
436 as_cr_digits
='0123456789'
437 as_cr_alnum
=$as_cr_Letters$as_cr_digits
440 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
441 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
442 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
443 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
444 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
456 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
460 chmod +x
"$as_me.lineno" ||
461 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
463 # Don't try to exec as it changes $[0], causing all sort of problems
464 # (the dirname of $[0] is not the place where we might find the
465 # original and so on. Autoconf is especially sensitive to this).
467 # Exit status is that of the last command.
471 ECHO_C
= ECHO_N
= ECHO_T
=
472 case `echo -n x` in #(((((
474 case `echo 'xy\c'` in
475 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
477 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
484 rm -f conf$$ conf$$.exe conf$$.
file
485 if test -d conf$$.dir
; then
486 rm -f conf$$.dir
/conf$$.
file
489 mkdir conf$$.dir
2>/dev
/null
491 if (echo >conf$$.
file) 2>/dev
/null
; then
492 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
494 # ... but there are two gotchas:
495 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
496 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
497 # In both cases, we have to default to `cp -p'.
498 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
500 elif ln conf$$.
file conf$$
2>/dev
/null
; then
508 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
509 rmdir conf$$.dir
2>/dev
/null
511 if mkdir
-p .
2>/dev
/null
; then
512 as_mkdir_p
='mkdir -p "$as_dir"'
514 test -d .
/-p && rmdir .
/-p
518 if test -x / >/dev
/null
2>&1; then
521 if ls -dL / >/dev
/null
2>&1; then
528 if test -d "$1"; then
534 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
535 ???[sx]*):;;*)false;;esac;fi
539 as_executable_p
=$as_test_x
541 # Sed expression to map a string onto a valid CPP name.
542 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
544 # Sed expression to map a string onto a valid variable name.
545 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
547 SHELL
=${CONFIG_SHELL-/bin/sh}
550 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
554 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
555 # so uname gets run too.
556 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
561 ac_default_prefix
=/usr
/local
563 ac_config_libobj_dir
=.
570 # Identity of this package.
572 PACKAGE_TARNAME
='expat'
573 PACKAGE_VERSION
='2.1.0'
574 PACKAGE_STRING
='expat 2.1.0'
575 PACKAGE_BUGREPORT
='expat-bugs@libexpat.org'
578 ac_unique_file
="Makefile.in"
579 # Factoring default headers for most tests.
580 ac_includes_default
="\
582 #ifdef HAVE_SYS_TYPES_H
583 # include <sys/types.h>
585 #ifdef HAVE_SYS_STAT_H
586 # include <sys/stat.h>
592 # ifdef HAVE_STDLIB_H
597 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
602 #ifdef HAVE_STRINGS_H
603 # include <strings.h>
605 #ifdef HAVE_INTTYPES_H
606 # include <inttypes.h>
616 ac_subst_vars
='LTLIBOBJS
696 program_transform_name
709 enable_option_checking
718 ac_precious_vars
='build_alias
733 # Initialize some variables set by options.
735 ac_init_version
=false
736 ac_unrecognized_opts
=
738 # The variables have the same names as the options, with
739 # dashes changed to underlines.
747 program_transform_name
=s
,x
,x
,
755 # Installation directory options.
756 # These are left unexpanded so users can "make install exec_prefix=/foo"
757 # and all the variables that are supposed to be based on exec_prefix
758 # by default will actually change.
759 # Use braces instead of parens because sh, perl, etc. also accept them.
760 # (The list follows the same order as the GNU Coding Standards.)
761 bindir
='${exec_prefix}/bin'
762 sbindir
='${exec_prefix}/sbin'
763 libexecdir
='${exec_prefix}/libexec'
764 datarootdir
='${prefix}/share'
765 datadir
='${datarootdir}'
766 sysconfdir
='${prefix}/etc'
767 sharedstatedir
='${prefix}/com'
768 localstatedir
='${prefix}/var'
769 includedir
='${prefix}/include'
770 oldincludedir
='/usr/include'
771 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
772 infodir
='${datarootdir}/info'
777 libdir
='${exec_prefix}/lib'
778 localedir
='${datarootdir}/locale'
779 mandir
='${datarootdir}/man'
785 # If the previous option needs an argument, assign it.
786 if test -n "$ac_prev"; then
787 eval $ac_prev=\
$ac_option
793 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
798 # Accept the important Cygnus configure options, so we can diagnose typos.
800 case $ac_dashdash$ac_option in
804 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
806 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
809 -build |
--build |
--buil |
--bui |
--bu)
810 ac_prev
=build_alias
;;
811 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
812 build_alias
=$ac_optarg ;;
814 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
815 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
816 ac_prev
=cache_file
;;
817 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
818 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
819 cache_file
=$ac_optarg ;;
822 cache_file
=config.cache
;;
824 -datadir |
--datadir |
--datadi |
--datad)
826 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
827 datadir
=$ac_optarg ;;
829 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
830 |
--dataroo |
--dataro |
--datar)
831 ac_prev
=datarootdir
;;
832 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
833 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
834 datarootdir
=$ac_optarg ;;
836 -disable-* |
--disable-*)
837 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
838 # Reject names that are not valid shell variable names.
839 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
840 as_fn_error $?
"invalid feature name: $ac_useropt"
841 ac_useropt_orig
=$ac_useropt
842 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
843 case $ac_user_opts in
847 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
848 ac_unrecognized_sep
=', ';;
850 eval enable_
$ac_useropt=no
;;
852 -docdir |
--docdir |
--docdi |
--doc |
--do)
854 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
857 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
859 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
862 -enable-* |
--enable-*)
863 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
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--enable-$ac_useropt_orig"
874 ac_unrecognized_sep
=', ';;
876 eval enable_
$ac_useropt=\
$ac_optarg ;;
878 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
879 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
880 |
--exec |
--exe |
--ex)
881 ac_prev
=exec_prefix
;;
882 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
883 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
884 |
--exec=* |
--exe=* |
--ex=*)
885 exec_prefix
=$ac_optarg ;;
887 -gas |
--gas |
--ga |
--g)
888 # Obsolete; use --with-gas.
891 -help |
--help |
--hel |
--he |
-h)
893 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
894 ac_init_help
=recursive
;;
895 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
896 ac_init_help
=short
;;
898 -host |
--host |
--hos |
--ho)
899 ac_prev
=host_alias
;;
900 -host=* |
--host=* |
--hos=* |
--ho=*)
901 host_alias
=$ac_optarg ;;
903 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
905 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
907 htmldir
=$ac_optarg ;;
909 -includedir |
--includedir |
--includedi |
--included |
--include \
910 |
--includ |
--inclu |
--incl |
--inc)
911 ac_prev
=includedir
;;
912 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
913 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
914 includedir
=$ac_optarg ;;
916 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
918 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
919 infodir
=$ac_optarg ;;
921 -libdir |
--libdir |
--libdi |
--libd)
923 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
926 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
927 |
--libexe |
--libex |
--libe)
928 ac_prev
=libexecdir
;;
929 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
930 |
--libexe=* |
--libex=* |
--libe=*)
931 libexecdir
=$ac_optarg ;;
933 -localedir |
--localedir |
--localedi |
--localed |
--locale)
935 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
936 localedir
=$ac_optarg ;;
938 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
939 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
940 ac_prev
=localstatedir
;;
941 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
942 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
943 localstatedir
=$ac_optarg ;;
945 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
947 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
951 # Obsolete; use --without-fp.
954 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
955 |
--no-cr |
--no-c |
-n)
958 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
959 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
962 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
963 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
964 |
--oldin |
--oldi |
--old |
--ol |
--o)
965 ac_prev
=oldincludedir
;;
966 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
967 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
968 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
969 oldincludedir
=$ac_optarg ;;
971 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
973 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
976 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
977 |
--program-pre |
--program-pr |
--program-p)
978 ac_prev
=program_prefix
;;
979 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
980 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
981 program_prefix
=$ac_optarg ;;
983 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
984 |
--program-suf |
--program-su |
--program-s)
985 ac_prev
=program_suffix
;;
986 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
987 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
988 program_suffix
=$ac_optarg ;;
990 -program-transform-name |
--program-transform-name \
991 |
--program-transform-nam |
--program-transform-na \
992 |
--program-transform-n |
--program-transform- \
993 |
--program-transform |
--program-transfor \
994 |
--program-transfo |
--program-transf \
995 |
--program-trans |
--program-tran \
996 |
--progr-tra |
--program-tr |
--program-t)
997 ac_prev
=program_transform_name
;;
998 -program-transform-name=* |
--program-transform-name=* \
999 |
--program-transform-nam=* |
--program-transform-na=* \
1000 |
--program-transform-n=* |
--program-transform-=* \
1001 |
--program-transform=* |
--program-transfor=* \
1002 |
--program-transfo=* |
--program-transf=* \
1003 |
--program-trans=* |
--program-tran=* \
1004 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1005 program_transform_name
=$ac_optarg ;;
1007 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1009 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1010 pdfdir
=$ac_optarg ;;
1012 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1014 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1017 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1018 |
-silent |
--silent |
--silen |
--sile |
--sil)
1021 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1023 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1025 sbindir
=$ac_optarg ;;
1027 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1028 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1029 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1031 ac_prev
=sharedstatedir
;;
1032 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1033 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1034 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1036 sharedstatedir
=$ac_optarg ;;
1038 -site |
--site |
--sit)
1040 -site=* |
--site=* |
--sit=*)
1043 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1045 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1046 srcdir
=$ac_optarg ;;
1048 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1049 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1050 ac_prev
=sysconfdir
;;
1051 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1052 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1053 sysconfdir
=$ac_optarg ;;
1055 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1056 ac_prev
=target_alias
;;
1057 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1058 target_alias
=$ac_optarg ;;
1060 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1063 -version |
--version |
--versio |
--versi |
--vers |
-V)
1064 ac_init_version
=: ;;
1067 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1068 # Reject names that are not valid shell variable names.
1069 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1070 as_fn_error $?
"invalid package name: $ac_useropt"
1071 ac_useropt_orig
=$ac_useropt
1072 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1073 case $ac_user_opts in
1077 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1078 ac_unrecognized_sep
=', ';;
1080 eval with_
$ac_useropt=\
$ac_optarg ;;
1082 -without-* |
--without-*)
1083 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1084 # Reject names that are not valid shell variable names.
1085 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1086 as_fn_error $?
"invalid package name: $ac_useropt"
1087 ac_useropt_orig
=$ac_useropt
1088 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1089 case $ac_user_opts in
1093 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1094 ac_unrecognized_sep
=', ';;
1096 eval with_
$ac_useropt=no
;;
1099 # Obsolete; use --with-x.
1102 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1103 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1104 ac_prev
=x_includes
;;
1105 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1106 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1107 x_includes
=$ac_optarg ;;
1109 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1110 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1111 ac_prev
=x_libraries
;;
1112 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1113 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1114 x_libraries
=$ac_optarg ;;
1116 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1117 Try \`$0 --help' for more information"
1121 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1122 # Reject names that are not valid shell variable names.
1123 case $ac_envvar in #(
1124 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1125 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1127 eval $ac_envvar=\
$ac_optarg
1128 export $ac_envvar ;;
1131 # FIXME: should be removed in autoconf 3.0.
1132 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1133 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1134 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1135 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1141 if test -n "$ac_prev"; then
1142 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1143 as_fn_error $?
"missing argument to $ac_option"
1146 if test -n "$ac_unrecognized_opts"; then
1147 case $enable_option_checking in
1149 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1150 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1154 # Check all directory arguments for consistency.
1155 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1156 datadir sysconfdir sharedstatedir localstatedir includedir \
1157 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1158 libdir localedir mandir
1160 eval ac_val
=\$
$ac_var
1161 # Remove trailing slashes.
1164 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1165 eval $ac_var=\
$ac_val;;
1167 # Be sure to have absolute directory names.
1169 [\\/$
]* | ?
:[\\/]* ) continue;;
1170 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1172 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1175 # There might be people who depend on the old broken behavior: `$host'
1176 # used to hold the argument of --host etc.
1177 # FIXME: To remove some day.
1180 target
=$target_alias
1182 # FIXME: To remove some day.
1183 if test "x$host_alias" != x
; then
1184 if test "x$build_alias" = x
; then
1185 cross_compiling
=maybe
1186 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1187 If a cross compiler is detected then cross compile mode will be used" >&2
1188 elif test "x$build_alias" != "x$host_alias"; then
1194 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1196 test "$silent" = yes && exec 6>/dev
/null
1199 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1200 ac_ls_di
=`ls -di .` &&
1201 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1202 as_fn_error $?
"working directory cannot be determined"
1203 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1204 as_fn_error $?
"pwd does not report name of working directory"
1207 # Find the source files, if location was not specified.
1208 if test -z "$srcdir"; then
1209 ac_srcdir_defaulted
=yes
1210 # Try the directory containing this script, then the parent directory.
1211 ac_confdir
=`$as_dirname -- "$as_myself" ||
1212 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1213 X"$as_myself" : 'X\(//\)[^/]' \| \
1214 X"$as_myself" : 'X\(//\)$' \| \
1215 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1216 $as_echo X"$as_myself" |
1217 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1235 if test ! -r "$srcdir/$ac_unique_file"; then
1239 ac_srcdir_defaulted
=no
1241 if test ! -r "$srcdir/$ac_unique_file"; then
1242 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1243 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1245 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1247 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1249 # When building in place, set srcdir=.
1250 if test "$ac_abs_confdir" = "$ac_pwd"; then
1253 # Remove unnecessary trailing slashes from srcdir.
1254 # Double slashes in file names in object file debugging info
1255 # mess up M-x gdb in Emacs.
1257 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1259 for ac_var
in $ac_precious_vars; do
1260 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1261 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1262 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1263 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1267 # Report the --help message.
1269 if test "$ac_init_help" = "long"; then
1270 # Omit some internal or obsolete options to make the list less imposing.
1271 # This message is too long to be a string in the A/UX 3.1 sh.
1273 \`configure' configures expat 2.1.0 to adapt to many kinds of systems.
1275 Usage: $0 [OPTION]... [VAR=VALUE]...
1277 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1278 VAR=VALUE. See below for descriptions of some of the useful variables.
1280 Defaults for the options are specified in brackets.
1283 -h, --help display this help and exit
1284 --help=short display options specific to this package
1285 --help=recursive display the short help of all the included packages
1286 -V, --version display version information and exit
1287 -q, --quiet, --silent do not print \`checking ...' messages
1288 --cache-file=FILE cache test results in FILE [disabled]
1289 -C, --config-cache alias for \`--cache-file=config.cache'
1290 -n, --no-create do not create output files
1291 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1293 Installation directories:
1294 --prefix=PREFIX install architecture-independent files in PREFIX
1295 [$ac_default_prefix]
1296 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1299 By default, \`make install' will install all the files in
1300 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1301 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1302 for instance \`--prefix=\$HOME'.
1304 For better control, use the options below.
1306 Fine tuning of the installation directories:
1307 --bindir=DIR user executables [EPREFIX/bin]
1308 --sbindir=DIR system admin executables [EPREFIX/sbin]
1309 --libexecdir=DIR program executables [EPREFIX/libexec]
1310 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1311 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1312 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1313 --libdir=DIR object code libraries [EPREFIX/lib]
1314 --includedir=DIR C header files [PREFIX/include]
1315 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1316 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1317 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1318 --infodir=DIR info documentation [DATAROOTDIR/info]
1319 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1320 --mandir=DIR man documentation [DATAROOTDIR/man]
1321 --docdir=DIR documentation root [DATAROOTDIR/doc/expat]
1322 --htmldir=DIR html documentation [DOCDIR]
1323 --dvidir=DIR dvi documentation [DOCDIR]
1324 --pdfdir=DIR pdf documentation [DOCDIR]
1325 --psdir=DIR ps documentation [DOCDIR]
1331 --build=BUILD configure
for building on BUILD
[guessed
]
1332 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1336 if test -n "$ac_init_help"; then
1337 case $ac_init_help in
1338 short | recursive
) echo "Configuration of expat 2.1.0:";;
1343 --disable-option-checking ignore unrecognized
--enable/--with options
1344 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1345 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1346 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1347 --enable-static[=PKGS
] build static libraries
[default
=yes]
1348 --enable-fast-install[=PKGS
]
1349 optimize
for fast installation
[default
=yes]
1350 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1353 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1354 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1355 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1357 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1358 --with-sysroot=DIR Search
for dependent libraries within DIR
1359 (or the compiler
's sysroot if not specified).
1361 Some influential environment variables:
1362 CC C compiler command
1363 CFLAGS C compiler flags
1364 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1365 nonstandard directory <lib dir>
1366 LIBS libraries to pass to the linker, e.g. -l<library>
1367 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1368 you have headers in a nonstandard directory <include dir>
1370 CXX C++ compiler command
1371 CXXFLAGS C++ compiler flags
1372 CXXCPP C++ preprocessor
1374 Use these variables to override the choices made by `configure' or to
help
1375 it to
find libraries and programs with nonstandard names
/locations.
1377 Report bugs to
<expat-bugs@libexpat.org
>.
1382 if test "$ac_init_help" = "recursive"; then
1383 # If there are subdirs, report their specific --help.
1384 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1385 test -d "$ac_dir" ||
1386 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1391 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1393 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1394 # A ".." for each directory in $ac_dir_suffix.
1395 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1396 case $ac_top_builddir_sub in
1397 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1398 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1401 ac_abs_top_builddir
=$ac_pwd
1402 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1403 # for backward compatibility:
1404 ac_top_builddir
=$ac_top_build_prefix
1407 .
) # We are building in place.
1409 ac_top_srcdir
=$ac_top_builddir_sub
1410 ac_abs_top_srcdir
=$ac_pwd ;;
1411 [\\/]* | ?
:[\\/]* ) # Absolute name.
1412 ac_srcdir
=$srcdir$ac_dir_suffix;
1413 ac_top_srcdir
=$srcdir
1414 ac_abs_top_srcdir
=$srcdir ;;
1416 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1417 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1418 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1420 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1422 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1423 # Check for guested configure.
1424 if test -f "$ac_srcdir/configure.gnu"; then
1426 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1427 elif test -f "$ac_srcdir/configure"; then
1429 $SHELL "$ac_srcdir/configure" --help=recursive
1431 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1433 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1437 test -n "$ac_init_help" && exit $ac_status
1438 if $ac_init_version; then
1440 expat configure
2.1.0
1441 generated by GNU Autoconf
2.68
1443 Copyright
(C
) 2010 Free Software Foundation
, Inc.
1444 This configure
script is free software
; the Free Software Foundation
1445 gives unlimited permission to copy
, distribute and modify it.
1450 ## ------------------------ ##
1451 ## Autoconf initialization. ##
1452 ## ------------------------ ##
1454 # ac_fn_c_try_compile LINENO
1455 # --------------------------
1456 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1457 ac_fn_c_try_compile
()
1459 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1460 rm -f conftest.
$ac_objext
1461 if { { ac_try
="$ac_compile"
1463 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1464 *) ac_try_echo=$ac_try;;
1466 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1467 $as_echo "$ac_try_echo"; } >&5
1468 (eval "$ac_compile") 2>conftest.err
1470 if test -s conftest.err; then
1471 grep -v '^ *+' conftest.err >conftest.er1
1472 cat conftest.er1 >&5
1473 mv -f conftest.er1 conftest.err
1475 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1476 test $ac_status = 0; } && {
1477 test -z "$ac_c_werror_flag" ||
1478 test ! -s conftest.err
1479 } && test -s conftest.$ac_objext; then :
1482 $as_echo "$as_me: failed program was:" >&5
1483 sed 's/^/| /' conftest.$ac_ext >&5
1487 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1488 as_fn_set_status $ac_retval
1490 } # ac_fn_c_try_compile
1492 # ac_fn_c_try_link LINENO
1493 # -----------------------
1494 # Try to link conftest.$ac_ext, and return whether this succeeded.
1497 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1498 rm -f conftest.$ac_objext conftest$ac_exeext
1499 if { { ac_try="$ac_link"
1501 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1502 *) ac_try_echo
=$ac_try;;
1504 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1505 $as_echo "$ac_try_echo"; } >&5
1506 (eval "$ac_link") 2>conftest.err
1508 if test -s conftest.err
; then
1509 grep -v '^ *+' conftest.err
>conftest.er1
1510 cat conftest.er1
>&5
1511 mv -f conftest.er1 conftest.err
1513 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1514 test $ac_status = 0; } && {
1515 test -z "$ac_c_werror_flag" ||
1516 test ! -s conftest.err
1517 } && test -s conftest
$ac_exeext && {
1518 test "$cross_compiling" = yes ||
1519 $as_test_x conftest
$ac_exeext
1523 $as_echo "$as_me: failed program was:" >&5
1524 sed 's/^/| /' conftest.
$ac_ext >&5
1528 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1529 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1530 # interfere with the next link command; also delete a directory that is
1531 # left behind by Apple's compiler. We do this before executing the actions.
1532 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1533 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1534 as_fn_set_status
$ac_retval
1536 } # ac_fn_c_try_link
1538 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1539 # -------------------------------------------------------
1540 # Tests whether HEADER exists and can be compiled using the include files in
1541 # INCLUDES, setting the cache variable VAR accordingly.
1542 ac_fn_c_check_header_compile
()
1544 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1546 $as_echo_n "checking for $2... " >&6; }
1547 if eval \
${$3+:} false
; then :
1548 $as_echo_n "(cached) " >&6
1550 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1551 /* end confdefs.h. */
1555 if ac_fn_c_try_compile
"$LINENO"; then :
1560 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1564 $as_echo "$ac_res" >&6; }
1565 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1567 } # ac_fn_c_check_header_compile
1569 # ac_fn_c_try_cpp LINENO
1570 # ----------------------
1571 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1574 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1575 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1577 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1578 *) ac_try_echo=$ac_try;;
1580 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1581 $as_echo "$ac_try_echo"; } >&5
1582 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1584 if test -s conftest.err; then
1585 grep -v '^ *+' conftest.err >conftest.er1
1586 cat conftest.er1 >&5
1587 mv -f conftest.er1 conftest.err
1589 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1590 test $ac_status = 0; } > conftest.i && {
1591 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1592 test ! -s conftest.err
1596 $as_echo "$as_me: failed program was:" >&5
1597 sed 's/^/| /' conftest.$ac_ext >&5
1601 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1602 as_fn_set_status $ac_retval
1606 # ac_fn_c_try_run LINENO
1607 # ----------------------
1608 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1609 # that executables *can* be run.
1612 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1613 if { { ac_try="$ac_link"
1615 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1616 *) ac_try_echo
=$ac_try;;
1618 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1619 $as_echo "$ac_try_echo"; } >&5
1620 (eval "$ac_link") 2>&5
1622 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1623 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1624 { { case "(($ac_try" in
1625 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1626 *) ac_try_echo=$ac_try;;
1628 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1629 $as_echo "$ac_try_echo"; } >&5
1630 (eval "$ac_try") 2>&5
1632 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1633 test $ac_status = 0; }; }; then :
1636 $as_echo "$as_me: program exited with status $ac_status" >&5
1637 $as_echo "$as_me: failed program was:" >&5
1638 sed 's/^/| /' conftest.$ac_ext >&5
1640 ac_retval=$ac_status
1642 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1643 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1644 as_fn_set_status $ac_retval
1648 # ac_fn_c_check_func LINENO FUNC VAR
1649 # ----------------------------------
1650 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1651 ac_fn_c_check_func ()
1653 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1655 $as_echo_n "checking for $2... " >&6; }
1656 if eval \${$3+:} false; then :
1657 $as_echo_n "(cached) " >&6
1659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1660 /* end confdefs.h. */
1661 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1662 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1663 #define $2 innocuous_$2
1665 /* System header to define __stub macros and hopefully few prototypes,
1666 which can conflict with char $2 (); below.
1667 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1668 <limits.h> exists even on freestanding compilers. */
1671 # include <limits.h>
1673 # include <assert.h>
1678 /* Override any GCC internal prototype to avoid an error.
1679 Use char because int might match the return type of a GCC
1680 builtin and then its argument prototype would still apply. */
1685 /* The GNU C library defines this for functions which it implements
1686 to always fail with ENOSYS. Some functions are actually named
1687 something starting with __ and the normal name is an alias. */
1688 #if defined __stub_$2 || defined __stub___$2
1700 if ac_fn_c_try_link "$LINENO"; then :
1705 rm -f core conftest.err conftest.$ac_objext \
1706 conftest$ac_exeext conftest.$ac_ext
1709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1710 $as_echo "$ac_res" >&6; }
1711 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1713 } # ac_fn_c_check_func
1715 # ac_fn_cxx_try_compile LINENO
1716 # ----------------------------
1717 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1718 ac_fn_cxx_try_compile ()
1720 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1721 rm -f conftest.$ac_objext
1722 if { { ac_try="$ac_compile"
1724 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1725 *) ac_try_echo
=$ac_try;;
1727 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1728 $as_echo "$ac_try_echo"; } >&5
1729 (eval "$ac_compile") 2>conftest.err
1731 if test -s conftest.err
; then
1732 grep -v '^ *+' conftest.err
>conftest.er1
1733 cat conftest.er1
>&5
1734 mv -f conftest.er1 conftest.err
1736 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1737 test $ac_status = 0; } && {
1738 test -z "$ac_cxx_werror_flag" ||
1739 test ! -s conftest.err
1740 } && test -s conftest.
$ac_objext; then :
1743 $as_echo "$as_me: failed program was:" >&5
1744 sed 's/^/| /' conftest.
$ac_ext >&5
1748 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1749 as_fn_set_status
$ac_retval
1751 } # ac_fn_cxx_try_compile
1753 # ac_fn_cxx_try_cpp LINENO
1754 # ------------------------
1755 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1756 ac_fn_cxx_try_cpp
()
1758 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1759 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1761 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1762 *) ac_try_echo=$ac_try;;
1764 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1765 $as_echo "$ac_try_echo"; } >&5
1766 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1768 if test -s conftest.err; then
1769 grep -v '^ *+' conftest.err >conftest.er1
1770 cat conftest.er1 >&5
1771 mv -f conftest.er1 conftest.err
1773 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1774 test $ac_status = 0; } > conftest.i && {
1775 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1776 test ! -s conftest.err
1780 $as_echo "$as_me: failed program was:" >&5
1781 sed 's/^/| /' conftest.$ac_ext >&5
1785 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1786 as_fn_set_status $ac_retval
1788 } # ac_fn_cxx_try_cpp
1790 # ac_fn_cxx_try_link LINENO
1791 # -------------------------
1792 # Try to link conftest.$ac_ext, and return whether this succeeded.
1793 ac_fn_cxx_try_link ()
1795 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1796 rm -f conftest.$ac_objext conftest$ac_exeext
1797 if { { ac_try="$ac_link"
1799 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1800 *) ac_try_echo
=$ac_try;;
1802 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1803 $as_echo "$ac_try_echo"; } >&5
1804 (eval "$ac_link") 2>conftest.err
1806 if test -s conftest.err
; then
1807 grep -v '^ *+' conftest.err
>conftest.er1
1808 cat conftest.er1
>&5
1809 mv -f conftest.er1 conftest.err
1811 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1812 test $ac_status = 0; } && {
1813 test -z "$ac_cxx_werror_flag" ||
1814 test ! -s conftest.err
1815 } && test -s conftest
$ac_exeext && {
1816 test "$cross_compiling" = yes ||
1817 $as_test_x conftest
$ac_exeext
1821 $as_echo "$as_me: failed program was:" >&5
1822 sed 's/^/| /' conftest.
$ac_ext >&5
1826 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1827 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1828 # interfere with the next link command; also delete a directory that is
1829 # left behind by Apple's compiler. We do this before executing the actions.
1830 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1831 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1832 as_fn_set_status
$ac_retval
1834 } # ac_fn_cxx_try_link
1836 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1837 # -------------------------------------------
1838 # Tests whether TYPE exists after having included INCLUDES, setting cache
1839 # variable VAR accordingly.
1840 ac_fn_c_check_type
()
1842 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1844 $as_echo_n "checking for $2... " >&6; }
1845 if eval \
${$3+:} false
; then :
1846 $as_echo_n "(cached) " >&6
1849 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1850 /* end confdefs.h. */
1861 if ac_fn_c_try_compile
"$LINENO"; then :
1862 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1863 /* end confdefs.h. */
1874 if ac_fn_c_try_compile
"$LINENO"; then :
1879 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1881 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1885 $as_echo "$ac_res" >&6; }
1886 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1888 } # ac_fn_c_check_type
1890 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1891 # -------------------------------------------------------
1892 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1893 # the include files in INCLUDES and setting the cache variable VAR
1895 ac_fn_c_check_header_mongrel
()
1897 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1898 if eval \
${$3+:} false
; then :
1899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1900 $as_echo_n "checking for $2... " >&6; }
1901 if eval \
${$3+:} false
; then :
1902 $as_echo_n "(cached) " >&6
1905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1906 $as_echo "$ac_res" >&6; }
1908 # Is the header compilable?
1909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1910 $as_echo_n "checking $2 usability... " >&6; }
1911 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1912 /* end confdefs.h. */
1916 if ac_fn_c_try_compile
"$LINENO"; then :
1917 ac_header_compiler
=yes
1919 ac_header_compiler
=no
1921 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1923 $as_echo "$ac_header_compiler" >&6; }
1925 # Is the header present?
1926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1927 $as_echo_n "checking $2 presence... " >&6; }
1928 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1929 /* end confdefs.h. */
1932 if ac_fn_c_try_cpp
"$LINENO"; then :
1933 ac_header_preproc
=yes
1935 ac_header_preproc
=no
1937 rm -f conftest.err conftest.i conftest.
$ac_ext
1938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1939 $as_echo "$ac_header_preproc" >&6; }
1941 # So? What about this header?
1942 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1944 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1945 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1946 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1947 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1950 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1951 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1952 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1953 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1954 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1955 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1956 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1957 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1958 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1959 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1960 ( $as_echo "## -------------------------------------- ##
1961 ## Report this to expat-bugs@libexpat.org ##
1962 ## -------------------------------------- ##"
1963 ) |
sed "s/^/$as_me: WARNING: /" >&2
1966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1967 $as_echo_n "checking for $2... " >&6; }
1968 if eval \
${$3+:} false
; then :
1969 $as_echo_n "(cached) " >&6
1971 eval "$3=\$ac_header_compiler"
1974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1975 $as_echo "$ac_res" >&6; }
1977 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1979 } # ac_fn_c_check_header_mongrel
1980 cat >config.log
<<_ACEOF
1981 This file contains any messages produced by compilers while
1982 running configure, to aid debugging if configure makes a mistake.
1984 It was created by expat $as_me 2.1.0, which was
1985 generated by GNU Autoconf 2.68. Invocation command line was
1997 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1998 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1999 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2000 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2001 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2003 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2004 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2006 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2007 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2008 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2009 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2010 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2011 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2012 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2016 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2020 test -z "$as_dir" && as_dir
=.
2021 $as_echo "PATH: $as_dir"
2037 # Keep a trace of the command line.
2038 # Strip out --no-create and --no-recursion so they do not pile up.
2039 # Strip out --silent because we don't want to record it for future runs.
2040 # Also quote any args containing shell meta-characters.
2041 # Make two passes to allow for proper duplicate-argument suppression.
2045 ac_must_keep_next
=false
2051 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2052 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2053 |
-silent |
--silent |
--silen |
--sile |
--sil)
2056 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2059 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2061 as_fn_append ac_configure_args1
" '$ac_arg'"
2062 if test $ac_must_keep_next = true
; then
2063 ac_must_keep_next
=false
# Got value, back to normal.
2066 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2067 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2068 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2069 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2070 case "$ac_configure_args0 " in
2071 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2074 -* ) ac_must_keep_next
=true
;;
2077 as_fn_append ac_configure_args
" '$ac_arg'"
2082 { ac_configure_args0
=; unset ac_configure_args0
;}
2083 { ac_configure_args1
=; unset ac_configure_args1
;}
2085 # When interrupted or exit'd, cleanup temporary files, and complete
2086 # config.log. We remove comments because anyway the quotes in there
2087 # would cause problems or look ugly.
2088 # WARNING: Use '\'' to represent an apostrophe within the trap.
2089 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2090 trap 'exit_status=$?
2091 # Save into config.log some information that might help in debugging.
2095 $as_echo "## ---------------- ##
2096 ## Cache variables. ##
2097 ## ---------------- ##"
2099 # The following way of writing the cache mishandles newlines in values,
2101 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2102 eval ac_val=\$$ac_var
2106 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2107 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2110 _ | IFS | as_nl) ;; #(
2111 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2112 *) { eval $ac_var=; unset $ac_var;} ;;
2117 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2118 *${as_nl}ac_space=\ *)
2120 "s/'\''/'\''\\\\'\'''\''/g;
2121 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2124 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2131 $as_echo "## ----------------- ##
2132 ## Output variables. ##
2133 ## ----------------- ##"
2135 for ac_var in $ac_subst_vars
2137 eval ac_val=\$$ac_var
2139 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2141 $as_echo "$ac_var='\''$ac_val'\''"
2145 if test -n "$ac_subst_files"; then
2146 $as_echo "## ------------------- ##
2147 ## File substitutions. ##
2148 ## ------------------- ##"
2150 for ac_var
in $ac_subst_files
2152 eval ac_val
=\$
$ac_var
2154 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2156 $as_echo "$ac_var='\''$ac_val'\''"
2161 if test -s confdefs.h; then
2162 $as_echo "## ----------- ##
2169 test "$ac_signal" != 0 &&
2170 $as_echo "$as_me: caught signal $ac_signal"
2171 $as_echo "$as_me: exit $exit_status"
2173 rm -f core *.core core.conftest.* &&
2174 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2177 for ac_signal
in 1 2 13 15; do
2178 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2182 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2183 rm -f -r conftest
* confdefs.h
2185 $as_echo "/* confdefs.h */" > confdefs.h
2187 # Predefined preprocessor variables.
2189 cat >>confdefs.h
<<_ACEOF
2190 #define PACKAGE_NAME "$PACKAGE_NAME"
2193 cat >>confdefs.h
<<_ACEOF
2194 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2197 cat >>confdefs.h
<<_ACEOF
2198 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2201 cat >>confdefs.h
<<_ACEOF
2202 #define PACKAGE_STRING "$PACKAGE_STRING"
2205 cat >>confdefs.h
<<_ACEOF
2206 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2209 cat >>confdefs.h
<<_ACEOF
2210 #define PACKAGE_URL "$PACKAGE_URL"
2214 # Let the site file select an alternate cache file if it wants to.
2215 # Prefer an explicitly selected file to automatically selected ones.
2218 if test -n "$CONFIG_SITE"; then
2219 # We do not want a PATH search for config.site.
2220 case $CONFIG_SITE in #((
2221 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2222 */*) ac_site_file1
=$CONFIG_SITE;;
2223 *) ac_site_file1
=.
/$CONFIG_SITE;;
2225 elif test "x$prefix" != xNONE
; then
2226 ac_site_file1
=$prefix/share
/config.site
2227 ac_site_file2
=$prefix/etc
/config.site
2229 ac_site_file1
=$ac_default_prefix/share
/config.site
2230 ac_site_file2
=$ac_default_prefix/etc
/config.site
2232 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2234 test "x$ac_site_file" = xNONE
&& continue
2235 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2236 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2237 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2238 sed 's/^/| /' "$ac_site_file" >&5
2240 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2241 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2242 as_fn_error $?
"failed to load site script $ac_site_file
2243 See \`config.log' for more details" "$LINENO" 5; }
2247 if test -r "$cache_file"; then
2248 # Some versions of bash will fail to source /dev/null (special files
2249 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2250 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2251 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2252 $as_echo "$as_me: loading cache $cache_file" >&6;}
2254 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2255 *) .
"./$cache_file";;
2259 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2260 $as_echo "$as_me: creating cache $cache_file" >&6;}
2264 as_fn_append ac_header_list
" stdlib.h"
2265 as_fn_append ac_header_list
" unistd.h"
2266 as_fn_append ac_header_list
" sys/param.h"
2267 # Check that the precious variables saved in the cache have kept the same
2269 ac_cache_corrupted
=false
2270 for ac_var
in $ac_precious_vars; do
2271 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2272 eval ac_new_set
=\
$ac_env_${ac_var}_set
2273 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2274 eval ac_new_val
=\
$ac_env_${ac_var}_value
2275 case $ac_old_set,$ac_new_set in
2277 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2278 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2279 ac_cache_corrupted
=: ;;
2281 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2282 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2283 ac_cache_corrupted
=: ;;
2286 if test "x$ac_old_val" != "x$ac_new_val"; then
2287 # differences in whitespace do not lead to failure.
2288 ac_old_val_w
=`echo x $ac_old_val`
2289 ac_new_val_w
=`echo x $ac_new_val`
2290 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2291 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2292 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2293 ac_cache_corrupted
=:
2295 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2296 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2297 eval $ac_var=\
$ac_old_val
2299 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2300 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2301 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2302 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2305 # Pass precious variables to config.status.
2306 if test "$ac_new_set" = set; then
2308 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2309 *) ac_arg
=$ac_var=$ac_new_val ;;
2311 case " $ac_configure_args " in
2312 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2313 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2317 if $ac_cache_corrupted; then
2318 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2319 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2320 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2321 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2322 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2324 ## -------------------- ##
2325 ## Main body of script. ##
2326 ## -------------------- ##
2329 ac_cpp
='$CPP $CPPFLAGS'
2330 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2331 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2332 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2339 for ac_dir
in conftools
"$srcdir"/conftools
; do
2340 if test -f "$ac_dir/install-sh"; then
2342 ac_install_sh
="$ac_aux_dir/install-sh -c"
2344 elif test -f "$ac_dir/install.sh"; then
2346 ac_install_sh
="$ac_aux_dir/install.sh -c"
2348 elif test -f "$ac_dir/shtool"; then
2350 ac_install_sh
="$ac_aux_dir/shtool install -c"
2354 if test -z "$ac_aux_dir"; then
2355 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in conftools \"$srcdir\"/conftools" "$LINENO" 5
2358 # These three variables are undocumented and unsupported,
2359 # and are intended to be withdrawn in a future Autoconf release.
2360 # They can cause serious problems if a builder's source tree is in a directory
2361 # whose full name contains unusual characters.
2362 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2363 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2364 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2375 ac_config_headers
="$ac_config_headers expat_config.h"
2381 # Make sure we can run config.sub.
2382 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2383 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2386 $as_echo_n "checking build system type... " >&6; }
2387 if ${ac_cv_build+:} false
; then :
2388 $as_echo_n "(cached) " >&6
2390 ac_build_alias
=$build_alias
2391 test "x$ac_build_alias" = x
&&
2392 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2393 test "x$ac_build_alias" = x
&&
2394 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2395 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2396 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2400 $as_echo "$ac_cv_build" >&6; }
2401 case $ac_cv_build in
2403 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2406 ac_save_IFS
=$IFS; IFS
='-'
2412 # Remember, the first character of IFS is used to create $*,
2413 # except with old shells:
2416 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2420 $as_echo_n "checking host system type... " >&6; }
2421 if ${ac_cv_host+:} false
; then :
2422 $as_echo_n "(cached) " >&6
2424 if test "x$host_alias" = x
; then
2425 ac_cv_host
=$ac_cv_build
2427 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2428 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2433 $as_echo "$ac_cv_host" >&6; }
2436 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2439 ac_save_IFS
=$IFS; IFS
='-'
2445 # Remember, the first character of IFS is used to create $*,
2446 # except with old shells:
2449 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2452 enable_win32_dll
=yes
2455 *-*-cygwin* |
*-*-mingw* |
*-*-pw32* |
*-*-cegcc*)
2456 if test -n "$ac_tool_prefix"; then
2457 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
2458 set dummy
${ac_tool_prefix}as
; ac_word
=$2
2459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2460 $as_echo_n "checking for $ac_word... " >&6; }
2461 if ${ac_cv_prog_AS+:} false
; then :
2462 $as_echo_n "(cached) " >&6
2464 if test -n "$AS"; then
2465 ac_cv_prog_AS
="$AS" # Let the user override the test.
2467 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2471 test -z "$as_dir" && as_dir
=.
2472 for ac_exec_ext
in '' $ac_executable_extensions; do
2473 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2474 ac_cv_prog_AS
="${ac_tool_prefix}as"
2475 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2485 if test -n "$AS"; then
2486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
2487 $as_echo "$AS" >&6; }
2489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2490 $as_echo "no" >&6; }
2495 if test -z "$ac_cv_prog_AS"; then
2497 # Extract the first word of "as", so it can be a program name with args.
2498 set dummy as
; ac_word
=$2
2499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2500 $as_echo_n "checking for $ac_word... " >&6; }
2501 if ${ac_cv_prog_ac_ct_AS+:} false
; then :
2502 $as_echo_n "(cached) " >&6
2504 if test -n "$ac_ct_AS"; then
2505 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
2507 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2511 test -z "$as_dir" && as_dir
=.
2512 for ac_exec_ext
in '' $ac_executable_extensions; do
2513 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2514 ac_cv_prog_ac_ct_AS
="as"
2515 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2524 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
2525 if test -n "$ac_ct_AS"; then
2526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
2527 $as_echo "$ac_ct_AS" >&6; }
2529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2530 $as_echo "no" >&6; }
2533 if test "x$ac_ct_AS" = x
; then
2536 case $cross_compiling:$ac_tool_warned in
2538 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2539 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2540 ac_tool_warned
=yes ;;
2548 if test -n "$ac_tool_prefix"; then
2549 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
2550 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
2551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2552 $as_echo_n "checking for $ac_word... " >&6; }
2553 if ${ac_cv_prog_DLLTOOL+:} false
; then :
2554 $as_echo_n "(cached) " >&6
2556 if test -n "$DLLTOOL"; then
2557 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
2559 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2563 test -z "$as_dir" && as_dir
=.
2564 for ac_exec_ext
in '' $ac_executable_extensions; do
2565 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2566 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
2567 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2576 DLLTOOL
=$ac_cv_prog_DLLTOOL
2577 if test -n "$DLLTOOL"; then
2578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
2579 $as_echo "$DLLTOOL" >&6; }
2581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2582 $as_echo "no" >&6; }
2587 if test -z "$ac_cv_prog_DLLTOOL"; then
2588 ac_ct_DLLTOOL
=$DLLTOOL
2589 # Extract the first word of "dlltool", so it can be a program name with args.
2590 set dummy dlltool
; ac_word
=$2
2591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2592 $as_echo_n "checking for $ac_word... " >&6; }
2593 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
2594 $as_echo_n "(cached) " >&6
2596 if test -n "$ac_ct_DLLTOOL"; then
2597 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
2599 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2603 test -z "$as_dir" && as_dir
=.
2604 for ac_exec_ext
in '' $ac_executable_extensions; do
2605 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2606 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
2607 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2616 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
2617 if test -n "$ac_ct_DLLTOOL"; then
2618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
2619 $as_echo "$ac_ct_DLLTOOL" >&6; }
2621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2622 $as_echo "no" >&6; }
2625 if test "x$ac_ct_DLLTOOL" = x
; then
2628 case $cross_compiling:$ac_tool_warned in
2630 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2631 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2632 ac_tool_warned
=yes ;;
2634 DLLTOOL
=$ac_ct_DLLTOOL
2637 DLLTOOL
="$ac_cv_prog_DLLTOOL"
2640 if test -n "$ac_tool_prefix"; then
2641 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
2642 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
2643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2644 $as_echo_n "checking for $ac_word... " >&6; }
2645 if ${ac_cv_prog_OBJDUMP+:} false
; then :
2646 $as_echo_n "(cached) " >&6
2648 if test -n "$OBJDUMP"; then
2649 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
2651 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2655 test -z "$as_dir" && as_dir
=.
2656 for ac_exec_ext
in '' $ac_executable_extensions; do
2657 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2658 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
2659 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2668 OBJDUMP
=$ac_cv_prog_OBJDUMP
2669 if test -n "$OBJDUMP"; then
2670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
2671 $as_echo "$OBJDUMP" >&6; }
2673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2674 $as_echo "no" >&6; }
2679 if test -z "$ac_cv_prog_OBJDUMP"; then
2680 ac_ct_OBJDUMP
=$OBJDUMP
2681 # Extract the first word of "objdump", so it can be a program name with args.
2682 set dummy objdump
; ac_word
=$2
2683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2684 $as_echo_n "checking for $ac_word... " >&6; }
2685 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false
; then :
2686 $as_echo_n "(cached) " >&6
2688 if test -n "$ac_ct_OBJDUMP"; then
2689 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
2691 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2695 test -z "$as_dir" && as_dir
=.
2696 for ac_exec_ext
in '' $ac_executable_extensions; do
2697 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2698 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
2699 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2708 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
2709 if test -n "$ac_ct_OBJDUMP"; then
2710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
2711 $as_echo "$ac_ct_OBJDUMP" >&6; }
2713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2714 $as_echo "no" >&6; }
2717 if test "x$ac_ct_OBJDUMP" = x
; then
2720 case $cross_compiling:$ac_tool_warned in
2722 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2723 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2724 ac_tool_warned
=yes ;;
2726 OBJDUMP
=$ac_ct_OBJDUMP
2729 OBJDUMP
="$ac_cv_prog_OBJDUMP"
2735 test -z "$AS" && AS
=as
2741 test -z "$DLLTOOL" && DLLTOOL
=dlltool
2747 test -z "$OBJDUMP" && OBJDUMP
=objdump
2757 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
2758 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
2764 macro_revision
='1.3293'
2778 ltmain
="$ac_aux_dir/ltmain.sh"
2780 # Backslashify metacharacters that are still active within
2781 # double-quoted strings.
2782 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
2784 # Same as above, but do not quote variable references.
2785 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
2787 # Sed substitution to delay expansion of an escaped shell variable in a
2788 # double_quote_subst'ed string.
2789 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
2791 # Sed substitution to delay expansion of an escaped single quote.
2792 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
2794 # Sed substitution to avoid accidental globbing in evaled expressions
2795 no_glob_subst
='s/\*/\\\*/g'
2797 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
2798 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
2799 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
2801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
2802 $as_echo_n "checking how to print strings... " >&6; }
2803 # Test print first, because it will be a builtin if present.
2804 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
2805 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
2807 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
2810 # Use this function as a fallback that always works.
2811 func_fallback_echo ()
2813 eval 'cat <<_LTECHO_EOF
2817 ECHO='func_fallback_echo
'
2820 # func_echo_all arg...
2821 # Invoke $ECHO with all args, space-separated.
2828 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
2829 $as_echo "printf" >&6; } ;;
2830 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
2831 $as_echo "print -r" >&6; } ;;
2832 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
2833 $as_echo "cat" >&6; } ;;
2850 ac_cpp='$CPP $CPPFLAGS'
2851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
2852 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
2853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2854 if test -n "$ac_tool_prefix"; then
2855 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2856 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2858 $as_echo_n "checking for $ac_word... " >&6; }
2859 if ${ac_cv_prog_CC+:} false; then :
2860 $as_echo_n "(cached) " >&6
2862 if test -n "$CC"; then
2863 ac_cv_prog_CC="$CC" # Let the user override the test.
2865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2869 test -z "$as_dir" && as_dir=.
2870 for ac_exec_ext in '' $ac_executable_extensions; do
2871 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2872 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2873 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2883 if test -n "$CC"; then
2884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2885 $as_echo "$CC" >&6; }
2887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2888 $as_echo "no" >&6; }
2893 if test -z "$ac_cv_prog_CC"; then
2895 # Extract the first word of "gcc", so it can be a program name with args.
2896 set dummy gcc; ac_word=$2
2897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2898 $as_echo_n "checking for $ac_word... " >&6; }
2899 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2900 $as_echo_n "(cached) " >&6
2902 if test -n "$ac_ct_CC"; then
2903 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2909 test -z "$as_dir" && as_dir=.
2910 for ac_exec_ext in '' $ac_executable_extensions; do
2911 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2912 ac_cv_prog_ac_ct_CC="gcc"
2913 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2922 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2923 if test -n "$ac_ct_CC"; then
2924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2925 $as_echo "$ac_ct_CC" >&6; }
2927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2928 $as_echo "no" >&6; }
2931 if test "x$ac_ct_CC" = x; then
2934 case $cross_compiling:$ac_tool_warned in
2936 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2937 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2938 ac_tool_warned=yes ;;
2946 if test -z "$CC"; then
2947 if test -n "$ac_tool_prefix"; then
2948 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2949 set dummy ${ac_tool_prefix}cc; ac_word=$2
2950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2951 $as_echo_n "checking for $ac_word... " >&6; }
2952 if ${ac_cv_prog_CC+:} false; then :
2953 $as_echo_n "(cached) " >&6
2955 if test -n "$CC"; then
2956 ac_cv_prog_CC="$CC" # Let the user override the test.
2958 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2962 test -z "$as_dir" && as_dir=.
2963 for ac_exec_ext in '' $ac_executable_extensions; do
2964 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2965 ac_cv_prog_CC="${ac_tool_prefix}cc"
2966 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2976 if test -n "$CC"; then
2977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2978 $as_echo "$CC" >&6; }
2980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2981 $as_echo "no" >&6; }
2987 if test -z "$CC"; then
2988 # Extract the first word of "cc", so it can be a program name with args.
2989 set dummy cc; ac_word=$2
2990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2991 $as_echo_n "checking for $ac_word... " >&6; }
2992 if ${ac_cv_prog_CC+:} false; then :
2993 $as_echo_n "(cached) " >&6
2995 if test -n "$CC"; then
2996 ac_cv_prog_CC="$CC" # Let the user override the test.
2999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3003 test -z "$as_dir" && as_dir=.
3004 for ac_exec_ext in '' $ac_executable_extensions; do
3005 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3006 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3007 ac_prog_rejected=yes
3011 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3018 if test $ac_prog_rejected = yes; then
3019 # We found a bogon in the path, so make sure we never use it.
3020 set dummy $ac_cv_prog_CC
3022 if test $# != 0; then
3023 # We chose a different compiler from the bogus one.
3024 # However, it has the same basename, so the bogon will be chosen
3025 # first if we set CC to just the basename; use the full file name.
3027 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3033 if test -n "$CC"; then
3034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3035 $as_echo "$CC" >&6; }
3037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3038 $as_echo "no" >&6; }
3043 if test -z "$CC"; then
3044 if test -n "$ac_tool_prefix"; then
3045 for ac_prog in cl.exe
3047 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3048 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3050 $as_echo_n "checking for $ac_word... " >&6; }
3051 if ${ac_cv_prog_CC+:} false; then :
3052 $as_echo_n "(cached) " >&6
3054 if test -n "$CC"; then
3055 ac_cv_prog_CC="$CC" # Let the user override the test.
3057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3061 test -z "$as_dir" && as_dir=.
3062 for ac_exec_ext in '' $ac_executable_extensions; do
3063 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3064 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3065 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3075 if test -n "$CC"; then
3076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3077 $as_echo "$CC" >&6; }
3079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3080 $as_echo "no" >&6; }
3084 test -n "$CC" && break
3087 if test -z "$CC"; then
3089 for ac_prog in cl.exe
3091 # Extract the first word of "$ac_prog", so it can be a program name with args.
3092 set dummy $ac_prog; ac_word=$2
3093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3094 $as_echo_n "checking for $ac_word... " >&6; }
3095 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3096 $as_echo_n "(cached) " >&6
3098 if test -n "$ac_ct_CC"; then
3099 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3105 test -z "$as_dir" && as_dir=.
3106 for ac_exec_ext in '' $ac_executable_extensions; do
3107 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3108 ac_cv_prog_ac_ct_CC="$ac_prog"
3109 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3118 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3119 if test -n "$ac_ct_CC"; then
3120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3121 $as_echo "$ac_ct_CC" >&6; }
3123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3124 $as_echo "no" >&6; }
3128 test -n "$ac_ct_CC" && break
3131 if test "x$ac_ct_CC" = x; then
3134 case $cross_compiling:$ac_tool_warned in
3136 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3137 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3138 ac_tool_warned=yes ;;
3147 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3148 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
3149 as_fn_error $? "no acceptable C compiler found in \$PATH
3150 See \`config.log
' for more details" "$LINENO" 5; }
3152 # Provide some information about the compiler.
3153 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3156 for ac_option in --version -v -V -qversion; do
3157 { { ac_try="$ac_compiler $ac_option >&5"
3159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3160 *) ac_try_echo=$ac_try;;
3162 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3163 $as_echo "$ac_try_echo"; } >&5
3164 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3166 if test -s conftest.err; then
3168 ... rest of stderr output deleted ...
3169 10q
' conftest.err >conftest.er1
3170 cat conftest.er1 >&5
3172 rm -f conftest.er1 conftest.err
3173 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3174 test $ac_status = 0; }
3177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3178 /* end confdefs.h. */
3188 ac_clean_files_save=$ac_clean_files
3189 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3190 # Try to create an executable without -o first, disregard a.out.
3191 # It will help us diagnose broken compilers, and finding out an intuition
3193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3194 $as_echo_n "checking whether the C compiler works... " >&6; }
3195 ac_link_default=`$as_echo "$ac_link" | sed 's
/ -o *conftest
[^
]*//'`
3197 # The possible output files:
3198 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3201 for ac_file in $ac_files
3204 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3205 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3210 if { { ac_try="$ac_link_default"
3212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3213 *) ac_try_echo=$ac_try;;
3215 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3216 $as_echo "$ac_try_echo"; } >&5
3217 (eval "$ac_link_default") 2>&5
3219 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3220 test $ac_status = 0; }; then :
3221 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3222 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3223 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3224 # so that the user can short-circuit this test for compilers unknown to
3226 for ac_file
in $ac_files ''
3228 test -f "$ac_file" ||
continue
3230 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3233 # We found the default executable, but exeext='' is most
3237 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3239 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3241 # We set ac_cv_exeext here because the later test for it is not
3242 # safe: cross compilers may not add the suffix if given an `-o'
3243 # argument, so we may need to know it at that point already.
3244 # Even if this section looks crufty: it has the advantage of
3251 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3256 if test -z "$ac_file"; then :
3257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3258 $as_echo "no" >&6; }
3259 $as_echo "$as_me: failed program was:" >&5
3260 sed 's/^/| /' conftest.
$ac_ext >&5
3262 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3263 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3264 as_fn_error
77 "C compiler cannot create executables
3265 See \`config.log' for more details" "$LINENO" 5; }
3267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3268 $as_echo "yes" >&6; }
3270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3271 $as_echo_n "checking for C compiler default output file name... " >&6; }
3272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3273 $as_echo "$ac_file" >&6; }
3274 ac_exeext
=$ac_cv_exeext
3276 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3277 ac_clean_files
=$ac_clean_files_save
3278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3279 $as_echo_n "checking for suffix of executables... " >&6; }
3280 if { { ac_try
="$ac_link"
3282 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3283 *) ac_try_echo=$ac_try;;
3285 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3286 $as_echo "$ac_try_echo"; } >&5
3287 (eval "$ac_link") 2>&5
3289 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3290 test $ac_status = 0; }; then :
3291 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3292 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3293 # work properly (i.e., refer to `conftest.exe'), while it won't with
3295 for ac_file
in conftest.exe conftest conftest.
*; do
3296 test -f "$ac_file" ||
continue
3298 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3299 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3305 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3306 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3307 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3308 See \`config.log' for more details" "$LINENO" 5; }
3310 rm -f conftest conftest
$ac_cv_exeext
3311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3312 $as_echo "$ac_cv_exeext" >&6; }
3314 rm -f conftest.
$ac_ext
3315 EXEEXT
=$ac_cv_exeext
3317 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3318 /* end confdefs.h. */
3323 FILE *f = fopen ("conftest.out", "w");
3324 return ferror (f) || fclose (f) != 0;
3330 ac_clean_files
="$ac_clean_files conftest.out"
3331 # Check that the compiler produces executables we can run. If not, either
3332 # the compiler is broken, or we cross compile.
3333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3334 $as_echo_n "checking whether we are cross compiling... " >&6; }
3335 if test "$cross_compiling" != yes; then
3336 { { ac_try
="$ac_link"
3338 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3339 *) ac_try_echo=$ac_try;;
3341 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3342 $as_echo "$ac_try_echo"; } >&5
3343 (eval "$ac_link") 2>&5
3345 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3346 test $ac_status = 0; }
3347 if { ac_try='./conftest$ac_cv_exeext'
3348 { { case "(($ac_try" in
3349 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3350 *) ac_try_echo
=$ac_try;;
3352 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3353 $as_echo "$ac_try_echo"; } >&5
3354 (eval "$ac_try") 2>&5
3356 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3357 test $ac_status = 0; }; }; then
3360 if test "$cross_compiling" = maybe
; then
3363 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3364 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3365 as_fn_error $?
"cannot run C compiled programs.
3366 If you meant to cross compile, use \`--host'.
3367 See \`config.log' for more details" "$LINENO" 5; }
3371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3372 $as_echo "$cross_compiling" >&6; }
3374 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3375 ac_clean_files
=$ac_clean_files_save
3376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3377 $as_echo_n "checking for suffix of object files... " >&6; }
3378 if ${ac_cv_objext+:} false
; then :
3379 $as_echo_n "(cached) " >&6
3381 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3382 /* end confdefs.h. */
3392 rm -f conftest.o conftest.obj
3393 if { { ac_try
="$ac_compile"
3395 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3396 *) ac_try_echo=$ac_try;;
3398 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3399 $as_echo "$ac_try_echo"; } >&5
3400 (eval "$ac_compile") 2>&5
3402 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3403 test $ac_status = 0; }; then :
3404 for ac_file in conftest.o conftest.obj conftest.*; do
3405 test -f "$ac_file" || continue;
3407 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3408 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3413 $as_echo "$as_me: failed program was:" >&5
3414 sed 's/^/| /' conftest.$ac_ext >&5
3416 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3417 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3418 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3419 See \
`config.log' for more details" "$LINENO" 5; }
3421 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3424 $as_echo "$ac_cv_objext" >&6; }
3425 OBJEXT=$ac_cv_objext
3427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3428 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3429 if ${ac_cv_c_compiler_gnu+:} false; then :
3430 $as_echo_n "(cached) " >&6
3432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3433 /* end confdefs.h. */
3446 if ac_fn_c_try_compile "$LINENO"; then :
3451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3452 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3456 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3457 if test $ac_compiler_gnu = yes; then
3462 ac_test_CFLAGS=${CFLAGS+set}
3463 ac_save_CFLAGS=$CFLAGS
3464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3465 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3466 if ${ac_cv_prog_cc_g+:} false; then :
3467 $as_echo_n "(cached) " >&6
3469 ac_save_c_werror_flag=$ac_c_werror_flag
3470 ac_c_werror_flag=yes
3473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3474 /* end confdefs.h. */
3484 if ac_fn_c_try_compile "$LINENO"; then :
3488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3489 /* end confdefs.h. */
3499 if ac_fn_c_try_compile "$LINENO"; then :
3502 ac_c_werror_flag=$ac_save_c_werror_flag
3504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3505 /* end confdefs.h. */
3515 if ac_fn_c_try_compile "$LINENO"; then :
3518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3523 ac_c_werror_flag=$ac_save_c_werror_flag
3525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3526 $as_echo "$ac_cv_prog_cc_g" >&6; }
3527 if test "$ac_test_CFLAGS" = set; then
3528 CFLAGS=$ac_save_CFLAGS
3529 elif test $ac_cv_prog_cc_g = yes; then
3530 if test "$GCC" = yes; then
3536 if test "$GCC" = yes; then
3542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3543 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3544 if ${ac_cv_prog_cc_c89+:} false; then :
3545 $as_echo_n "(cached) " >&6
3547 ac_cv_prog_cc_c89=no
3549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3550 /* end confdefs.h. */
3553 #include <sys/types.h>
3554 #include <sys/stat.h>
3555 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3556 struct buf { int x; };
3557 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3558 static char *e (p, i)
3564 static char *f (char * (*g) (char **, int), char **p, ...)
3569 s = g (p, va_arg (v,int));
3574 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3575 function prototypes and stuff, but not '\xHH' hex character constants.
3576 These don't provoke an error unfortunately, instead are silently treated
3577 as 'x'. The following induces an error, until -std is added to get
3578 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3579 array size at least. It's necessary to write '\x00'==0 to get something
3580 that's true only with -std. */
3581 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3583 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3584 inside strings and character constants. */
3586 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3588 int test (int i, double x);
3589 struct s1 {int (*f) (int a);};
3590 struct s2 {int (*f) (double a);};
3591 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3597 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3602 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3603 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3605 CC="$ac_save_CC $ac_arg"
3606 if ac_fn_c_try_compile "$LINENO"; then :
3607 ac_cv_prog_cc_c89=$ac_arg
3609 rm -f core conftest.err conftest.$ac_objext
3610 test "x$ac_cv_prog_cc_c89" != "xno" && break
3612 rm -f conftest.$ac_ext
3617 case "x$ac_cv_prog_cc_c89" in
3619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3620 $as_echo "none needed" >&6; } ;;
3622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3623 $as_echo "unsupported" >&6; } ;;
3625 CC="$CC $ac_cv_prog_cc_c89"
3626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3627 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3629 if test "x$ac_cv_prog_cc_c89" != xno; then :
3634 ac_cpp='$CPP $CPPFLAGS'
3635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
3640 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
3641 if ${ac_cv_path_SED+:} false; then :
3642 $as_echo_n "(cached) " >&6
3644 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
3645 for ac_i in 1 2 3 4 5 6 7; do
3646 ac_script="$ac_script$as_nl$ac_script"
3648 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
3649 { ac_script=; unset ac_script;}
3650 if test -z "$SED"; then
3651 ac_path_SED_found=false
3652 # Loop through the user's path and test for each of PROGNAME-LIST
3653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3657 test -z "$as_dir" && as_dir=.
3658 for ac_prog in sed gsed; do
3659 for ac_exec_ext in '' $ac_executable_extensions; do
3660 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
3661 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
3662 # Check for GNU ac_path_SED and select it if it is found.
3663 # Check for GNU $ac_path_SED
3664 case `"$ac_path_SED" --version 2>&1` in
3666 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
3669 $as_echo_n 0123456789 >"conftest.in"
3672 cat "conftest.in" "conftest.in" >"conftest.tmp"
3673 mv "conftest.tmp" "conftest.in"
3674 cp "conftest.in" "conftest.nl"
3675 $as_echo '' >> "conftest.nl"
3676 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
3677 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3678 as_fn_arith $ac_count + 1 && ac_count=$as_val
3679 if test $ac_count -gt ${ac_path_SED_max-0}; then
3680 # Best one so far, save it but keep looking for a better one
3681 ac_cv_path_SED="$ac_path_SED"
3682 ac_path_SED_max=$ac_count
3684 # 10*(2^10) chars as input seems more than enough
3685 test $ac_count -gt 10 && break
3687 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3690 $ac_path_SED_found && break 3
3695 if test -z "$ac_cv_path_SED"; then
3696 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
3703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
3704 $as_echo "$ac_cv_path_SED" >&6; }
3705 SED="$ac_cv_path_SED"
3708 test -z "$SED" && SED=sed
3709 Xsed="$SED -e 1s/^X//"
3721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3722 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3723 if ${ac_cv_path_GREP+:} false; then :
3724 $as_echo_n "(cached) " >&6
3726 if test -z "$GREP"; then
3727 ac_path_GREP_found=false
3728 # Loop through the user's path and test for each of PROGNAME-LIST
3729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3730 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3733 test -z "$as_dir" && as_dir=.
3734 for ac_prog in grep ggrep; do
3735 for ac_exec_ext in '' $ac_executable_extensions; do
3736 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3737 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3738 # Check for GNU ac_path_GREP and select it if it is found.
3739 # Check for GNU $ac_path_GREP
3740 case `"$ac_path_GREP" --version 2>&1` in
3742 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3745 $as_echo_n 0123456789 >"conftest.in"
3748 cat "conftest.in" "conftest.in" >"conftest.tmp"
3749 mv "conftest.tmp" "conftest.in"
3750 cp "conftest.in" "conftest.nl"
3751 $as_echo 'GREP' >> "conftest.nl"
3752 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3753 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3754 as_fn_arith $ac_count + 1 && ac_count=$as_val
3755 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3756 # Best one so far, save it but keep looking for a better one
3757 ac_cv_path_GREP="$ac_path_GREP"
3758 ac_path_GREP_max=$ac_count
3760 # 10*(2^10) chars as input seems more than enough
3761 test $ac_count -gt 10 && break
3763 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3766 $ac_path_GREP_found && break 3
3771 if test -z "$ac_cv_path_GREP"; then
3772 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3775 ac_cv_path_GREP=$GREP
3779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3780 $as_echo "$ac_cv_path_GREP" >&6; }
3781 GREP="$ac_cv_path_GREP"
3784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3785 $as_echo_n "checking for egrep... " >&6; }
3786 if ${ac_cv_path_EGREP+:} false; then :
3787 $as_echo_n "(cached) " >&6
3789 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3790 then ac_cv_path_EGREP="$GREP -E"
3792 if test -z "$EGREP"; then
3793 ac_path_EGREP_found=false
3794 # Loop through the user's path and test for each of PROGNAME-LIST
3795 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3796 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3799 test -z "$as_dir" && as_dir=.
3800 for ac_prog in egrep; do
3801 for ac_exec_ext in '' $ac_executable_extensions; do
3802 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3803 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3804 # Check for GNU ac_path_EGREP and select it if it is found.
3805 # Check for GNU $ac_path_EGREP
3806 case `"$ac_path_EGREP" --version 2>&1` in
3808 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3811 $as_echo_n 0123456789 >"conftest.in"
3814 cat "conftest.in" "conftest.in" >"conftest.tmp"
3815 mv "conftest.tmp" "conftest.in"
3816 cp "conftest.in" "conftest.nl"
3817 $as_echo 'EGREP' >> "conftest.nl"
3818 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3819 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3820 as_fn_arith $ac_count + 1 && ac_count=$as_val
3821 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3822 # Best one so far, save it but keep looking for a better one
3823 ac_cv_path_EGREP="$ac_path_EGREP"
3824 ac_path_EGREP_max=$ac_count
3826 # 10*(2^10) chars as input seems more than enough
3827 test $ac_count -gt 10 && break
3829 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3832 $ac_path_EGREP_found && break 3
3837 if test -z "$ac_cv_path_EGREP"; then
3838 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3841 ac_cv_path_EGREP=$EGREP
3846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3847 $as_echo "$ac_cv_path_EGREP" >&6; }
3848 EGREP="$ac_cv_path_EGREP"
3851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
3852 $as_echo_n "checking for fgrep... " >&6; }
3853 if ${ac_cv_path_FGREP+:} false; then :
3854 $as_echo_n "(cached) " >&6
3856 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
3857 then ac_cv_path_FGREP="$GREP -F"
3859 if test -z "$FGREP"; then
3860 ac_path_FGREP_found=false
3861 # Loop through the user's path and test for each of PROGNAME-LIST
3862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3863 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3866 test -z "$as_dir" && as_dir=.
3867 for ac_prog in fgrep; do
3868 for ac_exec_ext in '' $ac_executable_extensions; do
3869 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
3870 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
3871 # Check for GNU ac_path_FGREP and select it if it is found.
3872 # Check for GNU $ac_path_FGREP
3873 case `"$ac_path_FGREP" --version 2>&1` in
3875 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
3878 $as_echo_n 0123456789 >"conftest.in"
3881 cat "conftest.in" "conftest.in" >"conftest.tmp"
3882 mv "conftest.tmp" "conftest.in"
3883 cp "conftest.in" "conftest.nl"
3884 $as_echo 'FGREP' >> "conftest.nl"
3885 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
3886 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3887 as_fn_arith $ac_count + 1 && ac_count=$as_val
3888 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
3889 # Best one so far, save it but keep looking for a better one
3890 ac_cv_path_FGREP="$ac_path_FGREP"
3891 ac_path_FGREP_max=$ac_count
3893 # 10*(2^10) chars as input seems more than enough
3894 test $ac_count -gt 10 && break
3896 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3899 $ac_path_FGREP_found && break 3
3904 if test -z "$ac_cv_path_FGREP"; then
3905 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3908 ac_cv_path_FGREP=$FGREP
3913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
3914 $as_echo "$ac_cv_path_FGREP" >&6; }
3915 FGREP="$ac_cv_path_FGREP"
3918 test -z "$GREP" && GREP=grep
3938 # Check whether --with-gnu-ld was given.
3939 if test "${with_gnu_ld+set}" = set; then :
3940 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
3946 if test "$GCC" = yes; then
3947 # Check if gcc -print-prog-name=ld gives a path.
3948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
3949 $as_echo_n "checking for ld used by $CC... " >&6; }
3952 # gcc leaves a trailing carriage return which upsets mingw
3953 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
3955 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
3958 # Accept absolute paths.
3960 re_direlt='/[^/][^/]*/\.\./'
3961 # Canonicalize the pathname of ld
3962 ac_prog=`$ECHO "$ac_prog"|
$SED 's%\\\\%/%g'`
3963 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
3964 ac_prog=`$ECHO $ac_prog|
$SED "s%$re_direlt%/%"`
3966 test -z "$LD" && LD="$ac_prog"
3969 # If it fails, then pretend we aren't using GCC.
3973 # If it is relative, then search for the first ld in PATH.
3977 elif test "$with_gnu_ld" = yes; then
3978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
3979 $as_echo_n "checking for GNU ld... " >&6; }
3981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
3982 $as_echo_n "checking for non-GNU ld... " >&6; }
3984 if ${lt_cv_path_LD+:} false; then :
3985 $as_echo_n "(cached) " >&6
3987 if test -z "$LD"; then
3988 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3989 for ac_dir in $PATH; do
3991 test -z "$ac_dir" && ac_dir=.
3992 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3993 lt_cv_path_LD="$ac_dir/$ac_prog"
3994 # Check to see if the program is GNU ld. I'd rather use --version,
3995 # but apparently some variants of GNU ld only accept -v.
3996 # Break only if it was the GNU/non-GNU ld that we prefer.
3997 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
3998 *GNU* | *'with BFD'*)
3999 test "$with_gnu_ld" != no && break
4002 test "$with_gnu_ld" != yes && break
4009 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4014 if test -n "$LD"; then
4015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4016 $as_echo "$LD" >&6; }
4018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4019 $as_echo "no" >&6; }
4021 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4023 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4024 if ${lt_cv_prog_gnu_ld+:} false; then :
4025 $as_echo_n "(cached) " >&6
4027 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4028 case `$LD -v 2>&1 </dev
/null
` in
4029 *GNU* | *'with BFD'*)
4030 lt_cv_prog_gnu_ld=yes
4033 lt_cv_prog_gnu_ld=no
4037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4038 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4039 with_gnu_ld=$lt_cv_prog_gnu_ld
4049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4050 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4051 if ${lt_cv_path_NM+:} false; then :
4052 $as_echo_n "(cached) " >&6
4054 if test -n "$NM"; then
4055 # Let the user override the test.
4058 lt_nm_to_check="${ac_tool_prefix}nm"
4059 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4060 lt_nm_to_check="$lt_nm_to_check nm"
4062 for lt_tmp_nm in $lt_nm_to_check; do
4063 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4064 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4066 test -z "$ac_dir" && ac_dir=.
4067 tmp_nm="$ac_dir/$lt_tmp_nm"
4068 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4069 # Check to see if the nm accepts a BSD-compat flag.
4070 # Adding the `sed 1q
' prevents false positives on HP-UX, which says:
4071 # nm: unknown option "B" ignored
4072 # Tru64's nm complains that
/dev
/null is an invalid object
file
4073 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4074 */dev
/null
* |
*'Invalid file or object type'*)
4075 lt_cv_path_NM
="$tmp_nm -B"
4079 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4081 lt_cv_path_NM
="$tmp_nm -p"
4085 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4086 continue # so that we can try to find one that supports BSD flags
4095 : ${lt_cv_path_NM=no}
4098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4099 $as_echo "$lt_cv_path_NM" >&6; }
4100 if test "$lt_cv_path_NM" != "no"; then
4103 # Didn't find any BSD compatible name lister, look for dumpbin.
4104 if test -n "$DUMPBIN"; then :
4105 # Let the user override the test.
4107 if test -n "$ac_tool_prefix"; then
4108 for ac_prog
in dumpbin
"link -dump"
4110 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4111 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4113 $as_echo_n "checking for $ac_word... " >&6; }
4114 if ${ac_cv_prog_DUMPBIN+:} false
; then :
4115 $as_echo_n "(cached) " >&6
4117 if test -n "$DUMPBIN"; then
4118 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
4120 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4124 test -z "$as_dir" && as_dir
=.
4125 for ac_exec_ext
in '' $ac_executable_extensions; do
4126 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4127 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
4128 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4137 DUMPBIN
=$ac_cv_prog_DUMPBIN
4138 if test -n "$DUMPBIN"; then
4139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4140 $as_echo "$DUMPBIN" >&6; }
4142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4143 $as_echo "no" >&6; }
4147 test -n "$DUMPBIN" && break
4150 if test -z "$DUMPBIN"; then
4151 ac_ct_DUMPBIN
=$DUMPBIN
4152 for ac_prog
in dumpbin
"link -dump"
4154 # Extract the first word of "$ac_prog", so it can be a program name with args.
4155 set dummy
$ac_prog; ac_word
=$2
4156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4157 $as_echo_n "checking for $ac_word... " >&6; }
4158 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
4159 $as_echo_n "(cached) " >&6
4161 if test -n "$ac_ct_DUMPBIN"; then
4162 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
4164 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4168 test -z "$as_dir" && as_dir
=.
4169 for ac_exec_ext
in '' $ac_executable_extensions; do
4170 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4171 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
4172 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4181 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
4182 if test -n "$ac_ct_DUMPBIN"; then
4183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4184 $as_echo "$ac_ct_DUMPBIN" >&6; }
4186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4187 $as_echo "no" >&6; }
4191 test -n "$ac_ct_DUMPBIN" && break
4194 if test "x$ac_ct_DUMPBIN" = x
; then
4197 case $cross_compiling:$ac_tool_warned in
4199 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4200 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4201 ac_tool_warned
=yes ;;
4203 DUMPBIN
=$ac_ct_DUMPBIN
4207 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4209 DUMPBIN
="$DUMPBIN -symbols"
4217 if test "$DUMPBIN" != ":"; then
4221 test -z "$NM" && NM
=nm
4228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4229 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4230 if ${lt_cv_nm_interface+:} false
; then :
4231 $as_echo_n "(cached) " >&6
4233 lt_cv_nm_interface
="BSD nm"
4234 echo "int some_variable = 0;" > conftest.
$ac_ext
4235 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4236 (eval "$ac_compile" 2>conftest.err
)
4237 cat conftest.err
>&5
4238 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4239 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
4240 cat conftest.err
>&5
4241 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4242 cat conftest.out
>&5
4243 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
4244 lt_cv_nm_interface
="MS dumpbin"
4248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4249 $as_echo "$lt_cv_nm_interface" >&6; }
4251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4252 $as_echo_n "checking whether ln -s works... " >&6; }
4254 if test "$LN_S" = "ln -s"; then
4255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4256 $as_echo "yes" >&6; }
4258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4259 $as_echo "no, using $LN_S" >&6; }
4262 # find the maximum length of command line arguments
4263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4264 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4265 if ${lt_cv_sys_max_cmd_len+:} false
; then :
4266 $as_echo_n "(cached) " >&6
4273 # On DJGPP, this test can blow up pretty badly due to problems in libc
4274 # (any single argument exceeding 2000 bytes causes a buffer overrun
4275 # during glob expansion). Even if it were fixed, the result of this
4276 # check would be larger than it should be.
4277 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
4281 # Under GNU Hurd, this test is not required because there is
4282 # no limit to the length of command line arguments.
4283 # Libtool will interpret -1 as no limit whatsoever
4284 lt_cv_sys_max_cmd_len
=-1;
4287 cygwin
* | mingw
* | cegcc
*)
4288 # On Win9x/ME, this test blows up -- it succeeds, but takes
4289 # about 5 minutes as the teststring grows exponentially.
4290 # Worse, since 9x/ME are not pre-emptively multitasking,
4291 # you end up with a "frozen" computer, even though with patience
4292 # the test eventually succeeds (with a max line length of 256k).
4293 # Instead, let's just punt: use the minimum linelength reported by
4294 # all of the supported platforms: 8192 (on NT/2K/XP).
4295 lt_cv_sys_max_cmd_len
=8192;
4299 # On MiNT this can take a long time and run out of memory.
4300 lt_cv_sys_max_cmd_len
=8192;
4304 # On AmigaOS with pdksh, this test takes hours, literally.
4305 # So we just punt and use a minimum line length of 8192.
4306 lt_cv_sys_max_cmd_len
=8192;
4309 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
4310 # This has been around since 386BSD, at least. Likely further.
4311 if test -x /sbin
/sysctl
; then
4312 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
4313 elif test -x /usr
/sbin
/sysctl
; then
4314 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
4316 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
4318 # And add a safety zone
4319 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4320 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4324 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4325 lt_cv_sys_max_cmd_len
=196608
4329 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4330 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4331 # nice to cause kernel panics so lets avoid the loop below.
4332 # First set a reasonable default.
4333 lt_cv_sys_max_cmd_len
=16384
4335 if test -x /sbin
/sysconfig
; then
4336 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4337 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
4342 lt_cv_sys_max_cmd_len
=102400
4344 sysv5
* | sco5v6
* | sysv4.2uw2
*)
4345 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4346 if test -n "$kargmax"; then
4347 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
4349 lt_cv_sys_max_cmd_len
=32768
4353 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
4354 if test -n "$lt_cv_sys_max_cmd_len"; then
4355 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4356 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4358 # Make teststring a little bigger before we do anything with it.
4359 # a 1K string should be a reasonable start.
4360 for i
in 1 2 3 4 5 6 7 8 ; do
4361 teststring
=$teststring$teststring
4363 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
4364 # If test is not a shell built-in, we'll probably end up computing a
4365 # maximum length that is only half of the actual maximum length, but
4367 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
4368 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
4369 test $i != 17 # 1/2 MB should be enough
4372 teststring
=$teststring$teststring
4374 # Only check the string length outside the loop.
4375 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
4377 # Add a significant safety factor because C++ compilers can tack on
4378 # massive amounts of additional arguments before passing them to the
4379 # linker. It appears as though 1/2 is a usable value.
4380 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
4387 if test -n $lt_cv_sys_max_cmd_len ; then
4388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4389 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4392 $as_echo "none" >&6; }
4394 max_cmd_len
=$lt_cv_sys_max_cmd_len
4405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4406 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4407 # Try some XSI features
4410 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
4412 && eval 'test $(( 1 + 1 )) -eq 2 \
4413 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4415 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
4416 $as_echo "$xsi_shell" >&6; }
4419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
4420 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
4422 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
4424 && lt_shell_append=yes
4425 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
4426 $as_echo "$lt_shell_append" >&6; }
4429 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4439 # test EBCDIC or ASCII
4440 case `echo X|tr X '\101'` in
4441 A) # ASCII based system
4442 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4443 lt_SP2NL='tr \040 \012'
4444 lt_NL2SP='tr \015\012 \040\040'
4446 *) # EBCDIC based system
4447 lt_SP2NL='tr \100 \n'
4448 lt_NL2SP='tr \r\n \100\100'
4460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to
$host format
" >&5
4461 $as_echo_n "checking how to convert
$build file names to
$host format...
" >&6; }
4462 if ${lt_cv_to_host_file_cmd+:} false; then :
4463 $as_echo_n "(cached
) " >&6
4468 *-*-mingw* ) # actually msys
4469 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
4472 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
4474 * ) # otherwise, assume *nix
4475 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
4481 *-*-mingw* ) # actually msys
4482 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
4485 lt_cv_to_host_file_cmd=func_convert_file_noop
4487 * ) # otherwise, assume *nix
4488 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
4492 * ) # unhandled hosts (and "normal
" native builds)
4493 lt_cv_to_host_file_cmd=func_convert_file_noop
4499 to_host_file_cmd=$lt_cv_to_host_file_cmd
4500 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_host_file_cmd" >&5
4501 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
4507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to toolchain format
" >&5
4508 $as_echo_n "checking how to convert
$build file names to toolchain format...
" >&6; }
4509 if ${lt_cv_to_tool_file_cmd+:} false; then :
4510 $as_echo_n "(cached
) " >&6
4512 #assume ordinary cross tools, or native build.
4513 lt_cv_to_tool_file_cmd=func_convert_file_noop
4517 *-*-mingw* ) # actually msys
4518 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
4526 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
4527 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_tool_file_cmd" >&5
4528 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
4534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
4535 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
4536 if ${lt_cv_ld_reload_flag+:} false; then :
4537 $as_echo_n "(cached
) " >&6
4539 lt_cv_ld_reload_flag='-r'
4541 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
4542 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4543 reload_flag=$lt_cv_ld_reload_flag
4544 case $reload_flag in
4546 *) reload_flag=" $reload_flag" ;;
4548 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4550 cygwin* | mingw* | pw32* | cegcc*)
4551 if test "$GCC" != yes; then
4556 if test "$GCC" = yes; then
4557 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4559 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4572 if test -n "$ac_tool_prefix"; then
4573 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
4574 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4576 $as_echo_n "checking
for $ac_word...
" >&6; }
4577 if ${ac_cv_prog_OBJDUMP+:} false; then :
4578 $as_echo_n "(cached
) " >&6
4580 if test -n "$OBJDUMP"; then
4581 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4583 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4587 test -z "$as_dir" && as_dir=.
4588 for ac_exec_ext in '' $ac_executable_extensions; do
4589 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4590 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
4591 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4600 OBJDUMP=$ac_cv_prog_OBJDUMP
4601 if test -n "$OBJDUMP"; then
4602 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
4603 $as_echo "$OBJDUMP" >&6; }
4605 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4606 $as_echo "no
" >&6; }
4611 if test -z "$ac_cv_prog_OBJDUMP"; then
4612 ac_ct_OBJDUMP=$OBJDUMP
4613 # Extract the first word of "objdump
", so it can be a program name with args.
4614 set dummy objdump; ac_word=$2
4615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4616 $as_echo_n "checking
for $ac_word...
" >&6; }
4617 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
4618 $as_echo_n "(cached
) " >&6
4620 if test -n "$ac_ct_OBJDUMP"; then
4621 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4623 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4627 test -z "$as_dir" && as_dir=.
4628 for ac_exec_ext in '' $ac_executable_extensions; do
4629 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4630 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
4631 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4640 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4641 if test -n "$ac_ct_OBJDUMP"; then
4642 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
4643 $as_echo "$ac_ct_OBJDUMP" >&6; }
4645 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4646 $as_echo "no
" >&6; }
4649 if test "x
$ac_ct_OBJDUMP" = x; then
4652 case $cross_compiling:$ac_tool_warned in
4654 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
4655 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
4656 ac_tool_warned=yes ;;
4658 OBJDUMP=$ac_ct_OBJDUMP
4661 OBJDUMP="$ac_cv_prog_OBJDUMP"
4664 test -z "$OBJDUMP" && OBJDUMP=objdump
4671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
4672 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
4673 if ${lt_cv_deplibs_check_method+:} false; then :
4674 $as_echo_n "(cached
) " >&6
4676 lt_cv_file_magic_cmd='$MAGIC_CMD'
4677 lt_cv_file_magic_test_file=
4678 lt_cv_deplibs_check_method='unknown'
4679 # Need to set the preceding variable on all platforms that support
4680 # interlibrary dependencies.
4681 # 'none' -- dependencies not supported.
4682 # `unknown' -- same as none, but documents that we really don't know.
4683 # 'pass_all' -- all dependencies passed with no checks.
4684 # 'test_compile' -- check by making test program.
4685 # 'file_magic [[regex]]' -- check by looking for files in library path
4686 # which responds to the $file_magic_cmd with a given extended regex.
4687 # If you have `file' or equivalent on your system and you're not sure
4688 # whether `pass_all' will *always* work, you probably want this one.
4692 lt_cv_deplibs_check_method=pass_all
4696 lt_cv_deplibs_check_method=pass_all
4700 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4701 lt_cv_file_magic_cmd='/usr/bin/file -L'
4702 lt_cv_file_magic_test_file=/shlib/libc.so
4706 # func_win32_libid is a shell function defined in ltmain.sh
4707 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4708 lt_cv_file_magic_cmd='func_win32_libid'
4712 # Base MSYS/MinGW do not provide the 'file' command needed by
4713 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4714 # unless we find 'file', for example because we are cross-compiling.
4715 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
4716 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
4717 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4718 lt_cv_file_magic_cmd='func_win32_libid'
4720 # Keep this pattern in sync with the one in func_win32_libid.
4721 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
4722 lt_cv_file_magic_cmd='$OBJDUMP -f'
4727 # use the weaker test based on 'objdump'. See mingw*.
4728 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
4729 lt_cv_file_magic_cmd='$OBJDUMP -f'
4732 darwin* | rhapsody*)
4733 lt_cv_deplibs_check_method=pass_all
4736 freebsd* | dragonfly*)
4737 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4740 # Not sure whether the presence of OpenBSD here was a mistake.
4741 # Let's accept both of them until this is cleared up.
4742 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4743 lt_cv_file_magic_cmd=/usr/bin/file
4744 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4748 lt_cv_deplibs_check_method=pass_all
4753 lt_cv_deplibs_check_method=pass_all
4757 lt_cv_deplibs_check_method=pass_all
4760 hpux10.20* | hpux11*)
4761 lt_cv_file_magic_cmd=/usr/bin/file
4764 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4765 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4768 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]'
4769 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4772 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
4773 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4779 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4780 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4783 irix5* | irix6* | nonstopux*)
4785 *-32|*"-32 ") libmagic=32-bit;;
4786 *-n32|*"-n32 ") libmagic=N32;;
4787 *-64|*"-64 ") libmagic=64-bit;;
4788 *) libmagic=never-match;;
4790 lt_cv_deplibs_check_method=pass_all
4793 # This must be Linux ELF.
4794 linux* | k*bsd*-gnu | kopensolaris*-gnu)
4795 lt_cv_deplibs_check_method=pass_all
4798 netbsd* | netbsdelf*-gnu)
4799 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4800 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4802 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4807 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4808 lt_cv_file_magic_cmd=/usr/bin/file
4809 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4813 lt_cv_deplibs_check_method=pass_all
4817 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
4818 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4820 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4824 osf3* | osf4* | osf5*)
4825 lt_cv_deplibs_check_method=pass_all
4829 lt_cv_deplibs_check_method=pass_all
4833 lt_cv_deplibs_check_method=pass_all
4836 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
4837 lt_cv_deplibs_check_method=pass_all
4841 case $host_vendor in
4843 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]'
4844 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4847 lt_cv_deplibs_check_method=pass_all
4850 lt_cv_file_magic_cmd='/bin/file'
4851 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4854 lt_cv_file_magic_cmd='/bin/file'
4855 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
4856 lt_cv_file_magic_test_file=/lib/libc.so
4859 lt_cv_deplibs_check_method=pass_all
4862 lt_cv_deplibs_check_method=pass_all
4868 lt_cv_deplibs_check_method=pass_all
4873 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
4874 $as_echo "$lt_cv_deplibs_check_method" >&6; }
4878 if test "$build" = "$host"; then
4881 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
4884 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s
/\
(..\
)/s\
/[\
1]\
/[\
1]\
/g
;/g
"`
4890 file_magic_cmd=$lt_cv_file_magic_cmd
4891 deplibs_check_method=$lt_cv_deplibs_check_method
4892 test -z "$deplibs_check_method" && deplibs_check_method=unknown
4915 if test -n "$ac_tool_prefix"; then
4916 # Extract the first word of "${ac_tool_prefix}dlltool
", so it can be a program name with args.
4917 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
4918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4919 $as_echo_n "checking
for $ac_word...
" >&6; }
4920 if ${ac_cv_prog_DLLTOOL+:} false; then :
4921 $as_echo_n "(cached
) " >&6
4923 if test -n "$DLLTOOL"; then
4924 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
4926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4930 test -z "$as_dir" && as_dir=.
4931 for ac_exec_ext in '' $ac_executable_extensions; do
4932 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4933 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool
"
4934 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4943 DLLTOOL=$ac_cv_prog_DLLTOOL
4944 if test -n "$DLLTOOL"; then
4945 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
4946 $as_echo "$DLLTOOL" >&6; }
4948 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4949 $as_echo "no
" >&6; }
4954 if test -z "$ac_cv_prog_DLLTOOL"; then
4955 ac_ct_DLLTOOL=$DLLTOOL
4956 # Extract the first word of "dlltool
", so it can be a program name with args.
4957 set dummy dlltool; ac_word=$2
4958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4959 $as_echo_n "checking
for $ac_word...
" >&6; }
4960 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
4961 $as_echo_n "(cached
) " >&6
4963 if test -n "$ac_ct_DLLTOOL"; then
4964 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
4966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4970 test -z "$as_dir" && as_dir=.
4971 for ac_exec_ext in '' $ac_executable_extensions; do
4972 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4973 ac_cv_prog_ac_ct_DLLTOOL="dlltool
"
4974 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4983 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
4984 if test -n "$ac_ct_DLLTOOL"; then
4985 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DLLTOOL" >&5
4986 $as_echo "$ac_ct_DLLTOOL" >&6; }
4988 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4989 $as_echo "no
" >&6; }
4992 if test "x
$ac_ct_DLLTOOL" = x; then
4995 case $cross_compiling:$ac_tool_warned in
4997 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
4998 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
4999 ac_tool_warned=yes ;;
5001 DLLTOOL=$ac_ct_DLLTOOL
5004 DLLTOOL="$ac_cv_prog_DLLTOOL"
5007 test -z "$DLLTOOL" && DLLTOOL=dlltool
5015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries
" >&5
5016 $as_echo_n "checking how to associate runtime and link libraries...
" >&6; }
5017 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5018 $as_echo_n "(cached
) " >&6
5020 lt_cv_sharedlib_from_linklib_cmd='unknown'
5023 cygwin* | mingw* | pw32* | cegcc*)
5024 # two different shell functions defined in ltmain.sh
5025 # decide which to use based on capabilities of $DLLTOOL
5026 case `$DLLTOOL --help 2>&1` in
5027 *--identify-strict*)
5028 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5031 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5036 # fallback: assume linklib IS sharedlib
5037 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5042 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sharedlib_from_linklib_cmd" >&5
5043 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5044 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5045 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5054 if test -n "$ac_tool_prefix"; then
5057 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5058 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5060 $as_echo_n "checking
for $ac_word...
" >&6; }
5061 if ${ac_cv_prog_AR+:} false; then :
5062 $as_echo_n "(cached
) " >&6
5064 if test -n "$AR"; then
5065 ac_cv_prog_AR="$AR" # Let the user override the test.
5067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5071 test -z "$as_dir" && as_dir=.
5072 for ac_exec_ext in '' $ac_executable_extensions; do
5073 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5074 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5075 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5085 if test -n "$AR"; then
5086 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
5087 $as_echo "$AR" >&6; }
5089 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5090 $as_echo "no
" >&6; }
5094 test -n "$AR" && break
5097 if test -z "$AR"; then
5101 # Extract the first word of "$ac_prog", so it can be a program name with args.
5102 set dummy $ac_prog; ac_word=$2
5103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5104 $as_echo_n "checking
for $ac_word...
" >&6; }
5105 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5106 $as_echo_n "(cached
) " >&6
5108 if test -n "$ac_ct_AR"; then
5109 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5111 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5115 test -z "$as_dir" && as_dir=.
5116 for ac_exec_ext in '' $ac_executable_extensions; do
5117 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5118 ac_cv_prog_ac_ct_AR="$ac_prog"
5119 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5128 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5129 if test -n "$ac_ct_AR"; then
5130 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
5131 $as_echo "$ac_ct_AR" >&6; }
5133 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5134 $as_echo "no
" >&6; }
5138 test -n "$ac_ct_AR" && break
5141 if test "x
$ac_ct_AR" = x; then
5144 case $cross_compiling:$ac_tool_warned in
5146 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5147 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5148 ac_tool_warned=yes ;;
5167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for archiver @FILE support
" >&5
5168 $as_echo_n "checking
for archiver @FILE support...
" >&6; }
5169 if ${lt_cv_ar_at_file+:} false; then :
5170 $as_echo_n "(cached
) " >&6
5173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5174 /* end confdefs.h. */
5184 if ac_fn_c_try_compile "$LINENO"; then :
5185 echo conftest.$ac_objext > conftest.lst
5186 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5187 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5188 (eval $lt_ar_try) 2>&5
5190 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5191 test $ac_status = 0; }
5192 if test "$ac_status" -eq 0; then
5193 # Ensure the archiver fails upon bogus file names.
5194 rm -f conftest.$ac_objext libconftest.a
5195 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5196 (eval $lt_ar_try) 2>&5
5198 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5199 test $ac_status = 0; }
5200 if test "$ac_status" -ne 0; then
5204 rm -f conftest.* libconftest.a
5207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5210 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ar_at_file" >&5
5211 $as_echo "$lt_cv_ar_at_file" >&6; }
5213 if test "x
$lt_cv_ar_at_file" = xno; then
5216 archiver_list_spec=$lt_cv_ar_at_file
5225 if test -n "$ac_tool_prefix"; then
5226 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
5227 set dummy ${ac_tool_prefix}strip; ac_word=$2
5228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5229 $as_echo_n "checking
for $ac_word...
" >&6; }
5230 if ${ac_cv_prog_STRIP+:} false; then :
5231 $as_echo_n "(cached
) " >&6
5233 if test -n "$STRIP"; then
5234 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5240 test -z "$as_dir" && as_dir=.
5241 for ac_exec_ext in '' $ac_executable_extensions; do
5242 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5243 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
5244 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5253 STRIP=$ac_cv_prog_STRIP
5254 if test -n "$STRIP"; then
5255 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
5256 $as_echo "$STRIP" >&6; }
5258 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5259 $as_echo "no
" >&6; }
5264 if test -z "$ac_cv_prog_STRIP"; then
5266 # Extract the first word of "strip
", so it can be a program name with args.
5267 set dummy strip; ac_word=$2
5268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5269 $as_echo_n "checking
for $ac_word...
" >&6; }
5270 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5271 $as_echo_n "(cached
) " >&6
5273 if test -n "$ac_ct_STRIP"; then
5274 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5280 test -z "$as_dir" && as_dir=.
5281 for ac_exec_ext in '' $ac_executable_extensions; do
5282 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5283 ac_cv_prog_ac_ct_STRIP="strip
"
5284 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5293 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5294 if test -n "$ac_ct_STRIP"; then
5295 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
5296 $as_echo "$ac_ct_STRIP" >&6; }
5298 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5299 $as_echo "no
" >&6; }
5302 if test "x
$ac_ct_STRIP" = x; then
5305 case $cross_compiling:$ac_tool_warned in
5307 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5308 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5309 ac_tool_warned=yes ;;
5314 STRIP="$ac_cv_prog_STRIP"
5317 test -z "$STRIP" && STRIP=:
5324 if test -n "$ac_tool_prefix"; then
5325 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
5326 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5328 $as_echo_n "checking
for $ac_word...
" >&6; }
5329 if ${ac_cv_prog_RANLIB+:} false; then :
5330 $as_echo_n "(cached
) " >&6
5332 if test -n "$RANLIB"; then
5333 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5339 test -z "$as_dir" && as_dir=.
5340 for ac_exec_ext in '' $ac_executable_extensions; do
5341 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5342 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
5343 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5352 RANLIB=$ac_cv_prog_RANLIB
5353 if test -n "$RANLIB"; then
5354 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
5355 $as_echo "$RANLIB" >&6; }
5357 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5358 $as_echo "no
" >&6; }
5363 if test -z "$ac_cv_prog_RANLIB"; then
5364 ac_ct_RANLIB=$RANLIB
5365 # Extract the first word of "ranlib
", so it can be a program name with args.
5366 set dummy ranlib; ac_word=$2
5367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5368 $as_echo_n "checking
for $ac_word...
" >&6; }
5369 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5370 $as_echo_n "(cached
) " >&6
5372 if test -n "$ac_ct_RANLIB"; then
5373 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5379 test -z "$as_dir" && as_dir=.
5380 for ac_exec_ext in '' $ac_executable_extensions; do
5381 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5382 ac_cv_prog_ac_ct_RANLIB="ranlib
"
5383 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5392 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5393 if test -n "$ac_ct_RANLIB"; then
5394 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
5395 $as_echo "$ac_ct_RANLIB" >&6; }
5397 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5398 $as_echo "no
" >&6; }
5401 if test "x
$ac_ct_RANLIB" = x; then
5404 case $cross_compiling:$ac_tool_warned in
5406 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5407 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5408 ac_tool_warned=yes ;;
5410 RANLIB=$ac_ct_RANLIB
5413 RANLIB="$ac_cv_prog_RANLIB"
5416 test -z "$RANLIB" && RANLIB=:
5423 # Determine commands to create old-style static archives.
5424 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5425 old_postinstall_cmds='chmod 644 $oldlib'
5426 old_postuninstall_cmds=
5428 if test -n "$RANLIB"; then
5431 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
5434 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
5437 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
5442 lock_old_archive_extraction=yes ;;
5444 lock_old_archive_extraction=no ;;
5467 for ac_prog in gawk mawk nawk awk
5469 # Extract the first word of "$ac_prog", so it can be a program name with args.
5470 set dummy $ac_prog; ac_word=$2
5471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5472 $as_echo_n "checking
for $ac_word...
" >&6; }
5473 if ${ac_cv_prog_AWK+:} false; then :
5474 $as_echo_n "(cached
) " >&6
5476 if test -n "$AWK"; then
5477 ac_cv_prog_AWK="$AWK" # Let the user override the test.
5479 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5483 test -z "$as_dir" && as_dir=.
5484 for ac_exec_ext in '' $ac_executable_extensions; do
5485 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5486 ac_cv_prog_AWK="$ac_prog"
5487 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5497 if test -n "$AWK"; then
5498 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AWK" >&5
5499 $as_echo "$AWK" >&6; }
5501 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5502 $as_echo "no
" >&6; }
5506 test -n "$AWK" && break
5527 # If no C compiler was specified, use CC.
5530 # If no C compiler flags were specified, use CFLAGS.
5531 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5533 # Allow CC to be a program name with arguments.
5537 # Check for command to grab the raw symbol name followed by C symbol from nm.
5538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
5539 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
5540 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
5541 $as_echo_n "(cached
) " >&6
5544 # These are sane defaults that work on at least a few old systems.
5545 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5547 # Character class describing NM global symbol codes.
5548 symcode='[BCDEGRST]'
5550 # Regexp to match symbols that can be accessed directly from C.
5551 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5553 # Define system-specific variables.
5558 cygwin* | mingw* | pw32* | cegcc*)
5559 symcode='[ABCDGISTW]'
5562 if test "$host_cpu" = ia64; then
5563 symcode='[ABCDEGRST]'
5567 symcode='[BCDEGRST]'
5570 symcode='[BCDEGQRST]'
5581 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5589 # If we're using GNU nm, then use its standard symbol codes.
5590 case `$NM -V 2>&1` in
5591 *GNU* | *'with BFD'*)
5592 symcode='[ABCDGIRSTW]' ;;
5595 # Transform an extracted symbol line into a proper C declaration.
5596 # Some systems (esp. on ia64) link data and code symbols differently,
5597 # so use this general approach.
5598 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5600 # Transform an extracted symbol line into symbol name and symbol address
5601 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5602 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'"
5604 # Handle CRLF in mingw tool chain
5608 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5612 # Try without a prefix underscore, then with it.
5613 for ac_symprfx in "" "_
"; do
5615 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5616 symxfrm="\\1 $ac_symprfx\\2 \\2"
5618 # Write the raw and C identifiers.
5619 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
5620 # Fake it for dumpbin and say T for any non-static function
5621 # and D for any global variable.
5622 # Also find C++ and __fastcall symbols from MSVC++,
5623 # which start with @ or ?.
5624 lt_cv_sys_global_symbol_pipe="$AWK '"\
5625 " {last_section=section; section=\$ 3};"\
5626 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5627 " \$ 0!~/External *\|/{next};"\
5628 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5629 " {if(hide[section]) next};"\
5630 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5631 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5632 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5633 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5634 " ' prfx
=^
$ac_symprfx"
5636 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5638 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe |
sed '/ __gnu_lto/d'"
5640 # Check to see that the pipe works correctly.
5644 cat > conftest.$ac_ext <<_LT_EOF
5649 void nm_test_func(void);
5650 void nm_test_func(void){}
5654 int main(){nm_test_var='a';nm_test_func();return(0);}
5657 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5658 (eval $ac_compile) 2>&5
5660 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5661 test $ac_status = 0; }; then
5662 # Now try to grab the symbols.
5664 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
5665 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
5667 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5668 test $ac_status = 0; } && test -s "$nlist"; then
5669 # Try sorting and uniquifying the output.
5670 if sort "$nlist" | uniq > "$nlist"T; then
5671 mv -f "$nlist"T "$nlist"
5676 # Make sure that we snagged all the symbols we need.
5677 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5678 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5679 cat <<_LT_EOF > conftest.$ac_ext
5680 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
5681 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
5682 /* DATA imports from DLLs on WIN32 con't be const, because runtime
5683 relocations are performed -- see ld's documentation on pseudo-relocs. */
5684 # define LT_DLSYM_CONST
5685 #elif defined(__osf__)
5686 /* This system does not cope well with relocations in const data. */
5687 # define LT_DLSYM_CONST
5689 # define LT_DLSYM_CONST const
5697 # Now generate the symbol file.
5698 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5700 cat <<_LT_EOF >> conftest.$ac_ext
5702 /* The mapping between symbol names and symbols. */
5703 LT_DLSYM_CONST struct {
5707 lt__PROGRAM__LTX_preloaded_symbols[] =
5709 { "@PROGRAM@
", (void *) 0 },
5711 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5712 cat <<\_LT_EOF >> conftest.$ac_ext
5716 /* This works around a problem in FreeBSD linker */
5717 #ifdef FREEBSD_WORKAROUND
5718 static const void *lt_preloaded_setup() {
5719 return lt__PROGRAM__LTX_preloaded_symbols;
5727 # Now try linking the two files.
5728 mv conftest.$ac_objext conftstm.$ac_objext
5729 lt_globsym_save_LIBS=$LIBS
5730 lt_globsym_save_CFLAGS=$CFLAGS
5731 LIBS="conftstm.
$ac_objext"
5732 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5733 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
5734 (eval $ac_link) 2>&5
5736 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5737 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
5740 LIBS=$lt_globsym_save_LIBS
5741 CFLAGS=$lt_globsym_save_CFLAGS
5743 echo "cannot
find nm_test_func
in $nlist" >&5
5746 echo "cannot
find nm_test_var
in $nlist" >&5
5749 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
5752 echo "$progname: failed program was
:" >&5
5753 cat conftest.$ac_ext >&5
5755 rm -rf conftest* conftst*
5757 # Do not use the global_symbol_pipe unless it works.
5758 if test "$pipe_works" = yes; then
5761 lt_cv_sys_global_symbol_pipe=
5767 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5768 lt_cv_sys_global_symbol_to_cdecl=
5770 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5771 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
5772 $as_echo "failed
" >&6; }
5774 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
5775 $as_echo "ok
" >&6; }
5778 # Response file support.
5779 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
5780 nm_file_list_spec='@'
5781 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
5782 nm_file_list_spec='@'
5811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for sysroot
" >&5
5812 $as_echo_n "checking
for sysroot...
" >&6; }
5814 # Check whether --with-sysroot was given.
5815 if test "${with_sysroot+set}" = set; then :
5816 withval=$with_sysroot;
5823 case ${with_sysroot} in #(
5825 if test "$GCC" = yes; then
5826 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
5830 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
5835 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${with_sysroot}" >&5
5836 $as_echo "${with_sysroot}" >&6; }
5837 as_fn_error $? "The sysroot must be an absolute path.
" "$LINENO" 5
5841 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${lt_sysroot:-no}" >&5
5842 $as_echo "${lt_sysroot:-no}" >&6; }
5848 # Check whether --enable-libtool-lock was given.
5849 if test "${enable_libtool_lock+set}" = set; then :
5850 enableval=$enable_libtool_lock;
5853 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
5855 # Some flags need to be propagated to the compiler or linker for good
5859 # Find out which ABI we are using.
5860 echo 'int i;' > conftest.$ac_ext
5861 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5862 (eval $ac_compile) 2>&5
5864 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5865 test $ac_status = 0; }; then
5866 case `/usr/bin/file conftest.$ac_objext` in
5878 # Find out which ABI we are using.
5879 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
5880 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5881 (eval $ac_compile) 2>&5
5883 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5884 test $ac_status = 0; }; then
5885 if test "$lt_cv_prog_gnu_ld" = yes; then
5886 case `/usr/bin/file conftest.$ac_objext` in
5888 LD="${LD-ld} -melf32bsmip"
5891 LD="${LD-ld} -melf32bmipn32"
5894 LD="${LD-ld} -melf64bmip"
5898 case `/usr/bin/file conftest.$ac_objext` in
5914 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5915 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5916 # Find out which ABI we are using.
5917 echo 'int i;' > conftest.$ac_ext
5918 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5919 (eval $ac_compile) 2>&5
5921 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5922 test $ac_status = 0; }; then
5923 case `/usr/bin/file conftest.o` in
5926 x86_64-*kfreebsd*-gnu)
5927 LD="${LD-ld} -m elf_i386_fbsd
"
5930 LD="${LD-ld} -m elf_i386
"
5932 ppc64-*linux*|powerpc64-*linux*)
5933 LD="${LD-ld} -m elf32ppclinux
"
5936 LD="${LD-ld} -m elf_s390
"
5939 LD="${LD-ld} -m elf32_sparc
"
5945 x86_64-*kfreebsd*-gnu)
5946 LD="${LD-ld} -m elf_x86_64_fbsd
"
5949 LD="${LD-ld} -m elf_x86_64
"
5951 ppc*-*linux*|powerpc*-*linux*)
5952 LD="${LD-ld} -m elf64ppc
"
5954 s390*-*linux*|s390*-*tpf*)
5955 LD="${LD-ld} -m elf64_s390
"
5958 LD="${LD-ld} -m elf64_sparc
"
5968 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5969 SAVE_CFLAGS="$CFLAGS"
5970 CFLAGS="$CFLAGS -belf"
5971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
5972 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
5973 if ${lt_cv_cc_needs_belf+:} false; then :
5974 $as_echo_n "(cached
) " >&6
5977 ac_cpp='$CPP $CPPFLAGS'
5978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5983 /* end confdefs.h. */
5993 if ac_fn_c_try_link "$LINENO"; then :
5994 lt_cv_cc_needs_belf=yes
5996 lt_cv_cc_needs_belf=no
5998 rm -f core conftest.err conftest.$ac_objext \
5999 conftest$ac_exeext conftest.$ac_ext
6001 ac_cpp='$CPP $CPPFLAGS'
6002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6007 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
6008 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6009 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6010 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6011 CFLAGS="$SAVE_CFLAGS"
6015 # Find out which ABI we are using.
6016 echo 'int i;' > conftest.$ac_ext
6017 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6018 (eval $ac_compile) 2>&5
6020 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6021 test $ac_status = 0; }; then
6022 case `/usr/bin/file conftest.o` in
6024 case $lt_cv_prog_gnu_ld in
6025 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
6027 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6039 need_locks="$enable_libtool_lock"
6041 if test -n "$ac_tool_prefix"; then
6042 # Extract the first word of "${ac_tool_prefix}mt
", so it can be a program name with args.
6043 set dummy ${ac_tool_prefix}mt; ac_word=$2
6044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6045 $as_echo_n "checking
for $ac_word...
" >&6; }
6046 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6047 $as_echo_n "(cached
) " >&6
6049 if test -n "$MANIFEST_TOOL"; then
6050 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6056 test -z "$as_dir" && as_dir=.
6057 for ac_exec_ext in '' $ac_executable_extensions; do
6058 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6059 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt
"
6060 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6069 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6070 if test -n "$MANIFEST_TOOL"; then
6071 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MANIFEST_TOOL" >&5
6072 $as_echo "$MANIFEST_TOOL" >&6; }
6074 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6075 $as_echo "no
" >&6; }
6080 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6081 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6082 # Extract the first word of "mt
", so it can be a program name with args.
6083 set dummy mt; ac_word=$2
6084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6085 $as_echo_n "checking
for $ac_word...
" >&6; }
6086 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6087 $as_echo_n "(cached
) " >&6
6089 if test -n "$ac_ct_MANIFEST_TOOL"; then
6090 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6096 test -z "$as_dir" && as_dir=.
6097 for ac_exec_ext in '' $ac_executable_extensions; do
6098 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6099 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt
"
6100 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6109 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6110 if test -n "$ac_ct_MANIFEST_TOOL"; then
6111 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_MANIFEST_TOOL" >&5
6112 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6114 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6115 $as_echo "no
" >&6; }
6118 if test "x
$ac_ct_MANIFEST_TOOL" = x; then
6121 case $cross_compiling:$ac_tool_warned in
6123 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6124 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6125 ac_tool_warned=yes ;;
6127 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6130 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6133 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $MANIFEST_TOOL is a manifest tool
" >&5
6135 $as_echo_n "checking
if $MANIFEST_TOOL is a manifest tool...
" >&6; }
6136 if ${lt_cv_path_mainfest_tool+:} false; then :
6137 $as_echo_n "(cached
) " >&6
6139 lt_cv_path_mainfest_tool=no
6140 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6141 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6142 cat conftest.err >&5
6143 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6144 lt_cv_path_mainfest_tool=yes
6148 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_mainfest_tool" >&5
6149 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6150 if test "x
$lt_cv_path_mainfest_tool" != xyes; then
6160 rhapsody* | darwin*)
6161 if test -n "$ac_tool_prefix"; then
6162 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
6163 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6165 $as_echo_n "checking
for $ac_word...
" >&6; }
6166 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6167 $as_echo_n "(cached
) " >&6
6169 if test -n "$DSYMUTIL"; then
6170 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6176 test -z "$as_dir" && as_dir=.
6177 for ac_exec_ext in '' $ac_executable_extensions; do
6178 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6179 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
6180 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6189 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6190 if test -n "$DSYMUTIL"; then
6191 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
6192 $as_echo "$DSYMUTIL" >&6; }
6194 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6195 $as_echo "no
" >&6; }
6200 if test -z "$ac_cv_prog_DSYMUTIL"; then
6201 ac_ct_DSYMUTIL=$DSYMUTIL
6202 # Extract the first word of "dsymutil
", so it can be a program name with args.
6203 set dummy dsymutil; ac_word=$2
6204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6205 $as_echo_n "checking
for $ac_word...
" >&6; }
6206 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6207 $as_echo_n "(cached
) " >&6
6209 if test -n "$ac_ct_DSYMUTIL"; then
6210 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6216 test -z "$as_dir" && as_dir=.
6217 for ac_exec_ext in '' $ac_executable_extensions; do
6218 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6219 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
6220 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6229 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6230 if test -n "$ac_ct_DSYMUTIL"; then
6231 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
6232 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6234 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6235 $as_echo "no
" >&6; }
6238 if test "x
$ac_ct_DSYMUTIL" = x; then
6241 case $cross_compiling:$ac_tool_warned in
6243 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6244 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6245 ac_tool_warned=yes ;;
6247 DSYMUTIL=$ac_ct_DSYMUTIL
6250 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6253 if test -n "$ac_tool_prefix"; then
6254 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
6255 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6257 $as_echo_n "checking
for $ac_word...
" >&6; }
6258 if ${ac_cv_prog_NMEDIT+:} false; then :
6259 $as_echo_n "(cached
) " >&6
6261 if test -n "$NMEDIT"; then
6262 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6268 test -z "$as_dir" && as_dir=.
6269 for ac_exec_ext in '' $ac_executable_extensions; do
6270 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6271 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
6272 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6281 NMEDIT=$ac_cv_prog_NMEDIT
6282 if test -n "$NMEDIT"; then
6283 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
6284 $as_echo "$NMEDIT" >&6; }
6286 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6287 $as_echo "no
" >&6; }
6292 if test -z "$ac_cv_prog_NMEDIT"; then
6293 ac_ct_NMEDIT=$NMEDIT
6294 # Extract the first word of "nmedit
", so it can be a program name with args.
6295 set dummy nmedit; ac_word=$2
6296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6297 $as_echo_n "checking
for $ac_word...
" >&6; }
6298 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6299 $as_echo_n "(cached
) " >&6
6301 if test -n "$ac_ct_NMEDIT"; then
6302 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6304 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6308 test -z "$as_dir" && as_dir=.
6309 for ac_exec_ext in '' $ac_executable_extensions; do
6310 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6311 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
6312 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6321 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6322 if test -n "$ac_ct_NMEDIT"; then
6323 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
6324 $as_echo "$ac_ct_NMEDIT" >&6; }
6326 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6327 $as_echo "no
" >&6; }
6330 if test "x
$ac_ct_NMEDIT" = x; then
6333 case $cross_compiling:$ac_tool_warned in
6335 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6336 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6337 ac_tool_warned=yes ;;
6339 NMEDIT=$ac_ct_NMEDIT
6342 NMEDIT="$ac_cv_prog_NMEDIT"
6345 if test -n "$ac_tool_prefix"; then
6346 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
6347 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6349 $as_echo_n "checking
for $ac_word...
" >&6; }
6350 if ${ac_cv_prog_LIPO+:} false; then :
6351 $as_echo_n "(cached
) " >&6
6353 if test -n "$LIPO"; then
6354 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6360 test -z "$as_dir" && as_dir=.
6361 for ac_exec_ext in '' $ac_executable_extensions; do
6362 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6363 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
6364 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6373 LIPO=$ac_cv_prog_LIPO
6374 if test -n "$LIPO"; then
6375 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
6376 $as_echo "$LIPO" >&6; }
6378 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6379 $as_echo "no
" >&6; }
6384 if test -z "$ac_cv_prog_LIPO"; then
6386 # Extract the first word of "lipo
", so it can be a program name with args.
6387 set dummy lipo; ac_word=$2
6388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6389 $as_echo_n "checking
for $ac_word...
" >&6; }
6390 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
6391 $as_echo_n "(cached
) " >&6
6393 if test -n "$ac_ct_LIPO"; then
6394 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6400 test -z "$as_dir" && as_dir=.
6401 for ac_exec_ext in '' $ac_executable_extensions; do
6402 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6403 ac_cv_prog_ac_ct_LIPO="lipo
"
6404 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6413 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6414 if test -n "$ac_ct_LIPO"; then
6415 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
6416 $as_echo "$ac_ct_LIPO" >&6; }
6418 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6419 $as_echo "no
" >&6; }
6422 if test "x
$ac_ct_LIPO" = x; then
6425 case $cross_compiling:$ac_tool_warned in
6427 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6428 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6429 ac_tool_warned=yes ;;
6434 LIPO="$ac_cv_prog_LIPO"
6437 if test -n "$ac_tool_prefix"; then
6438 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
6439 set dummy ${ac_tool_prefix}otool; ac_word=$2
6440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6441 $as_echo_n "checking
for $ac_word...
" >&6; }
6442 if ${ac_cv_prog_OTOOL+:} false; then :
6443 $as_echo_n "(cached
) " >&6
6445 if test -n "$OTOOL"; then
6446 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6452 test -z "$as_dir" && as_dir=.
6453 for ac_exec_ext in '' $ac_executable_extensions; do
6454 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6455 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
6456 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6465 OTOOL=$ac_cv_prog_OTOOL
6466 if test -n "$OTOOL"; then
6467 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
6468 $as_echo "$OTOOL" >&6; }
6470 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6471 $as_echo "no
" >&6; }
6476 if test -z "$ac_cv_prog_OTOOL"; then
6478 # Extract the first word of "otool
", so it can be a program name with args.
6479 set dummy otool; ac_word=$2
6480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6481 $as_echo_n "checking
for $ac_word...
" >&6; }
6482 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
6483 $as_echo_n "(cached
) " >&6
6485 if test -n "$ac_ct_OTOOL"; then
6486 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6492 test -z "$as_dir" && as_dir=.
6493 for ac_exec_ext in '' $ac_executable_extensions; do
6494 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6495 ac_cv_prog_ac_ct_OTOOL="otool
"
6496 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6505 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6506 if test -n "$ac_ct_OTOOL"; then
6507 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
6508 $as_echo "$ac_ct_OTOOL" >&6; }
6510 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6511 $as_echo "no
" >&6; }
6514 if test "x
$ac_ct_OTOOL" = x; then
6517 case $cross_compiling:$ac_tool_warned in
6519 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6520 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6521 ac_tool_warned=yes ;;
6526 OTOOL="$ac_cv_prog_OTOOL"
6529 if test -n "$ac_tool_prefix"; then
6530 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
6531 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6533 $as_echo_n "checking
for $ac_word...
" >&6; }
6534 if ${ac_cv_prog_OTOOL64+:} false; then :
6535 $as_echo_n "(cached
) " >&6
6537 if test -n "$OTOOL64"; then
6538 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6544 test -z "$as_dir" && as_dir=.
6545 for ac_exec_ext in '' $ac_executable_extensions; do
6546 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6547 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
6548 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6557 OTOOL64=$ac_cv_prog_OTOOL64
6558 if test -n "$OTOOL64"; then
6559 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
6560 $as_echo "$OTOOL64" >&6; }
6562 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6563 $as_echo "no
" >&6; }
6568 if test -z "$ac_cv_prog_OTOOL64"; then
6569 ac_ct_OTOOL64=$OTOOL64
6570 # Extract the first word of "otool64
", so it can be a program name with args.
6571 set dummy otool64; ac_word=$2
6572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6573 $as_echo_n "checking
for $ac_word...
" >&6; }
6574 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
6575 $as_echo_n "(cached
) " >&6
6577 if test -n "$ac_ct_OTOOL64"; then
6578 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6584 test -z "$as_dir" && as_dir=.
6585 for ac_exec_ext in '' $ac_executable_extensions; do
6586 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6587 ac_cv_prog_ac_ct_OTOOL64="otool64
"
6588 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6597 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6598 if test -n "$ac_ct_OTOOL64"; then
6599 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
6600 $as_echo "$ac_ct_OTOOL64" >&6; }
6602 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6603 $as_echo "no
" >&6; }
6606 if test "x
$ac_ct_OTOOL64" = x; then
6609 case $cross_compiling:$ac_tool_warned in
6611 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6612 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6613 ac_tool_warned=yes ;;
6615 OTOOL64=$ac_ct_OTOOL64
6618 OTOOL64="$ac_cv_prog_OTOOL64"
6647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
6648 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
6649 if ${lt_cv_apple_cc_single_mod+:} false; then :
6650 $as_echo_n "(cached
) " >&6
6652 lt_cv_apple_cc_single_mod=no
6653 if test -z "${LT_MULTI_MODULE}"; then
6654 # By default we will add the -single_module flag. You can override
6655 # by either setting the environment variable LT_MULTI_MODULE
6656 # non-empty at configure time, or by adding -multi_module to the
6658 rm -rf libconftest.dylib*
6659 echo "int foo
(void
){return 1;}" > conftest.c
6660 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6661 -dynamiclib -Wl,-single_module conftest.c
" >&5
6662 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6663 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6665 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6666 lt_cv_apple_cc_single_mod=yes
6668 cat conftest.err >&5
6670 rm -rf libconftest.dylib*
6674 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
6675 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
6677 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
6678 if ${lt_cv_ld_exported_symbols_list+:} false; then :
6679 $as_echo_n "(cached
) " >&6
6681 lt_cv_ld_exported_symbols_list=no
6682 save_LDFLAGS=$LDFLAGS
6683 echo "_main
" > conftest.sym
6684 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
6685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6686 /* end confdefs.h. */
6696 if ac_fn_c_try_link "$LINENO"; then :
6697 lt_cv_ld_exported_symbols_list=yes
6699 lt_cv_ld_exported_symbols_list=no
6701 rm -f core conftest.err conftest.$ac_objext \
6702 conftest$ac_exeext conftest.$ac_ext
6703 LDFLAGS="$save_LDFLAGS"
6706 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
6707 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
6709 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
6710 if ${lt_cv_ld_force_load+:} false; then :
6711 $as_echo_n "(cached
) " >&6
6713 lt_cv_ld_force_load=no
6714 cat > conftest.c << _LT_EOF
6715 int forced_loaded() { return 2;}
6717 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
6718 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
6719 echo "$AR cru libconftest.a conftest.o
" >&5
6720 $AR cru libconftest.a conftest.o 2>&5
6721 echo "$RANLIB libconftest.a
" >&5
6722 $RANLIB libconftest.a 2>&5
6723 cat > conftest.c << _LT_EOF
6724 int main() { return 0;}
6726 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
6727 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
6729 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
6730 lt_cv_ld_force_load=yes
6732 cat conftest.err >&5
6734 rm -f conftest.err libconftest.a conftest conftest.c
6735 rm -rf conftest.dSYM
6738 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
6739 $as_echo "$lt_cv_ld_force_load" >&6; }
6741 rhapsody* | darwin1.[012])
6742 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6744 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6745 darwin*) # darwin 5.x on
6746 # if running on 10.5 or later, the deployment target defaults
6747 # to the OS version, if on x86, and 10.4, the deployment
6748 # target defaults to 10.4. Don't you love it?
6749 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6750 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6751 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6753 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6755 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6759 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6760 _lt_dar_single_mod='$single_module'
6762 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6763 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6765 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6767 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
6768 _lt_dsymutil='~$DSYMUTIL $lib || :'
6776 ac_cpp='$CPP $CPPFLAGS'
6777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor
" >&5
6781 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
6782 # On Suns, sometimes $CPP names a directory.
6783 if test -n "$CPP" && test -d "$CPP"; then
6786 if test -z "$CPP"; then
6787 if ${ac_cv_prog_CPP+:} false; then :
6788 $as_echo_n "(cached
) " >&6
6790 # Double quotes because CPP needs to be expanded
6791 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
6794 for ac_c_preproc_warn_flag in '' yes
6796 # Use a header file that comes with gcc, so configuring glibc
6797 # with a fresh cross-compiler works.
6798 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6799 # <limits.h> exists even on freestanding compilers.
6800 # On the NeXT, cc -E runs the code through the compiler's parser,
6801 # not just through cpp. "Syntax error
" is here to catch this case.
6802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6803 /* end confdefs.h. */
6805 # include <limits.h>
6807 # include <assert.h>
6811 if ac_fn_c_try_cpp "$LINENO"; then :
6814 # Broken: fails on valid input.
6817 rm -f conftest.err conftest.i conftest.$ac_ext
6819 # OK, works on sane cases. Now check whether nonexistent headers
6820 # can be detected and how.
6821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6822 /* end confdefs.h. */
6823 #include <ac_nonexistent.h>
6825 if ac_fn_c_try_cpp "$LINENO"; then :
6826 # Broken: success on invalid input.
6829 # Passes both tests.
6833 rm -f conftest.err conftest.i conftest.$ac_ext
6836 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6837 rm -f conftest.i conftest.err conftest.$ac_ext
6838 if $ac_preproc_ok; then :
6850 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CPP" >&5
6851 $as_echo "$CPP" >&6; }
6853 for ac_c_preproc_warn_flag in '' yes
6855 # Use a header file that comes with gcc, so configuring glibc
6856 # with a fresh cross-compiler works.
6857 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6858 # <limits.h> exists even on freestanding compilers.
6859 # On the NeXT, cc -E runs the code through the compiler's parser,
6860 # not just through cpp. "Syntax error
" is here to catch this case.
6861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6862 /* end confdefs.h. */
6864 # include <limits.h>
6866 # include <assert.h>
6870 if ac_fn_c_try_cpp "$LINENO"; then :
6873 # Broken: fails on valid input.
6876 rm -f conftest.err conftest.i conftest.$ac_ext
6878 # OK, works on sane cases. Now check whether nonexistent headers
6879 # can be detected and how.
6880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6881 /* end confdefs.h. */
6882 #include <ac_nonexistent.h>
6884 if ac_fn_c_try_cpp "$LINENO"; then :
6885 # Broken: success on invalid input.
6888 # Passes both tests.
6892 rm -f conftest.err conftest.i conftest.$ac_ext
6895 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6896 rm -f conftest.i conftest.err conftest.$ac_ext
6897 if $ac_preproc_ok; then :
6900 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
6901 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6902 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6903 See \`config.log' for more details
" "$LINENO" 5; }
6907 ac_cpp='$CPP $CPPFLAGS'
6908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
6914 $as_echo_n "checking
for ANSI C header files...
" >&6; }
6915 if ${ac_cv_header_stdc+:} false; then :
6916 $as_echo_n "(cached
) " >&6
6918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6919 /* end confdefs.h. */
6933 if ac_fn_c_try_compile "$LINENO"; then :
6934 ac_cv_header_stdc=yes
6936 ac_cv_header_stdc=no
6938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6940 if test $ac_cv_header_stdc = yes; then
6941 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6943 /* end confdefs.h. */
6947 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
6948 $EGREP "memchr
" >/dev/null 2>&1; then :
6951 ac_cv_header_stdc=no
6957 if test $ac_cv_header_stdc = yes; then
6958 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6960 /* end confdefs.h. */
6964 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
6965 $EGREP "free
" >/dev/null 2>&1; then :
6968 ac_cv_header_stdc=no
6974 if test $ac_cv_header_stdc = yes; then
6975 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6976 if test "$cross_compiling" = yes; then :
6979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6980 /* end confdefs.h. */
6983 #if ((' ' & 0x0FF) == 0x020)
6984 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6985 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6987 # define ISLOWER(c) \
6988 (('a' <= (c) && (c) <= 'i') \
6989 || ('j' <= (c) && (c) <= 'r') \
6990 || ('s' <= (c) && (c) <= 'z'))
6991 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6994 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6999 for (i = 0; i < 256; i++)
7000 if (XOR (islower (i), ISLOWER (i))
7001 || toupper (i) != TOUPPER (i))
7006 if ac_fn_c_try_run "$LINENO"; then :
7009 ac_cv_header_stdc=no
7011 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7012 conftest.$ac_objext conftest.beam conftest.$ac_ext
7017 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
7018 $as_echo "$ac_cv_header_stdc" >&6; }
7019 if test $ac_cv_header_stdc = yes; then
7021 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7025 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7026 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
7027 inttypes.h stdint.h unistd.h
7029 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7030 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7032 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7033 cat >>confdefs.h
<<_ACEOF
7034 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7042 for ac_header
in dlfcn.h
7044 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7046 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
7047 cat >>confdefs.h
<<_ACEOF
7048 #define HAVE_DLFCN_H 1
7067 # Check whether --enable-shared was given.
7068 if test "${enable_shared+set}" = set; then :
7069 enableval
=$enable_shared; p
=${PACKAGE-default}
7071 yes) enable_shared
=yes ;;
7072 no
) enable_shared
=no
;;
7075 # Look at the argument we got. We use all the common list separators.
7076 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7077 for pkg
in $enableval; do
7079 if test "X$pkg" = "X$p"; then
7098 # Check whether --enable-static was given.
7099 if test "${enable_static+set}" = set; then :
7100 enableval
=$enable_static; p
=${PACKAGE-default}
7102 yes) enable_static
=yes ;;
7103 no
) enable_static
=no
;;
7106 # Look at the argument we got. We use all the common list separators.
7107 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7108 for pkg
in $enableval; do
7110 if test "X$pkg" = "X$p"; then
7130 # Check whether --with-pic was given.
7131 if test "${with_pic+set}" = set; then :
7132 withval
=$with_pic; pic_mode
="$withval"
7138 test -z "$pic_mode" && pic_mode
=default
7146 # Check whether --enable-fast-install was given.
7147 if test "${enable_fast_install+set}" = set; then :
7148 enableval
=$enable_fast_install; p
=${PACKAGE-default}
7150 yes) enable_fast_install
=yes ;;
7151 no
) enable_fast_install
=no
;;
7153 enable_fast_install
=no
7154 # Look at the argument we got. We use all the common list separators.
7155 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7156 for pkg
in $enableval; do
7158 if test "X$pkg" = "X$p"; then
7159 enable_fast_install
=yes
7166 enable_fast_install
=yes
7179 # This can be used to rebuild libtool when needed
7180 LIBTOOL_DEPS
="$ltmain"
7182 # Always use our own libtool.
7183 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
7210 test -z "$LN_S" && LN_S
="ln -s"
7225 if test -n "${ZSH_VERSION+set}" ; then
7226 setopt NO_GLOB_SUBST
7229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7230 $as_echo_n "checking for objdir... " >&6; }
7231 if ${lt_cv_objdir+:} false
; then :
7232 $as_echo_n "(cached) " >&6
7234 rm -f .libs
2>/dev
/null
7235 mkdir .libs
2>/dev
/null
7236 if test -d .libs
; then
7239 # MS-DOS does not allow filenames that begin with a dot.
7242 rmdir .libs
2>/dev
/null
7244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7245 $as_echo "$lt_cv_objdir" >&6; }
7246 objdir
=$lt_cv_objdir
7252 cat >>confdefs.h
<<_ACEOF
7253 #define LT_OBJDIR "$lt_cv_objdir/"
7261 # AIX sometimes has problems with the GCC collect2 program. For some
7262 # reason, if we set the COLLECT_NAMES environment variable, the problems
7263 # vanish in a puff of smoke.
7264 if test "X${COLLECT_NAMES+set}" != Xset
; then
7266 export COLLECT_NAMES
7273 can_build_shared
=yes
7275 # All known linkers require a `.a' archive for static linking (except MSVC,
7276 # which needs '.lib').
7279 with_gnu_ld
="$lt_cv_prog_gnu_ld"
7282 old_CFLAGS
="$CFLAGS"
7284 # Set sane defaults for various variables
7285 test -z "$CC" && CC
=cc
7286 test -z "$LTCC" && LTCC
=$CC
7287 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7288 test -z "$LD" && LD
=ld
7289 test -z "$ac_objext" && ac_objext
=o
7291 for cc_temp
in $compiler""; do
7293 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7294 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7299 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7302 # Only perform the check for file, if the check method requires it
7303 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7304 case $deplibs_check_method in
7306 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7308 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7309 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
7310 $as_echo_n "(cached) " >&6
7314 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7317 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7318 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7319 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7320 for ac_dir
in $ac_dummy; do
7322 test -z "$ac_dir" && ac_dir
=.
7323 if test -f $ac_dir/${ac_tool_prefix}file; then
7324 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7325 if test -n "$file_magic_test_file"; then
7326 case $deplibs_check_method in
7328 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7329 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7330 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7331 $EGREP "$file_magic_regex" > /dev
/null
; then
7336 *** Warning: the command libtool uses to detect shared libraries,
7337 *** $file_magic_cmd, produces output that libtool cannot recognize.
7338 *** The result is that libtool may fail to recognize shared libraries
7339 *** as such. This will affect the creation of libtool libraries that
7340 *** depend on shared libraries, but programs linked with such libtool
7341 *** libraries will work regardless of this problem. Nevertheless, you
7342 *** may want to report the problem to your system manager and/or to
7343 *** bug-libtool@gnu.org
7353 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7358 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7359 if test -n "$MAGIC_CMD"; then
7360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7361 $as_echo "$MAGIC_CMD" >&6; }
7363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7364 $as_echo "no" >&6; }
7371 if test -z "$lt_cv_path_MAGIC_CMD"; then
7372 if test -n "$ac_tool_prefix"; then
7373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7374 $as_echo_n "checking for file... " >&6; }
7375 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
7376 $as_echo_n "(cached) " >&6
7380 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7383 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7384 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7385 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7386 for ac_dir
in $ac_dummy; do
7388 test -z "$ac_dir" && ac_dir
=.
7389 if test -f $ac_dir/file; then
7390 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7391 if test -n "$file_magic_test_file"; then
7392 case $deplibs_check_method in
7394 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7395 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7396 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7397 $EGREP "$file_magic_regex" > /dev
/null
; then
7402 *** Warning: the command libtool uses to detect shared libraries,
7403 *** $file_magic_cmd, produces output that libtool cannot recognize.
7404 *** The result is that libtool may fail to recognize shared libraries
7405 *** as such. This will affect the creation of libtool libraries that
7406 *** depend on shared libraries, but programs linked with such libtool
7407 *** libraries will work regardless of this problem. Nevertheless, you
7408 *** may want to report the problem to your system manager and/or to
7409 *** bug-libtool@gnu.org
7419 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7424 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7425 if test -n "$MAGIC_CMD"; then
7426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7427 $as_echo "$MAGIC_CMD" >&6; }
7429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7430 $as_echo "no" >&6; }
7443 # Use C for the default configuration in the libtool script
7447 ac_cpp
='$CPP $CPPFLAGS'
7448 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7449 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7450 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7453 # Source file extension for C test sources.
7456 # Object file extension for compiled C test sources.
7460 # Code to be used in simple compile tests
7461 lt_simple_compile_test_code
="int some_variable = 0;"
7463 # Code to be used in simple link tests
7464 lt_simple_link_test_code
='int main(){return(0);}'
7472 # If no C compiler was specified, use CC.
7475 # If no C compiler flags were specified, use CFLAGS.
7476 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7478 # Allow CC to be a program name with arguments.
7481 # Save the default compiler, since it gets overwritten when the other
7482 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7483 compiler_DEFAULT
=$CC
7485 # save warnings/boilerplate of simple test code
7486 ac_outfile
=conftest.
$ac_objext
7487 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
7488 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7489 _lt_compiler_boilerplate
=`cat conftest.err`
7492 ac_outfile
=conftest.
$ac_objext
7493 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
7494 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7495 _lt_linker_boilerplate
=`cat conftest.err`
7499 if test -n "$compiler"; then
7501 lt_prog_compiler_no_builtin_flag
=
7503 if test "$GCC" = yes; then
7504 case $cc_basename in
7506 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
7508 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
7511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7512 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7513 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
7514 $as_echo_n "(cached) " >&6
7516 lt_cv_prog_compiler_rtti_exceptions
=no
7517 ac_outfile
=conftest.
$ac_objext
7518 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7519 lt_compiler_flag
="-fno-rtti -fno-exceptions"
7520 # Insert the option either (1) after the last *FLAGS variable, or
7521 # (2) before a word containing "conftest.", or (3) at the end.
7522 # Note that $ac_compile itself does not contain backslashes and begins
7523 # with a dollar sign (not a hyphen), so the echo should work correctly.
7524 # The option is referenced via a variable to avoid confusing sed.
7525 lt_compile
=`echo "$ac_compile" | $SED \
7526 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7527 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7528 -e 's:$: $lt_compiler_flag:'`
7529 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7530 (eval "$lt_compile" 2>conftest.err
)
7532 cat conftest.err
>&5
7533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7534 if (exit $ac_status) && test -s "$ac_outfile"; then
7535 # The compiler can only warn and ignore the option if not recognized
7536 # So say no if there are warnings other than the usual output.
7537 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
7538 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7539 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7540 lt_cv_prog_compiler_rtti_exceptions
=yes
7546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7547 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7549 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
7550 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7562 lt_prog_compiler_wl
=
7563 lt_prog_compiler_pic
=
7564 lt_prog_compiler_static
=
7567 if test "$GCC" = yes; then
7568 lt_prog_compiler_wl
='-Wl,'
7569 lt_prog_compiler_static
='-static'
7573 # All AIX code is PIC.
7574 if test "$host_cpu" = ia64
; then
7575 # AIX 5 now supports IA64 processor
7576 lt_prog_compiler_static
='-Bstatic'
7583 # see comment about AmigaOS4 .so support
7584 lt_prog_compiler_pic
='-fPIC'
7587 # FIXME: we need at least 68020 code to build shared libraries, but
7588 # adding the `-m68020' flag to GCC prevents building anything better,
7590 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
7595 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
7596 # PIC is the default for these OSes.
7599 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
7600 # This hack is so that the source file can tell whether it is being
7601 # built for inclusion in a dll (and should export symbols for example).
7602 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7603 # (--disable-auto-import) libraries
7604 lt_prog_compiler_pic
='-DDLL_EXPORT'
7607 darwin
* | rhapsody
*)
7608 # PIC is the default on this platform
7609 # Common symbols not allowed in MH_DYLIB files
7610 lt_prog_compiler_pic
='-fno-common'
7614 # PIC is the default for Haiku.
7615 # The "-static" flag exists, but is broken.
7616 lt_prog_compiler_static
=
7620 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7621 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7622 # sets the default TLS model and affects inlining.
7628 lt_prog_compiler_pic
='-fPIC'
7634 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7635 # Instead, we relocate shared libraries at runtime.
7639 # Just because we use GCC doesn't mean we suddenly get shared libraries
7640 # on systems that don't support them.
7641 lt_prog_compiler_can_build_shared
=no
7646 # QNX uses GNU C++, but need to define -shared option too, otherwise
7648 lt_prog_compiler_pic
='-fPIC -shared'
7652 if test -d /usr
/nec
; then
7653 lt_prog_compiler_pic
=-Kconform_pic
7658 lt_prog_compiler_pic
='-fPIC'
7662 case $cc_basename in
7663 nvcc
*) # Cuda Compiler Driver 2.2
7664 lt_prog_compiler_wl
='-Xlinker '
7665 lt_prog_compiler_pic
='-Xcompiler -fPIC'
7669 # PORTME Check for flag to pass linker flags through the system compiler.
7672 lt_prog_compiler_wl
='-Wl,'
7673 if test "$host_cpu" = ia64
; then
7674 # AIX 5 now supports IA64 processor
7675 lt_prog_compiler_static
='-Bstatic'
7677 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
7681 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
7682 # This hack is so that the source file can tell whether it is being
7683 # built for inclusion in a dll (and should export symbols for example).
7684 lt_prog_compiler_pic
='-DDLL_EXPORT'
7687 hpux9
* | hpux10
* | hpux11
*)
7688 lt_prog_compiler_wl
='-Wl,'
7689 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7696 lt_prog_compiler_pic
='+Z'
7699 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7700 lt_prog_compiler_static
='${wl}-a ${wl}archive'
7703 irix5
* | irix6
* | nonstopux
*)
7704 lt_prog_compiler_wl
='-Wl,'
7705 # PIC (with -KPIC) is the default.
7706 lt_prog_compiler_static
='-non_shared'
7709 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
7710 case $cc_basename in
7711 # old Intel for x86_64 which still supported -KPIC.
7713 lt_prog_compiler_wl
='-Wl,'
7714 lt_prog_compiler_pic
='-KPIC'
7715 lt_prog_compiler_static
='-static'
7717 # icc used to be incompatible with GCC.
7718 # ICC 10 doesn't accept -KPIC any more.
7720 lt_prog_compiler_wl
='-Wl,'
7721 lt_prog_compiler_pic
='-fPIC'
7722 lt_prog_compiler_static
='-static'
7724 # Lahey Fortran 8.1.
7726 lt_prog_compiler_wl
='-Wl,'
7727 lt_prog_compiler_pic
='--shared'
7728 lt_prog_compiler_static
='--static'
7731 # NAG Fortran compiler
7732 lt_prog_compiler_wl
='-Wl,-Wl,,'
7733 lt_prog_compiler_pic
='-PIC'
7734 lt_prog_compiler_static
='-Bstatic'
7736 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
7737 # Portland Group compilers (*not* the Pentium gcc compiler,
7738 # which looks to be a dead project)
7739 lt_prog_compiler_wl
='-Wl,'
7740 lt_prog_compiler_pic
='-fpic'
7741 lt_prog_compiler_static
='-Bstatic'
7744 lt_prog_compiler_wl
='-Wl,'
7745 # All Alpha code is PIC.
7746 lt_prog_compiler_static
='-non_shared'
7748 xl
* | bgxl
* | bgf
* | mpixl
*)
7749 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
7750 lt_prog_compiler_wl
='-Wl,'
7751 lt_prog_compiler_pic
='-qpic'
7752 lt_prog_compiler_static
='-qstaticlink'
7755 case `$CC -V 2>&1 | sed 5q` in
7756 *Sun\ F
* |
*Sun
*Fortran
*)
7757 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7758 lt_prog_compiler_pic
='-KPIC'
7759 lt_prog_compiler_static
='-Bstatic'
7760 lt_prog_compiler_wl
=''
7764 lt_prog_compiler_pic
='-KPIC'
7765 lt_prog_compiler_static
='-Bstatic'
7766 lt_prog_compiler_wl
='-Wl,'
7774 lt_prog_compiler_pic
='-KPIC'
7775 lt_prog_compiler_static
='-Bstatic'
7779 # QNX uses GNU C++, but need to define -shared option too, otherwise
7781 lt_prog_compiler_pic
='-fPIC -shared'
7784 osf3
* | osf4
* | osf5
*)
7785 lt_prog_compiler_wl
='-Wl,'
7786 # All OSF/1 code is PIC.
7787 lt_prog_compiler_static
='-non_shared'
7791 lt_prog_compiler_static
='-non_shared'
7795 lt_prog_compiler_pic
='-KPIC'
7796 lt_prog_compiler_static
='-Bstatic'
7797 case $cc_basename in
7798 f77
* | f90
* | f95
* | sunf77
* | sunf90
* | sunf95
*)
7799 lt_prog_compiler_wl
='-Qoption ld ';;
7801 lt_prog_compiler_wl
='-Wl,';;
7806 lt_prog_compiler_wl
='-Qoption ld '
7807 lt_prog_compiler_pic
='-PIC'
7808 lt_prog_compiler_static
='-Bstatic'
7811 sysv4 | sysv4.2uw2
* | sysv4.3
*)
7812 lt_prog_compiler_wl
='-Wl,'
7813 lt_prog_compiler_pic
='-KPIC'
7814 lt_prog_compiler_static
='-Bstatic'
7818 if test -d /usr
/nec
;then
7819 lt_prog_compiler_pic
='-Kconform_pic'
7820 lt_prog_compiler_static
='-Bstatic'
7824 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
7825 lt_prog_compiler_wl
='-Wl,'
7826 lt_prog_compiler_pic
='-KPIC'
7827 lt_prog_compiler_static
='-Bstatic'
7831 lt_prog_compiler_wl
='-Wl,'
7832 lt_prog_compiler_can_build_shared
=no
7836 lt_prog_compiler_pic
='-pic'
7837 lt_prog_compiler_static
='-Bstatic'
7841 lt_prog_compiler_can_build_shared
=no
7847 # For platforms which do not support PIC, -DPIC is meaningless:
7849 lt_prog_compiler_pic
=
7852 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
7856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7857 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7858 if ${lt_cv_prog_compiler_pic+:} false
; then :
7859 $as_echo_n "(cached) " >&6
7861 lt_cv_prog_compiler_pic
=$lt_prog_compiler_pic
7863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
7864 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
7865 lt_prog_compiler_pic
=$lt_cv_prog_compiler_pic
7868 # Check to make sure the PIC flag actually works.
7870 if test -n "$lt_prog_compiler_pic"; then
7871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7872 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7873 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
7874 $as_echo_n "(cached) " >&6
7876 lt_cv_prog_compiler_pic_works
=no
7877 ac_outfile
=conftest.
$ac_objext
7878 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7879 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
7880 # Insert the option either (1) after the last *FLAGS variable, or
7881 # (2) before a word containing "conftest.", or (3) at the end.
7882 # Note that $ac_compile itself does not contain backslashes and begins
7883 # with a dollar sign (not a hyphen), so the echo should work correctly.
7884 # The option is referenced via a variable to avoid confusing sed.
7885 lt_compile
=`echo "$ac_compile" | $SED \
7886 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7887 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7888 -e 's:$: $lt_compiler_flag:'`
7889 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7890 (eval "$lt_compile" 2>conftest.err
)
7892 cat conftest.err
>&5
7893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7894 if (exit $ac_status) && test -s "$ac_outfile"; then
7895 # The compiler can only warn and ignore the option if not recognized
7896 # So say no if there are warnings other than the usual output.
7897 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
7898 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7899 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7900 lt_cv_prog_compiler_pic_works
=yes
7906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
7907 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
7909 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
7910 case $lt_prog_compiler_pic in
7912 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
7915 lt_prog_compiler_pic
=
7916 lt_prog_compiler_can_build_shared
=no
7932 # Check to make sure the static flag actually works.
7934 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
7935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7936 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
7937 if ${lt_cv_prog_compiler_static_works+:} false
; then :
7938 $as_echo_n "(cached) " >&6
7940 lt_cv_prog_compiler_static_works
=no
7941 save_LDFLAGS
="$LDFLAGS"
7942 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
7943 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
7944 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
7945 # The linker can only warn and ignore the option if not recognized
7946 # So say no if there are warnings
7947 if test -s conftest.err
; then
7948 # Append any errors to the config.log.
7949 cat conftest.err
1>&5
7950 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
7951 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7952 if diff conftest.exp conftest.er2
>/dev
/null
; then
7953 lt_cv_prog_compiler_static_works
=yes
7956 lt_cv_prog_compiler_static_works
=yes
7960 LDFLAGS
="$save_LDFLAGS"
7963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
7964 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
7966 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
7969 lt_prog_compiler_static
=
7978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7979 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7980 if ${lt_cv_prog_compiler_c_o+:} false
; then :
7981 $as_echo_n "(cached) " >&6
7983 lt_cv_prog_compiler_c_o
=no
7984 $RM -r conftest
2>/dev
/null
7988 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7990 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7991 # Insert the option either (1) after the last *FLAGS variable, or
7992 # (2) before a word containing "conftest.", or (3) at the end.
7993 # Note that $ac_compile itself does not contain backslashes and begins
7994 # with a dollar sign (not a hyphen), so the echo should work correctly.
7995 lt_compile
=`echo "$ac_compile" | $SED \
7996 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7997 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7998 -e 's:$: $lt_compiler_flag:'`
7999 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8000 (eval "$lt_compile" 2>out
/conftest.err
)
8002 cat out
/conftest.err
>&5
8003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8004 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8006 # The compiler can only warn and ignore the option if not recognized
8007 # So say no if there are warnings
8008 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8009 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8010 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8011 lt_cv_prog_compiler_c_o
=yes
8016 # SGI C++ compiler will create directory out/ii_files/ for
8017 # template instantiation
8018 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8019 $RM out
/* && rmdir out
8025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8026 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8034 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8035 if ${lt_cv_prog_compiler_c_o+:} false
; then :
8036 $as_echo_n "(cached) " >&6
8038 lt_cv_prog_compiler_c_o
=no
8039 $RM -r conftest
2>/dev
/null
8043 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8045 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8046 # Insert the option either (1) after the last *FLAGS variable, or
8047 # (2) before a word containing "conftest.", or (3) at the end.
8048 # Note that $ac_compile itself does not contain backslashes and begins
8049 # with a dollar sign (not a hyphen), so the echo should work correctly.
8050 lt_compile
=`echo "$ac_compile" | $SED \
8051 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8052 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8053 -e 's:$: $lt_compiler_flag:'`
8054 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8055 (eval "$lt_compile" 2>out
/conftest.err
)
8057 cat out
/conftest.err
>&5
8058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8059 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8061 # The compiler can only warn and ignore the option if not recognized
8062 # So say no if there are warnings
8063 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8064 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8065 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8066 lt_cv_prog_compiler_c_o
=yes
8071 # SGI C++ compiler will create directory out/ii_files/ for
8072 # template instantiation
8073 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8074 $RM out
/* && rmdir out
8080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8081 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8086 hard_links
="nottested"
8087 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8088 # do not overwrite the value of need_locks provided by the user
8089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8090 $as_echo_n "checking if we can lock with hard links... " >&6; }
8093 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8095 ln conftest.a conftest.b
2>&5 || hard_links
=no
8096 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8098 $as_echo "$hard_links" >&6; }
8099 if test "$hard_links" = no
; then
8100 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8101 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8114 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8117 allow_undefined_flag
=
8118 always_export_symbols
=no
8120 archive_expsym_cmds
=
8121 compiler_needs_object
=no
8122 enable_shared_with_static_runtimes
=no
8123 export_dynamic_flag_spec
=
8124 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8125 hardcode_automatic
=no
8127 hardcode_direct_absolute
=no
8128 hardcode_libdir_flag_spec
=
8129 hardcode_libdir_flag_spec_ld
=
8130 hardcode_libdir_separator
=
8132 hardcode_shlibpath_var
=unsupported
8134 link_all_deplibs
=unknown
8137 old_archive_from_new_cmds
=
8138 old_archive_from_expsyms_cmds
=
8139 thread_safe_flag_spec
=
8140 whole_archive_flag_spec
=
8141 # include_expsyms should be a list of space-separated symbols to be *always*
8142 # included in the symbol list
8144 # exclude_expsyms can be an extended regexp of symbols to exclude
8145 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8146 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8147 # as well as any symbol that contains `d'.
8148 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8149 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8150 # platforms (ab)use it in PIC code, but their linkers get confused if
8151 # the symbol is explicitly referenced. Since portable code cannot
8152 # rely on this symbol name, it's probably fine to never include it in
8153 # preloaded symbol tables.
8154 # Exclude shared library initialization/finalization symbols.
8155 extract_expsyms_cmds
=
8158 cygwin
* | mingw
* | pw32
* | cegcc
*)
8159 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8160 # When not using gcc, we currently assume that we are using
8161 # Microsoft Visual C++.
8162 if test "$GCC" != yes; then
8167 # we just hope/assume this is gcc and not c89 (= MSVC++)
8173 linux
* | k
*bsd
*-gnu | gnu
*)
8180 # On some targets, GNU ld is compatible enough with the native linker
8181 # that we're better off using the native interface for both.
8182 lt_use_gnu_ld_interface
=no
8183 if test "$with_gnu_ld" = yes; then
8186 # The AIX port of GNU ld has always aspired to compatibility
8187 # with the native linker. However, as the warning in the GNU ld
8188 # block says, versions before 2.19.5* couldn't really create working
8189 # shared libraries, regardless of the interface used.
8190 case `$LD -v 2>&1` in
8191 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
8192 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
8193 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
8195 lt_use_gnu_ld_interface
=yes
8200 lt_use_gnu_ld_interface
=yes
8205 if test "$lt_use_gnu_ld_interface" = yes; then
8206 # If archive_cmds runs LD, not CC, wlarc should be empty
8209 # Set some defaults for GNU ld with shared library support. These
8210 # are reset later if shared libraries are not supported. Putting them
8211 # here allows them to be overridden if necessary.
8212 runpath_var
=LD_RUN_PATH
8213 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8214 export_dynamic_flag_spec
='${wl}--export-dynamic'
8215 # ancient GNU ld didn't support --whole-archive et. al.
8216 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
8217 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8219 whole_archive_flag_spec
=
8221 supports_anon_versioning
=no
8222 case `$LD -v 2>&1` in
8223 *GNU\ gold
*) supports_anon_versioning
=yes ;;
8224 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8225 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8226 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8227 *\
2.11.
*) ;; # other 2.11 versions
8228 *) supports_anon_versioning
=yes ;;
8231 # See if GNU ld supports shared libraries.
8234 # On AIX/PPC, the GNU linker is very broken
8235 if test "$host_cpu" != ia64
; then
8239 *** Warning: the GNU linker, at least up to release 2.19, is reported
8240 *** to be unable to reliably create shared libraries on AIX.
8241 *** Therefore, libtool is disabling shared libraries support. If you
8242 *** really care for shared libraries, you may want to install binutils
8243 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8244 *** You will then need to restart the configuration process.
8253 # see comment about AmigaOS4 .so support
8254 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8255 archive_expsym_cmds
=''
8258 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)'
8259 hardcode_libdir_flag_spec
='-L$libdir'
8260 hardcode_minus_L
=yes
8266 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8267 allow_undefined_flag
=unsupported
8268 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8269 # support --undefined. This deserves some investigation. FIXME
8270 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8276 cygwin
* | mingw
* | pw32
* | cegcc
*)
8277 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8278 # as there is no search path for DLLs.
8279 hardcode_libdir_flag_spec
='-L$libdir'
8280 export_dynamic_flag_spec
='${wl}--export-all-symbols'
8281 allow_undefined_flag
=unsupported
8282 always_export_symbols
=no
8283 enable_shared_with_static_runtimes
=yes
8284 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
8285 exclude_expsyms
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8287 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8288 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8289 # If the export-symbols file already is a .def file (1st line
8290 # is EXPORTS), use it as is; otherwise, prepend...
8291 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8292 cp $export_symbols $output_objdir/$soname.def;
8294 echo EXPORTS > $output_objdir/$soname.def;
8295 cat $export_symbols >> $output_objdir/$soname.def;
8297 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8304 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8305 link_all_deplibs
=yes
8310 hardcode_shlibpath_var
=no
8311 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8312 export_dynamic_flag_spec
='${wl}-E'
8313 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8314 # Instead, shared libraries are loaded at an image base (0x10000000 by
8315 # default) and relocated if they conflict, which is a slow very memory
8316 # consuming and fragmenting process. To avoid this, we pick a random,
8317 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8318 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8319 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8320 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'
8323 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8325 if test "$host_os" = linux-dietlibc
; then
8326 case $cc_basename in
8327 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8330 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8331 && test "$tmp_diet" = no
8333 tmp_addflag
=' $pic_flag'
8334 tmp_sharedflag
='-shared'
8335 case $cc_basename,$host_cpu in
8336 pgcc
*) # Portland Group C compiler
8337 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'
8338 tmp_addflag
=' $pic_flag'
8340 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8341 # Portland Group f77 and f90 compilers
8342 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'
8343 tmp_addflag
=' $pic_flag -Mnomain' ;;
8344 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8345 tmp_addflag
=' -i_dynamic' ;;
8346 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8347 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8348 ifc
* | ifort
*) # Intel Fortran compiler
8349 tmp_addflag
=' -nofor_main' ;;
8350 lf95
*) # Lahey Fortran 8.1
8351 whole_archive_flag_spec
=
8352 tmp_sharedflag
='--shared' ;;
8353 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8354 tmp_sharedflag
='-qmkshrobj'
8356 nvcc
*) # Cuda Compiler Driver 2.2
8357 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'
8358 compiler_needs_object
=yes
8361 case `$CC -V 2>&1 | sed 5q` in
8362 *Sun\ C
*) # Sun C 5.9
8363 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'
8364 compiler_needs_object
=yes
8365 tmp_sharedflag
='-G' ;;
8366 *Sun\ F
*) # Sun Fortran 8.3
8367 tmp_sharedflag
='-G' ;;
8369 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8371 if test "x$supports_anon_versioning" = xyes
; then
8372 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8373 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8374 echo "local: *; };" >> $output_objdir/$libname.ver~
8375 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8378 case $cc_basename in
8379 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
8380 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8381 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
8382 hardcode_libdir_flag_spec
=
8383 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8384 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8385 if test "x$supports_anon_versioning" = xyes
; then
8386 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8387 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8388 echo "local: *; };" >> $output_objdir/$libname.ver~
8389 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8398 netbsd
* | netbsdelf
*-gnu)
8399 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8400 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8403 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8404 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8409 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
8413 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8414 *** create shared libraries on Solaris systems. Therefore, libtool
8415 *** is disabling shared libraries support. We urge you to upgrade GNU
8416 *** binutils to release 2.9.1 or newer. Another option is to modify
8417 *** your PATH or compiler configuration so that the native linker is
8418 *** used, and then restart.
8421 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8422 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8423 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8429 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8430 case `$LD -v 2>&1` in
8431 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8435 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8436 *** reliably create shared libraries on SCO systems. Therefore, libtool
8437 *** is disabling shared libraries support. We urge you to upgrade GNU
8438 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8439 *** your PATH or compiler configuration so that the native linker is
8440 *** used, and then restart.
8445 # For security reasons, it is highly recommended that you always
8446 # use absolute paths for naming shared libraries, and exclude the
8447 # DT_RUNPATH tag from executables and libraries. But doing so
8448 # requires that you compile everything twice, which is a pain.
8449 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8450 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8451 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8452 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8461 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8464 hardcode_shlibpath_var
=no
8468 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8469 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8470 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8477 if test "$ld_shlibs" = no
; then
8479 hardcode_libdir_flag_spec
=
8480 export_dynamic_flag_spec
=
8481 whole_archive_flag_spec
=
8484 # PORTME fill in a description of your system's linker (not GNU ld)
8487 allow_undefined_flag
=unsupported
8488 always_export_symbols
=yes
8489 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'
8490 # Note: this linker hardcodes the directories in LIBPATH if there
8491 # are no directories specified by -L.
8492 hardcode_minus_L
=yes
8493 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8494 # Neither direct hardcoding nor static linking is supported with a
8496 hardcode_direct
=unsupported
8501 if test "$host_cpu" = ia64
; then
8502 # On IA64, the linker does run time linking by default, so we don't
8503 # have to do anything special.
8504 aix_use_runtimelinking
=no
8505 exp_sym_flag
='-Bexport'
8508 # If we're using GNU nm, then we don't want the "-C" option.
8509 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8510 # Also, AIX nm treats weak defined symbols like other global
8511 # defined symbols, whereas GNU nm marks them as "W".
8512 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
8513 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'
8515 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'
8517 aix_use_runtimelinking
=no
8519 # Test if we are trying to use run time linking or normal
8520 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8521 # need to do runtime linking.
8522 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
8523 for ld_flag
in $LDFLAGS; do
8524 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
8525 aix_use_runtimelinking
=yes
8532 exp_sym_flag
='-bexport'
8533 no_entry_flag
='-bnoentry'
8536 # When large executables or shared objects are built, AIX ld can
8537 # have problems creating the table of contents. If linking a library
8538 # or program results in "error TOC overflow" add -mminimal-toc to
8539 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8540 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8544 hardcode_direct_absolute
=yes
8545 hardcode_libdir_separator
=':'
8546 link_all_deplibs
=yes
8547 file_list_spec
='${wl}-f,'
8549 if test "$GCC" = yes; then
8550 case $host_os in aix4.
[012]|aix4.
[012].
*)
8551 # We only want to do this on AIX 4.2 and lower, the check
8552 # below for broken collect2 doesn't work under 4.3+
8553 collect2name
=`${CC} -print-prog-name=collect2`
8554 if test -f "$collect2name" &&
8555 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
8557 # We have reworked collect2
8560 # We have old collect2
8561 hardcode_direct
=unsupported
8562 # It fails to find uninstalled libraries when the uninstalled
8563 # path is not listed in the libpath. Setting hardcode_minus_L
8564 # to unsupported forces relinking
8565 hardcode_minus_L
=yes
8566 hardcode_libdir_flag_spec
='-L$libdir'
8567 hardcode_libdir_separator
=
8571 shared_flag
='-shared'
8572 if test "$aix_use_runtimelinking" = yes; then
8573 shared_flag
="$shared_flag "'${wl}-G'
8578 if test "$host_cpu" = ia64
; then
8579 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8580 # chokes on -Wl,-G. The following line is correct:
8583 if test "$aix_use_runtimelinking" = yes; then
8584 shared_flag
='${wl}-G'
8586 shared_flag
='${wl}-bM:SRE'
8591 export_dynamic_flag_spec
='${wl}-bexpall'
8592 # It seems that -bexpall does not export symbols beginning with
8593 # underscore (_), so it is better to generate a list of symbols to export.
8594 always_export_symbols
=yes
8595 if test "$aix_use_runtimelinking" = yes; then
8596 # Warning - without using the other runtime loading flags (-brtl),
8597 # -berok will link without error, but may produce a broken library.
8598 allow_undefined_flag
='-berok'
8599 # Determine the default libpath from the value encoded in an
8601 if test "${lt_cv_aix_libpath+set}" = set; then
8602 aix_libpath
=$lt_cv_aix_libpath
8604 if ${lt_cv_aix_libpath_+:} false
; then :
8605 $as_echo_n "(cached) " >&6
8607 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8608 /* end confdefs.h. */
8618 if ac_fn_c_try_link
"$LINENO"; then :
8620 lt_aix_libpath_sed
='
8621 /Import File Strings/,/^$/ {
8623 s/^0 *\([^ ]*\) *$/\1/
8627 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8628 # Check for a 64-bit object if we didn't find anything.
8629 if test -z "$lt_cv_aix_libpath_"; then
8630 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8633 rm -f core conftest.err conftest.
$ac_objext \
8634 conftest
$ac_exeext conftest.
$ac_ext
8635 if test -z "$lt_cv_aix_libpath_"; then
8636 lt_cv_aix_libpath_
="/usr/lib:/lib"
8641 aix_libpath
=$lt_cv_aix_libpath_
8644 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8645 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"
8647 if test "$host_cpu" = ia64
; then
8648 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
8649 allow_undefined_flag
="-z nodefs"
8650 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"
8652 # Determine the default libpath from the value encoded in an
8654 if test "${lt_cv_aix_libpath+set}" = set; then
8655 aix_libpath
=$lt_cv_aix_libpath
8657 if ${lt_cv_aix_libpath_+:} false
; then :
8658 $as_echo_n "(cached) " >&6
8660 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8661 /* end confdefs.h. */
8671 if ac_fn_c_try_link
"$LINENO"; then :
8673 lt_aix_libpath_sed
='
8674 /Import File Strings/,/^$/ {
8676 s/^0 *\([^ ]*\) *$/\1/
8680 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8681 # Check for a 64-bit object if we didn't find anything.
8682 if test -z "$lt_cv_aix_libpath_"; then
8683 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8686 rm -f core conftest.err conftest.
$ac_objext \
8687 conftest
$ac_exeext conftest.
$ac_ext
8688 if test -z "$lt_cv_aix_libpath_"; then
8689 lt_cv_aix_libpath_
="/usr/lib:/lib"
8694 aix_libpath
=$lt_cv_aix_libpath_
8697 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8698 # Warning - without using the other run time loading flags,
8699 # -berok will link without error, but may produce a broken library.
8700 no_undefined_flag
=' ${wl}-bernotok'
8701 allow_undefined_flag
=' ${wl}-berok'
8702 if test "$with_gnu_ld" = yes; then
8703 # We only use this code for GNU lds that support --whole-archive.
8704 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
8706 # Exported symbols can be pulled into shared objects from archives
8707 whole_archive_flag_spec
='$convenience'
8709 archive_cmds_need_lc
=yes
8710 # This is similar to how AIX traditionally builds its shared libraries.
8711 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'
8719 # see comment about AmigaOS4 .so support
8720 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8721 archive_expsym_cmds
=''
8724 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)'
8725 hardcode_libdir_flag_spec
='-L$libdir'
8726 hardcode_minus_L
=yes
8732 export_dynamic_flag_spec
=-rdynamic
8735 cygwin
* | mingw
* | pw32
* | cegcc
*)
8736 # When not using gcc, we currently assume that we are using
8737 # Microsoft Visual C++.
8738 # hardcode_libdir_flag_spec is actually meaningless, as there is
8739 # no search path for DLLs.
8740 case $cc_basename in
8743 hardcode_libdir_flag_spec
=' '
8744 allow_undefined_flag
=unsupported
8745 always_export_symbols
=yes
8747 # Tell ltmain to make .lib files, not .a files.
8749 # Tell ltmain to make .dll files, not .so files.
8751 # FIXME: Setting linknames here is a bad hack.
8752 archive_cmds
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
8753 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8754 sed -n -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' -e '1\\\
!p
' < $export_symbols > $output_objdir/$soname.exp;
8756 sed -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' < $export_symbols > $output_objdir/$soname.exp;
8758 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
8760 # The linker will not automatically build a static lib if we build a DLL.
8761 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
8762 enable_shared_with_static_runtimes
=yes
8763 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8765 old_postinstall_cmds
='chmod 644 $oldlib'
8766 postlink_cmds
='lt_outputfile="@OUTPUT@"~
8767 lt_tool_outputfile="@TOOL_OUTPUT@"~
8768 case $lt_outputfile in
8771 lt_outputfile="$lt_outputfile.exe"
8772 lt_tool_outputfile="$lt_tool_outputfile.exe"
8775 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
8776 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
8777 $RM "$lt_outputfile.manifest";
8781 # Assume MSVC wrapper
8782 hardcode_libdir_flag_spec
=' '
8783 allow_undefined_flag
=unsupported
8784 # Tell ltmain to make .lib files, not .a files.
8786 # Tell ltmain to make .dll files, not .so files.
8788 # FIXME: Setting linknames here is a bad hack.
8789 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
8790 # The linker will automatically build a .lib file if we build a DLL.
8791 old_archive_from_new_cmds
='true'
8792 # FIXME: Should let the user specify the lib program.
8793 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
8794 enable_shared_with_static_runtimes
=yes
8799 darwin
* | rhapsody
*)
8802 archive_cmds_need_lc
=no
8804 hardcode_automatic
=yes
8805 hardcode_shlibpath_var
=unsupported
8806 if test "$lt_cv_ld_force_load" = "yes"; then
8807 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\"`'
8809 whole_archive_flag_spec
=''
8811 link_all_deplibs
=yes
8812 allow_undefined_flag
="$_lt_dar_allow_undefined"
8813 case $cc_basename in
8814 ifort
*) _lt_dar_can_shared
=yes ;;
8815 *) _lt_dar_can_shared
=$GCC ;;
8817 if test "$_lt_dar_can_shared" = "yes"; then
8818 output_verbose_link_cmd
=func_echo_all
8819 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8820 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8821 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}"
8822 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}"
8831 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8832 hardcode_libdir_flag_spec
='-L$libdir'
8833 hardcode_shlibpath_var
=no
8840 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8841 # support. Future versions do this automatically, but an explicit c++rt0.o
8842 # does not break anything, and helps significantly (at the cost of a little
8845 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8846 hardcode_libdir_flag_spec
='-R$libdir'
8848 hardcode_shlibpath_var
=no
8851 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8853 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8855 hardcode_minus_L
=yes
8856 hardcode_shlibpath_var
=no
8859 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8860 freebsd
* | dragonfly
*)
8861 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8862 hardcode_libdir_flag_spec
='-R$libdir'
8864 hardcode_shlibpath_var
=no
8868 if test "$GCC" = yes; then
8869 archive_cmds
='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
8871 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'
8873 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8874 hardcode_libdir_separator
=:
8877 # hardcode_minus_L: Not really in the search PATH,
8878 # but as the default location of the library.
8879 hardcode_minus_L
=yes
8880 export_dynamic_flag_spec
='${wl}-E'
8884 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
8885 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8887 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8889 if test "$with_gnu_ld" = no
; then
8890 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8891 hardcode_libdir_flag_spec_ld
='+b $libdir'
8892 hardcode_libdir_separator
=:
8894 hardcode_direct_absolute
=yes
8895 export_dynamic_flag_spec
='${wl}-E'
8896 # hardcode_minus_L: Not really in the search PATH,
8897 # but as the default location of the library.
8898 hardcode_minus_L
=yes
8903 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
8906 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8909 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8912 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8918 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8921 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8925 # Older versions of the 11.00 compiler do not understand -b yet
8926 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
8927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
8928 $as_echo_n "checking if $CC understands -b... " >&6; }
8929 if ${lt_cv_prog_compiler__b+:} false
; then :
8930 $as_echo_n "(cached) " >&6
8932 lt_cv_prog_compiler__b
=no
8933 save_LDFLAGS
="$LDFLAGS"
8934 LDFLAGS
="$LDFLAGS -b"
8935 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8936 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8937 # The linker can only warn and ignore the option if not recognized
8938 # So say no if there are warnings
8939 if test -s conftest.err
; then
8940 # Append any errors to the config.log.
8941 cat conftest.err
1>&5
8942 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
8943 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8944 if diff conftest.exp conftest.er2
>/dev
/null
; then
8945 lt_cv_prog_compiler__b
=yes
8948 lt_cv_prog_compiler__b
=yes
8952 LDFLAGS
="$save_LDFLAGS"
8955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
8956 $as_echo "$lt_cv_prog_compiler__b" >&6; }
8958 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
8959 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8961 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8967 if test "$with_gnu_ld" = no
; then
8968 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8969 hardcode_libdir_separator
=:
8974 hardcode_shlibpath_var
=no
8978 hardcode_direct_absolute
=yes
8979 export_dynamic_flag_spec
='${wl}-E'
8981 # hardcode_minus_L: Not really in the search PATH,
8982 # but as the default location of the library.
8983 hardcode_minus_L
=yes
8989 irix5
* | irix6
* | nonstopux
*)
8990 if test "$GCC" = yes; then
8991 archive_cmds
='$CC -shared $pic_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'
8992 # Try to use the -exported_symbol ld option, if it does not
8993 # work, assume that -exports_file does not work either and
8994 # implicitly export all symbols.
8995 # This should be the same for all languages, so no per-tag cache variable.
8996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
8997 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
8998 if ${lt_cv_irix_exported_symbol+:} false
; then :
8999 $as_echo_n "(cached) " >&6
9001 save_LDFLAGS
="$LDFLAGS"
9002 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9003 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9004 /* end confdefs.h. */
9005 int foo (void) { return 0; }
9007 if ac_fn_c_try_link
"$LINENO"; then :
9008 lt_cv_irix_exported_symbol
=yes
9010 lt_cv_irix_exported_symbol
=no
9012 rm -f core conftest.err conftest.
$ac_objext \
9013 conftest
$ac_exeext conftest.
$ac_ext
9014 LDFLAGS
="$save_LDFLAGS"
9016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9017 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9018 if test "$lt_cv_irix_exported_symbol" = yes; then
9019 archive_expsym_cmds
='$CC -shared $pic_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 ${wl}-exports_file ${wl}$export_symbols -o $lib'
9022 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'
9023 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'
9025 archive_cmds_need_lc
='no'
9026 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9027 hardcode_libdir_separator
=:
9029 link_all_deplibs
=yes
9032 netbsd
* | netbsdelf
*-gnu)
9033 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9034 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9036 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9038 hardcode_libdir_flag_spec
='-R$libdir'
9040 hardcode_shlibpath_var
=no
9044 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9046 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9047 hardcode_libdir_separator
=:
9048 hardcode_shlibpath_var
=no
9055 if test -f /usr
/libexec
/ld.so
; then
9057 hardcode_shlibpath_var
=no
9058 hardcode_direct_absolute
=yes
9059 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9060 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9061 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9062 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9063 export_dynamic_flag_spec
='${wl}-E'
9066 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9067 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9068 hardcode_libdir_flag_spec
='-R$libdir'
9071 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9072 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9082 hardcode_libdir_flag_spec
='-L$libdir'
9083 hardcode_minus_L
=yes
9084 allow_undefined_flag
=unsupported
9085 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'
9086 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9090 if test "$GCC" = yes; then
9091 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9092 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'
9094 allow_undefined_flag
=' -expect_unresolved \*'
9095 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'
9097 archive_cmds_need_lc
='no'
9098 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9099 hardcode_libdir_separator
=:
9102 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9103 if test "$GCC" = yes; then
9104 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9105 archive_cmds
='$CC -shared${allow_undefined_flag} $pic_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'
9106 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9108 allow_undefined_flag
=' -expect_unresolved \*'
9109 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'
9110 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~
9111 $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'
9113 # Both c and cxx compiler support -rpath directly
9114 hardcode_libdir_flag_spec
='-rpath $libdir'
9116 archive_cmds_need_lc
='no'
9117 hardcode_libdir_separator
=:
9121 no_undefined_flag
=' -z defs'
9122 if test "$GCC" = yes; then
9124 archive_cmds
='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9125 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9126 $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9128 case `$CC -V 2>&1` in
9131 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9132 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9133 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9137 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9138 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9139 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9143 hardcode_libdir_flag_spec
='-R$libdir'
9144 hardcode_shlibpath_var
=no
9146 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9148 # The compiler driver will combine and reorder linker options,
9149 # but understands `-z linker_flag'. GCC discards it without `$wl',
9150 # but is careful enough not to reorder.
9151 # Supported since Solaris 2.6 (maybe 2.5.1?)
9152 if test "$GCC" = yes; then
9153 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9155 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9159 link_all_deplibs
=yes
9163 if test "x$host_vendor" = xsequent
; then
9164 # Use $CC to link under sequent, because it throws in some extra .o
9165 # files that make .init and .fini sections work.
9166 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9168 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9170 hardcode_libdir_flag_spec
='-L$libdir'
9172 hardcode_minus_L
=yes
9173 hardcode_shlibpath_var
=no
9177 case $host_vendor in
9179 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9180 hardcode_direct
=yes # is this really true???
9183 ## LD is ld it makes a PLAMLIB
9184 ## CC just makes a GrossModule.
9185 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9186 reload_cmds
='$CC -r -o $output$reload_objs'
9190 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9191 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9194 runpath_var
='LD_RUN_PATH'
9195 hardcode_shlibpath_var
=no
9199 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9200 hardcode_shlibpath_var
=no
9201 export_dynamic_flag_spec
='-Bexport'
9205 if test -d /usr
/nec
; then
9206 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9207 hardcode_shlibpath_var
=no
9208 runpath_var
=LD_RUN_PATH
9209 hardcode_runpath_var
=yes
9214 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9215 no_undefined_flag
='${wl}-z,text'
9216 archive_cmds_need_lc
=no
9217 hardcode_shlibpath_var
=no
9218 runpath_var
='LD_RUN_PATH'
9220 if test "$GCC" = yes; then
9221 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9222 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9224 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9225 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9229 sysv5
* | sco3.2v5
* | sco5v6
*)
9230 # Note: We can NOT use -z defs as we might desire, because we do not
9231 # link with -lc, and that would cause any symbols used from libc to
9232 # always be unresolved, which means just about no library would
9233 # ever link correctly. If we're not using GNU ld we use -z text
9234 # though, which does catch some bad symbols but isn't as heavy-handed
9236 no_undefined_flag
='${wl}-z,text'
9237 allow_undefined_flag
='${wl}-z,nodefs'
9238 archive_cmds_need_lc
=no
9239 hardcode_shlibpath_var
=no
9240 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9241 hardcode_libdir_separator
=':'
9242 link_all_deplibs
=yes
9243 export_dynamic_flag_spec
='${wl}-Bexport'
9244 runpath_var
='LD_RUN_PATH'
9246 if test "$GCC" = yes; then
9247 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9248 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9250 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9251 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9256 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9257 hardcode_libdir_flag_spec
='-L$libdir'
9258 hardcode_shlibpath_var
=no
9266 if test x
$host_vendor = xsni
; then
9268 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9269 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9276 $as_echo "$ld_shlibs" >&6; }
9277 test "$ld_shlibs" = no
&& can_build_shared
=no
9279 with_gnu_ld
=$with_gnu_ld
9296 # Do we need to explicitly link libc?
9298 case "x$archive_cmds_need_lc" in
9300 # Assume -lc should be added
9301 archive_cmds_need_lc
=yes
9303 if test "$enable_shared" = yes && test "$GCC" = yes; then
9304 case $archive_cmds in
9306 # FIXME: we may have to deal with multi-command sequences.
9309 # Test whether the compiler implicitly links with -lc since on some
9310 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9311 # to ld, don't add -lc before -lgcc.
9312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9313 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9314 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
9315 $as_echo_n "(cached) " >&6
9318 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9320 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9321 (eval $ac_compile) 2>&5
9323 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9324 test $ac_status = 0; } 2>conftest.err
; then
9327 libobjs
=conftest.
$ac_objext
9329 wl
=$lt_prog_compiler_wl
9330 pic_flag
=$lt_prog_compiler_pic
9336 lt_save_allow_undefined_flag
=$allow_undefined_flag
9337 allow_undefined_flag
=
9338 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9339 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9341 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9342 test $ac_status = 0; }
9344 lt_cv_archive_cmds_need_lc
=no
9346 lt_cv_archive_cmds_need_lc
=yes
9348 allow_undefined_flag
=$lt_save_allow_undefined_flag
9350 cat conftest.err
1>&5
9355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9356 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9357 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
9520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9521 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9523 if test "$GCC" = yes; then
9525 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
9526 *) lt_awk_arg
="/^libraries:/" ;;
9529 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
9530 *) lt_sed_strip_eq
="s,=/,/,g" ;;
9532 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9533 case $lt_search_path_spec in
9535 # if the path contains ";" then we assume it to be the separator
9536 # otherwise default to the standard path separator (i.e. ":") - it is
9537 # assumed that no part of a normal pathname contains ";" but that should
9538 # okay in the real world where ";" in dirpaths is itself problematic.
9539 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9542 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9545 # Ok, now we have the path, separated by spaces, we can step through it
9546 # and add multilib dir if necessary.
9547 lt_tmp_lt_search_path_spec
=
9548 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9549 for lt_sys_path
in $lt_search_path_spec; do
9550 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9551 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9553 test -d "$lt_sys_path" && \
9554 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
9557 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9558 BEGIN {RS=" "; FS="/|\n";} {
9561 for (lt_i = NF; lt_i > 0; lt_i--) {
9562 if ($lt_i != "" && $lt_i != ".") {
9563 if ($lt_i == "..") {
9566 if (lt_count == 0) {
9567 lt_foo="/" $lt_i lt_foo;
9574 if (lt_foo != "") { lt_freq[lt_foo]++; }
9575 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9577 # AWK program above erroneously prepends '/' to C:/dos/paths
9580 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
9581 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
9583 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
9585 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
9588 libname_spec
='lib$name'
9596 shlibpath_overrides_runpath
=unknown
9598 dynamic_linker
="$host_os ld.so"
9599 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
9600 need_lib_prefix
=unknown
9601 hardcode_into_libs
=no
9603 # when you set need_version to no, make sure it does not cause -set_version
9604 # flags to be left without arguments
9605 need_version
=unknown
9610 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
9611 shlibpath_var
=LIBPATH
9613 # AIX 3 has no versioning support, so we append a major version to the name.
9614 soname_spec
='${libname}${release}${shared_ext}$major'
9621 hardcode_into_libs
=yes
9622 if test "$host_cpu" = ia64
; then
9623 # AIX 5 supports IA64
9624 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9625 shlibpath_var
=LD_LIBRARY_PATH
9627 # With GCC up to 2.95.x, collect2 would create an import file
9628 # for dependence libraries. The import file would start with
9629 # the line `#! .'. This would cause the generated library to
9630 # depend on `.', always an invalid library. This was fixed in
9631 # development snapshots of GCC prior to 3.0.
9633 aix4 | aix4.
[01] | aix4.
[01].
*)
9634 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9636 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
9643 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9644 # soname into executable. Probably we can add versioning support to
9645 # collect2, so additional links can be useful in future.
9646 if test "$aix_use_runtimelinking" = yes; then
9647 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9648 # instead of lib<name>.a to let people know that these are not
9649 # typical AIX shared libraries.
9650 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9652 # We preserve .a as extension for shared libraries through AIX4.2
9653 # and later when we are not doing run time linking.
9654 library_names_spec
='${libname}${release}.a $libname.a'
9655 soname_spec
='${libname}${release}${shared_ext}$major'
9657 shlibpath_var
=LIBPATH
9664 # Since July 2007 AmigaOS4 officially supports .so libraries.
9665 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9666 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9669 library_names_spec
='$libname.ixlibrary $libname.a'
9670 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9671 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'
9677 library_names_spec
='${libname}${shared_ext}'
9678 dynamic_linker
="$host_os ld.so"
9679 shlibpath_var
=LIBRARY_PATH
9685 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9686 soname_spec
='${libname}${release}${shared_ext}$major'
9687 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
9688 shlibpath_var
=LD_LIBRARY_PATH
9689 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9690 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
9691 # the default ld.so.conf also contains /usr/contrib/lib and
9692 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9693 # libtool to hard-code these into programs
9696 cygwin
* | mingw
* | pw32
* | cegcc
*)
9697 version_type
=windows
9702 case $GCC,$cc_basename in
9705 library_names_spec
='$libname.dll.a'
9706 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9707 postinstall_cmds
='base_file=`basename \${file}`~
9708 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9709 dldir=$destdir/`dirname \$dlpath`~
9710 test -d \$dldir || mkdir -p \$dldir~
9711 $install_prog $dir/$dlname \$dldir/$dlname~
9712 chmod a+x \$dldir/$dlname~
9713 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9714 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9716 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9717 dlpath=$dir/\$dldll~
9719 shlibpath_overrides_runpath
=yes
9723 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9724 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9726 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
9729 # MinGW DLLs use traditional 'lib' prefix
9730 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9733 # pw32 DLLs use 'pw' prefix rather than 'lib'
9734 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9737 dynamic_linker
='Win32 ld.exe'
9742 libname_spec
='$name'
9743 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9744 library_names_spec
='${libname}.dll.lib'
9748 sys_lib_search_path_spec
=
9754 # Let DOS variable expansion print the short 8.3 style file name.
9755 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
9756 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
9759 # Convert to MSYS style.
9760 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
9763 # Convert to unix form, then to dos form, then back to unix form
9764 # but this time dos style (no spaces!) so that the unix form looks
9765 # like /cygdrive/c/PROGRA~1:/cygdr...
9766 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
9767 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
9768 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9771 sys_lib_search_path_spec
="$LIB"
9772 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
9773 # It is most probably a Windows format PATH.
9774 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9776 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9778 # FIXME: find the short name or the path components, as spaces are
9779 # common. (e.g. "Program Files" -> "PROGRA~1")
9783 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9784 postinstall_cmds
='base_file=`basename \${file}`~
9785 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9786 dldir=$destdir/`dirname \$dlpath`~
9787 test -d \$dldir || mkdir -p \$dldir~
9788 $install_prog $dir/$dlname \$dldir/$dlname'
9789 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9790 dlpath=$dir/\$dldll~
9792 shlibpath_overrides_runpath
=yes
9793 dynamic_linker
='Win32 link.exe'
9797 # Assume MSVC wrapper
9798 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9799 dynamic_linker
='Win32 ld.exe'
9802 # FIXME: first we should search . and the directory the executable is in
9806 darwin
* | rhapsody
*)
9807 dynamic_linker
="$host_os dyld"
9811 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9812 soname_spec
='${libname}${release}${major}$shared_ext'
9813 shlibpath_overrides_runpath
=yes
9814 shlibpath_var
=DYLD_LIBRARY_PATH
9815 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
9817 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
9818 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
9825 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9826 soname_spec
='${libname}${release}${shared_ext}$major'
9827 shlibpath_var
=LD_LIBRARY_PATH
9834 freebsd
* | dragonfly
*)
9835 # DragonFly does not have aout. When/if they implement a new
9836 # versioning mechanism, adjust this.
9837 if test -x /usr
/bin
/objformat
; then
9838 objformat
=`/usr/bin/objformat`
9841 freebsd
[123]*) objformat
=aout
;;
9845 version_type
=freebsd-
$objformat
9846 case $version_type in
9848 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9853 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9857 shlibpath_var
=LD_LIBRARY_PATH
9860 shlibpath_overrides_runpath
=yes
9862 freebsd3.
[01]* | freebsdelf3.
[01]*)
9863 shlibpath_overrides_runpath
=yes
9864 hardcode_into_libs
=yes
9866 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
9867 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
9868 shlibpath_overrides_runpath
=no
9869 hardcode_into_libs
=yes
9871 *) # from 4.6 on, and DragonFly
9872 shlibpath_overrides_runpath
=yes
9873 hardcode_into_libs
=yes
9882 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9883 soname_spec
='${libname}${release}${shared_ext}$major'
9884 shlibpath_var
=LD_LIBRARY_PATH
9885 shlibpath_overrides_runpath
=no
9886 hardcode_into_libs
=yes
9893 dynamic_linker
="$host_os runtime_loader"
9894 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9895 soname_spec
='${libname}${release}${shared_ext}$major'
9896 shlibpath_var
=LIBRARY_PATH
9897 shlibpath_overrides_runpath
=yes
9898 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
9899 hardcode_into_libs
=yes
9902 hpux9
* | hpux10
* | hpux11
*)
9903 # Give a soname corresponding to the major version so that dld.sl refuses to
9904 # link against other versions.
9911 hardcode_into_libs
=yes
9912 dynamic_linker
="$host_os dld.so"
9913 shlibpath_var
=LD_LIBRARY_PATH
9914 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9915 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9916 soname_spec
='${libname}${release}${shared_ext}$major'
9917 if test "X$HPUX_IA64_MODE" = X32
; then
9918 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9920 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
9922 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9926 hardcode_into_libs
=yes
9927 dynamic_linker
="$host_os dld.sl"
9928 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
9929 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9930 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9931 soname_spec
='${libname}${release}${shared_ext}$major'
9932 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9933 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9937 dynamic_linker
="$host_os dld.sl"
9938 shlibpath_var
=SHLIB_PATH
9939 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
9940 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9941 soname_spec
='${libname}${release}${shared_ext}$major'
9944 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
9945 postinstall_cmds
='chmod 555 $lib'
9946 # or fails outright, so override atomically:
9947 install_override_mode
=555
9954 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9955 soname_spec
='${libname}${release}${shared_ext}$major'
9956 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
9957 shlibpath_var
=LD_LIBRARY_PATH
9958 shlibpath_overrides_runpath
=no
9959 hardcode_into_libs
=yes
9962 irix5
* | irix6
* | nonstopux
*)
9964 nonstopux
*) version_type
=nonstopux
;;
9966 if test "$lt_cv_prog_gnu_ld" = yes; then
9974 soname_spec
='${libname}${release}${shared_ext}$major'
9975 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9977 irix5
* | nonstopux
*)
9981 case $LD in # libtool.m4 will add one of these switches to LD
9982 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
9983 libsuff
= shlibsuff
= libmagic
=32-bit;;
9984 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
9985 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
9986 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
9987 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
9988 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
9992 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
9993 shlibpath_overrides_runpath
=no
9994 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9995 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
9996 hardcode_into_libs
=yes
9999 # No shared lib support for Linux oldld, aout, or coff.
10000 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10004 # This must be Linux ELF.
10005 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10009 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10010 soname_spec
='${libname}${release}${shared_ext}$major'
10011 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10012 shlibpath_var
=LD_LIBRARY_PATH
10013 shlibpath_overrides_runpath
=no
10015 # Some binutils ld are patched to set DT_RUNPATH
10016 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
10017 $as_echo_n "(cached) " >&6
10019 lt_cv_shlibpath_overrides_runpath
=no
10020 save_LDFLAGS
=$LDFLAGS
10021 save_libdir
=$libdir
10022 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10023 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10024 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10025 /* end confdefs.h. */
10035 if ac_fn_c_try_link
"$LINENO"; then :
10036 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10037 lt_cv_shlibpath_overrides_runpath
=yes
10040 rm -f core conftest.err conftest.
$ac_objext \
10041 conftest
$ac_exeext conftest.
$ac_ext
10042 LDFLAGS
=$save_LDFLAGS
10043 libdir
=$save_libdir
10047 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10049 # This implies no fast_install, which is unacceptable.
10050 # Some rework will be needed to allow for fast_install
10051 # before this can be enabled.
10052 hardcode_into_libs
=yes
10054 # Append ld.so.conf contents to the search path
10055 if test -f /etc
/ld.so.conf
; then
10056 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' ' '`
10057 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10060 # We used to test for /lib/ld.so.1 and disable shared libraries on
10061 # powerpc, because MkLinux only supported shared libraries with the
10062 # GNU dynamic linker. Since this was broken with cross compilers,
10063 # most powerpc-linux boxes support dynamic linking these days and
10064 # people can always --disable-shared, the test was removed, and we
10065 # assume the GNU/Linux dynamic linker is in use.
10066 dynamic_linker
='GNU/Linux ld.so'
10073 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10074 soname_spec
='${libname}${release}${shared_ext}$major'
10075 shlibpath_var
=LD_LIBRARY_PATH
10076 shlibpath_overrides_runpath
=no
10077 hardcode_into_libs
=yes
10078 dynamic_linker
='NetBSD ld.elf_so'
10085 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10086 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10087 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10088 dynamic_linker
='NetBSD (a.out) ld.so'
10090 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10091 soname_spec
='${libname}${release}${shared_ext}$major'
10092 dynamic_linker
='NetBSD ld.elf_so'
10094 shlibpath_var
=LD_LIBRARY_PATH
10095 shlibpath_overrides_runpath
=yes
10096 hardcode_into_libs
=yes
10101 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10102 shlibpath_var
=LD_LIBRARY_PATH
10103 shlibpath_overrides_runpath
=yes
10110 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10111 soname_spec
='${libname}${release}${shared_ext}$major'
10112 shlibpath_var
=LD_LIBRARY_PATH
10113 shlibpath_overrides_runpath
=no
10114 hardcode_into_libs
=yes
10115 dynamic_linker
='ldqnx.so'
10120 sys_lib_dlsearch_path_spec
="/usr/lib"
10122 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10124 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10125 *) need_version
=no
;;
10127 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10128 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10129 shlibpath_var
=LD_LIBRARY_PATH
10130 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10132 openbsd2.
[89] | openbsd2.
[89].
*)
10133 shlibpath_overrides_runpath
=no
10136 shlibpath_overrides_runpath
=yes
10140 shlibpath_overrides_runpath
=yes
10145 libname_spec
='$name'
10148 library_names_spec
='$libname${shared_ext} $libname.a'
10149 dynamic_linker
='OS/2 ld.exe'
10150 shlibpath_var
=LIBPATH
10153 osf3
* | osf4
* | osf5
*)
10157 soname_spec
='${libname}${release}${shared_ext}$major'
10158 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10159 shlibpath_var
=LD_LIBRARY_PATH
10160 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10161 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10172 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10173 soname_spec
='${libname}${release}${shared_ext}$major'
10174 shlibpath_var
=LD_LIBRARY_PATH
10175 shlibpath_overrides_runpath
=yes
10176 hardcode_into_libs
=yes
10177 # ldd complains unless libraries are executable
10178 postinstall_cmds
='chmod +x $lib'
10183 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10184 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10185 shlibpath_var
=LD_LIBRARY_PATH
10186 shlibpath_overrides_runpath
=yes
10187 if test "$with_gnu_ld" = yes; then
10195 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10196 soname_spec
='${libname}${release}${shared_ext}$major'
10197 shlibpath_var
=LD_LIBRARY_PATH
10198 case $host_vendor in
10200 shlibpath_overrides_runpath
=no
10202 runpath_var
=LD_RUN_PATH
10210 shlibpath_overrides_runpath
=no
10211 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10217 if test -d /usr
/nec
;then
10219 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10220 soname_spec
='$libname${shared_ext}.$major'
10221 shlibpath_var
=LD_LIBRARY_PATH
10225 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10226 version_type
=freebsd-elf
10229 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10230 soname_spec
='${libname}${release}${shared_ext}$major'
10231 shlibpath_var
=LD_LIBRARY_PATH
10232 shlibpath_overrides_runpath
=yes
10233 hardcode_into_libs
=yes
10234 if test "$with_gnu_ld" = yes; then
10235 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10237 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10240 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10244 sys_lib_dlsearch_path_spec
='/usr/lib'
10248 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10252 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10253 shlibpath_var
=LD_LIBRARY_PATH
10254 shlibpath_overrides_runpath
=no
10255 hardcode_into_libs
=yes
10260 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10261 soname_spec
='${libname}${release}${shared_ext}$major'
10262 shlibpath_var
=LD_LIBRARY_PATH
10269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10270 $as_echo "$dynamic_linker" >&6; }
10271 test "$dynamic_linker" = no
&& can_build_shared
=no
10273 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10274 if test "$GCC" = yes; then
10275 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10278 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10279 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10281 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10282 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
10376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10377 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10379 if test -n "$hardcode_libdir_flag_spec" ||
10380 test -n "$runpath_var" ||
10381 test "X$hardcode_automatic" = "Xyes" ; then
10383 # We can hardcode non-existent directories.
10384 if test "$hardcode_direct" != no
&&
10385 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10386 # have to relink, otherwise we might link with an installed library
10387 # when we should be linking with a yet-to-be-installed one
10388 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10389 test "$hardcode_minus_L" != no
; then
10390 # Linking always hardcodes the temporary library directory.
10391 hardcode_action
=relink
10393 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10394 hardcode_action
=immediate
10397 # We cannot hardcode anything, or else we can only hardcode existing
10399 hardcode_action
=unsupported
10401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10402 $as_echo "$hardcode_action" >&6; }
10404 if test "$hardcode_action" = relink ||
10405 test "$inherit_rpath" = yes; then
10406 # Fast installation is not supported
10407 enable_fast_install
=no
10408 elif test "$shlibpath_overrides_runpath" = yes ||
10409 test "$enable_shared" = no
; then
10410 # Fast installation is not necessary
10411 enable_fast_install
=needless
10419 if test "x$enable_dlopen" != xyes
; then
10420 enable_dlopen
=unknown
10421 enable_dlopen_self
=unknown
10422 enable_dlopen_self_static
=unknown
10429 lt_cv_dlopen
="load_add_on"
10431 lt_cv_dlopen_self
=yes
10434 mingw
* | pw32
* | cegcc
*)
10435 lt_cv_dlopen
="LoadLibrary"
10440 lt_cv_dlopen
="dlopen"
10445 # if libdl is installed we need to link against it
10446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10447 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10448 if ${ac_cv_lib_dl_dlopen+:} false
; then :
10449 $as_echo_n "(cached) " >&6
10451 ac_check_lib_save_LIBS
=$LIBS
10453 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10454 /* end confdefs.h. */
10456 /* Override any GCC internal prototype to avoid an error.
10457 Use char because int might match the return type of a GCC
10458 builtin and then its argument prototype would still apply. */
10471 if ac_fn_c_try_link
"$LINENO"; then :
10472 ac_cv_lib_dl_dlopen
=yes
10474 ac_cv_lib_dl_dlopen
=no
10476 rm -f core conftest.err conftest.
$ac_objext \
10477 conftest
$ac_exeext conftest.
$ac_ext
10478 LIBS
=$ac_check_lib_save_LIBS
10480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10481 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10482 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
10483 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10486 lt_cv_dlopen
="dyld"
10488 lt_cv_dlopen_self
=yes
10495 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
10496 if test "x$ac_cv_func_shl_load" = xyes
; then :
10497 lt_cv_dlopen
="shl_load"
10499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10500 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10501 if ${ac_cv_lib_dld_shl_load+:} false
; then :
10502 $as_echo_n "(cached) " >&6
10504 ac_check_lib_save_LIBS
=$LIBS
10506 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10507 /* end confdefs.h. */
10509 /* Override any GCC internal prototype to avoid an error.
10510 Use char because int might match the return type of a GCC
10511 builtin and then its argument prototype would still apply. */
10519 return shl_load ();
10524 if ac_fn_c_try_link
"$LINENO"; then :
10525 ac_cv_lib_dld_shl_load
=yes
10527 ac_cv_lib_dld_shl_load
=no
10529 rm -f core conftest.err conftest.
$ac_objext \
10530 conftest
$ac_exeext conftest.
$ac_ext
10531 LIBS
=$ac_check_lib_save_LIBS
10533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10534 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10535 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
10536 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
10538 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
10539 if test "x$ac_cv_func_dlopen" = xyes
; then :
10540 lt_cv_dlopen
="dlopen"
10542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10543 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10544 if ${ac_cv_lib_dl_dlopen+:} false
; then :
10545 $as_echo_n "(cached) " >&6
10547 ac_check_lib_save_LIBS
=$LIBS
10549 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10550 /* end confdefs.h. */
10552 /* Override any GCC internal prototype to avoid an error.
10553 Use char because int might match the return type of a GCC
10554 builtin and then its argument prototype would still apply. */
10567 if ac_fn_c_try_link
"$LINENO"; then :
10568 ac_cv_lib_dl_dlopen
=yes
10570 ac_cv_lib_dl_dlopen
=no
10572 rm -f core conftest.err conftest.
$ac_objext \
10573 conftest
$ac_exeext conftest.
$ac_ext
10574 LIBS
=$ac_check_lib_save_LIBS
10576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10577 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10578 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
10579 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10582 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10583 if ${ac_cv_lib_svld_dlopen+:} false
; then :
10584 $as_echo_n "(cached) " >&6
10586 ac_check_lib_save_LIBS
=$LIBS
10587 LIBS
="-lsvld $LIBS"
10588 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10589 /* end confdefs.h. */
10591 /* Override any GCC internal prototype to avoid an error.
10592 Use char because int might match the return type of a GCC
10593 builtin and then its argument prototype would still apply. */
10606 if ac_fn_c_try_link
"$LINENO"; then :
10607 ac_cv_lib_svld_dlopen
=yes
10609 ac_cv_lib_svld_dlopen
=no
10611 rm -f core conftest.err conftest.
$ac_objext \
10612 conftest
$ac_exeext conftest.
$ac_ext
10613 LIBS
=$ac_check_lib_save_LIBS
10615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10616 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10617 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
10618 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
10620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10621 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10622 if ${ac_cv_lib_dld_dld_link+:} false
; then :
10623 $as_echo_n "(cached) " >&6
10625 ac_check_lib_save_LIBS
=$LIBS
10627 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10628 /* end confdefs.h. */
10630 /* Override any GCC internal prototype to avoid an error.
10631 Use char because int might match the return type of a GCC
10632 builtin and then its argument prototype would still apply. */
10640 return dld_link ();
10645 if ac_fn_c_try_link
"$LINENO"; then :
10646 ac_cv_lib_dld_dld_link
=yes
10648 ac_cv_lib_dld_dld_link
=no
10650 rm -f core conftest.err conftest.
$ac_objext \
10651 conftest
$ac_exeext conftest.
$ac_ext
10652 LIBS
=$ac_check_lib_save_LIBS
10654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10655 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10656 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
10657 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
10678 if test "x$lt_cv_dlopen" != xno
; then
10684 case $lt_cv_dlopen in
10686 save_CPPFLAGS
="$CPPFLAGS"
10687 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
10689 save_LDFLAGS
="$LDFLAGS"
10690 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
10693 LIBS
="$lt_cv_dlopen_libs $LIBS"
10695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10696 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10697 if ${lt_cv_dlopen_self+:} false
; then :
10698 $as_echo_n "(cached) " >&6
10700 if test "$cross_compiling" = yes; then :
10701 lt_cv_dlopen_self
=cross
10703 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10704 lt_status
=$lt_dlunknown
10705 cat > conftest.
$ac_ext <<_LT_EOF
10706 #line $LINENO "configure"
10707 #include "confdefs.h"
10716 # define LT_DLGLOBAL RTLD_GLOBAL
10719 # define LT_DLGLOBAL DL_GLOBAL
10721 # define LT_DLGLOBAL 0
10725 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10726 find out it does not work in some platform. */
10727 #ifndef LT_DLLAZY_OR_NOW
10729 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10732 # define LT_DLLAZY_OR_NOW DL_LAZY
10735 # define LT_DLLAZY_OR_NOW RTLD_NOW
10738 # define LT_DLLAZY_OR_NOW DL_NOW
10740 # define LT_DLLAZY_OR_NOW 0
10747 /* When -fvisbility=hidden is used, assume the code has been annotated
10748 correspondingly for the symbols needed. */
10749 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
10750 int fnord () __attribute__((visibility("default")));
10753 int fnord () { return 42; }
10756 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10757 int status = $lt_dlunknown;
10761 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10764 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10765 else puts (dlerror ());
10767 /* dlclose (self); */
10775 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10776 (eval $ac_link) 2>&5
10778 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10779 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10780 (.
/conftest
; exit; ) >&5 2>/dev
/null
10782 case x
$lt_status in
10783 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
10784 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
10785 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
10788 # compilation failed
10789 lt_cv_dlopen_self
=no
10796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
10797 $as_echo "$lt_cv_dlopen_self" >&6; }
10799 if test "x$lt_cv_dlopen_self" = xyes
; then
10800 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
10801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10802 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10803 if ${lt_cv_dlopen_self_static+:} false
; then :
10804 $as_echo_n "(cached) " >&6
10806 if test "$cross_compiling" = yes; then :
10807 lt_cv_dlopen_self_static
=cross
10809 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10810 lt_status
=$lt_dlunknown
10811 cat > conftest.
$ac_ext <<_LT_EOF
10812 #line $LINENO "configure"
10813 #include "confdefs.h"
10822 # define LT_DLGLOBAL RTLD_GLOBAL
10825 # define LT_DLGLOBAL DL_GLOBAL
10827 # define LT_DLGLOBAL 0
10831 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10832 find out it does not work in some platform. */
10833 #ifndef LT_DLLAZY_OR_NOW
10835 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10838 # define LT_DLLAZY_OR_NOW DL_LAZY
10841 # define LT_DLLAZY_OR_NOW RTLD_NOW
10844 # define LT_DLLAZY_OR_NOW DL_NOW
10846 # define LT_DLLAZY_OR_NOW 0
10853 /* When -fvisbility=hidden is used, assume the code has been annotated
10854 correspondingly for the symbols needed. */
10855 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
10856 int fnord () __attribute__((visibility("default")));
10859 int fnord () { return 42; }
10862 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10863 int status = $lt_dlunknown;
10867 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10870 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10871 else puts (dlerror ());
10873 /* dlclose (self); */
10881 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10882 (eval $ac_link) 2>&5
10884 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10885 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10886 (.
/conftest
; exit; ) >&5 2>/dev
/null
10888 case x
$lt_status in
10889 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
10890 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
10891 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
10894 # compilation failed
10895 lt_cv_dlopen_self_static
=no
10902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
10903 $as_echo "$lt_cv_dlopen_self_static" >&6; }
10906 CPPFLAGS
="$save_CPPFLAGS"
10907 LDFLAGS
="$save_LDFLAGS"
10912 case $lt_cv_dlopen_self in
10913 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
10914 *) enable_dlopen_self
=unknown
;;
10917 case $lt_cv_dlopen_self_static in
10918 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
10919 *) enable_dlopen_self_static
=unknown
;;
10941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
10942 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
10943 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
10944 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
10945 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
10946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10947 $as_echo "yes" >&6; }
10949 # FIXME - insert some real tests, host_os isn't really good enough
10952 if test -n "$STRIP" ; then
10953 striplib
="$STRIP -x"
10954 old_striplib
="$STRIP -S"
10955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10956 $as_echo "yes" >&6; }
10958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10959 $as_echo "no" >&6; }
10963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10964 $as_echo "no" >&6; }
10980 # Report which library types will actually be built
10981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
10982 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
10983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
10984 $as_echo "$can_build_shared" >&6; }
10986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
10987 $as_echo_n "checking whether to build shared libraries... " >&6; }
10988 test "$can_build_shared" = "no" && enable_shared
=no
10990 # On AIX, shared libraries and static libraries use the same namespace, and
10991 # are all built from PIC.
10994 test "$enable_shared" = yes && enable_static
=no
10995 if test -n "$RANLIB"; then
10996 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
10997 postinstall_cmds
='$RANLIB $lib'
11002 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11003 test "$enable_shared" = yes && enable_static
=no
11007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11008 $as_echo "$enable_shared" >&6; }
11010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11011 $as_echo_n "checking whether to build static libraries... " >&6; }
11012 # Make sure either enable_shared or enable_static is yes.
11013 test "$enable_shared" = yes || enable_static
=yes
11014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11015 $as_echo "$enable_static" >&6; }
11022 ac_cpp
='$CPP $CPPFLAGS'
11023 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11024 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11025 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11041 ac_config_commands
="$ac_config_commands libtool"
11046 # Only expand once:
11055 ac_cpp
='$CPP $CPPFLAGS'
11056 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11057 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11058 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11059 if test -n "$ac_tool_prefix"; then
11060 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11061 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
11062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11063 $as_echo_n "checking for $ac_word... " >&6; }
11064 if ${ac_cv_prog_CC+:} false
; then :
11065 $as_echo_n "(cached) " >&6
11067 if test -n "$CC"; then
11068 ac_cv_prog_CC
="$CC" # Let the user override the test.
11070 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11071 for as_dir
in $PATH
11074 test -z "$as_dir" && as_dir
=.
11075 for ac_exec_ext
in '' $ac_executable_extensions; do
11076 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11077 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
11078 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11088 if test -n "$CC"; then
11089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11090 $as_echo "$CC" >&6; }
11092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11093 $as_echo "no" >&6; }
11098 if test -z "$ac_cv_prog_CC"; then
11100 # Extract the first word of "gcc", so it can be a program name with args.
11101 set dummy gcc
; ac_word
=$2
11102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11103 $as_echo_n "checking for $ac_word... " >&6; }
11104 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
11105 $as_echo_n "(cached) " >&6
11107 if test -n "$ac_ct_CC"; then
11108 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11110 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11111 for as_dir
in $PATH
11114 test -z "$as_dir" && as_dir
=.
11115 for ac_exec_ext
in '' $ac_executable_extensions; do
11116 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11117 ac_cv_prog_ac_ct_CC
="gcc"
11118 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11127 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11128 if test -n "$ac_ct_CC"; then
11129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11130 $as_echo "$ac_ct_CC" >&6; }
11132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11133 $as_echo "no" >&6; }
11136 if test "x$ac_ct_CC" = x
; then
11139 case $cross_compiling:$ac_tool_warned in
11141 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11142 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11143 ac_tool_warned
=yes ;;
11148 CC
="$ac_cv_prog_CC"
11151 if test -z "$CC"; then
11152 if test -n "$ac_tool_prefix"; then
11153 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11154 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
11155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11156 $as_echo_n "checking for $ac_word... " >&6; }
11157 if ${ac_cv_prog_CC+:} false
; then :
11158 $as_echo_n "(cached) " >&6
11160 if test -n "$CC"; then
11161 ac_cv_prog_CC
="$CC" # Let the user override the test.
11163 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11164 for as_dir
in $PATH
11167 test -z "$as_dir" && as_dir
=.
11168 for ac_exec_ext
in '' $ac_executable_extensions; do
11169 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11170 ac_cv_prog_CC
="${ac_tool_prefix}cc"
11171 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11181 if test -n "$CC"; then
11182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11183 $as_echo "$CC" >&6; }
11185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11186 $as_echo "no" >&6; }
11192 if test -z "$CC"; then
11193 # Extract the first word of "cc", so it can be a program name with args.
11194 set dummy cc
; ac_word
=$2
11195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11196 $as_echo_n "checking for $ac_word... " >&6; }
11197 if ${ac_cv_prog_CC+:} false
; then :
11198 $as_echo_n "(cached) " >&6
11200 if test -n "$CC"; then
11201 ac_cv_prog_CC
="$CC" # Let the user override the test.
11203 ac_prog_rejected
=no
11204 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11205 for as_dir
in $PATH
11208 test -z "$as_dir" && as_dir
=.
11209 for ac_exec_ext
in '' $ac_executable_extensions; do
11210 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11211 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11212 ac_prog_rejected
=yes
11216 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11223 if test $ac_prog_rejected = yes; then
11224 # We found a bogon in the path, so make sure we never use it.
11225 set dummy
$ac_cv_prog_CC
11227 if test $# != 0; then
11228 # We chose a different compiler from the bogus one.
11229 # However, it has the same basename, so the bogon will be chosen
11230 # first if we set CC to just the basename; use the full file name.
11232 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
11238 if test -n "$CC"; then
11239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11240 $as_echo "$CC" >&6; }
11242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11243 $as_echo "no" >&6; }
11248 if test -z "$CC"; then
11249 if test -n "$ac_tool_prefix"; then
11250 for ac_prog
in cl.exe
11252 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11253 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
11254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11255 $as_echo_n "checking for $ac_word... " >&6; }
11256 if ${ac_cv_prog_CC+:} false
; then :
11257 $as_echo_n "(cached) " >&6
11259 if test -n "$CC"; then
11260 ac_cv_prog_CC
="$CC" # Let the user override the test.
11262 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11263 for as_dir
in $PATH
11266 test -z "$as_dir" && as_dir
=.
11267 for ac_exec_ext
in '' $ac_executable_extensions; do
11268 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11269 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
11270 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11280 if test -n "$CC"; then
11281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11282 $as_echo "$CC" >&6; }
11284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11285 $as_echo "no" >&6; }
11289 test -n "$CC" && break
11292 if test -z "$CC"; then
11294 for ac_prog
in cl.exe
11296 # Extract the first word of "$ac_prog", so it can be a program name with args.
11297 set dummy
$ac_prog; ac_word
=$2
11298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11299 $as_echo_n "checking for $ac_word... " >&6; }
11300 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
11301 $as_echo_n "(cached) " >&6
11303 if test -n "$ac_ct_CC"; then
11304 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11306 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11307 for as_dir
in $PATH
11310 test -z "$as_dir" && as_dir
=.
11311 for ac_exec_ext
in '' $ac_executable_extensions; do
11312 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11313 ac_cv_prog_ac_ct_CC
="$ac_prog"
11314 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11323 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11324 if test -n "$ac_ct_CC"; then
11325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11326 $as_echo "$ac_ct_CC" >&6; }
11328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11329 $as_echo "no" >&6; }
11333 test -n "$ac_ct_CC" && break
11336 if test "x$ac_ct_CC" = x
; then
11339 case $cross_compiling:$ac_tool_warned in
11341 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11342 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11343 ac_tool_warned
=yes ;;
11352 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11353 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11354 as_fn_error $?
"no acceptable C compiler found in \$PATH
11355 See \`config.log' for more details" "$LINENO" 5; }
11357 # Provide some information about the compiler.
11358 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
11361 for ac_option
in --version -v -V -qversion; do
11362 { { ac_try
="$ac_compiler $ac_option >&5"
11363 case "(($ac_try" in
11364 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11365 *) ac_try_echo=$ac_try;;
11367 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11368 $as_echo "$ac_try_echo"; } >&5
11369 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
11371 if test -s conftest.err; then
11373 ... rest of stderr output deleted ...
11374 10q' conftest.err >conftest.er1
11375 cat conftest.er1 >&5
11377 rm -f conftest.er1 conftest.err
11378 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11379 test $ac_status = 0; }
11382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
11383 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
11384 if ${ac_cv_c_compiler_gnu+:} false; then :
11385 $as_echo_n "(cached) " >&6
11387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11388 /* end confdefs.h. */
11401 if ac_fn_c_try_compile "$LINENO"; then :
11402 ac_compiler_gnu=yes
11406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11407 ac_cv_c_compiler_gnu=$ac_compiler_gnu
11410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
11411 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
11412 if test $ac_compiler_gnu = yes; then
11417 ac_test_CFLAGS=${CFLAGS+set}
11418 ac_save_CFLAGS=$CFLAGS
11419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
11420 $as_echo_n "checking whether $CC accepts -g... " >&6; }
11421 if ${ac_cv_prog_cc_g+:} false; then :
11422 $as_echo_n "(cached) " >&6
11424 ac_save_c_werror_flag=$ac_c_werror_flag
11425 ac_c_werror_flag=yes
11428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11429 /* end confdefs.h. */
11439 if ac_fn_c_try_compile "$LINENO"; then :
11440 ac_cv_prog_cc_g=yes
11443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11444 /* end confdefs.h. */
11454 if ac_fn_c_try_compile "$LINENO"; then :
11457 ac_c_werror_flag=$ac_save_c_werror_flag
11459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11460 /* end confdefs.h. */
11470 if ac_fn_c_try_compile "$LINENO"; then :
11471 ac_cv_prog_cc_g=yes
11473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11478 ac_c_werror_flag=$ac_save_c_werror_flag
11480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
11481 $as_echo "$ac_cv_prog_cc_g" >&6; }
11482 if test "$ac_test_CFLAGS" = set; then
11483 CFLAGS=$ac_save_CFLAGS
11484 elif test $ac_cv_prog_cc_g = yes; then
11485 if test "$GCC" = yes; then
11491 if test "$GCC" = yes; then
11497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
11498 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
11499 if ${ac_cv_prog_cc_c89+:} false; then :
11500 $as_echo_n "(cached) " >&6
11502 ac_cv_prog_cc_c89=no
11504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11505 /* end confdefs.h. */
11506 #include <stdarg.h>
11508 #include <sys/types.h>
11509 #include <sys/stat.h>
11510 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11511 struct buf { int x; };
11512 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11513 static char *e (p, i)
11519 static char *f (char * (*g) (char **, int), char **p, ...)
11524 s = g (p, va_arg (v,int));
11529 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11530 function prototypes and stuff, but not '\xHH' hex character constants.
11531 These don't provoke an error unfortunately, instead are silently treated
11532 as 'x'. The following induces an error, until -std is added to get
11533 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11534 array size at least. It's necessary to write '\x00'==0 to get something
11535 that's true only with -std. */
11536 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11538 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
11539 inside strings and character constants. */
11541 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
11543 int test (int i, double x);
11544 struct s1 {int (*f) (int a);};
11545 struct s2 {int (*f) (double a);};
11546 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11552 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11557 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
11558 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11560 CC="$ac_save_CC $ac_arg"
11561 if ac_fn_c_try_compile "$LINENO"; then :
11562 ac_cv_prog_cc_c89=$ac_arg
11564 rm -f core conftest.err conftest.$ac_objext
11565 test "x$ac_cv_prog_cc_c89" != "xno" && break
11567 rm -f conftest.$ac_ext
11572 case "x$ac_cv_prog_cc_c89" in
11574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
11575 $as_echo "none needed" >&6; } ;;
11577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
11578 $as_echo "unsupported" >&6; } ;;
11580 CC="$CC $ac_cv_prog_cc_c89"
11581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
11582 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
11584 if test "x$ac_cv_prog_cc_c89" != xno; then :
11589 ac_cpp='$CPP $CPPFLAGS'
11590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11595 ac_cpp='$CXXCPP $CPPFLAGS'
11596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11599 if test -z "$CXX"; then
11600 if test -n "$CCC"; then
11603 if test -n "$ac_tool_prefix"; then
11604 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
11606 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11607 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11609 $as_echo_n "checking for $ac_word... " >&6; }
11610 if ${ac_cv_prog_CXX+:} false; then :
11611 $as_echo_n "(cached) " >&6
11613 if test -n "$CXX"; then
11614 ac_cv_prog_CXX="$CXX" # Let the user override the test.
11616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11617 for as_dir in $PATH
11620 test -z "$as_dir" && as_dir=.
11621 for ac_exec_ext in '' $ac_executable_extensions; do
11622 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11623 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
11624 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11633 CXX=$ac_cv_prog_CXX
11634 if test -n "$CXX"; then
11635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
11636 $as_echo "$CXX" >&6; }
11638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11639 $as_echo "no" >&6; }
11643 test -n "$CXX" && break
11646 if test -z "$CXX"; then
11648 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
11650 # Extract the first word of "$ac_prog", so it can be a program name with args.
11651 set dummy $ac_prog; ac_word=$2
11652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11653 $as_echo_n "checking for $ac_word... " >&6; }
11654 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
11655 $as_echo_n "(cached) " >&6
11657 if test -n "$ac_ct_CXX"; then
11658 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
11660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11661 for as_dir in $PATH
11664 test -z "$as_dir" && as_dir=.
11665 for ac_exec_ext in '' $ac_executable_extensions; do
11666 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11667 ac_cv_prog_ac_ct_CXX="$ac_prog"
11668 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11677 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
11678 if test -n "$ac_ct_CXX"; then
11679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
11680 $as_echo "$ac_ct_CXX" >&6; }
11682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11683 $as_echo "no" >&6; }
11687 test -n "$ac_ct_CXX" && break
11690 if test "x$ac_ct_CXX" = x; then
11693 case $cross_compiling:$ac_tool_warned in
11695 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11696 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11697 ac_tool_warned=yes ;;
11705 # Provide some information about the compiler.
11706 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
11709 for ac_option in --version -v -V -qversion; do
11710 { { ac_try="$ac_compiler $ac_option >&5"
11711 case "(($ac_try" in
11712 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11713 *) ac_try_echo
=$ac_try;;
11715 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11716 $as_echo "$ac_try_echo"; } >&5
11717 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
11719 if test -s conftest.err
; then
11721 ... rest of stderr output deleted ...
11722 10q' conftest.err
>conftest.er1
11723 cat conftest.er1
>&5
11725 rm -f conftest.er1 conftest.err
11726 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11727 test $ac_status = 0; }
11730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
11731 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
11732 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
11733 $as_echo_n "(cached) " >&6
11735 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11736 /* end confdefs.h. */
11749 if ac_fn_cxx_try_compile
"$LINENO"; then :
11750 ac_compiler_gnu
=yes
11754 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11755 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
11758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
11759 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
11760 if test $ac_compiler_gnu = yes; then
11765 ac_test_CXXFLAGS
=${CXXFLAGS+set}
11766 ac_save_CXXFLAGS
=$CXXFLAGS
11767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
11768 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
11769 if ${ac_cv_prog_cxx_g+:} false
; then :
11770 $as_echo_n "(cached) " >&6
11772 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
11773 ac_cxx_werror_flag
=yes
11774 ac_cv_prog_cxx_g
=no
11776 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11777 /* end confdefs.h. */
11787 if ac_fn_cxx_try_compile
"$LINENO"; then :
11788 ac_cv_prog_cxx_g
=yes
11791 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11792 /* end confdefs.h. */
11802 if ac_fn_cxx_try_compile
"$LINENO"; then :
11805 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
11807 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11808 /* end confdefs.h. */
11818 if ac_fn_cxx_try_compile
"$LINENO"; then :
11819 ac_cv_prog_cxx_g
=yes
11821 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11823 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11825 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11826 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
11828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
11829 $as_echo "$ac_cv_prog_cxx_g" >&6; }
11830 if test "$ac_test_CXXFLAGS" = set; then
11831 CXXFLAGS
=$ac_save_CXXFLAGS
11832 elif test $ac_cv_prog_cxx_g = yes; then
11833 if test "$GXX" = yes; then
11839 if test "$GXX" = yes; then
11846 ac_cpp
='$CPP $CPPFLAGS'
11847 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11848 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11849 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11853 func_stripname_cnf
()
11856 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
11857 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
11859 } # func_stripname_cnf
11861 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11862 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11863 (test "X$CXX" != "Xg++"))) ; then
11865 ac_cpp
='$CXXCPP $CPPFLAGS'
11866 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11867 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11868 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11870 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11871 if test -z "$CXXCPP"; then
11872 if ${ac_cv_prog_CXXCPP+:} false
; then :
11873 $as_echo_n "(cached) " >&6
11875 # Double quotes because CXXCPP needs to be expanded
11876 for CXXCPP
in "$CXX -E" "/lib/cpp"
11878 ac_preproc_ok
=false
11879 for ac_cxx_preproc_warn_flag
in '' yes
11881 # Use a header file that comes with gcc, so configuring glibc
11882 # with a fresh cross-compiler works.
11883 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11884 # <limits.h> exists even on freestanding compilers.
11885 # On the NeXT, cc -E runs the code through the compiler's parser,
11886 # not just through cpp. "Syntax error" is here to catch this case.
11887 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11888 /* end confdefs.h. */
11890 # include <limits.h>
11892 # include <assert.h>
11896 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11899 # Broken: fails on valid input.
11902 rm -f conftest.err conftest.i conftest.
$ac_ext
11904 # OK, works on sane cases. Now check whether nonexistent headers
11905 # can be detected and how.
11906 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11907 /* end confdefs.h. */
11908 #include <ac_nonexistent.h>
11910 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11911 # Broken: success on invalid input.
11914 # Passes both tests.
11918 rm -f conftest.err conftest.i conftest.
$ac_ext
11921 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11922 rm -f conftest.i conftest.err conftest.
$ac_ext
11923 if $ac_preproc_ok; then :
11928 ac_cv_prog_CXXCPP
=$CXXCPP
11931 CXXCPP
=$ac_cv_prog_CXXCPP
11933 ac_cv_prog_CXXCPP
=$CXXCPP
11935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11936 $as_echo "$CXXCPP" >&6; }
11937 ac_preproc_ok
=false
11938 for ac_cxx_preproc_warn_flag
in '' yes
11940 # Use a header file that comes with gcc, so configuring glibc
11941 # with a fresh cross-compiler works.
11942 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11943 # <limits.h> exists even on freestanding compilers.
11944 # On the NeXT, cc -E runs the code through the compiler's parser,
11945 # not just through cpp. "Syntax error" is here to catch this case.
11946 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11947 /* end confdefs.h. */
11949 # include <limits.h>
11951 # include <assert.h>
11955 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11958 # Broken: fails on valid input.
11961 rm -f conftest.err conftest.i conftest.
$ac_ext
11963 # OK, works on sane cases. Now check whether nonexistent headers
11964 # can be detected and how.
11965 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11966 /* end confdefs.h. */
11967 #include <ac_nonexistent.h>
11969 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11970 # Broken: success on invalid input.
11973 # Passes both tests.
11977 rm -f conftest.err conftest.i conftest.
$ac_ext
11980 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11981 rm -f conftest.i conftest.err conftest.
$ac_ext
11982 if $ac_preproc_ok; then :
11985 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11986 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11987 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
11988 See \`config.log' for more details" "$LINENO" 5; }
11992 ac_cpp
='$CPP $CPPFLAGS'
11993 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11994 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11995 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11998 _lt_caught_CXX_error
=yes
12002 ac_cpp
='$CXXCPP $CPPFLAGS'
12003 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12004 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12005 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12007 archive_cmds_need_lc_CXX
=no
12008 allow_undefined_flag_CXX
=
12009 always_export_symbols_CXX
=no
12010 archive_expsym_cmds_CXX
=
12011 compiler_needs_object_CXX
=no
12012 export_dynamic_flag_spec_CXX
=
12013 hardcode_direct_CXX
=no
12014 hardcode_direct_absolute_CXX
=no
12015 hardcode_libdir_flag_spec_CXX
=
12016 hardcode_libdir_flag_spec_ld_CXX
=
12017 hardcode_libdir_separator_CXX
=
12018 hardcode_minus_L_CXX
=no
12019 hardcode_shlibpath_var_CXX
=unsupported
12020 hardcode_automatic_CXX
=no
12021 inherit_rpath_CXX
=no
12023 module_expsym_cmds_CXX
=
12024 link_all_deplibs_CXX
=unknown
12025 old_archive_cmds_CXX
=$old_archive_cmds
12026 reload_flag_CXX
=$reload_flag
12027 reload_cmds_CXX
=$reload_cmds
12028 no_undefined_flag_CXX
=
12029 whole_archive_flag_spec_CXX
=
12030 enable_shared_with_static_runtimes_CXX
=no
12032 # Source file extension for C++ test sources.
12035 # Object file extension for compiled C++ test sources.
12039 # No sense in running all these tests if we already determined that
12040 # the CXX compiler isn't working. Some variables (like enable_shared)
12041 # are currently assumed to apply to all compilers on this platform,
12042 # and will be corrupted by setting them based on a non-working compiler.
12043 if test "$_lt_caught_CXX_error" != yes; then
12044 # Code to be used in simple compile tests
12045 lt_simple_compile_test_code
="int some_variable = 0;"
12047 # Code to be used in simple link tests
12048 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
12050 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12057 # If no C compiler was specified, use CC.
12060 # If no C compiler flags were specified, use CFLAGS.
12061 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
12063 # Allow CC to be a program name with arguments.
12067 # save warnings/boilerplate of simple test code
12068 ac_outfile
=conftest.
$ac_objext
12069 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
12070 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12071 _lt_compiler_boilerplate
=`cat conftest.err`
12074 ac_outfile
=conftest.
$ac_objext
12075 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
12076 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12077 _lt_linker_boilerplate
=`cat conftest.err`
12081 # Allow CC to be a program name with arguments.
12083 lt_save_CFLAGS
=$CFLAGS
12087 lt_save_with_gnu_ld
=$with_gnu_ld
12088 lt_save_path_LD
=$lt_cv_path_LD
12089 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12090 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
12092 $as_unset lt_cv_prog_gnu_ld
12094 if test -n "${lt_cv_path_LDCXX+set}"; then
12095 lt_cv_path_LD
=$lt_cv_path_LDCXX
12097 $as_unset lt_cv_path_LD
12099 test -z "${LDCXX+set}" || LD
=$LDCXX
12104 for cc_temp
in $compiler""; do
12106 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
12107 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
12112 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12115 if test -n "$compiler"; then
12116 # We don't want -fno-exception when compiling C++ code, so set the
12117 # no_builtin_flag separately
12118 if test "$GXX" = yes; then
12119 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
12121 lt_prog_compiler_no_builtin_flag_CXX
=
12124 if test "$GXX" = yes; then
12125 # Set up default GNU C++ configuration
12129 # Check whether --with-gnu-ld was given.
12130 if test "${with_gnu_ld+set}" = set; then :
12131 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
12137 if test "$GCC" = yes; then
12138 # Check if gcc -print-prog-name=ld gives a path.
12139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12140 $as_echo_n "checking for ld used by $CC... " >&6; }
12143 # gcc leaves a trailing carriage return which upsets mingw
12144 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12146 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
12149 # Accept absolute paths.
12151 re_direlt
='/[^/][^/]*/\.\./'
12152 # Canonicalize the pathname of ld
12153 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12154 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
12155 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12157 test -z "$LD" && LD
="$ac_prog"
12160 # If it fails, then pretend we aren't using GCC.
12164 # If it is relative, then search for the first ld in PATH.
12165 with_gnu_ld
=unknown
12168 elif test "$with_gnu_ld" = yes; then
12169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12170 $as_echo_n "checking for GNU ld... " >&6; }
12172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12173 $as_echo_n "checking for non-GNU ld... " >&6; }
12175 if ${lt_cv_path_LD+:} false
; then :
12176 $as_echo_n "(cached) " >&6
12178 if test -z "$LD"; then
12179 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
12180 for ac_dir
in $PATH; do
12182 test -z "$ac_dir" && ac_dir
=.
12183 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
12184 lt_cv_path_LD
="$ac_dir/$ac_prog"
12185 # Check to see if the program is GNU ld. I'd rather use --version,
12186 # but apparently some variants of GNU ld only accept -v.
12187 # Break only if it was the GNU/non-GNU ld that we prefer.
12188 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12189 *GNU
* |
*'with BFD'*)
12190 test "$with_gnu_ld" != no
&& break
12193 test "$with_gnu_ld" != yes && break
12200 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
12204 LD
="$lt_cv_path_LD"
12205 if test -n "$LD"; then
12206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12207 $as_echo "$LD" >&6; }
12209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12210 $as_echo "no" >&6; }
12212 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
12213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12214 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12215 if ${lt_cv_prog_gnu_ld+:} false
; then :
12216 $as_echo_n "(cached) " >&6
12218 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12219 case `$LD -v 2>&1 </dev/null` in
12220 *GNU
* |
*'with BFD'*)
12221 lt_cv_prog_gnu_ld
=yes
12224 lt_cv_prog_gnu_ld
=no
12228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12229 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12230 with_gnu_ld
=$lt_cv_prog_gnu_ld
12238 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12239 # archiving commands below assume that GNU ld is being used.
12240 if test "$with_gnu_ld" = yes; then
12241 archive_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12242 archive_expsym_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12244 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12245 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12247 # If archive_cmds runs LD, not CC, wlarc should be empty
12248 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12249 # investigate it a little bit more. (MM)
12252 # ancient GNU ld didn't support --whole-archive et. al.
12253 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12254 $GREP 'no-whole-archive' > /dev
/null
; then
12255 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12257 whole_archive_flag_spec_CXX
=
12263 # A generic and very simple default shared library creation
12264 # command for GNU C++ for the case where it uses the native
12265 # linker, instead of GNU ld. If possible, this setting should
12266 # overridden to take advantage of the native linker features on
12267 # the platform it is being used on.
12268 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12271 # Commands to make compiler produce verbose output that lists
12272 # what "hidden" libraries, object files and flags are used when
12273 # linking a shared library.
12274 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12282 # PORTME: fill in a description of your system's C++ link characteristics
12283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12284 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12288 # FIXME: insert proper C++ library support
12292 if test "$host_cpu" = ia64
; then
12293 # On IA64, the linker does run time linking by default, so we don't
12294 # have to do anything special.
12295 aix_use_runtimelinking
=no
12296 exp_sym_flag
='-Bexport'
12299 aix_use_runtimelinking
=no
12301 # Test if we are trying to use run time linking or normal
12302 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12303 # need to do runtime linking.
12304 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
12305 for ld_flag
in $LDFLAGS; do
12308 aix_use_runtimelinking
=yes
12316 exp_sym_flag
='-bexport'
12317 no_entry_flag
='-bnoentry'
12320 # When large executables or shared objects are built, AIX ld can
12321 # have problems creating the table of contents. If linking a library
12322 # or program results in "error TOC overflow" add -mminimal-toc to
12323 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12324 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12326 archive_cmds_CXX
=''
12327 hardcode_direct_CXX
=yes
12328 hardcode_direct_absolute_CXX
=yes
12329 hardcode_libdir_separator_CXX
=':'
12330 link_all_deplibs_CXX
=yes
12331 file_list_spec_CXX
='${wl}-f,'
12333 if test "$GXX" = yes; then
12334 case $host_os in aix4.
[012]|aix4.
[012].
*)
12335 # We only want to do this on AIX 4.2 and lower, the check
12336 # below for broken collect2 doesn't work under 4.3+
12337 collect2name
=`${CC} -print-prog-name=collect2`
12338 if test -f "$collect2name" &&
12339 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
12341 # We have reworked collect2
12344 # We have old collect2
12345 hardcode_direct_CXX
=unsupported
12346 # It fails to find uninstalled libraries when the uninstalled
12347 # path is not listed in the libpath. Setting hardcode_minus_L
12348 # to unsupported forces relinking
12349 hardcode_minus_L_CXX
=yes
12350 hardcode_libdir_flag_spec_CXX
='-L$libdir'
12351 hardcode_libdir_separator_CXX
=
12354 shared_flag
='-shared'
12355 if test "$aix_use_runtimelinking" = yes; then
12356 shared_flag
="$shared_flag "'${wl}-G'
12360 if test "$host_cpu" = ia64
; then
12361 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12362 # chokes on -Wl,-G. The following line is correct:
12365 if test "$aix_use_runtimelinking" = yes; then
12366 shared_flag
='${wl}-G'
12368 shared_flag
='${wl}-bM:SRE'
12373 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
12374 # It seems that -bexpall does not export symbols beginning with
12375 # underscore (_), so it is better to generate a list of symbols to
12377 always_export_symbols_CXX
=yes
12378 if test "$aix_use_runtimelinking" = yes; then
12379 # Warning - without using the other runtime loading flags (-brtl),
12380 # -berok will link without error, but may produce a broken library.
12381 allow_undefined_flag_CXX
='-berok'
12382 # Determine the default libpath from the value encoded in an empty
12384 if test "${lt_cv_aix_libpath+set}" = set; then
12385 aix_libpath
=$lt_cv_aix_libpath
12387 if ${lt_cv_aix_libpath__CXX+:} false
; then :
12388 $as_echo_n "(cached) " >&6
12390 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12391 /* end confdefs.h. */
12401 if ac_fn_cxx_try_link
"$LINENO"; then :
12403 lt_aix_libpath_sed
='
12404 /Import File Strings/,/^$/ {
12406 s/^0 *\([^ ]*\) *$/\1/
12410 lt_cv_aix_libpath__CXX
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12411 # Check for a 64-bit object if we didn't find anything.
12412 if test -z "$lt_cv_aix_libpath__CXX"; then
12413 lt_cv_aix_libpath__CXX
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12416 rm -f core conftest.err conftest.
$ac_objext \
12417 conftest
$ac_exeext conftest.
$ac_ext
12418 if test -z "$lt_cv_aix_libpath__CXX"; then
12419 lt_cv_aix_libpath__CXX
="/usr/lib:/lib"
12424 aix_libpath
=$lt_cv_aix_libpath__CXX
12427 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
12429 archive_expsym_cmds_CXX
='$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"
12431 if test "$host_cpu" = ia64
; then
12432 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
12433 allow_undefined_flag_CXX
="-z nodefs"
12434 archive_expsym_cmds_CXX
="\$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"
12436 # Determine the default libpath from the value encoded in an
12437 # empty executable.
12438 if test "${lt_cv_aix_libpath+set}" = set; then
12439 aix_libpath
=$lt_cv_aix_libpath
12441 if ${lt_cv_aix_libpath__CXX+:} false
; then :
12442 $as_echo_n "(cached) " >&6
12444 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12445 /* end confdefs.h. */
12455 if ac_fn_cxx_try_link
"$LINENO"; then :
12457 lt_aix_libpath_sed
='
12458 /Import File Strings/,/^$/ {
12460 s/^0 *\([^ ]*\) *$/\1/
12464 lt_cv_aix_libpath__CXX
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12465 # Check for a 64-bit object if we didn't find anything.
12466 if test -z "$lt_cv_aix_libpath__CXX"; then
12467 lt_cv_aix_libpath__CXX
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12470 rm -f core conftest.err conftest.
$ac_objext \
12471 conftest
$ac_exeext conftest.
$ac_ext
12472 if test -z "$lt_cv_aix_libpath__CXX"; then
12473 lt_cv_aix_libpath__CXX
="/usr/lib:/lib"
12478 aix_libpath
=$lt_cv_aix_libpath__CXX
12481 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
12482 # Warning - without using the other run time loading flags,
12483 # -berok will link without error, but may produce a broken library.
12484 no_undefined_flag_CXX
=' ${wl}-bernotok'
12485 allow_undefined_flag_CXX
=' ${wl}-berok'
12486 if test "$with_gnu_ld" = yes; then
12487 # We only use this code for GNU lds that support --whole-archive.
12488 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12490 # Exported symbols can be pulled into shared objects from archives
12491 whole_archive_flag_spec_CXX
='$convenience'
12493 archive_cmds_need_lc_CXX
=yes
12494 # This is similar to how AIX traditionally builds its shared
12496 archive_expsym_cmds_CXX
="\$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'
12502 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12503 allow_undefined_flag_CXX
=unsupported
12504 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12505 # support --undefined. This deserves some investigation. FIXME
12506 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12513 case $cc_basename in
12515 # FIXME: insert proper C++ library support
12521 cygwin
* | mingw
* | pw32
* | cegcc
*)
12522 case $GXX,$cc_basename in
12525 # hardcode_libdir_flag_spec is actually meaningless, as there is
12526 # no search path for DLLs.
12527 hardcode_libdir_flag_spec_CXX
=' '
12528 allow_undefined_flag_CXX
=unsupported
12529 always_export_symbols_CXX
=yes
12530 file_list_spec_CXX
='@'
12531 # Tell ltmain to make .lib files, not .a files.
12533 # Tell ltmain to make .dll files, not .so files.
12535 # FIXME: Setting linknames here is a bad hack.
12536 archive_cmds_CXX
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
12537 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12538 $SED -n -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' -e '1\\\
!p
' < $export_symbols > $output_objdir/$soname.exp;
12540 $SED -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' < $export_symbols > $output_objdir/$soname.exp;
12542 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
12544 # The linker will not automatically build a static lib if we build a DLL.
12545 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
12546 enable_shared_with_static_runtimes_CXX
=yes
12548 old_postinstall_cmds_CXX
='chmod 644 $oldlib'
12549 postlink_cmds_CXX
='lt_outputfile="@OUTPUT@"~
12550 lt_tool_outputfile="@TOOL_OUTPUT@"~
12551 case $lt_outputfile in
12554 lt_outputfile="$lt_outputfile.exe"
12555 lt_tool_outputfile="$lt_tool_outputfile.exe"
12558 func_to_tool_file "$lt_outputfile"~
12559 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
12560 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
12561 $RM "$lt_outputfile.manifest";
12566 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12567 # as there is no search path for DLLs.
12568 hardcode_libdir_flag_spec_CXX
='-L$libdir'
12569 export_dynamic_flag_spec_CXX
='${wl}--export-all-symbols'
12570 allow_undefined_flag_CXX
=unsupported
12571 always_export_symbols_CXX
=no
12572 enable_shared_with_static_runtimes_CXX
=yes
12574 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
12575 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12576 # If the export-symbols file already is a .def file (1st line
12577 # is EXPORTS), use it as is; otherwise, prepend...
12578 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12579 cp $export_symbols $output_objdir/$soname.def;
12581 echo EXPORTS > $output_objdir/$soname.def;
12582 cat $export_symbols >> $output_objdir/$soname.def;
12584 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12591 darwin
* | rhapsody
*)
12594 archive_cmds_need_lc_CXX
=no
12595 hardcode_direct_CXX
=no
12596 hardcode_automatic_CXX
=yes
12597 hardcode_shlibpath_var_CXX
=unsupported
12598 if test "$lt_cv_ld_force_load" = "yes"; then
12599 whole_archive_flag_spec_CXX
='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
12601 whole_archive_flag_spec_CXX
=''
12603 link_all_deplibs_CXX
=yes
12604 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
12605 case $cc_basename in
12606 ifort
*) _lt_dar_can_shared
=yes ;;
12607 *) _lt_dar_can_shared
=$GCC ;;
12609 if test "$_lt_dar_can_shared" = "yes"; then
12610 output_verbose_link_cmd
=func_echo_all
12611 archive_cmds_CXX
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
12612 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12613 archive_expsym_cmds_CXX
="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}"
12614 module_expsym_cmds_CXX
="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}"
12615 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12616 archive_cmds_CXX
="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
12617 archive_expsym_cmds_CXX
="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
12627 case $cc_basename in
12629 # FIXME: insert proper C++ library support
12633 # Green Hills C++ Compiler
12634 # FIXME: insert proper C++ library support
12638 # FIXME: insert proper C++ library support
12645 # C++ shared libraries reported to be fairly broken before
12651 archive_cmds_need_lc_CXX
=no
12654 freebsd
* | dragonfly
*)
12655 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12664 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12665 link_all_deplibs_CXX
=yes
12669 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
12670 hardcode_libdir_separator_CXX
=:
12671 export_dynamic_flag_spec_CXX
='${wl}-E'
12672 hardcode_direct_CXX
=yes
12673 hardcode_minus_L_CXX
=yes # Not in the search PATH,
12674 # but as the default
12675 # location of the library.
12677 case $cc_basename in
12679 # FIXME: insert proper C++ library support
12683 archive_cmds_CXX
='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12684 # Commands to make compiler produce verbose output that lists
12685 # what "hidden" libraries, object files and flags are used when
12686 # linking a shared library.
12688 # There doesn't appear to be a way to prevent this compiler from
12689 # explicitly linking system object files so we need to strip them
12690 # from the output so that they don't get included in the library
12692 output_verbose_link_cmd
='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
12695 if test "$GXX" = yes; then
12696 archive_cmds_CXX
='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12698 # FIXME: insert proper C++ library support
12706 if test $with_gnu_ld = no
; then
12707 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
12708 hardcode_libdir_separator_CXX
=:
12714 export_dynamic_flag_spec_CXX
='${wl}-E'
12720 hardcode_direct_CXX
=no
12721 hardcode_shlibpath_var_CXX
=no
12724 hardcode_direct_CXX
=yes
12725 hardcode_direct_absolute_CXX
=yes
12726 hardcode_minus_L_CXX
=yes # Not in the search PATH,
12727 # but as the default
12728 # location of the library.
12732 case $cc_basename in
12734 # FIXME: insert proper C++ library support
12740 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12743 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12746 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12749 # Commands to make compiler produce verbose output that lists
12750 # what "hidden" libraries, object files and flags are used when
12751 # linking a shared library.
12753 # There doesn't appear to be a way to prevent this compiler from
12754 # explicitly linking system object files so we need to strip them
12755 # from the output so that they don't get included in the library
12757 output_verbose_link_cmd
='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
12760 if test "$GXX" = yes; then
12761 if test $with_gnu_ld = no
; then
12764 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12767 archive_cmds_CXX
='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12770 archive_cmds_CXX
='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12775 # FIXME: insert proper C++ library support
12783 hardcode_direct_CXX
=no
12784 hardcode_shlibpath_var_CXX
=no
12785 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12786 export_dynamic_flag_spec_CXX
='${wl}-E'
12787 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12788 # Instead, shared libraries are loaded at an image base (0x10000000 by
12789 # default) and relocated if they conflict, which is a slow very memory
12790 # consuming and fragmenting process. To avoid this, we pick a random,
12791 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12792 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12793 archive_cmds_CXX
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12794 archive_expsym_cmds_CXX
='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'
12797 case $cc_basename in
12800 archive_cmds_CXX
='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
12802 # Archives containing C++ object files must be created using
12803 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12804 # necessary to make sure instantiated templates are included
12806 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
12809 if test "$GXX" = yes; then
12810 if test "$with_gnu_ld" = no
; then
12811 archive_cmds_CXX
='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $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'
12813 archive_cmds_CXX
='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
12816 link_all_deplibs_CXX
=yes
12819 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12820 hardcode_libdir_separator_CXX
=:
12821 inherit_rpath_CXX
=yes
12824 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12825 case $cc_basename in
12827 # Kuck and Associates, Inc. (KAI) C++ Compiler
12829 # KCC will only create a shared library if the output file
12830 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12831 # to its proper name (with version) after linking.
12832 archive_cmds_CXX
='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
12833 archive_expsym_cmds_CXX
='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
12834 # Commands to make compiler produce verbose output that lists
12835 # what "hidden" libraries, object files and flags are used when
12836 # linking a shared library.
12838 # There doesn't appear to be a way to prevent this compiler from
12839 # explicitly linking system object files so we need to strip them
12840 # from the output so that they don't get included in the library
12842 output_verbose_link_cmd
='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
12844 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12845 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12847 # Archives containing C++ object files must be created using
12848 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12849 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
12854 # version 8.0 and above of icpc choke on multiply defined symbols
12855 # if we add $predep_objects and $postdep_objects, however 7.1 and
12856 # earlier do not add the objects themselves.
12857 case `$CC -V 2>&1` in
12859 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12860 archive_expsym_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12862 *) # Version 8.0 or newer
12865 ia64
*) tmp_idyn
=' -i_dynamic';;
12867 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12868 archive_expsym_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12871 archive_cmds_need_lc_CXX
=no
12872 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12873 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12874 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12877 # Portland Group C++ compiler
12879 *pgCC\
[1-5].
* |
*pgcpp\
[1-5].
*)
12880 prelink_cmds_CXX
='tpldir=Template.dir~
12882 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12883 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
12884 old_archive_cmds_CXX
='tpldir=Template.dir~
12886 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12887 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
12889 archive_cmds_CXX
='tpldir=Template.dir~
12891 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12892 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12893 archive_expsym_cmds_CXX
='tpldir=Template.dir~
12895 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12896 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
12898 *) # Version 6 and above use weak symbols
12899 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12900 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
12904 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
12905 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12906 whole_archive_flag_spec_CXX
='${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'
12910 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12911 archive_expsym_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
12913 runpath_var
=LD_RUN_PATH
12914 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
12915 hardcode_libdir_separator_CXX
=:
12917 # Commands to make compiler produce verbose output that lists
12918 # what "hidden" libraries, object files and flags are used when
12919 # linking a shared library.
12921 # There doesn't appear to be a way to prevent this compiler from
12922 # explicitly linking system object files so we need to strip them
12923 # from the output so that they don't get included in the library
12925 output_verbose_link_cmd
='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
12927 xl
* | mpixl
* | bgxl
*)
12928 # IBM XL 8.0 on PPC, with GNU ld
12929 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12930 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12931 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12932 if test "x$supports_anon_versioning" = xyes
; then
12933 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
12934 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12935 echo "local: *; };" >> $output_objdir/$libname.ver~
12936 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12940 case `$CC -V 2>&1 | sed 5q` in
12943 no_undefined_flag_CXX
=' -zdefs'
12944 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12945 archive_expsym_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
12946 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12947 whole_archive_flag_spec_CXX
='${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'
12948 compiler_needs_object_CXX
=yes
12950 # Not sure whether something based on
12951 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12953 output_verbose_link_cmd
='func_echo_all'
12955 # Archives containing C++ object files must be created using
12956 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12957 # necessary to make sure instantiated templates are included
12959 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
12967 # FIXME: insert proper C++ library support
12972 # FIXME: insert proper C++ library support
12977 case $cc_basename in
12979 # FIXME: insert proper C++ library support
12983 # FIXME: insert proper C++ library support
12990 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12991 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12993 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12994 hardcode_direct_CXX
=yes
12995 hardcode_shlibpath_var_CXX
=no
12997 # Workaround some broken pre-1.5 toolchains
12998 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13006 # C++ shared libraries are fairly broken
13011 if test -f /usr
/libexec
/ld.so
; then
13012 hardcode_direct_CXX
=yes
13013 hardcode_shlibpath_var_CXX
=no
13014 hardcode_direct_absolute_CXX
=yes
13015 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13016 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13017 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13018 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13019 export_dynamic_flag_spec_CXX
='${wl}-E'
13020 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13022 output_verbose_link_cmd
=func_echo_all
13028 osf3
* | osf4
* | osf5
*)
13029 case $cc_basename in
13031 # Kuck and Associates, Inc. (KAI) C++ Compiler
13033 # KCC will only create a shared library if the output file
13034 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13035 # to its proper name (with version) after linking.
13036 archive_cmds_CXX
='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
13038 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13039 hardcode_libdir_separator_CXX
=:
13041 # Archives containing C++ object files must be created using
13042 # the KAI C++ compiler.
13044 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
13045 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
13049 # Rational C++ 2.4.1
13050 # FIXME: insert proper C++ library support
13056 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13057 archive_cmds_CXX
='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
13058 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13061 allow_undefined_flag_CXX
=' -expect_unresolved \*'
13062 archive_cmds_CXX
='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
13063 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13064 echo "-hidden">> $lib.exp~
13065 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~
13067 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13071 hardcode_libdir_separator_CXX
=:
13073 # Commands to make compiler produce verbose output that lists
13074 # what "hidden" libraries, object files and flags are used when
13075 # linking a shared library.
13077 # There doesn't appear to be a way to prevent this compiler from
13078 # explicitly linking system object files so we need to strip them
13079 # from the output so that they don't get included in the library
13081 output_verbose_link_cmd
='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13084 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13085 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13088 archive_cmds_CXX
='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $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'
13091 archive_cmds_CXX
='$CC -shared $pic_flag -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $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'
13095 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13096 hardcode_libdir_separator_CXX
=:
13098 # Commands to make compiler produce verbose output that lists
13099 # what "hidden" libraries, object files and flags are used when
13100 # linking a shared library.
13101 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13104 # FIXME: insert proper C++ library support
13112 # FIXME: insert proper C++ library support
13117 case $cc_basename in
13120 # FIXME: insert proper C++ library support
13125 # FIXME: insert proper C++ library support
13129 # FIXME: insert proper C++ library support
13136 case $cc_basename in
13138 # Sun C++ 4.2, 5.x and Centerline C++
13139 archive_cmds_need_lc_CXX
=yes
13140 no_undefined_flag_CXX
=' -zdefs'
13141 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13142 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13143 $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13145 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13146 hardcode_shlibpath_var_CXX
=no
13148 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13150 # The compiler driver will combine and reorder linker options,
13151 # but understands `-z linker_flag'.
13152 # Supported since Solaris 2.6 (maybe 2.5.1?)
13153 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
13156 link_all_deplibs_CXX
=yes
13158 output_verbose_link_cmd
='func_echo_all'
13160 # Archives containing C++ object files must be created using
13161 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13162 # necessary to make sure instantiated templates are included
13164 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13167 # Green Hills C++ Compiler
13168 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13170 # The C++ compiler must be used to create the archive.
13171 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13174 # GNU C++ compiler with Solaris linker
13175 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13176 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
13177 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
13178 archive_cmds_CXX
='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13179 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13180 $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13182 # Commands to make compiler produce verbose output that lists
13183 # what "hidden" libraries, object files and flags are used when
13184 # linking a shared library.
13185 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13187 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13189 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13190 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13191 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13193 # Commands to make compiler produce verbose output that lists
13194 # what "hidden" libraries, object files and flags are used when
13195 # linking a shared library.
13196 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13199 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
13201 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13203 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13211 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
13212 no_undefined_flag_CXX
='${wl}-z,text'
13213 archive_cmds_need_lc_CXX
=no
13214 hardcode_shlibpath_var_CXX
=no
13215 runpath_var
='LD_RUN_PATH'
13217 case $cc_basename in
13219 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13220 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13223 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13224 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13229 sysv5
* | sco3.2v5
* | sco5v6
*)
13230 # Note: We can NOT use -z defs as we might desire, because we do not
13231 # link with -lc, and that would cause any symbols used from libc to
13232 # always be unresolved, which means just about no library would
13233 # ever link correctly. If we're not using GNU ld we use -z text
13234 # though, which does catch some bad symbols but isn't as heavy-handed
13236 no_undefined_flag_CXX
='${wl}-z,text'
13237 allow_undefined_flag_CXX
='${wl}-z,nodefs'
13238 archive_cmds_need_lc_CXX
=no
13239 hardcode_shlibpath_var_CXX
=no
13240 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
13241 hardcode_libdir_separator_CXX
=':'
13242 link_all_deplibs_CXX
=yes
13243 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
13244 runpath_var
='LD_RUN_PATH'
13246 case $cc_basename in
13248 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13249 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13250 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
13251 '"$old_archive_cmds_CXX"
13252 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
13253 '"$reload_cmds_CXX"
13256 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13257 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13263 case $cc_basename in
13265 # NonStop-UX NCC 3.20
13266 # FIXME: insert proper C++ library support
13270 # FIXME: insert proper C++ library support
13277 # FIXME: insert proper C++ library support
13282 # FIXME: insert proper C++ library support
13287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13288 $as_echo "$ld_shlibs_CXX" >&6; }
13289 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
13295 ## There is no encapsulation within the following macros, do not change
13296 ## the running order or otherwise move them around unless you know exactly
13297 ## what you are doing...
13298 # Dependencies to place before and after the object being linked:
13299 predep_objects_CXX
=
13300 postdep_objects_CXX
=
13303 compiler_lib_search_path_CXX
=
13305 cat > conftest.
$ac_ext <<_LT_EOF
13309 Foo (void) { a = 0; }
13316 _lt_libdeps_save_CFLAGS
=$CFLAGS
13317 case "$CC $CFLAGS " in #(
13318 *\
-flto*\
*) CFLAGS
="$CFLAGS -fno-lto" ;;
13319 *\
-fwhopr*\
*) CFLAGS
="$CFLAGS -fno-whopr" ;;
13322 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13323 (eval $ac_compile) 2>&5
13325 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13326 test $ac_status = 0; }; then
13327 # Parse the compiler output and extract the necessary
13328 # objects, libraries and library flags.
13330 # Sentinel used to keep track of whether or not we are before
13331 # the conftest object file.
13332 pre_test_object_deps_done
=no
13334 for p
in `eval "$output_verbose_link_cmd"`; do
13335 case ${prev}${p} in
13338 # Some compilers place space between "-{L,R}" and the path.
13339 # Remove the space.
13340 if test $p = "-L" ||
13341 test $p = "-R"; then
13346 # Expand the sysroot to ease extracting the directories later.
13347 if test -z "$prev"; then
13349 -L*) func_stripname_cnf
'-L' '' "$p"; prev
=-L; p
=$func_stripname_result ;;
13350 -R*) func_stripname_cnf
'-R' '' "$p"; prev
=-R; p
=$func_stripname_result ;;
13351 -l*) func_stripname_cnf
'-l' '' "$p"; prev
=-l; p
=$func_stripname_result ;;
13355 =*) func_stripname_cnf
'=' '' "$p"; p
=$lt_sysroot$func_stripname_result ;;
13357 if test "$pre_test_object_deps_done" = no
; then
13360 # Internal compiler library paths should come after those
13361 # provided the user. The postdeps already come after the
13362 # user supplied libs so there is no need to process them.
13363 if test -z "$compiler_lib_search_path_CXX"; then
13364 compiler_lib_search_path_CXX
="${prev}${p}"
13366 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
13369 # The "-l" case would never come before the object being
13370 # linked, so don't bother handling this case.
13373 if test -z "$postdeps_CXX"; then
13374 postdeps_CXX
="${prev}${p}"
13376 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
13382 *.lto.
$objext) ;; # Ignore GCC LTO objects
13384 # This assumes that the test object file only shows up
13385 # once in the compiler output.
13386 if test "$p" = "conftest.$objext"; then
13387 pre_test_object_deps_done
=yes
13391 if test "$pre_test_object_deps_done" = no
; then
13392 if test -z "$predep_objects_CXX"; then
13393 predep_objects_CXX
="$p"
13395 predep_objects_CXX
="$predep_objects_CXX $p"
13398 if test -z "$postdep_objects_CXX"; then
13399 postdep_objects_CXX
="$p"
13401 postdep_objects_CXX
="$postdep_objects_CXX $p"
13406 *) ;; # Ignore the rest.
13414 echo "libtool.m4: error: problem compiling CXX test program"
13417 $RM -f confest.
$objext
13418 CFLAGS
=$_lt_libdeps_save_CFLAGS
13420 # PORTME: override above test on systems where it is broken
13423 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13424 # hack all around it, let's just trust "g++" to DTRT.
13425 predep_objects_CXX
=
13426 postdep_objects_CXX
=
13431 case `$CC -V 2>&1 | sed 5q` in
13435 # The more standards-conforming stlport4 library is
13436 # incompatible with the Cstd library. Avoid specifying
13437 # it if it's in CXXFLAGS. Ignore libCrun as
13438 # -library=stlport4 depends on it.
13439 case " $CXX $CXXFLAGS " in
13440 *" -library=stlport4 "*)
13441 solaris_use_stlport4
=yes
13445 if test "$solaris_use_stlport4" != yes; then
13446 postdeps_CXX
='-library=Cstd -library=Crun'
13453 case $cc_basename in
13455 # The more standards-conforming stlport4 library is
13456 # incompatible with the Cstd library. Avoid specifying
13457 # it if it's in CXXFLAGS. Ignore libCrun as
13458 # -library=stlport4 depends on it.
13459 case " $CXX $CXXFLAGS " in
13460 *" -library=stlport4 "*)
13461 solaris_use_stlport4
=yes
13465 # Adding this requires a known-good setup of shared libraries for
13466 # Sun compiler versions before 5.6, else PIC objects from an old
13467 # archive will be linked into the output, leading to subtle bugs.
13468 if test "$solaris_use_stlport4" != yes; then
13469 postdeps_CXX
='-library=Cstd -library=Crun'
13477 case " $postdeps_CXX " in
13478 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
13480 compiler_lib_search_dirs_CXX
=
13481 if test -n "${compiler_lib_search_path_CXX}"; then
13482 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13515 lt_prog_compiler_wl_CXX
=
13516 lt_prog_compiler_pic_CXX
=
13517 lt_prog_compiler_static_CXX
=
13520 # C++ specific cases for pic, static, wl, etc.
13521 if test "$GXX" = yes; then
13522 lt_prog_compiler_wl_CXX
='-Wl,'
13523 lt_prog_compiler_static_CXX
='-static'
13527 # All AIX code is PIC.
13528 if test "$host_cpu" = ia64
; then
13529 # AIX 5 now supports IA64 processor
13530 lt_prog_compiler_static_CXX
='-Bstatic'
13537 # see comment about AmigaOS4 .so support
13538 lt_prog_compiler_pic_CXX
='-fPIC'
13541 # FIXME: we need at least 68020 code to build shared libraries, but
13542 # adding the `-m68020' flag to GCC prevents building anything better,
13544 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
13549 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13550 # PIC is the default for these OSes.
13552 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
13553 # This hack is so that the source file can tell whether it is being
13554 # built for inclusion in a dll (and should export symbols for example).
13555 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13556 # (--disable-auto-import) libraries
13557 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
13559 darwin
* | rhapsody
*)
13560 # PIC is the default on this platform
13561 # Common symbols not allowed in MH_DYLIB files
13562 lt_prog_compiler_pic_CXX
='-fno-common'
13565 # DJGPP does not support shared libraries at all
13566 lt_prog_compiler_pic_CXX
=
13569 # PIC is the default for Haiku.
13570 # The "-static" flag exists, but is broken.
13571 lt_prog_compiler_static_CXX
=
13574 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13575 # Instead, we relocate shared libraries at runtime.
13578 if test -d /usr
/nec
; then
13579 lt_prog_compiler_pic_CXX
=-Kconform_pic
13583 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13584 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13585 # sets the default TLS model and affects inlining.
13590 lt_prog_compiler_pic_CXX
='-fPIC'
13595 # QNX uses GNU C++, but need to define -shared option too, otherwise
13596 # it will coredump.
13597 lt_prog_compiler_pic_CXX
='-fPIC -shared'
13600 lt_prog_compiler_pic_CXX
='-fPIC'
13606 # All AIX code is PIC.
13607 if test "$host_cpu" = ia64
; then
13608 # AIX 5 now supports IA64 processor
13609 lt_prog_compiler_static_CXX
='-Bstatic'
13611 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
13615 case $cc_basename in
13617 # Green Hills C++ Compiler
13618 # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
13622 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
13623 # This hack is so that the source file can tell whether it is being
13624 # built for inclusion in a dll (and should export symbols for example).
13625 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
13628 case $cc_basename in
13630 lt_prog_compiler_pic_CXX
='-KPIC'
13633 # Green Hills C++ Compiler
13634 lt_prog_compiler_pic_CXX
='-pic'
13640 freebsd
* | dragonfly
*)
13641 # FreeBSD uses GNU C++
13643 hpux9
* | hpux10
* | hpux11
*)
13644 case $cc_basename in
13646 lt_prog_compiler_wl_CXX
='-Wl,'
13647 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
13648 if test "$host_cpu" != ia64
; then
13649 lt_prog_compiler_pic_CXX
='+Z'
13653 lt_prog_compiler_wl_CXX
='-Wl,'
13654 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
13660 lt_prog_compiler_pic_CXX
='+Z'
13669 # This is c89, which is MS Visual C++ (no shared libs)
13670 # Anyone wants to do a port?
13672 irix5
* | irix6
* | nonstopux
*)
13673 case $cc_basename in
13675 lt_prog_compiler_wl_CXX
='-Wl,'
13676 lt_prog_compiler_static_CXX
='-non_shared'
13677 # CC pic flag -KPIC is the default.
13683 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13684 case $cc_basename in
13687 lt_prog_compiler_wl_CXX
='--backend -Wl,'
13688 lt_prog_compiler_pic_CXX
='-fPIC'
13691 # old Intel C++ for x86_64 which still supported -KPIC.
13692 lt_prog_compiler_wl_CXX
='-Wl,'
13693 lt_prog_compiler_pic_CXX
='-KPIC'
13694 lt_prog_compiler_static_CXX
='-static'
13697 # Intel C++, used to be incompatible with GCC.
13698 # ICC 10 doesn't accept -KPIC any more.
13699 lt_prog_compiler_wl_CXX
='-Wl,'
13700 lt_prog_compiler_pic_CXX
='-fPIC'
13701 lt_prog_compiler_static_CXX
='-static'
13704 # Portland Group C++ compiler
13705 lt_prog_compiler_wl_CXX
='-Wl,'
13706 lt_prog_compiler_pic_CXX
='-fpic'
13707 lt_prog_compiler_static_CXX
='-Bstatic'
13711 # Make sure the PIC flag is empty. It appears that all Alpha
13712 # Linux and Compaq Tru64 Unix objects are PIC.
13713 lt_prog_compiler_pic_CXX
=
13714 lt_prog_compiler_static_CXX
='-non_shared'
13716 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
13717 # IBM XL 8.0, 9.0 on PPC and BlueGene
13718 lt_prog_compiler_wl_CXX
='-Wl,'
13719 lt_prog_compiler_pic_CXX
='-qpic'
13720 lt_prog_compiler_static_CXX
='-qstaticlink'
13723 case `$CC -V 2>&1 | sed 5q` in
13726 lt_prog_compiler_pic_CXX
='-KPIC'
13727 lt_prog_compiler_static_CXX
='-Bstatic'
13728 lt_prog_compiler_wl_CXX
='-Qoption ld '
13739 case $cc_basename in
13741 lt_prog_compiler_pic_CXX
='-W c,exportall'
13747 netbsd
* | netbsdelf
*-gnu)
13750 # QNX uses GNU C++, but need to define -shared option too, otherwise
13751 # it will coredump.
13752 lt_prog_compiler_pic_CXX
='-fPIC -shared'
13754 osf3
* | osf4
* | osf5
*)
13755 case $cc_basename in
13757 lt_prog_compiler_wl_CXX
='--backend -Wl,'
13760 # Rational C++ 2.4.1
13761 lt_prog_compiler_pic_CXX
='-pic'
13764 # Digital/Compaq C++
13765 lt_prog_compiler_wl_CXX
='-Wl,'
13766 # Make sure the PIC flag is empty. It appears that all Alpha
13767 # Linux and Compaq Tru64 Unix objects are PIC.
13768 lt_prog_compiler_pic_CXX
=
13769 lt_prog_compiler_static_CXX
='-non_shared'
13778 case $cc_basename in
13780 # Sun C++ 4.2, 5.x and Centerline C++
13781 lt_prog_compiler_pic_CXX
='-KPIC'
13782 lt_prog_compiler_static_CXX
='-Bstatic'
13783 lt_prog_compiler_wl_CXX
='-Qoption ld '
13786 # Green Hills C++ Compiler
13787 lt_prog_compiler_pic_CXX
='-PIC'
13794 case $cc_basename in
13797 lt_prog_compiler_pic_CXX
='-pic'
13798 lt_prog_compiler_static_CXX
='-Bstatic'
13802 lt_prog_compiler_pic_CXX
='-pic'
13808 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
13809 case $cc_basename in
13811 lt_prog_compiler_wl_CXX
='-Wl,'
13812 lt_prog_compiler_pic_CXX
='-KPIC'
13813 lt_prog_compiler_static_CXX
='-Bstatic'
13818 case $cc_basename in
13820 # NonStop-UX NCC 3.20
13821 lt_prog_compiler_pic_CXX
='-KPIC'
13830 lt_prog_compiler_can_build_shared_CXX
=no
13836 # For platforms which do not support PIC, -DPIC is meaningless:
13838 lt_prog_compiler_pic_CXX
=
13841 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
13845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13846 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13847 if ${lt_cv_prog_compiler_pic_CXX+:} false
; then :
13848 $as_echo_n "(cached) " >&6
13850 lt_cv_prog_compiler_pic_CXX
=$lt_prog_compiler_pic_CXX
13852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
13853 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
13854 lt_prog_compiler_pic_CXX
=$lt_cv_prog_compiler_pic_CXX
13857 # Check to make sure the PIC flag actually works.
13859 if test -n "$lt_prog_compiler_pic_CXX"; then
13860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13861 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13862 if ${lt_cv_prog_compiler_pic_works_CXX+:} false
; then :
13863 $as_echo_n "(cached) " >&6
13865 lt_cv_prog_compiler_pic_works_CXX
=no
13866 ac_outfile
=conftest.
$ac_objext
13867 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13868 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
13869 # Insert the option either (1) after the last *FLAGS variable, or
13870 # (2) before a word containing "conftest.", or (3) at the end.
13871 # Note that $ac_compile itself does not contain backslashes and begins
13872 # with a dollar sign (not a hyphen), so the echo should work correctly.
13873 # The option is referenced via a variable to avoid confusing sed.
13874 lt_compile
=`echo "$ac_compile" | $SED \
13875 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13876 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13877 -e 's:$: $lt_compiler_flag:'`
13878 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13879 (eval "$lt_compile" 2>conftest.err
)
13881 cat conftest.err
>&5
13882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13883 if (exit $ac_status) && test -s "$ac_outfile"; then
13884 # The compiler can only warn and ignore the option if not recognized
13885 # So say no if there are warnings other than the usual output.
13886 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
13887 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13888 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
13889 lt_cv_prog_compiler_pic_works_CXX
=yes
13895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13896 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13898 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
13899 case $lt_prog_compiler_pic_CXX in
13901 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
13904 lt_prog_compiler_pic_CXX
=
13905 lt_prog_compiler_can_build_shared_CXX
=no
13915 # Check to make sure the static flag actually works.
13917 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
13918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13919 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13920 if ${lt_cv_prog_compiler_static_works_CXX+:} false
; then :
13921 $as_echo_n "(cached) " >&6
13923 lt_cv_prog_compiler_static_works_CXX
=no
13924 save_LDFLAGS
="$LDFLAGS"
13925 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
13926 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
13927 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
13928 # The linker can only warn and ignore the option if not recognized
13929 # So say no if there are warnings
13930 if test -s conftest.err
; then
13931 # Append any errors to the config.log.
13932 cat conftest.err
1>&5
13933 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
13934 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13935 if diff conftest.exp conftest.er2
>/dev
/null
; then
13936 lt_cv_prog_compiler_static_works_CXX
=yes
13939 lt_cv_prog_compiler_static_works_CXX
=yes
13943 LDFLAGS
="$save_LDFLAGS"
13946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13947 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13949 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
13952 lt_prog_compiler_static_CXX
=
13958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13959 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13960 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
13961 $as_echo_n "(cached) " >&6
13963 lt_cv_prog_compiler_c_o_CXX
=no
13964 $RM -r conftest
2>/dev
/null
13968 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13970 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13971 # Insert the option either (1) after the last *FLAGS variable, or
13972 # (2) before a word containing "conftest.", or (3) at the end.
13973 # Note that $ac_compile itself does not contain backslashes and begins
13974 # with a dollar sign (not a hyphen), so the echo should work correctly.
13975 lt_compile
=`echo "$ac_compile" | $SED \
13976 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13977 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13978 -e 's:$: $lt_compiler_flag:'`
13979 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13980 (eval "$lt_compile" 2>out
/conftest.err
)
13982 cat out
/conftest.err
>&5
13983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13984 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13986 # The compiler can only warn and ignore the option if not recognized
13987 # So say no if there are warnings
13988 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
13989 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13990 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13991 lt_cv_prog_compiler_c_o_CXX
=yes
13996 # SGI C++ compiler will create directory out/ii_files/ for
13997 # template instantiation
13998 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
13999 $RM out
/* && rmdir out
14005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14006 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14011 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14012 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
14013 $as_echo_n "(cached) " >&6
14015 lt_cv_prog_compiler_c_o_CXX
=no
14016 $RM -r conftest
2>/dev
/null
14020 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14022 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14023 # Insert the option either (1) after the last *FLAGS variable, or
14024 # (2) before a word containing "conftest.", or (3) at the end.
14025 # Note that $ac_compile itself does not contain backslashes and begins
14026 # with a dollar sign (not a hyphen), so the echo should work correctly.
14027 lt_compile
=`echo "$ac_compile" | $SED \
14028 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14029 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14030 -e 's:$: $lt_compiler_flag:'`
14031 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14032 (eval "$lt_compile" 2>out
/conftest.err
)
14034 cat out
/conftest.err
>&5
14035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14036 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14038 # The compiler can only warn and ignore the option if not recognized
14039 # So say no if there are warnings
14040 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
14041 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14042 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14043 lt_cv_prog_compiler_c_o_CXX
=yes
14048 # SGI C++ compiler will create directory out/ii_files/ for
14049 # template instantiation
14050 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14051 $RM out
/* && rmdir out
14057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14058 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14063 hard_links
="nottested"
14064 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
14065 # do not overwrite the value of need_locks provided by the user
14066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14067 $as_echo_n "checking if we can lock with hard links... " >&6; }
14070 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14072 ln conftest.a conftest.b
2>&5 || hard_links
=no
14073 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14075 $as_echo "$hard_links" >&6; }
14076 if test "$hard_links" = no
; then
14077 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14078 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14088 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14090 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14091 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14094 # If we're using GNU nm, then we don't want the "-C" option.
14095 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14096 # Also, AIX nm treats weak defined symbols like other global defined
14097 # symbols, whereas GNU nm marks them as "W".
14098 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
14099 export_symbols_cmds_CXX
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14101 export_symbols_cmds_CXX
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14105 export_symbols_cmds_CXX
="$ltdll_cmds"
14107 cygwin
* | mingw
* | cegcc
*)
14108 case $cc_basename in
14111 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
14112 exclude_expsyms_CXX
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
14116 linux
* | k
*bsd
*-gnu | gnu
*)
14117 link_all_deplibs_CXX
=no
14120 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14125 $as_echo "$ld_shlibs_CXX" >&6; }
14126 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14128 with_gnu_ld_CXX
=$with_gnu_ld
14136 # Do we need to explicitly link libc?
14138 case "x$archive_cmds_need_lc_CXX" in
14140 # Assume -lc should be added
14141 archive_cmds_need_lc_CXX
=yes
14143 if test "$enable_shared" = yes && test "$GCC" = yes; then
14144 case $archive_cmds_CXX in
14146 # FIXME: we may have to deal with multi-command sequences.
14149 # Test whether the compiler implicitly links with -lc since on some
14150 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14151 # to ld, don't add -lc before -lgcc.
14152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14153 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14154 if ${lt_cv_archive_cmds_need_lc_CXX+:} false
; then :
14155 $as_echo_n "(cached) " >&6
14158 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14160 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14161 (eval $ac_compile) 2>&5
14163 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14164 test $ac_status = 0; } 2>conftest.err
; then
14167 libobjs
=conftest.
$ac_objext
14169 wl
=$lt_prog_compiler_wl_CXX
14170 pic_flag
=$lt_prog_compiler_pic_CXX
14176 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
14177 allow_undefined_flag_CXX
=
14178 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14179 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
14181 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14182 test $ac_status = 0; }
14184 lt_cv_archive_cmds_need_lc_CXX
=no
14186 lt_cv_archive_cmds_need_lc_CXX
=yes
14188 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
14190 cat conftest.err
1>&5
14195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14196 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14197 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
14267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14268 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14270 library_names_spec
=
14271 libname_spec
='lib$name'
14275 postuninstall_cmds
=
14279 shlibpath_overrides_runpath
=unknown
14281 dynamic_linker
="$host_os ld.so"
14282 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
14283 need_lib_prefix
=unknown
14284 hardcode_into_libs
=no
14286 # when you set need_version to no, make sure it does not cause -set_version
14287 # flags to be left without arguments
14288 need_version
=unknown
14293 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
14294 shlibpath_var
=LIBPATH
14296 # AIX 3 has no versioning support, so we append a major version to the name.
14297 soname_spec
='${libname}${release}${shared_ext}$major'
14304 hardcode_into_libs
=yes
14305 if test "$host_cpu" = ia64
; then
14306 # AIX 5 supports IA64
14307 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14308 shlibpath_var
=LD_LIBRARY_PATH
14310 # With GCC up to 2.95.x, collect2 would create an import file
14311 # for dependence libraries. The import file would start with
14312 # the line `#! .'. This would cause the generated library to
14313 # depend on `.', always an invalid library. This was fixed in
14314 # development snapshots of GCC prior to 3.0.
14316 aix4 | aix4.
[01] | aix4.
[01].
*)
14317 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14319 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
14322 can_build_shared
=no
14326 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14327 # soname into executable. Probably we can add versioning support to
14328 # collect2, so additional links can be useful in future.
14329 if test "$aix_use_runtimelinking" = yes; then
14330 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14331 # instead of lib<name>.a to let people know that these are not
14332 # typical AIX shared libraries.
14333 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14335 # We preserve .a as extension for shared libraries through AIX4.2
14336 # and later when we are not doing run time linking.
14337 library_names_spec
='${libname}${release}.a $libname.a'
14338 soname_spec
='${libname}${release}${shared_ext}$major'
14340 shlibpath_var
=LIBPATH
14347 # Since July 2007 AmigaOS4 officially supports .so libraries.
14348 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14349 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14352 library_names_spec
='$libname.ixlibrary $libname.a'
14353 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14354 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'
14360 library_names_spec
='${libname}${shared_ext}'
14361 dynamic_linker
="$host_os ld.so"
14362 shlibpath_var
=LIBRARY_PATH
14368 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14369 soname_spec
='${libname}${release}${shared_ext}$major'
14370 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
14371 shlibpath_var
=LD_LIBRARY_PATH
14372 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14373 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
14374 # the default ld.so.conf also contains /usr/contrib/lib and
14375 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14376 # libtool to hard-code these into programs
14379 cygwin
* | mingw
* | pw32
* | cegcc
*)
14380 version_type
=windows
14385 case $GCC,$cc_basename in
14388 library_names_spec
='$libname.dll.a'
14389 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14390 postinstall_cmds
='base_file=`basename \${file}`~
14391 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14392 dldir=$destdir/`dirname \$dlpath`~
14393 test -d \$dldir || mkdir -p \$dldir~
14394 $install_prog $dir/$dlname \$dldir/$dlname~
14395 chmod a+x \$dldir/$dlname~
14396 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14397 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14399 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14400 dlpath=$dir/\$dldll~
14402 shlibpath_overrides_runpath
=yes
14406 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14407 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14411 # MinGW DLLs use traditional 'lib' prefix
14412 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14415 # pw32 DLLs use 'pw' prefix rather than 'lib'
14416 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14419 dynamic_linker
='Win32 ld.exe'
14424 libname_spec
='$name'
14425 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14426 library_names_spec
='${libname}.dll.lib'
14430 sys_lib_search_path_spec
=
14433 for lt_path
in $LIB
14436 # Let DOS variable expansion print the short 8.3 style file name.
14437 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
14438 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
14441 # Convert to MSYS style.
14442 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
14445 # Convert to unix form, then to dos form, then back to unix form
14446 # but this time dos style (no spaces!) so that the unix form looks
14447 # like /cygdrive/c/PROGRA~1:/cygdr...
14448 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
14449 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
14450 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14453 sys_lib_search_path_spec
="$LIB"
14454 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
14455 # It is most probably a Windows format PATH.
14456 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14458 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14460 # FIXME: find the short name or the path components, as spaces are
14461 # common. (e.g. "Program Files" -> "PROGRA~1")
14465 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14466 postinstall_cmds
='base_file=`basename \${file}`~
14467 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14468 dldir=$destdir/`dirname \$dlpath`~
14469 test -d \$dldir || mkdir -p \$dldir~
14470 $install_prog $dir/$dlname \$dldir/$dlname'
14471 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14472 dlpath=$dir/\$dldll~
14474 shlibpath_overrides_runpath
=yes
14475 dynamic_linker
='Win32 link.exe'
14479 # Assume MSVC wrapper
14480 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14481 dynamic_linker
='Win32 ld.exe'
14484 # FIXME: first we should search . and the directory the executable is in
14488 darwin
* | rhapsody
*)
14489 dynamic_linker
="$host_os dyld"
14490 version_type
=darwin
14493 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14494 soname_spec
='${libname}${release}${major}$shared_ext'
14495 shlibpath_overrides_runpath
=yes
14496 shlibpath_var
=DYLD_LIBRARY_PATH
14497 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
14499 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
14506 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14507 soname_spec
='${libname}${release}${shared_ext}$major'
14508 shlibpath_var
=LD_LIBRARY_PATH
14515 freebsd
* | dragonfly
*)
14516 # DragonFly does not have aout. When/if they implement a new
14517 # versioning mechanism, adjust this.
14518 if test -x /usr
/bin
/objformat
; then
14519 objformat
=`/usr/bin/objformat`
14522 freebsd
[123]*) objformat
=aout
;;
14523 *) objformat
=elf
;;
14526 version_type
=freebsd-
$objformat
14527 case $version_type in
14529 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14534 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14538 shlibpath_var
=LD_LIBRARY_PATH
14541 shlibpath_overrides_runpath
=yes
14543 freebsd3.
[01]* | freebsdelf3.
[01]*)
14544 shlibpath_overrides_runpath
=yes
14545 hardcode_into_libs
=yes
14547 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
14548 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
14549 shlibpath_overrides_runpath
=no
14550 hardcode_into_libs
=yes
14552 *) # from 4.6 on, and DragonFly
14553 shlibpath_overrides_runpath
=yes
14554 hardcode_into_libs
=yes
14563 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14564 soname_spec
='${libname}${release}${shared_ext}$major'
14565 shlibpath_var
=LD_LIBRARY_PATH
14566 shlibpath_overrides_runpath
=no
14567 hardcode_into_libs
=yes
14574 dynamic_linker
="$host_os runtime_loader"
14575 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14576 soname_spec
='${libname}${release}${shared_ext}$major'
14577 shlibpath_var
=LIBRARY_PATH
14578 shlibpath_overrides_runpath
=yes
14579 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
14580 hardcode_into_libs
=yes
14583 hpux9
* | hpux10
* | hpux11
*)
14584 # Give a soname corresponding to the major version so that dld.sl refuses to
14585 # link against other versions.
14592 hardcode_into_libs
=yes
14593 dynamic_linker
="$host_os dld.so"
14594 shlibpath_var
=LD_LIBRARY_PATH
14595 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14596 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14597 soname_spec
='${libname}${release}${shared_ext}$major'
14598 if test "X$HPUX_IA64_MODE" = X32
; then
14599 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14601 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
14603 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14607 hardcode_into_libs
=yes
14608 dynamic_linker
="$host_os dld.sl"
14609 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
14610 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14611 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14612 soname_spec
='${libname}${release}${shared_ext}$major'
14613 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14614 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14618 dynamic_linker
="$host_os dld.sl"
14619 shlibpath_var
=SHLIB_PATH
14620 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
14621 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14622 soname_spec
='${libname}${release}${shared_ext}$major'
14625 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14626 postinstall_cmds
='chmod 555 $lib'
14627 # or fails outright, so override atomically:
14628 install_override_mode
=555
14635 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14636 soname_spec
='${libname}${release}${shared_ext}$major'
14637 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
14638 shlibpath_var
=LD_LIBRARY_PATH
14639 shlibpath_overrides_runpath
=no
14640 hardcode_into_libs
=yes
14643 irix5
* | irix6
* | nonstopux
*)
14645 nonstopux
*) version_type
=nonstopux
;;
14647 if test "$lt_cv_prog_gnu_ld" = yes; then
14655 soname_spec
='${libname}${release}${shared_ext}$major'
14656 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14658 irix5
* | nonstopux
*)
14659 libsuff
= shlibsuff
=
14662 case $LD in # libtool.m4 will add one of these switches to LD
14663 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
14664 libsuff
= shlibsuff
= libmagic
=32-bit;;
14665 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
14666 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
14667 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
14668 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
14669 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
14673 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
14674 shlibpath_overrides_runpath
=no
14675 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14676 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
14677 hardcode_into_libs
=yes
14680 # No shared lib support for Linux oldld, aout, or coff.
14681 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
14685 # This must be Linux ELF.
14686 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
14690 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14691 soname_spec
='${libname}${release}${shared_ext}$major'
14692 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14693 shlibpath_var
=LD_LIBRARY_PATH
14694 shlibpath_overrides_runpath
=no
14696 # Some binutils ld are patched to set DT_RUNPATH
14697 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
14698 $as_echo_n "(cached) " >&6
14700 lt_cv_shlibpath_overrides_runpath
=no
14701 save_LDFLAGS
=$LDFLAGS
14702 save_libdir
=$libdir
14703 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14704 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14705 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14706 /* end confdefs.h. */
14716 if ac_fn_cxx_try_link
"$LINENO"; then :
14717 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
14718 lt_cv_shlibpath_overrides_runpath
=yes
14721 rm -f core conftest.err conftest.
$ac_objext \
14722 conftest
$ac_exeext conftest.
$ac_ext
14723 LDFLAGS
=$save_LDFLAGS
14724 libdir
=$save_libdir
14728 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
14730 # This implies no fast_install, which is unacceptable.
14731 # Some rework will be needed to allow for fast_install
14732 # before this can be enabled.
14733 hardcode_into_libs
=yes
14735 # Append ld.so.conf contents to the search path
14736 if test -f /etc
/ld.so.conf
; then
14737 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' ' '`
14738 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
14741 # We used to test for /lib/ld.so.1 and disable shared libraries on
14742 # powerpc, because MkLinux only supported shared libraries with the
14743 # GNU dynamic linker. Since this was broken with cross compilers,
14744 # most powerpc-linux boxes support dynamic linking these days and
14745 # people can always --disable-shared, the test was removed, and we
14746 # assume the GNU/Linux dynamic linker is in use.
14747 dynamic_linker
='GNU/Linux ld.so'
14754 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14755 soname_spec
='${libname}${release}${shared_ext}$major'
14756 shlibpath_var
=LD_LIBRARY_PATH
14757 shlibpath_overrides_runpath
=no
14758 hardcode_into_libs
=yes
14759 dynamic_linker
='NetBSD ld.elf_so'
14766 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14767 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14768 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14769 dynamic_linker
='NetBSD (a.out) ld.so'
14771 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14772 soname_spec
='${libname}${release}${shared_ext}$major'
14773 dynamic_linker
='NetBSD ld.elf_so'
14775 shlibpath_var
=LD_LIBRARY_PATH
14776 shlibpath_overrides_runpath
=yes
14777 hardcode_into_libs
=yes
14782 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14783 shlibpath_var
=LD_LIBRARY_PATH
14784 shlibpath_overrides_runpath
=yes
14791 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14792 soname_spec
='${libname}${release}${shared_ext}$major'
14793 shlibpath_var
=LD_LIBRARY_PATH
14794 shlibpath_overrides_runpath
=no
14795 hardcode_into_libs
=yes
14796 dynamic_linker
='ldqnx.so'
14801 sys_lib_dlsearch_path_spec
="/usr/lib"
14803 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14805 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
14806 *) need_version
=no
;;
14808 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14809 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14810 shlibpath_var
=LD_LIBRARY_PATH
14811 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14813 openbsd2.
[89] | openbsd2.
[89].
*)
14814 shlibpath_overrides_runpath
=no
14817 shlibpath_overrides_runpath
=yes
14821 shlibpath_overrides_runpath
=yes
14826 libname_spec
='$name'
14829 library_names_spec
='$libname${shared_ext} $libname.a'
14830 dynamic_linker
='OS/2 ld.exe'
14831 shlibpath_var
=LIBPATH
14834 osf3
* | osf4
* | osf5
*)
14838 soname_spec
='${libname}${release}${shared_ext}$major'
14839 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14840 shlibpath_var
=LD_LIBRARY_PATH
14841 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14842 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
14853 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14854 soname_spec
='${libname}${release}${shared_ext}$major'
14855 shlibpath_var
=LD_LIBRARY_PATH
14856 shlibpath_overrides_runpath
=yes
14857 hardcode_into_libs
=yes
14858 # ldd complains unless libraries are executable
14859 postinstall_cmds
='chmod +x $lib'
14864 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14865 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14866 shlibpath_var
=LD_LIBRARY_PATH
14867 shlibpath_overrides_runpath
=yes
14868 if test "$with_gnu_ld" = yes; then
14876 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14877 soname_spec
='${libname}${release}${shared_ext}$major'
14878 shlibpath_var
=LD_LIBRARY_PATH
14879 case $host_vendor in
14881 shlibpath_overrides_runpath
=no
14883 runpath_var
=LD_RUN_PATH
14891 shlibpath_overrides_runpath
=no
14892 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
14898 if test -d /usr
/nec
;then
14900 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14901 soname_spec
='$libname${shared_ext}.$major'
14902 shlibpath_var
=LD_LIBRARY_PATH
14906 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
14907 version_type
=freebsd-elf
14910 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14911 soname_spec
='${libname}${release}${shared_ext}$major'
14912 shlibpath_var
=LD_LIBRARY_PATH
14913 shlibpath_overrides_runpath
=yes
14914 hardcode_into_libs
=yes
14915 if test "$with_gnu_ld" = yes; then
14916 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14918 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
14921 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
14925 sys_lib_dlsearch_path_spec
='/usr/lib'
14929 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14933 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14934 shlibpath_var
=LD_LIBRARY_PATH
14935 shlibpath_overrides_runpath
=no
14936 hardcode_into_libs
=yes
14941 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14942 soname_spec
='${libname}${release}${shared_ext}$major'
14943 shlibpath_var
=LD_LIBRARY_PATH
14950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14951 $as_echo "$dynamic_linker" >&6; }
14952 test "$dynamic_linker" = no
&& can_build_shared
=no
14954 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
14955 if test "$GCC" = yes; then
14956 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14959 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14960 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
14962 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14963 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
15003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15004 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15005 hardcode_action_CXX
=
15006 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15007 test -n "$runpath_var_CXX" ||
15008 test "X$hardcode_automatic_CXX" = "Xyes" ; then
15010 # We can hardcode non-existent directories.
15011 if test "$hardcode_direct_CXX" != no
&&
15012 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15013 # have to relink, otherwise we might link with an installed library
15014 # when we should be linking with a yet-to-be-installed one
15015 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15016 test "$hardcode_minus_L_CXX" != no
; then
15017 # Linking always hardcodes the temporary library directory.
15018 hardcode_action_CXX
=relink
15020 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15021 hardcode_action_CXX
=immediate
15024 # We cannot hardcode anything, or else we can only hardcode existing
15026 hardcode_action_CXX
=unsupported
15028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15029 $as_echo "$hardcode_action_CXX" >&6; }
15031 if test "$hardcode_action_CXX" = relink ||
15032 test "$inherit_rpath_CXX" = yes; then
15033 # Fast installation is not supported
15034 enable_fast_install
=no
15035 elif test "$shlibpath_overrides_runpath" = yes ||
15036 test "$enable_shared" = no
; then
15037 # Fast installation is not necessary
15038 enable_fast_install
=needless
15047 fi # test -n "$compiler"
15050 CFLAGS
=$lt_save_CFLAGS
15054 with_gnu_ld
=$lt_save_with_gnu_ld
15055 lt_cv_path_LDCXX
=$lt_cv_path_LD
15056 lt_cv_path_LD
=$lt_save_path_LD
15057 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
15058 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
15059 fi # test "$_lt_caught_CXX_error" != yes
15062 ac_cpp
='$CPP $CPPFLAGS'
15063 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15064 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15065 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15068 # Find a good install program. We prefer a C program (faster),
15069 # so one script is as good as another. But avoid the broken or
15070 # incompatible versions:
15071 # SysV /etc/install, /usr/sbin/install
15072 # SunOS /usr/etc/install
15073 # IRIX /sbin/install
15075 # AmigaOS /C/install, which installs bootblocks on floppy discs
15076 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
15077 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
15078 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
15079 # OS/2's system install, which has a completely different semantic
15080 # ./install, which can be erroneously created by make from ./install.sh.
15081 # Reject install programs that cannot install multiple files.
15082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
15083 $as_echo_n "checking for a BSD-compatible install... " >&6; }
15084 if test -z "$INSTALL"; then
15085 if ${ac_cv_path_install+:} false
; then :
15086 $as_echo_n "(cached) " >&6
15088 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15089 for as_dir
in $PATH
15092 test -z "$as_dir" && as_dir
=.
15093 # Account for people who put trailing slashes in PATH elements.
15094 case $as_dir/ in #((
15095 .
/ | .
// |
/[cC
]/* | \
15096 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
15097 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
15100 # OSF1 and SCO ODT 3.0 have their own names for install.
15101 # Don't use installbsd from OSF since it installs stuff as root
15103 for ac_prog
in ginstall scoinst
install; do
15104 for ac_exec_ext
in '' $ac_executable_extensions; do
15105 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
15106 if test $ac_prog = install &&
15107 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
15108 # AIX install. It has an incompatible calling convention.
15110 elif test $ac_prog = install &&
15111 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
15112 # program-specific install script used by HP pwplus--don't use.
15115 rm -rf conftest.one conftest.two conftest.dir
15116 echo one
> conftest.one
15117 echo two
> conftest.two
15119 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
15120 test -s conftest.one
&& test -s conftest.two
&&
15121 test -s conftest.dir
/conftest.one
&&
15122 test -s conftest.dir
/conftest.two
15124 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
15137 rm -rf conftest.one conftest.two conftest.dir
15140 if test "${ac_cv_path_install+set}" = set; then
15141 INSTALL
=$ac_cv_path_install
15143 # As a last resort, use the slow shell script. Don't cache a
15144 # value for INSTALL within a source directory, because that will
15145 # break other packages using the cache if that directory is
15146 # removed, or if the value is a relative name.
15147 INSTALL
=$ac_install_sh
15150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
15151 $as_echo "$INSTALL" >&6; }
15153 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
15154 # It thinks the first close brace ends the variable substitution.
15155 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
15157 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
15159 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
15162 if test "$GCC" = yes ; then
15163 OLDCFLAGS
="$CFLAGS -Wall -Wmissing-prototypes -Wstrict-prototypes"
15164 CFLAGS
="$OLDCFLAGS -fexceptions"
15165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -fexceptions" >&5
15166 $as_echo_n "checking whether $CC accepts -fexceptions... " >&6; }
15167 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15168 /* end confdefs.h. */
15178 if ac_fn_c_try_link
"$LINENO"; then :
15179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15180 $as_echo "yes" >&6; }
15182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15183 $as_echo "no" >&6; }; CFLAGS
="$OLDCFLAGS"
15185 rm -f core conftest.err conftest.
$ac_objext \
15186 conftest
$ac_exeext conftest.
$ac_ext
15187 CXXFLAGS
=`echo "$CFLAGS" | sed 's/ -Wmissing-prototypes -Wstrict-prototypes//'`
15190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
15191 $as_echo_n "checking for ANSI C header files... " >&6; }
15192 if ${ac_cv_header_stdc+:} false
; then :
15193 $as_echo_n "(cached) " >&6
15195 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15196 /* end confdefs.h. */
15197 #include <stdlib.h>
15198 #include <stdarg.h>
15199 #include <string.h>
15210 if ac_fn_c_try_compile
"$LINENO"; then :
15211 ac_cv_header_stdc
=yes
15213 ac_cv_header_stdc
=no
15215 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15217 if test $ac_cv_header_stdc = yes; then
15218 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
15219 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15220 /* end confdefs.h. */
15221 #include <string.h>
15224 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15225 $EGREP "memchr" >/dev
/null
2>&1; then :
15228 ac_cv_header_stdc
=no
15234 if test $ac_cv_header_stdc = yes; then
15235 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
15236 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15237 /* end confdefs.h. */
15238 #include <stdlib.h>
15241 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15242 $EGREP "free" >/dev
/null
2>&1; then :
15245 ac_cv_header_stdc
=no
15251 if test $ac_cv_header_stdc = yes; then
15252 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
15253 if test "$cross_compiling" = yes; then :
15256 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15257 /* end confdefs.h. */
15259 #include <stdlib.h>
15260 #if ((' ' & 0x0FF) == 0x020)
15261 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
15262 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
15264 # define ISLOWER(c) \
15265 (('a' <= (c) && (c) <= 'i') \
15266 || ('j' <= (c) && (c) <= 'r') \
15267 || ('s' <= (c) && (c) <= 'z'))
15268 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
15271 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
15276 for (i = 0; i < 256; i++)
15277 if (XOR (islower (i), ISLOWER (i))
15278 || toupper (i) != TOUPPER (i))
15283 if ac_fn_c_try_run
"$LINENO"; then :
15286 ac_cv_header_stdc
=no
15288 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
15289 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
15295 $as_echo "$ac_cv_header_stdc" >&6; }
15296 if test $ac_cv_header_stdc = yes; then
15298 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
15304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
15305 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
15306 if ${ac_cv_c_bigendian+:} false
; then :
15307 $as_echo_n "(cached) " >&6
15309 ac_cv_c_bigendian
=unknown
15310 # See if sys/param.h defines the BYTE_ORDER macro.
15311 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15312 /* end confdefs.h. */
15313 #include <sys/types.h>
15314 #include <sys/param.h>
15319 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
15320 bogus endian macros
15326 if ac_fn_c_try_compile
"$LINENO"; then :
15327 # It does; now see whether it defined to BIG_ENDIAN or not.
15328 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15329 /* end confdefs.h. */
15330 #include <sys/types.h>
15331 #include <sys/param.h>
15336 #if BYTE_ORDER != BIG_ENDIAN
15343 if ac_fn_c_try_compile
"$LINENO"; then :
15344 ac_cv_c_bigendian
=yes
15346 ac_cv_c_bigendian
=no
15348 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15350 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15351 if test $ac_cv_c_bigendian = unknown
; then
15352 if test "$cross_compiling" = yes; then :
15353 echo $ac_n "cross-compiling... " 2>&6
15355 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15356 /* end confdefs.h. */
15358 /* Are we little or big endian? From Harbison&Steele. */
15362 char c[sizeof (long)];
15365 exit (u.c[sizeof (long) - 1] == 1);
15368 if ac_fn_c_try_run
"$LINENO"; then :
15369 ac_cv_c_bigendian
=no
15371 ac_cv_c_bigendian
=yes
15373 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
15374 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
15380 $as_echo "$ac_cv_c_bigendian" >&6; }
15381 if test $ac_cv_c_bigendian = unknown
; then
15382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to probe for byte ordering" >&5
15383 $as_echo_n "checking to probe for byte ordering... " >&6; }
15385 cat >conftest.c
<<EOF
15386 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
15387 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
15388 void _ascii() { char* s = (char*) ascii_mm; s = (char*) ascii_ii; }
15389 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
15390 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
15391 void _ebcdic() { char* s = (char*) ebcdic_mm; s = (char*) ebcdic_ii; }
15392 int main() { _ascii (); _ebcdic (); return 0; }
15394 if test -f conftest.c
; then
15395 if ${CC-cc} -c conftest.c
-o conftest.o
&& test -f conftest.o
; then
15396 if test `grep -l BIGenDianSyS conftest.o` ; then
15397 echo $ac_n ' big endian probe OK, ' 1>&6
15398 ac_cv_c_bigendian
=yes
15400 if test `grep -l LiTTleEnDian conftest.o` ; then
15401 echo $ac_n ' little endian probe OK, ' 1>&6
15402 if test $ac_cv_c_bigendian = yes ; then
15403 ac_cv_c_bigendian
=unknown
;
15405 ac_cv_c_bigendian
=no
15408 echo $ac_n 'guessing bigendian ... ' >&6
15411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
15412 $as_echo "$ac_cv_c_bigendian" >&6; }
15414 if test $ac_cv_c_bigendian = yes; then
15416 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
15423 cat >>confdefs.h
<<_ACEOF
15424 #define BYTEORDER $BYTEORDER
15427 if test $ac_cv_c_bigendian = unknown
; then
15428 as_fn_error please pre-set ac_cv_c_bigendian
"unknown endianess - sorry" "$LINENO" 5
15432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
15433 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
15434 if ${ac_cv_c_const+:} false
; then :
15435 $as_echo_n "(cached) " >&6
15437 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15438 /* end confdefs.h. */
15443 /* FIXME: Include the comments suggested by Paul. */
15444 #ifndef __cplusplus
15445 /* Ultrix mips cc rejects this. */
15446 typedef int charset[2];
15448 /* SunOS 4.1.1 cc rejects this. */
15449 char const *const *pcpcc;
15451 /* NEC SVR4.0.2 mips cc rejects this. */
15452 struct point {int x, y;};
15453 static struct point const zero = {0,0};
15454 /* AIX XL C 1.02.0.0 rejects this.
15455 It does not let you subtract one const X* pointer from another in
15456 an arm of an if-expression whose if-part is not a constant
15458 const char *g = "string";
15459 pcpcc = &g + (g ? g-g : 0);
15460 /* HPUX 7.0 cc rejects these. */
15462 ppc = (char**) pcpcc;
15463 pcpcc = (char const *const *) ppc;
15464 { /* SCO 3.2v4 cc rejects this. */
15466 char const *s = 0 ? (char *) 0 : (char const *) 0;
15471 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
15472 int x[] = {25, 17};
15473 const int *foo = &x[0];
15476 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
15477 typedef const int *iptr;
15481 { /* AIX XL C 1.02.0.0 rejects this saying
15482 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
15483 struct s { int j; const int *ap[3]; };
15484 struct s *b; b->j = 5;
15486 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
15487 const int foo = 10;
15488 if (!foo) return 0;
15490 return !cs[0] && !zero.x;
15497 if ac_fn_c_try_compile
"$LINENO"; then :
15502 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
15505 $as_echo "$ac_cv_c_const" >&6; }
15506 if test $ac_cv_c_const = no
; then
15508 $as_echo "#define const /**/" >>confdefs.h
15512 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15513 if test "x$ac_cv_type_size_t" = xyes
; then :
15517 cat >>confdefs.h
<<_ACEOF
15518 #define size_t unsigned int
15523 for ac_func
in memmove bcopy
15525 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15526 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15527 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15528 cat >>confdefs.h
<<_ACEOF
15529 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15536 for ac_header
in fcntl.h unistd.h
15538 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15539 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15540 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
15541 cat >>confdefs.h
<<_ACEOF
15542 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15549 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15550 if test "x$ac_cv_type_off_t" = xyes
; then :
15554 cat >>confdefs.h
<<_ACEOF
15555 #define off_t long int
15563 for ac_header
in $ac_header_list
15565 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15566 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
15568 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
15569 cat >>confdefs.h
<<_ACEOF
15570 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15584 for ac_func
in getpagesize
15586 ac_fn_c_check_func
"$LINENO" "getpagesize" "ac_cv_func_getpagesize"
15587 if test "x$ac_cv_func_getpagesize" = xyes
; then :
15588 cat >>confdefs.h
<<_ACEOF
15589 #define HAVE_GETPAGESIZE 1
15595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
15596 $as_echo_n "checking for working mmap... " >&6; }
15597 if ${ac_cv_func_mmap_fixed_mapped+:} false
; then :
15598 $as_echo_n "(cached) " >&6
15600 if test "$cross_compiling" = yes; then :
15601 ac_cv_func_mmap_fixed_mapped
=no
15603 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15604 /* end confdefs.h. */
15605 $ac_includes_default
15606 /* malloc might have been renamed as rpl_malloc. */
15609 /* Thanks to Mike Haertel and Jim Avera for this test.
15610 Here is a matrix of mmap possibilities:
15611 mmap private not fixed
15612 mmap private fixed at somewhere currently unmapped
15613 mmap private fixed at somewhere already mapped
15614 mmap shared not fixed
15615 mmap shared fixed at somewhere currently unmapped
15616 mmap shared fixed at somewhere already mapped
15617 For private mappings, we should verify that changes cannot be read()
15618 back from the file, nor mmap's back from the file at a different
15619 address. (There have been systems where private was not correctly
15620 implemented like the infamous i386 svr4.0, and systems where the
15621 VM page cache was not coherent with the file system buffer cache
15622 like early versions of FreeBSD and possibly contemporary NetBSD.)
15623 For shared mappings, we should conversely verify that changes get
15624 propagated back to all the places they're supposed to be.
15626 Grep wants private fixed already mapped.
15627 The main things grep needs to know about mmap are:
15628 * does it exist and is it safe to write into the mmap'd area
15629 * how to use it (BSD variants) */
15632 #include <sys/mman.h>
15634 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
15638 /* This mess was copied from the GNU getpagesize.h. */
15639 #ifndef HAVE_GETPAGESIZE
15640 # ifdef _SC_PAGESIZE
15641 # define getpagesize() sysconf(_SC_PAGESIZE)
15642 # else /* no _SC_PAGESIZE */
15643 # ifdef HAVE_SYS_PARAM_H
15644 # include <sys/param.h>
15645 # ifdef EXEC_PAGESIZE
15646 # define getpagesize() EXEC_PAGESIZE
15647 # else /* no EXEC_PAGESIZE */
15649 # define getpagesize() NBPG * CLSIZE
15652 # endif /* no CLSIZE */
15653 # else /* no NBPG */
15655 # define getpagesize() NBPC
15656 # else /* no NBPC */
15658 # define getpagesize() PAGESIZE
15659 # endif /* PAGESIZE */
15660 # endif /* no NBPC */
15661 # endif /* no NBPG */
15662 # endif /* no EXEC_PAGESIZE */
15663 # else /* no HAVE_SYS_PARAM_H */
15664 # define getpagesize() 8192 /* punt totally */
15665 # endif /* no HAVE_SYS_PARAM_H */
15666 # endif /* no _SC_PAGESIZE */
15668 #endif /* no HAVE_GETPAGESIZE */
15673 char *data, *data2, *data3;
15674 const char *cdata2;
15678 pagesize = getpagesize ();
15680 /* First, make a file with some known garbage in it. */
15681 data = (char *) malloc (pagesize);
15684 for (i = 0; i < pagesize; ++i)
15685 *(data + i) = rand ();
15687 fd = creat ("conftest.mmap", 0600);
15690 if (write (fd, data, pagesize) != pagesize)
15694 /* Next, check that the tail of a page is zero-filled. File must have
15695 non-zero length, otherwise we risk SIGBUS for entire page. */
15696 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
15700 if (write (fd2, cdata2, 1) != 1)
15702 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
15703 if (data2 == MAP_FAILED)
15705 for (i = 0; i < pagesize; ++i)
15709 if (munmap (data2, pagesize))
15712 /* Next, try to mmap the file at a fixed address which already has
15713 something else allocated at it. If we can, also make sure that
15714 we see the same garbage. */
15715 fd = open ("conftest.mmap", O_RDWR);
15718 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
15719 MAP_PRIVATE | MAP_FIXED, fd, 0L))
15721 for (i = 0; i < pagesize; ++i)
15722 if (*(data + i) != *(data2 + i))
15725 /* Finally, make sure that changes to the mapped area do not
15726 percolate back to the file as seen by read(). (This is a bug on
15727 some variants of i386 svr4.0.) */
15728 for (i = 0; i < pagesize; ++i)
15729 *(data2 + i) = *(data2 + i) + 1;
15730 data3 = (char *) malloc (pagesize);
15733 if (read (fd, data3, pagesize) != pagesize)
15735 for (i = 0; i < pagesize; ++i)
15736 if (*(data + i) != *(data3 + i))
15742 if ac_fn_c_try_run
"$LINENO"; then :
15743 ac_cv_func_mmap_fixed_mapped
=yes
15745 ac_cv_func_mmap_fixed_mapped
=no
15747 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
15748 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
15753 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
15754 if test $ac_cv_func_mmap_fixed_mapped = yes; then
15756 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
15759 rm -f conftest.mmap conftest.txt
15762 if test "$ac_cv_func_mmap_fixed_mapped" = "yes"; then
15763 FILEMAP
=unixfilemap
15765 FILEMAP
=readfilemap
15771 # ------------------ #
15772 # Checks to see if ANSI C99 CPP variable __func__ works.
15773 # If not, perhaps __FUNCTION__ works instead.
15774 # If not, we'll just define __func__ to "".
15777 case $ac_cv_prog_cc_stdc in #(
15779 ac_cv_prog_cc_c99
=no
; ac_cv_prog_cc_c89
=no
;; #(
15781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
15782 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
15783 if ${ac_cv_prog_cc_c99+:} false
; then :
15784 $as_echo_n "(cached) " >&6
15786 ac_cv_prog_cc_c99
=no
15788 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15789 /* end confdefs.h. */
15790 #include <stdarg.h>
15791 #include <stdbool.h>
15792 #include <stdlib.h>
15796 // Check varargs macros. These examples are taken from C99 6.10.3.5.
15797 #define debug(...) fprintf (stderr, __VA_ARGS__)
15798 #define showlist(...) puts (#__VA_ARGS__)
15799 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
15801 test_varargs_macros (void)
15806 debug ("X = %d\n", x);
15807 showlist (The first, second, and third items.);
15808 report (x>y, "x is %d but y is %d", x, y);
15811 // Check long long types.
15812 #define BIG64 18446744073709551615ull
15813 #define BIG32 4294967295ul
15814 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
15816 your preprocessor is broken;
15820 your preprocessor is broken;
15822 static long long int bignum = -9223372036854775807LL;
15823 static unsigned long long int ubignum = BIG64;
15825 struct incomplete_array
15831 struct named_init {
15833 const wchar_t *name;
15837 typedef const char *ccp;
15840 test_restrict (ccp restrict text)
15842 // See if C++-style comments work.
15843 // Iterate through items via the restricted pointer.
15844 // Also check for declarations in for loops.
15845 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
15850 // Check varargs and va_copy.
15852 test_varargs (const char *format, ...)
15855 va_start (args, format);
15857 va_copy (args_copy, args);
15867 case 's': // string
15868 str = va_arg (args_copy, const char *);
15871 number = va_arg (args_copy, int);
15874 fnumber = va_arg (args_copy, double);
15880 va_end (args_copy);
15889 _Bool success = false;
15892 if (test_restrict ("String literal") == 0)
15894 char *restrict newvar = "Another string";
15897 test_varargs ("s, d' f .", "string", 65, 34.234);
15898 test_varargs_macros ();
15900 // Check flexible array members.
15901 struct incomplete_array *ia =
15902 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
15904 for (int i = 0; i < ia->datasize; ++i)
15905 ia->data[i] = i * 1.234;
15907 // Check named initializers.
15908 struct named_init ni = {
15910 .name = L"Test wide string",
15911 .average = 543.34343,
15916 int dynamic_array[ni.number];
15917 dynamic_array[ni.number - 1] = 543;
15919 // work around unused variable warnings
15920 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
15921 || dynamic_array[ni.number - 1] != 543);
15927 for ac_arg
in '' -std=gnu99
-std=c99
-c99 -AC99 -xc99=all
-qlanglvl=extc99
15929 CC
="$ac_save_CC $ac_arg"
15930 if ac_fn_c_try_compile
"$LINENO"; then :
15931 ac_cv_prog_cc_c99
=$ac_arg
15933 rm -f core conftest.err conftest.
$ac_objext
15934 test "x$ac_cv_prog_cc_c99" != "xno" && break
15936 rm -f conftest.
$ac_ext
15941 case "x$ac_cv_prog_cc_c99" in
15943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
15944 $as_echo "none needed" >&6; } ;;
15946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
15947 $as_echo "unsupported" >&6; } ;;
15949 CC
="$CC $ac_cv_prog_cc_c99"
15950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
15951 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
15953 if test "x$ac_cv_prog_cc_c99" != xno
; then :
15954 ac_cv_prog_cc_stdc
=$ac_cv_prog_cc_c99
15956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
15957 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
15958 if ${ac_cv_prog_cc_c89+:} false
; then :
15959 $as_echo_n "(cached) " >&6
15961 ac_cv_prog_cc_c89
=no
15963 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15964 /* end confdefs.h. */
15965 #include <stdarg.h>
15967 #include <sys/types.h>
15968 #include <sys/stat.h>
15969 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
15970 struct buf { int x; };
15971 FILE * (*rcsopen) (struct buf *, struct stat *, int);
15972 static char *e (p, i)
15978 static char *f (char * (*g) (char **, int), char **p, ...)
15983 s = g (p, va_arg (v,int));
15988 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
15989 function prototypes and stuff, but not '\xHH' hex character constants.
15990 These don't provoke an error unfortunately, instead are silently treated
15991 as 'x'. The following induces an error, until -std is added to get
15992 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
15993 array size at least. It's necessary to write '\x00'==0 to get something
15994 that's true only with -std. */
15995 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
15997 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
15998 inside strings and character constants. */
16000 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
16002 int test (int i, double x);
16003 struct s1 {int (*f) (int a);};
16004 struct s2 {int (*f) (double a);};
16005 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
16011 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
16016 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
16017 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
16019 CC
="$ac_save_CC $ac_arg"
16020 if ac_fn_c_try_compile
"$LINENO"; then :
16021 ac_cv_prog_cc_c89
=$ac_arg
16023 rm -f core conftest.err conftest.
$ac_objext
16024 test "x$ac_cv_prog_cc_c89" != "xno" && break
16026 rm -f conftest.
$ac_ext
16031 case "x$ac_cv_prog_cc_c89" in
16033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
16034 $as_echo "none needed" >&6; } ;;
16036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
16037 $as_echo "unsupported" >&6; } ;;
16039 CC
="$CC $ac_cv_prog_cc_c89"
16040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
16041 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
16043 if test "x$ac_cv_prog_cc_c89" != xno
; then :
16044 ac_cv_prog_cc_stdc
=$ac_cv_prog_cc_c89
16046 ac_cv_prog_cc_stdc
=no
16052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
16053 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
16054 if ${ac_cv_prog_cc_stdc+:} false
; then :
16055 $as_echo_n "(cached) " >&6
16058 case $ac_cv_prog_cc_stdc in #(
16060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
16061 $as_echo "unsupported" >&6; } ;; #(
16063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
16064 $as_echo "none needed" >&6; } ;; #(
16066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
16067 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
16070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C99-conforming __func__" >&5
16071 $as_echo_n "checking for an ANSI C99-conforming __func__... " >&6; }
16072 if ${ac_cv_cpp_func+:} false
; then :
16073 $as_echo_n "(cached) " >&6
16075 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16076 /* end confdefs.h. */
16081 char *foo = __func__;
16086 if ac_fn_c_try_compile
"$LINENO"; then :
16089 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16090 /* end confdefs.h. */
16095 char *foo = __FUNCTION__;
16100 if ac_fn_c_try_compile
"$LINENO"; then :
16101 ac_cv_cpp_func
=__FUNCTION__
16105 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16107 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_func" >&5
16110 $as_echo "$ac_cv_cpp_func" >&6; }
16111 if test $ac_cv_cpp_func = __FUNCTION__
; then
16113 $as_echo "#define __func__ __FUNCTION__" >>confdefs.h
16115 elif test $ac_cv_cpp_func = no
; then
16117 $as_echo "#define __func__ \"\"" >>confdefs.h
16124 $as_echo "#define XML_NS 1" >>confdefs.h
16127 $as_echo "#define XML_DTD 1" >>confdefs.h
16130 $as_echo "#define XML_CONTEXT_BYTES 1024" >>confdefs.h
16133 ac_config_files
="$ac_config_files Makefile expat.pc"
16135 cat >confcache
<<\_ACEOF
16136 # This file is a shell script that caches the results of configure
16137 # tests run on this system so they can be shared between configure
16138 # scripts and configure runs, see configure's option --config-cache.
16139 # It is not useful on other systems. If it contains results you don't
16140 # want to keep, you may remove or edit it.
16142 # config.status only pays attention to the cache file if you give it
16143 # the --recheck option to rerun configure.
16145 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16146 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16147 # following values.
16151 # The following way of writing the cache mishandles newlines in values,
16152 # but we know of no workaround that is simple, portable, and efficient.
16153 # So, we kill variables containing newlines.
16154 # Ultrix sh set writes to stderr and can't be redirected directly,
16155 # and sets the high bit in the cache file unless we assign to the vars.
16157 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16158 eval ac_val
=\$
$ac_var
16162 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16163 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16166 _ | IFS | as_nl
) ;; #(
16167 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
16168 *) { eval $ac_var=; unset $ac_var;} ;;
16174 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16175 *${as_nl}ac_space
=\
*)
16176 # `set' does not quote correctly, so add quotes: double-quote
16177 # substitution turns \\\\ into \\, and sed turns \\ into \.
16180 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16183 # `set' quotes correctly as required by POSIX, so do not add quotes.
16184 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16193 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16195 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16197 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
16198 if test -w "$cache_file"; then
16199 if test "x$cache_file" != "x/dev/null"; then
16200 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16201 $as_echo "$as_me: updating cache $cache_file" >&6;}
16202 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
16203 cat confcache
>"$cache_file"
16205 case $cache_file in #(
16207 mv -f confcache
"$cache_file"$$
&&
16208 mv -f "$cache_file"$$
"$cache_file" ;; #(
16210 mv -f confcache
"$cache_file" ;;
16215 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16216 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16221 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
16222 # Let make expand exec_prefix.
16223 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
16225 DEFS
=-DHAVE_CONFIG_H
16230 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
16231 # 1. Remove the extension, and $U if already installed.
16232 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
16233 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
16234 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
16235 # will be set to the directory where LIBOBJS objects are built.
16236 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16237 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
16239 LIBOBJS
=$ac_libobjs
16241 LTLIBOBJS
=$ac_ltlibobjs
16245 : "${CONFIG_STATUS=./config.status}"
16247 ac_clean_files_save
=$ac_clean_files
16248 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
16249 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16250 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16252 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16254 # Generated by $as_me.
16255 # Run this file to recreate the current configuration.
16256 # Compiler output produced by configure, useful for debugging
16257 # configure, is in config.log if it exists.
16260 ac_cs_recheck=false
16263 SHELL=\${CONFIG_SHELL-$SHELL}
16266 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
16267 ## -------------------- ##
16268 ## M4sh Initialization. ##
16269 ## -------------------- ##
16271 # Be more Bourne compatible
16272 DUALCASE
=1; export DUALCASE
# for MKS sh
16273 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
16276 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16277 # is contrary to our usage. Disable this feature.
16278 alias -g '${1+"$@"}'='"$@"'
16279 setopt NO_GLOB_SUBST
16281 case `(set -o) 2>/dev/null` in #(
16293 # Printing a long string crashes Solaris 7 /usr/bin/printf.
16294 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16295 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16296 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16297 # Prefer a ksh shell builtin over an external printf program on Solaris,
16298 # but without wasting forks for bash or zsh.
16299 if test -z "$BASH_VERSION$ZSH_VERSION" \
16300 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16301 as_echo='print
-r --'
16302 as_echo_n='print
-rn --'
16303 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16304 as_echo='printf %s
\n'
16305 as_echo_n='printf %s
'
16307 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16308 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
16309 as_echo_n='/usr
/ucb
/echo -n'
16311 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16312 as_echo_n_body='eval
16316 expr "X$arg" : "X\\(.*\\)$as_nl";
16317 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16319 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
16321 export as_echo_n_body
16322 as_echo_n='sh
-c $as_echo_n_body as_echo
'
16324 export as_echo_body
16325 as_echo='sh
-c $as_echo_body as_echo
'
16328 # The user is always right.
16329 if test "${PATH_SEPARATOR+set}" != set; then
16331 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16332 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16339 # We need space, tab and new line, in precisely that order. Quoting is
16340 # there to prevent editors from complaining about space-tab.
16341 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
16342 # splitting by setting IFS to empty value.)
16345 # Find who we are. Look in the path if we contain no directory separator.
16348 *[\\/]* ) as_myself=$0 ;;
16349 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16350 for as_dir in $PATH
16353 test -z "$as_dir" && as_dir=.
16354 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16360 # We did not find ourselves, most probably we were run as `sh COMMAND'
16361 # in which case we are not to be found in the path.
16362 if test "x$as_myself" = x
; then
16365 if test ! -f "$as_myself"; then
16366 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16370 # Unset variables that we do not need and which cause bugs (e.g. in
16371 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
16372 # suppresses any "Segmentation fault" message there. '((' could
16373 # trigger a bug in pdksh 5.2.14.
16374 for as_var
in BASH_ENV ENV MAIL MAILPATH
16375 do eval test x\
${$as_var+set} = xset \
16376 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
16389 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
16392 # as_fn_error STATUS ERROR [LINENO LOG_FD]
16393 # ----------------------------------------
16394 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16395 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16396 # script with STATUS, using 1 if that was 0.
16399 as_status
=$1; test $as_status -eq 0 && as_status
=1
16401 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
16402 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
16404 $as_echo "$as_me: error: $2" >&2
16405 as_fn_exit
$as_status
16409 # as_fn_set_status STATUS
16410 # -----------------------
16411 # Set $? to STATUS, without forking.
16412 as_fn_set_status
()
16415 } # as_fn_set_status
16417 # as_fn_exit STATUS
16418 # -----------------
16419 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16423 as_fn_set_status
$1
16429 # Portably unset VAR.
16432 { eval $1=; unset $1;}
16434 as_unset
=as_fn_unset
16435 # as_fn_append VAR VALUE
16436 # ----------------------
16437 # Append the text in VALUE to the end of the definition contained in VAR. Take
16438 # advantage of any shell optimizations that allow amortized linear growth over
16439 # repeated appends, instead of the typical quadratic growth present in naive
16441 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
16442 eval 'as_fn_append ()
16453 # as_fn_arith ARG...
16454 # ------------------
16455 # Perform arithmetic evaluation on the ARGs, and store the result in the
16456 # global $as_val. Take advantage of shells that can avoid forks. The arguments
16457 # must be portable across $(()) and expr.
16458 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
16459 eval 'as_fn_arith ()
16466 as_val
=`expr "$@" || test $? -eq 1`
16471 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
16472 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
16478 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16479 as_basename
=basename
16484 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
16490 as_me
=`$as_basename -- "$0" ||
16491 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16492 X"$0" : 'X\(//\)$' \| \
16493 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16495 sed '/^.*\/\([^/][^/]*\)\/*$/{
16509 # Avoid depending upon Character Ranges.
16510 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
16511 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16512 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
16513 as_cr_digits
='0123456789'
16514 as_cr_alnum
=$as_cr_Letters$as_cr_digits
16516 ECHO_C
= ECHO_N
= ECHO_T
=
16517 case `echo -n x` in #(((((
16519 case `echo 'xy\c'` in
16520 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
16522 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
16529 rm -f conf$$ conf$$.exe conf$$.
file
16530 if test -d conf$$.dir
; then
16531 rm -f conf$$.dir
/conf$$.
file
16534 mkdir conf$$.dir
2>/dev
/null
16536 if (echo >conf$$.
file) 2>/dev
/null
; then
16537 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
16539 # ... but there are two gotchas:
16540 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16541 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16542 # In both cases, we have to default to `cp -p'.
16543 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
16545 elif ln conf$$.
file conf$$
2>/dev
/null
; then
16553 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
16554 rmdir conf$$.dir
2>/dev
/null
16559 # Create "$as_dir" as a directory, including parents if necessary.
16564 -*) as_dir
=.
/$as_dir;;
16566 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
16570 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16571 *) as_qdir
=$as_dir;;
16573 as_dirs
="'$as_qdir' $as_dirs"
16574 as_dir
=`$as_dirname -- "$as_dir" ||
16575 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16576 X"$as_dir" : 'X\(//\)[^/]' \| \
16577 X"$as_dir" : 'X\(//\)$' \| \
16578 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16579 $as_echo X"$as_dir" |
16580 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16584 /^X\(\/\/\)[^/].*/{
16597 test -d "$as_dir" && break
16599 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
16600 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
16604 if mkdir
-p .
2>/dev
/null
; then
16605 as_mkdir_p
='mkdir -p "$as_dir"'
16607 test -d .
/-p && rmdir .
/-p
16611 if test -x / >/dev
/null
2>&1; then
16612 as_test_x
='test -x'
16614 if ls -dL / >/dev
/null
2>&1; then
16621 if test -d "$1"; then
16627 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
16628 ???[sx]*):;;*)false;;esac;fi
16632 as_executable_p
=$as_test_x
16634 # Sed expression to map a string onto a valid CPP name.
16635 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16637 # Sed expression to map a string onto a valid variable name.
16638 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16642 ## ----------------------------------- ##
16643 ## Main body of $CONFIG_STATUS script. ##
16644 ## ----------------------------------- ##
16646 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
16648 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16649 # Save the log message, to keep $0 and so on meaningful, and to
16650 # report actual input values of CONFIG_FILES etc. instead of their
16651 # values after options handling.
16653 This file was extended by expat $as_me 2.1.0, which was
16654 generated by GNU Autoconf 2.68. Invocation command line was
16656 CONFIG_FILES = $CONFIG_FILES
16657 CONFIG_HEADERS = $CONFIG_HEADERS
16658 CONFIG_LINKS = $CONFIG_LINKS
16659 CONFIG_COMMANDS = $CONFIG_COMMANDS
16662 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16667 case $ac_config_files in *"
16668 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
16671 case $ac_config_headers in *"
16672 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
16676 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16677 # Files that config.status was made for.
16678 config_files="$ac_config_files"
16679 config_headers="$ac_config_headers"
16680 config_commands="$ac_config_commands"
16684 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16686 \`$as_me' instantiates files and other configuration actions
16687 from templates according to the current configuration. Unless the files
16688 and actions are specified as TAGs, all are instantiated by default.
16690 Usage: $0 [OPTION]... [TAG]...
16692 -h, --help print this help, then exit
16693 -V, --version print version number and configuration settings, then exit
16694 --config print configuration, then exit
16695 -q, --quiet, --silent
16696 do not print progress messages
16697 -d, --debug don't remove temporary files
16698 --recheck update $as_me by reconfiguring in the same conditions
16699 --file=FILE[:TEMPLATE]
16700 instantiate the configuration file FILE
16701 --header=FILE[:TEMPLATE]
16702 instantiate the configuration header FILE
16704 Configuration files:
16707 Configuration headers:
16710 Configuration commands:
16713 Report bugs to <expat-bugs@libexpat.org>."
16716 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16717 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16719 expat config.status 2.1.0
16720 configured by $0, generated by GNU Autoconf 2.68,
16721 with options \\"\$ac_cs_config\\"
16723 Copyright (C) 2010 Free Software Foundation, Inc.
16724 This config.status script is free software; the Free Software Foundation
16725 gives unlimited permission to copy, distribute and modify it."
16731 test -n "\$AWK" || AWK=awk
16734 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16735 # The default lists apply if the user does not specify any file.
16741 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
16742 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
16746 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
16758 # Handling of the options.
16759 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
16761 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
16762 $as_echo "$ac_cs_version"; exit ;;
16763 --config |
--confi |
--conf |
--con |
--co |
--c )
16764 $as_echo "$ac_cs_config"; exit ;;
16765 --debug |
--debu |
--deb |
--de |
--d |
-d )
16767 --file |
--fil |
--fi |
--f )
16770 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16771 '') as_fn_error $?
"missing file argument" ;;
16773 as_fn_append CONFIG_FILES
" '$ac_optarg'"
16774 ac_need_defaults
=false
;;
16775 --header |
--heade |
--head |
--hea )
16778 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16780 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
16781 ac_need_defaults
=false
;;
16783 # Conflict between --help and --header
16784 as_fn_error $?
"ambiguous option: \`$1'
16785 Try \`$0 --help' for more information.";;
16786 --help |
--hel |
-h )
16787 $as_echo "$ac_cs_usage"; exit ;;
16788 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
16789 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
16792 # This is an error.
16793 -*) as_fn_error $?
"unrecognized option: \`$1'
16794 Try \`$0 --help' for more information." ;;
16796 *) as_fn_append ac_config_targets
" $1"
16797 ac_need_defaults
=false
;;
16803 ac_configure_extra_args
=
16805 if $ac_cs_silent; then
16807 ac_configure_extra_args
="$ac_configure_extra_args --silent"
16811 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16812 if \$ac_cs_recheck; then
16813 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16815 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16816 CONFIG_SHELL='$SHELL'
16817 export CONFIG_SHELL
16822 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16826 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16827 ## Running $as_me. ##
16833 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16839 # The HP-UX ksh and POSIX shell print the target directory to stdout
16840 # if CDPATH is set.
16841 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16843 sed_quote_subst='$sed_quote_subst'
16844 double_quote_subst='$double_quote_subst'
16845 delay_variable_subst='$delay_variable_subst'
16846 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
16847 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
16848 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16849 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16850 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16851 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16852 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16853 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16854 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16855 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16856 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16857 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16858 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16859 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16860 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16861 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16862 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16863 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16864 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16865 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16866 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16867 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16868 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16869 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16870 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16871 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16872 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16873 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16874 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16875 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16876 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16877 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
16878 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
16879 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16880 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16881 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16882 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16883 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
16884 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
16885 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
16886 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16887 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16888 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
16889 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16890 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16891 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16892 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16893 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16894 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16895 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16896 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16897 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16898 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16899 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16900 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16901 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16902 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"`'
16903 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
16904 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
16905 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16906 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16907 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16908 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16909 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16910 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16911 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16912 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16913 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
16914 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16915 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16916 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16917 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16918 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16919 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16920 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16921 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16922 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16923 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16924 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16925 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16926 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16927 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16928 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16929 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16930 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16931 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16932 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16933 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16934 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16935 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16936 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16937 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
16938 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16939 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16940 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16941 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16942 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16943 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16944 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16945 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16946 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16947 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16948 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16949 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16950 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16951 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
16952 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16953 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16954 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16955 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16956 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16957 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16958 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16959 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16960 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16961 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16962 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16963 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16964 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16965 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16966 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16967 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16968 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16969 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16970 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
16971 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16972 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16973 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16974 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16975 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16976 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16977 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
16978 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
16979 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
16980 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
16981 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
16982 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
16983 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
16984 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
16985 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16986 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16987 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
16988 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
16989 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
16990 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
16991 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
16992 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
16993 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
16994 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
16995 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
16996 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
16997 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
16998 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
16999 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17000 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17001 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17002 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17003 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17004 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17005 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
17006 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
17007 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
17008 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17009 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
17010 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
17011 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
17012 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
17013 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
17014 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
17015 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
17016 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
17017 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
17018 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
17019 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17020 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
17021 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
17022 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17023 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17024 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
17025 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
17026 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
17027 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
17028 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
17029 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
17030 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
17031 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
17034 LTCFLAGS='$LTCFLAGS'
17035 compiler='$compiler_DEFAULT'
17037 # A function that is used when there is no print builtin or printf.
17038 func_fallback_echo ()
17040 eval 'cat <<_LTECHO_EOF
17045 # Quote evaled strings.
17061 deplibs_check_method \
17065 sharedlib_from_linklib_cmd \
17068 archiver_list_spec \
17074 lt_cv_sys_global_symbol_pipe \
17075 lt_cv_sys_global_symbol_to_cdecl \
17076 lt_cv_sys_global_symbol_to_c_name_address \
17077 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
17078 nm_file_list_spec \
17079 lt_prog_compiler_no_builtin_flag \
17080 lt_prog_compiler_pic \
17081 lt_prog_compiler_wl \
17082 lt_prog_compiler_static \
17083 lt_cv_prog_compiler_c_o \
17092 export_dynamic_flag_spec \
17093 whole_archive_flag_spec \
17094 compiler_needs_object \
17096 allow_undefined_flag \
17097 no_undefined_flag \
17098 hardcode_libdir_flag_spec \
17099 hardcode_libdir_flag_spec_ld \
17100 hardcode_libdir_separator \
17104 variables_saved_for_relink \
17106 library_names_spec \
17108 install_override_mode \
17112 compiler_lib_search_dirs \
17117 compiler_lib_search_path \
17121 lt_prog_compiler_no_builtin_flag_CXX \
17122 lt_prog_compiler_pic_CXX \
17123 lt_prog_compiler_wl_CXX \
17124 lt_prog_compiler_static_CXX \
17125 lt_cv_prog_compiler_c_o_CXX \
17126 export_dynamic_flag_spec_CXX \
17127 whole_archive_flag_spec_CXX \
17128 compiler_needs_object_CXX \
17130 allow_undefined_flag_CXX \
17131 no_undefined_flag_CXX \
17132 hardcode_libdir_flag_spec_CXX \
17133 hardcode_libdir_flag_spec_ld_CXX \
17134 hardcode_libdir_separator_CXX \
17135 exclude_expsyms_CXX \
17136 include_expsyms_CXX \
17137 file_list_spec_CXX \
17138 compiler_lib_search_dirs_CXX \
17139 predep_objects_CXX \
17140 postdep_objects_CXX \
17143 compiler_lib_search_path_CXX; do
17144 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17145 *[\\\\\\\`\\"\\\$]*)
17146 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
17149 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17154 # Double-quote double-evaled strings.
17155 for var in reload_cmds \
17156 old_postinstall_cmds \
17157 old_postuninstall_cmds \
17159 extract_expsyms_cmds \
17160 old_archive_from_new_cmds \
17161 old_archive_from_expsyms_cmds \
17163 archive_expsym_cmds \
17165 module_expsym_cmds \
17166 export_symbols_cmds \
17170 postuninstall_cmds \
17172 sys_lib_search_path_spec \
17173 sys_lib_dlsearch_path_spec \
17175 old_archive_cmds_CXX \
17176 old_archive_from_new_cmds_CXX \
17177 old_archive_from_expsyms_cmds_CXX \
17179 archive_expsym_cmds_CXX \
17181 module_expsym_cmds_CXX \
17182 export_symbols_cmds_CXX \
17184 postlink_cmds_CXX; do
17185 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17186 *[\\\\\\\`\\"\\\$]*)
17187 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
17190 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17195 ac_aux_dir='$ac_aux_dir'
17196 xsi_shell='$xsi_shell'
17197 lt_shell_append='$lt_shell_append'
17199 # See if we are running on zsh, and set the options which allow our
17200 # commands through without removal of \ escapes INIT.
17201 if test -n "\${ZSH_VERSION+set}" ; then
17202 setopt NO_GLOB_SUBST
17208 TIMESTAMP='$TIMESTAMP'
17219 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17221 # Handling of arguments.
17222 for ac_config_target
in $ac_config_targets
17224 case $ac_config_target in
17225 "expat_config.h") CONFIG_HEADERS
="$CONFIG_HEADERS expat_config.h" ;;
17226 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
17227 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
17228 "expat.pc") CONFIG_FILES
="$CONFIG_FILES expat.pc" ;;
17230 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17235 # If the user did not use the arguments to specify the items to instantiate,
17236 # then the envvar interface is used. Set only those that are not.
17237 # We use the long form for the default assignment because of an extremely
17238 # bizarre bug on SunOS 4.1.3.
17239 if $ac_need_defaults; then
17240 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
17241 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
17242 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
17245 # Have a temporary directory for convenience. Make it in the build tree
17246 # simply because there is no reason against having it here, and in addition,
17247 # creating and moving files from /tmp can sometimes cause problems.
17248 # Hook for its removal unless debugging.
17249 # Note that there is a small window in which the directory will not be cleaned:
17250 # after its creation but before its name has been assigned to `$tmp'.
17254 trap 'exit_status=$?
17255 : "${ac_tmp:=$tmp}"
17256 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
17258 trap 'as_fn_exit 1' 1 2 13 15
17260 # Create a (secure) tmp directory for tmp files.
17263 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17267 tmp
=.
/conf$$
-$RANDOM
17268 (umask 077 && mkdir
"$tmp")
17269 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
17272 # Set up the scripts for CONFIG_FILES section.
17273 # No need to generate them if there are no CONFIG_FILES.
17274 # This happens for instance with `./config.status config.h'.
17275 if test -n "$CONFIG_FILES"; then
17278 ac_cr
=`echo X | tr X '\015'`
17279 # On cygwin, bash can eat \r inside `` if the user requested igncr.
17280 # But we know of no other shell where ac_cr would be empty at this
17281 # point, so we can use a bashism as a fallback.
17282 if test "x$ac_cr" = x
; then
17283 eval ac_cr
=\$
\'\\r
\'
17285 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17286 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17289 ac_cs_awk_cr
=$ac_cr
17292 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
17297 echo "cat >conf$$subs.awk <<_ACEOF" &&
17298 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17300 } >conf$$subs.sh ||
17301 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
17302 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
17304 for ac_last_try in false false false false false :; do
17305 . ./conf$$subs.sh ||
17306 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
17308 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
17309 if test $ac_delim_n = $ac_delim_num; then
17311 elif $ac_last_try; then
17312 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
17314 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
17317 rm -f conf$$subs.sh
17319 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17320 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
17324 s/^/S["/; s
/!.
*/"]=/
17334 s/\(.\{148\}\)..*/\1/
17336 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
17341 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
17348 s/\(.\{148\}\)..*/\1/
17350 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
17354 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
17359 ' <conf$$subs.awk | sed '
17364 ' >>$CONFIG_STATUS || ac_write_fail=1
17365 rm -f conf$$subs.awk
17366 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17368 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
17369 for (key in S) S_is_set[key] = 1
17375 nfields = split(line, field, "@
")
17377 len = length(field[1])
17378 for (i = 2; i < nfields; i++) {
17380 keylen = length(key)
17381 if (S_is_set[key]) {
17383 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17384 len += length(value) + length(field[++i])
17395 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17396 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17397 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
17400 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
17401 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
17404 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
17405 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
17406 # trailing colons and then remove the whole line if VPATH becomes empty
17407 # (actually we leave an empty line to preserve line numbers).
17408 if test "x
$srcdir" = x.; then
17409 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
17427 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17428 fi # test -n "$CONFIG_FILES"
17430 # Set up the scripts for CONFIG_HEADERS section.
17431 # No need to generate them if there are no CONFIG_HEADERS.
17432 # This happens for instance with `./config.status Makefile'.
17433 if test -n "$CONFIG_HEADERS"; then
17434 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
17438 # Transform confdefs.h into an awk script `defines.awk', embedded as
17439 # here-document in config.status, that substitutes the proper values into
17440 # config.h.in to produce config.h.
17442 # Create a delimiter string that does not exist in confdefs.h, to ease
17443 # handling of long lines.
17445 for ac_last_try in false false :; do
17446 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
17447 if test -z "$ac_tt"; then
17449 elif $ac_last_try; then
17450 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
17452 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
17456 # For the awk script, D is an array of macro values keyed by name,
17457 # likewise P contains macro parameters if any. Preserve backslash
17458 # newline sequences.
17460 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
17462 s/.\{148\}/&'"$ac_delim"'/g
17465 s/^[ ]*#[ ]*define[ ][ ]*/ /
17472 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
17474 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
17478 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
17479 D["\
1"]=" \
3\\\\\\n
"\\/p
17481 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
17486 s/.\{148\}/&'"$ac_delim"'/g
17491 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
17494 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
17496 ' <confdefs.h | sed '
17497 s/'"$ac_delim"'/"\\\
17498 "/g' >>$CONFIG_STATUS || ac_write_fail=1
17500 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17501 for (key in D) D_is_set[key] = 1
17504 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
17506 split(line, arg, " ")
17507 if (arg[1] == "#") {
17511 defundef
= substr
(arg
[1], 2)
17514 split(mac1
, mac2
, "(") #)
17516 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
17517 if (D_is_set
[macro
]) {
17518 # Preserve the white space surrounding the "#".
17519 print prefix
"define", macro P
[macro
] D
[macro
]
17522 # Replace #undef with comments. This is necessary, for example,
17523 # in the case of _POSIX_SOURCE, which is predefined and required
17524 # on some systems where configure will not decide to define it.
17525 if (defundef
== "undef") {
17526 print
"/*", prefix defundef
, macro
, "*/"
17534 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17535 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
17536 fi # test -n "$CONFIG_HEADERS"
17539 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
17544 :[FHLC
]) ac_mode
=$ac_tag; continue;;
17546 case $ac_mode$ac_tag in
17548 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
17549 :[FH
]-) ac_tag
=-:-;;
17550 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
17567 -) ac_f
="$ac_tmp/stdin";;
17568 *) # Look for the file first in the build tree, then in the source tree
17569 # (if the path is not absolute). The absolute path cannot be DOS-style,
17570 # because $ac_f cannot contain `:'.
17574 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
17576 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
17578 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17579 as_fn_append ac_file_inputs
" '$ac_f'"
17582 # Let's still pretend it is `configure' which instantiates (i.e., don't
17583 # use $as_me), people would be surprised to read:
17584 # /* config.h. Generated by config.status. */
17585 configure_input
='Generated from '`
17586 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17588 if test x
"$ac_file" != x-
; then
17589 configure_input
="$ac_file. $configure_input"
17590 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
17591 $as_echo "$as_me: creating $ac_file" >&6;}
17593 # Neutralize special characters interpreted by sed in replacement strings.
17594 case $configure_input in #(
17595 *\
&* |
*\|
* |
*\\* )
17596 ac_sed_conf_input
=`$as_echo "$configure_input" |
17597 sed 's/[\\\\&|]/\\\\&/g'`;; #(
17598 *) ac_sed_conf_input
=$configure_input;;
17602 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
17603 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
17608 ac_dir
=`$as_dirname -- "$ac_file" ||
17609 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17610 X"$ac_file" : 'X\(//\)[^/]' \| \
17611 X"$ac_file" : 'X\(//\)$' \| \
17612 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17613 $as_echo X"$ac_file" |
17614 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17618 /^X\(\/\/\)[^/].*/{
17631 as_dir
="$ac_dir"; as_fn_mkdir_p
17635 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
17637 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17638 # A ".." for each directory in $ac_dir_suffix.
17639 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17640 case $ac_top_builddir_sub in
17641 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
17642 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
17645 ac_abs_top_builddir
=$ac_pwd
17646 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
17647 # for backward compatibility:
17648 ac_top_builddir
=$ac_top_build_prefix
17651 .
) # We are building in place.
17653 ac_top_srcdir
=$ac_top_builddir_sub
17654 ac_abs_top_srcdir
=$ac_pwd ;;
17655 [\\/]* | ?
:[\\/]* ) # Absolute name.
17656 ac_srcdir
=$srcdir$ac_dir_suffix;
17657 ac_top_srcdir
=$srcdir
17658 ac_abs_top_srcdir
=$srcdir ;;
17659 *) # Relative name.
17660 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
17661 ac_top_srcdir
=$ac_top_build_prefix$srcdir
17662 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
17664 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
17674 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
17675 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
17679 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17680 # If the template does not know about datarootdir, expand it.
17681 # FIXME: This hack should be removed a few years after 2.60.
17682 ac_datarootdir_hack
=; ac_datarootdir_seen
=
17693 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17694 *datarootdir
*) ac_datarootdir_seen
=yes;;
17695 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
17696 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17697 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17699 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17700 ac_datarootdir_hack='
17701 s&@datadir@&$datadir&g
17702 s&@docdir@&$docdir&g
17703 s&@infodir@&$infodir&g
17704 s&@localedir@&$localedir&g
17705 s&@mandir@&$mandir&g
17706 s&\\\${datarootdir}&$datarootdir&g' ;;
17710 # Neutralize VPATH when `$srcdir' = `.'.
17711 # Shell code in configure.ac might set extrasub.
17712 # FIXME: do we really want to maintain this feature?
17713 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17714 ac_sed_extra="$ac_vpsub
17717 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17719 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
17720 s|@configure_input@|
$ac_sed_conf_input|
;t t
17721 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
17722 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
17723 s
&@srcdir@
&$ac_srcdir&;t t
17724 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
17725 s
&@top_srcdir@
&$ac_top_srcdir&;t t
17726 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
17727 s
&@builddir@
&$ac_builddir&;t t
17728 s
&@abs_builddir@
&$ac_abs_builddir&;t t
17729 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
17730 s
&@INSTALL@
&$ac_INSTALL&;t t
17731 $ac_datarootdir_hack
17733 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
17734 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
17736 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17737 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
17738 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
17739 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
17740 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
17741 which seems to be undefined. Please make sure it is defined" >&5
17742 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
17743 which seems to be undefined. Please make sure it is defined" >&2;}
17745 rm -f "$ac_tmp/stdin"
17747 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
17748 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
17750 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17756 if test x"$ac_file" != x-; then
17758 $as_echo "/* $configure_input */" \
17759 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
17760 } >"$ac_tmp/config.h" \
17761 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17762 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
17763 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17764 $as_echo "$as_me: $ac_file is unchanged" >&6;}
17767 mv "$ac_tmp/config.h" "$ac_file" \
17768 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17771 $as_echo "/* $configure_input */" \
17772 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
17773 || as_fn_error $? "could not create -" "$LINENO" 5
17777 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17778 $as_echo "$as_me: executing $ac_file commands" >&6;}
17783 case $ac_file$ac_mode in
17786 # See if we are running on zsh, and set the options which allow our
17787 # commands through without removal of \ escapes.
17788 if test -n "${ZSH_VERSION+set}" ; then
17789 setopt NO_GLOB_SUBST
17792 cfgfile="${ofile}T"
17793 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17796 cat <<_LT_EOF >> "$cfgfile"
17799 # `$ECHO "$ofile" | sed 's
%^.
*/%%'` - Provide generalized library-building support services.
17800 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17801 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17802 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17804 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17805 # 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
17807 # Written by Gordon Matzigkeit, 1996
17809 # This file is part of GNU Libtool.
17811 # GNU Libtool is free software; you can redistribute it and/or
17812 # modify it under the terms of the GNU General Public License as
17813 # published by the Free Software Foundation; either version 2 of
17814 # the License, or (at your option) any later version.
17816 # As a special exception to the GNU General Public License,
17817 # if you distribute this file as part of a program or library that
17818 # is built using GNU Libtool, you may include this file under the
17819 # same distribution terms that you use for the rest of that program.
17821 # GNU Libtool is distributed in the hope that it will be useful,
17822 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17823 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17824 # GNU General Public License for more details.
17826 # You should have received a copy of the GNU General Public License
17827 # along with GNU Libtool; see the file COPYING. If not, a copy
17828 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17829 # obtained by writing to the Free Software Foundation, Inc.,
17830 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17833 # The names of the tagged configurations supported by this script.
17834 available_tags="CXX "
17836 # ### BEGIN LIBTOOL CONFIG
17838 # Assembler program.
17841 # DLL creation program.
17842 DLLTOOL=$lt_DLLTOOL
17844 # Object dumper program.
17845 OBJDUMP=$lt_OBJDUMP
17847 # Which release of libtool.m4 was used?
17848 macro_version=$macro_version
17849 macro_revision=$macro_revision
17851 # Whether or not to build shared libraries.
17852 build_libtool_libs=$enable_shared
17854 # Whether or not to build static libraries.
17855 build_old_libs=$enable_static
17857 # What type of objects to build.
17860 # Whether or not to optimize for fast installation.
17861 fast_install=$enable_fast_install
17863 # Shell to use when invoking shell scripts.
17866 # An echo program that protects backslashes.
17870 host_alias=$host_alias
17874 # The build system.
17875 build_alias=$build_alias
17879 # A sed program that does not truncate output.
17882 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17883 Xsed="\$SED -e 1s/^X//"
17885 # A grep program that handles long lines.
17891 # A literal string matcher.
17894 # A BSD- or MS-compatible name lister.
17897 # Whether we need soft or hard links.
17900 # What is the maximum length of a command?
17901 max_cmd_len=$max_cmd_len
17903 # Object file suffix (normally "o").
17906 # Executable file suffix (normally "").
17909 # whether the shell understands "unset".
17912 # turn spaces into newlines.
17915 # turn newlines into spaces.
17918 # convert \$build file names to \$host format.
17919 to_host_file_cmd=$lt_cv_to_host_file_cmd
17921 # convert \$build files to toolchain format.
17922 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
17924 # Method to check whether dependent libraries are shared objects.
17925 deplibs_check_method=$lt_deplibs_check_method
17927 # Command to use when deplibs_check_method = "file_magic".
17928 file_magic_cmd=$lt_file_magic_cmd
17930 # How to find potential files when deplibs_check_method = "file_magic".
17931 file_magic_glob=$lt_file_magic_glob
17933 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
17934 want_nocaseglob=$lt_want_nocaseglob
17936 # Command to associate shared and link libraries.
17937 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
17942 # Flags to create an archive.
17943 AR_FLAGS=$lt_AR_FLAGS
17945 # How to feed a file listing to the archiver.
17946 archiver_list_spec=$lt_archiver_list_spec
17948 # A symbol stripping program.
17951 # Commands used to install an old-style archive.
17953 old_postinstall_cmds=$lt_old_postinstall_cmds
17954 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17956 # Whether to use a lock for old archive extraction.
17957 lock_old_archive_extraction=$lock_old_archive_extraction
17962 # LTCC compiler flags.
17963 LTCFLAGS=$lt_CFLAGS
17965 # Take the output of nm and produce a listing of raw symbols and C names.
17966 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17968 # Transform the output of nm in a proper C declaration.
17969 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17971 # Transform the output of nm in a C name address pair.
17972 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17974 # Transform the output of nm in a C name address pair when lib prefix is needed.
17975 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17977 # Specify filename containing input files for \$NM.
17978 nm_file_list_spec=$lt_nm_file_list_spec
17980 # The root where to search for dependent libraries,and in which our libraries should be installed.
17981 lt_sysroot=$lt_sysroot
17983 # The name of the directory that contains temporary libtool files.
17986 # Used to examine libraries when file_magic_cmd begins with "file".
17987 MAGIC_CMD=$MAGIC_CMD
17989 # Must we lock files when doing compilation?
17990 need_locks=$lt_need_locks
17993 MANIFEST_TOOL=$lt_MANIFEST_TOOL
17995 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17996 DSYMUTIL=$lt_DSYMUTIL
17998 # Tool to change global to local symbols on Mac OS X.
18001 # Tool to manipulate fat objects and archives on Mac OS X.
18004 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
18007 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
18008 OTOOL64=$lt_OTOOL64
18010 # Old archive suffix (normally "a").
18013 # Shared library suffix (normally ".so").
18014 shrext_cmds=$lt_shrext_cmds
18016 # The commands to extract the exported symbol list from a shared archive.
18017 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18019 # Variables whose values should be saved in libtool wrapper scripts and
18020 # restored at link time.
18021 variables_saved_for_relink=$lt_variables_saved_for_relink
18023 # Do we need the "lib" prefix for modules?
18024 need_lib_prefix=$need_lib_prefix
18026 # Do we need a version for libraries?
18027 need_version=$need_version
18029 # Library versioning type.
18030 version_type=$version_type
18032 # Shared library runtime path variable.
18033 runpath_var=$runpath_var
18035 # Shared library path variable.
18036 shlibpath_var=$shlibpath_var
18038 # Is shlibpath searched before the hard-coded library search path?
18039 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18041 # Format of library name prefix.
18042 libname_spec=$lt_libname_spec
18044 # List of archive names. First name is the real one, the rest are links.
18045 # The last name is the one that the linker finds with -lNAME
18046 library_names_spec=$lt_library_names_spec
18048 # The coded name of the library, if different from the real name.
18049 soname_spec=$lt_soname_spec
18051 # Permission mode override for installation of shared libraries.
18052 install_override_mode=$lt_install_override_mode
18054 # Command to use after installation of a shared archive.
18055 postinstall_cmds=$lt_postinstall_cmds
18057 # Command to use after uninstallation of a shared archive.
18058 postuninstall_cmds=$lt_postuninstall_cmds
18060 # Commands used to finish a libtool library installation in a directory.
18061 finish_cmds=$lt_finish_cmds
18063 # As "finish_cmds", except a single script fragment to be evaled but
18065 finish_eval=$lt_finish_eval
18067 # Whether we should hardcode library paths into libraries.
18068 hardcode_into_libs=$hardcode_into_libs
18070 # Compile-time system search path for libraries.
18071 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18073 # Run-time system search path for libraries.
18074 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18076 # Whether dlopen is supported.
18077 dlopen_support=$enable_dlopen
18079 # Whether dlopen of programs is supported.
18080 dlopen_self=$enable_dlopen_self
18082 # Whether dlopen of statically linked programs is supported.
18083 dlopen_self_static=$enable_dlopen_self_static
18085 # Commands to strip libraries.
18086 old_striplib=$lt_old_striplib
18087 striplib=$lt_striplib
18090 # The linker used to build libraries.
18093 # How to create reloadable object files.
18094 reload_flag=$lt_reload_flag
18095 reload_cmds=$lt_reload_cmds
18097 # Commands used to build an old-style archive.
18098 old_archive_cmds=$lt_old_archive_cmds
18100 # A language specific compiler.
18103 # Is the compiler the GNU compiler?
18106 # Compiler flag to turn off builtin functions.
18107 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18109 # Additional compiler flags for building library objects.
18110 pic_flag=$lt_lt_prog_compiler_pic
18112 # How to pass a linker flag through the compiler.
18113 wl=$lt_lt_prog_compiler_wl
18115 # Compiler flag to prevent dynamic linking.
18116 link_static_flag=$lt_lt_prog_compiler_static
18118 # Does compiler simultaneously support -c and -o options?
18119 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18121 # Whether or not to add -lc for building shared libraries.
18122 build_libtool_need_lc=$archive_cmds_need_lc
18124 # Whether or not to disallow shared libs when runtime libs are static.
18125 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18127 # Compiler flag to allow reflexive dlopens.
18128 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18130 # Compiler flag to generate shared objects directly from archives.
18131 whole_archive_flag_spec=$lt_whole_archive_flag_spec
18133 # Whether the compiler copes with passing no objects directly.
18134 compiler_needs_object=$lt_compiler_needs_object
18136 # Create an old-style archive from a shared archive.
18137 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18139 # Create a temporary old-style archive to link instead of a shared archive.
18140 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18142 # Commands used to build a shared archive.
18143 archive_cmds=$lt_archive_cmds
18144 archive_expsym_cmds=$lt_archive_expsym_cmds
18146 # Commands used to build a loadable module if different from building
18147 # a shared archive.
18148 module_cmds=$lt_module_cmds
18149 module_expsym_cmds=$lt_module_expsym_cmds
18151 # Whether we are building with GNU ld or not.
18152 with_gnu_ld=$lt_with_gnu_ld
18154 # Flag that allows shared libraries with undefined symbols to be built.
18155 allow_undefined_flag=$lt_allow_undefined_flag
18157 # Flag that enforces no undefined symbols.
18158 no_undefined_flag=$lt_no_undefined_flag
18160 # Flag to hardcode \$libdir into a binary during linking.
18161 # This must work even if \$libdir does not exist
18162 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18164 # If ld is used when linking, flag to hardcode \$libdir into a binary
18165 # during linking. This must work even if \$libdir does not exist.
18166 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
18168 # Whether we need a single "-rpath" flag with a separated argument.
18169 hardcode_libdir_separator=$lt_hardcode_libdir_separator
18171 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18172 # DIR into the resulting binary.
18173 hardcode_direct=$hardcode_direct
18175 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18176 # DIR into the resulting binary and the resulting library dependency is
18177 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18178 # library is relocated.
18179 hardcode_direct_absolute=$hardcode_direct_absolute
18181 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18182 # into the resulting binary.
18183 hardcode_minus_L=$hardcode_minus_L
18185 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18186 # into the resulting binary.
18187 hardcode_shlibpath_var=$hardcode_shlibpath_var
18189 # Set to "yes" if building a shared library automatically hardcodes DIR
18190 # into the library and all subsequent libraries and executables linked
18192 hardcode_automatic=$hardcode_automatic
18194 # Set to yes if linker adds runtime paths of dependent libraries
18195 # to runtime path list.
18196 inherit_rpath=$inherit_rpath
18198 # Whether libtool must link a program against all its dependency libraries.
18199 link_all_deplibs=$link_all_deplibs
18201 # Set to "yes" if exported symbols are required.
18202 always_export_symbols=$always_export_symbols
18204 # The commands to list exported symbols.
18205 export_symbols_cmds=$lt_export_symbols_cmds
18207 # Symbols that should not be listed in the preloaded symbols.
18208 exclude_expsyms=$lt_exclude_expsyms
18210 # Symbols that must always be exported.
18211 include_expsyms=$lt_include_expsyms
18213 # Commands necessary for linking programs (against libraries) with templates.
18214 prelink_cmds=$lt_prelink_cmds
18216 # Commands necessary for finishing linking programs.
18217 postlink_cmds=$lt_postlink_cmds
18219 # Specify filename containing input files.
18220 file_list_spec=$lt_file_list_spec
18222 # How to hardcode a shared library path into an executable.
18223 hardcode_action=$hardcode_action
18225 # The directories searched by this compiler when creating a shared library.
18226 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
18228 # Dependencies to place before and after the objects being linked to
18229 # create a shared library.
18230 predep_objects=$lt_predep_objects
18231 postdep_objects=$lt_postdep_objects
18232 predeps=$lt_predeps
18233 postdeps=$lt_postdeps
18235 # The library search path used internally by the compiler when linking
18236 # a shared library.
18237 compiler_lib_search_path=$lt_compiler_lib_search_path
18239 # ### END LIBTOOL CONFIG
18245 cat <<\_LT_EOF >> "$cfgfile"
18246 # AIX sometimes has problems with the GCC collect2 program. For some
18247 # reason, if we set the COLLECT_NAMES environment variable, the problems
18248 # vanish in a puff of smoke.
18249 if test "X${COLLECT_NAMES+set}" != Xset; then
18251 export COLLECT_NAMES
18258 ltmain="$ac_aux_dir/ltmain.sh"
18261 # We use sed instead of cat because bash on DJGPP gets confused if
18262 # if finds mixed CR/LF and LF-only lines. Since sed operates in
18263 # text mode, it properly converts lines to CR/LF. This bash problem
18264 # is reportedly fixed, but why not run on old versions too?
18265 sed '$q' "$ltmain" >> "$cfgfile" \
18266 || (rm -f "$cfgfile"; exit 1)
18268 if test x"$xsi_shell" = xyes; then
18269 sed -e '/^func_dirname
()$
/,/^
} # func_dirname /c\
18273 \
*/*) func_dirname_result
="${1%/*}${2}" ;;\
18274 \
* ) func_dirname_result
="${3}" ;;\
18276 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
18277 && mv -f "$cfgfile.tmp" "$cfgfile" \
18278 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18279 test 0 -eq $? || _lt_function_replace_fail
=:
18282 sed -e '/^func_basename ()$/,/^} # func_basename /c\
18285 \ func_basename_result="${1##*/}"\
18286 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
18287 && mv -f "$cfgfile.tmp" "$cfgfile" \
18288 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18289 test 0 -eq $? || _lt_function_replace_fail
=:
18292 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
18293 func_dirname_and_basename ()\
18296 \ */*) func_dirname_result="${1%/*}${2}" ;;\
18297 \ * ) func_dirname_result="${3}" ;;\
18299 \ func_basename_result="${1##*/}"\
18300 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
18301 && mv -f "$cfgfile.tmp" "$cfgfile" \
18302 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18303 test 0 -eq $? || _lt_function_replace_fail
=:
18306 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
18309 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
18310 \ # positional parameters, so assign one to ordinary parameter first.\
18311 \ func_stripname_result=${3}\
18312 \ func_stripname_result=${func_stripname_result#"${1}"}\
18313 \ func_stripname_result=${func_stripname_result%"${2}"}\
18314 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
18315 && mv -f "$cfgfile.tmp" "$cfgfile" \
18316 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18317 test 0 -eq $? || _lt_function_replace_fail
=:
18320 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
18321 func_split_long_opt ()\
18323 \ func_split_long_opt_name=${1%%=*}\
18324 \ func_split_long_opt_arg=${1#*=}\
18325 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
18326 && mv -f "$cfgfile.tmp" "$cfgfile" \
18327 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18328 test 0 -eq $? || _lt_function_replace_fail
=:
18331 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
18332 func_split_short_opt ()\
18334 \ func_split_short_opt_arg=${1#??}\
18335 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
18336 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
18337 && mv -f "$cfgfile.tmp" "$cfgfile" \
18338 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18339 test 0 -eq $? || _lt_function_replace_fail
=:
18342 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
18346 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
18347 \ *) func_lo2o_result=${1} ;;\
18349 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
18350 && mv -f "$cfgfile.tmp" "$cfgfile" \
18351 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18352 test 0 -eq $? || _lt_function_replace_fail
=:
18355 sed -e '/^func_xform ()$/,/^} # func_xform /c\
18358 func_xform_result=${1%.*}.lo\
18359 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
18360 && mv -f "$cfgfile.tmp" "$cfgfile" \
18361 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18362 test 0 -eq $? || _lt_function_replace_fail
=:
18365 sed -e '/^func_arith ()$/,/^} # func_arith /c\
18368 func_arith_result=$(( $* ))\
18369 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
18370 && mv -f "$cfgfile.tmp" "$cfgfile" \
18371 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18372 test 0 -eq $? || _lt_function_replace_fail
=:
18375 sed -e '/^func_len ()$/,/^} # func_len /c\
18378 func_len_result=${#1}\
18379 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
18380 && mv -f "$cfgfile.tmp" "$cfgfile" \
18381 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18382 test 0 -eq $? || _lt_function_replace_fail
=:
18386 if test x
"$lt_shell_append" = xyes
; then
18387 sed -e '/^func_append ()$/,/^} # func_append /c\
18390 eval "${1}+=\\${2}"\
18391 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
18392 && mv -f "$cfgfile.tmp" "$cfgfile" \
18393 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18394 test 0 -eq $? || _lt_function_replace_fail
=:
18397 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
18398 func_append_quoted ()\
18400 \ func_quote_for_eval "${2}"\
18401 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
18402 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
18403 && mv -f "$cfgfile.tmp" "$cfgfile" \
18404 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18405 test 0 -eq $? || _lt_function_replace_fail
=:
18408 # Save a `func_append' function call where possible by direct use of '+='
18409 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
18410 && mv -f "$cfgfile.tmp" "$cfgfile" \
18411 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18412 test 0 -eq $? || _lt_function_replace_fail
=:
18414 # Save a `func_append' function call even when '+=' is not available
18415 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
18416 && mv -f "$cfgfile.tmp" "$cfgfile" \
18417 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18418 test 0 -eq $? || _lt_function_replace_fail
=:
18421 if test x
"$_lt_function_replace_fail" = x
":"; then
18422 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
18423 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
18427 mv -f "$cfgfile" "$ofile" ||
18428 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18432 cat <<_LT_EOF >> "$ofile"
18434 # ### BEGIN LIBTOOL TAG CONFIG: CXX
18436 # The linker used to build libraries.
18439 # How to create reloadable object files.
18440 reload_flag=$lt_reload_flag_CXX
18441 reload_cmds=$lt_reload_cmds_CXX
18443 # Commands used to build an old-style archive.
18444 old_archive_cmds=$lt_old_archive_cmds_CXX
18446 # A language specific compiler.
18447 CC=$lt_compiler_CXX
18449 # Is the compiler the GNU compiler?
18452 # Compiler flag to turn off builtin functions.
18453 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
18455 # Additional compiler flags for building library objects.
18456 pic_flag=$lt_lt_prog_compiler_pic_CXX
18458 # How to pass a linker flag through the compiler.
18459 wl=$lt_lt_prog_compiler_wl_CXX
18461 # Compiler flag to prevent dynamic linking.
18462 link_static_flag=$lt_lt_prog_compiler_static_CXX
18464 # Does compiler simultaneously support -c and -o options?
18465 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
18467 # Whether or not to add -lc for building shared libraries.
18468 build_libtool_need_lc=$archive_cmds_need_lc_CXX
18470 # Whether or not to disallow shared libs when runtime libs are static.
18471 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
18473 # Compiler flag to allow reflexive dlopens.
18474 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
18476 # Compiler flag to generate shared objects directly from archives.
18477 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
18479 # Whether the compiler copes with passing no objects directly.
18480 compiler_needs_object=$lt_compiler_needs_object_CXX
18482 # Create an old-style archive from a shared archive.
18483 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
18485 # Create a temporary old-style archive to link instead of a shared archive.
18486 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
18488 # Commands used to build a shared archive.
18489 archive_cmds=$lt_archive_cmds_CXX
18490 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
18492 # Commands used to build a loadable module if different from building
18493 # a shared archive.
18494 module_cmds=$lt_module_cmds_CXX
18495 module_expsym_cmds=$lt_module_expsym_cmds_CXX
18497 # Whether we are building with GNU ld or not.
18498 with_gnu_ld=$lt_with_gnu_ld_CXX
18500 # Flag that allows shared libraries with undefined symbols to be built.
18501 allow_undefined_flag=$lt_allow_undefined_flag_CXX
18503 # Flag that enforces no undefined symbols.
18504 no_undefined_flag=$lt_no_undefined_flag_CXX
18506 # Flag to hardcode \$libdir into a binary during linking.
18507 # This must work even if \$libdir does not exist
18508 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
18510 # If ld is used when linking, flag to hardcode \$libdir into a binary
18511 # during linking. This must work even if \$libdir does not exist.
18512 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
18514 # Whether we need a single "-rpath" flag with a separated argument.
18515 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
18517 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18518 # DIR into the resulting binary.
18519 hardcode_direct=$hardcode_direct_CXX
18521 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18522 # DIR into the resulting binary and the resulting library dependency is
18523 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18524 # library is relocated.
18525 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
18527 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18528 # into the resulting binary.
18529 hardcode_minus_L=$hardcode_minus_L_CXX
18531 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18532 # into the resulting binary.
18533 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
18535 # Set to "yes" if building a shared library automatically hardcodes DIR
18536 # into the library and all subsequent libraries and executables linked
18538 hardcode_automatic=$hardcode_automatic_CXX
18540 # Set to yes if linker adds runtime paths of dependent libraries
18541 # to runtime path list.
18542 inherit_rpath=$inherit_rpath_CXX
18544 # Whether libtool must link a program against all its dependency libraries.
18545 link_all_deplibs=$link_all_deplibs_CXX
18547 # Set to "yes" if exported symbols are required.
18548 always_export_symbols=$always_export_symbols_CXX
18550 # The commands to list exported symbols.
18551 export_symbols_cmds=$lt_export_symbols_cmds_CXX
18553 # Symbols that should not be listed in the preloaded symbols.
18554 exclude_expsyms=$lt_exclude_expsyms_CXX
18556 # Symbols that must always be exported.
18557 include_expsyms=$lt_include_expsyms_CXX
18559 # Commands necessary for linking programs (against libraries) with templates.
18560 prelink_cmds=$lt_prelink_cmds_CXX
18562 # Commands necessary for finishing linking programs.
18563 postlink_cmds=$lt_postlink_cmds_CXX
18565 # Specify filename containing input files.
18566 file_list_spec=$lt_file_list_spec_CXX
18568 # How to hardcode a shared library path into an executable.
18569 hardcode_action=$hardcode_action_CXX
18571 # The directories searched by this compiler when creating a shared library.
18572 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
18574 # Dependencies to place before and after the objects being linked to
18575 # create a shared library.
18576 predep_objects=$lt_predep_objects_CXX
18577 postdep_objects=$lt_postdep_objects_CXX
18578 predeps=$lt_predeps_CXX
18579 postdeps=$lt_postdeps_CXX
18581 # The library search path used internally by the compiler when linking
18582 # a shared library.
18583 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
18585 # ### END LIBTOOL TAG CONFIG: CXX
18596 ac_clean_files
=$ac_clean_files_save
18598 test $ac_write_fail = 0 ||
18599 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
18602 # configure is writing to config.log, and then calls config.status.
18603 # config.status does its own redirection, appending to config.log.
18604 # Unfortunately, on DOS this fails, as config.log is still kept open
18605 # by configure, so config.status won't be able to write to it; its
18606 # output is simply discarded. So we exec the FD to /dev/null,
18607 # effectively closing config.log, so it can be properly (re)opened and
18608 # appended to by config.status. When coming back to configure, we
18609 # need to make the FD available again.
18610 if test "$no_create" != yes; then
18612 ac_config_status_args
=
18613 test "$silent" = yes &&
18614 ac_config_status_args
="$ac_config_status_args --quiet"
18616 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
18618 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18619 # would make configure fail if this is the last instruction.
18620 $ac_cs_success || as_fn_exit
1
18622 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
18623 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18624 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
18628 abs_srcdir
="`cd $srcdir && pwd`"
18629 abs_builddir
="`pwd`"
18630 if test "$abs_srcdir" != "$abs_builddir"; then