2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for bdbobj 0.10.
5 # Report bugs to <courier-users@lists.sourceforge.net>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE
=1; export DUALCASE
# for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print
-rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x
; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var
in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\
${$as_var+set} = xset \
122 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
135 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
140 _as_can_reexec
=no
; export _as_can_reexec
;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
149 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec
=; unset _as_can_reexec
;}
162 if test "x$CONFIG_SHELL" = x
; then
163 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required
="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1
203 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
204 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
205 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
207 PATH=/empty FPATH=/empty; export PATH FPATH
208 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
209 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
210 if (eval "$as_required") 2>/dev
/null
; then :
215 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
218 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
220 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
223 test -z "$as_dir" && as_dir
=.
227 for as_base
in sh bash ksh sh5
; do
228 # Try only shells that exist, to save several forks.
229 as_shell
=$as_dir/$as_base
230 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
231 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
232 CONFIG_SHELL
=$as_shell as_have_required
=yes
233 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
241 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
242 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
243 CONFIG_SHELL
=$SHELL as_have_required
=yes
248 if test "x$CONFIG_SHELL" != x
; then :
250 # We cannot yet assume a decent shell, so we have to provide a
251 # neutralization value for shells without unset; and this also
252 # works around shells that cannot unset nonexistent variables.
253 # Preserve -v and -x to the replacement shell.
256 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
258 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264 # Admittedly, this is quite paranoid, since all the known shells bail
265 # out after a failed `exec'.
266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
270 if test x
$as_have_required = xno
; then :
271 $as_echo "$0: This script requires a shell more modern than all"
272 $as_echo "$0: the shells that I found on your system."
273 if test x
${ZSH_VERSION+set} = xset
; then
274 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
277 $as_echo "$0: Please tell bug-autoconf@gnu.org and
278 $0: courier-users@lists.sourceforge.net about your system,
279 $0: including any error possibly output before this
280 $0: message. Then install a modern shell, or manually run
281 $0: the script under such a shell if you do have one."
287 SHELL
=${CONFIG_SHELL-/bin/sh}
289 # Unset more variables known to interfere with behavior of common tools.
290 CLICOLOR_FORCE
= GREP_OPTIONS
=
291 unset CLICOLOR_FORCE GREP_OPTIONS
293 ## --------------------- ##
294 ## M4sh Shell Functions. ##
295 ## --------------------- ##
298 # Portably unset VAR.
301 { eval $1=; unset $1;}
305 # as_fn_set_status STATUS
306 # -----------------------
307 # Set $? to STATUS, without forking.
315 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
325 # Create "$as_dir" as a directory, including parents if necessary.
330 -*) as_dir
=.
/$as_dir;;
332 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
336 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
339 as_dirs
="'$as_qdir' $as_dirs"
340 as_dir
=`$as_dirname -- "$as_dir" ||
341 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
342 X"$as_dir" : 'X\(//\)[^/]' \| \
343 X"$as_dir" : 'X\(//\)$' \| \
344 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
345 $as_echo X"$as_dir" |
346 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
363 test -d "$as_dir" && break
365 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
366 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
371 # as_fn_executable_p FILE
372 # -----------------------
373 # Test if FILE is an executable regular file.
374 as_fn_executable_p
()
376 test -f "$1" && test -x "$1"
377 } # as_fn_executable_p
378 # as_fn_append VAR VALUE
379 # ----------------------
380 # Append the text in VALUE to the end of the definition contained in VAR. Take
381 # advantage of any shell optimizations that allow amortized linear growth over
382 # repeated appends, instead of the typical quadratic growth present in naive
384 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
385 eval 'as_fn_append ()
398 # Perform arithmetic evaluation on the ARGs, and store the result in the
399 # global $as_val. Take advantage of shells that can avoid forks. The arguments
400 # must be portable across $(()) and expr.
401 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
409 as_val
=`expr "$@" || test $? -eq 1`
414 # as_fn_error STATUS ERROR [LINENO LOG_FD]
415 # ----------------------------------------
416 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
417 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
418 # script with STATUS, using 1 if that was 0.
421 as_status
=$1; test $as_status -eq 0 && as_status
=1
423 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
424 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
426 $as_echo "$as_me: error: $2" >&2
427 as_fn_exit
$as_status
430 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
431 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
437 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
443 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
449 as_me
=`$as_basename -- "$0" ||
450 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
451 X"$0" : 'X\(//\)$' \| \
452 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
454 sed '/^.*\/\([^/][^/]*\)\/*$/{
468 # Avoid depending upon Character Ranges.
469 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
470 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
471 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
472 as_cr_digits
='0123456789'
473 as_cr_alnum
=$as_cr_Letters$as_cr_digits
476 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
477 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
478 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
479 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
480 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
492 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
496 chmod +x
"$as_me.lineno" ||
497 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
499 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
500 # already done that, so ensure we don't try to do so again and fall
501 # in an infinite loop. This has already happened in practice.
502 _as_can_reexec
=no
; export _as_can_reexec
503 # Don't try to exec as it changes $[0], causing all sort of problems
504 # (the dirname of $[0] is not the place where we might find the
505 # original and so on. Autoconf is especially sensitive to this).
507 # Exit status is that of the last command.
511 ECHO_C
= ECHO_N
= ECHO_T
=
512 case `echo -n x` in #(((((
514 case `echo 'xy\c'` in
515 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
517 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
524 rm -f conf$$ conf$$.exe conf$$.
file
525 if test -d conf$$.dir
; then
526 rm -f conf$$.dir
/conf$$.
file
529 mkdir conf$$.dir
2>/dev
/null
531 if (echo >conf$$.
file) 2>/dev
/null
; then
532 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
534 # ... but there are two gotchas:
535 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
536 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
537 # In both cases, we have to default to `cp -pR'.
538 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
540 elif ln conf$$.
file conf$$
2>/dev
/null
; then
548 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
549 rmdir conf$$.dir
2>/dev
/null
551 if mkdir
-p .
2>/dev
/null
; then
552 as_mkdir_p
='mkdir -p "$as_dir"'
554 test -d .
/-p && rmdir .
/-p
559 as_executable_p
=as_fn_executable_p
561 # Sed expression to map a string onto a valid CPP name.
562 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
564 # Sed expression to map a string onto a valid variable name.
565 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
567 SHELL
=${CONFIG_SHELL-/bin/sh}
570 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
574 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
575 # so uname gets run too.
576 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
581 ac_default_prefix
=/usr
/local
583 ac_config_libobj_dir
=.
590 # Identity of this package.
591 PACKAGE_NAME
='bdbobj'
592 PACKAGE_TARNAME
='bdbobj'
593 PACKAGE_VERSION
='0.10'
594 PACKAGE_STRING
='bdbobj 0.10'
595 PACKAGE_BUGREPORT
='courier-users@lists.sourceforge.net'
598 ac_unique_file
="bdbobj.h"
599 # Factoring default headers for most tests.
600 ac_includes_default
="\
602 #ifdef HAVE_SYS_TYPES_H
603 # include <sys/types.h>
605 #ifdef HAVE_SYS_STAT_H
606 # include <sys/stat.h>
612 # ifdef HAVE_STDLIB_H
617 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
622 #ifdef HAVE_STRINGS_H
623 # include <strings.h>
625 #ifdef HAVE_INTTYPES_H
626 # include <inttypes.h>
635 ac_subst_vars
='am__EXEEXT_FALSE
708 INSTALL_STRIP_PROGRAM
750 program_transform_name
763 enable_option_checking
765 enable_dependency_tracking
775 ac_precious_vars
='build_alias
790 # Initialize some variables set by options.
792 ac_init_version
=false
793 ac_unrecognized_opts
=
795 # The variables have the same names as the options, with
796 # dashes changed to underlines.
804 program_transform_name
=s
,x
,x
,
812 # Installation directory options.
813 # These are left unexpanded so users can "make install exec_prefix=/foo"
814 # and all the variables that are supposed to be based on exec_prefix
815 # by default will actually change.
816 # Use braces instead of parens because sh, perl, etc. also accept them.
817 # (The list follows the same order as the GNU Coding Standards.)
818 bindir
='${exec_prefix}/bin'
819 sbindir
='${exec_prefix}/sbin'
820 libexecdir
='${exec_prefix}/libexec'
821 datarootdir
='${prefix}/share'
822 datadir
='${datarootdir}'
823 sysconfdir
='${prefix}/etc'
824 sharedstatedir
='${prefix}/com'
825 localstatedir
='${prefix}/var'
826 includedir
='${prefix}/include'
827 oldincludedir
='/usr/include'
828 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
829 infodir
='${datarootdir}/info'
834 libdir
='${exec_prefix}/lib'
835 localedir
='${datarootdir}/locale'
836 mandir
='${datarootdir}/man'
842 # If the previous option needs an argument, assign it.
843 if test -n "$ac_prev"; then
844 eval $ac_prev=\
$ac_option
850 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
855 # Accept the important Cygnus configure options, so we can diagnose typos.
857 case $ac_dashdash$ac_option in
861 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
863 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
866 -build |
--build |
--buil |
--bui |
--bu)
867 ac_prev
=build_alias
;;
868 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
869 build_alias
=$ac_optarg ;;
871 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
872 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
873 ac_prev
=cache_file
;;
874 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
875 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
876 cache_file
=$ac_optarg ;;
879 cache_file
=config.cache
;;
881 -datadir |
--datadir |
--datadi |
--datad)
883 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
884 datadir
=$ac_optarg ;;
886 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
887 |
--dataroo |
--dataro |
--datar)
888 ac_prev
=datarootdir
;;
889 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
890 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
891 datarootdir
=$ac_optarg ;;
893 -disable-* |
--disable-*)
894 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
895 # Reject names that are not valid shell variable names.
896 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
897 as_fn_error $?
"invalid feature name: $ac_useropt"
898 ac_useropt_orig
=$ac_useropt
899 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
900 case $ac_user_opts in
904 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
905 ac_unrecognized_sep
=', ';;
907 eval enable_
$ac_useropt=no
;;
909 -docdir |
--docdir |
--docdi |
--doc |
--do)
911 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
914 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
916 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
919 -enable-* |
--enable-*)
920 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
921 # Reject names that are not valid shell variable names.
922 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
923 as_fn_error $?
"invalid feature name: $ac_useropt"
924 ac_useropt_orig
=$ac_useropt
925 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
926 case $ac_user_opts in
930 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
931 ac_unrecognized_sep
=', ';;
933 eval enable_
$ac_useropt=\
$ac_optarg ;;
935 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
936 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
937 |
--exec |
--exe |
--ex)
938 ac_prev
=exec_prefix
;;
939 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
940 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
941 |
--exec=* |
--exe=* |
--ex=*)
942 exec_prefix
=$ac_optarg ;;
944 -gas |
--gas |
--ga |
--g)
945 # Obsolete; use --with-gas.
948 -help |
--help |
--hel |
--he |
-h)
950 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
951 ac_init_help
=recursive
;;
952 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
953 ac_init_help
=short
;;
955 -host |
--host |
--hos |
--ho)
956 ac_prev
=host_alias
;;
957 -host=* |
--host=* |
--hos=* |
--ho=*)
958 host_alias
=$ac_optarg ;;
960 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
962 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
964 htmldir
=$ac_optarg ;;
966 -includedir |
--includedir |
--includedi |
--included |
--include \
967 |
--includ |
--inclu |
--incl |
--inc)
968 ac_prev
=includedir
;;
969 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
970 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
971 includedir
=$ac_optarg ;;
973 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
975 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
976 infodir
=$ac_optarg ;;
978 -libdir |
--libdir |
--libdi |
--libd)
980 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
983 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
984 |
--libexe |
--libex |
--libe)
985 ac_prev
=libexecdir
;;
986 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
987 |
--libexe=* |
--libex=* |
--libe=*)
988 libexecdir
=$ac_optarg ;;
990 -localedir |
--localedir |
--localedi |
--localed |
--locale)
992 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
993 localedir
=$ac_optarg ;;
995 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
996 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
997 ac_prev
=localstatedir
;;
998 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
999 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1000 localstatedir
=$ac_optarg ;;
1002 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1004 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1005 mandir
=$ac_optarg ;;
1007 -nfp |
--nfp |
--nf)
1008 # Obsolete; use --without-fp.
1011 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1012 |
--no-cr |
--no-c |
-n)
1015 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1016 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1019 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1020 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1021 |
--oldin |
--oldi |
--old |
--ol |
--o)
1022 ac_prev
=oldincludedir
;;
1023 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1024 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1025 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1026 oldincludedir
=$ac_optarg ;;
1028 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1030 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1031 prefix
=$ac_optarg ;;
1033 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1034 |
--program-pre |
--program-pr |
--program-p)
1035 ac_prev
=program_prefix
;;
1036 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1037 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1038 program_prefix
=$ac_optarg ;;
1040 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1041 |
--program-suf |
--program-su |
--program-s)
1042 ac_prev
=program_suffix
;;
1043 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1044 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1045 program_suffix
=$ac_optarg ;;
1047 -program-transform-name |
--program-transform-name \
1048 |
--program-transform-nam |
--program-transform-na \
1049 |
--program-transform-n |
--program-transform- \
1050 |
--program-transform |
--program-transfor \
1051 |
--program-transfo |
--program-transf \
1052 |
--program-trans |
--program-tran \
1053 |
--progr-tra |
--program-tr |
--program-t)
1054 ac_prev
=program_transform_name
;;
1055 -program-transform-name=* |
--program-transform-name=* \
1056 |
--program-transform-nam=* |
--program-transform-na=* \
1057 |
--program-transform-n=* |
--program-transform-=* \
1058 |
--program-transform=* |
--program-transfor=* \
1059 |
--program-transfo=* |
--program-transf=* \
1060 |
--program-trans=* |
--program-tran=* \
1061 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1062 program_transform_name
=$ac_optarg ;;
1064 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1066 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1067 pdfdir
=$ac_optarg ;;
1069 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1071 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1074 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1075 |
-silent |
--silent |
--silen |
--sile |
--sil)
1078 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1080 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1082 sbindir
=$ac_optarg ;;
1084 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1085 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1086 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1088 ac_prev
=sharedstatedir
;;
1089 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1090 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1091 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1093 sharedstatedir
=$ac_optarg ;;
1095 -site |
--site |
--sit)
1097 -site=* |
--site=* |
--sit=*)
1100 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1102 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1103 srcdir
=$ac_optarg ;;
1105 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1106 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1107 ac_prev
=sysconfdir
;;
1108 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1109 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1110 sysconfdir
=$ac_optarg ;;
1112 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1113 ac_prev
=target_alias
;;
1114 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1115 target_alias
=$ac_optarg ;;
1117 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1120 -version |
--version |
--versio |
--versi |
--vers |
-V)
1121 ac_init_version
=: ;;
1124 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1125 # Reject names that are not valid shell variable names.
1126 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1127 as_fn_error $?
"invalid package name: $ac_useropt"
1128 ac_useropt_orig
=$ac_useropt
1129 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1130 case $ac_user_opts in
1134 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1135 ac_unrecognized_sep
=', ';;
1137 eval with_
$ac_useropt=\
$ac_optarg ;;
1139 -without-* |
--without-*)
1140 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1141 # Reject names that are not valid shell variable names.
1142 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1143 as_fn_error $?
"invalid package name: $ac_useropt"
1144 ac_useropt_orig
=$ac_useropt
1145 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1146 case $ac_user_opts in
1150 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1151 ac_unrecognized_sep
=', ';;
1153 eval with_
$ac_useropt=no
;;
1156 # Obsolete; use --with-x.
1159 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1160 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1161 ac_prev
=x_includes
;;
1162 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1163 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1164 x_includes
=$ac_optarg ;;
1166 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1167 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1168 ac_prev
=x_libraries
;;
1169 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1170 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1171 x_libraries
=$ac_optarg ;;
1173 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1174 Try \`$0 --help' for more information"
1178 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1179 # Reject names that are not valid shell variable names.
1180 case $ac_envvar in #(
1181 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1182 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1184 eval $ac_envvar=\
$ac_optarg
1185 export $ac_envvar ;;
1188 # FIXME: should be removed in autoconf 3.0.
1189 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1190 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1191 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1192 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1198 if test -n "$ac_prev"; then
1199 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1200 as_fn_error $?
"missing argument to $ac_option"
1203 if test -n "$ac_unrecognized_opts"; then
1204 case $enable_option_checking in
1206 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1207 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1211 # Check all directory arguments for consistency.
1212 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1213 datadir sysconfdir sharedstatedir localstatedir includedir \
1214 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1215 libdir localedir mandir
1217 eval ac_val
=\$
$ac_var
1218 # Remove trailing slashes.
1221 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1222 eval $ac_var=\
$ac_val;;
1224 # Be sure to have absolute directory names.
1226 [\\/$
]* | ?
:[\\/]* ) continue;;
1227 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1229 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1232 # There might be people who depend on the old broken behavior: `$host'
1233 # used to hold the argument of --host etc.
1234 # FIXME: To remove some day.
1237 target
=$target_alias
1239 # FIXME: To remove some day.
1240 if test "x$host_alias" != x
; then
1241 if test "x$build_alias" = x
; then
1242 cross_compiling
=maybe
1243 elif test "x$build_alias" != "x$host_alias"; then
1249 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1251 test "$silent" = yes && exec 6>/dev
/null
1254 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1255 ac_ls_di
=`ls -di .` &&
1256 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1257 as_fn_error $?
"working directory cannot be determined"
1258 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1259 as_fn_error $?
"pwd does not report name of working directory"
1262 # Find the source files, if location was not specified.
1263 if test -z "$srcdir"; then
1264 ac_srcdir_defaulted
=yes
1265 # Try the directory containing this script, then the parent directory.
1266 ac_confdir
=`$as_dirname -- "$as_myself" ||
1267 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1268 X"$as_myself" : 'X\(//\)[^/]' \| \
1269 X"$as_myself" : 'X\(//\)$' \| \
1270 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1271 $as_echo X"$as_myself" |
1272 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1290 if test ! -r "$srcdir/$ac_unique_file"; then
1294 ac_srcdir_defaulted
=no
1296 if test ! -r "$srcdir/$ac_unique_file"; then
1297 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1298 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1300 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1302 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1304 # When building in place, set srcdir=.
1305 if test "$ac_abs_confdir" = "$ac_pwd"; then
1308 # Remove unnecessary trailing slashes from srcdir.
1309 # Double slashes in file names in object file debugging info
1310 # mess up M-x gdb in Emacs.
1312 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1314 for ac_var
in $ac_precious_vars; do
1315 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1316 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1317 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1318 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1322 # Report the --help message.
1324 if test "$ac_init_help" = "long"; then
1325 # Omit some internal or obsolete options to make the list less imposing.
1326 # This message is too long to be a string in the A/UX 3.1 sh.
1328 \`configure' configures bdbobj 0.10 to adapt to many kinds of systems.
1330 Usage: $0 [OPTION]... [VAR=VALUE]...
1332 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1333 VAR=VALUE. See below for descriptions of some of the useful variables.
1335 Defaults for the options are specified in brackets.
1338 -h, --help display this help and exit
1339 --help=short display options specific to this package
1340 --help=recursive display the short help of all the included packages
1341 -V, --version display version information and exit
1342 -q, --quiet, --silent do not print \`checking ...' messages
1343 --cache-file=FILE cache test results in FILE [disabled]
1344 -C, --config-cache alias for \`--cache-file=config.cache'
1345 -n, --no-create do not create output files
1346 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1348 Installation directories:
1349 --prefix=PREFIX install architecture-independent files in PREFIX
1350 [$ac_default_prefix]
1351 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1354 By default, \`make install' will install all the files in
1355 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1356 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1357 for instance \`--prefix=\$HOME'.
1359 For better control, use the options below.
1361 Fine tuning of the installation directories:
1362 --bindir=DIR user executables [EPREFIX/bin]
1363 --sbindir=DIR system admin executables [EPREFIX/sbin]
1364 --libexecdir=DIR program executables [EPREFIX/libexec]
1365 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1366 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1367 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1368 --libdir=DIR object code libraries [EPREFIX/lib]
1369 --includedir=DIR C header files [PREFIX/include]
1370 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1371 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1372 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1373 --infodir=DIR info documentation [DATAROOTDIR/info]
1374 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1375 --mandir=DIR man documentation [DATAROOTDIR/man]
1376 --docdir=DIR documentation root [DATAROOTDIR/doc/bdbobj]
1377 --htmldir=DIR html documentation [DOCDIR]
1378 --dvidir=DIR dvi documentation [DOCDIR]
1379 --pdfdir=DIR pdf documentation [DOCDIR]
1380 --psdir=DIR ps documentation [DOCDIR]
1386 --program-prefix=PREFIX prepend PREFIX to installed program names
1387 --program-suffix=SUFFIX append SUFFIX to installed program names
1388 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1391 --build=BUILD configure
for building on BUILD
[guessed
]
1392 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1396 if test -n "$ac_init_help"; then
1397 case $ac_init_help in
1398 short | recursive
) echo "Configuration of bdbobj 0.10:";;
1403 --disable-option-checking ignore unrecognized
--enable/--with options
1404 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1405 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1406 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1407 --disable-silent-rules verbose build output
(undo
: "make V=0")
1408 --enable-dependency-tracking
1409 do not reject slow dependency extractors
1410 --disable-dependency-tracking
1411 speeds up one-time build
1412 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1413 --enable-static[=PKGS
] build static libraries
[default
=yes]
1414 --enable-fast-install[=PKGS
]
1415 optimize
for fast installation
[default
=yes]
1416 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1417 --disable-largefile omit support
for large files
1420 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1421 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1422 --with-pic[=PKGS
] try to use only PIC
/non-PIC objects
[default
=use
1424 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1425 --with-sysroot=DIR Search
for dependent libraries within DIR
1426 (or the compiler
's sysroot if not specified).
1428 Some influential environment variables:
1429 CC C compiler command
1430 CFLAGS C compiler flags
1431 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1432 nonstandard directory <lib dir>
1433 LIBS libraries to pass to the linker, e.g. -l<library>
1434 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1435 you have headers in a nonstandard directory <include dir>
1437 CXX C++ compiler command
1438 CXXFLAGS C++ compiler flags
1439 CXXCPP C++ preprocessor
1441 Use these variables to override the choices made by `configure' or to
help
1442 it to
find libraries and programs with nonstandard names
/locations.
1444 Report bugs to
<courier-users@lists.sourceforge.net
>.
1449 if test "$ac_init_help" = "recursive"; then
1450 # If there are subdirs, report their specific --help.
1451 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1452 test -d "$ac_dir" ||
1453 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1458 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1460 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1461 # A ".." for each directory in $ac_dir_suffix.
1462 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1463 case $ac_top_builddir_sub in
1464 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1465 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1468 ac_abs_top_builddir
=$ac_pwd
1469 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1470 # for backward compatibility:
1471 ac_top_builddir
=$ac_top_build_prefix
1474 .
) # We are building in place.
1476 ac_top_srcdir
=$ac_top_builddir_sub
1477 ac_abs_top_srcdir
=$ac_pwd ;;
1478 [\\/]* | ?
:[\\/]* ) # Absolute name.
1479 ac_srcdir
=$srcdir$ac_dir_suffix;
1480 ac_top_srcdir
=$srcdir
1481 ac_abs_top_srcdir
=$srcdir ;;
1483 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1484 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1485 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1487 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1489 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1490 # Check for guested configure.
1491 if test -f "$ac_srcdir/configure.gnu"; then
1493 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1494 elif test -f "$ac_srcdir/configure"; then
1496 $SHELL "$ac_srcdir/configure" --help=recursive
1498 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1500 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1504 test -n "$ac_init_help" && exit $ac_status
1505 if $ac_init_version; then
1507 bdbobj configure
0.10
1508 generated by GNU Autoconf
2.69
1510 Copyright
(C
) 2012 Free Software Foundation
, Inc.
1511 This configure
script is free software
; the Free Software Foundation
1512 gives unlimited permission to copy
, distribute and modify it.
1517 ## ------------------------ ##
1518 ## Autoconf initialization. ##
1519 ## ------------------------ ##
1521 # ac_fn_c_try_compile LINENO
1522 # --------------------------
1523 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1524 ac_fn_c_try_compile
()
1526 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1527 rm -f conftest.
$ac_objext
1528 if { { ac_try
="$ac_compile"
1530 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1531 *) ac_try_echo=$ac_try;;
1533 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1534 $as_echo "$ac_try_echo"; } >&5
1535 (eval "$ac_compile") 2>conftest.err
1537 if test -s conftest.err; then
1538 grep -v '^ *+' conftest.err >conftest.er1
1539 cat conftest.er1 >&5
1540 mv -f conftest.er1 conftest.err
1542 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1543 test $ac_status = 0; } && {
1544 test -z "$ac_c_werror_flag" ||
1545 test ! -s conftest.err
1546 } && test -s conftest.$ac_objext; then :
1549 $as_echo "$as_me: failed program was:" >&5
1550 sed 's/^/| /' conftest.$ac_ext >&5
1554 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1555 as_fn_set_status $ac_retval
1557 } # ac_fn_c_try_compile
1559 # ac_fn_c_try_cpp LINENO
1560 # ----------------------
1561 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1564 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1565 if { { ac_try="$ac_cpp conftest.$ac_ext"
1567 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1568 *) ac_try_echo
=$ac_try;;
1570 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1571 $as_echo "$ac_try_echo"; } >&5
1572 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1574 if test -s conftest.err
; then
1575 grep -v '^ *+' conftest.err
>conftest.er1
1576 cat conftest.er1
>&5
1577 mv -f conftest.er1 conftest.err
1579 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1580 test $ac_status = 0; } > conftest.i
&& {
1581 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1582 test ! -s conftest.err
1586 $as_echo "$as_me: failed program was:" >&5
1587 sed 's/^/| /' conftest.
$ac_ext >&5
1591 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1592 as_fn_set_status
$ac_retval
1596 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1597 # -------------------------------------------------------
1598 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1599 # the include files in INCLUDES and setting the cache variable VAR
1601 ac_fn_c_check_header_mongrel
()
1603 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1604 if eval \
${$3+:} false
; then :
1605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1606 $as_echo_n "checking for $2... " >&6; }
1607 if eval \
${$3+:} false
; then :
1608 $as_echo_n "(cached) " >&6
1611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1612 $as_echo "$ac_res" >&6; }
1614 # Is the header compilable?
1615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1616 $as_echo_n "checking $2 usability... " >&6; }
1617 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1618 /* end confdefs.h. */
1622 if ac_fn_c_try_compile
"$LINENO"; then :
1623 ac_header_compiler
=yes
1625 ac_header_compiler
=no
1627 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1629 $as_echo "$ac_header_compiler" >&6; }
1631 # Is the header present?
1632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1633 $as_echo_n "checking $2 presence... " >&6; }
1634 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1635 /* end confdefs.h. */
1638 if ac_fn_c_try_cpp
"$LINENO"; then :
1639 ac_header_preproc
=yes
1641 ac_header_preproc
=no
1643 rm -f conftest.err conftest.i conftest.
$ac_ext
1644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1645 $as_echo "$ac_header_preproc" >&6; }
1647 # So? What about this header?
1648 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1650 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1651 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1652 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1653 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1656 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1657 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1658 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1659 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1660 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1661 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1662 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1663 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1664 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1665 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1666 ( $as_echo "## -------------------------------------------------- ##
1667 ## Report this to courier-users@lists.sourceforge.net ##
1668 ## -------------------------------------------------- ##"
1669 ) |
sed "s/^/$as_me: WARNING: /" >&2
1672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1673 $as_echo_n "checking for $2... " >&6; }
1674 if eval \
${$3+:} false
; then :
1675 $as_echo_n "(cached) " >&6
1677 eval "$3=\$ac_header_compiler"
1680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1681 $as_echo "$ac_res" >&6; }
1683 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1685 } # ac_fn_c_check_header_mongrel
1687 # ac_fn_c_try_run LINENO
1688 # ----------------------
1689 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1690 # that executables *can* be run.
1693 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1694 if { { ac_try
="$ac_link"
1696 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1697 *) ac_try_echo=$ac_try;;
1699 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1700 $as_echo "$ac_try_echo"; } >&5
1701 (eval "$ac_link") 2>&5
1703 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1704 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1705 { { case "(($ac_try" in
1706 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1707 *) ac_try_echo
=$ac_try;;
1709 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1710 $as_echo "$ac_try_echo"; } >&5
1711 (eval "$ac_try") 2>&5
1713 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1714 test $ac_status = 0; }; }; then :
1717 $as_echo "$as_me: program exited with status $ac_status" >&5
1718 $as_echo "$as_me: failed program was:" >&5
1719 sed 's/^/| /' conftest.
$ac_ext >&5
1721 ac_retval
=$ac_status
1723 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1724 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1725 as_fn_set_status
$ac_retval
1729 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1730 # -------------------------------------------------------
1731 # Tests whether HEADER exists and can be compiled using the include files in
1732 # INCLUDES, setting the cache variable VAR accordingly.
1733 ac_fn_c_check_header_compile
()
1735 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1737 $as_echo_n "checking for $2... " >&6; }
1738 if eval \
${$3+:} false
; then :
1739 $as_echo_n "(cached) " >&6
1741 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1742 /* end confdefs.h. */
1746 if ac_fn_c_try_compile
"$LINENO"; then :
1751 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1755 $as_echo "$ac_res" >&6; }
1756 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1758 } # ac_fn_c_check_header_compile
1760 # ac_fn_cxx_try_compile LINENO
1761 # ----------------------------
1762 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1763 ac_fn_cxx_try_compile
()
1765 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1766 rm -f conftest.
$ac_objext
1767 if { { ac_try
="$ac_compile"
1769 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1770 *) ac_try_echo=$ac_try;;
1772 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1773 $as_echo "$ac_try_echo"; } >&5
1774 (eval "$ac_compile") 2>conftest.err
1776 if test -s conftest.err; then
1777 grep -v '^ *+' conftest.err >conftest.er1
1778 cat conftest.er1 >&5
1779 mv -f conftest.er1 conftest.err
1781 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1782 test $ac_status = 0; } && {
1783 test -z "$ac_cxx_werror_flag" ||
1784 test ! -s conftest.err
1785 } && test -s conftest.$ac_objext; then :
1788 $as_echo "$as_me: failed program was:" >&5
1789 sed 's/^/| /' conftest.$ac_ext >&5
1793 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1794 as_fn_set_status $ac_retval
1796 } # ac_fn_cxx_try_compile
1798 # ac_fn_c_try_link LINENO
1799 # -----------------------
1800 # Try to link conftest.$ac_ext, and return whether this succeeded.
1803 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1804 rm -f conftest.$ac_objext conftest$ac_exeext
1805 if { { ac_try="$ac_link"
1807 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1808 *) ac_try_echo
=$ac_try;;
1810 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1811 $as_echo "$ac_try_echo"; } >&5
1812 (eval "$ac_link") 2>conftest.err
1814 if test -s conftest.err
; then
1815 grep -v '^ *+' conftest.err
>conftest.er1
1816 cat conftest.er1
>&5
1817 mv -f conftest.er1 conftest.err
1819 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1820 test $ac_status = 0; } && {
1821 test -z "$ac_c_werror_flag" ||
1822 test ! -s conftest.err
1823 } && test -s conftest
$ac_exeext && {
1824 test "$cross_compiling" = yes ||
1825 test -x conftest
$ac_exeext
1829 $as_echo "$as_me: failed program was:" >&5
1830 sed 's/^/| /' conftest.
$ac_ext >&5
1834 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1835 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1836 # interfere with the next link command; also delete a directory that is
1837 # left behind by Apple's compiler. We do this before executing the actions.
1838 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1839 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1840 as_fn_set_status
$ac_retval
1842 } # ac_fn_c_try_link
1844 # ac_fn_c_check_func LINENO FUNC VAR
1845 # ----------------------------------
1846 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1847 ac_fn_c_check_func
()
1849 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1851 $as_echo_n "checking for $2... " >&6; }
1852 if eval \
${$3+:} false
; then :
1853 $as_echo_n "(cached) " >&6
1855 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1856 /* end confdefs.h. */
1857 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1858 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1859 #define $2 innocuous_$2
1861 /* System header to define __stub macros and hopefully few prototypes,
1862 which can conflict with char $2 (); below.
1863 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1864 <limits.h> exists even on freestanding compilers. */
1867 # include <limits.h>
1869 # include <assert.h>
1874 /* Override any GCC internal prototype to avoid an error.
1875 Use char because int might match the return type of a GCC
1876 builtin and then its argument prototype would still apply. */
1881 /* The GNU C library defines this for functions which it implements
1882 to always fail with ENOSYS. Some functions are actually named
1883 something starting with __ and the normal name is an alias. */
1884 #if defined __stub_$2 || defined __stub___$2
1896 if ac_fn_c_try_link
"$LINENO"; then :
1901 rm -f core conftest.err conftest.
$ac_objext \
1902 conftest
$ac_exeext conftest.
$ac_ext
1905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1906 $as_echo "$ac_res" >&6; }
1907 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1909 } # ac_fn_c_check_func
1911 # ac_fn_cxx_try_cpp LINENO
1912 # ------------------------
1913 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1914 ac_fn_cxx_try_cpp
()
1916 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1917 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1919 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1920 *) ac_try_echo=$ac_try;;
1922 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1923 $as_echo "$ac_try_echo"; } >&5
1924 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1926 if test -s conftest.err; then
1927 grep -v '^ *+' conftest.err >conftest.er1
1928 cat conftest.er1 >&5
1929 mv -f conftest.er1 conftest.err
1931 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1932 test $ac_status = 0; } > conftest.i && {
1933 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1934 test ! -s conftest.err
1938 $as_echo "$as_me: failed program was:" >&5
1939 sed 's/^/| /' conftest.$ac_ext >&5
1943 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1944 as_fn_set_status $ac_retval
1946 } # ac_fn_cxx_try_cpp
1948 # ac_fn_cxx_try_link LINENO
1949 # -------------------------
1950 # Try to link conftest.$ac_ext, and return whether this succeeded.
1951 ac_fn_cxx_try_link ()
1953 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1954 rm -f conftest.$ac_objext conftest$ac_exeext
1955 if { { ac_try="$ac_link"
1957 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1958 *) ac_try_echo
=$ac_try;;
1960 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1961 $as_echo "$ac_try_echo"; } >&5
1962 (eval "$ac_link") 2>conftest.err
1964 if test -s conftest.err
; then
1965 grep -v '^ *+' conftest.err
>conftest.er1
1966 cat conftest.er1
>&5
1967 mv -f conftest.er1 conftest.err
1969 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1970 test $ac_status = 0; } && {
1971 test -z "$ac_cxx_werror_flag" ||
1972 test ! -s conftest.err
1973 } && test -s conftest
$ac_exeext && {
1974 test "$cross_compiling" = yes ||
1975 test -x conftest
$ac_exeext
1979 $as_echo "$as_me: failed program was:" >&5
1980 sed 's/^/| /' conftest.
$ac_ext >&5
1984 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1985 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1986 # interfere with the next link command; also delete a directory that is
1987 # left behind by Apple's compiler. We do this before executing the actions.
1988 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1989 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1990 as_fn_set_status
$ac_retval
1992 } # ac_fn_cxx_try_link
1994 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1995 # -------------------------------------------
1996 # Tests whether TYPE exists after having included INCLUDES, setting cache
1997 # variable VAR accordingly.
1998 ac_fn_c_check_type
()
2000 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2002 $as_echo_n "checking for $2... " >&6; }
2003 if eval \
${$3+:} false
; then :
2004 $as_echo_n "(cached) " >&6
2007 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2008 /* end confdefs.h. */
2019 if ac_fn_c_try_compile
"$LINENO"; then :
2020 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2021 /* end confdefs.h. */
2032 if ac_fn_c_try_compile
"$LINENO"; then :
2037 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2039 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2043 $as_echo "$ac_res" >&6; }
2044 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2046 } # ac_fn_c_check_type
2047 cat >config.log
<<_ACEOF
2048 This file contains any messages produced by compilers while
2049 running configure, to aid debugging if configure makes a mistake.
2051 It was created by bdbobj $as_me 0.10, which was
2052 generated by GNU Autoconf 2.69. Invocation command line was
2064 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2065 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2066 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2067 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2068 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2070 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2071 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2073 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2074 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2075 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2076 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2077 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2078 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2079 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2083 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2087 test -z "$as_dir" && as_dir
=.
2088 $as_echo "PATH: $as_dir"
2104 # Keep a trace of the command line.
2105 # Strip out --no-create and --no-recursion so they do not pile up.
2106 # Strip out --silent because we don't want to record it for future runs.
2107 # Also quote any args containing shell meta-characters.
2108 # Make two passes to allow for proper duplicate-argument suppression.
2112 ac_must_keep_next
=false
2118 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2119 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2120 |
-silent |
--silent |
--silen |
--sile |
--sil)
2123 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2126 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2128 as_fn_append ac_configure_args1
" '$ac_arg'"
2129 if test $ac_must_keep_next = true
; then
2130 ac_must_keep_next
=false
# Got value, back to normal.
2133 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2134 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2135 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2136 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2137 case "$ac_configure_args0 " in
2138 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2141 -* ) ac_must_keep_next
=true
;;
2144 as_fn_append ac_configure_args
" '$ac_arg'"
2149 { ac_configure_args0
=; unset ac_configure_args0
;}
2150 { ac_configure_args1
=; unset ac_configure_args1
;}
2152 # When interrupted or exit'd, cleanup temporary files, and complete
2153 # config.log. We remove comments because anyway the quotes in there
2154 # would cause problems or look ugly.
2155 # WARNING: Use '\'' to represent an apostrophe within the trap.
2156 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2157 trap 'exit_status=$?
2158 # Save into config.log some information that might help in debugging.
2162 $as_echo "## ---------------- ##
2163 ## Cache variables. ##
2164 ## ---------------- ##"
2166 # The following way of writing the cache mishandles newlines in values,
2168 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2169 eval ac_val=\$$ac_var
2173 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2174 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2177 _ | IFS | as_nl) ;; #(
2178 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2179 *) { eval $ac_var=; unset $ac_var;} ;;
2184 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2185 *${as_nl}ac_space=\ *)
2187 "s/'\''/'\''\\\\'\'''\''/g;
2188 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2191 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2198 $as_echo "## ----------------- ##
2199 ## Output variables. ##
2200 ## ----------------- ##"
2202 for ac_var in $ac_subst_vars
2204 eval ac_val=\$$ac_var
2206 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2208 $as_echo "$ac_var='\''$ac_val'\''"
2212 if test -n "$ac_subst_files"; then
2213 $as_echo "## ------------------- ##
2214 ## File substitutions. ##
2215 ## ------------------- ##"
2217 for ac_var
in $ac_subst_files
2219 eval ac_val
=\$
$ac_var
2221 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2223 $as_echo "$ac_var='\''$ac_val'\''"
2228 if test -s confdefs.h; then
2229 $as_echo "## ----------- ##
2236 test "$ac_signal" != 0 &&
2237 $as_echo "$as_me: caught signal $ac_signal"
2238 $as_echo "$as_me: exit $exit_status"
2240 rm -f core *.core core.conftest.* &&
2241 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2244 for ac_signal
in 1 2 13 15; do
2245 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2249 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2250 rm -f -r conftest
* confdefs.h
2252 $as_echo "/* confdefs.h */" > confdefs.h
2254 # Predefined preprocessor variables.
2256 cat >>confdefs.h
<<_ACEOF
2257 #define PACKAGE_NAME "$PACKAGE_NAME"
2260 cat >>confdefs.h
<<_ACEOF
2261 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2264 cat >>confdefs.h
<<_ACEOF
2265 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2268 cat >>confdefs.h
<<_ACEOF
2269 #define PACKAGE_STRING "$PACKAGE_STRING"
2272 cat >>confdefs.h
<<_ACEOF
2273 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2276 cat >>confdefs.h
<<_ACEOF
2277 #define PACKAGE_URL "$PACKAGE_URL"
2281 # Let the site file select an alternate cache file if it wants to.
2282 # Prefer an explicitly selected file to automatically selected ones.
2285 if test -n "$CONFIG_SITE"; then
2286 # We do not want a PATH search for config.site.
2287 case $CONFIG_SITE in #((
2288 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2289 */*) ac_site_file1
=$CONFIG_SITE;;
2290 *) ac_site_file1
=.
/$CONFIG_SITE;;
2292 elif test "x$prefix" != xNONE
; then
2293 ac_site_file1
=$prefix/share
/config.site
2294 ac_site_file2
=$prefix/etc
/config.site
2296 ac_site_file1
=$ac_default_prefix/share
/config.site
2297 ac_site_file2
=$ac_default_prefix/etc
/config.site
2299 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2301 test "x$ac_site_file" = xNONE
&& continue
2302 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2303 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2304 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2305 sed 's/^/| /' "$ac_site_file" >&5
2307 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2308 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2309 as_fn_error $?
"failed to load site script $ac_site_file
2310 See \`config.log' for more details" "$LINENO" 5; }
2314 if test -r "$cache_file"; then
2315 # Some versions of bash will fail to source /dev/null (special files
2316 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2317 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2318 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2319 $as_echo "$as_me: loading cache $cache_file" >&6;}
2321 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2322 *) .
"./$cache_file";;
2326 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2327 $as_echo "$as_me: creating cache $cache_file" >&6;}
2331 # Check that the precious variables saved in the cache have kept the same
2333 ac_cache_corrupted
=false
2334 for ac_var
in $ac_precious_vars; do
2335 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2336 eval ac_new_set
=\
$ac_env_${ac_var}_set
2337 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2338 eval ac_new_val
=\
$ac_env_${ac_var}_value
2339 case $ac_old_set,$ac_new_set in
2341 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2342 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2343 ac_cache_corrupted
=: ;;
2345 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2346 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2347 ac_cache_corrupted
=: ;;
2350 if test "x$ac_old_val" != "x$ac_new_val"; then
2351 # differences in whitespace do not lead to failure.
2352 ac_old_val_w
=`echo x $ac_old_val`
2353 ac_new_val_w
=`echo x $ac_new_val`
2354 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2355 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2356 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2357 ac_cache_corrupted
=:
2359 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2360 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2361 eval $ac_var=\
$ac_old_val
2363 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2364 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2365 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2366 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2369 # Pass precious variables to config.status.
2370 if test "$ac_new_set" = set; then
2372 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2373 *) ac_arg
=$ac_var=$ac_new_val ;;
2375 case " $ac_configure_args " in
2376 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2377 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2381 if $ac_cache_corrupted; then
2382 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2383 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2384 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2385 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2386 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2388 ## -------------------- ##
2389 ## Main body of script. ##
2390 ## -------------------- ##
2393 ac_cpp
='$CPP $CPPFLAGS'
2394 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2395 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2396 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2400 >confdefs.h
# Kill PACKAGE_ macros
2404 for ac_dir
in ..
/..
"$srcdir"/..
/..
; do
2405 if test -f "$ac_dir/install-sh"; then
2407 ac_install_sh
="$ac_aux_dir/install-sh -c"
2409 elif test -f "$ac_dir/install.sh"; then
2411 ac_install_sh
="$ac_aux_dir/install.sh -c"
2413 elif test -f "$ac_dir/shtool"; then
2415 ac_install_sh
="$ac_aux_dir/shtool install -c"
2419 if test -z "$ac_aux_dir"; then
2420 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in ../.. \"$srcdir\"/../.." "$LINENO" 5
2423 # These three variables are undocumented and unsupported,
2424 # and are intended to be withdrawn in a future Autoconf release.
2425 # They can cause serious problems if a builder's source tree is in a directory
2426 # whose full name contains unusual characters.
2427 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2428 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2429 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2432 am__api_version
='1.13'
2434 # Find a good install program. We prefer a C program (faster),
2435 # so one script is as good as another. But avoid the broken or
2436 # incompatible versions:
2437 # SysV /etc/install, /usr/sbin/install
2438 # SunOS /usr/etc/install
2439 # IRIX /sbin/install
2441 # AmigaOS /C/install, which installs bootblocks on floppy discs
2442 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2443 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2444 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2445 # OS/2's system install, which has a completely different semantic
2446 # ./install, which can be erroneously created by make from ./install.sh.
2447 # Reject install programs that cannot install multiple files.
2448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2449 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2450 if test -z "$INSTALL"; then
2451 if ${ac_cv_path_install+:} false
; then :
2452 $as_echo_n "(cached) " >&6
2454 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2458 test -z "$as_dir" && as_dir
=.
2459 # Account for people who put trailing slashes in PATH elements.
2460 case $as_dir/ in #((
2461 .
/ | .
// |
/[cC
]/* | \
2462 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2463 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2466 # OSF1 and SCO ODT 3.0 have their own names for install.
2467 # Don't use installbsd from OSF since it installs stuff as root
2469 for ac_prog
in ginstall scoinst
install; do
2470 for ac_exec_ext
in '' $ac_executable_extensions; do
2471 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
2472 if test $ac_prog = install &&
2473 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2474 # AIX install. It has an incompatible calling convention.
2476 elif test $ac_prog = install &&
2477 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2478 # program-specific install script used by HP pwplus--don't use.
2481 rm -rf conftest.one conftest.two conftest.dir
2482 echo one
> conftest.one
2483 echo two
> conftest.two
2485 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2486 test -s conftest.one
&& test -s conftest.two
&&
2487 test -s conftest.dir
/conftest.one
&&
2488 test -s conftest.dir
/conftest.two
2490 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2503 rm -rf conftest.one conftest.two conftest.dir
2506 if test "${ac_cv_path_install+set}" = set; then
2507 INSTALL
=$ac_cv_path_install
2509 # As a last resort, use the slow shell script. Don't cache a
2510 # value for INSTALL within a source directory, because that will
2511 # break other packages using the cache if that directory is
2512 # removed, or if the value is a relative name.
2513 INSTALL
=$ac_install_sh
2516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2517 $as_echo "$INSTALL" >&6; }
2519 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2520 # It thinks the first close brace ends the variable substitution.
2521 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2523 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2525 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2528 $as_echo_n "checking whether build environment is sane... " >&6; }
2529 # Reject unsafe characters in $srcdir or the absolute working directory
2530 # name. Accept space and tab only in the latter.
2534 *[\\\"\
#\$\&\'\`$am_lf]*)
2535 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2538 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2539 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2542 # Do 'set' in a subshell so we don't clobber the current shell's
2543 # arguments. Must try -L first in case configure is actually a
2544 # symlink; some systems play weird games with the mod time of symlinks
2545 # (eg FreeBSD returns the mod time of the symlink's containing
2549 for am_try
in 1 2; do
2550 echo "timestamp, slept: $am_has_slept" > conftest.
file
2551 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2552 if test "$*" = "X"; then
2554 set X
`ls -t "$srcdir/configure" conftest.file`
2556 if test "$*" != "X $srcdir/configure conftest.file" \
2557 && test "$*" != "X conftest.file $srcdir/configure"; then
2559 # If neither matched, then we have a broken ls. This can happen
2560 # if, for instance, CONFIG_SHELL is bash and it inherits a
2561 # broken ls alias from the environment. This has actually
2562 # happened. Such a system could not be considered "sane".
2563 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2564 alias in your environment" "$LINENO" 5
2566 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
2573 test "$2" = conftest.
file
2579 as_fn_error $?
"newly created file is older than distributed files!
2580 Check your system clock" "$LINENO" 5
2582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2583 $as_echo "yes" >&6; }
2584 # If we didn't sleep, we still need to ensure time stamps of config.status and
2585 # generated files are strictly newer.
2587 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
2594 test "$program_prefix" != NONE
&&
2595 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2596 # Use a double $ so make ignores it.
2597 test "$program_suffix" != NONE
&&
2598 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2599 # Double any \ or $.
2600 # By default was `s,x,x', remove it if useless.
2601 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2602 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2604 # expand $ac_aux_dir to an absolute path
2605 am_aux_dir
=`cd $ac_aux_dir && pwd`
2607 if test x
"${MISSING+set}" != xset
; then
2610 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2612 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2615 # Use eval to expand $SHELL
2616 if eval "$MISSING --is-lightweight"; then
2617 am_missing_run
="$MISSING "
2620 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2621 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2624 if test x
"${install_sh}" != xset
; then
2627 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2629 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2633 # Installed binaries are usually stripped using 'strip' when the user
2634 # run "make install-strip". However 'strip' might not be the right
2635 # tool to use in cross-compilation environments, therefore Automake
2636 # will honor the 'STRIP' environment variable to overrule this program.
2637 if test "$cross_compiling" != no
; then
2638 if test -n "$ac_tool_prefix"; then
2639 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2640 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2642 $as_echo_n "checking for $ac_word... " >&6; }
2643 if ${ac_cv_prog_STRIP+:} false
; then :
2644 $as_echo_n "(cached) " >&6
2646 if test -n "$STRIP"; then
2647 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2649 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2653 test -z "$as_dir" && as_dir
=.
2654 for ac_exec_ext
in '' $ac_executable_extensions; do
2655 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2656 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2657 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2666 STRIP
=$ac_cv_prog_STRIP
2667 if test -n "$STRIP"; then
2668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2669 $as_echo "$STRIP" >&6; }
2671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2672 $as_echo "no" >&6; }
2677 if test -z "$ac_cv_prog_STRIP"; then
2679 # Extract the first word of "strip", so it can be a program name with args.
2680 set dummy strip
; ac_word
=$2
2681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2682 $as_echo_n "checking for $ac_word... " >&6; }
2683 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
2684 $as_echo_n "(cached) " >&6
2686 if test -n "$ac_ct_STRIP"; then
2687 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2689 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2693 test -z "$as_dir" && as_dir
=.
2694 for ac_exec_ext
in '' $ac_executable_extensions; do
2695 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2696 ac_cv_prog_ac_ct_STRIP
="strip"
2697 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2706 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2707 if test -n "$ac_ct_STRIP"; then
2708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2709 $as_echo "$ac_ct_STRIP" >&6; }
2711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2712 $as_echo "no" >&6; }
2715 if test "x$ac_ct_STRIP" = x
; then
2718 case $cross_compiling:$ac_tool_warned in
2720 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2721 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2722 ac_tool_warned
=yes ;;
2727 STRIP
="$ac_cv_prog_STRIP"
2731 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2734 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2735 if test -z "$MKDIR_P"; then
2736 if ${ac_cv_path_mkdir+:} false
; then :
2737 $as_echo_n "(cached) " >&6
2739 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2740 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2743 test -z "$as_dir" && as_dir
=.
2744 for ac_prog
in mkdir gmkdir
; do
2745 for ac_exec_ext
in '' $ac_executable_extensions; do
2746 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
2747 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2748 'mkdir (GNU coreutils) '* | \
2749 'mkdir (coreutils) '* | \
2750 'mkdir (fileutils) '4.1*)
2751 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2761 test -d .
/--version && rmdir .
/--version
2762 if test "${ac_cv_path_mkdir+set}" = set; then
2763 MKDIR_P
="$ac_cv_path_mkdir -p"
2765 # As a last resort, use the slow shell script. Don't cache a
2766 # value for MKDIR_P within a source directory, because that will
2767 # break other packages using the cache if that directory is
2768 # removed, or if the value is a relative name.
2769 MKDIR_P
="$ac_install_sh -d"
2772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2773 $as_echo "$MKDIR_P" >&6; }
2775 for ac_prog
in gawk mawk nawk
awk
2777 # Extract the first word of "$ac_prog", so it can be a program name with args.
2778 set dummy
$ac_prog; ac_word
=$2
2779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2780 $as_echo_n "checking for $ac_word... " >&6; }
2781 if ${ac_cv_prog_AWK+:} false
; then :
2782 $as_echo_n "(cached) " >&6
2784 if test -n "$AWK"; then
2785 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2787 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2791 test -z "$as_dir" && as_dir
=.
2792 for ac_exec_ext
in '' $ac_executable_extensions; do
2793 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2794 ac_cv_prog_AWK
="$ac_prog"
2795 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2805 if test -n "$AWK"; then
2806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2807 $as_echo "$AWK" >&6; }
2809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2810 $as_echo "no" >&6; }
2814 test -n "$AWK" && break
2817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2818 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2820 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2821 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2822 $as_echo_n "(cached) " >&6
2824 cat >conftest.
make <<\_ACEOF
2827 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2829 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2830 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2832 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2834 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2838 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2840 $as_echo "yes" >&6; }
2843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2844 $as_echo "no" >&6; }
2845 SET_MAKE
="MAKE=${MAKE-make}"
2848 rm -rf .tst
2>/dev
/null
2849 mkdir .tst
2>/dev
/null
2850 if test -d .tst
; then
2855 rmdir .tst
2>/dev
/null
2857 # Check whether --enable-silent-rules was given.
2858 if test "${enable_silent_rules+set}" = set; then :
2859 enableval
=$enable_silent_rules;
2862 case $enable_silent_rules in # (((
2863 yes) AM_DEFAULT_VERBOSITY
=0;;
2864 no
) AM_DEFAULT_VERBOSITY
=1;;
2865 *) AM_DEFAULT_VERBOSITY
=1;;
2867 am_make
=${MAKE-make}
2868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2869 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2870 if ${am_cv_make_support_nested_variables+:} false
; then :
2871 $as_echo_n "(cached) " >&6
2873 if $as_echo 'TRUE=$(BAR$(V))
2879 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
2880 am_cv_make_support_nested_variables
=yes
2882 am_cv_make_support_nested_variables
=no
2885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2886 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2887 if test $am_cv_make_support_nested_variables = yes; then
2889 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
2891 AM_V
=$AM_DEFAULT_VERBOSITY
2892 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
2896 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2897 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2898 # is not polluted with repeated "-I."
2899 am__isrc
=' -I$(srcdir)'
2900 # test to see if srcdir already configured
2901 if test -f $srcdir/config.status
; then
2902 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2906 # test whether we have cygpath
2907 if test -z "$CYGPATH_W"; then
2908 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2909 CYGPATH_W
='cygpath -w'
2916 # Define the identity of the package.
2921 # Some tools Automake needs.
2923 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2926 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2929 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2932 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2935 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2937 # For better backward compatibility. To be removed once Automake 1.9.x
2938 # dies out for good. For more background, see:
2939 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2940 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2941 mkdir_p
='$(MKDIR_P)'
2943 # We need awk for the "check" target. The system "awk" is bad on
2945 # Always define AMTAR for backward compatibility. Yes, it's still used
2946 # in the wild :-( We should find a proper way to deprecate it ...
2950 # We'll loop over all known methods to create a tar archive until one works.
2951 _am_tools
='gnutar pax cpio none'
2953 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
2960 ac_config_headers
="$ac_config_headers config.h"
2963 DEPDIR
="${am__leading_dot}deps"
2965 ac_config_commands
="$ac_config_commands depfiles"
2968 am_make
=${MAKE-make}
2969 cat > confinc
<< 'END'
2971 @
echo this is the am__doit target
2974 # If we don't find an include directive, just comment out the code.
2975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2976 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2980 # First try GNU make style include.
2981 echo "include confinc" > confmf
2982 # Ignore all kinds of additional output from 'make'.
2983 case `$am_make -s -f confmf 2> /dev/null` in #(
2984 *the\ am__doit\ target
*)
2990 # Now try BSD make style include.
2991 if test "$am__include" = "#"; then
2992 echo '.include "confinc"' > confmf
2993 case `$am_make -s -f confmf 2> /dev/null` in #(
2994 *the\ am__doit\ target
*)
2995 am__include
=.include
3003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3004 $as_echo "$_am_result" >&6; }
3005 rm -f confinc confmf
3007 # Check whether --enable-dependency-tracking was given.
3008 if test "${enable_dependency_tracking+set}" = set; then :
3009 enableval
=$enable_dependency_tracking;
3012 if test "x$enable_dependency_tracking" != xno
; then
3013 am_depcomp
="$ac_aux_dir/depcomp"
3017 if test "x$enable_dependency_tracking" != xno; then
3027 ac_cpp
='$CPP $CPPFLAGS'
3028 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3029 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3030 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3031 if test -n "$ac_tool_prefix"; then
3032 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3033 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3035 $as_echo_n "checking for $ac_word... " >&6; }
3036 if ${ac_cv_prog_CC+:} false
; then :
3037 $as_echo_n "(cached) " >&6
3039 if test -n "$CC"; then
3040 ac_cv_prog_CC
="$CC" # Let the user override the test.
3042 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3046 test -z "$as_dir" && as_dir
=.
3047 for ac_exec_ext
in '' $ac_executable_extensions; do
3048 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3049 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3050 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3060 if test -n "$CC"; then
3061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3062 $as_echo "$CC" >&6; }
3064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3065 $as_echo "no" >&6; }
3070 if test -z "$ac_cv_prog_CC"; then
3072 # Extract the first word of "gcc", so it can be a program name with args.
3073 set dummy gcc
; ac_word
=$2
3074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3075 $as_echo_n "checking for $ac_word... " >&6; }
3076 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3077 $as_echo_n "(cached) " >&6
3079 if test -n "$ac_ct_CC"; then
3080 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3082 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3086 test -z "$as_dir" && as_dir
=.
3087 for ac_exec_ext
in '' $ac_executable_extensions; do
3088 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3089 ac_cv_prog_ac_ct_CC
="gcc"
3090 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3099 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3100 if test -n "$ac_ct_CC"; then
3101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3102 $as_echo "$ac_ct_CC" >&6; }
3104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3105 $as_echo "no" >&6; }
3108 if test "x$ac_ct_CC" = x
; then
3111 case $cross_compiling:$ac_tool_warned in
3113 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3114 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3115 ac_tool_warned
=yes ;;
3123 if test -z "$CC"; then
3124 if test -n "$ac_tool_prefix"; then
3125 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3126 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3128 $as_echo_n "checking for $ac_word... " >&6; }
3129 if ${ac_cv_prog_CC+:} false
; then :
3130 $as_echo_n "(cached) " >&6
3132 if test -n "$CC"; then
3133 ac_cv_prog_CC
="$CC" # Let the user override the test.
3135 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3139 test -z "$as_dir" && as_dir
=.
3140 for ac_exec_ext
in '' $ac_executable_extensions; do
3141 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3142 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3143 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3153 if test -n "$CC"; then
3154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3155 $as_echo "$CC" >&6; }
3157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3158 $as_echo "no" >&6; }
3164 if test -z "$CC"; then
3165 # Extract the first word of "cc", so it can be a program name with args.
3166 set dummy cc
; ac_word
=$2
3167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3168 $as_echo_n "checking for $ac_word... " >&6; }
3169 if ${ac_cv_prog_CC+:} false
; then :
3170 $as_echo_n "(cached) " >&6
3172 if test -n "$CC"; then
3173 ac_cv_prog_CC
="$CC" # Let the user override the test.
3176 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3180 test -z "$as_dir" && as_dir
=.
3181 for ac_exec_ext
in '' $ac_executable_extensions; do
3182 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3183 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3184 ac_prog_rejected
=yes
3188 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3195 if test $ac_prog_rejected = yes; then
3196 # We found a bogon in the path, so make sure we never use it.
3197 set dummy
$ac_cv_prog_CC
3199 if test $# != 0; then
3200 # We chose a different compiler from the bogus one.
3201 # However, it has the same basename, so the bogon will be chosen
3202 # first if we set CC to just the basename; use the full file name.
3204 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3210 if test -n "$CC"; then
3211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3212 $as_echo "$CC" >&6; }
3214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3215 $as_echo "no" >&6; }
3220 if test -z "$CC"; then
3221 if test -n "$ac_tool_prefix"; then
3222 for ac_prog
in cl.exe
3224 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3225 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3227 $as_echo_n "checking for $ac_word... " >&6; }
3228 if ${ac_cv_prog_CC+:} false
; then :
3229 $as_echo_n "(cached) " >&6
3231 if test -n "$CC"; then
3232 ac_cv_prog_CC
="$CC" # Let the user override the test.
3234 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3238 test -z "$as_dir" && as_dir
=.
3239 for ac_exec_ext
in '' $ac_executable_extensions; do
3240 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3241 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3242 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3252 if test -n "$CC"; then
3253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3254 $as_echo "$CC" >&6; }
3256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3257 $as_echo "no" >&6; }
3261 test -n "$CC" && break
3264 if test -z "$CC"; then
3266 for ac_prog
in cl.exe
3268 # Extract the first word of "$ac_prog", so it can be a program name with args.
3269 set dummy
$ac_prog; ac_word
=$2
3270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3271 $as_echo_n "checking for $ac_word... " >&6; }
3272 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3273 $as_echo_n "(cached) " >&6
3275 if test -n "$ac_ct_CC"; then
3276 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3278 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3282 test -z "$as_dir" && as_dir
=.
3283 for ac_exec_ext
in '' $ac_executable_extensions; do
3284 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3285 ac_cv_prog_ac_ct_CC
="$ac_prog"
3286 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3295 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3296 if test -n "$ac_ct_CC"; then
3297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3298 $as_echo "$ac_ct_CC" >&6; }
3300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3301 $as_echo "no" >&6; }
3305 test -n "$ac_ct_CC" && break
3308 if test "x$ac_ct_CC" = x
; then
3311 case $cross_compiling:$ac_tool_warned in
3313 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3314 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3315 ac_tool_warned
=yes ;;
3324 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3325 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3326 as_fn_error $?
"no acceptable C compiler found in \$PATH
3327 See \`config.log' for more details" "$LINENO" 5; }
3329 # Provide some information about the compiler.
3330 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3333 for ac_option
in --version -v -V -qversion; do
3334 { { ac_try
="$ac_compiler $ac_option >&5"
3336 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3337 *) ac_try_echo=$ac_try;;
3339 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3340 $as_echo "$ac_try_echo"; } >&5
3341 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3343 if test -s conftest.err; then
3345 ... rest of stderr output deleted ...
3346 10q' conftest.err >conftest.er1
3347 cat conftest.er1 >&5
3349 rm -f conftest.er1 conftest.err
3350 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3351 test $ac_status = 0; }
3354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3355 /* end confdefs.h. */
3365 ac_clean_files_save=$ac_clean_files
3366 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3367 # Try to create an executable without -o first, disregard a.out.
3368 # It will help us diagnose broken compilers, and finding out an intuition
3370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3371 $as_echo_n "checking whether the C compiler works... " >&6; }
3372 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3374 # The possible output files:
3375 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3378 for ac_file in $ac_files
3381 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3382 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3387 if { { ac_try="$ac_link_default"
3389 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3390 *) ac_try_echo
=$ac_try;;
3392 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3393 $as_echo "$ac_try_echo"; } >&5
3394 (eval "$ac_link_default") 2>&5
3396 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3397 test $ac_status = 0; }; then :
3398 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3399 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3400 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3401 # so that the user can short-circuit this test for compilers unknown to
3403 for ac_file
in $ac_files ''
3405 test -f "$ac_file" ||
continue
3407 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3410 # We found the default executable, but exeext='' is most
3414 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3416 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3418 # We set ac_cv_exeext here because the later test for it is not
3419 # safe: cross compilers may not add the suffix if given an `-o'
3420 # argument, so we may need to know it at that point already.
3421 # Even if this section looks crufty: it has the advantage of
3428 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3433 if test -z "$ac_file"; then :
3434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3435 $as_echo "no" >&6; }
3436 $as_echo "$as_me: failed program was:" >&5
3437 sed 's/^/| /' conftest.
$ac_ext >&5
3439 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3440 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3441 as_fn_error
77 "C compiler cannot create executables
3442 See \`config.log' for more details" "$LINENO" 5; }
3444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3445 $as_echo "yes" >&6; }
3447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3448 $as_echo_n "checking for C compiler default output file name... " >&6; }
3449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3450 $as_echo "$ac_file" >&6; }
3451 ac_exeext
=$ac_cv_exeext
3453 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3454 ac_clean_files
=$ac_clean_files_save
3455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3456 $as_echo_n "checking for suffix of executables... " >&6; }
3457 if { { ac_try
="$ac_link"
3459 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3460 *) ac_try_echo=$ac_try;;
3462 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3463 $as_echo "$ac_try_echo"; } >&5
3464 (eval "$ac_link") 2>&5
3466 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3467 test $ac_status = 0; }; then :
3468 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3469 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3470 # work properly (i.e., refer to `conftest.exe'), while it won't with
3472 for ac_file
in conftest.exe conftest conftest.
*; do
3473 test -f "$ac_file" ||
continue
3475 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3476 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3482 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3483 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3484 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3485 See \`config.log' for more details" "$LINENO" 5; }
3487 rm -f conftest conftest
$ac_cv_exeext
3488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3489 $as_echo "$ac_cv_exeext" >&6; }
3491 rm -f conftest.
$ac_ext
3492 EXEEXT
=$ac_cv_exeext
3494 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3495 /* end confdefs.h. */
3500 FILE *f = fopen ("conftest.out", "w");
3501 return ferror (f) || fclose (f) != 0;
3507 ac_clean_files
="$ac_clean_files conftest.out"
3508 # Check that the compiler produces executables we can run. If not, either
3509 # the compiler is broken, or we cross compile.
3510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3511 $as_echo_n "checking whether we are cross compiling... " >&6; }
3512 if test "$cross_compiling" != yes; then
3513 { { ac_try
="$ac_link"
3515 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3516 *) ac_try_echo=$ac_try;;
3518 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3519 $as_echo "$ac_try_echo"; } >&5
3520 (eval "$ac_link") 2>&5
3522 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3523 test $ac_status = 0; }
3524 if { ac_try='./conftest$ac_cv_exeext'
3525 { { case "(($ac_try" in
3526 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3527 *) ac_try_echo
=$ac_try;;
3529 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3530 $as_echo "$ac_try_echo"; } >&5
3531 (eval "$ac_try") 2>&5
3533 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3534 test $ac_status = 0; }; }; then
3537 if test "$cross_compiling" = maybe
; then
3540 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3541 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3542 as_fn_error $?
"cannot run C compiled programs.
3543 If you meant to cross compile, use \`--host'.
3544 See \`config.log' for more details" "$LINENO" 5; }
3548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3549 $as_echo "$cross_compiling" >&6; }
3551 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3552 ac_clean_files
=$ac_clean_files_save
3553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3554 $as_echo_n "checking for suffix of object files... " >&6; }
3555 if ${ac_cv_objext+:} false
; then :
3556 $as_echo_n "(cached) " >&6
3558 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3559 /* end confdefs.h. */
3569 rm -f conftest.o conftest.obj
3570 if { { ac_try
="$ac_compile"
3572 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3573 *) ac_try_echo=$ac_try;;
3575 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3576 $as_echo "$ac_try_echo"; } >&5
3577 (eval "$ac_compile") 2>&5
3579 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3580 test $ac_status = 0; }; then :
3581 for ac_file in conftest.o conftest.obj conftest.*; do
3582 test -f "$ac_file" || continue;
3584 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3585 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3590 $as_echo "$as_me: failed program was:" >&5
3591 sed 's/^/| /' conftest.$ac_ext >&5
3593 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3594 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3595 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3596 See \
`config.log' for more details" "$LINENO" 5; }
3598 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3601 $as_echo "$ac_cv_objext" >&6; }
3602 OBJEXT=$ac_cv_objext
3604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3605 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3606 if ${ac_cv_c_compiler_gnu+:} false; then :
3607 $as_echo_n "(cached) " >&6
3609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3610 /* end confdefs.h. */
3623 if ac_fn_c_try_compile "$LINENO"; then :
3628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3629 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3633 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3634 if test $ac_compiler_gnu = yes; then
3639 ac_test_CFLAGS=${CFLAGS+set}
3640 ac_save_CFLAGS=$CFLAGS
3641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3642 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3643 if ${ac_cv_prog_cc_g+:} false; then :
3644 $as_echo_n "(cached) " >&6
3646 ac_save_c_werror_flag=$ac_c_werror_flag
3647 ac_c_werror_flag=yes
3650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3651 /* end confdefs.h. */
3661 if ac_fn_c_try_compile "$LINENO"; then :
3665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3666 /* end confdefs.h. */
3676 if ac_fn_c_try_compile "$LINENO"; then :
3679 ac_c_werror_flag=$ac_save_c_werror_flag
3681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3682 /* end confdefs.h. */
3692 if ac_fn_c_try_compile "$LINENO"; then :
3695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3700 ac_c_werror_flag=$ac_save_c_werror_flag
3702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3703 $as_echo "$ac_cv_prog_cc_g" >&6; }
3704 if test "$ac_test_CFLAGS" = set; then
3705 CFLAGS=$ac_save_CFLAGS
3706 elif test $ac_cv_prog_cc_g = yes; then
3707 if test "$GCC" = yes; then
3713 if test "$GCC" = yes; then
3719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3720 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3721 if ${ac_cv_prog_cc_c89+:} false; then :
3722 $as_echo_n "(cached) " >&6
3724 ac_cv_prog_cc_c89=no
3726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3727 /* end confdefs.h. */
3731 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3732 struct buf { int x; };
3733 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3734 static char *e (p, i)
3740 static char *f (char * (*g) (char **, int), char **p, ...)
3745 s = g (p, va_arg (v,int));
3750 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3751 function prototypes and stuff, but not '\xHH' hex character constants.
3752 These don't provoke an error unfortunately, instead are silently treated
3753 as 'x'. The following induces an error, until -std is added to get
3754 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3755 array size at least. It's necessary to write '\x00'==0 to get something
3756 that's true only with -std. */
3757 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3759 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3760 inside strings and character constants. */
3762 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3764 int test (int i, double x);
3765 struct s1 {int (*f) (int a);};
3766 struct s2 {int (*f) (double a);};
3767 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3773 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3778 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3779 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3781 CC="$ac_save_CC $ac_arg"
3782 if ac_fn_c_try_compile "$LINENO"; then :
3783 ac_cv_prog_cc_c89=$ac_arg
3785 rm -f core conftest.err conftest.$ac_objext
3786 test "x$ac_cv_prog_cc_c89" != "xno" && break
3788 rm -f conftest.$ac_ext
3793 case "x$ac_cv_prog_cc_c89" in
3795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3796 $as_echo "none needed" >&6; } ;;
3798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3799 $as_echo "unsupported" >&6; } ;;
3801 CC="$CC $ac_cv_prog_cc_c89"
3802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3803 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3805 if test "x$ac_cv_prog_cc_c89" != xno; then :
3810 ac_cpp='$CPP $CPPFLAGS'
3811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3815 depcc="$CC" am_compiler_list=
3817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3818 $as_echo_n "checking dependency style of $depcc... " >&6; }
3819 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3820 $as_echo_n "(cached) " >&6
3822 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3823 # We make a subdir and do the tests there. Otherwise we can end up
3824 # making bogus files that we don't know about and never remove. For
3825 # instance it was reported that on HP-UX the gcc test will end up
3826 # making a dummy file named 'D' -- because '-MD' means "put the output
3830 # Copy depcomp to subdir because otherwise we won't find it if we're
3831 # using a relative directory.
3832 cp "$am_depcomp" conftest.dir
3834 # We will build objects and dependencies in a subdirectory because
3835 # it helps to detect inapplicable dependency modes. For instance
3836 # both Tru64's cc and ICC support -MD to output dependencies as a
3837 # side effect of compilation, but ICC will put the dependencies in
3838 # the current directory while Tru64 will put them in the object
3842 am_cv_CC_dependencies_compiler_type=none
3843 if test "$am_compiler_list" = ""; then
3844 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
3847 case " $depcc " in #(
3848 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3851 for depmode in $am_compiler_list; do
3852 # Setup a source with many dependencies, because some compilers
3853 # like to wrap large dependency lists on column 80 (with \), and
3854 # we should not choose a depcomp mode which is confused by this.
3856 # We need to recreate these files for each test, as the compiler may
3857 # overwrite some of them when testing with obscure command lines.
3858 # This happens at least with the AIX C compiler.
3860 for i in 1 2 3 4 5 6; do
3861 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3862 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3863 # Solaris 10 /bin/sh.
3864 echo '/* dummy */' > sub/conftst$i.h
3866 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3868 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3869 # mode. It turns out that the SunPro C++ compiler does not properly
3870 # handle '-M -o', and we need to detect this. Also, some Intel
3871 # versions had trouble with output in subdirs.
3872 am__obj=sub/conftest.${OBJEXT-o}
3873 am__minus_obj="-o $am__obj"
3876 # This depmode causes a compiler race in universal mode.
3877 test "$am__universal" = false || continue
3880 # After this tag, mechanisms are not by side-effect, so they'll
3881 # only be used when explicitly requested.
3882 if test "x$enable_dependency_tracking" = xyes; then
3888 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3889 # This compiler won't grok '-c -o', but also, the minuso test has
3890 # not run yet. These depmodes are late enough in the game, and
3891 # so weak that their functioning should not be impacted.
3892 am__obj=conftest.${OBJEXT-o}
3897 if depmode=$depmode \
3898 source=sub/conftest.c object=$am__obj \
3899 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3900 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3901 >/dev/null 2>conftest.err &&
3902 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3903 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3904 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3905 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3906 # icc doesn't choke on unknown options, it will just issue warnings
3907 # or remarks (even with -Werror). So we grep stderr for any message
3908 # that says an option was ignored or not supported.
3909 # When given -MP, icc 7.0 and 7.1 complain thusly:
3910 # icc: Command line warning: ignoring option '-M'; no argument required
3911 # The diagnosis changed in icc 8.0:
3912 # icc: Command line remark: option '-MP' not supported
3913 if (grep 'ignoring option' conftest.err ||
3914 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3915 am_cv_CC_dependencies_compiler_type=$depmode
3924 am_cv_CC_dependencies_compiler_type=none
3928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3929 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3930 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3933 test "x$enable_dependency_tracking" != xno \
3934 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3936 am__fastdepCC_FALSE='#'
3938 am__fastdepCC_TRUE='#'
3939 am__fastdepCC_FALSE=
3945 ac_cpp='$CPP $CPPFLAGS'
3946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3950 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3951 # On Suns, sometimes $CPP names a directory.
3952 if test -n "$CPP" && test -d "$CPP"; then
3955 if test -z "$CPP"; then
3956 if ${ac_cv_prog_CPP+:} false; then :
3957 $as_echo_n "(cached) " >&6
3959 # Double quotes because CPP needs to be expanded
3960 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3963 for ac_c_preproc_warn_flag in '' yes
3965 # Use a header file that comes with gcc, so configuring glibc
3966 # with a fresh cross-compiler works.
3967 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3968 # <limits.h> exists even on freestanding compilers.
3969 # On the NeXT, cc -E runs the code through the compiler's parser,
3970 # not just through cpp. "Syntax error" is here to catch this case.
3971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3972 /* end confdefs.h. */
3974 # include <limits.h>
3976 # include <assert.h>
3980 if ac_fn_c_try_cpp "$LINENO"; then :
3983 # Broken: fails on valid input.
3986 rm -f conftest.err conftest.i conftest.$ac_ext
3988 # OK, works on sane cases. Now check whether nonexistent headers
3989 # can be detected and how.
3990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3991 /* end confdefs.h. */
3992 #include <ac_nonexistent.h>
3994 if ac_fn_c_try_cpp "$LINENO"; then :
3995 # Broken: success on invalid input.
3998 # Passes both tests.
4002 rm -f conftest.err conftest.i conftest.$ac_ext
4005 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4006 rm -f conftest.i conftest.err conftest.
$ac_ext
4007 if $ac_preproc_ok; then :
4019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4020 $as_echo "$CPP" >&6; }
4022 for ac_c_preproc_warn_flag
in '' yes
4024 # Use a header file that comes with gcc, so configuring glibc
4025 # with a fresh cross-compiler works.
4026 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4027 # <limits.h> exists even on freestanding compilers.
4028 # On the NeXT, cc -E runs the code through the compiler's parser,
4029 # not just through cpp. "Syntax error" is here to catch this case.
4030 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4031 /* end confdefs.h. */
4033 # include <limits.h>
4035 # include <assert.h>
4039 if ac_fn_c_try_cpp
"$LINENO"; then :
4042 # Broken: fails on valid input.
4045 rm -f conftest.err conftest.i conftest.
$ac_ext
4047 # OK, works on sane cases. Now check whether nonexistent headers
4048 # can be detected and how.
4049 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4050 /* end confdefs.h. */
4051 #include <ac_nonexistent.h>
4053 if ac_fn_c_try_cpp
"$LINENO"; then :
4054 # Broken: success on invalid input.
4057 # Passes both tests.
4061 rm -f conftest.err conftest.i conftest.
$ac_ext
4064 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4065 rm -f conftest.i conftest.err conftest.
$ac_ext
4066 if $ac_preproc_ok; then :
4069 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4070 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4071 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
4072 See \`config.log' for more details" "$LINENO" 5; }
4076 ac_cpp
='$CPP $CPPFLAGS'
4077 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4078 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4079 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4083 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4084 if ${ac_cv_path_GREP+:} false
; then :
4085 $as_echo_n "(cached) " >&6
4087 if test -z "$GREP"; then
4088 ac_path_GREP_found
=false
4089 # Loop through the user's path and test for each of PROGNAME-LIST
4090 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4091 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4094 test -z "$as_dir" && as_dir
=.
4095 for ac_prog
in grep ggrep
; do
4096 for ac_exec_ext
in '' $ac_executable_extensions; do
4097 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4098 as_fn_executable_p
"$ac_path_GREP" ||
continue
4099 # Check for GNU ac_path_GREP and select it if it is found.
4100 # Check for GNU $ac_path_GREP
4101 case `"$ac_path_GREP" --version 2>&1` in
4103 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4106 $as_echo_n 0123456789 >"conftest.in"
4109 cat "conftest.in" "conftest.in" >"conftest.tmp"
4110 mv "conftest.tmp" "conftest.in"
4111 cp "conftest.in" "conftest.nl"
4112 $as_echo 'GREP' >> "conftest.nl"
4113 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4114 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4115 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4116 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4117 # Best one so far, save it but keep looking for a better one
4118 ac_cv_path_GREP
="$ac_path_GREP"
4119 ac_path_GREP_max
=$ac_count
4121 # 10*(2^10) chars as input seems more than enough
4122 test $ac_count -gt 10 && break
4124 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4127 $ac_path_GREP_found && break 3
4132 if test -z "$ac_cv_path_GREP"; then
4133 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4136 ac_cv_path_GREP
=$GREP
4140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4141 $as_echo "$ac_cv_path_GREP" >&6; }
4142 GREP
="$ac_cv_path_GREP"
4145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4146 $as_echo_n "checking for egrep... " >&6; }
4147 if ${ac_cv_path_EGREP+:} false
; then :
4148 $as_echo_n "(cached) " >&6
4150 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4151 then ac_cv_path_EGREP
="$GREP -E"
4153 if test -z "$EGREP"; then
4154 ac_path_EGREP_found
=false
4155 # Loop through the user's path and test for each of PROGNAME-LIST
4156 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4157 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4160 test -z "$as_dir" && as_dir
=.
4161 for ac_prog
in egrep; do
4162 for ac_exec_ext
in '' $ac_executable_extensions; do
4163 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4164 as_fn_executable_p
"$ac_path_EGREP" ||
continue
4165 # Check for GNU ac_path_EGREP and select it if it is found.
4166 # Check for GNU $ac_path_EGREP
4167 case `"$ac_path_EGREP" --version 2>&1` in
4169 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4172 $as_echo_n 0123456789 >"conftest.in"
4175 cat "conftest.in" "conftest.in" >"conftest.tmp"
4176 mv "conftest.tmp" "conftest.in"
4177 cp "conftest.in" "conftest.nl"
4178 $as_echo 'EGREP' >> "conftest.nl"
4179 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4180 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4181 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4182 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4183 # Best one so far, save it but keep looking for a better one
4184 ac_cv_path_EGREP
="$ac_path_EGREP"
4185 ac_path_EGREP_max
=$ac_count
4187 # 10*(2^10) chars as input seems more than enough
4188 test $ac_count -gt 10 && break
4190 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4193 $ac_path_EGREP_found && break 3
4198 if test -z "$ac_cv_path_EGREP"; then
4199 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4202 ac_cv_path_EGREP
=$EGREP
4207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4208 $as_echo "$ac_cv_path_EGREP" >&6; }
4209 EGREP
="$ac_cv_path_EGREP"
4212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4213 $as_echo_n "checking for ANSI C header files... " >&6; }
4214 if ${ac_cv_header_stdc+:} false
; then :
4215 $as_echo_n "(cached) " >&6
4217 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4218 /* end confdefs.h. */
4232 if ac_fn_c_try_compile
"$LINENO"; then :
4233 ac_cv_header_stdc
=yes
4235 ac_cv_header_stdc
=no
4237 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4239 if test $ac_cv_header_stdc = yes; then
4240 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4241 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4242 /* end confdefs.h. */
4246 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4247 $EGREP "memchr" >/dev
/null
2>&1; then :
4250 ac_cv_header_stdc
=no
4256 if test $ac_cv_header_stdc = yes; then
4257 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4258 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4259 /* end confdefs.h. */
4263 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4264 $EGREP "free" >/dev
/null
2>&1; then :
4267 ac_cv_header_stdc
=no
4273 if test $ac_cv_header_stdc = yes; then
4274 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4275 if test "$cross_compiling" = yes; then :
4278 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4279 /* end confdefs.h. */
4282 #if ((' ' & 0x0FF) == 0x020)
4283 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4284 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4286 # define ISLOWER(c) \
4287 (('a' <= (c) && (c) <= 'i') \
4288 || ('j' <= (c) && (c) <= 'r') \
4289 || ('s' <= (c) && (c) <= 'z'))
4290 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4293 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4298 for (i = 0; i < 256; i++)
4299 if (XOR (islower (i), ISLOWER (i))
4300 || toupper (i) != TOUPPER (i))
4305 if ac_fn_c_try_run
"$LINENO"; then :
4308 ac_cv_header_stdc
=no
4310 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4311 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4317 $as_echo "$ac_cv_header_stdc" >&6; }
4318 if test $ac_cv_header_stdc = yes; then
4320 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4324 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4325 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4326 inttypes.h stdint.h unistd.h
4328 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4329 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4331 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
4332 cat >>confdefs.h
<<_ACEOF
4333 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4342 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4343 if test "x$ac_cv_header_minix_config_h" = xyes
; then :
4350 if test "$MINIX" = yes; then
4352 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4355 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4358 $as_echo "#define _MINIX 1" >>confdefs.h
4363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4364 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4365 if ${ac_cv_safe_to_define___extensions__+:} false
; then :
4366 $as_echo_n "(cached) " >&6
4368 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4369 /* end confdefs.h. */
4371 # define __EXTENSIONS__ 1
4372 $ac_includes_default
4381 if ac_fn_c_try_compile
"$LINENO"; then :
4382 ac_cv_safe_to_define___extensions__
=yes
4384 ac_cv_safe_to_define___extensions__
=no
4386 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4389 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4390 test $ac_cv_safe_to_define___extensions__ = yes &&
4391 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4393 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4395 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4397 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4399 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4403 ac_cpp
='$CPP $CPPFLAGS'
4404 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4405 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4406 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4407 if test -n "$ac_tool_prefix"; then
4408 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4409 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4411 $as_echo_n "checking for $ac_word... " >&6; }
4412 if ${ac_cv_prog_CC+:} false
; then :
4413 $as_echo_n "(cached) " >&6
4415 if test -n "$CC"; then
4416 ac_cv_prog_CC
="$CC" # Let the user override the test.
4418 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4422 test -z "$as_dir" && as_dir
=.
4423 for ac_exec_ext
in '' $ac_executable_extensions; do
4424 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4425 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4426 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4436 if test -n "$CC"; then
4437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4438 $as_echo "$CC" >&6; }
4440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4441 $as_echo "no" >&6; }
4446 if test -z "$ac_cv_prog_CC"; then
4448 # Extract the first word of "gcc", so it can be a program name with args.
4449 set dummy gcc
; ac_word
=$2
4450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4451 $as_echo_n "checking for $ac_word... " >&6; }
4452 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4453 $as_echo_n "(cached) " >&6
4455 if test -n "$ac_ct_CC"; then
4456 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4458 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4462 test -z "$as_dir" && as_dir
=.
4463 for ac_exec_ext
in '' $ac_executable_extensions; do
4464 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4465 ac_cv_prog_ac_ct_CC
="gcc"
4466 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4475 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4476 if test -n "$ac_ct_CC"; then
4477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4478 $as_echo "$ac_ct_CC" >&6; }
4480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4481 $as_echo "no" >&6; }
4484 if test "x$ac_ct_CC" = x
; then
4487 case $cross_compiling:$ac_tool_warned in
4489 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4490 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4491 ac_tool_warned
=yes ;;
4499 if test -z "$CC"; then
4500 if test -n "$ac_tool_prefix"; then
4501 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4502 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4504 $as_echo_n "checking for $ac_word... " >&6; }
4505 if ${ac_cv_prog_CC+:} false
; then :
4506 $as_echo_n "(cached) " >&6
4508 if test -n "$CC"; then
4509 ac_cv_prog_CC
="$CC" # Let the user override the test.
4511 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4515 test -z "$as_dir" && as_dir
=.
4516 for ac_exec_ext
in '' $ac_executable_extensions; do
4517 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4518 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4519 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4529 if test -n "$CC"; then
4530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4531 $as_echo "$CC" >&6; }
4533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4534 $as_echo "no" >&6; }
4540 if test -z "$CC"; then
4541 # Extract the first word of "cc", so it can be a program name with args.
4542 set dummy cc
; ac_word
=$2
4543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4544 $as_echo_n "checking for $ac_word... " >&6; }
4545 if ${ac_cv_prog_CC+:} false
; then :
4546 $as_echo_n "(cached) " >&6
4548 if test -n "$CC"; then
4549 ac_cv_prog_CC
="$CC" # Let the user override the test.
4552 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4556 test -z "$as_dir" && as_dir
=.
4557 for ac_exec_ext
in '' $ac_executable_extensions; do
4558 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4559 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4560 ac_prog_rejected
=yes
4564 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4571 if test $ac_prog_rejected = yes; then
4572 # We found a bogon in the path, so make sure we never use it.
4573 set dummy
$ac_cv_prog_CC
4575 if test $# != 0; then
4576 # We chose a different compiler from the bogus one.
4577 # However, it has the same basename, so the bogon will be chosen
4578 # first if we set CC to just the basename; use the full file name.
4580 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4586 if test -n "$CC"; then
4587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4588 $as_echo "$CC" >&6; }
4590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4591 $as_echo "no" >&6; }
4596 if test -z "$CC"; then
4597 if test -n "$ac_tool_prefix"; then
4598 for ac_prog
in cl.exe
4600 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4601 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4603 $as_echo_n "checking for $ac_word... " >&6; }
4604 if ${ac_cv_prog_CC+:} false
; then :
4605 $as_echo_n "(cached) " >&6
4607 if test -n "$CC"; then
4608 ac_cv_prog_CC
="$CC" # Let the user override the test.
4610 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4614 test -z "$as_dir" && as_dir
=.
4615 for ac_exec_ext
in '' $ac_executable_extensions; do
4616 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4617 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4618 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4628 if test -n "$CC"; then
4629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4630 $as_echo "$CC" >&6; }
4632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4633 $as_echo "no" >&6; }
4637 test -n "$CC" && break
4640 if test -z "$CC"; then
4642 for ac_prog
in cl.exe
4644 # Extract the first word of "$ac_prog", so it can be a program name with args.
4645 set dummy
$ac_prog; ac_word
=$2
4646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4647 $as_echo_n "checking for $ac_word... " >&6; }
4648 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4649 $as_echo_n "(cached) " >&6
4651 if test -n "$ac_ct_CC"; then
4652 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4654 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4658 test -z "$as_dir" && as_dir
=.
4659 for ac_exec_ext
in '' $ac_executable_extensions; do
4660 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4661 ac_cv_prog_ac_ct_CC
="$ac_prog"
4662 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4671 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4672 if test -n "$ac_ct_CC"; then
4673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4674 $as_echo "$ac_ct_CC" >&6; }
4676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4677 $as_echo "no" >&6; }
4681 test -n "$ac_ct_CC" && break
4684 if test "x$ac_ct_CC" = x
; then
4687 case $cross_compiling:$ac_tool_warned in
4689 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4690 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4691 ac_tool_warned
=yes ;;
4700 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4701 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4702 as_fn_error $?
"no acceptable C compiler found in \$PATH
4703 See \`config.log' for more details" "$LINENO" 5; }
4705 # Provide some information about the compiler.
4706 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4709 for ac_option
in --version -v -V -qversion; do
4710 { { ac_try
="$ac_compiler $ac_option >&5"
4712 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4713 *) ac_try_echo=$ac_try;;
4715 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4716 $as_echo "$ac_try_echo"; } >&5
4717 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4719 if test -s conftest.err; then
4721 ... rest of stderr output deleted ...
4722 10q' conftest.err >conftest.er1
4723 cat conftest.er1 >&5
4725 rm -f conftest.er1 conftest.err
4726 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4727 test $ac_status = 0; }
4730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4731 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4732 if ${ac_cv_c_compiler_gnu+:} false; then :
4733 $as_echo_n "(cached) " >&6
4735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4736 /* end confdefs.h. */
4749 if ac_fn_c_try_compile "$LINENO"; then :
4754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4755 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4759 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4760 if test $ac_compiler_gnu = yes; then
4765 ac_test_CFLAGS=${CFLAGS+set}
4766 ac_save_CFLAGS=$CFLAGS
4767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4768 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4769 if ${ac_cv_prog_cc_g+:} false; then :
4770 $as_echo_n "(cached) " >&6
4772 ac_save_c_werror_flag=$ac_c_werror_flag
4773 ac_c_werror_flag=yes
4776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4777 /* end confdefs.h. */
4787 if ac_fn_c_try_compile "$LINENO"; then :
4791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4792 /* end confdefs.h. */
4802 if ac_fn_c_try_compile "$LINENO"; then :
4805 ac_c_werror_flag=$ac_save_c_werror_flag
4807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4808 /* end confdefs.h. */
4818 if ac_fn_c_try_compile "$LINENO"; then :
4821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4826 ac_c_werror_flag=$ac_save_c_werror_flag
4828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4829 $as_echo "$ac_cv_prog_cc_g" >&6; }
4830 if test "$ac_test_CFLAGS" = set; then
4831 CFLAGS=$ac_save_CFLAGS
4832 elif test $ac_cv_prog_cc_g = yes; then
4833 if test "$GCC" = yes; then
4839 if test "$GCC" = yes; then
4845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4846 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4847 if ${ac_cv_prog_cc_c89+:} false; then :
4848 $as_echo_n "(cached) " >&6
4850 ac_cv_prog_cc_c89=no
4852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4853 /* end confdefs.h. */
4857 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4858 struct buf { int x; };
4859 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4860 static char *e (p, i)
4866 static char *f (char * (*g) (char **, int), char **p, ...)
4871 s = g (p, va_arg (v,int));
4876 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4877 function prototypes and stuff, but not '\xHH' hex character constants.
4878 These don't provoke an error unfortunately, instead are silently treated
4879 as 'x'. The following induces an error, until -std is added to get
4880 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4881 array size at least. It's necessary to write '\x00'==0 to get something
4882 that's true only with -std. */
4883 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4885 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4886 inside strings and character constants. */
4888 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4890 int test (int i, double x);
4891 struct s1 {int (*f) (int a);};
4892 struct s2 {int (*f) (double a);};
4893 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4899 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4904 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4905 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4907 CC="$ac_save_CC $ac_arg"
4908 if ac_fn_c_try_compile "$LINENO"; then :
4909 ac_cv_prog_cc_c89=$ac_arg
4911 rm -f core conftest.err conftest.$ac_objext
4912 test "x$ac_cv_prog_cc_c89" != "xno" && break
4914 rm -f conftest.$ac_ext
4919 case "x$ac_cv_prog_cc_c89" in
4921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4922 $as_echo "none needed" >&6; } ;;
4924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4925 $as_echo "unsupported" >&6; } ;;
4927 CC="$CC $ac_cv_prog_cc_c89"
4928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4929 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4931 if test "x$ac_cv_prog_cc_c89" != xno; then :
4936 ac_cpp='$CPP $CPPFLAGS'
4937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4941 depcc="$CC" am_compiler_list=
4943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4944 $as_echo_n "checking dependency style of $depcc... " >&6; }
4945 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4946 $as_echo_n "(cached) " >&6
4948 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4949 # We make a subdir and do the tests there. Otherwise we can end up
4950 # making bogus files that we don't know about and never remove. For
4951 # instance it was reported that on HP-UX the gcc test will end up
4952 # making a dummy file named 'D' -- because '-MD' means "put the output
4956 # Copy depcomp to subdir because otherwise we won't find it if we're
4957 # using a relative directory.
4958 cp "$am_depcomp" conftest.dir
4960 # We will build objects and dependencies in a subdirectory because
4961 # it helps to detect inapplicable dependency modes. For instance
4962 # both Tru64's cc and ICC support -MD to output dependencies as a
4963 # side effect of compilation, but ICC will put the dependencies in
4964 # the current directory while Tru64 will put them in the object
4968 am_cv_CC_dependencies_compiler_type=none
4969 if test "$am_compiler_list" = ""; then
4970 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4973 case " $depcc " in #(
4974 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4977 for depmode in $am_compiler_list; do
4978 # Setup a source with many dependencies, because some compilers
4979 # like to wrap large dependency lists on column 80 (with \), and
4980 # we should not choose a depcomp mode which is confused by this.
4982 # We need to recreate these files for each test, as the compiler may
4983 # overwrite some of them when testing with obscure command lines.
4984 # This happens at least with the AIX C compiler.
4986 for i in 1 2 3 4 5 6; do
4987 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4988 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4989 # Solaris 10 /bin/sh.
4990 echo '/* dummy */' > sub/conftst$i.h
4992 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4994 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4995 # mode. It turns out that the SunPro C++ compiler does not properly
4996 # handle '-M -o', and we need to detect this. Also, some Intel
4997 # versions had trouble with output in subdirs.
4998 am__obj=sub/conftest.${OBJEXT-o}
4999 am__minus_obj="-o $am__obj"
5002 # This depmode causes a compiler race in universal mode.
5003 test "$am__universal" = false || continue
5006 # After this tag, mechanisms are not by side-effect, so they'll
5007 # only be used when explicitly requested.
5008 if test "x$enable_dependency_tracking" = xyes; then
5014 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5015 # This compiler won't grok '-c -o', but also, the minuso test has
5016 # not run yet. These depmodes are late enough in the game, and
5017 # so weak that their functioning should not be impacted.
5018 am__obj=conftest.${OBJEXT-o}
5023 if depmode=$depmode \
5024 source=sub/conftest.c object=$am__obj \
5025 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5026 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5027 >/dev/null 2>conftest.err &&
5028 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5029 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5030 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5031 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5032 # icc doesn't choke on unknown options, it will just issue warnings
5033 # or remarks (even with -Werror). So we grep stderr for any message
5034 # that says an option was ignored or not supported.
5035 # When given -MP, icc 7.0 and 7.1 complain thusly:
5036 # icc: Command line warning: ignoring option '-M'; no argument required
5037 # The diagnosis changed in icc 8.0:
5038 # icc: Command line remark: option '-MP' not supported
5039 if (grep 'ignoring option' conftest.err ||
5040 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5041 am_cv_CC_dependencies_compiler_type=$depmode
5050 am_cv_CC_dependencies_compiler_type=none
5054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5055 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5056 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5059 test "x$enable_dependency_tracking" != xno \
5060 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5062 am__fastdepCC_FALSE='#'
5064 am__fastdepCC_TRUE='#'
5065 am__fastdepCC_FALSE=
5069 for ac_prog in gawk mawk nawk awk
5071 # Extract the first word of "$ac_prog", so it can be a program name with args.
5072 set dummy $ac_prog; ac_word=$2
5073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5074 $as_echo_n "checking for $ac_word... " >&6; }
5075 if ${ac_cv_prog_AWK+:} false; then :
5076 $as_echo_n "(cached) " >&6
5078 if test -n "$AWK"; then
5079 ac_cv_prog_AWK="$AWK" # Let the user override the test.
5081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5085 test -z "$as_dir" && as_dir=.
5086 for ac_exec_ext in '' $ac_executable_extensions; do
5087 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5088 ac_cv_prog_AWK="$ac_prog"
5089 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5099 if test -n "$AWK"; then
5100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
5101 $as_echo "$AWK" >&6; }
5103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5104 $as_echo "no" >&6; }
5108 test -n "$AWK" && break
5112 ac_cpp='$CXXCPP $CPPFLAGS'
5113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5116 if test -z "$CXX"; then
5117 if test -n "$CCC"; then
5120 if test -n "$ac_tool_prefix"; then
5121 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5123 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5124 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5126 $as_echo_n "checking for $ac_word... " >&6; }
5127 if ${ac_cv_prog_CXX+:} false; then :
5128 $as_echo_n "(cached) " >&6
5130 if test -n "$CXX"; then
5131 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5137 test -z "$as_dir" && as_dir=.
5138 for ac_exec_ext in '' $ac_executable_extensions; do
5139 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5140 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5141 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5151 if test -n "$CXX"; then
5152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5153 $as_echo "$CXX" >&6; }
5155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5156 $as_echo "no" >&6; }
5160 test -n "$CXX" && break
5163 if test -z "$CXX"; then
5165 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5167 # Extract the first word of "$ac_prog", so it can be a program name with args.
5168 set dummy $ac_prog; ac_word=$2
5169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5170 $as_echo_n "checking for $ac_word... " >&6; }
5171 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5172 $as_echo_n "(cached) " >&6
5174 if test -n "$ac_ct_CXX"; then
5175 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5177 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5181 test -z "$as_dir" && as_dir=.
5182 for ac_exec_ext in '' $ac_executable_extensions; do
5183 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5184 ac_cv_prog_ac_ct_CXX="$ac_prog"
5185 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5194 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5195 if test -n "$ac_ct_CXX"; then
5196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5197 $as_echo "$ac_ct_CXX" >&6; }
5199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5200 $as_echo "no" >&6; }
5204 test -n "$ac_ct_CXX" && break
5207 if test "x$ac_ct_CXX" = x; then
5210 case $cross_compiling:$ac_tool_warned in
5212 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5213 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5214 ac_tool_warned=yes ;;
5222 # Provide some information about the compiler.
5223 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5226 for ac_option in --version -v -V -qversion; do
5227 { { ac_try="$ac_compiler $ac_option >&5"
5229 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5230 *) ac_try_echo
=$ac_try;;
5232 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5233 $as_echo "$ac_try_echo"; } >&5
5234 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5236 if test -s conftest.err
; then
5238 ... rest of stderr output deleted ...
5239 10q' conftest.err
>conftest.er1
5240 cat conftest.er1
>&5
5242 rm -f conftest.er1 conftest.err
5243 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5244 test $ac_status = 0; }
5247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5248 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5249 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
5250 $as_echo_n "(cached) " >&6
5252 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5253 /* end confdefs.h. */
5266 if ac_fn_cxx_try_compile
"$LINENO"; then :
5271 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5272 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
5275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5276 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5277 if test $ac_compiler_gnu = yes; then
5282 ac_test_CXXFLAGS
=${CXXFLAGS+set}
5283 ac_save_CXXFLAGS
=$CXXFLAGS
5284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5285 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5286 if ${ac_cv_prog_cxx_g+:} false
; then :
5287 $as_echo_n "(cached) " >&6
5289 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
5290 ac_cxx_werror_flag
=yes
5293 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5294 /* end confdefs.h. */
5304 if ac_fn_cxx_try_compile
"$LINENO"; then :
5305 ac_cv_prog_cxx_g
=yes
5308 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5309 /* end confdefs.h. */
5319 if ac_fn_cxx_try_compile
"$LINENO"; then :
5322 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5324 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5325 /* end confdefs.h. */
5335 if ac_fn_cxx_try_compile
"$LINENO"; then :
5336 ac_cv_prog_cxx_g
=yes
5338 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5340 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5342 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5343 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5346 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5347 if test "$ac_test_CXXFLAGS" = set; then
5348 CXXFLAGS
=$ac_save_CXXFLAGS
5349 elif test $ac_cv_prog_cxx_g = yes; then
5350 if test "$GXX" = yes; then
5356 if test "$GXX" = yes; then
5363 ac_cpp
='$CPP $CPPFLAGS'
5364 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5365 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5366 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5368 depcc
="$CXX" am_compiler_list
=
5370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5371 $as_echo_n "checking dependency style of $depcc... " >&6; }
5372 if ${am_cv_CXX_dependencies_compiler_type+:} false
; then :
5373 $as_echo_n "(cached) " >&6
5375 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5376 # We make a subdir and do the tests there. Otherwise we can end up
5377 # making bogus files that we don't know about and never remove. For
5378 # instance it was reported that on HP-UX the gcc test will end up
5379 # making a dummy file named 'D' -- because '-MD' means "put the output
5383 # Copy depcomp to subdir because otherwise we won't find it if we're
5384 # using a relative directory.
5385 cp "$am_depcomp" conftest.dir
5387 # We will build objects and dependencies in a subdirectory because
5388 # it helps to detect inapplicable dependency modes. For instance
5389 # both Tru64's cc and ICC support -MD to output dependencies as a
5390 # side effect of compilation, but ICC will put the dependencies in
5391 # the current directory while Tru64 will put them in the object
5395 am_cv_CXX_dependencies_compiler_type
=none
5396 if test "$am_compiler_list" = ""; then
5397 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5400 case " $depcc " in #(
5401 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
5404 for depmode
in $am_compiler_list; do
5405 # Setup a source with many dependencies, because some compilers
5406 # like to wrap large dependency lists on column 80 (with \), and
5407 # we should not choose a depcomp mode which is confused by this.
5409 # We need to recreate these files for each test, as the compiler may
5410 # overwrite some of them when testing with obscure command lines.
5411 # This happens at least with the AIX C compiler.
5413 for i
in 1 2 3 4 5 6; do
5414 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
5415 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5416 # Solaris 10 /bin/sh.
5417 echo '/* dummy */' > sub
/conftst
$i.h
5419 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5421 # We check with '-c' and '-o' for the sake of the "dashmstdout"
5422 # mode. It turns out that the SunPro C++ compiler does not properly
5423 # handle '-M -o', and we need to detect this. Also, some Intel
5424 # versions had trouble with output in subdirs.
5425 am__obj
=sub
/conftest.
${OBJEXT-o}
5426 am__minus_obj
="-o $am__obj"
5429 # This depmode causes a compiler race in universal mode.
5430 test "$am__universal" = false ||
continue
5433 # After this tag, mechanisms are not by side-effect, so they'll
5434 # only be used when explicitly requested.
5435 if test "x$enable_dependency_tracking" = xyes
; then
5441 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
5442 # This compiler won't grok '-c -o', but also, the minuso test has
5443 # not run yet. These depmodes are late enough in the game, and
5444 # so weak that their functioning should not be impacted.
5445 am__obj
=conftest.
${OBJEXT-o}
5450 if depmode
=$depmode \
5451 source=sub
/conftest.c object
=$am__obj \
5452 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5453 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
5454 >/dev
/null
2>conftest.err
&&
5455 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5456 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5457 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
5458 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5459 # icc doesn't choke on unknown options, it will just issue warnings
5460 # or remarks (even with -Werror). So we grep stderr for any message
5461 # that says an option was ignored or not supported.
5462 # When given -MP, icc 7.0 and 7.1 complain thusly:
5463 # icc: Command line warning: ignoring option '-M'; no argument required
5464 # The diagnosis changed in icc 8.0:
5465 # icc: Command line remark: option '-MP' not supported
5466 if (grep 'ignoring option' conftest.err ||
5467 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5468 am_cv_CXX_dependencies_compiler_type
=$depmode
5477 am_cv_CXX_dependencies_compiler_type
=none
5481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
5482 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
5483 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
5486 test "x$enable_dependency_tracking" != xno \
5487 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
5488 am__fastdepCXX_TRUE
=
5489 am__fastdepCXX_FALSE
='#'
5491 am__fastdepCXX_TRUE
='#'
5492 am__fastdepCXX_FALSE
=
5496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
5497 $as_echo_n "checking for library containing strerror... " >&6; }
5498 if ${ac_cv_search_strerror+:} false
; then :
5499 $as_echo_n "(cached) " >&6
5501 ac_func_search_save_LIBS
=$LIBS
5502 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5503 /* end confdefs.h. */
5505 /* Override any GCC internal prototype to avoid an error.
5506 Use char because int might match the return type of a GCC
5507 builtin and then its argument prototype would still apply. */
5520 for ac_lib
in '' cposix
; do
5521 if test -z "$ac_lib"; then
5522 ac_res
="none required"
5525 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
5527 if ac_fn_c_try_link
"$LINENO"; then :
5528 ac_cv_search_strerror
=$ac_res
5530 rm -f core conftest.err conftest.
$ac_objext \
5532 if ${ac_cv_search_strerror+:} false
; then :
5536 if ${ac_cv_search_strerror+:} false
; then :
5539 ac_cv_search_strerror
=no
5542 LIBS
=$ac_func_search_save_LIBS
5544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
5545 $as_echo "$ac_cv_search_strerror" >&6; }
5546 ac_res
=$ac_cv_search_strerror
5547 if test "$ac_res" != no
; then :
5548 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
5554 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5555 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5560 macro_version
='2.4.2'
5561 macro_revision
='1.3337'
5575 ltmain
="$ac_aux_dir/ltmain.sh"
5577 # Make sure we can run config.sub.
5578 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
5579 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5582 $as_echo_n "checking build system type... " >&6; }
5583 if ${ac_cv_build+:} false
; then :
5584 $as_echo_n "(cached) " >&6
5586 ac_build_alias
=$build_alias
5587 test "x$ac_build_alias" = x
&&
5588 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
5589 test "x$ac_build_alias" = x
&&
5590 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
5591 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5592 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5596 $as_echo "$ac_cv_build" >&6; }
5597 case $ac_cv_build in
5599 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
5602 ac_save_IFS
=$IFS; IFS
='-'
5608 # Remember, the first character of IFS is used to create $*,
5609 # except with old shells:
5612 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
5615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5616 $as_echo_n "checking host system type... " >&6; }
5617 if ${ac_cv_host+:} false
; then :
5618 $as_echo_n "(cached) " >&6
5620 if test "x$host_alias" = x
; then
5621 ac_cv_host
=$ac_cv_build
5623 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5624 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5629 $as_echo "$ac_cv_host" >&6; }
5632 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
5635 ac_save_IFS
=$IFS; IFS
='-'
5641 # Remember, the first character of IFS is used to create $*,
5642 # except with old shells:
5645 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
5648 # Backslashify metacharacters that are still active within
5649 # double-quoted strings.
5650 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
5652 # Same as above, but do not quote variable references.
5653 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
5655 # Sed substitution to delay expansion of an escaped shell variable in a
5656 # double_quote_subst'ed string.
5657 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
5659 # Sed substitution to delay expansion of an escaped single quote.
5660 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
5662 # Sed substitution to avoid accidental globbing in evaled expressions
5663 no_glob_subst
='s/\*/\\\*/g'
5665 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5666 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5667 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5670 $as_echo_n "checking how to print strings... " >&6; }
5671 # Test print first, because it will be a builtin if present.
5672 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
5673 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5675 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5678 # Use this function as a fallback that always works.
5679 func_fallback_echo ()
5681 eval 'cat <<_LTECHO_EOF
5685 ECHO='func_fallback_echo
'
5688 # func_echo_all arg...
5689 # Invoke $ECHO with all args, space-separated.
5696 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5697 $as_echo "printf" >&6; } ;;
5698 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5699 $as_echo "print -r" >&6; } ;;
5700 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5701 $as_echo "cat" >&6; } ;;
5717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5718 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5719 if ${ac_cv_path_SED+:} false; then :
5720 $as_echo_n "(cached) " >&6
5722 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5723 for ac_i in 1 2 3 4 5 6 7; do
5724 ac_script="$ac_script$as_nl$ac_script"
5726 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5727 { ac_script=; unset ac_script;}
5728 if test -z "$SED"; then
5729 ac_path_SED_found=false
5730 # Loop through the user's path and
test for each of PROGNAME-LIST
5731 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5735 test -z "$as_dir" && as_dir
=.
5736 for ac_prog
in sed gsed
; do
5737 for ac_exec_ext
in '' $ac_executable_extensions; do
5738 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
5739 as_fn_executable_p
"$ac_path_SED" ||
continue
5740 # Check for GNU ac_path_SED and select it if it is found.
5741 # Check for GNU $ac_path_SED
5742 case `"$ac_path_SED" --version 2>&1` in
5744 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
5747 $as_echo_n 0123456789 >"conftest.in"
5750 cat "conftest.in" "conftest.in" >"conftest.tmp"
5751 mv "conftest.tmp" "conftest.in"
5752 cp "conftest.in" "conftest.nl"
5753 $as_echo '' >> "conftest.nl"
5754 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5755 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5756 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5757 if test $ac_count -gt ${ac_path_SED_max-0}; then
5758 # Best one so far, save it but keep looking for a better one
5759 ac_cv_path_SED
="$ac_path_SED"
5760 ac_path_SED_max
=$ac_count
5762 # 10*(2^10) chars as input seems more than enough
5763 test $ac_count -gt 10 && break
5765 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5768 $ac_path_SED_found && break 3
5773 if test -z "$ac_cv_path_SED"; then
5774 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
5781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5782 $as_echo "$ac_cv_path_SED" >&6; }
5783 SED
="$ac_cv_path_SED"
5786 test -z "$SED" && SED
=sed
5787 Xsed
="$SED -e 1s/^X//"
5799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5800 $as_echo_n "checking for fgrep... " >&6; }
5801 if ${ac_cv_path_FGREP+:} false
; then :
5802 $as_echo_n "(cached) " >&6
5804 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
5805 then ac_cv_path_FGREP
="$GREP -F"
5807 if test -z "$FGREP"; then
5808 ac_path_FGREP_found
=false
5809 # Loop through the user's path and test for each of PROGNAME-LIST
5810 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5811 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5814 test -z "$as_dir" && as_dir
=.
5815 for ac_prog
in fgrep
; do
5816 for ac_exec_ext
in '' $ac_executable_extensions; do
5817 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
5818 as_fn_executable_p
"$ac_path_FGREP" ||
continue
5819 # Check for GNU ac_path_FGREP and select it if it is found.
5820 # Check for GNU $ac_path_FGREP
5821 case `"$ac_path_FGREP" --version 2>&1` in
5823 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
5826 $as_echo_n 0123456789 >"conftest.in"
5829 cat "conftest.in" "conftest.in" >"conftest.tmp"
5830 mv "conftest.tmp" "conftest.in"
5831 cp "conftest.in" "conftest.nl"
5832 $as_echo 'FGREP' >> "conftest.nl"
5833 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5834 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5835 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5836 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5837 # Best one so far, save it but keep looking for a better one
5838 ac_cv_path_FGREP
="$ac_path_FGREP"
5839 ac_path_FGREP_max
=$ac_count
5841 # 10*(2^10) chars as input seems more than enough
5842 test $ac_count -gt 10 && break
5844 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5847 $ac_path_FGREP_found && break 3
5852 if test -z "$ac_cv_path_FGREP"; then
5853 as_fn_error $?
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5856 ac_cv_path_FGREP
=$FGREP
5861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5862 $as_echo "$ac_cv_path_FGREP" >&6; }
5863 FGREP
="$ac_cv_path_FGREP"
5866 test -z "$GREP" && GREP
=grep
5886 # Check whether --with-gnu-ld was given.
5887 if test "${with_gnu_ld+set}" = set; then :
5888 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
5894 if test "$GCC" = yes; then
5895 # Check if gcc -print-prog-name=ld gives a path.
5896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5897 $as_echo_n "checking for ld used by $CC... " >&6; }
5900 # gcc leaves a trailing carriage return which upsets mingw
5901 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5903 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5906 # Accept absolute paths.
5908 re_direlt
='/[^/][^/]*/\.\./'
5909 # Canonicalize the pathname of ld
5910 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5911 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
5912 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5914 test -z "$LD" && LD
="$ac_prog"
5917 # If it fails, then pretend we aren't using GCC.
5921 # If it is relative, then search for the first ld in PATH.
5925 elif test "$with_gnu_ld" = yes; then
5926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5927 $as_echo_n "checking for GNU ld... " >&6; }
5929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5930 $as_echo_n "checking for non-GNU ld... " >&6; }
5932 if ${lt_cv_path_LD+:} false
; then :
5933 $as_echo_n "(cached) " >&6
5935 if test -z "$LD"; then
5936 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5937 for ac_dir
in $PATH; do
5939 test -z "$ac_dir" && ac_dir
=.
5940 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5941 lt_cv_path_LD
="$ac_dir/$ac_prog"
5942 # Check to see if the program is GNU ld. I'd rather use --version,
5943 # but apparently some variants of GNU ld only accept -v.
5944 # Break only if it was the GNU/non-GNU ld that we prefer.
5945 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5946 *GNU
* |
*'with BFD'*)
5947 test "$with_gnu_ld" != no
&& break
5950 test "$with_gnu_ld" != yes && break
5957 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5962 if test -n "$LD"; then
5963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5964 $as_echo "$LD" >&6; }
5966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5967 $as_echo "no" >&6; }
5969 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
5970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5971 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5972 if ${lt_cv_prog_gnu_ld+:} false
; then :
5973 $as_echo_n "(cached) " >&6
5975 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5976 case `$LD -v 2>&1 </dev/null` in
5977 *GNU
* |
*'with BFD'*)
5978 lt_cv_prog_gnu_ld
=yes
5981 lt_cv_prog_gnu_ld
=no
5985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5986 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5987 with_gnu_ld
=$lt_cv_prog_gnu_ld
5997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5998 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5999 if ${lt_cv_path_NM+:} false
; then :
6000 $as_echo_n "(cached) " >&6
6002 if test -n "$NM"; then
6003 # Let the user override the test.
6006 lt_nm_to_check
="${ac_tool_prefix}nm"
6007 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6008 lt_nm_to_check
="$lt_nm_to_check nm"
6010 for lt_tmp_nm
in $lt_nm_to_check; do
6011 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6012 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
6014 test -z "$ac_dir" && ac_dir
=.
6015 tmp_nm
="$ac_dir/$lt_tmp_nm"
6016 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
6017 # Check to see if the nm accepts a BSD-compat flag.
6018 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6019 # nm: unknown option "B" ignored
6020 # Tru64's nm complains that /dev/null is an invalid object file
6021 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6022 */dev
/null
* |
*'Invalid file or object type'*)
6023 lt_cv_path_NM
="$tmp_nm -B"
6027 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6029 lt_cv_path_NM
="$tmp_nm -p"
6033 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6034 continue # so that we can try to find one that supports BSD flags
6043 : ${lt_cv_path_NM=no}
6046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6047 $as_echo "$lt_cv_path_NM" >&6; }
6048 if test "$lt_cv_path_NM" != "no"; then
6051 # Didn't find any BSD compatible name lister, look for dumpbin.
6052 if test -n "$DUMPBIN"; then :
6053 # Let the user override the test.
6055 if test -n "$ac_tool_prefix"; then
6056 for ac_prog
in dumpbin
"link -dump"
6058 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6059 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6061 $as_echo_n "checking for $ac_word... " >&6; }
6062 if ${ac_cv_prog_DUMPBIN+:} false
; then :
6063 $as_echo_n "(cached) " >&6
6065 if test -n "$DUMPBIN"; then
6066 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
6068 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6072 test -z "$as_dir" && as_dir
=.
6073 for ac_exec_ext
in '' $ac_executable_extensions; do
6074 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6075 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
6076 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6085 DUMPBIN
=$ac_cv_prog_DUMPBIN
6086 if test -n "$DUMPBIN"; then
6087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6088 $as_echo "$DUMPBIN" >&6; }
6090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6091 $as_echo "no" >&6; }
6095 test -n "$DUMPBIN" && break
6098 if test -z "$DUMPBIN"; then
6099 ac_ct_DUMPBIN
=$DUMPBIN
6100 for ac_prog
in dumpbin
"link -dump"
6102 # Extract the first word of "$ac_prog", so it can be a program name with args.
6103 set dummy
$ac_prog; ac_word
=$2
6104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6105 $as_echo_n "checking for $ac_word... " >&6; }
6106 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
6107 $as_echo_n "(cached) " >&6
6109 if test -n "$ac_ct_DUMPBIN"; then
6110 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
6112 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6116 test -z "$as_dir" && as_dir
=.
6117 for ac_exec_ext
in '' $ac_executable_extensions; do
6118 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6119 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
6120 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6129 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
6130 if test -n "$ac_ct_DUMPBIN"; then
6131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6132 $as_echo "$ac_ct_DUMPBIN" >&6; }
6134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6135 $as_echo "no" >&6; }
6139 test -n "$ac_ct_DUMPBIN" && break
6142 if test "x$ac_ct_DUMPBIN" = x
; then
6145 case $cross_compiling:$ac_tool_warned in
6147 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6148 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6149 ac_tool_warned
=yes ;;
6151 DUMPBIN
=$ac_ct_DUMPBIN
6155 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6157 DUMPBIN
="$DUMPBIN -symbols"
6165 if test "$DUMPBIN" != ":"; then
6169 test -z "$NM" && NM
=nm
6176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6177 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6178 if ${lt_cv_nm_interface+:} false
; then :
6179 $as_echo_n "(cached) " >&6
6181 lt_cv_nm_interface
="BSD nm"
6182 echo "int some_variable = 0;" > conftest.
$ac_ext
6183 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6184 (eval "$ac_compile" 2>conftest.err
)
6185 cat conftest.err
>&5
6186 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6187 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
6188 cat conftest.err
>&5
6189 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6190 cat conftest.out
>&5
6191 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
6192 lt_cv_nm_interface
="MS dumpbin"
6196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6197 $as_echo "$lt_cv_nm_interface" >&6; }
6199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6200 $as_echo_n "checking whether ln -s works... " >&6; }
6202 if test "$LN_S" = "ln -s"; then
6203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6204 $as_echo "yes" >&6; }
6206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6207 $as_echo "no, using $LN_S" >&6; }
6210 # find the maximum length of command line arguments
6211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6212 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6213 if ${lt_cv_sys_max_cmd_len+:} false
; then :
6214 $as_echo_n "(cached) " >&6
6221 # On DJGPP, this test can blow up pretty badly due to problems in libc
6222 # (any single argument exceeding 2000 bytes causes a buffer overrun
6223 # during glob expansion). Even if it were fixed, the result of this
6224 # check would be larger than it should be.
6225 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
6229 # Under GNU Hurd, this test is not required because there is
6230 # no limit to the length of command line arguments.
6231 # Libtool will interpret -1 as no limit whatsoever
6232 lt_cv_sys_max_cmd_len
=-1;
6235 cygwin
* | mingw
* | cegcc
*)
6236 # On Win9x/ME, this test blows up -- it succeeds, but takes
6237 # about 5 minutes as the teststring grows exponentially.
6238 # Worse, since 9x/ME are not pre-emptively multitasking,
6239 # you end up with a "frozen" computer, even though with patience
6240 # the test eventually succeeds (with a max line length of 256k).
6241 # Instead, let's just punt: use the minimum linelength reported by
6242 # all of the supported platforms: 8192 (on NT/2K/XP).
6243 lt_cv_sys_max_cmd_len
=8192;
6247 # On MiNT this can take a long time and run out of memory.
6248 lt_cv_sys_max_cmd_len
=8192;
6252 # On AmigaOS with pdksh, this test takes hours, literally.
6253 # So we just punt and use a minimum line length of 8192.
6254 lt_cv_sys_max_cmd_len
=8192;
6257 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
6258 # This has been around since 386BSD, at least. Likely further.
6259 if test -x /sbin
/sysctl
; then
6260 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
6261 elif test -x /usr
/sbin
/sysctl
; then
6262 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6264 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
6266 # And add a safety zone
6267 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6268 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6272 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6273 lt_cv_sys_max_cmd_len
=196608
6277 # The test takes a long time on OS/2.
6278 lt_cv_sys_max_cmd_len
=8192
6282 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6283 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6284 # nice to cause kernel panics so lets avoid the loop below.
6285 # First set a reasonable default.
6286 lt_cv_sys_max_cmd_len
=16384
6288 if test -x /sbin
/sysconfig
; then
6289 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6290 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6295 lt_cv_sys_max_cmd_len
=102400
6297 sysv5
* | sco5v6
* | sysv4.2uw2
*)
6298 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6299 if test -n "$kargmax"; then
6300 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6302 lt_cv_sys_max_cmd_len
=32768
6306 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
6307 if test -n "$lt_cv_sys_max_cmd_len"; then
6308 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6309 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6311 # Make teststring a little bigger before we do anything with it.
6312 # a 1K string should be a reasonable start.
6313 for i
in 1 2 3 4 5 6 7 8 ; do
6314 teststring
=$teststring$teststring
6316 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6317 # If test is not a shell built-in, we'll probably end up computing a
6318 # maximum length that is only half of the actual maximum length, but
6320 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
6321 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
6322 test $i != 17 # 1/2 MB should be enough
6325 teststring
=$teststring$teststring
6327 # Only check the string length outside the loop.
6328 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
6330 # Add a significant safety factor because C++ compilers can tack on
6331 # massive amounts of additional arguments before passing them to the
6332 # linker. It appears as though 1/2 is a usable value.
6333 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6340 if test -n $lt_cv_sys_max_cmd_len ; then
6341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6342 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6345 $as_echo "none" >&6; }
6347 max_cmd_len
=$lt_cv_sys_max_cmd_len
6358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6359 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6360 # Try some XSI features
6363 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
6365 && eval 'test $(( 1 + 1 )) -eq 2 \
6366 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6368 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
6369 $as_echo "$xsi_shell" >&6; }
6372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
6373 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
6375 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
6377 && lt_shell_append=yes
6378 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
6379 $as_echo "$lt_shell_append" >&6; }
6382 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6392 # test EBCDIC or ASCII
6393 case `echo X|tr X '\101'` in
6394 A) # ASCII based system
6395 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6396 lt_SP2NL='tr \040 \012'
6397 lt_NL2SP='tr \015\012 \040\040'
6399 *) # EBCDIC based system
6400 lt_SP2NL='tr \100 \n'
6401 lt_NL2SP='tr \r\n \100\100'
6413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to
$host format
" >&5
6414 $as_echo_n "checking how to convert
$build file names to
$host format...
" >&6; }
6415 if ${lt_cv_to_host_file_cmd+:} false; then :
6416 $as_echo_n "(cached
) " >&6
6421 *-*-mingw* ) # actually msys
6422 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
6425 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6427 * ) # otherwise, assume *nix
6428 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6434 *-*-mingw* ) # actually msys
6435 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6438 lt_cv_to_host_file_cmd=func_convert_file_noop
6440 * ) # otherwise, assume *nix
6441 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6445 * ) # unhandled hosts (and "normal
" native builds)
6446 lt_cv_to_host_file_cmd=func_convert_file_noop
6452 to_host_file_cmd=$lt_cv_to_host_file_cmd
6453 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_host_file_cmd" >&5
6454 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
6460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to toolchain format
" >&5
6461 $as_echo_n "checking how to convert
$build file names to toolchain format...
" >&6; }
6462 if ${lt_cv_to_tool_file_cmd+:} false; then :
6463 $as_echo_n "(cached
) " >&6
6465 #assume ordinary cross tools, or native build.
6466 lt_cv_to_tool_file_cmd=func_convert_file_noop
6470 *-*-mingw* ) # actually msys
6471 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6479 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6480 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_tool_file_cmd" >&5
6481 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
6488 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
6489 if ${lt_cv_ld_reload_flag+:} false; then :
6490 $as_echo_n "(cached
) " >&6
6492 lt_cv_ld_reload_flag='-r'
6494 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
6495 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6496 reload_flag=$lt_cv_ld_reload_flag
6497 case $reload_flag in
6499 *) reload_flag=" $reload_flag" ;;
6501 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6503 cygwin* | mingw* | pw32* | cegcc*)
6504 if test "$GCC" != yes; then
6509 if test "$GCC" = yes; then
6510 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6512 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6525 if test -n "$ac_tool_prefix"; then
6526 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
6527 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6529 $as_echo_n "checking
for $ac_word...
" >&6; }
6530 if ${ac_cv_prog_OBJDUMP+:} false; then :
6531 $as_echo_n "(cached
) " >&6
6533 if test -n "$OBJDUMP"; then
6534 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6536 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6540 test -z "$as_dir" && as_dir=.
6541 for ac_exec_ext in '' $ac_executable_extensions; do
6542 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6543 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
6544 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6553 OBJDUMP=$ac_cv_prog_OBJDUMP
6554 if test -n "$OBJDUMP"; then
6555 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
6556 $as_echo "$OBJDUMP" >&6; }
6558 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6559 $as_echo "no
" >&6; }
6564 if test -z "$ac_cv_prog_OBJDUMP"; then
6565 ac_ct_OBJDUMP=$OBJDUMP
6566 # Extract the first word of "objdump
", so it can be a program name with args.
6567 set dummy objdump; ac_word=$2
6568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6569 $as_echo_n "checking
for $ac_word...
" >&6; }
6570 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6571 $as_echo_n "(cached
) " >&6
6573 if test -n "$ac_ct_OBJDUMP"; then
6574 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6576 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6580 test -z "$as_dir" && as_dir=.
6581 for ac_exec_ext in '' $ac_executable_extensions; do
6582 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6583 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
6584 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6593 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6594 if test -n "$ac_ct_OBJDUMP"; then
6595 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
6596 $as_echo "$ac_ct_OBJDUMP" >&6; }
6598 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6599 $as_echo "no
" >&6; }
6602 if test "x
$ac_ct_OBJDUMP" = x; then
6605 case $cross_compiling:$ac_tool_warned in
6607 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6608 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6609 ac_tool_warned=yes ;;
6611 OBJDUMP=$ac_ct_OBJDUMP
6614 OBJDUMP="$ac_cv_prog_OBJDUMP"
6617 test -z "$OBJDUMP" && OBJDUMP=objdump
6627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
6628 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
6629 if ${lt_cv_deplibs_check_method+:} false; then :
6630 $as_echo_n "(cached
) " >&6
6632 lt_cv_file_magic_cmd='$MAGIC_CMD'
6633 lt_cv_file_magic_test_file=
6634 lt_cv_deplibs_check_method='unknown'
6635 # Need to set the preceding variable on all platforms that support
6636 # interlibrary dependencies.
6637 # 'none' -- dependencies not supported.
6638 # `unknown' -- same as none, but documents that we really don't know.
6639 # 'pass_all' -- all dependencies passed with no checks.
6640 # 'test_compile' -- check by making test program.
6641 # 'file_magic [[regex]]' -- check by looking for files in library path
6642 # which responds to the $file_magic_cmd with a given extended regex.
6643 # If you have `file' or equivalent on your system and you're not sure
6644 # whether `pass_all' will *always* work, you probably want this one.
6648 lt_cv_deplibs_check_method=pass_all
6652 lt_cv_deplibs_check_method=pass_all
6656 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6657 lt_cv_file_magic_cmd='/usr/bin/file -L'
6658 lt_cv_file_magic_test_file=/shlib/libc.so
6662 # func_win32_libid is a shell function defined in ltmain.sh
6663 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6664 lt_cv_file_magic_cmd='func_win32_libid'
6668 # Base MSYS/MinGW do not provide the 'file' command needed by
6669 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6670 # unless we find 'file', for example because we are cross-compiling.
6671 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6672 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
6673 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6674 lt_cv_file_magic_cmd='func_win32_libid'
6676 # Keep this pattern in sync with the one in func_win32_libid.
6677 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6678 lt_cv_file_magic_cmd='$OBJDUMP -f'
6683 # use the weaker test based on 'objdump'. See mingw*.
6684 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6685 lt_cv_file_magic_cmd='$OBJDUMP -f'
6688 darwin* | rhapsody*)
6689 lt_cv_deplibs_check_method=pass_all
6692 freebsd* | dragonfly*)
6693 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6696 # Not sure whether the presence of OpenBSD here was a mistake.
6697 # Let's accept both of them until this is cleared up.
6698 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6699 lt_cv_file_magic_cmd=/usr/bin/file
6700 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6704 lt_cv_deplibs_check_method=pass_all
6709 lt_cv_deplibs_check_method=pass_all
6713 lt_cv_deplibs_check_method=pass_all
6716 hpux10.20* | hpux11*)
6717 lt_cv_file_magic_cmd=/usr/bin/file
6720 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6721 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6724 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]'
6725 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6728 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6729 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6735 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6736 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6739 irix5* | irix6* | nonstopux*)
6741 *-32|*"-32 ") libmagic=32-bit;;
6742 *-n32|*"-n32 ") libmagic=N32;;
6743 *-64|*"-64 ") libmagic=64-bit;;
6744 *) libmagic=never-match;;
6746 lt_cv_deplibs_check_method=pass_all
6749 # This must be glibc/ELF.
6750 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6751 lt_cv_deplibs_check_method=pass_all
6755 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6756 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6758 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6763 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6764 lt_cv_file_magic_cmd=/usr/bin/file
6765 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6769 lt_cv_deplibs_check_method=pass_all
6773 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
6774 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6776 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6780 osf3* | osf4* | osf5*)
6781 lt_cv_deplibs_check_method=pass_all
6785 lt_cv_deplibs_check_method=pass_all
6789 lt_cv_deplibs_check_method=pass_all
6792 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6793 lt_cv_deplibs_check_method=pass_all
6797 case $host_vendor in
6799 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]'
6800 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6803 lt_cv_deplibs_check_method=pass_all
6806 lt_cv_file_magic_cmd='/bin/file'
6807 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6810 lt_cv_file_magic_cmd='/bin/file'
6811 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6812 lt_cv_file_magic_test_file=/lib/libc.so
6815 lt_cv_deplibs_check_method=pass_all
6818 lt_cv_deplibs_check_method=pass_all
6824 lt_cv_deplibs_check_method=pass_all
6829 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
6830 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6834 if test "$build" = "$host"; then
6837 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6840 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s
/\
(..\
)/s\
/[\
1]\
/[\
1]\
/g
;/g
"`
6846 file_magic_cmd=$lt_cv_file_magic_cmd
6847 deplibs_check_method=$lt_cv_deplibs_check_method
6848 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6871 if test -n "$ac_tool_prefix"; then
6872 # Extract the first word of "${ac_tool_prefix}dlltool
", so it can be a program name with args.
6873 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6875 $as_echo_n "checking
for $ac_word...
" >&6; }
6876 if ${ac_cv_prog_DLLTOOL+:} false; then :
6877 $as_echo_n "(cached
) " >&6
6879 if test -n "$DLLTOOL"; then
6880 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6886 test -z "$as_dir" && as_dir=.
6887 for ac_exec_ext in '' $ac_executable_extensions; do
6888 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6889 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool
"
6890 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6899 DLLTOOL=$ac_cv_prog_DLLTOOL
6900 if test -n "$DLLTOOL"; then
6901 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
6902 $as_echo "$DLLTOOL" >&6; }
6904 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6905 $as_echo "no
" >&6; }
6910 if test -z "$ac_cv_prog_DLLTOOL"; then
6911 ac_ct_DLLTOOL=$DLLTOOL
6912 # Extract the first word of "dlltool
", so it can be a program name with args.
6913 set dummy dlltool; ac_word=$2
6914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6915 $as_echo_n "checking
for $ac_word...
" >&6; }
6916 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6917 $as_echo_n "(cached
) " >&6
6919 if test -n "$ac_ct_DLLTOOL"; then
6920 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6926 test -z "$as_dir" && as_dir=.
6927 for ac_exec_ext in '' $ac_executable_extensions; do
6928 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6929 ac_cv_prog_ac_ct_DLLTOOL="dlltool
"
6930 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6939 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6940 if test -n "$ac_ct_DLLTOOL"; then
6941 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DLLTOOL" >&5
6942 $as_echo "$ac_ct_DLLTOOL" >&6; }
6944 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6945 $as_echo "no
" >&6; }
6948 if test "x
$ac_ct_DLLTOOL" = x; then
6951 case $cross_compiling:$ac_tool_warned in
6953 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6954 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6955 ac_tool_warned=yes ;;
6957 DLLTOOL=$ac_ct_DLLTOOL
6960 DLLTOOL="$ac_cv_prog_DLLTOOL"
6963 test -z "$DLLTOOL" && DLLTOOL=dlltool
6974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries
" >&5
6975 $as_echo_n "checking how to associate runtime and link libraries...
" >&6; }
6976 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6977 $as_echo_n "(cached
) " >&6
6979 lt_cv_sharedlib_from_linklib_cmd='unknown'
6982 cygwin* | mingw* | pw32* | cegcc*)
6983 # two different shell functions defined in ltmain.sh
6984 # decide which to use based on capabilities of $DLLTOOL
6985 case `$DLLTOOL --help 2>&1` in
6986 *--identify-strict*)
6987 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6990 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6995 # fallback: assume linklib IS sharedlib
6996 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
7001 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sharedlib_from_linklib_cmd" >&5
7002 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
7003 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
7004 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
7012 if test -n "$ac_tool_prefix"; then
7015 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7016 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7018 $as_echo_n "checking
for $ac_word...
" >&6; }
7019 if ${ac_cv_prog_AR+:} false; then :
7020 $as_echo_n "(cached
) " >&6
7022 if test -n "$AR"; then
7023 ac_cv_prog_AR="$AR" # Let the user override the test.
7025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7029 test -z "$as_dir" && as_dir=.
7030 for ac_exec_ext in '' $ac_executable_extensions; do
7031 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7032 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
7033 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7043 if test -n "$AR"; then
7044 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
7045 $as_echo "$AR" >&6; }
7047 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7048 $as_echo "no
" >&6; }
7052 test -n "$AR" && break
7055 if test -z "$AR"; then
7059 # Extract the first word of "$ac_prog", so it can be a program name with args.
7060 set dummy $ac_prog; ac_word=$2
7061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7062 $as_echo_n "checking
for $ac_word...
" >&6; }
7063 if ${ac_cv_prog_ac_ct_AR+:} false; then :
7064 $as_echo_n "(cached
) " >&6
7066 if test -n "$ac_ct_AR"; then
7067 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7073 test -z "$as_dir" && as_dir=.
7074 for ac_exec_ext in '' $ac_executable_extensions; do
7075 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7076 ac_cv_prog_ac_ct_AR="$ac_prog"
7077 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7086 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7087 if test -n "$ac_ct_AR"; then
7088 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
7089 $as_echo "$ac_ct_AR" >&6; }
7091 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7092 $as_echo "no
" >&6; }
7096 test -n "$ac_ct_AR" && break
7099 if test "x
$ac_ct_AR" = x; then
7102 case $cross_compiling:$ac_tool_warned in
7104 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7105 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7106 ac_tool_warned=yes ;;
7125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for archiver @FILE support
" >&5
7126 $as_echo_n "checking
for archiver @FILE support...
" >&6; }
7127 if ${lt_cv_ar_at_file+:} false; then :
7128 $as_echo_n "(cached
) " >&6
7131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7132 /* end confdefs.h. */
7142 if ac_fn_c_try_compile "$LINENO"; then :
7143 echo conftest.$ac_objext > conftest.lst
7144 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
7145 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7146 (eval $lt_ar_try) 2>&5
7148 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7149 test $ac_status = 0; }
7150 if test "$ac_status" -eq 0; then
7151 # Ensure the archiver fails upon bogus file names.
7152 rm -f conftest.$ac_objext libconftest.a
7153 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7154 (eval $lt_ar_try) 2>&5
7156 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7157 test $ac_status = 0; }
7158 if test "$ac_status" -ne 0; then
7162 rm -f conftest.* libconftest.a
7165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7168 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ar_at_file" >&5
7169 $as_echo "$lt_cv_ar_at_file" >&6; }
7171 if test "x
$lt_cv_ar_at_file" = xno; then
7174 archiver_list_spec=$lt_cv_ar_at_file
7183 if test -n "$ac_tool_prefix"; then
7184 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
7185 set dummy ${ac_tool_prefix}strip; ac_word=$2
7186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7187 $as_echo_n "checking
for $ac_word...
" >&6; }
7188 if ${ac_cv_prog_STRIP+:} false; then :
7189 $as_echo_n "(cached
) " >&6
7191 if test -n "$STRIP"; then
7192 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7198 test -z "$as_dir" && as_dir=.
7199 for ac_exec_ext in '' $ac_executable_extensions; do
7200 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7201 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
7202 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7211 STRIP=$ac_cv_prog_STRIP
7212 if test -n "$STRIP"; then
7213 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
7214 $as_echo "$STRIP" >&6; }
7216 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7217 $as_echo "no
" >&6; }
7222 if test -z "$ac_cv_prog_STRIP"; then
7224 # Extract the first word of "strip
", so it can be a program name with args.
7225 set dummy strip; ac_word=$2
7226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7227 $as_echo_n "checking
for $ac_word...
" >&6; }
7228 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7229 $as_echo_n "(cached
) " >&6
7231 if test -n "$ac_ct_STRIP"; then
7232 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7238 test -z "$as_dir" && as_dir=.
7239 for ac_exec_ext in '' $ac_executable_extensions; do
7240 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7241 ac_cv_prog_ac_ct_STRIP="strip
"
7242 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7251 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7252 if test -n "$ac_ct_STRIP"; then
7253 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
7254 $as_echo "$ac_ct_STRIP" >&6; }
7256 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7257 $as_echo "no
" >&6; }
7260 if test "x
$ac_ct_STRIP" = x; then
7263 case $cross_compiling:$ac_tool_warned in
7265 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7266 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7267 ac_tool_warned=yes ;;
7272 STRIP="$ac_cv_prog_STRIP"
7275 test -z "$STRIP" && STRIP=:
7282 if test -n "$ac_tool_prefix"; then
7283 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
7284 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7286 $as_echo_n "checking
for $ac_word...
" >&6; }
7287 if ${ac_cv_prog_RANLIB+:} false; then :
7288 $as_echo_n "(cached
) " >&6
7290 if test -n "$RANLIB"; then
7291 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7297 test -z "$as_dir" && as_dir=.
7298 for ac_exec_ext in '' $ac_executable_extensions; do
7299 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7300 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
7301 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7310 RANLIB=$ac_cv_prog_RANLIB
7311 if test -n "$RANLIB"; then
7312 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
7313 $as_echo "$RANLIB" >&6; }
7315 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7316 $as_echo "no
" >&6; }
7321 if test -z "$ac_cv_prog_RANLIB"; then
7322 ac_ct_RANLIB=$RANLIB
7323 # Extract the first word of "ranlib
", so it can be a program name with args.
7324 set dummy ranlib; ac_word=$2
7325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7326 $as_echo_n "checking
for $ac_word...
" >&6; }
7327 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7328 $as_echo_n "(cached
) " >&6
7330 if test -n "$ac_ct_RANLIB"; then
7331 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7337 test -z "$as_dir" && as_dir=.
7338 for ac_exec_ext in '' $ac_executable_extensions; do
7339 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7340 ac_cv_prog_ac_ct_RANLIB="ranlib
"
7341 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7350 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7351 if test -n "$ac_ct_RANLIB"; then
7352 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
7353 $as_echo "$ac_ct_RANLIB" >&6; }
7355 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7356 $as_echo "no
" >&6; }
7359 if test "x
$ac_ct_RANLIB" = x; then
7362 case $cross_compiling:$ac_tool_warned in
7364 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7365 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7366 ac_tool_warned=yes ;;
7368 RANLIB=$ac_ct_RANLIB
7371 RANLIB="$ac_cv_prog_RANLIB"
7374 test -z "$RANLIB" && RANLIB=:
7381 # Determine commands to create old-style static archives.
7382 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7383 old_postinstall_cmds='chmod 644 $oldlib'
7384 old_postuninstall_cmds=
7386 if test -n "$RANLIB"; then
7389 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$tool_oldlib"
7392 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$tool_oldlib"
7395 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$tool_oldlib"
7400 lock_old_archive_extraction=yes ;;
7402 lock_old_archive_extraction=no ;;
7443 # If no C compiler was specified, use CC.
7446 # If no C compiler flags were specified, use CFLAGS.
7447 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7449 # Allow CC to be a program name with arguments.
7453 # Check for command to grab the raw symbol name followed by C symbol from nm.
7454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
7455 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
7456 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7457 $as_echo_n "(cached
) " >&6
7460 # These are sane defaults that work on at least a few old systems.
7461 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7463 # Character class describing NM global symbol codes.
7464 symcode='[BCDEGRST]'
7466 # Regexp to match symbols that can be accessed directly from C.
7467 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7469 # Define system-specific variables.
7474 cygwin* | mingw* | pw32* | cegcc*)
7475 symcode='[ABCDGISTW]'
7478 if test "$host_cpu" = ia64; then
7479 symcode='[ABCDEGRST]'
7483 symcode='[BCDEGRST]'
7486 symcode='[BCDEGQRST]'
7497 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7505 # If we're using GNU nm, then use its standard symbol codes.
7506 case `$NM -V 2>&1` in
7507 *GNU* | *'with BFD'*)
7508 symcode='[ABCDGIRSTW]' ;;
7511 # Transform an extracted symbol line into a proper C declaration.
7512 # Some systems (esp. on ia64) link data and code symbols differently,
7513 # so use this general approach.
7514 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7516 # Transform an extracted symbol line into symbol name and symbol address
7517 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7518 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'"
7520 # Handle CRLF in mingw tool chain
7524 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7528 # Try without a prefix underscore, then with it.
7529 for ac_symprfx in "" "_
"; do
7531 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7532 symxfrm="\\1 $ac_symprfx\\2 \\2"
7534 # Write the raw and C identifiers.
7535 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7536 # Fake it for dumpbin and say T for any non-static function
7537 # and D for any global variable.
7538 # Also find C++ and __fastcall symbols from MSVC++,
7539 # which start with @ or ?.
7540 lt_cv_sys_global_symbol_pipe="$AWK '"\
7541 " {last_section=section; section=\$ 3};"\
7542 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7543 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7544 " \$ 0!~/External *\|/{next};"\
7545 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7546 " {if(hide[section]) next};"\
7547 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7548 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7549 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7550 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7551 " ' prfx
=^
$ac_symprfx"
7553 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7555 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe |
sed '/ __gnu_lto/d'"
7557 # Check to see that the pipe works correctly.
7561 cat > conftest.$ac_ext <<_LT_EOF
7566 void nm_test_func(void);
7567 void nm_test_func(void){}
7571 int main(){nm_test_var='a';nm_test_func();return(0);}
7574 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7575 (eval $ac_compile) 2>&5
7577 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7578 test $ac_status = 0; }; then
7579 # Now try to grab the symbols.
7581 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
7582 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7584 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7585 test $ac_status = 0; } && test -s "$nlist"; then
7586 # Try sorting and uniquifying the output.
7587 if sort "$nlist" | uniq > "$nlist"T; then
7588 mv -f "$nlist"T "$nlist"
7593 # Make sure that we snagged all the symbols we need.
7594 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7595 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7596 cat <<_LT_EOF > conftest.$ac_ext
7597 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
7598 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
7599 /* DATA imports from DLLs on WIN32 con't be const, because runtime
7600 relocations are performed -- see ld's documentation on pseudo-relocs. */
7601 # define LT_DLSYM_CONST
7602 #elif defined(__osf__)
7603 /* This system does not cope well with relocations in const data. */
7604 # define LT_DLSYM_CONST
7606 # define LT_DLSYM_CONST const
7614 # Now generate the symbol file.
7615 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7617 cat <<_LT_EOF >> conftest.$ac_ext
7619 /* The mapping between symbol names and symbols. */
7620 LT_DLSYM_CONST struct {
7624 lt__PROGRAM__LTX_preloaded_symbols[] =
7626 { "@PROGRAM@
", (void *) 0 },
7628 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7629 cat <<\_LT_EOF >> conftest.$ac_ext
7633 /* This works around a problem in FreeBSD linker */
7634 #ifdef FREEBSD_WORKAROUND
7635 static const void *lt_preloaded_setup() {
7636 return lt__PROGRAM__LTX_preloaded_symbols;
7644 # Now try linking the two files.
7645 mv conftest.$ac_objext conftstm.$ac_objext
7646 lt_globsym_save_LIBS=$LIBS
7647 lt_globsym_save_CFLAGS=$CFLAGS
7648 LIBS="conftstm.
$ac_objext"
7649 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7650 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7651 (eval $ac_link) 2>&5
7653 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7654 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7657 LIBS=$lt_globsym_save_LIBS
7658 CFLAGS=$lt_globsym_save_CFLAGS
7660 echo "cannot
find nm_test_func
in $nlist" >&5
7663 echo "cannot
find nm_test_var
in $nlist" >&5
7666 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
7669 echo "$progname: failed program was
:" >&5
7670 cat conftest.$ac_ext >&5
7672 rm -rf conftest* conftst*
7674 # Do not use the global_symbol_pipe unless it works.
7675 if test "$pipe_works" = yes; then
7678 lt_cv_sys_global_symbol_pipe=
7684 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7685 lt_cv_sys_global_symbol_to_cdecl=
7687 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7688 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
7689 $as_echo "failed
" >&6; }
7691 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
7692 $as_echo "ok
" >&6; }
7695 # Response file support.
7696 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7697 nm_file_list_spec='@'
7698 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7699 nm_file_list_spec='@'
7728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for sysroot
" >&5
7729 $as_echo_n "checking
for sysroot...
" >&6; }
7731 # Check whether --with-sysroot was given.
7732 if test "${with_sysroot+set}" = set; then :
7733 withval=$with_sysroot;
7740 case ${with_sysroot} in #(
7742 if test "$GCC" = yes; then
7743 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7747 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7752 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${with_sysroot}" >&5
7753 $as_echo "${with_sysroot}" >&6; }
7754 as_fn_error $? "The sysroot must be an absolute path.
" "$LINENO" 5
7758 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${lt_sysroot:-no}" >&5
7759 $as_echo "${lt_sysroot:-no}" >&6; }
7765 # Check whether --enable-libtool-lock was given.
7766 if test "${enable_libtool_lock+set}" = set; then :
7767 enableval=$enable_libtool_lock;
7770 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
7772 # Some flags need to be propagated to the compiler or linker for good
7776 # Find out which ABI we are using.
7777 echo 'int i;' > conftest.$ac_ext
7778 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7779 (eval $ac_compile) 2>&5
7781 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7782 test $ac_status = 0; }; then
7783 case `/usr/bin/file conftest.$ac_objext` in
7795 # Find out which ABI we are using.
7796 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
7797 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7798 (eval $ac_compile) 2>&5
7800 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7801 test $ac_status = 0; }; then
7802 if test "$lt_cv_prog_gnu_ld" = yes; then
7803 case `/usr/bin/file conftest.$ac_objext` in
7805 LD="${LD-ld} -melf32bsmip"
7808 LD="${LD-ld} -melf32bmipn32"
7811 LD="${LD-ld} -melf64bmip"
7815 case `/usr/bin/file conftest.$ac_objext` in
7831 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7832 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7833 # Find out which ABI we are using.
7834 echo 'int i;' > conftest.$ac_ext
7835 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7836 (eval $ac_compile) 2>&5
7838 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7839 test $ac_status = 0; }; then
7840 case `/usr/bin/file conftest.o` in
7843 x86_64-*kfreebsd*-gnu)
7844 LD="${LD-ld} -m elf_i386_fbsd
"
7847 LD="${LD-ld} -m elf_i386
"
7849 ppc64-*linux*|powerpc64-*linux*)
7850 LD="${LD-ld} -m elf32ppclinux
"
7853 LD="${LD-ld} -m elf_s390
"
7856 LD="${LD-ld} -m elf32_sparc
"
7862 x86_64-*kfreebsd*-gnu)
7863 LD="${LD-ld} -m elf_x86_64_fbsd
"
7866 LD="${LD-ld} -m elf_x86_64
"
7868 ppc*-*linux*|powerpc*-*linux*)
7869 LD="${LD-ld} -m elf64ppc
"
7871 s390*-*linux*|s390*-*tpf*)
7872 LD="${LD-ld} -m elf64_s390
"
7875 LD="${LD-ld} -m elf64_sparc
"
7885 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7886 SAVE_CFLAGS="$CFLAGS"
7887 CFLAGS="$CFLAGS -belf"
7888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
7889 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
7890 if ${lt_cv_cc_needs_belf+:} false; then :
7891 $as_echo_n "(cached
) " >&6
7894 ac_cpp='$CPP $CPPFLAGS'
7895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7900 /* end confdefs.h. */
7910 if ac_fn_c_try_link "$LINENO"; then :
7911 lt_cv_cc_needs_belf=yes
7913 lt_cv_cc_needs_belf=no
7915 rm -f core conftest.err conftest.$ac_objext \
7916 conftest$ac_exeext conftest.$ac_ext
7918 ac_cpp='$CPP $CPPFLAGS'
7919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7924 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
7925 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7926 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7927 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7928 CFLAGS="$SAVE_CFLAGS"
7932 # Find out which ABI we are using.
7933 echo 'int i;' > conftest.$ac_ext
7934 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7935 (eval $ac_compile) 2>&5
7937 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7938 test $ac_status = 0; }; then
7939 case `/usr/bin/file conftest.o` in
7941 case $lt_cv_prog_gnu_ld in
7945 LD="${LD-ld} -m elf_x86_64
"
7948 LD="${LD-ld} -m elf64_sparc
"
7951 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
7952 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7957 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7969 need_locks="$enable_libtool_lock"
7971 if test -n "$ac_tool_prefix"; then
7972 # Extract the first word of "${ac_tool_prefix}mt
", so it can be a program name with args.
7973 set dummy ${ac_tool_prefix}mt; ac_word=$2
7974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7975 $as_echo_n "checking
for $ac_word...
" >&6; }
7976 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7977 $as_echo_n "(cached
) " >&6
7979 if test -n "$MANIFEST_TOOL"; then
7980 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7986 test -z "$as_dir" && as_dir=.
7987 for ac_exec_ext in '' $ac_executable_extensions; do
7988 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7989 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt
"
7990 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7999 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
8000 if test -n "$MANIFEST_TOOL"; then
8001 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MANIFEST_TOOL" >&5
8002 $as_echo "$MANIFEST_TOOL" >&6; }
8004 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8005 $as_echo "no
" >&6; }
8010 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
8011 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
8012 # Extract the first word of "mt
", so it can be a program name with args.
8013 set dummy mt; ac_word=$2
8014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8015 $as_echo_n "checking
for $ac_word...
" >&6; }
8016 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
8017 $as_echo_n "(cached
) " >&6
8019 if test -n "$ac_ct_MANIFEST_TOOL"; then
8020 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
8022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8026 test -z "$as_dir" && as_dir=.
8027 for ac_exec_ext in '' $ac_executable_extensions; do
8028 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8029 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt
"
8030 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8039 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
8040 if test -n "$ac_ct_MANIFEST_TOOL"; then
8041 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_MANIFEST_TOOL" >&5
8042 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
8044 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8045 $as_echo "no
" >&6; }
8048 if test "x
$ac_ct_MANIFEST_TOOL" = x; then
8051 case $cross_compiling:$ac_tool_warned in
8053 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8054 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8055 ac_tool_warned=yes ;;
8057 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
8060 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
8063 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
8064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $MANIFEST_TOOL is a manifest tool
" >&5
8065 $as_echo_n "checking
if $MANIFEST_TOOL is a manifest tool...
" >&6; }
8066 if ${lt_cv_path_mainfest_tool+:} false; then :
8067 $as_echo_n "(cached
) " >&6
8069 lt_cv_path_mainfest_tool=no
8070 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
8071 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
8072 cat conftest.err >&5
8073 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
8074 lt_cv_path_mainfest_tool=yes
8078 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_mainfest_tool" >&5
8079 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
8080 if test "x
$lt_cv_path_mainfest_tool" != xyes; then
8090 rhapsody* | darwin*)
8091 if test -n "$ac_tool_prefix"; then
8092 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
8093 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8095 $as_echo_n "checking
for $ac_word...
" >&6; }
8096 if ${ac_cv_prog_DSYMUTIL+:} false; then :
8097 $as_echo_n "(cached
) " >&6
8099 if test -n "$DSYMUTIL"; then
8100 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8106 test -z "$as_dir" && as_dir=.
8107 for ac_exec_ext in '' $ac_executable_extensions; do
8108 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8109 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
8110 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8119 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8120 if test -n "$DSYMUTIL"; then
8121 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
8122 $as_echo "$DSYMUTIL" >&6; }
8124 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8125 $as_echo "no
" >&6; }
8130 if test -z "$ac_cv_prog_DSYMUTIL"; then
8131 ac_ct_DSYMUTIL=$DSYMUTIL
8132 # Extract the first word of "dsymutil
", so it can be a program name with args.
8133 set dummy dsymutil; ac_word=$2
8134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8135 $as_echo_n "checking
for $ac_word...
" >&6; }
8136 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
8137 $as_echo_n "(cached
) " >&6
8139 if test -n "$ac_ct_DSYMUTIL"; then
8140 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8146 test -z "$as_dir" && as_dir=.
8147 for ac_exec_ext in '' $ac_executable_extensions; do
8148 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8149 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
8150 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8159 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8160 if test -n "$ac_ct_DSYMUTIL"; then
8161 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
8162 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8164 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8165 $as_echo "no
" >&6; }
8168 if test "x
$ac_ct_DSYMUTIL" = x; then
8171 case $cross_compiling:$ac_tool_warned in
8173 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8174 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8175 ac_tool_warned=yes ;;
8177 DSYMUTIL=$ac_ct_DSYMUTIL
8180 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8183 if test -n "$ac_tool_prefix"; then
8184 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
8185 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8187 $as_echo_n "checking
for $ac_word...
" >&6; }
8188 if ${ac_cv_prog_NMEDIT+:} false; then :
8189 $as_echo_n "(cached
) " >&6
8191 if test -n "$NMEDIT"; then
8192 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8198 test -z "$as_dir" && as_dir=.
8199 for ac_exec_ext in '' $ac_executable_extensions; do
8200 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8201 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
8202 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8211 NMEDIT=$ac_cv_prog_NMEDIT
8212 if test -n "$NMEDIT"; then
8213 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
8214 $as_echo "$NMEDIT" >&6; }
8216 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8217 $as_echo "no
" >&6; }
8222 if test -z "$ac_cv_prog_NMEDIT"; then
8223 ac_ct_NMEDIT=$NMEDIT
8224 # Extract the first word of "nmedit
", so it can be a program name with args.
8225 set dummy nmedit; ac_word=$2
8226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8227 $as_echo_n "checking
for $ac_word...
" >&6; }
8228 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8229 $as_echo_n "(cached
) " >&6
8231 if test -n "$ac_ct_NMEDIT"; then
8232 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8238 test -z "$as_dir" && as_dir=.
8239 for ac_exec_ext in '' $ac_executable_extensions; do
8240 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8241 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
8242 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8251 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8252 if test -n "$ac_ct_NMEDIT"; then
8253 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
8254 $as_echo "$ac_ct_NMEDIT" >&6; }
8256 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8257 $as_echo "no
" >&6; }
8260 if test "x
$ac_ct_NMEDIT" = x; then
8263 case $cross_compiling:$ac_tool_warned in
8265 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8266 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8267 ac_tool_warned=yes ;;
8269 NMEDIT=$ac_ct_NMEDIT
8272 NMEDIT="$ac_cv_prog_NMEDIT"
8275 if test -n "$ac_tool_prefix"; then
8276 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
8277 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8279 $as_echo_n "checking
for $ac_word...
" >&6; }
8280 if ${ac_cv_prog_LIPO+:} false; then :
8281 $as_echo_n "(cached
) " >&6
8283 if test -n "$LIPO"; then
8284 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8286 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8290 test -z "$as_dir" && as_dir=.
8291 for ac_exec_ext in '' $ac_executable_extensions; do
8292 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8293 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
8294 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8303 LIPO=$ac_cv_prog_LIPO
8304 if test -n "$LIPO"; then
8305 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8306 $as_echo "$LIPO" >&6; }
8308 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8309 $as_echo "no
" >&6; }
8314 if test -z "$ac_cv_prog_LIPO"; then
8316 # Extract the first word of "lipo
", so it can be a program name with args.
8317 set dummy lipo; ac_word=$2
8318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8319 $as_echo_n "checking
for $ac_word...
" >&6; }
8320 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8321 $as_echo_n "(cached
) " >&6
8323 if test -n "$ac_ct_LIPO"; then
8324 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8330 test -z "$as_dir" && as_dir=.
8331 for ac_exec_ext in '' $ac_executable_extensions; do
8332 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8333 ac_cv_prog_ac_ct_LIPO="lipo
"
8334 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8343 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8344 if test -n "$ac_ct_LIPO"; then
8345 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
8346 $as_echo "$ac_ct_LIPO" >&6; }
8348 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8349 $as_echo "no
" >&6; }
8352 if test "x
$ac_ct_LIPO" = x; then
8355 case $cross_compiling:$ac_tool_warned in
8357 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8358 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8359 ac_tool_warned=yes ;;
8364 LIPO="$ac_cv_prog_LIPO"
8367 if test -n "$ac_tool_prefix"; then
8368 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
8369 set dummy ${ac_tool_prefix}otool; ac_word=$2
8370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8371 $as_echo_n "checking
for $ac_word...
" >&6; }
8372 if ${ac_cv_prog_OTOOL+:} false; then :
8373 $as_echo_n "(cached
) " >&6
8375 if test -n "$OTOOL"; then
8376 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8382 test -z "$as_dir" && as_dir=.
8383 for ac_exec_ext in '' $ac_executable_extensions; do
8384 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8385 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
8386 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8395 OTOOL=$ac_cv_prog_OTOOL
8396 if test -n "$OTOOL"; then
8397 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
8398 $as_echo "$OTOOL" >&6; }
8400 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8401 $as_echo "no
" >&6; }
8406 if test -z "$ac_cv_prog_OTOOL"; then
8408 # Extract the first word of "otool
", so it can be a program name with args.
8409 set dummy otool; ac_word=$2
8410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8411 $as_echo_n "checking
for $ac_word...
" >&6; }
8412 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8413 $as_echo_n "(cached
) " >&6
8415 if test -n "$ac_ct_OTOOL"; then
8416 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8422 test -z "$as_dir" && as_dir=.
8423 for ac_exec_ext in '' $ac_executable_extensions; do
8424 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8425 ac_cv_prog_ac_ct_OTOOL="otool
"
8426 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8435 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8436 if test -n "$ac_ct_OTOOL"; then
8437 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
8438 $as_echo "$ac_ct_OTOOL" >&6; }
8440 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8441 $as_echo "no
" >&6; }
8444 if test "x
$ac_ct_OTOOL" = x; then
8447 case $cross_compiling:$ac_tool_warned in
8449 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8450 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8451 ac_tool_warned=yes ;;
8456 OTOOL="$ac_cv_prog_OTOOL"
8459 if test -n "$ac_tool_prefix"; then
8460 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
8461 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8463 $as_echo_n "checking
for $ac_word...
" >&6; }
8464 if ${ac_cv_prog_OTOOL64+:} false; then :
8465 $as_echo_n "(cached
) " >&6
8467 if test -n "$OTOOL64"; then
8468 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8470 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8474 test -z "$as_dir" && as_dir=.
8475 for ac_exec_ext in '' $ac_executable_extensions; do
8476 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8477 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
8478 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8487 OTOOL64=$ac_cv_prog_OTOOL64
8488 if test -n "$OTOOL64"; then
8489 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
8490 $as_echo "$OTOOL64" >&6; }
8492 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8493 $as_echo "no
" >&6; }
8498 if test -z "$ac_cv_prog_OTOOL64"; then
8499 ac_ct_OTOOL64=$OTOOL64
8500 # Extract the first word of "otool64
", so it can be a program name with args.
8501 set dummy otool64; ac_word=$2
8502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8503 $as_echo_n "checking
for $ac_word...
" >&6; }
8504 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8505 $as_echo_n "(cached
) " >&6
8507 if test -n "$ac_ct_OTOOL64"; then
8508 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8510 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8514 test -z "$as_dir" && as_dir=.
8515 for ac_exec_ext in '' $ac_executable_extensions; do
8516 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8517 ac_cv_prog_ac_ct_OTOOL64="otool64
"
8518 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8527 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8528 if test -n "$ac_ct_OTOOL64"; then
8529 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
8530 $as_echo "$ac_ct_OTOOL64" >&6; }
8532 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8533 $as_echo "no
" >&6; }
8536 if test "x
$ac_ct_OTOOL64" = x; then
8539 case $cross_compiling:$ac_tool_warned in
8541 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8542 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8543 ac_tool_warned=yes ;;
8545 OTOOL64=$ac_ct_OTOOL64
8548 OTOOL64="$ac_cv_prog_OTOOL64"
8577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
8578 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
8579 if ${lt_cv_apple_cc_single_mod+:} false; then :
8580 $as_echo_n "(cached
) " >&6
8582 lt_cv_apple_cc_single_mod=no
8583 if test -z "${LT_MULTI_MODULE}"; then
8584 # By default we will add the -single_module flag. You can override
8585 # by either setting the environment variable LT_MULTI_MODULE
8586 # non-empty at configure time, or by adding -multi_module to the
8588 rm -rf libconftest.dylib*
8589 echo "int foo
(void
){return 1;}" > conftest.c
8590 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8591 -dynamiclib -Wl,-single_module conftest.c
" >&5
8592 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8593 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8595 # If there is a non-empty error log, and "single_module
"
8596 # appears in it, assume the flag caused a linker warning
8597 if test -s conftest.err && $GREP single_module conftest.err; then
8598 cat conftest.err >&5
8599 # Otherwise, if the output was created with a 0 exit code from
8600 # the compiler, it worked.
8601 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
8602 lt_cv_apple_cc_single_mod=yes
8604 cat conftest.err >&5
8606 rm -rf libconftest.dylib*
8610 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
8611 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
8614 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
8615 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8616 $as_echo_n "(cached
) " >&6
8618 lt_cv_ld_exported_symbols_list=no
8619 save_LDFLAGS=$LDFLAGS
8620 echo "_main
" > conftest.sym
8621 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
8622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8623 /* end confdefs.h. */
8633 if ac_fn_c_try_link "$LINENO"; then :
8634 lt_cv_ld_exported_symbols_list=yes
8636 lt_cv_ld_exported_symbols_list=no
8638 rm -f core conftest.err conftest.$ac_objext \
8639 conftest$ac_exeext conftest.$ac_ext
8640 LDFLAGS="$save_LDFLAGS"
8643 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
8644 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
8647 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
8648 if ${lt_cv_ld_force_load+:} false; then :
8649 $as_echo_n "(cached
) " >&6
8651 lt_cv_ld_force_load=no
8652 cat > conftest.c << _LT_EOF
8653 int forced_loaded() { return 2;}
8655 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
8656 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8657 echo "$AR cru libconftest.a conftest.o
" >&5
8658 $AR cru libconftest.a conftest.o 2>&5
8659 echo "$RANLIB libconftest.a
" >&5
8660 $RANLIB libconftest.a 2>&5
8661 cat > conftest.c << _LT_EOF
8662 int main() { return 0;}
8664 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
8665 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8667 if test -s conftest.err && $GREP force_load conftest.err; then
8668 cat conftest.err >&5
8669 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
8670 lt_cv_ld_force_load=yes
8672 cat conftest.err >&5
8674 rm -f conftest.err libconftest.a conftest conftest.c
8675 rm -rf conftest.dSYM
8678 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
8679 $as_echo "$lt_cv_ld_force_load" >&6; }
8681 rhapsody* | darwin1.[012])
8682 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8684 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8685 darwin*) # darwin 5.x on
8686 # if running on 10.5 or later, the deployment target defaults
8687 # to the OS version, if on x86, and 10.4, the deployment
8688 # target defaults to 10.4. Don't you love it?
8689 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8690 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8691 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8693 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8695 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8699 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8700 _lt_dar_single_mod='$single_module'
8702 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8703 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8705 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8707 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
8708 _lt_dsymutil='~$DSYMUTIL $lib || :'
8715 for ac_header in dlfcn.h
8717 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h
" "ac_cv_header_dlfcn_h
" "$ac_includes_default
8719 if test "x
$ac_cv_header_dlfcn_h" = xyes; then :
8720 cat >>confdefs.h <<_ACEOF
8721 #define HAVE_DLFCN_H 1
8731 func_stripname_cnf ()
8734 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$
%%"`;;
8735 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$
%%"`;;
8737 } # func_stripname_cnf
8753 # Check whether --enable-shared was given.
8754 if test "${enable_shared+set}" = set; then :
8755 enableval=$enable_shared; p=${PACKAGE-default}
8757 yes) enable_shared=yes ;;
8758 no) enable_shared=no ;;
8761 # Look at the argument we got. We use all the common list separators.
8762 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8763 for pkg in $enableval; do
8765 if test "X
$pkg" = "X
$p"; then
8784 # Check whether --enable-static was given.
8785 if test "${enable_static+set}" = set; then :
8786 enableval=$enable_static; p=${PACKAGE-default}
8788 yes) enable_static=yes ;;
8789 no) enable_static=no ;;
8792 # Look at the argument we got. We use all the common list separators.
8793 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8794 for pkg in $enableval; do
8796 if test "X
$pkg" = "X
$p"; then
8816 # Check whether --with-pic was given.
8817 if test "${with_pic+set}" = set; then :
8818 withval=$with_pic; lt_p=${PACKAGE-default}
8820 yes|no) pic_mode=$withval ;;
8823 # Look at the argument we got. We use all the common list separators.
8824 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8825 for lt_pkg in $withval; do
8827 if test "X
$lt_pkg" = "X
$lt_p"; then
8839 test -z "$pic_mode" && pic_mode=default
8847 # Check whether --enable-fast-install was given.
8848 if test "${enable_fast_install+set}" = set; then :
8849 enableval=$enable_fast_install; p=${PACKAGE-default}
8851 yes) enable_fast_install=yes ;;
8852 no) enable_fast_install=no ;;
8854 enable_fast_install=no
8855 # Look at the argument we got. We use all the common list separators.
8856 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8857 for pkg in $enableval; do
8859 if test "X
$pkg" = "X
$p"; then
8860 enable_fast_install=yes
8867 enable_fast_install=yes
8880 # This can be used to rebuild libtool when needed
8881 LIBTOOL_DEPS="$ltmain"
8883 # Always use our own libtool.
8884 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8915 test -z "$LN_S" && LN_S="ln -s"
8930 if test -n "${ZSH_VERSION+set}" ; then
8931 setopt NO_GLOB_SUBST
8934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdir
" >&5
8935 $as_echo_n "checking
for objdir...
" >&6; }
8936 if ${lt_cv_objdir+:} false; then :
8937 $as_echo_n "(cached
) " >&6
8939 rm -f .libs 2>/dev/null
8940 mkdir .libs 2>/dev/null
8941 if test -d .libs; then
8944 # MS-DOS does not allow filenames that begin with a dot.
8947 rmdir .libs 2>/dev/null
8949 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_objdir" >&5
8950 $as_echo "$lt_cv_objdir" >&6; }
8951 objdir=$lt_cv_objdir
8957 cat >>confdefs.h <<_ACEOF
8958 #define LT_OBJDIR "$lt_cv_objdir/"
8966 # AIX sometimes has problems with the GCC collect2 program. For some
8967 # reason, if we set the COLLECT_NAMES environment variable, the problems
8968 # vanish in a puff of smoke.
8969 if test "X
${COLLECT_NAMES+set}" != Xset; then
8971 export COLLECT_NAMES
8978 can_build_shared=yes
8980 # All known linkers require a `.a' archive for static linking (except MSVC,
8981 # which needs '.lib').
8984 with_gnu_ld="$lt_cv_prog_gnu_ld"
8987 old_CFLAGS="$CFLAGS"
8989 # Set sane defaults for various variables
8990 test -z "$CC" && CC=cc
8991 test -z "$LTCC" && LTCC=$CC
8992 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8993 test -z "$LD" && LD=ld
8994 test -z "$ac_objext" && ac_objext=o
8996 for cc_temp in $compiler""; do
8998 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8999 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
9004 cc_basename=`$ECHO "$cc_temp" | $SED "s
%.
*/%%; s
%^
$host_alias-%%"`
9007 # Only perform the check for file, if the check method requires it
9008 test -z "$MAGIC_CMD" && MAGIC_CMD=file
9009 case $deplibs_check_method in
9011 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ac_tool_prefix}file" >&5
9013 $as_echo_n "checking
for ${ac_tool_prefix}file...
" >&6; }
9014 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9015 $as_echo_n "(cached
) " >&6
9019 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9022 lt_save_MAGIC_CMD="$MAGIC_CMD"
9023 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9024 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
9025 for ac_dir in $ac_dummy; do
9027 test -z "$ac_dir" && ac_dir=.
9028 if test -f $ac_dir/${ac_tool_prefix}file; then
9029 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
9030 if test -n "$file_magic_test_file"; then
9031 case $deplibs_check_method in
9033 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
9034 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9035 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9036 $EGREP "$file_magic_regex" > /dev/null; then
9041 *** Warning: the command libtool uses to detect shared libraries,
9042 *** $file_magic_cmd, produces output that libtool cannot recognize.
9043 *** The result is that libtool may fail to recognize shared libraries
9044 *** as such. This will affect the creation of libtool libraries that
9045 *** depend on shared libraries, but programs linked with such libtool
9046 *** libraries will work regardless of this problem. Nevertheless, you
9047 *** may want to report the problem to your system manager and/or to
9048 *** bug-libtool@gnu.org
9058 MAGIC_CMD="$lt_save_MAGIC_CMD"
9063 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9064 if test -n "$MAGIC_CMD"; then
9065 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
9066 $as_echo "$MAGIC_CMD" >&6; }
9068 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9069 $as_echo "no
" >&6; }
9076 if test -z "$lt_cv_path_MAGIC_CMD"; then
9077 if test -n "$ac_tool_prefix"; then
9078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for file" >&5
9079 $as_echo_n "checking
for file...
" >&6; }
9080 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9081 $as_echo_n "(cached
) " >&6
9085 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9088 lt_save_MAGIC_CMD="$MAGIC_CMD"
9089 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9090 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
9091 for ac_dir in $ac_dummy; do
9093 test -z "$ac_dir" && ac_dir=.
9094 if test -f $ac_dir/file; then
9095 lt_cv_path_MAGIC_CMD="$ac_dir/file"
9096 if test -n "$file_magic_test_file"; then
9097 case $deplibs_check_method in
9099 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
9100 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9101 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9102 $EGREP "$file_magic_regex" > /dev/null; then
9107 *** Warning: the command libtool uses to detect shared libraries,
9108 *** $file_magic_cmd, produces output that libtool cannot recognize.
9109 *** The result is that libtool may fail to recognize shared libraries
9110 *** as such. This will affect the creation of libtool libraries that
9111 *** depend on shared libraries, but programs linked with such libtool
9112 *** libraries will work regardless of this problem. Nevertheless, you
9113 *** may want to report the problem to your system manager and/or to
9114 *** bug-libtool@gnu.org
9124 MAGIC_CMD="$lt_save_MAGIC_CMD"
9129 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9130 if test -n "$MAGIC_CMD"; then
9131 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
9132 $as_echo "$MAGIC_CMD" >&6; }
9134 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9135 $as_echo "no
" >&6; }
9148 # Use C for the default configuration in the libtool script
9152 ac_cpp='$CPP $CPPFLAGS'
9153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9158 # Source file extension for C test sources.
9161 # Object file extension for compiled C test sources.
9165 # Code to be used in simple compile tests
9166 lt_simple_compile_test_code="int some_variable
= 0;"
9168 # Code to be used in simple link tests
9169 lt_simple_link_test_code='int main(){return(0);}'
9177 # If no C compiler was specified, use CC.
9180 # If no C compiler flags were specified, use CFLAGS.
9181 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9183 # Allow CC to be a program name with arguments.
9186 # Save the default compiler, since it gets overwritten when the other
9187 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9188 compiler_DEFAULT=$CC
9190 # save warnings/boilerplate of simple test code
9191 ac_outfile=conftest.$ac_objext
9192 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9193 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9194 _lt_compiler_boilerplate=`cat conftest.err`
9197 ac_outfile=conftest.$ac_objext
9198 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9199 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9200 _lt_linker_boilerplate=`cat conftest.err`
9204 if test -n "$compiler"; then
9206 lt_prog_compiler_no_builtin_flag=
9208 if test "$GCC" = yes; then
9209 case $cc_basename in
9211 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9213 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-fno-rtti -fno-exceptions" >&5
9217 $as_echo_n "checking
if $compiler supports
-fno-rtti -fno-exceptions...
" >&6; }
9218 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9219 $as_echo_n "(cached
) " >&6
9221 lt_cv_prog_compiler_rtti_exceptions=no
9222 ac_outfile=conftest.$ac_objext
9223 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9224 lt_compiler_flag="-fno-rtti -fno-exceptions"
9225 # Insert the option either (1) after the last *FLAGS variable, or
9226 # (2) before a word containing "conftest.
", or (3) at the end.
9227 # Note that $ac_compile itself does not contain backslashes and begins
9228 # with a dollar sign (not a hyphen), so the echo should work correctly.
9229 # The option is referenced via a variable to avoid confusing sed.
9230 lt_compile=`echo "$ac_compile" | $SED \
9231 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9232 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9233 -e 's:$: $lt_compiler_flag:'`
9234 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9235 (eval "$lt_compile" 2>conftest.err)
9237 cat conftest.err >&5
9238 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9239 if (exit $ac_status) && test -s "$ac_outfile"; then
9240 # The compiler can only warn and ignore the option if not recognized
9241 # So say no if there are warnings other than the usual output.
9242 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9243 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9244 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9245 lt_cv_prog_compiler_rtti_exceptions=yes
9251 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_rtti_exceptions" >&5
9252 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9254 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9255 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9267 lt_prog_compiler_wl=
9268 lt_prog_compiler_pic=
9269 lt_prog_compiler_static=
9272 if test "$GCC" = yes; then
9273 lt_prog_compiler_wl='-Wl,'
9274 lt_prog_compiler_static='-static'
9278 # All AIX code is PIC.
9279 if test "$host_cpu" = ia64; then
9280 # AIX 5 now supports IA64 processor
9281 lt_prog_compiler_static='-Bstatic'
9288 # see comment about AmigaOS4 .so support
9289 lt_prog_compiler_pic='-fPIC'
9292 # FIXME: we need at least 68020 code to build shared libraries, but
9293 # adding the `-m68020' flag to GCC prevents building anything better,
9295 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9300 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9301 # PIC is the default for these OSes.
9304 mingw* | cygwin* | pw32* | os2* | cegcc*)
9305 # This hack is so that the source file can tell whether it is being
9306 # built for inclusion in a dll (and should export symbols for example).
9307 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9308 # (--disable-auto-import) libraries
9309 lt_prog_compiler_pic='-DDLL_EXPORT'
9312 darwin* | rhapsody*)
9313 # PIC is the default on this platform
9314 # Common symbols not allowed in MH_DYLIB files
9315 lt_prog_compiler_pic='-fno-common'
9319 # PIC is the default for Haiku.
9320 # The "-static" flag exists, but is broken.
9321 lt_prog_compiler_static=
9325 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9326 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9327 # sets the default TLS model and affects inlining.
9333 lt_prog_compiler_pic='-fPIC'
9339 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9340 # Instead, we relocate shared libraries at runtime.
9344 # Just because we use GCC doesn't mean we suddenly get shared libraries
9345 # on systems that don't support them.
9346 lt_prog_compiler_can_build_shared=no
9351 # QNX uses GNU C++, but need to define -shared option too, otherwise
9353 lt_prog_compiler_pic='-fPIC -shared'
9357 if test -d /usr/nec; then
9358 lt_prog_compiler_pic=-Kconform_pic
9363 lt_prog_compiler_pic='-fPIC'
9367 case $cc_basename in
9368 nvcc*) # Cuda Compiler Driver 2.2
9369 lt_prog_compiler_wl='-Xlinker '
9370 if test -n "$lt_prog_compiler_pic"; then
9371 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
9376 # PORTME Check for flag to pass linker flags through the system compiler.
9379 lt_prog_compiler_wl='-Wl,'
9380 if test "$host_cpu" = ia64; then
9381 # AIX 5 now supports IA64 processor
9382 lt_prog_compiler_static='-Bstatic'
9384 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9388 mingw* | cygwin* | pw32* | os2* | cegcc*)
9389 # This hack is so that the source file can tell whether it is being
9390 # built for inclusion in a dll (and should export symbols for example).
9391 lt_prog_compiler_pic='-DDLL_EXPORT'
9394 hpux9* | hpux10* | hpux11*)
9395 lt_prog_compiler_wl='-Wl,'
9396 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9403 lt_prog_compiler_pic='+Z'
9406 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9407 lt_prog_compiler_static='${wl}-a ${wl}archive'
9410 irix5* | irix6* | nonstopux*)
9411 lt_prog_compiler_wl='-Wl,'
9412 # PIC (with -KPIC) is the default.
9413 lt_prog_compiler_static='-non_shared'
9416 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9417 case $cc_basename in
9418 # old Intel for x86_64 which still supported -KPIC.
9420 lt_prog_compiler_wl='-Wl,'
9421 lt_prog_compiler_pic='-KPIC'
9422 lt_prog_compiler_static='-static'
9424 # icc used to be incompatible with GCC.
9425 # ICC 10 doesn't accept -KPIC any more.
9427 lt_prog_compiler_wl='-Wl,'
9428 lt_prog_compiler_pic='-fPIC'
9429 lt_prog_compiler_static='-static'
9431 # Lahey Fortran 8.1.
9433 lt_prog_compiler_wl='-Wl,'
9434 lt_prog_compiler_pic='--shared'
9435 lt_prog_compiler_static='--static'
9438 # NAG Fortran compiler
9439 lt_prog_compiler_wl='-Wl,-Wl,,'
9440 lt_prog_compiler_pic='-PIC'
9441 lt_prog_compiler_static='-Bstatic'
9443 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9444 # Portland Group compilers (*not* the Pentium gcc compiler,
9445 # which looks to be a dead project)
9446 lt_prog_compiler_wl='-Wl,'
9447 lt_prog_compiler_pic='-fpic'
9448 lt_prog_compiler_static='-Bstatic'
9451 lt_prog_compiler_wl='-Wl,'
9452 # All Alpha code is PIC.
9453 lt_prog_compiler_static='-non_shared'
9455 xl* | bgxl* | bgf* | mpixl*)
9456 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9457 lt_prog_compiler_wl='-Wl,'
9458 lt_prog_compiler_pic='-qpic'
9459 lt_prog_compiler_static='-qstaticlink'
9462 case `$CC -V 2>&1 | sed 5q` in
9463 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
9464 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9465 lt_prog_compiler_pic='-KPIC'
9466 lt_prog_compiler_static='-Bstatic'
9467 lt_prog_compiler_wl=''
9469 *Sun\ F* | *Sun*Fortran*)
9470 lt_prog_compiler_pic='-KPIC'
9471 lt_prog_compiler_static='-Bstatic'
9472 lt_prog_compiler_wl='-Qoption ld '
9476 lt_prog_compiler_pic='-KPIC'
9477 lt_prog_compiler_static='-Bstatic'
9478 lt_prog_compiler_wl='-Wl,'
9480 *Intel*\ [CF]*Compiler*)
9481 lt_prog_compiler_wl='-Wl,'
9482 lt_prog_compiler_pic='-fPIC'
9483 lt_prog_compiler_static='-static'
9486 lt_prog_compiler_wl='-Wl,'
9487 lt_prog_compiler_pic='-fpic'
9488 lt_prog_compiler_static='-Bstatic'
9496 lt_prog_compiler_pic='-KPIC'
9497 lt_prog_compiler_static='-Bstatic'
9501 # QNX uses GNU C++, but need to define -shared option too, otherwise
9503 lt_prog_compiler_pic='-fPIC -shared'
9506 osf3* | osf4* | osf5*)
9507 lt_prog_compiler_wl='-Wl,'
9508 # All OSF/1 code is PIC.
9509 lt_prog_compiler_static='-non_shared'
9513 lt_prog_compiler_static='-non_shared'
9517 lt_prog_compiler_pic='-KPIC'
9518 lt_prog_compiler_static='-Bstatic'
9519 case $cc_basename in
9520 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9521 lt_prog_compiler_wl='-Qoption ld ';;
9523 lt_prog_compiler_wl='-Wl,';;
9528 lt_prog_compiler_wl='-Qoption ld '
9529 lt_prog_compiler_pic='-PIC'
9530 lt_prog_compiler_static='-Bstatic'
9533 sysv4 | sysv4.2uw2* | sysv4.3*)
9534 lt_prog_compiler_wl='-Wl,'
9535 lt_prog_compiler_pic='-KPIC'
9536 lt_prog_compiler_static='-Bstatic'
9540 if test -d /usr/nec ;then
9541 lt_prog_compiler_pic='-Kconform_pic'
9542 lt_prog_compiler_static='-Bstatic'
9546 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9547 lt_prog_compiler_wl='-Wl,'
9548 lt_prog_compiler_pic='-KPIC'
9549 lt_prog_compiler_static='-Bstatic'
9553 lt_prog_compiler_wl='-Wl,'
9554 lt_prog_compiler_can_build_shared=no
9558 lt_prog_compiler_pic='-pic'
9559 lt_prog_compiler_static='-Bstatic'
9563 lt_prog_compiler_can_build_shared=no
9569 # For platforms which do not support PIC, -DPIC is meaningless:
9571 lt_prog_compiler_pic=
9574 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $compiler option to produce PIC
" >&5
9579 $as_echo_n "checking
for $compiler option to produce PIC...
" >&6; }
9580 if ${lt_cv_prog_compiler_pic+:} false; then :
9581 $as_echo_n "(cached
) " >&6
9583 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9585 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_pic" >&5
9586 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9587 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9590 # Check to make sure the PIC flag actually works.
9592 if test -n "$lt_prog_compiler_pic"; then
9593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler PIC flag
$lt_prog_compiler_pic works
" >&5
9594 $as_echo_n "checking
if $compiler PIC flag
$lt_prog_compiler_pic works...
" >&6; }
9595 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9596 $as_echo_n "(cached
) " >&6
9598 lt_cv_prog_compiler_pic_works=no
9599 ac_outfile=conftest.$ac_objext
9600 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9601 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9602 # Insert the option either (1) after the last *FLAGS variable, or
9603 # (2) before a word containing "conftest.
", or (3) at the end.
9604 # Note that $ac_compile itself does not contain backslashes and begins
9605 # with a dollar sign (not a hyphen), so the echo should work correctly.
9606 # The option is referenced via a variable to avoid confusing sed.
9607 lt_compile=`echo "$ac_compile" | $SED \
9608 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9609 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9610 -e 's:$: $lt_compiler_flag:'`
9611 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9612 (eval "$lt_compile" 2>conftest.err)
9614 cat conftest.err >&5
9615 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9616 if (exit $ac_status) && test -s "$ac_outfile"; then
9617 # The compiler can only warn and ignore the option if not recognized
9618 # So say no if there are warnings other than the usual output.
9619 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9620 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9621 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9622 lt_cv_prog_compiler_pic_works=yes
9628 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_pic_works" >&5
9629 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9631 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9632 case $lt_prog_compiler_pic in
9634 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9637 lt_prog_compiler_pic=
9638 lt_prog_compiler_can_build_shared=no
9654 # Check to make sure the static flag actually works.
9656 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler static flag
$lt_tmp_static_flag works
" >&5
9658 $as_echo_n "checking
if $compiler static flag
$lt_tmp_static_flag works...
" >&6; }
9659 if ${lt_cv_prog_compiler_static_works+:} false; then :
9660 $as_echo_n "(cached
) " >&6
9662 lt_cv_prog_compiler_static_works=no
9663 save_LDFLAGS="$LDFLAGS"
9664 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9665 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9666 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9667 # The linker can only warn and ignore the option if not recognized
9668 # So say no if there are warnings
9669 if test -s conftest.err; then
9670 # Append any errors to the config.log.
9671 cat conftest.err 1>&5
9672 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9673 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9674 if diff conftest.exp conftest.er2 >/dev/null; then
9675 lt_cv_prog_compiler_static_works=yes
9678 lt_cv_prog_compiler_static_works=yes
9682 LDFLAGS="$save_LDFLAGS"
9685 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_static_works" >&5
9686 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9688 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9691 lt_prog_compiler_static=
9700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
9701 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
9702 if ${lt_cv_prog_compiler_c_o+:} false; then :
9703 $as_echo_n "(cached
) " >&6
9705 lt_cv_prog_compiler_c_o=no
9706 $RM -r conftest 2>/dev/null
9710 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9712 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
9713 # Insert the option either (1) after the last *FLAGS variable, or
9714 # (2) before a word containing "conftest.
", or (3) at the end.
9715 # Note that $ac_compile itself does not contain backslashes and begins
9716 # with a dollar sign (not a hyphen), so the echo should work correctly.
9717 lt_compile=`echo "$ac_compile" | $SED \
9718 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9719 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9720 -e 's:$: $lt_compiler_flag:'`
9721 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9722 (eval "$lt_compile" 2>out/conftest.err)
9724 cat out/conftest.err >&5
9725 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9726 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9728 # The compiler can only warn and ignore the option if not recognized
9729 # So say no if there are warnings
9730 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9731 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9732 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9733 lt_cv_prog_compiler_c_o=yes
9738 # SGI C++ compiler will create directory out/ii_files/ for
9739 # template instantiation
9740 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9741 $RM out/* && rmdir out
9747 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
9748 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
9756 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
9757 if ${lt_cv_prog_compiler_c_o+:} false; then :
9758 $as_echo_n "(cached
) " >&6
9760 lt_cv_prog_compiler_c_o=no
9761 $RM -r conftest 2>/dev/null
9765 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9767 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
9768 # Insert the option either (1) after the last *FLAGS variable, or
9769 # (2) before a word containing "conftest.
", or (3) at the end.
9770 # Note that $ac_compile itself does not contain backslashes and begins
9771 # with a dollar sign (not a hyphen), so the echo should work correctly.
9772 lt_compile=`echo "$ac_compile" | $SED \
9773 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9774 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9775 -e 's:$: $lt_compiler_flag:'`
9776 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9777 (eval "$lt_compile" 2>out/conftest.err)
9779 cat out/conftest.err >&5
9780 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9781 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9783 # The compiler can only warn and ignore the option if not recognized
9784 # So say no if there are warnings
9785 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9786 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9787 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9788 lt_cv_prog_compiler_c_o=yes
9793 # SGI C++ compiler will create directory out/ii_files/ for
9794 # template instantiation
9795 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9796 $RM out/* && rmdir out
9802 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
9803 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9808 hard_links="nottested
"
9809 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9810 # do not overwrite the value of need_locks provided by the user
9811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if we can lock with hard links
" >&5
9812 $as_echo_n "checking
if we can lock with hard links...
" >&6; }
9815 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9817 ln conftest.a conftest.b 2>&5 || hard_links=no
9818 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9819 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $hard_links" >&5
9820 $as_echo "$hard_links" >&6; }
9821 if test "$hard_links" = no; then
9822 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&5
9823 $as_echo "$as_me: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&2;}
9835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the
$compiler linker
($LD) supports shared libraries
" >&5
9836 $as_echo_n "checking whether the
$compiler linker
($LD) supports shared libraries...
" >&6; }
9839 allow_undefined_flag=
9840 always_export_symbols=no
9842 archive_expsym_cmds=
9843 compiler_needs_object=no
9844 enable_shared_with_static_runtimes=no
9845 export_dynamic_flag_spec=
9846 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9847 hardcode_automatic=no
9849 hardcode_direct_absolute=no
9850 hardcode_libdir_flag_spec=
9851 hardcode_libdir_separator=
9853 hardcode_shlibpath_var=unsupported
9855 link_all_deplibs=unknown
9858 old_archive_from_new_cmds=
9859 old_archive_from_expsyms_cmds=
9860 thread_safe_flag_spec=
9861 whole_archive_flag_spec=
9862 # include_expsyms should be a list of space-separated symbols to be *always*
9863 # included in the symbol list
9865 # exclude_expsyms can be an extended regexp of symbols to exclude
9866 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9867 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9868 # as well as any symbol that contains `d'.
9869 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9870 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9871 # platforms (ab)use it in PIC code, but their linkers get confused if
9872 # the symbol is explicitly referenced. Since portable code cannot
9873 # rely on this symbol name, it's probably fine to never include it in
9874 # preloaded symbol tables.
9875 # Exclude shared library initialization/finalization symbols.
9876 extract_expsyms_cmds=
9879 cygwin* | mingw* | pw32* | cegcc*)
9880 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9881 # When not using gcc, we currently assume that we are using
9882 # Microsoft Visual C++.
9883 if test "$GCC" != yes; then
9888 # we just hope/assume this is gcc and not c89 (= MSVC++)
9898 # On some targets, GNU ld is compatible enough with the native linker
9899 # that we're better off using the native interface for both.
9900 lt_use_gnu_ld_interface=no
9901 if test "$with_gnu_ld" = yes; then
9904 # The AIX port of GNU ld has always aspired to compatibility
9905 # with the native linker. However, as the warning in the GNU ld
9906 # block says, versions before 2.19.5* couldn't really create working
9907 # shared libraries, regardless of the interface used.
9908 case `$LD -v 2>&1` in
9909 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9910 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9911 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9913 lt_use_gnu_ld_interface=yes
9918 lt_use_gnu_ld_interface=yes
9923 if test "$lt_use_gnu_ld_interface" = yes; then
9924 # If archive_cmds runs LD, not CC, wlarc should be empty
9927 # Set some defaults for GNU ld with shared library support. These
9928 # are reset later if shared libraries are not supported. Putting them
9929 # here allows them to be overridden if necessary.
9930 runpath_var=LD_RUN_PATH
9931 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9932 export_dynamic_flag_spec='${wl}--export-dynamic'
9933 # ancient GNU ld didn't support --whole-archive et. al.
9934 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9935 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9937 whole_archive_flag_spec=
9939 supports_anon_versioning=no
9940 case `$LD -v 2>&1` in
9941 *GNU\ gold*) supports_anon_versioning=yes ;;
9942 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9943 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9944 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9945 *\ 2.11.*) ;; # other 2.11 versions
9946 *) supports_anon_versioning=yes ;;
9949 # See if GNU ld supports shared libraries.
9952 # On AIX/PPC, the GNU linker is very broken
9953 if test "$host_cpu" != ia64; then
9957 *** Warning: the GNU linker, at least up to release 2.19, is reported
9958 *** to be unable to reliably create shared libraries on AIX.
9959 *** Therefore, libtool is disabling shared libraries support. If you
9960 *** really care for shared libraries, you may want to install binutils
9961 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9962 *** You will then need to restart the configuration process.
9971 # see comment about AmigaOS4 .so support
9972 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9973 archive_expsym_cmds=''
9976 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)'
9977 hardcode_libdir_flag_spec
='-L$libdir'
9978 hardcode_minus_L
=yes
9984 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9985 allow_undefined_flag
=unsupported
9986 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9987 # support --undefined. This deserves some investigation. FIXME
9988 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9994 cygwin
* | mingw
* | pw32
* | cegcc
*)
9995 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9996 # as there is no search path for DLLs.
9997 hardcode_libdir_flag_spec
='-L$libdir'
9998 export_dynamic_flag_spec
='${wl}--export-all-symbols'
9999 allow_undefined_flag
=unsupported
10000 always_export_symbols
=no
10001 enable_shared_with_static_runtimes
=yes
10002 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'
10003 exclude_expsyms
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
10005 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
10006 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10007 # If the export-symbols file already is a .def file (1st line
10008 # is EXPORTS), use it as is; otherwise, prepend...
10009 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10010 cp $export_symbols $output_objdir/$soname.def;
10012 echo EXPORTS > $output_objdir/$soname.def;
10013 cat $export_symbols >> $output_objdir/$soname.def;
10015 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10022 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10023 link_all_deplibs
=yes
10028 hardcode_shlibpath_var
=no
10029 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10030 export_dynamic_flag_spec
='${wl}-E'
10031 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10032 # Instead, shared libraries are loaded at an image base (0x10000000 by
10033 # default) and relocated if they conflict, which is a slow very memory
10034 # consuming and fragmenting process. To avoid this, we pick a random,
10035 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10036 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10037 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10038 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'
10041 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10043 if test "$host_os" = linux-dietlibc
; then
10044 case $cc_basename in
10045 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
10048 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
10049 && test "$tmp_diet" = no
10051 tmp_addflag
=' $pic_flag'
10052 tmp_sharedflag
='-shared'
10053 case $cc_basename,$host_cpu in
10054 pgcc
*) # Portland Group C compiler
10055 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'
10056 tmp_addflag
=' $pic_flag'
10058 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
10059 # Portland Group f77 and f90 compilers
10060 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'
10061 tmp_addflag
=' $pic_flag -Mnomain' ;;
10062 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
10063 tmp_addflag
=' -i_dynamic' ;;
10064 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
10065 tmp_addflag
=' -i_dynamic -nofor_main' ;;
10066 ifc
* | ifort
*) # Intel Fortran compiler
10067 tmp_addflag
=' -nofor_main' ;;
10068 lf95
*) # Lahey Fortran 8.1
10069 whole_archive_flag_spec
=
10070 tmp_sharedflag
='--shared' ;;
10071 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10072 tmp_sharedflag
='-qmkshrobj'
10074 nvcc
*) # Cuda Compiler Driver 2.2
10075 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'
10076 compiler_needs_object
=yes
10079 case `$CC -V 2>&1 | sed 5q` in
10080 *Sun\ C
*) # Sun C 5.9
10081 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'
10082 compiler_needs_object
=yes
10083 tmp_sharedflag
='-G' ;;
10084 *Sun\ F
*) # Sun Fortran 8.3
10085 tmp_sharedflag
='-G' ;;
10087 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10089 if test "x$supports_anon_versioning" = xyes
; then
10090 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10091 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10092 echo "local: *; };" >> $output_objdir/$libname.ver~
10093 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10096 case $cc_basename in
10097 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
10098 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10099 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
10100 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10101 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10102 if test "x$supports_anon_versioning" = xyes
; then
10103 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10104 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10105 echo "local: *; };" >> $output_objdir/$libname.ver~
10106 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10116 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10117 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10120 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10121 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10126 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
10130 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10131 *** create shared libraries on Solaris systems. Therefore, libtool
10132 *** is disabling shared libraries support. We urge you to upgrade GNU
10133 *** binutils to release 2.9.1 or newer. Another option is to modify
10134 *** your PATH or compiler configuration so that the native linker is
10135 *** used, and then restart.
10138 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10139 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10140 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10146 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
10147 case `$LD -v 2>&1` in
10148 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
10152 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10153 *** reliably create shared libraries on SCO systems. Therefore, libtool
10154 *** is disabling shared libraries support. We urge you to upgrade GNU
10155 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10156 *** your PATH or compiler configuration so that the native linker is
10157 *** used, and then restart.
10162 # For security reasons, it is highly recommended that you always
10163 # use absolute paths for naming shared libraries, and exclude the
10164 # DT_RUNPATH tag from executables and libraries. But doing so
10165 # requires that you compile everything twice, which is a pain.
10166 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10167 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10168 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10169 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10178 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10180 hardcode_direct
=yes
10181 hardcode_shlibpath_var
=no
10185 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10186 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10187 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10194 if test "$ld_shlibs" = no
; then
10196 hardcode_libdir_flag_spec
=
10197 export_dynamic_flag_spec
=
10198 whole_archive_flag_spec
=
10201 # PORTME fill in a description of your system's linker (not GNU ld)
10204 allow_undefined_flag
=unsupported
10205 always_export_symbols
=yes
10206 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'
10207 # Note: this linker hardcodes the directories in LIBPATH if there
10208 # are no directories specified by -L.
10209 hardcode_minus_L
=yes
10210 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10211 # Neither direct hardcoding nor static linking is supported with a
10213 hardcode_direct
=unsupported
10218 if test "$host_cpu" = ia64
; then
10219 # On IA64, the linker does run time linking by default, so we don't
10220 # have to do anything special.
10221 aix_use_runtimelinking
=no
10222 exp_sym_flag
='-Bexport'
10225 # If we're using GNU nm, then we don't want the "-C" option.
10226 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10227 # Also, AIX nm treats weak defined symbols like other global
10228 # defined symbols, whereas GNU nm marks them as "W".
10229 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
10230 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'
10232 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'
10234 aix_use_runtimelinking
=no
10236 # Test if we are trying to use run time linking or normal
10237 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10238 # need to do runtime linking.
10239 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
10240 for ld_flag
in $LDFLAGS; do
10241 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
10242 aix_use_runtimelinking
=yes
10249 exp_sym_flag
='-bexport'
10250 no_entry_flag
='-bnoentry'
10253 # When large executables or shared objects are built, AIX ld can
10254 # have problems creating the table of contents. If linking a library
10255 # or program results in "error TOC overflow" add -mminimal-toc to
10256 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10257 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10260 hardcode_direct
=yes
10261 hardcode_direct_absolute
=yes
10262 hardcode_libdir_separator
=':'
10263 link_all_deplibs
=yes
10264 file_list_spec
='${wl}-f,'
10266 if test "$GCC" = yes; then
10267 case $host_os in aix4.
[012]|aix4.
[012].
*)
10268 # We only want to do this on AIX 4.2 and lower, the check
10269 # below for broken collect2 doesn't work under 4.3+
10270 collect2name
=`${CC} -print-prog-name=collect2`
10271 if test -f "$collect2name" &&
10272 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
10274 # We have reworked collect2
10277 # We have old collect2
10278 hardcode_direct
=unsupported
10279 # It fails to find uninstalled libraries when the uninstalled
10280 # path is not listed in the libpath. Setting hardcode_minus_L
10281 # to unsupported forces relinking
10282 hardcode_minus_L
=yes
10283 hardcode_libdir_flag_spec
='-L$libdir'
10284 hardcode_libdir_separator
=
10288 shared_flag
='-shared'
10289 if test "$aix_use_runtimelinking" = yes; then
10290 shared_flag
="$shared_flag "'${wl}-G'
10294 if test "$host_cpu" = ia64
; then
10295 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10296 # chokes on -Wl,-G. The following line is correct:
10299 if test "$aix_use_runtimelinking" = yes; then
10300 shared_flag
='${wl}-G'
10302 shared_flag
='${wl}-bM:SRE'
10307 export_dynamic_flag_spec
='${wl}-bexpall'
10308 # It seems that -bexpall does not export symbols beginning with
10309 # underscore (_), so it is better to generate a list of symbols to export.
10310 always_export_symbols
=yes
10311 if test "$aix_use_runtimelinking" = yes; then
10312 # Warning - without using the other runtime loading flags (-brtl),
10313 # -berok will link without error, but may produce a broken library.
10314 allow_undefined_flag
='-berok'
10315 # Determine the default libpath from the value encoded in an
10316 # empty executable.
10317 if test "${lt_cv_aix_libpath+set}" = set; then
10318 aix_libpath
=$lt_cv_aix_libpath
10320 if ${lt_cv_aix_libpath_+:} false
; then :
10321 $as_echo_n "(cached) " >&6
10323 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10324 /* end confdefs.h. */
10334 if ac_fn_c_try_link
"$LINENO"; then :
10336 lt_aix_libpath_sed
='
10337 /Import File Strings/,/^$/ {
10339 s/^0 *\([^ ]*\) *$/\1/
10343 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10344 # Check for a 64-bit object if we didn't find anything.
10345 if test -z "$lt_cv_aix_libpath_"; then
10346 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10349 rm -f core conftest.err conftest.
$ac_objext \
10350 conftest
$ac_exeext conftest.
$ac_ext
10351 if test -z "$lt_cv_aix_libpath_"; then
10352 lt_cv_aix_libpath_
="/usr/lib:/lib"
10357 aix_libpath
=$lt_cv_aix_libpath_
10360 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10361 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"
10363 if test "$host_cpu" = ia64
; then
10364 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
10365 allow_undefined_flag
="-z nodefs"
10366 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"
10368 # Determine the default libpath from the value encoded in an
10369 # empty executable.
10370 if test "${lt_cv_aix_libpath+set}" = set; then
10371 aix_libpath
=$lt_cv_aix_libpath
10373 if ${lt_cv_aix_libpath_+:} false
; then :
10374 $as_echo_n "(cached) " >&6
10376 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10377 /* end confdefs.h. */
10387 if ac_fn_c_try_link
"$LINENO"; then :
10389 lt_aix_libpath_sed
='
10390 /Import File Strings/,/^$/ {
10392 s/^0 *\([^ ]*\) *$/\1/
10396 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10397 # Check for a 64-bit object if we didn't find anything.
10398 if test -z "$lt_cv_aix_libpath_"; then
10399 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10402 rm -f core conftest.err conftest.
$ac_objext \
10403 conftest
$ac_exeext conftest.
$ac_ext
10404 if test -z "$lt_cv_aix_libpath_"; then
10405 lt_cv_aix_libpath_
="/usr/lib:/lib"
10410 aix_libpath
=$lt_cv_aix_libpath_
10413 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10414 # Warning - without using the other run time loading flags,
10415 # -berok will link without error, but may produce a broken library.
10416 no_undefined_flag
=' ${wl}-bernotok'
10417 allow_undefined_flag
=' ${wl}-berok'
10418 if test "$with_gnu_ld" = yes; then
10419 # We only use this code for GNU lds that support --whole-archive.
10420 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10422 # Exported symbols can be pulled into shared objects from archives
10423 whole_archive_flag_spec
='$convenience'
10425 archive_cmds_need_lc
=yes
10426 # This is similar to how AIX traditionally builds its shared libraries.
10427 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'
10435 # see comment about AmigaOS4 .so support
10436 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10437 archive_expsym_cmds
=''
10440 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)'
10441 hardcode_libdir_flag_spec
='-L$libdir'
10442 hardcode_minus_L
=yes
10448 export_dynamic_flag_spec
=-rdynamic
10451 cygwin
* | mingw
* | pw32
* | cegcc
*)
10452 # When not using gcc, we currently assume that we are using
10453 # Microsoft Visual C++.
10454 # hardcode_libdir_flag_spec is actually meaningless, as there is
10455 # no search path for DLLs.
10456 case $cc_basename in
10459 hardcode_libdir_flag_spec
=' '
10460 allow_undefined_flag
=unsupported
10461 always_export_symbols
=yes
10463 # Tell ltmain to make .lib files, not .a files.
10465 # Tell ltmain to make .dll files, not .so files.
10467 # FIXME: Setting linknames here is a bad hack.
10468 archive_cmds
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
10469 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10470 sed -n -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' -e '1\\\
!p
' < $export_symbols > $output_objdir/$soname.exp;
10472 sed -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' < $export_symbols > $output_objdir/$soname.exp;
10474 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10476 # The linker will not automatically build a static lib if we build a DLL.
10477 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10478 enable_shared_with_static_runtimes
=yes
10479 exclude_expsyms
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10480 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10482 old_postinstall_cmds
='chmod 644 $oldlib'
10483 postlink_cmds
='lt_outputfile="@OUTPUT@"~
10484 lt_tool_outputfile="@TOOL_OUTPUT@"~
10485 case $lt_outputfile in
10488 lt_outputfile="$lt_outputfile.exe"
10489 lt_tool_outputfile="$lt_tool_outputfile.exe"
10492 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
10493 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10494 $RM "$lt_outputfile.manifest";
10498 # Assume MSVC wrapper
10499 hardcode_libdir_flag_spec
=' '
10500 allow_undefined_flag
=unsupported
10501 # Tell ltmain to make .lib files, not .a files.
10503 # Tell ltmain to make .dll files, not .so files.
10505 # FIXME: Setting linknames here is a bad hack.
10506 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10507 # The linker will automatically build a .lib file if we build a DLL.
10508 old_archive_from_new_cmds
='true'
10509 # FIXME: Should let the user specify the lib program.
10510 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10511 enable_shared_with_static_runtimes
=yes
10516 darwin
* | rhapsody
*)
10519 archive_cmds_need_lc
=no
10521 hardcode_automatic
=yes
10522 hardcode_shlibpath_var
=unsupported
10523 if test "$lt_cv_ld_force_load" = "yes"; then
10524 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\"`'
10527 whole_archive_flag_spec
=''
10529 link_all_deplibs
=yes
10530 allow_undefined_flag
="$_lt_dar_allow_undefined"
10531 case $cc_basename in
10532 ifort
*) _lt_dar_can_shared
=yes ;;
10533 *) _lt_dar_can_shared
=$GCC ;;
10535 if test "$_lt_dar_can_shared" = "yes"; then
10536 output_verbose_link_cmd
=func_echo_all
10537 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10538 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10539 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}"
10540 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}"
10549 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10550 hardcode_libdir_flag_spec
='-L$libdir'
10551 hardcode_shlibpath_var
=no
10554 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10555 # support. Future versions do this automatically, but an explicit c++rt0.o
10556 # does not break anything, and helps significantly (at the cost of a little
10559 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10560 hardcode_libdir_flag_spec
='-R$libdir'
10561 hardcode_direct
=yes
10562 hardcode_shlibpath_var
=no
10565 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10567 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10568 hardcode_direct
=yes
10569 hardcode_minus_L
=yes
10570 hardcode_shlibpath_var
=no
10573 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10574 freebsd
* | dragonfly
*)
10575 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10576 hardcode_libdir_flag_spec
='-R$libdir'
10577 hardcode_direct
=yes
10578 hardcode_shlibpath_var
=no
10582 if test "$GCC" = yes; then
10583 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'
10585 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'
10587 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10588 hardcode_libdir_separator
=:
10589 hardcode_direct
=yes
10591 # hardcode_minus_L: Not really in the search PATH,
10592 # but as the default location of the library.
10593 hardcode_minus_L
=yes
10594 export_dynamic_flag_spec
='${wl}-E'
10598 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10599 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10601 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10603 if test "$with_gnu_ld" = no
; then
10604 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10605 hardcode_libdir_separator
=:
10606 hardcode_direct
=yes
10607 hardcode_direct_absolute
=yes
10608 export_dynamic_flag_spec
='${wl}-E'
10609 # hardcode_minus_L: Not really in the search PATH,
10610 # but as the default location of the library.
10611 hardcode_minus_L
=yes
10616 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10619 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10622 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10625 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10631 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10634 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10638 # Older versions of the 11.00 compiler do not understand -b yet
10639 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10641 $as_echo_n "checking if $CC understands -b... " >&6; }
10642 if ${lt_cv_prog_compiler__b+:} false
; then :
10643 $as_echo_n "(cached) " >&6
10645 lt_cv_prog_compiler__b
=no
10646 save_LDFLAGS
="$LDFLAGS"
10647 LDFLAGS
="$LDFLAGS -b"
10648 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10649 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10650 # The linker can only warn and ignore the option if not recognized
10651 # So say no if there are warnings
10652 if test -s conftest.err
; then
10653 # Append any errors to the config.log.
10654 cat conftest.err
1>&5
10655 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10656 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10657 if diff conftest.exp conftest.er2
>/dev
/null
; then
10658 lt_cv_prog_compiler__b
=yes
10661 lt_cv_prog_compiler__b
=yes
10665 LDFLAGS
="$save_LDFLAGS"
10668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10669 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10671 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
10672 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10674 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10680 if test "$with_gnu_ld" = no
; then
10681 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10682 hardcode_libdir_separator
=:
10687 hardcode_shlibpath_var
=no
10690 hardcode_direct
=yes
10691 hardcode_direct_absolute
=yes
10692 export_dynamic_flag_spec
='${wl}-E'
10694 # hardcode_minus_L: Not really in the search PATH,
10695 # but as the default location of the library.
10696 hardcode_minus_L
=yes
10702 irix5
* | irix6
* | nonstopux
*)
10703 if test "$GCC" = yes; then
10704 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'
10705 # Try to use the -exported_symbol ld option, if it does not
10706 # work, assume that -exports_file does not work either and
10707 # implicitly export all symbols.
10708 # This should be the same for all languages, so no per-tag cache variable.
10709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10710 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10711 if ${lt_cv_irix_exported_symbol+:} false
; then :
10712 $as_echo_n "(cached) " >&6
10714 save_LDFLAGS
="$LDFLAGS"
10715 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10716 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10717 /* end confdefs.h. */
10718 int foo (void) { return 0; }
10720 if ac_fn_c_try_link
"$LINENO"; then :
10721 lt_cv_irix_exported_symbol
=yes
10723 lt_cv_irix_exported_symbol
=no
10725 rm -f core conftest.err conftest.
$ac_objext \
10726 conftest
$ac_exeext conftest.
$ac_ext
10727 LDFLAGS
="$save_LDFLAGS"
10729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10730 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10731 if test "$lt_cv_irix_exported_symbol" = yes; then
10732 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'
10735 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10736 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
10738 archive_cmds_need_lc
='no'
10739 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10740 hardcode_libdir_separator
=:
10742 link_all_deplibs
=yes
10746 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10747 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10749 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10751 hardcode_libdir_flag_spec
='-R$libdir'
10752 hardcode_direct
=yes
10753 hardcode_shlibpath_var
=no
10757 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10758 hardcode_direct
=yes
10759 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10760 hardcode_libdir_separator
=:
10761 hardcode_shlibpath_var
=no
10768 if test -f /usr
/libexec
/ld.so
; then
10769 hardcode_direct
=yes
10770 hardcode_shlibpath_var
=no
10771 hardcode_direct_absolute
=yes
10772 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10773 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10774 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10775 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10776 export_dynamic_flag_spec
='${wl}-E'
10779 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10780 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10781 hardcode_libdir_flag_spec
='-R$libdir'
10784 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10785 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10795 hardcode_libdir_flag_spec
='-L$libdir'
10796 hardcode_minus_L
=yes
10797 allow_undefined_flag
=unsupported
10798 archive_cmds
='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
10799 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10803 if test "$GCC" = yes; then
10804 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10805 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10807 allow_undefined_flag
=' -expect_unresolved \*'
10808 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10810 archive_cmds_need_lc
='no'
10811 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10812 hardcode_libdir_separator
=:
10815 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10816 if test "$GCC" = yes; then
10817 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10818 archive_cmds
='$CC -shared${allow_undefined_flag} $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'
10819 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10821 allow_undefined_flag
=' -expect_unresolved \*'
10822 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10823 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
10824 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
10826 # Both c and cxx compiler support -rpath directly
10827 hardcode_libdir_flag_spec
='-rpath $libdir'
10829 archive_cmds_need_lc
='no'
10830 hardcode_libdir_separator
=:
10834 no_undefined_flag
=' -z defs'
10835 if test "$GCC" = yes; then
10837 archive_cmds
='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10838 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10839 $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10841 case `$CC -V 2>&1` in
10844 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10845 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10846 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10850 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10851 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10852 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10856 hardcode_libdir_flag_spec
='-R$libdir'
10857 hardcode_shlibpath_var
=no
10859 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10861 # The compiler driver will combine and reorder linker options,
10862 # but understands `-z linker_flag'. GCC discards it without `$wl',
10863 # but is careful enough not to reorder.
10864 # Supported since Solaris 2.6 (maybe 2.5.1?)
10865 if test "$GCC" = yes; then
10866 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10868 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10872 link_all_deplibs
=yes
10876 if test "x$host_vendor" = xsequent
; then
10877 # Use $CC to link under sequent, because it throws in some extra .o
10878 # files that make .init and .fini sections work.
10879 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10881 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10883 hardcode_libdir_flag_spec
='-L$libdir'
10884 hardcode_direct
=yes
10885 hardcode_minus_L
=yes
10886 hardcode_shlibpath_var
=no
10890 case $host_vendor in
10892 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10893 hardcode_direct
=yes # is this really true???
10896 ## LD is ld it makes a PLAMLIB
10897 ## CC just makes a GrossModule.
10898 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10899 reload_cmds
='$CC -r -o $output$reload_objs'
10903 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10904 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10907 runpath_var
='LD_RUN_PATH'
10908 hardcode_shlibpath_var
=no
10912 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10913 hardcode_shlibpath_var
=no
10914 export_dynamic_flag_spec
='-Bexport'
10918 if test -d /usr
/nec
; then
10919 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10920 hardcode_shlibpath_var
=no
10921 runpath_var
=LD_RUN_PATH
10922 hardcode_runpath_var
=yes
10927 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10928 no_undefined_flag
='${wl}-z,text'
10929 archive_cmds_need_lc
=no
10930 hardcode_shlibpath_var
=no
10931 runpath_var
='LD_RUN_PATH'
10933 if test "$GCC" = yes; then
10934 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10935 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10937 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10938 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10942 sysv5
* | sco3.2v5
* | sco5v6
*)
10943 # Note: We can NOT use -z defs as we might desire, because we do not
10944 # link with -lc, and that would cause any symbols used from libc to
10945 # always be unresolved, which means just about no library would
10946 # ever link correctly. If we're not using GNU ld we use -z text
10947 # though, which does catch some bad symbols but isn't as heavy-handed
10949 no_undefined_flag
='${wl}-z,text'
10950 allow_undefined_flag
='${wl}-z,nodefs'
10951 archive_cmds_need_lc
=no
10952 hardcode_shlibpath_var
=no
10953 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10954 hardcode_libdir_separator
=':'
10955 link_all_deplibs
=yes
10956 export_dynamic_flag_spec
='${wl}-Bexport'
10957 runpath_var
='LD_RUN_PATH'
10959 if test "$GCC" = yes; then
10960 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10961 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10963 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10964 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10969 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10970 hardcode_libdir_flag_spec
='-L$libdir'
10971 hardcode_shlibpath_var
=no
10979 if test x
$host_vendor = xsni
; then
10981 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10982 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10989 $as_echo "$ld_shlibs" >&6; }
10990 test "$ld_shlibs" = no
&& can_build_shared
=no
10992 with_gnu_ld
=$with_gnu_ld
11009 # Do we need to explicitly link libc?
11011 case "x$archive_cmds_need_lc" in
11013 # Assume -lc should be added
11014 archive_cmds_need_lc
=yes
11016 if test "$enable_shared" = yes && test "$GCC" = yes; then
11017 case $archive_cmds in
11019 # FIXME: we may have to deal with multi-command sequences.
11022 # Test whether the compiler implicitly links with -lc since on some
11023 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11024 # to ld, don't add -lc before -lgcc.
11025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11026 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11027 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
11028 $as_echo_n "(cached) " >&6
11031 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11033 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11034 (eval $ac_compile) 2>&5
11036 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11037 test $ac_status = 0; } 2>conftest.err
; then
11040 libobjs
=conftest.
$ac_objext
11042 wl
=$lt_prog_compiler_wl
11043 pic_flag
=$lt_prog_compiler_pic
11049 lt_save_allow_undefined_flag
=$allow_undefined_flag
11050 allow_undefined_flag
=
11051 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11052 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
11054 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11055 test $ac_status = 0; }
11057 lt_cv_archive_cmds_need_lc
=no
11059 lt_cv_archive_cmds_need_lc
=yes
11061 allow_undefined_flag
=$lt_save_allow_undefined_flag
11063 cat conftest.err
1>&5
11068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11069 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11070 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
11228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11229 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11231 if test "$GCC" = yes; then
11233 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
11234 *) lt_awk_arg
="/^libraries:/" ;;
11237 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
11238 *) lt_sed_strip_eq
="s,=/,/,g" ;;
11240 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11241 case $lt_search_path_spec in
11243 # if the path contains ";" then we assume it to be the separator
11244 # otherwise default to the standard path separator (i.e. ":") - it is
11245 # assumed that no part of a normal pathname contains ";" but that should
11246 # okay in the real world where ";" in dirpaths is itself problematic.
11247 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11250 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11253 # Ok, now we have the path, separated by spaces, we can step through it
11254 # and add multilib dir if necessary.
11255 lt_tmp_lt_search_path_spec
=
11256 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11257 for lt_sys_path
in $lt_search_path_spec; do
11258 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11259 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11261 test -d "$lt_sys_path" && \
11262 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
11265 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11266 BEGIN {RS=" "; FS="/|\n";} {
11269 for (lt_i = NF; lt_i > 0; lt_i--) {
11270 if ($lt_i != "" && $lt_i != ".") {
11271 if ($lt_i == "..") {
11274 if (lt_count == 0) {
11275 lt_foo="/" $lt_i lt_foo;
11282 if (lt_foo != "") { lt_freq[lt_foo]++; }
11283 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11285 # AWK program above erroneously prepends '/' to C:/dos/paths
11288 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
11289 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11291 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11293 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11295 library_names_spec
=
11296 libname_spec
='lib$name'
11300 postuninstall_cmds
=
11304 shlibpath_overrides_runpath
=unknown
11306 dynamic_linker
="$host_os ld.so"
11307 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11308 need_lib_prefix
=unknown
11309 hardcode_into_libs
=no
11311 # when you set need_version to no, make sure it does not cause -set_version
11312 # flags to be left without arguments
11313 need_version
=unknown
11317 version_type
=linux
# correct to gnu/linux during the next big refactor
11318 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11319 shlibpath_var
=LIBPATH
11321 # AIX 3 has no versioning support, so we append a major version to the name.
11322 soname_spec
='${libname}${release}${shared_ext}$major'
11326 version_type
=linux
# correct to gnu/linux during the next big refactor
11329 hardcode_into_libs
=yes
11330 if test "$host_cpu" = ia64
; then
11331 # AIX 5 supports IA64
11332 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11333 shlibpath_var
=LD_LIBRARY_PATH
11335 # With GCC up to 2.95.x, collect2 would create an import file
11336 # for dependence libraries. The import file would start with
11337 # the line `#! .'. This would cause the generated library to
11338 # depend on `.', always an invalid library. This was fixed in
11339 # development snapshots of GCC prior to 3.0.
11341 aix4 | aix4.
[01] | aix4.
[01].
*)
11342 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11344 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
11347 can_build_shared
=no
11351 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11352 # soname into executable. Probably we can add versioning support to
11353 # collect2, so additional links can be useful in future.
11354 if test "$aix_use_runtimelinking" = yes; then
11355 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11356 # instead of lib<name>.a to let people know that these are not
11357 # typical AIX shared libraries.
11358 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11360 # We preserve .a as extension for shared libraries through AIX4.2
11361 # and later when we are not doing run time linking.
11362 library_names_spec
='${libname}${release}.a $libname.a'
11363 soname_spec
='${libname}${release}${shared_ext}$major'
11365 shlibpath_var
=LIBPATH
11372 # Since July 2007 AmigaOS4 officially supports .so libraries.
11373 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11374 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11377 library_names_spec
='$libname.ixlibrary $libname.a'
11378 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11379 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'
11385 library_names_spec
='${libname}${shared_ext}'
11386 dynamic_linker
="$host_os ld.so"
11387 shlibpath_var
=LIBRARY_PATH
11391 version_type
=linux
# correct to gnu/linux during the next big refactor
11393 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11394 soname_spec
='${libname}${release}${shared_ext}$major'
11395 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11396 shlibpath_var
=LD_LIBRARY_PATH
11397 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11398 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11399 # the default ld.so.conf also contains /usr/contrib/lib and
11400 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11401 # libtool to hard-code these into programs
11404 cygwin
* | mingw
* | pw32
* | cegcc
*)
11405 version_type
=windows
11410 case $GCC,$cc_basename in
11413 library_names_spec
='$libname.dll.a'
11414 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11415 postinstall_cmds
='base_file=`basename \${file}`~
11416 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11417 dldir=$destdir/`dirname \$dlpath`~
11418 test -d \$dldir || mkdir -p \$dldir~
11419 $install_prog $dir/$dlname \$dldir/$dlname~
11420 chmod a+x \$dldir/$dlname~
11421 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11422 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11424 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11425 dlpath=$dir/\$dldll~
11427 shlibpath_overrides_runpath
=yes
11431 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11432 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11434 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
11437 # MinGW DLLs use traditional 'lib' prefix
11438 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11441 # pw32 DLLs use 'pw' prefix rather than 'lib'
11442 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11445 dynamic_linker
='Win32 ld.exe'
11450 libname_spec
='$name'
11451 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11452 library_names_spec
='${libname}.dll.lib'
11456 sys_lib_search_path_spec
=
11459 for lt_path
in $LIB
11462 # Let DOS variable expansion print the short 8.3 style file name.
11463 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11464 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
11467 # Convert to MSYS style.
11468 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11471 # Convert to unix form, then to dos form, then back to unix form
11472 # but this time dos style (no spaces!) so that the unix form looks
11473 # like /cygdrive/c/PROGRA~1:/cygdr...
11474 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
11475 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11476 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11479 sys_lib_search_path_spec
="$LIB"
11480 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
11481 # It is most probably a Windows format PATH.
11482 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11484 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11486 # FIXME: find the short name or the path components, as spaces are
11487 # common. (e.g. "Program Files" -> "PROGRA~1")
11491 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11492 postinstall_cmds
='base_file=`basename \${file}`~
11493 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11494 dldir=$destdir/`dirname \$dlpath`~
11495 test -d \$dldir || mkdir -p \$dldir~
11496 $install_prog $dir/$dlname \$dldir/$dlname'
11497 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11498 dlpath=$dir/\$dldll~
11500 shlibpath_overrides_runpath
=yes
11501 dynamic_linker
='Win32 link.exe'
11505 # Assume MSVC wrapper
11506 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11507 dynamic_linker
='Win32 ld.exe'
11510 # FIXME: first we should search . and the directory the executable is in
11514 darwin
* | rhapsody
*)
11515 dynamic_linker
="$host_os dyld"
11516 version_type
=darwin
11519 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11520 soname_spec
='${libname}${release}${major}$shared_ext'
11521 shlibpath_overrides_runpath
=yes
11522 shlibpath_var
=DYLD_LIBRARY_PATH
11523 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11525 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
11526 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11530 version_type
=linux
# correct to gnu/linux during the next big refactor
11533 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11534 soname_spec
='${libname}${release}${shared_ext}$major'
11535 shlibpath_var
=LD_LIBRARY_PATH
11538 freebsd
* | dragonfly
*)
11539 # DragonFly does not have aout. When/if they implement a new
11540 # versioning mechanism, adjust this.
11541 if test -x /usr
/bin
/objformat
; then
11542 objformat
=`/usr/bin/objformat`
11545 freebsd
[23].
*) objformat
=aout
;;
11546 *) objformat
=elf
;;
11549 version_type
=freebsd-
$objformat
11550 case $version_type in
11552 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11557 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11561 shlibpath_var
=LD_LIBRARY_PATH
11564 shlibpath_overrides_runpath
=yes
11566 freebsd3.
[01]* | freebsdelf3.
[01]*)
11567 shlibpath_overrides_runpath
=yes
11568 hardcode_into_libs
=yes
11570 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
11571 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
11572 shlibpath_overrides_runpath
=no
11573 hardcode_into_libs
=yes
11575 *) # from 4.6 on, and DragonFly
11576 shlibpath_overrides_runpath
=yes
11577 hardcode_into_libs
=yes
11583 version_type
=linux
# correct to gnu/linux during the next big refactor
11586 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11587 soname_spec
='${libname}${release}${shared_ext}$major'
11588 shlibpath_var
=LD_LIBRARY_PATH
11589 shlibpath_overrides_runpath
=no
11590 hardcode_into_libs
=yes
11594 version_type
=linux
# correct to gnu/linux during the next big refactor
11597 dynamic_linker
="$host_os runtime_loader"
11598 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11599 soname_spec
='${libname}${release}${shared_ext}$major'
11600 shlibpath_var
=LIBRARY_PATH
11601 shlibpath_overrides_runpath
=yes
11602 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11603 hardcode_into_libs
=yes
11606 hpux9
* | hpux10
* | hpux11
*)
11607 # Give a soname corresponding to the major version so that dld.sl refuses to
11608 # link against other versions.
11615 hardcode_into_libs
=yes
11616 dynamic_linker
="$host_os dld.so"
11617 shlibpath_var
=LD_LIBRARY_PATH
11618 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11619 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11620 soname_spec
='${libname}${release}${shared_ext}$major'
11621 if test "X$HPUX_IA64_MODE" = X32
; then
11622 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11624 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11626 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11630 hardcode_into_libs
=yes
11631 dynamic_linker
="$host_os dld.sl"
11632 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11633 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11634 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11635 soname_spec
='${libname}${release}${shared_ext}$major'
11636 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11637 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11641 dynamic_linker
="$host_os dld.sl"
11642 shlibpath_var
=SHLIB_PATH
11643 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11644 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11645 soname_spec
='${libname}${release}${shared_ext}$major'
11648 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11649 postinstall_cmds
='chmod 555 $lib'
11650 # or fails outright, so override atomically:
11651 install_override_mode
=555
11655 version_type
=linux
# correct to gnu/linux during the next big refactor
11658 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11659 soname_spec
='${libname}${release}${shared_ext}$major'
11660 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
11661 shlibpath_var
=LD_LIBRARY_PATH
11662 shlibpath_overrides_runpath
=no
11663 hardcode_into_libs
=yes
11666 irix5
* | irix6
* | nonstopux
*)
11668 nonstopux
*) version_type
=nonstopux
;;
11670 if test "$lt_cv_prog_gnu_ld" = yes; then
11671 version_type
=linux
# correct to gnu/linux during the next big refactor
11678 soname_spec
='${libname}${release}${shared_ext}$major'
11679 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11681 irix5
* | nonstopux
*)
11682 libsuff
= shlibsuff
=
11685 case $LD in # libtool.m4 will add one of these switches to LD
11686 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
11687 libsuff
= shlibsuff
= libmagic
=32-bit;;
11688 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
11689 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11690 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
11691 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11692 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
11696 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11697 shlibpath_overrides_runpath
=no
11698 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11699 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11700 hardcode_into_libs
=yes
11703 # No shared lib support for Linux oldld, aout, or coff.
11704 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11708 # This must be glibc/ELF.
11709 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
11710 version_type
=linux
# correct to gnu/linux during the next big refactor
11713 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11714 soname_spec
='${libname}${release}${shared_ext}$major'
11715 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11716 shlibpath_var
=LD_LIBRARY_PATH
11717 shlibpath_overrides_runpath
=no
11719 # Some binutils ld are patched to set DT_RUNPATH
11720 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
11721 $as_echo_n "(cached) " >&6
11723 lt_cv_shlibpath_overrides_runpath
=no
11724 save_LDFLAGS
=$LDFLAGS
11725 save_libdir
=$libdir
11726 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11727 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11728 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11729 /* end confdefs.h. */
11739 if ac_fn_c_try_link
"$LINENO"; then :
11740 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
11741 lt_cv_shlibpath_overrides_runpath
=yes
11744 rm -f core conftest.err conftest.
$ac_objext \
11745 conftest
$ac_exeext conftest.
$ac_ext
11746 LDFLAGS
=$save_LDFLAGS
11747 libdir
=$save_libdir
11751 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
11753 # This implies no fast_install, which is unacceptable.
11754 # Some rework will be needed to allow for fast_install
11755 # before this can be enabled.
11756 hardcode_into_libs
=yes
11758 # Add ABI-specific directories to the system library path.
11759 sys_lib_dlsearch_path_spec
="/lib64 /usr/lib64 /lib /usr/lib"
11761 # Append ld.so.conf contents to the search path
11762 if test -f /etc
/ld.so.conf
; then
11763 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' ' '`
11764 sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec $lt_ld_extra"
11768 # We used to test for /lib/ld.so.1 and disable shared libraries on
11769 # powerpc, because MkLinux only supported shared libraries with the
11770 # GNU dynamic linker. Since this was broken with cross compilers,
11771 # most powerpc-linux boxes support dynamic linking these days and
11772 # people can always --disable-shared, the test was removed, and we
11773 # assume the GNU/Linux dynamic linker is in use.
11774 dynamic_linker
='GNU/Linux ld.so'
11781 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11782 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11783 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11784 dynamic_linker
='NetBSD (a.out) ld.so'
11786 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11787 soname_spec
='${libname}${release}${shared_ext}$major'
11788 dynamic_linker
='NetBSD ld.elf_so'
11790 shlibpath_var
=LD_LIBRARY_PATH
11791 shlibpath_overrides_runpath
=yes
11792 hardcode_into_libs
=yes
11796 version_type
=linux
# correct to gnu/linux during the next big refactor
11797 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11798 shlibpath_var
=LD_LIBRARY_PATH
11799 shlibpath_overrides_runpath
=yes
11806 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11807 soname_spec
='${libname}${release}${shared_ext}$major'
11808 shlibpath_var
=LD_LIBRARY_PATH
11809 shlibpath_overrides_runpath
=no
11810 hardcode_into_libs
=yes
11811 dynamic_linker
='ldqnx.so'
11816 sys_lib_dlsearch_path_spec
="/usr/lib"
11818 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11820 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
11821 *) need_version
=no
;;
11823 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11824 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11825 shlibpath_var
=LD_LIBRARY_PATH
11826 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11828 openbsd2.
[89] | openbsd2.
[89].
*)
11829 shlibpath_overrides_runpath
=no
11832 shlibpath_overrides_runpath
=yes
11836 shlibpath_overrides_runpath
=yes
11841 libname_spec
='$name'
11844 library_names_spec
='$libname${shared_ext} $libname.a'
11845 dynamic_linker
='OS/2 ld.exe'
11846 shlibpath_var
=LIBPATH
11849 osf3
* | osf4
* | osf5
*)
11853 soname_spec
='${libname}${release}${shared_ext}$major'
11854 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11855 shlibpath_var
=LD_LIBRARY_PATH
11856 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11857 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11865 version_type
=linux
# correct to gnu/linux during the next big refactor
11868 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11869 soname_spec
='${libname}${release}${shared_ext}$major'
11870 shlibpath_var
=LD_LIBRARY_PATH
11871 shlibpath_overrides_runpath
=yes
11872 hardcode_into_libs
=yes
11873 # ldd complains unless libraries are executable
11874 postinstall_cmds
='chmod +x $lib'
11879 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11880 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11881 shlibpath_var
=LD_LIBRARY_PATH
11882 shlibpath_overrides_runpath
=yes
11883 if test "$with_gnu_ld" = yes; then
11890 version_type
=linux
# correct to gnu/linux during the next big refactor
11891 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11892 soname_spec
='${libname}${release}${shared_ext}$major'
11893 shlibpath_var
=LD_LIBRARY_PATH
11894 case $host_vendor in
11896 shlibpath_overrides_runpath
=no
11898 runpath_var
=LD_RUN_PATH
11906 shlibpath_overrides_runpath
=no
11907 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11913 if test -d /usr
/nec
;then
11914 version_type
=linux
# correct to gnu/linux during the next big refactor
11915 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11916 soname_spec
='$libname${shared_ext}.$major'
11917 shlibpath_var
=LD_LIBRARY_PATH
11921 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11922 version_type
=freebsd-elf
11925 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11926 soname_spec
='${libname}${release}${shared_ext}$major'
11927 shlibpath_var
=LD_LIBRARY_PATH
11928 shlibpath_overrides_runpath
=yes
11929 hardcode_into_libs
=yes
11930 if test "$with_gnu_ld" = yes; then
11931 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11933 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11936 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11940 sys_lib_dlsearch_path_spec
='/usr/lib'
11944 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11945 version_type
=linux
# correct to gnu/linux during the next big refactor
11948 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11949 shlibpath_var
=LD_LIBRARY_PATH
11950 shlibpath_overrides_runpath
=no
11951 hardcode_into_libs
=yes
11955 version_type
=linux
# correct to gnu/linux during the next big refactor
11956 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11957 soname_spec
='${libname}${release}${shared_ext}$major'
11958 shlibpath_var
=LD_LIBRARY_PATH
11965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11966 $as_echo "$dynamic_linker" >&6; }
11967 test "$dynamic_linker" = no
&& can_build_shared
=no
11969 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11970 if test "$GCC" = yes; then
11971 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11974 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11975 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11977 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11978 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
12072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12073 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12075 if test -n "$hardcode_libdir_flag_spec" ||
12076 test -n "$runpath_var" ||
12077 test "X$hardcode_automatic" = "Xyes" ; then
12079 # We can hardcode non-existent directories.
12080 if test "$hardcode_direct" != no
&&
12081 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12082 # have to relink, otherwise we might link with an installed library
12083 # when we should be linking with a yet-to-be-installed one
12084 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12085 test "$hardcode_minus_L" != no
; then
12086 # Linking always hardcodes the temporary library directory.
12087 hardcode_action
=relink
12089 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12090 hardcode_action
=immediate
12093 # We cannot hardcode anything, or else we can only hardcode existing
12095 hardcode_action
=unsupported
12097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12098 $as_echo "$hardcode_action" >&6; }
12100 if test "$hardcode_action" = relink ||
12101 test "$inherit_rpath" = yes; then
12102 # Fast installation is not supported
12103 enable_fast_install
=no
12104 elif test "$shlibpath_overrides_runpath" = yes ||
12105 test "$enable_shared" = no
; then
12106 # Fast installation is not necessary
12107 enable_fast_install
=needless
12115 if test "x$enable_dlopen" != xyes
; then
12116 enable_dlopen
=unknown
12117 enable_dlopen_self
=unknown
12118 enable_dlopen_self_static
=unknown
12125 lt_cv_dlopen
="load_add_on"
12127 lt_cv_dlopen_self
=yes
12130 mingw
* | pw32
* | cegcc
*)
12131 lt_cv_dlopen
="LoadLibrary"
12136 lt_cv_dlopen
="dlopen"
12141 # if libdl is installed we need to link against it
12142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12143 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12144 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12145 $as_echo_n "(cached) " >&6
12147 ac_check_lib_save_LIBS
=$LIBS
12149 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12150 /* end confdefs.h. */
12152 /* Override any GCC internal prototype to avoid an error.
12153 Use char because int might match the return type of a GCC
12154 builtin and then its argument prototype would still apply. */
12167 if ac_fn_c_try_link
"$LINENO"; then :
12168 ac_cv_lib_dl_dlopen
=yes
12170 ac_cv_lib_dl_dlopen
=no
12172 rm -f core conftest.err conftest.
$ac_objext \
12173 conftest
$ac_exeext conftest.
$ac_ext
12174 LIBS
=$ac_check_lib_save_LIBS
12176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12177 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12178 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12179 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12182 lt_cv_dlopen
="dyld"
12184 lt_cv_dlopen_self
=yes
12191 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
12192 if test "x$ac_cv_func_shl_load" = xyes
; then :
12193 lt_cv_dlopen
="shl_load"
12195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12196 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12197 if ${ac_cv_lib_dld_shl_load+:} false
; then :
12198 $as_echo_n "(cached) " >&6
12200 ac_check_lib_save_LIBS
=$LIBS
12202 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12203 /* end confdefs.h. */
12205 /* Override any GCC internal prototype to avoid an error.
12206 Use char because int might match the return type of a GCC
12207 builtin and then its argument prototype would still apply. */
12215 return shl_load ();
12220 if ac_fn_c_try_link
"$LINENO"; then :
12221 ac_cv_lib_dld_shl_load
=yes
12223 ac_cv_lib_dld_shl_load
=no
12225 rm -f core conftest.err conftest.
$ac_objext \
12226 conftest
$ac_exeext conftest.
$ac_ext
12227 LIBS
=$ac_check_lib_save_LIBS
12229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12230 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12231 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
12232 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
12234 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
12235 if test "x$ac_cv_func_dlopen" = xyes
; then :
12236 lt_cv_dlopen
="dlopen"
12238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12239 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12240 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12241 $as_echo_n "(cached) " >&6
12243 ac_check_lib_save_LIBS
=$LIBS
12245 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12246 /* end confdefs.h. */
12248 /* Override any GCC internal prototype to avoid an error.
12249 Use char because int might match the return type of a GCC
12250 builtin and then its argument prototype would still apply. */
12263 if ac_fn_c_try_link
"$LINENO"; then :
12264 ac_cv_lib_dl_dlopen
=yes
12266 ac_cv_lib_dl_dlopen
=no
12268 rm -f core conftest.err conftest.
$ac_objext \
12269 conftest
$ac_exeext conftest.
$ac_ext
12270 LIBS
=$ac_check_lib_save_LIBS
12272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12273 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12274 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12275 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12278 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12279 if ${ac_cv_lib_svld_dlopen+:} false
; then :
12280 $as_echo_n "(cached) " >&6
12282 ac_check_lib_save_LIBS
=$LIBS
12283 LIBS
="-lsvld $LIBS"
12284 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12285 /* end confdefs.h. */
12287 /* Override any GCC internal prototype to avoid an error.
12288 Use char because int might match the return type of a GCC
12289 builtin and then its argument prototype would still apply. */
12302 if ac_fn_c_try_link
"$LINENO"; then :
12303 ac_cv_lib_svld_dlopen
=yes
12305 ac_cv_lib_svld_dlopen
=no
12307 rm -f core conftest.err conftest.
$ac_objext \
12308 conftest
$ac_exeext conftest.
$ac_ext
12309 LIBS
=$ac_check_lib_save_LIBS
12311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12312 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12313 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
12314 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
12316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12317 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12318 if ${ac_cv_lib_dld_dld_link+:} false
; then :
12319 $as_echo_n "(cached) " >&6
12321 ac_check_lib_save_LIBS
=$LIBS
12323 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12324 /* end confdefs.h. */
12326 /* Override any GCC internal prototype to avoid an error.
12327 Use char because int might match the return type of a GCC
12328 builtin and then its argument prototype would still apply. */
12336 return dld_link ();
12341 if ac_fn_c_try_link
"$LINENO"; then :
12342 ac_cv_lib_dld_dld_link
=yes
12344 ac_cv_lib_dld_dld_link
=no
12346 rm -f core conftest.err conftest.
$ac_objext \
12347 conftest
$ac_exeext conftest.
$ac_ext
12348 LIBS
=$ac_check_lib_save_LIBS
12350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12351 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12352 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
12353 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
12374 if test "x$lt_cv_dlopen" != xno
; then
12380 case $lt_cv_dlopen in
12382 save_CPPFLAGS
="$CPPFLAGS"
12383 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12385 save_LDFLAGS
="$LDFLAGS"
12386 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12389 LIBS
="$lt_cv_dlopen_libs $LIBS"
12391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12392 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12393 if ${lt_cv_dlopen_self+:} false
; then :
12394 $as_echo_n "(cached) " >&6
12396 if test "$cross_compiling" = yes; then :
12397 lt_cv_dlopen_self
=cross
12399 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12400 lt_status
=$lt_dlunknown
12401 cat > conftest.
$ac_ext <<_LT_EOF
12402 #line $LINENO "configure"
12403 #include "confdefs.h"
12412 # define LT_DLGLOBAL RTLD_GLOBAL
12415 # define LT_DLGLOBAL DL_GLOBAL
12417 # define LT_DLGLOBAL 0
12421 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12422 find out it does not work in some platform. */
12423 #ifndef LT_DLLAZY_OR_NOW
12425 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12428 # define LT_DLLAZY_OR_NOW DL_LAZY
12431 # define LT_DLLAZY_OR_NOW RTLD_NOW
12434 # define LT_DLLAZY_OR_NOW DL_NOW
12436 # define LT_DLLAZY_OR_NOW 0
12443 /* When -fvisbility=hidden is used, assume the code has been annotated
12444 correspondingly for the symbols needed. */
12445 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12446 int fnord () __attribute__((visibility("default")));
12449 int fnord () { return 42; }
12452 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12453 int status = $lt_dlunknown;
12457 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12460 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12461 else puts (dlerror ());
12463 /* dlclose (self); */
12471 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12472 (eval $ac_link) 2>&5
12474 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12475 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12476 (.
/conftest
; exit; ) >&5 2>/dev
/null
12478 case x
$lt_status in
12479 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12480 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12481 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12484 # compilation failed
12485 lt_cv_dlopen_self
=no
12492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12493 $as_echo "$lt_cv_dlopen_self" >&6; }
12495 if test "x$lt_cv_dlopen_self" = xyes
; then
12496 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12498 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12499 if ${lt_cv_dlopen_self_static+:} false
; then :
12500 $as_echo_n "(cached) " >&6
12502 if test "$cross_compiling" = yes; then :
12503 lt_cv_dlopen_self_static
=cross
12505 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12506 lt_status
=$lt_dlunknown
12507 cat > conftest.
$ac_ext <<_LT_EOF
12508 #line $LINENO "configure"
12509 #include "confdefs.h"
12518 # define LT_DLGLOBAL RTLD_GLOBAL
12521 # define LT_DLGLOBAL DL_GLOBAL
12523 # define LT_DLGLOBAL 0
12527 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12528 find out it does not work in some platform. */
12529 #ifndef LT_DLLAZY_OR_NOW
12531 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12534 # define LT_DLLAZY_OR_NOW DL_LAZY
12537 # define LT_DLLAZY_OR_NOW RTLD_NOW
12540 # define LT_DLLAZY_OR_NOW DL_NOW
12542 # define LT_DLLAZY_OR_NOW 0
12549 /* When -fvisbility=hidden is used, assume the code has been annotated
12550 correspondingly for the symbols needed. */
12551 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12552 int fnord () __attribute__((visibility("default")));
12555 int fnord () { return 42; }
12558 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12559 int status = $lt_dlunknown;
12563 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12566 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12567 else puts (dlerror ());
12569 /* dlclose (self); */
12577 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12578 (eval $ac_link) 2>&5
12580 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12581 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12582 (.
/conftest
; exit; ) >&5 2>/dev
/null
12584 case x
$lt_status in
12585 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12586 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12587 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12590 # compilation failed
12591 lt_cv_dlopen_self_static
=no
12598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12599 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12602 CPPFLAGS
="$save_CPPFLAGS"
12603 LDFLAGS
="$save_LDFLAGS"
12608 case $lt_cv_dlopen_self in
12609 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12610 *) enable_dlopen_self
=unknown
;;
12613 case $lt_cv_dlopen_self_static in
12614 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12615 *) enable_dlopen_self_static
=unknown
;;
12637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12638 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12639 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
12640 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12641 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12643 $as_echo "yes" >&6; }
12645 # FIXME - insert some real tests, host_os isn't really good enough
12648 if test -n "$STRIP" ; then
12649 striplib
="$STRIP -x"
12650 old_striplib
="$STRIP -S"
12651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12652 $as_echo "yes" >&6; }
12654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12655 $as_echo "no" >&6; }
12659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12660 $as_echo "no" >&6; }
12676 # Report which library types will actually be built
12677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12678 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12680 $as_echo "$can_build_shared" >&6; }
12682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12683 $as_echo_n "checking whether to build shared libraries... " >&6; }
12684 test "$can_build_shared" = "no" && enable_shared
=no
12686 # On AIX, shared libraries and static libraries use the same namespace, and
12687 # are all built from PIC.
12690 test "$enable_shared" = yes && enable_static
=no
12691 if test -n "$RANLIB"; then
12692 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12693 postinstall_cmds
='$RANLIB $lib'
12698 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
12699 test "$enable_shared" = yes && enable_static
=no
12703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12704 $as_echo "$enable_shared" >&6; }
12706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12707 $as_echo_n "checking whether to build static libraries... " >&6; }
12708 # Make sure either enable_shared or enable_static is yes.
12709 test "$enable_shared" = yes || enable_static
=yes
12710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12711 $as_echo "$enable_static" >&6; }
12718 ac_cpp
='$CPP $CPPFLAGS'
12719 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12720 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12721 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12725 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12726 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12727 (test "X$CXX" != "Xg++"))) ; then
12729 ac_cpp
='$CXXCPP $CPPFLAGS'
12730 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12731 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12732 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12734 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12735 if test -z "$CXXCPP"; then
12736 if ${ac_cv_prog_CXXCPP+:} false
; then :
12737 $as_echo_n "(cached) " >&6
12739 # Double quotes because CXXCPP needs to be expanded
12740 for CXXCPP
in "$CXX -E" "/lib/cpp"
12742 ac_preproc_ok
=false
12743 for ac_cxx_preproc_warn_flag
in '' yes
12745 # Use a header file that comes with gcc, so configuring glibc
12746 # with a fresh cross-compiler works.
12747 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12748 # <limits.h> exists even on freestanding compilers.
12749 # On the NeXT, cc -E runs the code through the compiler's parser,
12750 # not just through cpp. "Syntax error" is here to catch this case.
12751 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12752 /* end confdefs.h. */
12754 # include <limits.h>
12756 # include <assert.h>
12760 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12763 # Broken: fails on valid input.
12766 rm -f conftest.err conftest.i conftest.
$ac_ext
12768 # OK, works on sane cases. Now check whether nonexistent headers
12769 # can be detected and how.
12770 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12771 /* end confdefs.h. */
12772 #include <ac_nonexistent.h>
12774 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12775 # Broken: success on invalid input.
12778 # Passes both tests.
12782 rm -f conftest.err conftest.i conftest.
$ac_ext
12785 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12786 rm -f conftest.i conftest.err conftest.
$ac_ext
12787 if $ac_preproc_ok; then :
12792 ac_cv_prog_CXXCPP
=$CXXCPP
12795 CXXCPP
=$ac_cv_prog_CXXCPP
12797 ac_cv_prog_CXXCPP
=$CXXCPP
12799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12800 $as_echo "$CXXCPP" >&6; }
12801 ac_preproc_ok
=false
12802 for ac_cxx_preproc_warn_flag
in '' yes
12804 # Use a header file that comes with gcc, so configuring glibc
12805 # with a fresh cross-compiler works.
12806 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12807 # <limits.h> exists even on freestanding compilers.
12808 # On the NeXT, cc -E runs the code through the compiler's parser,
12809 # not just through cpp. "Syntax error" is here to catch this case.
12810 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12811 /* end confdefs.h. */
12813 # include <limits.h>
12815 # include <assert.h>
12819 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12822 # Broken: fails on valid input.
12825 rm -f conftest.err conftest.i conftest.
$ac_ext
12827 # OK, works on sane cases. Now check whether nonexistent headers
12828 # can be detected and how.
12829 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12830 /* end confdefs.h. */
12831 #include <ac_nonexistent.h>
12833 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12834 # Broken: success on invalid input.
12837 # Passes both tests.
12841 rm -f conftest.err conftest.i conftest.
$ac_ext
12844 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12845 rm -f conftest.i conftest.err conftest.
$ac_ext
12846 if $ac_preproc_ok; then :
12849 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12850 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12851 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
12852 See \`config.log' for more details" "$LINENO" 5; }
12856 ac_cpp
='$CPP $CPPFLAGS'
12857 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12858 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12859 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12862 _lt_caught_CXX_error
=yes
12866 ac_cpp
='$CXXCPP $CPPFLAGS'
12867 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12868 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12869 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12871 archive_cmds_need_lc_CXX
=no
12872 allow_undefined_flag_CXX
=
12873 always_export_symbols_CXX
=no
12874 archive_expsym_cmds_CXX
=
12875 compiler_needs_object_CXX
=no
12876 export_dynamic_flag_spec_CXX
=
12877 hardcode_direct_CXX
=no
12878 hardcode_direct_absolute_CXX
=no
12879 hardcode_libdir_flag_spec_CXX
=
12880 hardcode_libdir_separator_CXX
=
12881 hardcode_minus_L_CXX
=no
12882 hardcode_shlibpath_var_CXX
=unsupported
12883 hardcode_automatic_CXX
=no
12884 inherit_rpath_CXX
=no
12886 module_expsym_cmds_CXX
=
12887 link_all_deplibs_CXX
=unknown
12888 old_archive_cmds_CXX
=$old_archive_cmds
12889 reload_flag_CXX
=$reload_flag
12890 reload_cmds_CXX
=$reload_cmds
12891 no_undefined_flag_CXX
=
12892 whole_archive_flag_spec_CXX
=
12893 enable_shared_with_static_runtimes_CXX
=no
12895 # Source file extension for C++ test sources.
12898 # Object file extension for compiled C++ test sources.
12902 # No sense in running all these tests if we already determined that
12903 # the CXX compiler isn't working. Some variables (like enable_shared)
12904 # are currently assumed to apply to all compilers on this platform,
12905 # and will be corrupted by setting them based on a non-working compiler.
12906 if test "$_lt_caught_CXX_error" != yes; then
12907 # Code to be used in simple compile tests
12908 lt_simple_compile_test_code
="int some_variable = 0;"
12910 # Code to be used in simple link tests
12911 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
12913 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12920 # If no C compiler was specified, use CC.
12923 # If no C compiler flags were specified, use CFLAGS.
12924 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
12926 # Allow CC to be a program name with arguments.
12930 # save warnings/boilerplate of simple test code
12931 ac_outfile
=conftest.
$ac_objext
12932 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
12933 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12934 _lt_compiler_boilerplate
=`cat conftest.err`
12937 ac_outfile
=conftest.
$ac_objext
12938 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
12939 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12940 _lt_linker_boilerplate
=`cat conftest.err`
12944 # Allow CC to be a program name with arguments.
12946 lt_save_CFLAGS
=$CFLAGS
12950 lt_save_with_gnu_ld
=$with_gnu_ld
12951 lt_save_path_LD
=$lt_cv_path_LD
12952 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12953 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
12955 $as_unset lt_cv_prog_gnu_ld
12957 if test -n "${lt_cv_path_LDCXX+set}"; then
12958 lt_cv_path_LD
=$lt_cv_path_LDCXX
12960 $as_unset lt_cv_path_LD
12962 test -z "${LDCXX+set}" || LD
=$LDCXX
12967 for cc_temp
in $compiler""; do
12969 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
12970 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
12975 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12978 if test -n "$compiler"; then
12979 # We don't want -fno-exception when compiling C++ code, so set the
12980 # no_builtin_flag separately
12981 if test "$GXX" = yes; then
12982 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
12984 lt_prog_compiler_no_builtin_flag_CXX
=
12987 if test "$GXX" = yes; then
12988 # Set up default GNU C++ configuration
12992 # Check whether --with-gnu-ld was given.
12993 if test "${with_gnu_ld+set}" = set; then :
12994 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
13000 if test "$GCC" = yes; then
13001 # Check if gcc -print-prog-name=ld gives a path.
13002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
13003 $as_echo_n "checking for ld used by $CC... " >&6; }
13006 # gcc leaves a trailing carriage return which upsets mingw
13007 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13009 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
13012 # Accept absolute paths.
13014 re_direlt
='/[^/][^/]*/\.\./'
13015 # Canonicalize the pathname of ld
13016 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
13017 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
13018 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
13020 test -z "$LD" && LD
="$ac_prog"
13023 # If it fails, then pretend we aren't using GCC.
13027 # If it is relative, then search for the first ld in PATH.
13028 with_gnu_ld
=unknown
13031 elif test "$with_gnu_ld" = yes; then
13032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
13033 $as_echo_n "checking for GNU ld... " >&6; }
13035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
13036 $as_echo_n "checking for non-GNU ld... " >&6; }
13038 if ${lt_cv_path_LD+:} false
; then :
13039 $as_echo_n "(cached) " >&6
13041 if test -z "$LD"; then
13042 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
13043 for ac_dir
in $PATH; do
13045 test -z "$ac_dir" && ac_dir
=.
13046 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
13047 lt_cv_path_LD
="$ac_dir/$ac_prog"
13048 # Check to see if the program is GNU ld. I'd rather use --version,
13049 # but apparently some variants of GNU ld only accept -v.
13050 # Break only if it was the GNU/non-GNU ld that we prefer.
13051 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
13052 *GNU
* |
*'with BFD'*)
13053 test "$with_gnu_ld" != no
&& break
13056 test "$with_gnu_ld" != yes && break
13063 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
13067 LD
="$lt_cv_path_LD"
13068 if test -n "$LD"; then
13069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
13070 $as_echo "$LD" >&6; }
13072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13073 $as_echo "no" >&6; }
13075 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
13076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13077 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13078 if ${lt_cv_prog_gnu_ld+:} false
; then :
13079 $as_echo_n "(cached) " >&6
13081 # I'd rather use --version here, but apparently some GNU lds only accept -v.
13082 case `$LD -v 2>&1 </dev/null` in
13083 *GNU
* |
*'with BFD'*)
13084 lt_cv_prog_gnu_ld
=yes
13087 lt_cv_prog_gnu_ld
=no
13091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
13092 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
13093 with_gnu_ld
=$lt_cv_prog_gnu_ld
13101 # Check if GNU C++ uses GNU ld as the underlying linker, since the
13102 # archiving commands below assume that GNU ld is being used.
13103 if test "$with_gnu_ld" = yes; then
13104 archive_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13105 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'
13107 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13108 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13110 # If archive_cmds runs LD, not CC, wlarc should be empty
13111 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
13112 # investigate it a little bit more. (MM)
13115 # ancient GNU ld didn't support --whole-archive et. al.
13116 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
13117 $GREP 'no-whole-archive' > /dev
/null
; then
13118 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13120 whole_archive_flag_spec_CXX
=
13126 # A generic and very simple default shared library creation
13127 # command for GNU C++ for the case where it uses the native
13128 # linker, instead of GNU ld. If possible, this setting should
13129 # overridden to take advantage of the native linker features on
13130 # the platform it is being used on.
13131 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13134 # Commands to make compiler produce verbose output that lists
13135 # what "hidden" libraries, object files and flags are used when
13136 # linking a shared library.
13137 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13145 # PORTME: fill in a description of your system's C++ link characteristics
13146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13147 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13151 # FIXME: insert proper C++ library support
13155 if test "$host_cpu" = ia64
; then
13156 # On IA64, the linker does run time linking by default, so we don't
13157 # have to do anything special.
13158 aix_use_runtimelinking
=no
13159 exp_sym_flag
='-Bexport'
13162 aix_use_runtimelinking
=no
13164 # Test if we are trying to use run time linking or normal
13165 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13166 # need to do runtime linking.
13167 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
13168 for ld_flag
in $LDFLAGS; do
13171 aix_use_runtimelinking
=yes
13179 exp_sym_flag
='-bexport'
13180 no_entry_flag
='-bnoentry'
13183 # When large executables or shared objects are built, AIX ld can
13184 # have problems creating the table of contents. If linking a library
13185 # or program results in "error TOC overflow" add -mminimal-toc to
13186 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13187 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13189 archive_cmds_CXX
=''
13190 hardcode_direct_CXX
=yes
13191 hardcode_direct_absolute_CXX
=yes
13192 hardcode_libdir_separator_CXX
=':'
13193 link_all_deplibs_CXX
=yes
13194 file_list_spec_CXX
='${wl}-f,'
13196 if test "$GXX" = yes; then
13197 case $host_os in aix4.
[012]|aix4.
[012].
*)
13198 # We only want to do this on AIX 4.2 and lower, the check
13199 # below for broken collect2 doesn't work under 4.3+
13200 collect2name
=`${CC} -print-prog-name=collect2`
13201 if test -f "$collect2name" &&
13202 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
13204 # We have reworked collect2
13207 # We have old collect2
13208 hardcode_direct_CXX
=unsupported
13209 # It fails to find uninstalled libraries when the uninstalled
13210 # path is not listed in the libpath. Setting hardcode_minus_L
13211 # to unsupported forces relinking
13212 hardcode_minus_L_CXX
=yes
13213 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13214 hardcode_libdir_separator_CXX
=
13217 shared_flag
='-shared'
13218 if test "$aix_use_runtimelinking" = yes; then
13219 shared_flag
="$shared_flag "'${wl}-G'
13223 if test "$host_cpu" = ia64
; then
13224 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13225 # chokes on -Wl,-G. The following line is correct:
13228 if test "$aix_use_runtimelinking" = yes; then
13229 shared_flag
='${wl}-G'
13231 shared_flag
='${wl}-bM:SRE'
13236 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
13237 # It seems that -bexpall does not export symbols beginning with
13238 # underscore (_), so it is better to generate a list of symbols to
13240 always_export_symbols_CXX
=yes
13241 if test "$aix_use_runtimelinking" = yes; then
13242 # Warning - without using the other runtime loading flags (-brtl),
13243 # -berok will link without error, but may produce a broken library.
13244 allow_undefined_flag_CXX
='-berok'
13245 # Determine the default libpath from the value encoded in an empty
13247 if test "${lt_cv_aix_libpath+set}" = set; then
13248 aix_libpath
=$lt_cv_aix_libpath
13250 if ${lt_cv_aix_libpath__CXX+:} false
; then :
13251 $as_echo_n "(cached) " >&6
13253 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13254 /* end confdefs.h. */
13264 if ac_fn_cxx_try_link
"$LINENO"; then :
13266 lt_aix_libpath_sed
='
13267 /Import File Strings/,/^$/ {
13269 s/^0 *\([^ ]*\) *$/\1/
13273 lt_cv_aix_libpath__CXX
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13274 # Check for a 64-bit object if we didn't find anything.
13275 if test -z "$lt_cv_aix_libpath__CXX"; then
13276 lt_cv_aix_libpath__CXX
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13279 rm -f core conftest.err conftest.
$ac_objext \
13280 conftest
$ac_exeext conftest.
$ac_ext
13281 if test -z "$lt_cv_aix_libpath__CXX"; then
13282 lt_cv_aix_libpath__CXX
="/usr/lib:/lib"
13287 aix_libpath
=$lt_cv_aix_libpath__CXX
13290 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
13292 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"
13294 if test "$host_cpu" = ia64
; then
13295 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
13296 allow_undefined_flag_CXX
="-z nodefs"
13297 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"
13299 # Determine the default libpath from the value encoded in an
13300 # empty executable.
13301 if test "${lt_cv_aix_libpath+set}" = set; then
13302 aix_libpath
=$lt_cv_aix_libpath
13304 if ${lt_cv_aix_libpath__CXX+:} false
; then :
13305 $as_echo_n "(cached) " >&6
13307 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13308 /* end confdefs.h. */
13318 if ac_fn_cxx_try_link
"$LINENO"; then :
13320 lt_aix_libpath_sed
='
13321 /Import File Strings/,/^$/ {
13323 s/^0 *\([^ ]*\) *$/\1/
13327 lt_cv_aix_libpath__CXX
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13328 # Check for a 64-bit object if we didn't find anything.
13329 if test -z "$lt_cv_aix_libpath__CXX"; then
13330 lt_cv_aix_libpath__CXX
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13333 rm -f core conftest.err conftest.
$ac_objext \
13334 conftest
$ac_exeext conftest.
$ac_ext
13335 if test -z "$lt_cv_aix_libpath__CXX"; then
13336 lt_cv_aix_libpath__CXX
="/usr/lib:/lib"
13341 aix_libpath
=$lt_cv_aix_libpath__CXX
13344 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
13345 # Warning - without using the other run time loading flags,
13346 # -berok will link without error, but may produce a broken library.
13347 no_undefined_flag_CXX
=' ${wl}-bernotok'
13348 allow_undefined_flag_CXX
=' ${wl}-berok'
13349 if test "$with_gnu_ld" = yes; then
13350 # We only use this code for GNU lds that support --whole-archive.
13351 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13353 # Exported symbols can be pulled into shared objects from archives
13354 whole_archive_flag_spec_CXX
='$convenience'
13356 archive_cmds_need_lc_CXX
=yes
13357 # This is similar to how AIX traditionally builds its shared
13359 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'
13365 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
13366 allow_undefined_flag_CXX
=unsupported
13367 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13368 # support --undefined. This deserves some investigation. FIXME
13369 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13376 case $cc_basename in
13378 # FIXME: insert proper C++ library support
13384 cygwin
* | mingw
* | pw32
* | cegcc
*)
13385 case $GXX,$cc_basename in
13388 # hardcode_libdir_flag_spec is actually meaningless, as there is
13389 # no search path for DLLs.
13390 hardcode_libdir_flag_spec_CXX
=' '
13391 allow_undefined_flag_CXX
=unsupported
13392 always_export_symbols_CXX
=yes
13393 file_list_spec_CXX
='@'
13394 # Tell ltmain to make .lib files, not .a files.
13396 # Tell ltmain to make .dll files, not .so files.
13398 # FIXME: Setting linknames here is a bad hack.
13399 archive_cmds_CXX
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
13400 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13401 $SED -n -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' -e '1\\\
!p
' < $export_symbols > $output_objdir/$soname.exp;
13403 $SED -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' < $export_symbols > $output_objdir/$soname.exp;
13405 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
13407 # The linker will not automatically build a static lib if we build a DLL.
13408 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
13409 enable_shared_with_static_runtimes_CXX
=yes
13411 old_postinstall_cmds_CXX
='chmod 644 $oldlib'
13412 postlink_cmds_CXX
='lt_outputfile="@OUTPUT@"~
13413 lt_tool_outputfile="@TOOL_OUTPUT@"~
13414 case $lt_outputfile in
13417 lt_outputfile="$lt_outputfile.exe"
13418 lt_tool_outputfile="$lt_tool_outputfile.exe"
13421 func_to_tool_file "$lt_outputfile"~
13422 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
13423 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
13424 $RM "$lt_outputfile.manifest";
13429 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13430 # as there is no search path for DLLs.
13431 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13432 export_dynamic_flag_spec_CXX
='${wl}--export-all-symbols'
13433 allow_undefined_flag_CXX
=unsupported
13434 always_export_symbols_CXX
=no
13435 enable_shared_with_static_runtimes_CXX
=yes
13437 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
13438 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'
13439 # If the export-symbols file already is a .def file (1st line
13440 # is EXPORTS), use it as is; otherwise, prepend...
13441 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13442 cp $export_symbols $output_objdir/$soname.def;
13444 echo EXPORTS > $output_objdir/$soname.def;
13445 cat $export_symbols >> $output_objdir/$soname.def;
13447 $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'
13454 darwin
* | rhapsody
*)
13457 archive_cmds_need_lc_CXX
=no
13458 hardcode_direct_CXX
=no
13459 hardcode_automatic_CXX
=yes
13460 hardcode_shlibpath_var_CXX
=unsupported
13461 if test "$lt_cv_ld_force_load" = "yes"; then
13462 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\"`'
13465 whole_archive_flag_spec_CXX
=''
13467 link_all_deplibs_CXX
=yes
13468 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
13469 case $cc_basename in
13470 ifort
*) _lt_dar_can_shared
=yes ;;
13471 *) _lt_dar_can_shared
=$GCC ;;
13473 if test "$_lt_dar_can_shared" = "yes"; then
13474 output_verbose_link_cmd
=func_echo_all
13475 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}"
13476 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13477 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}"
13478 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}"
13479 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13480 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}"
13481 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}"
13491 case $cc_basename in
13493 # FIXME: insert proper C++ library support
13497 # Green Hills C++ Compiler
13498 # FIXME: insert proper C++ library support
13502 # FIXME: insert proper C++ library support
13509 # C++ shared libraries reported to be fairly broken before
13515 archive_cmds_need_lc_CXX
=no
13518 freebsd
* | dragonfly
*)
13519 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13528 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13529 link_all_deplibs_CXX
=yes
13533 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13534 hardcode_libdir_separator_CXX
=:
13535 export_dynamic_flag_spec_CXX
='${wl}-E'
13536 hardcode_direct_CXX
=yes
13537 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13538 # but as the default
13539 # location of the library.
13541 case $cc_basename in
13543 # FIXME: insert proper C++ library support
13547 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'
13548 # Commands to make compiler produce verbose output that lists
13549 # what "hidden" libraries, object files and flags are used when
13550 # linking a shared library.
13552 # There doesn't appear to be a way to prevent this compiler from
13553 # explicitly linking system object files so we need to strip them
13554 # from the output so that they don't get included in the library
13556 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"'
13559 if test "$GXX" = yes; then
13560 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'
13562 # FIXME: insert proper C++ library support
13570 if test $with_gnu_ld = no
; then
13571 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13572 hardcode_libdir_separator_CXX
=:
13578 export_dynamic_flag_spec_CXX
='${wl}-E'
13584 hardcode_direct_CXX
=no
13585 hardcode_shlibpath_var_CXX
=no
13588 hardcode_direct_CXX
=yes
13589 hardcode_direct_absolute_CXX
=yes
13590 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13591 # but as the default
13592 # location of the library.
13596 case $cc_basename in
13598 # FIXME: insert proper C++ library support
13604 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13607 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13610 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13613 # Commands to make compiler produce verbose output that lists
13614 # what "hidden" libraries, object files and flags are used when
13615 # linking a shared library.
13617 # There doesn't appear to be a way to prevent this compiler from
13618 # explicitly linking system object files so we need to strip them
13619 # from the output so that they don't get included in the library
13621 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"'
13624 if test "$GXX" = yes; then
13625 if test $with_gnu_ld = no
; then
13628 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13631 archive_cmds_CXX
='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13634 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'
13639 # FIXME: insert proper C++ library support
13647 hardcode_direct_CXX
=no
13648 hardcode_shlibpath_var_CXX
=no
13649 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13650 export_dynamic_flag_spec_CXX
='${wl}-E'
13651 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13652 # Instead, shared libraries are loaded at an image base (0x10000000 by
13653 # default) and relocated if they conflict, which is a slow very memory
13654 # consuming and fragmenting process. To avoid this, we pick a random,
13655 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13656 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13657 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'
13658 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'
13661 case $cc_basename in
13664 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'
13666 # Archives containing C++ object files must be created using
13667 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13668 # necessary to make sure instantiated templates are included
13670 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
13673 if test "$GXX" = yes; then
13674 if test "$with_gnu_ld" = no
; then
13675 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'
13677 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'
13680 link_all_deplibs_CXX
=yes
13683 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13684 hardcode_libdir_separator_CXX
=:
13685 inherit_rpath_CXX
=yes
13688 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13689 case $cc_basename in
13691 # Kuck and Associates, Inc. (KAI) C++ Compiler
13693 # KCC will only create a shared library if the output file
13694 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13695 # to its proper name (with version) after linking.
13696 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'
13697 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'
13698 # Commands to make compiler produce verbose output that lists
13699 # what "hidden" libraries, object files and flags are used when
13700 # linking a shared library.
13702 # There doesn't appear to be a way to prevent this compiler from
13703 # explicitly linking system object files so we need to strip them
13704 # from the output so that they don't get included in the library
13706 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"'
13708 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13709 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13711 # Archives containing C++ object files must be created using
13712 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13713 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
13718 # version 8.0 and above of icpc choke on multiply defined symbols
13719 # if we add $predep_objects and $postdep_objects, however 7.1 and
13720 # earlier do not add the objects themselves.
13721 case `$CC -V 2>&1` in
13723 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13724 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'
13726 *) # Version 8.0 or newer
13729 ia64
*) tmp_idyn
=' -i_dynamic';;
13731 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13732 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'
13735 archive_cmds_need_lc_CXX
=no
13736 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13737 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13738 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13741 # Portland Group C++ compiler
13743 *pgCC\
[1-5].
* |
*pgcpp\
[1-5].
*)
13744 prelink_cmds_CXX
='tpldir=Template.dir~
13746 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13747 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
13748 old_archive_cmds_CXX
='tpldir=Template.dir~
13750 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13751 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
13753 archive_cmds_CXX
='tpldir=Template.dir~
13755 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13756 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13757 archive_expsym_cmds_CXX
='tpldir=Template.dir~
13759 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13760 $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'
13762 *) # Version 6 and above use weak symbols
13763 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13764 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'
13768 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
13769 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13770 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'
13774 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13775 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'
13777 runpath_var
=LD_RUN_PATH
13778 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13779 hardcode_libdir_separator_CXX
=:
13781 # Commands to make compiler produce verbose output that lists
13782 # what "hidden" libraries, object files and flags are used when
13783 # linking a shared library.
13785 # There doesn't appear to be a way to prevent this compiler from
13786 # explicitly linking system object files so we need to strip them
13787 # from the output so that they don't get included in the library
13789 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'
13791 xl
* | mpixl
* | bgxl
*)
13792 # IBM XL 8.0 on PPC, with GNU ld
13793 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13794 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13795 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13796 if test "x$supports_anon_versioning" = xyes
; then
13797 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
13798 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13799 echo "local: *; };" >> $output_objdir/$libname.ver~
13800 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13804 case `$CC -V 2>&1 | sed 5q` in
13807 no_undefined_flag_CXX
=' -zdefs'
13808 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13809 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'
13810 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13811 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'
13812 compiler_needs_object_CXX
=yes
13814 # Not sure whether something based on
13815 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13817 output_verbose_link_cmd
='func_echo_all'
13819 # Archives containing C++ object files must be created using
13820 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13821 # necessary to make sure instantiated templates are included
13823 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13831 # FIXME: insert proper C++ library support
13836 # FIXME: insert proper C++ library support
13841 case $cc_basename in
13843 # FIXME: insert proper C++ library support
13847 # FIXME: insert proper C++ library support
13854 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
13855 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13857 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13858 hardcode_direct_CXX
=yes
13859 hardcode_shlibpath_var_CXX
=no
13861 # Workaround some broken pre-1.5 toolchains
13862 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13870 # C++ shared libraries are fairly broken
13875 if test -f /usr
/libexec
/ld.so
; then
13876 hardcode_direct_CXX
=yes
13877 hardcode_shlibpath_var_CXX
=no
13878 hardcode_direct_absolute_CXX
=yes
13879 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13880 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13881 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13882 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13883 export_dynamic_flag_spec_CXX
='${wl}-E'
13884 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13886 output_verbose_link_cmd
=func_echo_all
13892 osf3
* | osf4
* | osf5
*)
13893 case $cc_basename in
13895 # Kuck and Associates, Inc. (KAI) C++ Compiler
13897 # KCC will only create a shared library if the output file
13898 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13899 # to its proper name (with version) after linking.
13900 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'
13902 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13903 hardcode_libdir_separator_CXX
=:
13905 # Archives containing C++ object files must be created using
13906 # the KAI C++ compiler.
13908 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
13909 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
13913 # Rational C++ 2.4.1
13914 # FIXME: insert proper C++ library support
13920 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13921 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'
13922 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13925 allow_undefined_flag_CXX
=' -expect_unresolved \*'
13926 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'
13927 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13928 echo "-hidden">> $lib.exp~
13929 $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~
13931 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13935 hardcode_libdir_separator_CXX
=:
13937 # Commands to make compiler produce verbose output that lists
13938 # what "hidden" libraries, object files and flags are used when
13939 # linking a shared library.
13941 # There doesn't appear to be a way to prevent this compiler from
13942 # explicitly linking system object files so we need to strip them
13943 # from the output so that they don't get included in the library
13945 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"'
13948 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13949 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13952 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'
13955 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'
13959 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13960 hardcode_libdir_separator_CXX
=:
13962 # Commands to make compiler produce verbose output that lists
13963 # what "hidden" libraries, object files and flags are used when
13964 # linking a shared library.
13965 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13968 # FIXME: insert proper C++ library support
13976 # FIXME: insert proper C++ library support
13981 case $cc_basename in
13984 # FIXME: insert proper C++ library support
13989 # FIXME: insert proper C++ library support
13993 # FIXME: insert proper C++ library support
14000 case $cc_basename in
14002 # Sun C++ 4.2, 5.x and Centerline C++
14003 archive_cmds_need_lc_CXX
=yes
14004 no_undefined_flag_CXX
=' -zdefs'
14005 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14006 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14007 $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'
14009 hardcode_libdir_flag_spec_CXX
='-R$libdir'
14010 hardcode_shlibpath_var_CXX
=no
14012 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14014 # The compiler driver will combine and reorder linker options,
14015 # but understands `-z linker_flag'.
14016 # Supported since Solaris 2.6 (maybe 2.5.1?)
14017 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
14020 link_all_deplibs_CXX
=yes
14022 output_verbose_link_cmd
='func_echo_all'
14024 # Archives containing C++ object files must be created using
14025 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14026 # necessary to make sure instantiated templates are included
14028 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
14031 # Green Hills C++ Compiler
14032 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14034 # The C++ compiler must be used to create the archive.
14035 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
14038 # GNU C++ compiler with Solaris linker
14039 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
14040 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
14041 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
14042 archive_cmds_CXX
='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14043 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14044 $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14046 # Commands to make compiler produce verbose output that lists
14047 # what "hidden" libraries, object files and flags are used when
14048 # linking a shared library.
14049 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14051 # g++ 2.7 appears to require `-G' NOT `-shared' on this
14053 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14054 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14055 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14057 # Commands to make compiler produce verbose output that lists
14058 # what "hidden" libraries, object files and flags are used when
14059 # linking a shared library.
14060 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14063 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
14065 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14067 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14075 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
14076 no_undefined_flag_CXX
='${wl}-z,text'
14077 archive_cmds_need_lc_CXX
=no
14078 hardcode_shlibpath_var_CXX
=no
14079 runpath_var
='LD_RUN_PATH'
14081 case $cc_basename in
14083 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14084 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14087 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14088 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14093 sysv5
* | sco3.2v5
* | sco5v6
*)
14094 # Note: We can NOT use -z defs as we might desire, because we do not
14095 # link with -lc, and that would cause any symbols used from libc to
14096 # always be unresolved, which means just about no library would
14097 # ever link correctly. If we're not using GNU ld we use -z text
14098 # though, which does catch some bad symbols but isn't as heavy-handed
14100 no_undefined_flag_CXX
='${wl}-z,text'
14101 allow_undefined_flag_CXX
='${wl}-z,nodefs'
14102 archive_cmds_need_lc_CXX
=no
14103 hardcode_shlibpath_var_CXX
=no
14104 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
14105 hardcode_libdir_separator_CXX
=':'
14106 link_all_deplibs_CXX
=yes
14107 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
14108 runpath_var
='LD_RUN_PATH'
14110 case $cc_basename in
14112 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14113 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14114 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
14115 '"$old_archive_cmds_CXX"
14116 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
14117 '"$reload_cmds_CXX"
14120 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14121 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14127 case $cc_basename in
14129 # NonStop-UX NCC 3.20
14130 # FIXME: insert proper C++ library support
14134 # FIXME: insert proper C++ library support
14141 # FIXME: insert proper C++ library support
14146 # FIXME: insert proper C++ library support
14151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14152 $as_echo "$ld_shlibs_CXX" >&6; }
14153 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14159 ## There is no encapsulation within the following macros, do not change
14160 ## the running order or otherwise move them around unless you know exactly
14161 ## what you are doing...
14162 # Dependencies to place before and after the object being linked:
14163 predep_objects_CXX
=
14164 postdep_objects_CXX
=
14167 compiler_lib_search_path_CXX
=
14169 cat > conftest.
$ac_ext <<_LT_EOF
14173 Foo (void) { a = 0; }
14180 _lt_libdeps_save_CFLAGS
=$CFLAGS
14181 case "$CC $CFLAGS " in #(
14182 *\
-flto*\
*) CFLAGS
="$CFLAGS -fno-lto" ;;
14183 *\
-fwhopr*\
*) CFLAGS
="$CFLAGS -fno-whopr" ;;
14184 *\
-fuse-linker-plugin*\
*) CFLAGS
="$CFLAGS -fno-use-linker-plugin" ;;
14187 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14188 (eval $ac_compile) 2>&5
14190 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14191 test $ac_status = 0; }; then
14192 # Parse the compiler output and extract the necessary
14193 # objects, libraries and library flags.
14195 # Sentinel used to keep track of whether or not we are before
14196 # the conftest object file.
14197 pre_test_object_deps_done
=no
14199 for p
in `eval "$output_verbose_link_cmd"`; do
14200 case ${prev}${p} in
14203 # Some compilers place space between "-{L,R}" and the path.
14204 # Remove the space.
14205 if test $p = "-L" ||
14206 test $p = "-R"; then
14211 # Expand the sysroot to ease extracting the directories later.
14212 if test -z "$prev"; then
14214 -L*) func_stripname_cnf
'-L' '' "$p"; prev
=-L; p
=$func_stripname_result ;;
14215 -R*) func_stripname_cnf
'-R' '' "$p"; prev
=-R; p
=$func_stripname_result ;;
14216 -l*) func_stripname_cnf
'-l' '' "$p"; prev
=-l; p
=$func_stripname_result ;;
14220 =*) func_stripname_cnf
'=' '' "$p"; p
=$lt_sysroot$func_stripname_result ;;
14222 if test "$pre_test_object_deps_done" = no
; then
14225 # Internal compiler library paths should come after those
14226 # provided the user. The postdeps already come after the
14227 # user supplied libs so there is no need to process them.
14228 if test -z "$compiler_lib_search_path_CXX"; then
14229 compiler_lib_search_path_CXX
="${prev}${p}"
14231 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
14234 # The "-l" case would never come before the object being
14235 # linked, so don't bother handling this case.
14238 if test -z "$postdeps_CXX"; then
14239 postdeps_CXX
="${prev}${p}"
14241 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
14247 *.lto.
$objext) ;; # Ignore GCC LTO objects
14249 # This assumes that the test object file only shows up
14250 # once in the compiler output.
14251 if test "$p" = "conftest.$objext"; then
14252 pre_test_object_deps_done
=yes
14256 if test "$pre_test_object_deps_done" = no
; then
14257 if test -z "$predep_objects_CXX"; then
14258 predep_objects_CXX
="$p"
14260 predep_objects_CXX
="$predep_objects_CXX $p"
14263 if test -z "$postdep_objects_CXX"; then
14264 postdep_objects_CXX
="$p"
14266 postdep_objects_CXX
="$postdep_objects_CXX $p"
14271 *) ;; # Ignore the rest.
14279 echo "libtool.m4: error: problem compiling CXX test program"
14282 $RM -f confest.
$objext
14283 CFLAGS
=$_lt_libdeps_save_CFLAGS
14285 # PORTME: override above test on systems where it is broken
14288 # Interix 3.5 installs completely hosed .la files for C++, so rather than
14289 # hack all around it, let's just trust "g++" to DTRT.
14290 predep_objects_CXX
=
14291 postdep_objects_CXX
=
14296 case `$CC -V 2>&1 | sed 5q` in
14300 # The more standards-conforming stlport4 library is
14301 # incompatible with the Cstd library. Avoid specifying
14302 # it if it's in CXXFLAGS. Ignore libCrun as
14303 # -library=stlport4 depends on it.
14304 case " $CXX $CXXFLAGS " in
14305 *" -library=stlport4 "*)
14306 solaris_use_stlport4
=yes
14310 if test "$solaris_use_stlport4" != yes; then
14311 postdeps_CXX
='-library=Cstd -library=Crun'
14318 case $cc_basename in
14320 # The more standards-conforming stlport4 library is
14321 # incompatible with the Cstd library. Avoid specifying
14322 # it if it's in CXXFLAGS. Ignore libCrun as
14323 # -library=stlport4 depends on it.
14324 case " $CXX $CXXFLAGS " in
14325 *" -library=stlport4 "*)
14326 solaris_use_stlport4
=yes
14330 # Adding this requires a known-good setup of shared libraries for
14331 # Sun compiler versions before 5.6, else PIC objects from an old
14332 # archive will be linked into the output, leading to subtle bugs.
14333 if test "$solaris_use_stlport4" != yes; then
14334 postdeps_CXX
='-library=Cstd -library=Crun'
14342 case " $postdeps_CXX " in
14343 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
14345 compiler_lib_search_dirs_CXX
=
14346 if test -n "${compiler_lib_search_path_CXX}"; then
14347 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
14380 lt_prog_compiler_wl_CXX
=
14381 lt_prog_compiler_pic_CXX
=
14382 lt_prog_compiler_static_CXX
=
14385 # C++ specific cases for pic, static, wl, etc.
14386 if test "$GXX" = yes; then
14387 lt_prog_compiler_wl_CXX
='-Wl,'
14388 lt_prog_compiler_static_CXX
='-static'
14392 # All AIX code is PIC.
14393 if test "$host_cpu" = ia64
; then
14394 # AIX 5 now supports IA64 processor
14395 lt_prog_compiler_static_CXX
='-Bstatic'
14402 # see comment about AmigaOS4 .so support
14403 lt_prog_compiler_pic_CXX
='-fPIC'
14406 # FIXME: we need at least 68020 code to build shared libraries, but
14407 # adding the `-m68020' flag to GCC prevents building anything better,
14409 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
14414 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
14415 # PIC is the default for these OSes.
14417 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
14418 # This hack is so that the source file can tell whether it is being
14419 # built for inclusion in a dll (and should export symbols for example).
14420 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14421 # (--disable-auto-import) libraries
14422 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
14424 darwin
* | rhapsody
*)
14425 # PIC is the default on this platform
14426 # Common symbols not allowed in MH_DYLIB files
14427 lt_prog_compiler_pic_CXX
='-fno-common'
14430 # DJGPP does not support shared libraries at all
14431 lt_prog_compiler_pic_CXX
=
14434 # PIC is the default for Haiku.
14435 # The "-static" flag exists, but is broken.
14436 lt_prog_compiler_static_CXX
=
14439 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14440 # Instead, we relocate shared libraries at runtime.
14443 if test -d /usr
/nec
; then
14444 lt_prog_compiler_pic_CXX
=-Kconform_pic
14448 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14449 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
14450 # sets the default TLS model and affects inlining.
14455 lt_prog_compiler_pic_CXX
='-fPIC'
14460 # QNX uses GNU C++, but need to define -shared option too, otherwise
14461 # it will coredump.
14462 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14465 lt_prog_compiler_pic_CXX
='-fPIC'
14471 # All AIX code is PIC.
14472 if test "$host_cpu" = ia64
; then
14473 # AIX 5 now supports IA64 processor
14474 lt_prog_compiler_static_CXX
='-Bstatic'
14476 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
14480 case $cc_basename in
14482 # Green Hills C++ Compiler
14483 # _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"
14487 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
14488 # This hack is so that the source file can tell whether it is being
14489 # built for inclusion in a dll (and should export symbols for example).
14490 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
14493 case $cc_basename in
14495 lt_prog_compiler_pic_CXX
='-KPIC'
14498 # Green Hills C++ Compiler
14499 lt_prog_compiler_pic_CXX
='-pic'
14505 freebsd
* | dragonfly
*)
14506 # FreeBSD uses GNU C++
14508 hpux9
* | hpux10
* | hpux11
*)
14509 case $cc_basename in
14511 lt_prog_compiler_wl_CXX
='-Wl,'
14512 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14513 if test "$host_cpu" != ia64
; then
14514 lt_prog_compiler_pic_CXX
='+Z'
14518 lt_prog_compiler_wl_CXX
='-Wl,'
14519 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14525 lt_prog_compiler_pic_CXX
='+Z'
14534 # This is c89, which is MS Visual C++ (no shared libs)
14535 # Anyone wants to do a port?
14537 irix5
* | irix6
* | nonstopux
*)
14538 case $cc_basename in
14540 lt_prog_compiler_wl_CXX
='-Wl,'
14541 lt_prog_compiler_static_CXX
='-non_shared'
14542 # CC pic flag -KPIC is the default.
14548 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
14549 case $cc_basename in
14552 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14553 lt_prog_compiler_pic_CXX
='-fPIC'
14556 # old Intel C++ for x86_64 which still supported -KPIC.
14557 lt_prog_compiler_wl_CXX
='-Wl,'
14558 lt_prog_compiler_pic_CXX
='-KPIC'
14559 lt_prog_compiler_static_CXX
='-static'
14562 # Intel C++, used to be incompatible with GCC.
14563 # ICC 10 doesn't accept -KPIC any more.
14564 lt_prog_compiler_wl_CXX
='-Wl,'
14565 lt_prog_compiler_pic_CXX
='-fPIC'
14566 lt_prog_compiler_static_CXX
='-static'
14569 # Portland Group C++ compiler
14570 lt_prog_compiler_wl_CXX
='-Wl,'
14571 lt_prog_compiler_pic_CXX
='-fpic'
14572 lt_prog_compiler_static_CXX
='-Bstatic'
14576 # Make sure the PIC flag is empty. It appears that all Alpha
14577 # Linux and Compaq Tru64 Unix objects are PIC.
14578 lt_prog_compiler_pic_CXX
=
14579 lt_prog_compiler_static_CXX
='-non_shared'
14581 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
14582 # IBM XL 8.0, 9.0 on PPC and BlueGene
14583 lt_prog_compiler_wl_CXX
='-Wl,'
14584 lt_prog_compiler_pic_CXX
='-qpic'
14585 lt_prog_compiler_static_CXX
='-qstaticlink'
14588 case `$CC -V 2>&1 | sed 5q` in
14591 lt_prog_compiler_pic_CXX
='-KPIC'
14592 lt_prog_compiler_static_CXX
='-Bstatic'
14593 lt_prog_compiler_wl_CXX
='-Qoption ld '
14604 case $cc_basename in
14606 lt_prog_compiler_pic_CXX
='-W c,exportall'
14615 # QNX uses GNU C++, but need to define -shared option too, otherwise
14616 # it will coredump.
14617 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14619 osf3
* | osf4
* | osf5
*)
14620 case $cc_basename in
14622 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14625 # Rational C++ 2.4.1
14626 lt_prog_compiler_pic_CXX
='-pic'
14629 # Digital/Compaq C++
14630 lt_prog_compiler_wl_CXX
='-Wl,'
14631 # Make sure the PIC flag is empty. It appears that all Alpha
14632 # Linux and Compaq Tru64 Unix objects are PIC.
14633 lt_prog_compiler_pic_CXX
=
14634 lt_prog_compiler_static_CXX
='-non_shared'
14643 case $cc_basename in
14645 # Sun C++ 4.2, 5.x and Centerline C++
14646 lt_prog_compiler_pic_CXX
='-KPIC'
14647 lt_prog_compiler_static_CXX
='-Bstatic'
14648 lt_prog_compiler_wl_CXX
='-Qoption ld '
14651 # Green Hills C++ Compiler
14652 lt_prog_compiler_pic_CXX
='-PIC'
14659 case $cc_basename in
14662 lt_prog_compiler_pic_CXX
='-pic'
14663 lt_prog_compiler_static_CXX
='-Bstatic'
14667 lt_prog_compiler_pic_CXX
='-pic'
14673 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
14674 case $cc_basename in
14676 lt_prog_compiler_wl_CXX
='-Wl,'
14677 lt_prog_compiler_pic_CXX
='-KPIC'
14678 lt_prog_compiler_static_CXX
='-Bstatic'
14683 case $cc_basename in
14685 # NonStop-UX NCC 3.20
14686 lt_prog_compiler_pic_CXX
='-KPIC'
14695 lt_prog_compiler_can_build_shared_CXX
=no
14701 # For platforms which do not support PIC, -DPIC is meaningless:
14703 lt_prog_compiler_pic_CXX
=
14706 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
14710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
14711 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14712 if ${lt_cv_prog_compiler_pic_CXX+:} false
; then :
14713 $as_echo_n "(cached) " >&6
14715 lt_cv_prog_compiler_pic_CXX
=$lt_prog_compiler_pic_CXX
14717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
14718 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
14719 lt_prog_compiler_pic_CXX
=$lt_cv_prog_compiler_pic_CXX
14722 # Check to make sure the PIC flag actually works.
14724 if test -n "$lt_prog_compiler_pic_CXX"; then
14725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14726 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14727 if ${lt_cv_prog_compiler_pic_works_CXX+:} false
; then :
14728 $as_echo_n "(cached) " >&6
14730 lt_cv_prog_compiler_pic_works_CXX
=no
14731 ac_outfile
=conftest.
$ac_objext
14732 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14733 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
14734 # Insert the option either (1) after the last *FLAGS variable, or
14735 # (2) before a word containing "conftest.", or (3) at the end.
14736 # Note that $ac_compile itself does not contain backslashes and begins
14737 # with a dollar sign (not a hyphen), so the echo should work correctly.
14738 # The option is referenced via a variable to avoid confusing sed.
14739 lt_compile
=`echo "$ac_compile" | $SED \
14740 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14741 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14742 -e 's:$: $lt_compiler_flag:'`
14743 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14744 (eval "$lt_compile" 2>conftest.err
)
14746 cat conftest.err
>&5
14747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14748 if (exit $ac_status) && test -s "$ac_outfile"; then
14749 # The compiler can only warn and ignore the option if not recognized
14750 # So say no if there are warnings other than the usual output.
14751 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
14752 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14753 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
14754 lt_cv_prog_compiler_pic_works_CXX
=yes
14760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14761 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14763 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
14764 case $lt_prog_compiler_pic_CXX in
14766 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
14769 lt_prog_compiler_pic_CXX
=
14770 lt_prog_compiler_can_build_shared_CXX
=no
14780 # Check to make sure the static flag actually works.
14782 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
14783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14784 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14785 if ${lt_cv_prog_compiler_static_works_CXX+:} false
; then :
14786 $as_echo_n "(cached) " >&6
14788 lt_cv_prog_compiler_static_works_CXX
=no
14789 save_LDFLAGS
="$LDFLAGS"
14790 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14791 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
14792 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14793 # The linker can only warn and ignore the option if not recognized
14794 # So say no if there are warnings
14795 if test -s conftest.err
; then
14796 # Append any errors to the config.log.
14797 cat conftest.err
1>&5
14798 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
14799 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14800 if diff conftest.exp conftest.er2
>/dev
/null
; then
14801 lt_cv_prog_compiler_static_works_CXX
=yes
14804 lt_cv_prog_compiler_static_works_CXX
=yes
14808 LDFLAGS
="$save_LDFLAGS"
14811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14812 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14814 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
14817 lt_prog_compiler_static_CXX
=
14823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14824 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14825 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
14826 $as_echo_n "(cached) " >&6
14828 lt_cv_prog_compiler_c_o_CXX
=no
14829 $RM -r conftest
2>/dev
/null
14833 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14835 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14836 # Insert the option either (1) after the last *FLAGS variable, or
14837 # (2) before a word containing "conftest.", or (3) at the end.
14838 # Note that $ac_compile itself does not contain backslashes and begins
14839 # with a dollar sign (not a hyphen), so the echo should work correctly.
14840 lt_compile
=`echo "$ac_compile" | $SED \
14841 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14842 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14843 -e 's:$: $lt_compiler_flag:'`
14844 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14845 (eval "$lt_compile" 2>out
/conftest.err
)
14847 cat out
/conftest.err
>&5
14848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14849 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14851 # The compiler can only warn and ignore the option if not recognized
14852 # So say no if there are warnings
14853 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
14854 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14855 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14856 lt_cv_prog_compiler_c_o_CXX
=yes
14861 # SGI C++ compiler will create directory out/ii_files/ for
14862 # template instantiation
14863 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14864 $RM out
/* && rmdir out
14870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14871 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14876 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14877 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
14878 $as_echo_n "(cached) " >&6
14880 lt_cv_prog_compiler_c_o_CXX
=no
14881 $RM -r conftest
2>/dev
/null
14885 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14887 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14888 # Insert the option either (1) after the last *FLAGS variable, or
14889 # (2) before a word containing "conftest.", or (3) at the end.
14890 # Note that $ac_compile itself does not contain backslashes and begins
14891 # with a dollar sign (not a hyphen), so the echo should work correctly.
14892 lt_compile
=`echo "$ac_compile" | $SED \
14893 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14894 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14895 -e 's:$: $lt_compiler_flag:'`
14896 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14897 (eval "$lt_compile" 2>out
/conftest.err
)
14899 cat out
/conftest.err
>&5
14900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14901 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14903 # The compiler can only warn and ignore the option if not recognized
14904 # So say no if there are warnings
14905 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
14906 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14907 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14908 lt_cv_prog_compiler_c_o_CXX
=yes
14913 # SGI C++ compiler will create directory out/ii_files/ for
14914 # template instantiation
14915 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14916 $RM out
/* && rmdir out
14922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14923 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14928 hard_links
="nottested"
14929 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
14930 # do not overwrite the value of need_locks provided by the user
14931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14932 $as_echo_n "checking if we can lock with hard links... " >&6; }
14935 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14937 ln conftest.a conftest.b
2>&5 || hard_links
=no
14938 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14940 $as_echo "$hard_links" >&6; }
14941 if test "$hard_links" = no
; then
14942 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14943 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14953 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14955 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14956 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14959 # If we're using GNU nm, then we don't want the "-C" option.
14960 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14961 # Also, AIX nm treats weak defined symbols like other global defined
14962 # symbols, whereas GNU nm marks them as "W".
14963 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
14964 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'
14966 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'
14970 export_symbols_cmds_CXX
="$ltdll_cmds"
14972 cygwin
* | mingw
* | cegcc
*)
14973 case $cc_basename in
14975 exclude_expsyms_CXX
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
14978 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'
14979 exclude_expsyms_CXX
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
14984 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14989 $as_echo "$ld_shlibs_CXX" >&6; }
14990 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14992 with_gnu_ld_CXX
=$with_gnu_ld
15000 # Do we need to explicitly link libc?
15002 case "x$archive_cmds_need_lc_CXX" in
15004 # Assume -lc should be added
15005 archive_cmds_need_lc_CXX
=yes
15007 if test "$enable_shared" = yes && test "$GCC" = yes; then
15008 case $archive_cmds_CXX in
15010 # FIXME: we may have to deal with multi-command sequences.
15013 # Test whether the compiler implicitly links with -lc since on some
15014 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15015 # to ld, don't add -lc before -lgcc.
15016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
15017 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15018 if ${lt_cv_archive_cmds_need_lc_CXX+:} false
; then :
15019 $as_echo_n "(cached) " >&6
15022 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15024 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15025 (eval $ac_compile) 2>&5
15027 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15028 test $ac_status = 0; } 2>conftest.err
; then
15031 libobjs
=conftest.
$ac_objext
15033 wl
=$lt_prog_compiler_wl_CXX
15034 pic_flag
=$lt_prog_compiler_pic_CXX
15040 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
15041 allow_undefined_flag_CXX
=
15042 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
15043 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15045 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15046 test $ac_status = 0; }
15048 lt_cv_archive_cmds_need_lc_CXX
=no
15050 lt_cv_archive_cmds_need_lc_CXX
=yes
15052 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
15054 cat conftest.err
1>&5
15059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
15060 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
15061 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
15129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15130 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15132 library_names_spec
=
15133 libname_spec
='lib$name'
15137 postuninstall_cmds
=
15141 shlibpath_overrides_runpath
=unknown
15143 dynamic_linker
="$host_os ld.so"
15144 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15145 need_lib_prefix
=unknown
15146 hardcode_into_libs
=no
15148 # when you set need_version to no, make sure it does not cause -set_version
15149 # flags to be left without arguments
15150 need_version
=unknown
15154 version_type
=linux
# correct to gnu/linux during the next big refactor
15155 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
15156 shlibpath_var
=LIBPATH
15158 # AIX 3 has no versioning support, so we append a major version to the name.
15159 soname_spec
='${libname}${release}${shared_ext}$major'
15163 version_type
=linux
# correct to gnu/linux during the next big refactor
15166 hardcode_into_libs
=yes
15167 if test "$host_cpu" = ia64
; then
15168 # AIX 5 supports IA64
15169 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15170 shlibpath_var
=LD_LIBRARY_PATH
15172 # With GCC up to 2.95.x, collect2 would create an import file
15173 # for dependence libraries. The import file would start with
15174 # the line `#! .'. This would cause the generated library to
15175 # depend on `.', always an invalid library. This was fixed in
15176 # development snapshots of GCC prior to 3.0.
15178 aix4 | aix4.
[01] | aix4.
[01].
*)
15179 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15181 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
15184 can_build_shared
=no
15188 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15189 # soname into executable. Probably we can add versioning support to
15190 # collect2, so additional links can be useful in future.
15191 if test "$aix_use_runtimelinking" = yes; then
15192 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15193 # instead of lib<name>.a to let people know that these are not
15194 # typical AIX shared libraries.
15195 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15197 # We preserve .a as extension for shared libraries through AIX4.2
15198 # and later when we are not doing run time linking.
15199 library_names_spec
='${libname}${release}.a $libname.a'
15200 soname_spec
='${libname}${release}${shared_ext}$major'
15202 shlibpath_var
=LIBPATH
15209 # Since July 2007 AmigaOS4 officially supports .so libraries.
15210 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15211 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15214 library_names_spec
='$libname.ixlibrary $libname.a'
15215 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15216 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'
15222 library_names_spec
='${libname}${shared_ext}'
15223 dynamic_linker
="$host_os ld.so"
15224 shlibpath_var
=LIBRARY_PATH
15228 version_type
=linux
# correct to gnu/linux during the next big refactor
15230 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15231 soname_spec
='${libname}${release}${shared_ext}$major'
15232 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15233 shlibpath_var
=LD_LIBRARY_PATH
15234 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15235 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15236 # the default ld.so.conf also contains /usr/contrib/lib and
15237 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15238 # libtool to hard-code these into programs
15241 cygwin
* | mingw
* | pw32
* | cegcc
*)
15242 version_type
=windows
15247 case $GCC,$cc_basename in
15250 library_names_spec
='$libname.dll.a'
15251 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15252 postinstall_cmds
='base_file=`basename \${file}`~
15253 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15254 dldir=$destdir/`dirname \$dlpath`~
15255 test -d \$dldir || mkdir -p \$dldir~
15256 $install_prog $dir/$dlname \$dldir/$dlname~
15257 chmod a+x \$dldir/$dlname~
15258 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15259 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15261 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15262 dlpath=$dir/\$dldll~
15264 shlibpath_overrides_runpath
=yes
15268 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15269 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15273 # MinGW DLLs use traditional 'lib' prefix
15274 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15277 # pw32 DLLs use 'pw' prefix rather than 'lib'
15278 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15281 dynamic_linker
='Win32 ld.exe'
15286 libname_spec
='$name'
15287 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15288 library_names_spec
='${libname}.dll.lib'
15292 sys_lib_search_path_spec
=
15295 for lt_path
in $LIB
15298 # Let DOS variable expansion print the short 8.3 style file name.
15299 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
15300 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
15303 # Convert to MSYS style.
15304 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
15307 # Convert to unix form, then to dos form, then back to unix form
15308 # but this time dos style (no spaces!) so that the unix form looks
15309 # like /cygdrive/c/PROGRA~1:/cygdr...
15310 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
15311 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
15312 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15315 sys_lib_search_path_spec
="$LIB"
15316 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
15317 # It is most probably a Windows format PATH.
15318 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15320 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15322 # FIXME: find the short name or the path components, as spaces are
15323 # common. (e.g. "Program Files" -> "PROGRA~1")
15327 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15328 postinstall_cmds
='base_file=`basename \${file}`~
15329 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15330 dldir=$destdir/`dirname \$dlpath`~
15331 test -d \$dldir || mkdir -p \$dldir~
15332 $install_prog $dir/$dlname \$dldir/$dlname'
15333 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15334 dlpath=$dir/\$dldll~
15336 shlibpath_overrides_runpath
=yes
15337 dynamic_linker
='Win32 link.exe'
15341 # Assume MSVC wrapper
15342 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15343 dynamic_linker
='Win32 ld.exe'
15346 # FIXME: first we should search . and the directory the executable is in
15350 darwin
* | rhapsody
*)
15351 dynamic_linker
="$host_os dyld"
15352 version_type
=darwin
15355 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15356 soname_spec
='${libname}${release}${major}$shared_ext'
15357 shlibpath_overrides_runpath
=yes
15358 shlibpath_var
=DYLD_LIBRARY_PATH
15359 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15361 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15365 version_type
=linux
# correct to gnu/linux during the next big refactor
15368 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15369 soname_spec
='${libname}${release}${shared_ext}$major'
15370 shlibpath_var
=LD_LIBRARY_PATH
15373 freebsd
* | dragonfly
*)
15374 # DragonFly does not have aout. When/if they implement a new
15375 # versioning mechanism, adjust this.
15376 if test -x /usr
/bin
/objformat
; then
15377 objformat
=`/usr/bin/objformat`
15380 freebsd
[23].
*) objformat
=aout
;;
15381 *) objformat
=elf
;;
15384 version_type
=freebsd-
$objformat
15385 case $version_type in
15387 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15392 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15396 shlibpath_var
=LD_LIBRARY_PATH
15399 shlibpath_overrides_runpath
=yes
15401 freebsd3.
[01]* | freebsdelf3.
[01]*)
15402 shlibpath_overrides_runpath
=yes
15403 hardcode_into_libs
=yes
15405 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15406 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15407 shlibpath_overrides_runpath
=no
15408 hardcode_into_libs
=yes
15410 *) # from 4.6 on, and DragonFly
15411 shlibpath_overrides_runpath
=yes
15412 hardcode_into_libs
=yes
15418 version_type
=linux
# correct to gnu/linux during the next big refactor
15421 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15422 soname_spec
='${libname}${release}${shared_ext}$major'
15423 shlibpath_var
=LD_LIBRARY_PATH
15424 shlibpath_overrides_runpath
=no
15425 hardcode_into_libs
=yes
15429 version_type
=linux
# correct to gnu/linux during the next big refactor
15432 dynamic_linker
="$host_os runtime_loader"
15433 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15434 soname_spec
='${libname}${release}${shared_ext}$major'
15435 shlibpath_var
=LIBRARY_PATH
15436 shlibpath_overrides_runpath
=yes
15437 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
15438 hardcode_into_libs
=yes
15441 hpux9
* | hpux10
* | hpux11
*)
15442 # Give a soname corresponding to the major version so that dld.sl refuses to
15443 # link against other versions.
15450 hardcode_into_libs
=yes
15451 dynamic_linker
="$host_os dld.so"
15452 shlibpath_var
=LD_LIBRARY_PATH
15453 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15454 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15455 soname_spec
='${libname}${release}${shared_ext}$major'
15456 if test "X$HPUX_IA64_MODE" = X32
; then
15457 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15459 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15461 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15465 hardcode_into_libs
=yes
15466 dynamic_linker
="$host_os dld.sl"
15467 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15468 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15469 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15470 soname_spec
='${libname}${release}${shared_ext}$major'
15471 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15472 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15476 dynamic_linker
="$host_os dld.sl"
15477 shlibpath_var
=SHLIB_PATH
15478 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15479 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15480 soname_spec
='${libname}${release}${shared_ext}$major'
15483 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15484 postinstall_cmds
='chmod 555 $lib'
15485 # or fails outright, so override atomically:
15486 install_override_mode
=555
15490 version_type
=linux
# correct to gnu/linux during the next big refactor
15493 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15494 soname_spec
='${libname}${release}${shared_ext}$major'
15495 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15496 shlibpath_var
=LD_LIBRARY_PATH
15497 shlibpath_overrides_runpath
=no
15498 hardcode_into_libs
=yes
15501 irix5
* | irix6
* | nonstopux
*)
15503 nonstopux
*) version_type
=nonstopux
;;
15505 if test "$lt_cv_prog_gnu_ld" = yes; then
15506 version_type
=linux
# correct to gnu/linux during the next big refactor
15513 soname_spec
='${libname}${release}${shared_ext}$major'
15514 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15516 irix5
* | nonstopux
*)
15517 libsuff
= shlibsuff
=
15520 case $LD in # libtool.m4 will add one of these switches to LD
15521 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15522 libsuff
= shlibsuff
= libmagic
=32-bit;;
15523 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15524 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15525 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15526 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15527 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15531 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15532 shlibpath_overrides_runpath
=no
15533 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15534 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15535 hardcode_into_libs
=yes
15538 # No shared lib support for Linux oldld, aout, or coff.
15539 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15543 # This must be glibc/ELF.
15544 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
15545 version_type
=linux
# correct to gnu/linux during the next big refactor
15548 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15549 soname_spec
='${libname}${release}${shared_ext}$major'
15550 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15551 shlibpath_var
=LD_LIBRARY_PATH
15552 shlibpath_overrides_runpath
=no
15554 # Some binutils ld are patched to set DT_RUNPATH
15555 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
15556 $as_echo_n "(cached) " >&6
15558 lt_cv_shlibpath_overrides_runpath
=no
15559 save_LDFLAGS
=$LDFLAGS
15560 save_libdir
=$libdir
15561 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15562 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15563 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15564 /* end confdefs.h. */
15574 if ac_fn_cxx_try_link
"$LINENO"; then :
15575 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
15576 lt_cv_shlibpath_overrides_runpath
=yes
15579 rm -f core conftest.err conftest.
$ac_objext \
15580 conftest
$ac_exeext conftest.
$ac_ext
15581 LDFLAGS
=$save_LDFLAGS
15582 libdir
=$save_libdir
15586 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
15588 # This implies no fast_install, which is unacceptable.
15589 # Some rework will be needed to allow for fast_install
15590 # before this can be enabled.
15591 hardcode_into_libs
=yes
15593 # Add ABI-specific directories to the system library path.
15594 sys_lib_dlsearch_path_spec
="/lib64 /usr/lib64 /lib /usr/lib"
15596 # Append ld.so.conf contents to the search path
15597 if test -f /etc
/ld.so.conf
; then
15598 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' ' '`
15599 sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec $lt_ld_extra"
15603 # We used to test for /lib/ld.so.1 and disable shared libraries on
15604 # powerpc, because MkLinux only supported shared libraries with the
15605 # GNU dynamic linker. Since this was broken with cross compilers,
15606 # most powerpc-linux boxes support dynamic linking these days and
15607 # people can always --disable-shared, the test was removed, and we
15608 # assume the GNU/Linux dynamic linker is in use.
15609 dynamic_linker
='GNU/Linux ld.so'
15616 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
15617 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15618 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15619 dynamic_linker
='NetBSD (a.out) ld.so'
15621 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15622 soname_spec
='${libname}${release}${shared_ext}$major'
15623 dynamic_linker
='NetBSD ld.elf_so'
15625 shlibpath_var
=LD_LIBRARY_PATH
15626 shlibpath_overrides_runpath
=yes
15627 hardcode_into_libs
=yes
15631 version_type
=linux
# correct to gnu/linux during the next big refactor
15632 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15633 shlibpath_var
=LD_LIBRARY_PATH
15634 shlibpath_overrides_runpath
=yes
15641 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15642 soname_spec
='${libname}${release}${shared_ext}$major'
15643 shlibpath_var
=LD_LIBRARY_PATH
15644 shlibpath_overrides_runpath
=no
15645 hardcode_into_libs
=yes
15646 dynamic_linker
='ldqnx.so'
15651 sys_lib_dlsearch_path_spec
="/usr/lib"
15653 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15655 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15656 *) need_version
=no
;;
15658 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15659 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15660 shlibpath_var
=LD_LIBRARY_PATH
15661 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15663 openbsd2.
[89] | openbsd2.
[89].
*)
15664 shlibpath_overrides_runpath
=no
15667 shlibpath_overrides_runpath
=yes
15671 shlibpath_overrides_runpath
=yes
15676 libname_spec
='$name'
15679 library_names_spec
='$libname${shared_ext} $libname.a'
15680 dynamic_linker
='OS/2 ld.exe'
15681 shlibpath_var
=LIBPATH
15684 osf3
* | osf4
* | osf5
*)
15688 soname_spec
='${libname}${release}${shared_ext}$major'
15689 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15690 shlibpath_var
=LD_LIBRARY_PATH
15691 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15692 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15700 version_type
=linux
# correct to gnu/linux during the next big refactor
15703 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15704 soname_spec
='${libname}${release}${shared_ext}$major'
15705 shlibpath_var
=LD_LIBRARY_PATH
15706 shlibpath_overrides_runpath
=yes
15707 hardcode_into_libs
=yes
15708 # ldd complains unless libraries are executable
15709 postinstall_cmds
='chmod +x $lib'
15714 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15715 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15716 shlibpath_var
=LD_LIBRARY_PATH
15717 shlibpath_overrides_runpath
=yes
15718 if test "$with_gnu_ld" = yes; then
15725 version_type
=linux
# correct to gnu/linux during the next big refactor
15726 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15727 soname_spec
='${libname}${release}${shared_ext}$major'
15728 shlibpath_var
=LD_LIBRARY_PATH
15729 case $host_vendor in
15731 shlibpath_overrides_runpath
=no
15733 runpath_var
=LD_RUN_PATH
15741 shlibpath_overrides_runpath
=no
15742 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15748 if test -d /usr
/nec
;then
15749 version_type
=linux
# correct to gnu/linux during the next big refactor
15750 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15751 soname_spec
='$libname${shared_ext}.$major'
15752 shlibpath_var
=LD_LIBRARY_PATH
15756 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15757 version_type
=freebsd-elf
15760 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15761 soname_spec
='${libname}${release}${shared_ext}$major'
15762 shlibpath_var
=LD_LIBRARY_PATH
15763 shlibpath_overrides_runpath
=yes
15764 hardcode_into_libs
=yes
15765 if test "$with_gnu_ld" = yes; then
15766 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15768 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15771 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15775 sys_lib_dlsearch_path_spec
='/usr/lib'
15779 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15780 version_type
=linux
# correct to gnu/linux during the next big refactor
15783 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15784 shlibpath_var
=LD_LIBRARY_PATH
15785 shlibpath_overrides_runpath
=no
15786 hardcode_into_libs
=yes
15790 version_type
=linux
# correct to gnu/linux during the next big refactor
15791 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15792 soname_spec
='${libname}${release}${shared_ext}$major'
15793 shlibpath_var
=LD_LIBRARY_PATH
15800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15801 $as_echo "$dynamic_linker" >&6; }
15802 test "$dynamic_linker" = no
&& can_build_shared
=no
15804 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15805 if test "$GCC" = yes; then
15806 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15809 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15810 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
15812 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15813 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
15853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15854 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15855 hardcode_action_CXX
=
15856 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15857 test -n "$runpath_var_CXX" ||
15858 test "X$hardcode_automatic_CXX" = "Xyes" ; then
15860 # We can hardcode non-existent directories.
15861 if test "$hardcode_direct_CXX" != no
&&
15862 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15863 # have to relink, otherwise we might link with an installed library
15864 # when we should be linking with a yet-to-be-installed one
15865 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15866 test "$hardcode_minus_L_CXX" != no
; then
15867 # Linking always hardcodes the temporary library directory.
15868 hardcode_action_CXX
=relink
15870 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15871 hardcode_action_CXX
=immediate
15874 # We cannot hardcode anything, or else we can only hardcode existing
15876 hardcode_action_CXX
=unsupported
15878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15879 $as_echo "$hardcode_action_CXX" >&6; }
15881 if test "$hardcode_action_CXX" = relink ||
15882 test "$inherit_rpath_CXX" = yes; then
15883 # Fast installation is not supported
15884 enable_fast_install
=no
15885 elif test "$shlibpath_overrides_runpath" = yes ||
15886 test "$enable_shared" = no
; then
15887 # Fast installation is not necessary
15888 enable_fast_install
=needless
15897 fi # test -n "$compiler"
15900 CFLAGS
=$lt_save_CFLAGS
15904 with_gnu_ld
=$lt_save_with_gnu_ld
15905 lt_cv_path_LDCXX
=$lt_cv_path_LD
15906 lt_cv_path_LD
=$lt_save_path_LD
15907 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
15908 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
15909 fi # test "$_lt_caught_CXX_error" != yes
15912 ac_cpp
='$CPP $CPPFLAGS'
15913 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15914 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15915 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15931 ac_config_commands
="$ac_config_commands libtool"
15936 # Only expand once:
15942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dbopen in -ldb" >&5
15943 $as_echo_n "checking for dbopen in -ldb... " >&6; }
15944 if ${ac_cv_lib_db_dbopen+:} false
; then :
15945 $as_echo_n "(cached) " >&6
15947 ac_check_lib_save_LIBS
=$LIBS
15949 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15950 /* end confdefs.h. */
15952 /* Override any GCC internal prototype to avoid an error.
15953 Use char because int might match the return type of a GCC
15954 builtin and then its argument prototype would still apply. */
15967 if ac_fn_c_try_link
"$LINENO"; then :
15968 ac_cv_lib_db_dbopen
=yes
15970 ac_cv_lib_db_dbopen
=no
15972 rm -f core conftest.err conftest.
$ac_objext \
15973 conftest
$ac_exeext conftest.
$ac_ext
15974 LIBS
=$ac_check_lib_save_LIBS
15976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_db_dbopen" >&5
15977 $as_echo "$ac_cv_lib_db_dbopen" >&6; }
15978 if test "x$ac_cv_lib_db_dbopen" = xyes
; then :
15979 LIBDB
=-ldb ; LIBS
="-ldb $LIBS"
15981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for db_open in -ldb" >&5
15982 $as_echo_n "checking for db_open in -ldb... " >&6; }
15983 if ${ac_cv_lib_db_db_open+:} false
; then :
15984 $as_echo_n "(cached) " >&6
15986 ac_check_lib_save_LIBS
=$LIBS
15988 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15989 /* end confdefs.h. */
15991 /* Override any GCC internal prototype to avoid an error.
15992 Use char because int might match the return type of a GCC
15993 builtin and then its argument prototype would still apply. */
16006 if ac_fn_c_try_link
"$LINENO"; then :
16007 ac_cv_lib_db_db_open
=yes
16009 ac_cv_lib_db_db_open
=no
16011 rm -f core conftest.err conftest.
$ac_objext \
16012 conftest
$ac_exeext conftest.
$ac_ext
16013 LIBS
=$ac_check_lib_save_LIBS
16015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_db_db_open" >&5
16016 $as_echo "$ac_cv_lib_db_db_open" >&6; }
16017 if test "x$ac_cv_lib_db_db_open" = xyes
; then :
16018 LIBDB
=-ldb ; LIBS
="-ldb $LIBS"
16020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for db_env_create in -ldb" >&5
16021 $as_echo_n "checking for db_env_create in -ldb... " >&6; }
16022 if ${ac_cv_lib_db_db_env_create+:} false
; then :
16023 $as_echo_n "(cached) " >&6
16025 ac_check_lib_save_LIBS
=$LIBS
16027 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16028 /* end confdefs.h. */
16030 /* Override any GCC internal prototype to avoid an error.
16031 Use char because int might match the return type of a GCC
16032 builtin and then its argument prototype would still apply. */
16036 char db_env_create ();
16040 return db_env_create ();
16045 if ac_fn_c_try_link
"$LINENO"; then :
16046 ac_cv_lib_db_db_env_create
=yes
16048 ac_cv_lib_db_db_env_create
=no
16050 rm -f core conftest.err conftest.
$ac_objext \
16051 conftest
$ac_exeext conftest.
$ac_ext
16052 LIBS
=$ac_check_lib_save_LIBS
16054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_db_db_env_create" >&5
16055 $as_echo "$ac_cv_lib_db_db_env_create" >&6; }
16056 if test "x$ac_cv_lib_db_db_env_create" = xyes
; then :
16057 LIBDB
=-ldb; LIBS
="-ldb $LIBS"
16067 ac_fn_c_check_func
"$LINENO" "dbopen" "ac_cv_func_dbopen"
16068 if test "x$ac_cv_func_dbopen" = xyes
; then :
16072 ac_fn_c_check_func
"$LINENO" "db_open" "ac_cv_func_db_open"
16073 if test "x$ac_cv_func_db_open" = xyes
; then :
16077 ac_fn_c_check_func
"$LINENO" "db_env_create" "ac_cv_func_db_env_create"
16078 if test "x$ac_cv_func_db_env_create" = xyes
; then :
16087 if test "$FOUND_DB" != 0; then
16097 for ac_header
in limits.h fcntl.h unistd.h
16099 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16100 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16101 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
16102 cat >>confdefs.h
<<_ACEOF
16103 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
16112 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
16113 if ${ac_cv_c_const+:} false
; then :
16114 $as_echo_n "(cached) " >&6
16116 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16117 /* end confdefs.h. */
16123 #ifndef __cplusplus
16124 /* Ultrix mips cc rejects this sort of thing. */
16125 typedef int charset[2];
16126 const charset cs = { 0, 0 };
16127 /* SunOS 4.1.1 cc rejects this. */
16128 char const *const *pcpcc;
16130 /* NEC SVR4.0.2 mips cc rejects this. */
16131 struct point {int x, y;};
16132 static struct point const zero = {0,0};
16133 /* AIX XL C 1.02.0.0 rejects this.
16134 It does not let you subtract one const X* pointer from another in
16135 an arm of an if-expression whose if-part is not a constant
16137 const char *g = "string";
16138 pcpcc = &g + (g ? g-g : 0);
16139 /* HPUX 7.0 cc rejects these. */
16141 ppc = (char**) pcpcc;
16142 pcpcc = (char const *const *) ppc;
16143 { /* SCO 3.2v4 cc rejects this sort of thing. */
16146 char const *s = 0 ? (char *) 0 : (char const *) 0;
16151 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
16152 int x[] = {25, 17};
16153 const int *foo = &x[0];
16156 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
16157 typedef const int *iptr;
16161 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
16162 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
16163 struct s { int j; const int *ap[3]; } bx;
16164 struct s *b = &bx; b->j = 5;
16166 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
16167 const int foo = 10;
16168 if (!foo) return 0;
16170 return !cs[0] && !zero.x;
16177 if ac_fn_c_try_compile
"$LINENO"; then :
16182 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
16185 $as_echo "$ac_cv_c_const" >&6; }
16186 if test $ac_cv_c_const = no
; then
16188 $as_echo "#define const /**/" >>confdefs.h
16192 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
16193 if test "x$ac_cv_type_size_t" = xyes
; then :
16197 cat >>confdefs.h
<<_ACEOF
16198 #define size_t unsigned int
16203 # Check whether --enable-largefile was given.
16204 if test "${enable_largefile+set}" = set; then :
16205 enableval
=$enable_largefile;
16208 if test "$enable_largefile" != no
; then
16210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
16211 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
16212 if ${ac_cv_sys_largefile_CC+:} false
; then :
16213 $as_echo_n "(cached) " >&6
16215 ac_cv_sys_largefile_CC
=no
16216 if test "$GCC" != yes; then
16219 # IRIX 6.2 and later do not support large files by default,
16220 # so use the C compiler's -n32 option if that helps.
16221 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16222 /* end confdefs.h. */
16223 #include <sys/types.h>
16224 /* Check that off_t can represent 2**63 - 1 correctly.
16225 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16226 since some C++ compilers masquerading as C compilers
16227 incorrectly reject 9223372036854775807. */
16228 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16229 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16230 && LARGE_OFF_T % 2147483647 == 1)
16240 if ac_fn_c_try_compile
"$LINENO"; then :
16243 rm -f core conftest.err conftest.
$ac_objext
16245 if ac_fn_c_try_compile
"$LINENO"; then :
16246 ac_cv_sys_largefile_CC
=' -n32'; break
16248 rm -f core conftest.err conftest.
$ac_objext
16252 rm -f conftest.
$ac_ext
16255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
16256 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
16257 if test "$ac_cv_sys_largefile_CC" != no
; then
16258 CC
=$CC$ac_cv_sys_largefile_CC
16261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
16262 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
16263 if ${ac_cv_sys_file_offset_bits+:} false
; then :
16264 $as_echo_n "(cached) " >&6
16267 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16268 /* end confdefs.h. */
16269 #include <sys/types.h>
16270 /* Check that off_t can represent 2**63 - 1 correctly.
16271 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16272 since some C++ compilers masquerading as C compilers
16273 incorrectly reject 9223372036854775807. */
16274 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16275 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16276 && LARGE_OFF_T % 2147483647 == 1)
16286 if ac_fn_c_try_compile
"$LINENO"; then :
16287 ac_cv_sys_file_offset_bits
=no
; break
16289 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16290 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16291 /* end confdefs.h. */
16292 #define _FILE_OFFSET_BITS 64
16293 #include <sys/types.h>
16294 /* Check that off_t can represent 2**63 - 1 correctly.
16295 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16296 since some C++ compilers masquerading as C compilers
16297 incorrectly reject 9223372036854775807. */
16298 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16299 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16300 && LARGE_OFF_T % 2147483647 == 1)
16310 if ac_fn_c_try_compile
"$LINENO"; then :
16311 ac_cv_sys_file_offset_bits
=64; break
16313 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16314 ac_cv_sys_file_offset_bits
=unknown
16318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
16319 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
16320 case $ac_cv_sys_file_offset_bits in #(
16323 cat >>confdefs.h
<<_ACEOF
16324 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
16329 if test $ac_cv_sys_file_offset_bits = unknown
; then
16330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
16331 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
16332 if ${ac_cv_sys_large_files+:} false
; then :
16333 $as_echo_n "(cached) " >&6
16336 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16337 /* end confdefs.h. */
16338 #include <sys/types.h>
16339 /* Check that off_t can represent 2**63 - 1 correctly.
16340 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16341 since some C++ compilers masquerading as C compilers
16342 incorrectly reject 9223372036854775807. */
16343 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16344 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16345 && LARGE_OFF_T % 2147483647 == 1)
16355 if ac_fn_c_try_compile
"$LINENO"; then :
16356 ac_cv_sys_large_files
=no
; break
16358 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16359 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16360 /* end confdefs.h. */
16361 #define _LARGE_FILES 1
16362 #include <sys/types.h>
16363 /* Check that off_t can represent 2**63 - 1 correctly.
16364 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16365 since some C++ compilers masquerading as C compilers
16366 incorrectly reject 9223372036854775807. */
16367 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16368 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16369 && LARGE_OFF_T % 2147483647 == 1)
16379 if ac_fn_c_try_compile
"$LINENO"; then :
16380 ac_cv_sys_large_files
=1; break
16382 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16383 ac_cv_sys_large_files
=unknown
16387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
16388 $as_echo "$ac_cv_sys_large_files" >&6; }
16389 case $ac_cv_sys_large_files in #(
16392 cat >>confdefs.h
<<_ACEOF
16393 #define _LARGE_FILES $ac_cv_sys_large_files
16405 ac_cpp
='$CXXCPP $CPPFLAGS'
16406 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16407 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16408 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the C++ compiler needs -fhandle-exceptions" >&5
16411 $as_echo_n "checking if the C++ compiler needs -fhandle-exceptions... " >&6; }
16412 if ${ac_cv_need_handlexceptions+:} false
; then :
16413 $as_echo_n "(cached) " >&6
16415 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16416 /* end confdefs.h. */
16428 if ac_fn_cxx_try_compile
"$LINENO"; then :
16429 ac_cv_need_handlexceptions
=no
16431 ac_cv_need_handlexceptions
=yes
16433 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_need_handlexceptions" >&5
16437 $as_echo "$ac_cv_need_handlexceptions" >&6; }
16439 if test "$ac_cv_need_handlexceptions" = "yes"
16441 case "$CXXFLAGS" in
16442 *handle-exceptions
*)
16445 CXXFLAGS
="-fhandle-exceptions $CXXFLAGS"
16446 CXXFLAGS
=`echo "$CXXFLAGS" | sed 's/-O2//'`
16451 if test "$GCC" = "yes"
16453 CFLAGS
="-Wall $CFLAGS"
16456 ac_config_files
="$ac_config_files Makefile"
16458 cat >confcache
<<\_ACEOF
16459 # This file is a shell script that caches the results of configure
16460 # tests run on this system so they can be shared between configure
16461 # scripts and configure runs, see configure's option --config-cache.
16462 # It is not useful on other systems. If it contains results you don't
16463 # want to keep, you may remove or edit it.
16465 # config.status only pays attention to the cache file if you give it
16466 # the --recheck option to rerun configure.
16468 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16469 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16470 # following values.
16474 # The following way of writing the cache mishandles newlines in values,
16475 # but we know of no workaround that is simple, portable, and efficient.
16476 # So, we kill variables containing newlines.
16477 # Ultrix sh set writes to stderr and can't be redirected directly,
16478 # and sets the high bit in the cache file unless we assign to the vars.
16480 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16481 eval ac_val
=\$
$ac_var
16485 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16486 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16489 _ | IFS | as_nl
) ;; #(
16490 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
16491 *) { eval $ac_var=; unset $ac_var;} ;;
16497 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16498 *${as_nl}ac_space
=\
*)
16499 # `set' does not quote correctly, so add quotes: double-quote
16500 # substitution turns \\\\ into \\, and sed turns \\ into \.
16503 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16506 # `set' quotes correctly as required by POSIX, so do not add quotes.
16507 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16516 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16518 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16520 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
16521 if test -w "$cache_file"; then
16522 if test "x$cache_file" != "x/dev/null"; then
16523 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16524 $as_echo "$as_me: updating cache $cache_file" >&6;}
16525 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
16526 cat confcache
>"$cache_file"
16528 case $cache_file in #(
16530 mv -f confcache
"$cache_file"$$
&&
16531 mv -f "$cache_file"$$
"$cache_file" ;; #(
16533 mv -f confcache
"$cache_file" ;;
16538 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16539 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16544 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
16545 # Let make expand exec_prefix.
16546 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
16548 DEFS
=-DHAVE_CONFIG_H
16552 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
16553 # 1. Remove the extension, and $U if already installed.
16554 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
16555 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
16556 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
16557 # will be set to the directory where LIBOBJS objects are built.
16558 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16559 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
16561 LIBOBJS
=$ac_libobjs
16563 LTLIBOBJS
=$ac_ltlibobjs
16566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
16567 $as_echo_n "checking that generated files are newer than configure... " >&6; }
16568 if test -n "$am_sleep_pid"; then
16569 # Hide warnings about reused PIDs.
16570 wait $am_sleep_pid 2>/dev
/null
16572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
16573 $as_echo "done" >&6; }
16574 if test -n "$EXEEXT"; then
16576 am__EXEEXT_FALSE
='#'
16578 am__EXEEXT_TRUE
='#'
16582 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16583 as_fn_error $?
"conditional \"AMDEP\" was never defined.
16584 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16586 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16587 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
16588 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16590 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16591 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
16592 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16594 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
16595 as_fn_error $?
"conditional \"am__fastdepCXX\" was never defined.
16596 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16598 if test -z "${FOUND_DB_TRUE}" && test -z "${FOUND_DB_FALSE}"; then
16599 as_fn_error $?
"conditional \"FOUND_DB\" was never defined.
16600 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16603 : "${CONFIG_STATUS=./config.status}"
16605 ac_clean_files_save
=$ac_clean_files
16606 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
16607 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16608 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16610 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16612 # Generated by $as_me.
16613 # Run this file to recreate the current configuration.
16614 # Compiler output produced by configure, useful for debugging
16615 # configure, is in config.log if it exists.
16618 ac_cs_recheck=false
16621 SHELL=\${CONFIG_SHELL-$SHELL}
16624 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
16625 ## -------------------- ##
16626 ## M4sh Initialization. ##
16627 ## -------------------- ##
16629 # Be more Bourne compatible
16630 DUALCASE
=1; export DUALCASE
# for MKS sh
16631 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
16634 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16635 # is contrary to our usage. Disable this feature.
16636 alias -g '${1+"$@"}'='"$@"'
16637 setopt NO_GLOB_SUBST
16639 case `(set -o) 2>/dev/null` in #(
16651 # Printing a long string crashes Solaris 7 /usr/bin/printf.
16652 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16653 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16654 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16655 # Prefer a ksh shell builtin over an external printf program on Solaris,
16656 # but without wasting forks for bash or zsh.
16657 if test -z "$BASH_VERSION$ZSH_VERSION" \
16658 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16659 as_echo='print
-r --'
16660 as_echo_n='print
-rn --'
16661 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16662 as_echo='printf %s
\n'
16663 as_echo_n='printf %s
'
16665 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16666 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
16667 as_echo_n='/usr
/ucb
/echo -n'
16669 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16670 as_echo_n_body='eval
16674 expr "X$arg" : "X\\(.*\\)$as_nl";
16675 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16677 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
16679 export as_echo_n_body
16680 as_echo_n='sh
-c $as_echo_n_body as_echo
'
16682 export as_echo_body
16683 as_echo='sh
-c $as_echo_body as_echo
'
16686 # The user is always right.
16687 if test "${PATH_SEPARATOR+set}" != set; then
16689 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16690 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16697 # We need space, tab and new line, in precisely that order. Quoting is
16698 # there to prevent editors from complaining about space-tab.
16699 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
16700 # splitting by setting IFS to empty value.)
16703 # Find who we are. Look in the path if we contain no directory separator.
16706 *[\\/]* ) as_myself=$0 ;;
16707 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16708 for as_dir in $PATH
16711 test -z "$as_dir" && as_dir=.
16712 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16718 # We did not find ourselves, most probably we were run as `sh COMMAND'
16719 # in which case we are not to be found in the path.
16720 if test "x$as_myself" = x
; then
16723 if test ! -f "$as_myself"; then
16724 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16728 # Unset variables that we do not need and which cause bugs (e.g. in
16729 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
16730 # suppresses any "Segmentation fault" message there. '((' could
16731 # trigger a bug in pdksh 5.2.14.
16732 for as_var
in BASH_ENV ENV MAIL MAILPATH
16733 do eval test x\
${$as_var+set} = xset \
16734 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
16747 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
16750 # as_fn_error STATUS ERROR [LINENO LOG_FD]
16751 # ----------------------------------------
16752 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16753 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16754 # script with STATUS, using 1 if that was 0.
16757 as_status
=$1; test $as_status -eq 0 && as_status
=1
16759 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
16760 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
16762 $as_echo "$as_me: error: $2" >&2
16763 as_fn_exit
$as_status
16767 # as_fn_set_status STATUS
16768 # -----------------------
16769 # Set $? to STATUS, without forking.
16770 as_fn_set_status
()
16773 } # as_fn_set_status
16775 # as_fn_exit STATUS
16776 # -----------------
16777 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16781 as_fn_set_status
$1
16787 # Portably unset VAR.
16790 { eval $1=; unset $1;}
16792 as_unset
=as_fn_unset
16793 # as_fn_append VAR VALUE
16794 # ----------------------
16795 # Append the text in VALUE to the end of the definition contained in VAR. Take
16796 # advantage of any shell optimizations that allow amortized linear growth over
16797 # repeated appends, instead of the typical quadratic growth present in naive
16799 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
16800 eval 'as_fn_append ()
16811 # as_fn_arith ARG...
16812 # ------------------
16813 # Perform arithmetic evaluation on the ARGs, and store the result in the
16814 # global $as_val. Take advantage of shells that can avoid forks. The arguments
16815 # must be portable across $(()) and expr.
16816 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
16817 eval 'as_fn_arith ()
16824 as_val
=`expr "$@" || test $? -eq 1`
16829 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
16830 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
16836 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16837 as_basename
=basename
16842 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
16848 as_me
=`$as_basename -- "$0" ||
16849 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16850 X"$0" : 'X\(//\)$' \| \
16851 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16853 sed '/^.*\/\([^/][^/]*\)\/*$/{
16867 # Avoid depending upon Character Ranges.
16868 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
16869 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16870 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
16871 as_cr_digits
='0123456789'
16872 as_cr_alnum
=$as_cr_Letters$as_cr_digits
16874 ECHO_C
= ECHO_N
= ECHO_T
=
16875 case `echo -n x` in #(((((
16877 case `echo 'xy\c'` in
16878 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
16880 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
16887 rm -f conf$$ conf$$.exe conf$$.
file
16888 if test -d conf$$.dir
; then
16889 rm -f conf$$.dir
/conf$$.
file
16892 mkdir conf$$.dir
2>/dev
/null
16894 if (echo >conf$$.
file) 2>/dev
/null
; then
16895 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
16897 # ... but there are two gotchas:
16898 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16899 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16900 # In both cases, we have to default to `cp -pR'.
16901 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
16903 elif ln conf$$.
file conf$$
2>/dev
/null
; then
16911 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
16912 rmdir conf$$.dir
2>/dev
/null
16917 # Create "$as_dir" as a directory, including parents if necessary.
16922 -*) as_dir
=.
/$as_dir;;
16924 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
16928 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16929 *) as_qdir
=$as_dir;;
16931 as_dirs
="'$as_qdir' $as_dirs"
16932 as_dir
=`$as_dirname -- "$as_dir" ||
16933 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16934 X"$as_dir" : 'X\(//\)[^/]' \| \
16935 X"$as_dir" : 'X\(//\)$' \| \
16936 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16937 $as_echo X"$as_dir" |
16938 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16942 /^X\(\/\/\)[^/].*/{
16955 test -d "$as_dir" && break
16957 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
16958 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
16962 if mkdir
-p .
2>/dev
/null
; then
16963 as_mkdir_p
='mkdir -p "$as_dir"'
16965 test -d .
/-p && rmdir .
/-p
16970 # as_fn_executable_p FILE
16971 # -----------------------
16972 # Test if FILE is an executable regular file.
16973 as_fn_executable_p
()
16975 test -f "$1" && test -x "$1"
16976 } # as_fn_executable_p
16977 as_test_x
='test -x'
16978 as_executable_p
=as_fn_executable_p
16980 # Sed expression to map a string onto a valid CPP name.
16981 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16983 # Sed expression to map a string onto a valid variable name.
16984 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16988 ## ----------------------------------- ##
16989 ## Main body of $CONFIG_STATUS script. ##
16990 ## ----------------------------------- ##
16992 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
16994 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16995 # Save the log message, to keep $0 and so on meaningful, and to
16996 # report actual input values of CONFIG_FILES etc. instead of their
16997 # values after options handling.
16999 This file was extended by bdbobj $as_me 0.10, which was
17000 generated by GNU Autoconf 2.69. Invocation command line was
17002 CONFIG_FILES = $CONFIG_FILES
17003 CONFIG_HEADERS = $CONFIG_HEADERS
17004 CONFIG_LINKS = $CONFIG_LINKS
17005 CONFIG_COMMANDS = $CONFIG_COMMANDS
17008 on `(hostname || uname -n) 2>/dev/null | sed 1q`
17013 case $ac_config_files in *"
17014 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
17017 case $ac_config_headers in *"
17018 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
17022 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17023 # Files that config.status was made for.
17024 config_files="$ac_config_files"
17025 config_headers="$ac_config_headers"
17026 config_commands="$ac_config_commands"
17030 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17032 \`$as_me' instantiates files and other configuration actions
17033 from templates according to the current configuration. Unless the files
17034 and actions are specified as TAGs, all are instantiated by default.
17036 Usage: $0 [OPTION]... [TAG]...
17038 -h, --help print this help, then exit
17039 -V, --version print version number and configuration settings, then exit
17040 --config print configuration, then exit
17041 -q, --quiet, --silent
17042 do not print progress messages
17043 -d, --debug don't remove temporary files
17044 --recheck update $as_me by reconfiguring in the same conditions
17045 --file=FILE[:TEMPLATE]
17046 instantiate the configuration file FILE
17047 --header=FILE[:TEMPLATE]
17048 instantiate the configuration header FILE
17050 Configuration files:
17053 Configuration headers:
17056 Configuration commands:
17059 Report bugs to <courier-users@lists.sourceforge.net>."
17062 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17063 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
17065 bdbobj config.status 0.10
17066 configured by $0, generated by GNU Autoconf 2.69,
17067 with options \\"\$ac_cs_config\\"
17069 Copyright (C) 2012 Free Software Foundation, Inc.
17070 This config.status script is free software; the Free Software Foundation
17071 gives unlimited permission to copy, distribute and modify it."
17078 test -n "\$AWK" || AWK=awk
17081 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17082 # The default lists apply if the user does not specify any file.
17088 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
17089 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
17093 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
17105 # Handling of the options.
17106 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
17108 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
17109 $as_echo "$ac_cs_version"; exit ;;
17110 --config |
--confi |
--conf |
--con |
--co |
--c )
17111 $as_echo "$ac_cs_config"; exit ;;
17112 --debug |
--debu |
--deb |
--de |
--d |
-d )
17114 --file |
--fil |
--fi |
--f )
17117 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17118 '') as_fn_error $?
"missing file argument" ;;
17120 as_fn_append CONFIG_FILES
" '$ac_optarg'"
17121 ac_need_defaults
=false
;;
17122 --header |
--heade |
--head |
--hea )
17125 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17127 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
17128 ac_need_defaults
=false
;;
17130 # Conflict between --help and --header
17131 as_fn_error $?
"ambiguous option: \`$1'
17132 Try \`$0 --help' for more information.";;
17133 --help |
--hel |
-h )
17134 $as_echo "$ac_cs_usage"; exit ;;
17135 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
17136 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
17139 # This is an error.
17140 -*) as_fn_error $?
"unrecognized option: \`$1'
17141 Try \`$0 --help' for more information." ;;
17143 *) as_fn_append ac_config_targets
" $1"
17144 ac_need_defaults
=false
;;
17150 ac_configure_extra_args
=
17152 if $ac_cs_silent; then
17154 ac_configure_extra_args
="$ac_configure_extra_args --silent"
17158 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17159 if \$ac_cs_recheck; then
17160 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17162 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17163 CONFIG_SHELL='$SHELL'
17164 export CONFIG_SHELL
17169 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17173 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17174 ## Running $as_me. ##
17180 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17184 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
17187 # The HP-UX ksh and POSIX shell print the target directory to stdout
17188 # if CDPATH is set.
17189 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17191 sed_quote_subst='$sed_quote_subst'
17192 double_quote_subst='$double_quote_subst'
17193 delay_variable_subst='$delay_variable_subst'
17194 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
17195 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
17196 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
17197 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
17198 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
17199 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
17200 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
17201 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
17202 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
17203 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
17204 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
17205 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
17206 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
17207 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
17208 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
17209 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
17210 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
17211 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
17212 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
17213 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
17214 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
17215 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
17216 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
17217 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
17218 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
17219 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
17220 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
17221 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
17222 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
17223 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
17224 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
17225 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
17226 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
17227 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
17228 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
17229 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
17230 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
17231 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
17232 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
17233 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
17234 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
17235 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
17236 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
17237 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
17238 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
17239 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17240 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17241 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
17242 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
17243 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
17244 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
17245 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
17246 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
17247 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
17248 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
17249 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
17250 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"`'
17251 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
17252 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
17253 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
17254 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
17255 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
17256 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
17257 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
17258 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
17259 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
17260 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
17261 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
17262 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
17263 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
17264 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
17265 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
17266 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
17267 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
17268 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
17269 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17270 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
17271 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
17272 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
17273 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
17274 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
17275 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
17276 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17277 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
17278 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17279 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
17280 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17281 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
17282 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
17283 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
17284 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
17285 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
17286 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
17287 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
17288 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
17289 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
17290 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
17291 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
17292 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
17293 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
17294 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
17295 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
17296 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
17297 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
17298 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
17299 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
17300 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
17301 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
17302 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
17303 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
17304 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
17305 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
17306 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
17307 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
17308 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
17309 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
17310 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
17311 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17312 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17313 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
17314 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
17315 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
17316 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
17317 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
17318 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
17319 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
17320 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
17321 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
17322 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
17323 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
17324 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
17325 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
17326 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
17327 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
17328 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
17329 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
17330 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
17331 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
17332 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17333 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17334 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
17335 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
17336 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
17337 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
17338 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
17339 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
17340 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
17341 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
17342 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
17343 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17344 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17345 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
17346 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17347 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17348 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17349 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17350 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17351 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17352 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
17353 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
17354 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
17355 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17356 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
17357 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
17358 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
17359 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
17360 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
17361 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
17362 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
17363 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
17364 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
17365 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17366 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
17367 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
17368 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17369 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17370 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
17371 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
17372 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
17373 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
17374 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
17375 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
17376 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
17377 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
17380 LTCFLAGS='$LTCFLAGS'
17381 compiler='$compiler_DEFAULT'
17383 # A function that is used when there is no print builtin or printf.
17384 func_fallback_echo ()
17386 eval 'cat <<_LTECHO_EOF
17391 # Quote evaled strings.
17406 deplibs_check_method \
17411 sharedlib_from_linklib_cmd \
17414 archiver_list_spec \
17420 lt_cv_sys_global_symbol_pipe \
17421 lt_cv_sys_global_symbol_to_cdecl \
17422 lt_cv_sys_global_symbol_to_c_name_address \
17423 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
17424 nm_file_list_spec \
17425 lt_prog_compiler_no_builtin_flag \
17426 lt_prog_compiler_pic \
17427 lt_prog_compiler_wl \
17428 lt_prog_compiler_static \
17429 lt_cv_prog_compiler_c_o \
17438 export_dynamic_flag_spec \
17439 whole_archive_flag_spec \
17440 compiler_needs_object \
17442 allow_undefined_flag \
17443 no_undefined_flag \
17444 hardcode_libdir_flag_spec \
17445 hardcode_libdir_separator \
17449 variables_saved_for_relink \
17451 library_names_spec \
17453 install_override_mode \
17457 compiler_lib_search_dirs \
17462 compiler_lib_search_path \
17466 lt_prog_compiler_no_builtin_flag_CXX \
17467 lt_prog_compiler_pic_CXX \
17468 lt_prog_compiler_wl_CXX \
17469 lt_prog_compiler_static_CXX \
17470 lt_cv_prog_compiler_c_o_CXX \
17471 export_dynamic_flag_spec_CXX \
17472 whole_archive_flag_spec_CXX \
17473 compiler_needs_object_CXX \
17475 allow_undefined_flag_CXX \
17476 no_undefined_flag_CXX \
17477 hardcode_libdir_flag_spec_CXX \
17478 hardcode_libdir_separator_CXX \
17479 exclude_expsyms_CXX \
17480 include_expsyms_CXX \
17481 file_list_spec_CXX \
17482 compiler_lib_search_dirs_CXX \
17483 predep_objects_CXX \
17484 postdep_objects_CXX \
17487 compiler_lib_search_path_CXX; do
17488 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17489 *[\\\\\\\`\\"\\\$]*)
17490 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
17493 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17498 # Double-quote double-evaled strings.
17499 for var in reload_cmds \
17500 old_postinstall_cmds \
17501 old_postuninstall_cmds \
17503 extract_expsyms_cmds \
17504 old_archive_from_new_cmds \
17505 old_archive_from_expsyms_cmds \
17507 archive_expsym_cmds \
17509 module_expsym_cmds \
17510 export_symbols_cmds \
17514 postuninstall_cmds \
17516 sys_lib_search_path_spec \
17517 sys_lib_dlsearch_path_spec \
17519 old_archive_cmds_CXX \
17520 old_archive_from_new_cmds_CXX \
17521 old_archive_from_expsyms_cmds_CXX \
17523 archive_expsym_cmds_CXX \
17525 module_expsym_cmds_CXX \
17526 export_symbols_cmds_CXX \
17528 postlink_cmds_CXX; do
17529 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17530 *[\\\\\\\`\\"\\\$]*)
17531 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
17534 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17539 ac_aux_dir='$ac_aux_dir'
17540 xsi_shell='$xsi_shell'
17541 lt_shell_append='$lt_shell_append'
17543 # See if we are running on zsh, and set the options which allow our
17544 # commands through without removal of \ escapes INIT.
17545 if test -n "\${ZSH_VERSION+set}" ; then
17546 setopt NO_GLOB_SUBST
17552 TIMESTAMP='$TIMESTAMP'
17563 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17565 # Handling of arguments.
17566 for ac_config_target
in $ac_config_targets
17568 case $ac_config_target in
17569 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
17570 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
17571 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
17572 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
17574 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17579 # If the user did not use the arguments to specify the items to instantiate,
17580 # then the envvar interface is used. Set only those that are not.
17581 # We use the long form for the default assignment because of an extremely
17582 # bizarre bug on SunOS 4.1.3.
17583 if $ac_need_defaults; then
17584 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
17585 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
17586 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
17589 # Have a temporary directory for convenience. Make it in the build tree
17590 # simply because there is no reason against having it here, and in addition,
17591 # creating and moving files from /tmp can sometimes cause problems.
17592 # Hook for its removal unless debugging.
17593 # Note that there is a small window in which the directory will not be cleaned:
17594 # after its creation but before its name has been assigned to `$tmp'.
17598 trap 'exit_status=$?
17599 : "${ac_tmp:=$tmp}"
17600 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
17602 trap 'as_fn_exit 1' 1 2 13 15
17604 # Create a (secure) tmp directory for tmp files.
17607 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17611 tmp
=.
/conf$$
-$RANDOM
17612 (umask 077 && mkdir
"$tmp")
17613 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
17616 # Set up the scripts for CONFIG_FILES section.
17617 # No need to generate them if there are no CONFIG_FILES.
17618 # This happens for instance with `./config.status config.h'.
17619 if test -n "$CONFIG_FILES"; then
17622 ac_cr
=`echo X | tr X '\015'`
17623 # On cygwin, bash can eat \r inside `` if the user requested igncr.
17624 # But we know of no other shell where ac_cr would be empty at this
17625 # point, so we can use a bashism as a fallback.
17626 if test "x$ac_cr" = x
; then
17627 eval ac_cr
=\$
\'\\r
\'
17629 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17630 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17633 ac_cs_awk_cr
=$ac_cr
17636 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
17641 echo "cat >conf$$subs.awk <<_ACEOF" &&
17642 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17644 } >conf$$subs.sh ||
17645 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
17646 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
17648 for ac_last_try in false false false false false :; do
17649 . ./conf$$subs.sh ||
17650 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
17652 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
17653 if test $ac_delim_n = $ac_delim_num; then
17655 elif $ac_last_try; then
17656 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
17658 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
17661 rm -f conf$$subs.sh
17663 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17664 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
17668 s/^/S["/; s
/!.
*/"]=/
17678 s/\(.\{148\}\)..*/\1/
17680 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
17685 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
17692 s/\(.\{148\}\)..*/\1/
17694 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
17698 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
17703 ' <conf$$subs.awk | sed '
17708 ' >>$CONFIG_STATUS || ac_write_fail=1
17709 rm -f conf$$subs.awk
17710 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17712 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
17713 for (key in S) S_is_set[key] = 1
17719 nfields = split(line, field, "@
")
17721 len = length(field[1])
17722 for (i = 2; i < nfields; i++) {
17724 keylen = length(key)
17725 if (S_is_set[key]) {
17727 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17728 len += length(value) + length(field[++i])
17739 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17740 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17741 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
17744 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
17745 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
17748 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
17749 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
17750 # trailing colons and then remove the whole line if VPATH becomes empty
17751 # (actually we leave an empty line to preserve line numbers).
17752 if test "x
$srcdir" = x.; then
17753 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
17771 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17772 fi # test -n "$CONFIG_FILES"
17774 # Set up the scripts for CONFIG_HEADERS section.
17775 # No need to generate them if there are no CONFIG_HEADERS.
17776 # This happens for instance with `./config.status Makefile'.
17777 if test -n "$CONFIG_HEADERS"; then
17778 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
17782 # Transform confdefs.h into an awk script `defines.awk', embedded as
17783 # here-document in config.status, that substitutes the proper values into
17784 # config.h.in to produce config.h.
17786 # Create a delimiter string that does not exist in confdefs.h, to ease
17787 # handling of long lines.
17789 for ac_last_try in false false :; do
17790 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
17791 if test -z "$ac_tt"; then
17793 elif $ac_last_try; then
17794 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
17796 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
17800 # For the awk script, D is an array of macro values keyed by name,
17801 # likewise P contains macro parameters if any. Preserve backslash
17802 # newline sequences.
17804 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
17806 s/.\{148\}/&'"$ac_delim"'/g
17809 s/^[ ]*#[ ]*define[ ][ ]*/ /
17816 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
17818 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
17822 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
17823 D["\
1"]=" \
3\\\\\\n
"\\/p
17825 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
17830 s/.\{148\}/&'"$ac_delim"'/g
17835 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
17838 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
17840 ' <confdefs.h | sed '
17841 s/'"$ac_delim"'/"\\\
17842 "/g' >>$CONFIG_STATUS || ac_write_fail=1
17844 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17845 for (key in D) D_is_set[key] = 1
17848 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
17850 split(line, arg, " ")
17851 if (arg[1] == "#") {
17855 defundef
= substr
(arg
[1], 2)
17858 split(mac1
, mac2
, "(") #)
17860 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
17861 if (D_is_set
[macro
]) {
17862 # Preserve the white space surrounding the "#".
17863 print prefix
"define", macro P
[macro
] D
[macro
]
17866 # Replace #undef with comments. This is necessary, for example,
17867 # in the case of _POSIX_SOURCE, which is predefined and required
17868 # on some systems where configure will not decide to define it.
17869 if (defundef
== "undef") {
17870 print
"/*", prefix defundef
, macro
, "*/"
17878 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17879 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
17880 fi # test -n "$CONFIG_HEADERS"
17883 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
17888 :[FHLC
]) ac_mode
=$ac_tag; continue;;
17890 case $ac_mode$ac_tag in
17892 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
17893 :[FH
]-) ac_tag
=-:-;;
17894 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
17911 -) ac_f
="$ac_tmp/stdin";;
17912 *) # Look for the file first in the build tree, then in the source tree
17913 # (if the path is not absolute). The absolute path cannot be DOS-style,
17914 # because $ac_f cannot contain `:'.
17918 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
17920 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
17922 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17923 as_fn_append ac_file_inputs
" '$ac_f'"
17926 # Let's still pretend it is `configure' which instantiates (i.e., don't
17927 # use $as_me), people would be surprised to read:
17928 # /* config.h. Generated by config.status. */
17929 configure_input
='Generated from '`
17930 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17932 if test x
"$ac_file" != x-
; then
17933 configure_input
="$ac_file. $configure_input"
17934 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
17935 $as_echo "$as_me: creating $ac_file" >&6;}
17937 # Neutralize special characters interpreted by sed in replacement strings.
17938 case $configure_input in #(
17939 *\
&* |
*\|
* |
*\\* )
17940 ac_sed_conf_input
=`$as_echo "$configure_input" |
17941 sed 's/[\\\\&|]/\\\\&/g'`;; #(
17942 *) ac_sed_conf_input
=$configure_input;;
17946 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
17947 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
17952 ac_dir
=`$as_dirname -- "$ac_file" ||
17953 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17954 X"$ac_file" : 'X\(//\)[^/]' \| \
17955 X"$ac_file" : 'X\(//\)$' \| \
17956 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17957 $as_echo X"$ac_file" |
17958 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17962 /^X\(\/\/\)[^/].*/{
17975 as_dir
="$ac_dir"; as_fn_mkdir_p
17979 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
17981 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17982 # A ".." for each directory in $ac_dir_suffix.
17983 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17984 case $ac_top_builddir_sub in
17985 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
17986 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
17989 ac_abs_top_builddir
=$ac_pwd
17990 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
17991 # for backward compatibility:
17992 ac_top_builddir
=$ac_top_build_prefix
17995 .
) # We are building in place.
17997 ac_top_srcdir
=$ac_top_builddir_sub
17998 ac_abs_top_srcdir
=$ac_pwd ;;
17999 [\\/]* | ?
:[\\/]* ) # Absolute name.
18000 ac_srcdir
=$srcdir$ac_dir_suffix;
18001 ac_top_srcdir
=$srcdir
18002 ac_abs_top_srcdir
=$srcdir ;;
18003 *) # Relative name.
18004 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
18005 ac_top_srcdir
=$ac_top_build_prefix$srcdir
18006 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
18008 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
18018 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
18019 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
18021 ac_MKDIR_P
=$MKDIR_P
18023 [\\/$
]* | ?
:[\\/]* ) ;;
18024 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
18028 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18029 # If the template does not know about datarootdir, expand it.
18030 # FIXME: This hack should be removed a few years after 2.60.
18031 ac_datarootdir_hack
=; ac_datarootdir_seen
=
18042 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18043 *datarootdir
*) ac_datarootdir_seen
=yes;;
18044 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
18045 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18046 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18048 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18049 ac_datarootdir_hack='
18050 s&@datadir@&$datadir&g
18051 s&@docdir@&$docdir&g
18052 s&@infodir@&$infodir&g
18053 s&@localedir@&$localedir&g
18054 s&@mandir@&$mandir&g
18055 s&\\\${datarootdir}&$datarootdir&g' ;;
18059 # Neutralize VPATH when `$srcdir' = `.'.
18060 # Shell code in configure.ac might set extrasub.
18061 # FIXME: do we really want to maintain this feature?
18062 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18063 ac_sed_extra="$ac_vpsub
18066 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18068 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
18069 s|@configure_input@|
$ac_sed_conf_input|
;t t
18070 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
18071 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
18072 s
&@srcdir@
&$ac_srcdir&;t t
18073 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
18074 s
&@top_srcdir@
&$ac_top_srcdir&;t t
18075 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
18076 s
&@builddir@
&$ac_builddir&;t t
18077 s
&@abs_builddir@
&$ac_abs_builddir&;t t
18078 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
18079 s
&@INSTALL@
&$ac_INSTALL&;t t
18080 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
18081 $ac_datarootdir_hack
18083 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
18084 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
18086 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18087 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
18088 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18089 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
18090 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
18091 which seems to be undefined. Please make sure it is defined" >&5
18092 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
18093 which seems to be undefined. Please make sure it is defined" >&2;}
18095 rm -f "$ac_tmp/stdin"
18097 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18098 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18100 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18106 if test x"$ac_file" != x-; then
18108 $as_echo "/* $configure_input */" \
18109 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18110 } >"$ac_tmp/config.h" \
18111 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18112 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18113 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18114 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18117 mv "$ac_tmp/config.h" "$ac_file" \
18118 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18121 $as_echo "/* $configure_input */" \
18122 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18123 || as_fn_error $? "could not create -" "$LINENO" 5
18125 # Compute "$ac_file"'s index
in $config_headers.
18128 for _am_header
in $config_headers :; do
18129 case $_am_header in
18130 $_am_arg |
$_am_arg:* )
18133 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
18136 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
18137 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18138 X"$_am_arg" : 'X\(//\)[^/]' \| \
18139 X"$_am_arg" : 'X\(//\)$' \| \
18140 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
18141 $as_echo X"$_am_arg" |
18142 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18146 /^X\(\/\/\)[^/].*/{
18158 s/.*/./; q'`/stamp-h
$_am_stamp_count
18161 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18162 $as_echo "$as_me: executing $ac_file commands" >&6;}
18167 case $ac_file$ac_mode in
18168 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
18169 # Older Autoconf quotes --file arguments for eval, but not when files
18170 # are listed without --file. Let's play safe and only enable the eval
18171 # if we detect the quoting.
18172 case $CONFIG_FILES in
18173 *\'*) eval set x
"$CONFIG_FILES" ;;
18174 *) set x
$CONFIG_FILES ;;
18179 # Strip MF so we end up with the name of the file.
18180 mf
=`echo "$mf" | sed -e 's/:.*$//'`
18181 # Check whether this is an Automake generated Makefile or not.
18182 # We used to match only the files named 'Makefile.in', but
18183 # some people rename them; so instead we look at the file content.
18184 # Grep'ing the first line is not enough: some people post-process
18185 # each Makefile.in and add a new line on top of each file to say so.
18186 # Grep'ing the whole file is not good either: AIX grep has a line
18187 # limit of 2048, but all sed's we know have understand at least 4000.
18188 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
18189 dirpart
=`$as_dirname -- "$mf" ||
18190 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18191 X"$mf" : 'X\(//\)[^/]' \| \
18192 X"$mf" : 'X\(//\)$' \| \
18193 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
18195 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18199 /^X\(\/\/\)[^/].*/{
18215 # Extract the definition of DEPDIR, am__include, and am__quote
18216 # from the Makefile without running 'make'.
18217 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
18218 test -z "$DEPDIR" && continue
18219 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
18220 test -z "$am__include" && continue
18221 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
18222 # Find all dependency output files, they are included files with
18223 # $(DEPDIR) in their names. We invoke sed twice because it is the
18224 # simplest approach to changing $(DEPDIR) to its actual value in the
18226 for file in `sed -n "
18227 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
18228 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
18229 # Make sure the directory exists.
18230 test -f "$dirpart/$file" && continue
18231 fdir
=`$as_dirname -- "$file" ||
18232 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18233 X"$file" : 'X\(//\)[^/]' \| \
18234 X"$file" : 'X\(//\)$' \| \
18235 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
18236 $as_echo X"$file" |
18237 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18241 /^X\(\/\/\)[^/].*/{
18254 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
18255 # echo "creating $dirpart/$file"
18256 echo '# dummy' > "$dirpart/$file"
18263 # See if we are running on zsh, and set the options which allow our
18264 # commands through without removal of \ escapes.
18265 if test -n "${ZSH_VERSION+set}" ; then
18266 setopt NO_GLOB_SUBST
18269 cfgfile
="${ofile}T"
18270 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
18273 cat <<_LT_EOF >> "$cfgfile"
18276 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
18277 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
18278 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18279 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
18281 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
18282 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
18284 # Written by Gordon Matzigkeit, 1996
18286 # This file is part of GNU Libtool.
18288 # GNU Libtool is free software; you can redistribute it and/or
18289 # modify it under the terms of the GNU General Public License as
18290 # published by the Free Software Foundation; either version 2 of
18291 # the License, or (at your option) any later version.
18293 # As a special exception to the GNU General Public License,
18294 # if you distribute this file as part of a program or library that
18295 # is built using GNU Libtool, you may include this file under the
18296 # same distribution terms that you use for the rest of that program.
18298 # GNU Libtool is distributed in the hope that it will be useful,
18299 # but WITHOUT ANY WARRANTY; without even the implied warranty of
18300 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18301 # GNU General Public License for more details.
18303 # You should have received a copy of the GNU General Public License
18304 # along with GNU Libtool; see the file COPYING. If not, a copy
18305 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
18306 # obtained by writing to the Free Software Foundation, Inc.,
18307 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18310 # The names of the tagged configurations supported by this script.
18311 available_tags="CXX "
18313 # ### BEGIN LIBTOOL CONFIG
18315 # Which release of libtool.m4 was used?
18316 macro_version=$macro_version
18317 macro_revision=$macro_revision
18319 # Whether or not to build shared libraries.
18320 build_libtool_libs=$enable_shared
18322 # Whether or not to build static libraries.
18323 build_old_libs=$enable_static
18325 # What type of objects to build.
18328 # Whether or not to optimize for fast installation.
18329 fast_install=$enable_fast_install
18331 # Shell to use when invoking shell scripts.
18334 # An echo program that protects backslashes.
18337 # The PATH separator for the build system.
18338 PATH_SEPARATOR=$lt_PATH_SEPARATOR
18341 host_alias=$host_alias
18345 # The build system.
18346 build_alias=$build_alias
18350 # A sed program that does not truncate output.
18353 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
18354 Xsed="\$SED -e 1s/^X//"
18356 # A grep program that handles long lines.
18362 # A literal string matcher.
18365 # A BSD- or MS-compatible name lister.
18368 # Whether we need soft or hard links.
18371 # What is the maximum length of a command?
18372 max_cmd_len=$max_cmd_len
18374 # Object file suffix (normally "o").
18377 # Executable file suffix (normally "").
18380 # whether the shell understands "unset".
18383 # turn spaces into newlines.
18386 # turn newlines into spaces.
18389 # convert \$build file names to \$host format.
18390 to_host_file_cmd=$lt_cv_to_host_file_cmd
18392 # convert \$build files to toolchain format.
18393 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
18395 # An object symbol dumper.
18396 OBJDUMP=$lt_OBJDUMP
18398 # Method to check whether dependent libraries are shared objects.
18399 deplibs_check_method=$lt_deplibs_check_method
18401 # Command to use when deplibs_check_method = "file_magic".
18402 file_magic_cmd=$lt_file_magic_cmd
18404 # How to find potential files when deplibs_check_method = "file_magic".
18405 file_magic_glob=$lt_file_magic_glob
18407 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
18408 want_nocaseglob=$lt_want_nocaseglob
18410 # DLL creation program.
18411 DLLTOOL=$lt_DLLTOOL
18413 # Command to associate shared and link libraries.
18414 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
18419 # Flags to create an archive.
18420 AR_FLAGS=$lt_AR_FLAGS
18422 # How to feed a file listing to the archiver.
18423 archiver_list_spec=$lt_archiver_list_spec
18425 # A symbol stripping program.
18428 # Commands used to install an old-style archive.
18430 old_postinstall_cmds=$lt_old_postinstall_cmds
18431 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18433 # Whether to use a lock for old archive extraction.
18434 lock_old_archive_extraction=$lock_old_archive_extraction
18439 # LTCC compiler flags.
18440 LTCFLAGS=$lt_CFLAGS
18442 # Take the output of nm and produce a listing of raw symbols and C names.
18443 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18445 # Transform the output of nm in a proper C declaration.
18446 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18448 # Transform the output of nm in a C name address pair.
18449 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18451 # Transform the output of nm in a C name address pair when lib prefix is needed.
18452 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
18454 # Specify filename containing input files for \$NM.
18455 nm_file_list_spec=$lt_nm_file_list_spec
18457 # The root where to search for dependent libraries,and in which our libraries should be installed.
18458 lt_sysroot=$lt_sysroot
18460 # The name of the directory that contains temporary libtool files.
18463 # Used to examine libraries when file_magic_cmd begins with "file".
18464 MAGIC_CMD=$MAGIC_CMD
18466 # Must we lock files when doing compilation?
18467 need_locks=$lt_need_locks
18470 MANIFEST_TOOL=$lt_MANIFEST_TOOL
18472 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
18473 DSYMUTIL=$lt_DSYMUTIL
18475 # Tool to change global to local symbols on Mac OS X.
18478 # Tool to manipulate fat objects and archives on Mac OS X.
18481 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
18484 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
18485 OTOOL64=$lt_OTOOL64
18487 # Old archive suffix (normally "a").
18490 # Shared library suffix (normally ".so").
18491 shrext_cmds=$lt_shrext_cmds
18493 # The commands to extract the exported symbol list from a shared archive.
18494 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18496 # Variables whose values should be saved in libtool wrapper scripts and
18497 # restored at link time.
18498 variables_saved_for_relink=$lt_variables_saved_for_relink
18500 # Do we need the "lib" prefix for modules?
18501 need_lib_prefix=$need_lib_prefix
18503 # Do we need a version for libraries?
18504 need_version=$need_version
18506 # Library versioning type.
18507 version_type=$version_type
18509 # Shared library runtime path variable.
18510 runpath_var=$runpath_var
18512 # Shared library path variable.
18513 shlibpath_var=$shlibpath_var
18515 # Is shlibpath searched before the hard-coded library search path?
18516 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18518 # Format of library name prefix.
18519 libname_spec=$lt_libname_spec
18521 # List of archive names. First name is the real one, the rest are links.
18522 # The last name is the one that the linker finds with -lNAME
18523 library_names_spec=$lt_library_names_spec
18525 # The coded name of the library, if different from the real name.
18526 soname_spec=$lt_soname_spec
18528 # Permission mode override for installation of shared libraries.
18529 install_override_mode=$lt_install_override_mode
18531 # Command to use after installation of a shared archive.
18532 postinstall_cmds=$lt_postinstall_cmds
18534 # Command to use after uninstallation of a shared archive.
18535 postuninstall_cmds=$lt_postuninstall_cmds
18537 # Commands used to finish a libtool library installation in a directory.
18538 finish_cmds=$lt_finish_cmds
18540 # As "finish_cmds", except a single script fragment to be evaled but
18542 finish_eval=$lt_finish_eval
18544 # Whether we should hardcode library paths into libraries.
18545 hardcode_into_libs=$hardcode_into_libs
18547 # Compile-time system search path for libraries.
18548 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18550 # Run-time system search path for libraries.
18551 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18553 # Whether dlopen is supported.
18554 dlopen_support=$enable_dlopen
18556 # Whether dlopen of programs is supported.
18557 dlopen_self=$enable_dlopen_self
18559 # Whether dlopen of statically linked programs is supported.
18560 dlopen_self_static=$enable_dlopen_self_static
18562 # Commands to strip libraries.
18563 old_striplib=$lt_old_striplib
18564 striplib=$lt_striplib
18567 # The linker used to build libraries.
18570 # How to create reloadable object files.
18571 reload_flag=$lt_reload_flag
18572 reload_cmds=$lt_reload_cmds
18574 # Commands used to build an old-style archive.
18575 old_archive_cmds=$lt_old_archive_cmds
18577 # A language specific compiler.
18580 # Is the compiler the GNU compiler?
18583 # Compiler flag to turn off builtin functions.
18584 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18586 # Additional compiler flags for building library objects.
18587 pic_flag=$lt_lt_prog_compiler_pic
18589 # How to pass a linker flag through the compiler.
18590 wl=$lt_lt_prog_compiler_wl
18592 # Compiler flag to prevent dynamic linking.
18593 link_static_flag=$lt_lt_prog_compiler_static
18595 # Does compiler simultaneously support -c and -o options?
18596 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18598 # Whether or not to add -lc for building shared libraries.
18599 build_libtool_need_lc=$archive_cmds_need_lc
18601 # Whether or not to disallow shared libs when runtime libs are static.
18602 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18604 # Compiler flag to allow reflexive dlopens.
18605 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18607 # Compiler flag to generate shared objects directly from archives.
18608 whole_archive_flag_spec=$lt_whole_archive_flag_spec
18610 # Whether the compiler copes with passing no objects directly.
18611 compiler_needs_object=$lt_compiler_needs_object
18613 # Create an old-style archive from a shared archive.
18614 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18616 # Create a temporary old-style archive to link instead of a shared archive.
18617 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18619 # Commands used to build a shared archive.
18620 archive_cmds=$lt_archive_cmds
18621 archive_expsym_cmds=$lt_archive_expsym_cmds
18623 # Commands used to build a loadable module if different from building
18624 # a shared archive.
18625 module_cmds=$lt_module_cmds
18626 module_expsym_cmds=$lt_module_expsym_cmds
18628 # Whether we are building with GNU ld or not.
18629 with_gnu_ld=$lt_with_gnu_ld
18631 # Flag that allows shared libraries with undefined symbols to be built.
18632 allow_undefined_flag=$lt_allow_undefined_flag
18634 # Flag that enforces no undefined symbols.
18635 no_undefined_flag=$lt_no_undefined_flag
18637 # Flag to hardcode \$libdir into a binary during linking.
18638 # This must work even if \$libdir does not exist
18639 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18641 # Whether we need a single "-rpath" flag with a separated argument.
18642 hardcode_libdir_separator=$lt_hardcode_libdir_separator
18644 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18645 # DIR into the resulting binary.
18646 hardcode_direct=$hardcode_direct
18648 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18649 # DIR into the resulting binary and the resulting library dependency is
18650 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18651 # library is relocated.
18652 hardcode_direct_absolute=$hardcode_direct_absolute
18654 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18655 # into the resulting binary.
18656 hardcode_minus_L=$hardcode_minus_L
18658 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18659 # into the resulting binary.
18660 hardcode_shlibpath_var=$hardcode_shlibpath_var
18662 # Set to "yes" if building a shared library automatically hardcodes DIR
18663 # into the library and all subsequent libraries and executables linked
18665 hardcode_automatic=$hardcode_automatic
18667 # Set to yes if linker adds runtime paths of dependent libraries
18668 # to runtime path list.
18669 inherit_rpath=$inherit_rpath
18671 # Whether libtool must link a program against all its dependency libraries.
18672 link_all_deplibs=$link_all_deplibs
18674 # Set to "yes" if exported symbols are required.
18675 always_export_symbols=$always_export_symbols
18677 # The commands to list exported symbols.
18678 export_symbols_cmds=$lt_export_symbols_cmds
18680 # Symbols that should not be listed in the preloaded symbols.
18681 exclude_expsyms=$lt_exclude_expsyms
18683 # Symbols that must always be exported.
18684 include_expsyms=$lt_include_expsyms
18686 # Commands necessary for linking programs (against libraries) with templates.
18687 prelink_cmds=$lt_prelink_cmds
18689 # Commands necessary for finishing linking programs.
18690 postlink_cmds=$lt_postlink_cmds
18692 # Specify filename containing input files.
18693 file_list_spec=$lt_file_list_spec
18695 # How to hardcode a shared library path into an executable.
18696 hardcode_action=$hardcode_action
18698 # The directories searched by this compiler when creating a shared library.
18699 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
18701 # Dependencies to place before and after the objects being linked to
18702 # create a shared library.
18703 predep_objects=$lt_predep_objects
18704 postdep_objects=$lt_postdep_objects
18705 predeps=$lt_predeps
18706 postdeps=$lt_postdeps
18708 # The library search path used internally by the compiler when linking
18709 # a shared library.
18710 compiler_lib_search_path=$lt_compiler_lib_search_path
18712 # ### END LIBTOOL CONFIG
18718 cat <<\_LT_EOF
>> "$cfgfile"
18719 # AIX sometimes has problems with the GCC collect2 program. For some
18720 # reason, if we set the COLLECT_NAMES environment variable, the problems
18721 # vanish in a puff of smoke.
18722 if test "X${COLLECT_NAMES+set}" != Xset
; then
18724 export COLLECT_NAMES
18731 ltmain
="$ac_aux_dir/ltmain.sh"
18734 # We use sed instead of cat because bash on DJGPP gets confused if
18735 # if finds mixed CR/LF and LF-only lines. Since sed operates in
18736 # text mode, it properly converts lines to CR/LF. This bash problem
18737 # is reportedly fixed, but why not run on old versions too?
18738 sed '$q' "$ltmain" >> "$cfgfile" \
18739 ||
(rm -f "$cfgfile"; exit 1)
18741 if test x
"$xsi_shell" = xyes
; then
18742 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
18746 \ */*) func_dirname_result="${1%/*}${2}" ;;\
18747 \ * ) func_dirname_result="${3}" ;;\
18749 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
18750 && mv -f "$cfgfile.tmp" "$cfgfile" \
18751 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18752 test 0 -eq $? || _lt_function_replace_fail
=:
18755 sed -e '/^func_basename ()$/,/^} # func_basename /c\
18758 \ func_basename_result="${1##*/}"\
18759 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
18760 && mv -f "$cfgfile.tmp" "$cfgfile" \
18761 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18762 test 0 -eq $? || _lt_function_replace_fail
=:
18765 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
18766 func_dirname_and_basename ()\
18769 \ */*) func_dirname_result="${1%/*}${2}" ;;\
18770 \ * ) func_dirname_result="${3}" ;;\
18772 \ func_basename_result="${1##*/}"\
18773 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
18774 && mv -f "$cfgfile.tmp" "$cfgfile" \
18775 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18776 test 0 -eq $? || _lt_function_replace_fail
=:
18779 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
18782 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
18783 \ # positional parameters, so assign one to ordinary parameter first.\
18784 \ func_stripname_result=${3}\
18785 \ func_stripname_result=${func_stripname_result#"${1}"}\
18786 \ func_stripname_result=${func_stripname_result%"${2}"}\
18787 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
18788 && mv -f "$cfgfile.tmp" "$cfgfile" \
18789 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18790 test 0 -eq $? || _lt_function_replace_fail
=:
18793 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
18794 func_split_long_opt ()\
18796 \ func_split_long_opt_name=${1%%=*}\
18797 \ func_split_long_opt_arg=${1#*=}\
18798 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
18799 && mv -f "$cfgfile.tmp" "$cfgfile" \
18800 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18801 test 0 -eq $? || _lt_function_replace_fail
=:
18804 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
18805 func_split_short_opt ()\
18807 \ func_split_short_opt_arg=${1#??}\
18808 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
18809 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
18810 && mv -f "$cfgfile.tmp" "$cfgfile" \
18811 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18812 test 0 -eq $? || _lt_function_replace_fail
=:
18815 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
18819 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
18820 \ *) func_lo2o_result=${1} ;;\
18822 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
18823 && mv -f "$cfgfile.tmp" "$cfgfile" \
18824 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18825 test 0 -eq $? || _lt_function_replace_fail
=:
18828 sed -e '/^func_xform ()$/,/^} # func_xform /c\
18831 func_xform_result=${1%.*}.lo\
18832 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
18833 && mv -f "$cfgfile.tmp" "$cfgfile" \
18834 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18835 test 0 -eq $? || _lt_function_replace_fail
=:
18838 sed -e '/^func_arith ()$/,/^} # func_arith /c\
18841 func_arith_result=$(( $* ))\
18842 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
18843 && mv -f "$cfgfile.tmp" "$cfgfile" \
18844 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18845 test 0 -eq $? || _lt_function_replace_fail
=:
18848 sed -e '/^func_len ()$/,/^} # func_len /c\
18851 func_len_result=${#1}\
18852 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
18853 && mv -f "$cfgfile.tmp" "$cfgfile" \
18854 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18855 test 0 -eq $? || _lt_function_replace_fail
=:
18859 if test x
"$lt_shell_append" = xyes
; then
18860 sed -e '/^func_append ()$/,/^} # func_append /c\
18863 eval "${1}+=\\${2}"\
18864 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
18865 && mv -f "$cfgfile.tmp" "$cfgfile" \
18866 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18867 test 0 -eq $? || _lt_function_replace_fail
=:
18870 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
18871 func_append_quoted ()\
18873 \ func_quote_for_eval "${2}"\
18874 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
18875 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
18876 && mv -f "$cfgfile.tmp" "$cfgfile" \
18877 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18878 test 0 -eq $? || _lt_function_replace_fail
=:
18881 # Save a `func_append' function call where possible by direct use of '+='
18882 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
18883 && mv -f "$cfgfile.tmp" "$cfgfile" \
18884 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18885 test 0 -eq $? || _lt_function_replace_fail
=:
18887 # Save a `func_append' function call even when '+=' is not available
18888 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
18889 && mv -f "$cfgfile.tmp" "$cfgfile" \
18890 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18891 test 0 -eq $? || _lt_function_replace_fail
=:
18894 if test x
"$_lt_function_replace_fail" = x
":"; then
18895 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
18896 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
18900 mv -f "$cfgfile" "$ofile" ||
18901 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18905 cat <<_LT_EOF >> "$ofile"
18907 # ### BEGIN LIBTOOL TAG CONFIG: CXX
18909 # The linker used to build libraries.
18912 # How to create reloadable object files.
18913 reload_flag=$lt_reload_flag_CXX
18914 reload_cmds=$lt_reload_cmds_CXX
18916 # Commands used to build an old-style archive.
18917 old_archive_cmds=$lt_old_archive_cmds_CXX
18919 # A language specific compiler.
18920 CC=$lt_compiler_CXX
18922 # Is the compiler the GNU compiler?
18925 # Compiler flag to turn off builtin functions.
18926 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
18928 # Additional compiler flags for building library objects.
18929 pic_flag=$lt_lt_prog_compiler_pic_CXX
18931 # How to pass a linker flag through the compiler.
18932 wl=$lt_lt_prog_compiler_wl_CXX
18934 # Compiler flag to prevent dynamic linking.
18935 link_static_flag=$lt_lt_prog_compiler_static_CXX
18937 # Does compiler simultaneously support -c and -o options?
18938 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
18940 # Whether or not to add -lc for building shared libraries.
18941 build_libtool_need_lc=$archive_cmds_need_lc_CXX
18943 # Whether or not to disallow shared libs when runtime libs are static.
18944 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
18946 # Compiler flag to allow reflexive dlopens.
18947 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
18949 # Compiler flag to generate shared objects directly from archives.
18950 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
18952 # Whether the compiler copes with passing no objects directly.
18953 compiler_needs_object=$lt_compiler_needs_object_CXX
18955 # Create an old-style archive from a shared archive.
18956 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
18958 # Create a temporary old-style archive to link instead of a shared archive.
18959 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
18961 # Commands used to build a shared archive.
18962 archive_cmds=$lt_archive_cmds_CXX
18963 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
18965 # Commands used to build a loadable module if different from building
18966 # a shared archive.
18967 module_cmds=$lt_module_cmds_CXX
18968 module_expsym_cmds=$lt_module_expsym_cmds_CXX
18970 # Whether we are building with GNU ld or not.
18971 with_gnu_ld=$lt_with_gnu_ld_CXX
18973 # Flag that allows shared libraries with undefined symbols to be built.
18974 allow_undefined_flag=$lt_allow_undefined_flag_CXX
18976 # Flag that enforces no undefined symbols.
18977 no_undefined_flag=$lt_no_undefined_flag_CXX
18979 # Flag to hardcode \$libdir into a binary during linking.
18980 # This must work even if \$libdir does not exist
18981 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
18983 # Whether we need a single "-rpath" flag with a separated argument.
18984 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
18986 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18987 # DIR into the resulting binary.
18988 hardcode_direct=$hardcode_direct_CXX
18990 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18991 # DIR into the resulting binary and the resulting library dependency is
18992 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18993 # library is relocated.
18994 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
18996 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18997 # into the resulting binary.
18998 hardcode_minus_L=$hardcode_minus_L_CXX
19000 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19001 # into the resulting binary.
19002 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
19004 # Set to "yes" if building a shared library automatically hardcodes DIR
19005 # into the library and all subsequent libraries and executables linked
19007 hardcode_automatic=$hardcode_automatic_CXX
19009 # Set to yes if linker adds runtime paths of dependent libraries
19010 # to runtime path list.
19011 inherit_rpath=$inherit_rpath_CXX
19013 # Whether libtool must link a program against all its dependency libraries.
19014 link_all_deplibs=$link_all_deplibs_CXX
19016 # Set to "yes" if exported symbols are required.
19017 always_export_symbols=$always_export_symbols_CXX
19019 # The commands to list exported symbols.
19020 export_symbols_cmds=$lt_export_symbols_cmds_CXX
19022 # Symbols that should not be listed in the preloaded symbols.
19023 exclude_expsyms=$lt_exclude_expsyms_CXX
19025 # Symbols that must always be exported.
19026 include_expsyms=$lt_include_expsyms_CXX
19028 # Commands necessary for linking programs (against libraries) with templates.
19029 prelink_cmds=$lt_prelink_cmds_CXX
19031 # Commands necessary for finishing linking programs.
19032 postlink_cmds=$lt_postlink_cmds_CXX
19034 # Specify filename containing input files.
19035 file_list_spec=$lt_file_list_spec_CXX
19037 # How to hardcode a shared library path into an executable.
19038 hardcode_action=$hardcode_action_CXX
19040 # The directories searched by this compiler when creating a shared library.
19041 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
19043 # Dependencies to place before and after the objects being linked to
19044 # create a shared library.
19045 predep_objects=$lt_predep_objects_CXX
19046 postdep_objects=$lt_postdep_objects_CXX
19047 predeps=$lt_predeps_CXX
19048 postdeps=$lt_postdeps_CXX
19050 # The library search path used internally by the compiler when linking
19051 # a shared library.
19052 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
19054 # ### END LIBTOOL TAG CONFIG: CXX
19065 ac_clean_files
=$ac_clean_files_save
19067 test $ac_write_fail = 0 ||
19068 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
19071 # configure is writing to config.log, and then calls config.status.
19072 # config.status does its own redirection, appending to config.log.
19073 # Unfortunately, on DOS this fails, as config.log is still kept open
19074 # by configure, so config.status won't be able to write to it; its
19075 # output is simply discarded. So we exec the FD to /dev/null,
19076 # effectively closing config.log, so it can be properly (re)opened and
19077 # appended to by config.status. When coming back to configure, we
19078 # need to make the FD available again.
19079 if test "$no_create" != yes; then
19081 ac_config_status_args
=
19082 test "$silent" = yes &&
19083 ac_config_status_args
="$ac_config_status_args --quiet"
19085 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
19087 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19088 # would make configure fail if this is the last instruction.
19089 $ac_cs_success || as_fn_exit
1
19091 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
19092 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19093 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}