URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
Compare Revisions
- This comparison shows the changes necessary to convert path
/openrisc/trunk/or1ksim/testsuite
- from Rev 625 to Rev 784
- ↔ Reverse comparison
Rev 625 → Rev 784
/libsim.tests/Makefile.in
108,6 → 108,7
DEFS = @DEFS@ |
DEJAGNU = @DEJAGNU@ |
DEPDIR = @DEPDIR@ |
DLLTOOL = @DLLTOOL@ |
DSYMUTIL = @DSYMUTIL@ |
DUMPBIN = @DUMPBIN@ |
ECHO_C = @ECHO_C@ |
135,6 → 136,7
LOCAL_LDFLAGS = @LOCAL_LDFLAGS@ |
LTLIBOBJS = @LTLIBOBJS@ |
MAKEINFO = @MAKEINFO@ |
MANIFEST_TOOL = @MANIFEST_TOOL@ |
MKDIR_P = @MKDIR_P@ |
NM = @NM@ |
NMEDIT = @NMEDIT@ |
164,6 → 166,7
abs_srcdir = @abs_srcdir@ |
abs_top_builddir = @abs_top_builddir@ |
abs_top_srcdir = @abs_top_srcdir@ |
ac_ct_AR = @ac_ct_AR@ |
ac_ct_CC = @ac_ct_CC@ |
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ |
am__include = @am__include@ |
196,7 → 199,6
libexecdir = @libexecdir@ |
localedir = @localedir@ |
localstatedir = @localstatedir@ |
lt_ECHO = @lt_ECHO@ |
mandir = @mandir@ |
mkdir_p = @mkdir_p@ |
oldincludedir = @oldincludedir@ |
/test-code-or1k/eth/Makefile.in
131,6 → 131,7
CYGPATH_W = @CYGPATH_W@ |
DEFS = @DEFS@ |
DEPDIR = @DEPDIR@ |
DLLTOOL = @DLLTOOL@ |
DSYMUTIL = @DSYMUTIL@ |
DUMPBIN = @DUMPBIN@ |
ECHO_C = @ECHO_C@ |
154,6 → 155,7
LN_S = @LN_S@ |
LTLIBOBJS = @LTLIBOBJS@ |
MAKEINFO = @MAKEINFO@ |
MANIFEST_TOOL = @MANIFEST_TOOL@ |
MKDIR_P = @MKDIR_P@ |
NM = @NM@ |
NMEDIT = @NMEDIT@ |
180,6 → 182,7
abs_srcdir = @abs_srcdir@ |
abs_top_builddir = @abs_top_builddir@ |
abs_top_srcdir = @abs_top_srcdir@ |
ac_ct_AR = @ac_ct_AR@ |
ac_ct_CC = @ac_ct_CC@ |
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ |
am__include = @am__include@ |
212,7 → 215,6
libexecdir = @libexecdir@ |
localedir = @localedir@ |
localstatedir = @localstatedir@ |
lt_ECHO = @lt_ECHO@ |
mandir = @mandir@ |
mkdir_p = @mkdir_p@ |
oldincludedir = @oldincludedir@ |
/test-code-or1k/m4/libtool.m4
1,7 → 1,8
# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*- |
# |
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, |
# 2006, 2007, 2008 Free Software Foundation, Inc. |
# 2006, 2007, 2008, 2009, 2010 Free Software Foundation, |
# Inc. |
# Written by Gordon Matzigkeit, 1996 |
# |
# This file is free software; the Free Software Foundation gives |
10,7 → 11,8
|
m4_define([_LT_COPYING], [dnl |
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, |
# 2006, 2007, 2008 Free Software Foundation, Inc. |
# 2006, 2007, 2008, 2009, 2010 Free Software Foundation, |
# Inc. |
# Written by Gordon Matzigkeit, 1996 |
# |
# This file is part of GNU Libtool. |
37,7 → 39,7
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
]) |
|
# serial 56 LT_INIT |
# serial 57 LT_INIT |
|
|
# LT_PREREQ(VERSION) |
66,6 → 68,7
# ------------------ |
AC_DEFUN([LT_INIT], |
[AC_PREREQ([2.58])dnl We use AC_INCLUDES_DEFAULT |
AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl |
AC_BEFORE([$0], [LT_LANG])dnl |
AC_BEFORE([$0], [LT_OUTPUT])dnl |
AC_BEFORE([$0], [LTDL_INIT])dnl |
82,6 → 85,8
AC_REQUIRE([LTOBSOLETE_VERSION])dnl |
m4_require([_LT_PROG_LTMAIN])dnl |
|
_LT_SHELL_INIT([SHELL=${CONFIG_SHELL-/bin/sh}]) |
|
dnl Parse OPTIONS |
_LT_SET_OPTIONS([$0], [$1]) |
|
118,7 → 123,7
*) break;; |
esac |
done |
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` |
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` |
]) |
|
|
138,6 → 143,9
m4_defun([_LT_SETUP], |
[AC_REQUIRE([AC_CANONICAL_HOST])dnl |
AC_REQUIRE([AC_CANONICAL_BUILD])dnl |
AC_REQUIRE([_LT_PREPARE_SED_QUOTE_VARS])dnl |
AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH])dnl |
|
_LT_DECL([], [host_alias], [0], [The host system])dnl |
_LT_DECL([], [host], [0])dnl |
_LT_DECL([], [host_os], [0])dnl |
160,10 → 168,13
dnl |
m4_require([_LT_FILEUTILS_DEFAULTS])dnl |
m4_require([_LT_CHECK_SHELL_FEATURES])dnl |
m4_require([_LT_PATH_CONVERSION_FUNCTIONS])dnl |
m4_require([_LT_CMD_RELOAD])dnl |
m4_require([_LT_CHECK_MAGIC_METHOD])dnl |
m4_require([_LT_CHECK_SHAREDLIB_FROM_LINKLIB])dnl |
m4_require([_LT_CMD_OLD_ARCHIVE])dnl |
m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl |
m4_require([_LT_WITH_SYSROOT])dnl |
|
_LT_CONFIG_LIBTOOL_INIT([ |
# See if we are running on zsh, and set the options which allow our |
179,7 → 190,6
_LT_CHECK_OBJDIR |
|
m4_require([_LT_TAG_COMPILER])dnl |
_LT_PROG_ECHO_BACKSLASH |
|
case $host_os in |
aix3*) |
193,23 → 203,6
;; |
esac |
|
# Sed substitution that helps us do robust quoting. It backslashifies |
# metacharacters that are still active within double-quoted strings. |
sed_quote_subst='s/\([["`$\\]]\)/\\\1/g' |
|
# Same as above, but do not quote variable references. |
double_quote_subst='s/\([["`\\]]\)/\\\1/g' |
|
# Sed substitution to delay expansion of an escaped shell variable in a |
# double_quote_subst'ed string. |
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' |
|
# Sed substitution to delay expansion of an escaped single quote. |
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' |
|
# Sed substitution to avoid accidental globbing in evaled expressions |
no_glob_subst='s/\*/\\\*/g' |
|
# Global variables: |
ofile=libtool |
can_build_shared=yes |
250,6 → 243,28
])# _LT_SETUP |
|
|
# _LT_PREPARE_SED_QUOTE_VARS |
# -------------------------- |
# Define a few sed substitution that help us do robust quoting. |
m4_defun([_LT_PREPARE_SED_QUOTE_VARS], |
[# Backslashify metacharacters that are still active within |
# double-quoted strings. |
sed_quote_subst='s/\([["`$\\]]\)/\\\1/g' |
|
# Same as above, but do not quote variable references. |
double_quote_subst='s/\([["`\\]]\)/\\\1/g' |
|
# Sed substitution to delay expansion of an escaped shell variable in a |
# double_quote_subst'ed string. |
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' |
|
# Sed substitution to delay expansion of an escaped single quote. |
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' |
|
# Sed substitution to avoid accidental globbing in evaled expressions |
no_glob_subst='s/\*/\\\*/g' |
]) |
|
# _LT_PROG_LTMAIN |
# --------------- |
# Note that this code is called both from `configure', and `config.status' |
408,7 → 423,7
# declaration there will have the same value as in `configure'. VARNAME |
# must have a single quote delimited value for this to work. |
m4_define([_LT_CONFIG_STATUS_DECLARE], |
[$1='`$ECHO "X$][$1" | $Xsed -e "$delay_single_quote_subst"`']) |
[$1='`$ECHO "$][$1" | $SED "$delay_single_quote_subst"`']) |
|
|
# _LT_CONFIG_STATUS_DECLARATIONS |
418,7 → 433,7
# embedded single quotes properly. In configure, this macro expands |
# each variable declared with _LT_DECL (and _LT_TAGDECL) into: |
# |
# <var>='`$ECHO "X$<var>" | $Xsed -e "$delay_single_quote_subst"`' |
# <var>='`$ECHO "$<var>" | $SED "$delay_single_quote_subst"`' |
m4_defun([_LT_CONFIG_STATUS_DECLARATIONS], |
[m4_foreach([_lt_var], m4_quote(lt_decl_all_varnames), |
[m4_n([_LT_CONFIG_STATUS_DECLARE(_lt_var)])])]) |
517,12 → 532,20
LTCFLAGS='$LTCFLAGS' |
compiler='$compiler_DEFAULT' |
|
# A function that is used when there is no print builtin or printf. |
func_fallback_echo () |
{ |
eval 'cat <<_LTECHO_EOF |
\$[]1 |
_LTECHO_EOF' |
} |
|
# Quote evaled strings. |
for var in lt_decl_all_varnames([[ \ |
]], lt_decl_quote_varnames); do |
case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in |
case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in |
*[[\\\\\\\`\\"\\\$]]*) |
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" |
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" |
;; |
*) |
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" |
533,9 → 556,9
# Double-quote double-evaled strings. |
for var in lt_decl_all_varnames([[ \ |
]], lt_decl_dquote_varnames); do |
case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in |
case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in |
*[[\\\\\\\`\\"\\\$]]*) |
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" |
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" |
;; |
*) |
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" |
543,16 → 566,38
esac |
done |
|
# Fix-up fallback echo if it was mangled by the above quoting rules. |
case \$lt_ECHO in |
*'\\\[$]0 --fallback-echo"')dnl " |
lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\[$]0 --fallback-echo"\[$]/\[$]0 --fallback-echo"/'\` |
;; |
esac |
|
_LT_OUTPUT_LIBTOOL_INIT |
]) |
|
# _LT_GENERATED_FILE_INIT(FILE, [COMMENT]) |
# ------------------------------------ |
# Generate a child script FILE with all initialization necessary to |
# reuse the environment learned by the parent script, and make the |
# file executable. If COMMENT is supplied, it is inserted after the |
# `#!' sequence but before initialization text begins. After this |
# macro, additional text can be appended to FILE to form the body of |
# the child script. The macro ends with non-zero status if the |
# file could not be fully written (such as if the disk is full). |
m4_ifdef([AS_INIT_GENERATED], |
[m4_defun([_LT_GENERATED_FILE_INIT],[AS_INIT_GENERATED($@)])], |
[m4_defun([_LT_GENERATED_FILE_INIT], |
[m4_require([AS_PREPARE])]dnl |
[m4_pushdef([AS_MESSAGE_LOG_FD])]dnl |
[lt_write_fail=0 |
cat >$1 <<_ASEOF || lt_write_fail=1 |
#! $SHELL |
# Generated by $as_me. |
$2 |
SHELL=\${CONFIG_SHELL-$SHELL} |
export SHELL |
_ASEOF |
cat >>$1 <<\_ASEOF || lt_write_fail=1 |
AS_SHELL_SANITIZE |
_AS_PREPARE |
exec AS_MESSAGE_FD>&1 |
_ASEOF |
test $lt_write_fail = 0 && chmod +x $1[]dnl |
m4_popdef([AS_MESSAGE_LOG_FD])])])# _LT_GENERATED_FILE_INIT |
|
# LT_OUTPUT |
# --------- |
562,20 → 607,11
AC_DEFUN([LT_OUTPUT], |
[: ${CONFIG_LT=./config.lt} |
AC_MSG_NOTICE([creating $CONFIG_LT]) |
cat >"$CONFIG_LT" <<_LTEOF |
#! $SHELL |
# Generated by $as_me. |
# Run this file to recreate a libtool stub with the current configuration. |
_LT_GENERATED_FILE_INIT(["$CONFIG_LT"], |
[# Run this file to recreate a libtool stub with the current configuration.]) |
|
cat >>"$CONFIG_LT" <<\_LTEOF |
lt_cl_silent=false |
SHELL=\${CONFIG_SHELL-$SHELL} |
_LTEOF |
|
cat >>"$CONFIG_LT" <<\_LTEOF |
AS_SHELL_SANITIZE |
_AS_PREPARE |
|
exec AS_MESSAGE_FD>&1 |
exec AS_MESSAGE_LOG_FD>>config.log |
{ |
echo |
601,7 → 637,7
m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION]) |
configured by $[0], generated by m4_PACKAGE_STRING. |
|
Copyright (C) 2008 Free Software Foundation, Inc. |
Copyright (C) 2010 Free Software Foundation, Inc. |
This config.lt script is free software; the Free Software Foundation |
gives unlimited permision to copy, distribute and modify it." |
|
646,15 → 682,13
# appending to config.log, which fails on DOS, as config.log is still kept |
# open by configure. Here we exec the FD to /dev/null, effectively closing |
# config.log, so it can be properly (re)opened and appended to by config.lt. |
if test "$no_create" != yes; then |
lt_cl_success=: |
test "$silent" = yes && |
lt_config_lt_args="$lt_config_lt_args --quiet" |
exec AS_MESSAGE_LOG_FD>/dev/null |
$SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false |
exec AS_MESSAGE_LOG_FD>>config.log |
$lt_cl_success || AS_EXIT(1) |
fi |
lt_cl_success=: |
test "$silent" = yes && |
lt_config_lt_args="$lt_config_lt_args --quiet" |
exec AS_MESSAGE_LOG_FD>/dev/null |
$SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false |
exec AS_MESSAGE_LOG_FD>>config.log |
$lt_cl_success || AS_EXIT(1) |
])# LT_OUTPUT |
|
|
717,15 → 751,12
# if finds mixed CR/LF and LF-only lines. Since sed operates in |
# text mode, it properly converts lines to CR/LF. This bash problem |
# is reportedly fixed, but why not run on old versions too? |
sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \ |
|| (rm -f "$cfgfile"; exit 1) |
sed '$q' "$ltmain" >> "$cfgfile" \ |
|| (rm -f "$cfgfile"; exit 1) |
|
_LT_PROG_XSI_SHELLFNS |
_LT_PROG_REPLACE_SHELLFNS |
|
sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \ |
|| (rm -f "$cfgfile"; exit 1) |
|
mv -f "$cfgfile" "$ofile" || |
mv -f "$cfgfile" "$ofile" || |
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") |
chmod +x "$ofile" |
], |
831,11 → 862,13
AU_DEFUN([AC_LIBTOOL_F77], [LT_LANG(Fortran 77)]) |
AU_DEFUN([AC_LIBTOOL_FC], [LT_LANG(Fortran)]) |
AU_DEFUN([AC_LIBTOOL_GCJ], [LT_LANG(Java)]) |
AU_DEFUN([AC_LIBTOOL_RC], [LT_LANG(Windows Resource)]) |
dnl aclocal-1.4 backwards compatibility: |
dnl AC_DEFUN([AC_LIBTOOL_CXX], []) |
dnl AC_DEFUN([AC_LIBTOOL_F77], []) |
dnl AC_DEFUN([AC_LIBTOOL_FC], []) |
dnl AC_DEFUN([AC_LIBTOOL_GCJ], []) |
dnl AC_DEFUN([AC_LIBTOOL_RC], []) |
|
|
# _LT_TAG_COMPILER |
940,6 → 973,31
[lt_cv_ld_exported_symbols_list=no]) |
LDFLAGS="$save_LDFLAGS" |
]) |
AC_CACHE_CHECK([for -force_load linker flag],[lt_cv_ld_force_load], |
[lt_cv_ld_force_load=no |
cat > conftest.c << _LT_EOF |
int forced_loaded() { return 2;} |
_LT_EOF |
echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&AS_MESSAGE_LOG_FD |
$LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&AS_MESSAGE_LOG_FD |
echo "$AR cru libconftest.a conftest.o" >&AS_MESSAGE_LOG_FD |
$AR cru libconftest.a conftest.o 2>&AS_MESSAGE_LOG_FD |
echo "$RANLIB libconftest.a" >&AS_MESSAGE_LOG_FD |
$RANLIB libconftest.a 2>&AS_MESSAGE_LOG_FD |
cat > conftest.c << _LT_EOF |
int main() { return 0;} |
_LT_EOF |
echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&AS_MESSAGE_LOG_FD |
$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err |
_lt_result=$? |
if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then |
lt_cv_ld_force_load=yes |
else |
cat conftest.err >&AS_MESSAGE_LOG_FD |
fi |
rm -f conftest.err libconftest.a conftest conftest.c |
rm -rf conftest.dSYM |
]) |
case $host_os in |
rhapsody* | darwin1.[[012]]) |
_lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; |
967,7 → 1025,7
else |
_lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' |
fi |
if test "$DSYMUTIL" != ":"; then |
if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then |
_lt_dsymutil='~$DSYMUTIL $lib || :' |
else |
_lt_dsymutil= |
987,7 → 1045,11
_LT_TAGVAR(hardcode_direct, $1)=no |
_LT_TAGVAR(hardcode_automatic, $1)=yes |
_LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported |
_LT_TAGVAR(whole_archive_flag_spec, $1)='' |
if test "$lt_cv_ld_force_load" = "yes"; then |
_LT_TAGVAR(whole_archive_flag_spec, $1)='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`' |
else |
_LT_TAGVAR(whole_archive_flag_spec, $1)='' |
fi |
_LT_TAGVAR(link_all_deplibs, $1)=yes |
_LT_TAGVAR(allow_undefined_flag, $1)="$_lt_dar_allow_undefined" |
case $cc_basename in |
995,7 → 1057,7
*) _lt_dar_can_shared=$GCC ;; |
esac |
if test "$_lt_dar_can_shared" = "yes"; then |
output_verbose_link_cmd=echo |
output_verbose_link_cmd=func_echo_all |
_LT_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" |
_LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" |
_LT_TAGVAR(archive_expsym_cmds, $1)="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}" |
1011,8 → 1073,8
fi |
]) |
|
# _LT_SYS_MODULE_PATH_AIX |
# ----------------------- |
# _LT_SYS_MODULE_PATH_AIX([TAGNAME]) |
# ---------------------------------- |
# Links a minimal program and checks the executable |
# for the system default hardcoded library path. In most cases, |
# this is /usr/lib:/lib, but when the MPI compilers are used |
1019,22 → 1081,33
# the location of the communication and MPI libs are included too. |
# If we don't find anything, use the default library path according |
# to the aix ld manual. |
# Store the results from the different compilers for each TAGNAME. |
# Allow to override them for all tags through lt_cv_aix_libpath. |
m4_defun([_LT_SYS_MODULE_PATH_AIX], |
[m4_require([_LT_DECL_SED])dnl |
AC_LINK_IFELSE(AC_LANG_PROGRAM,[ |
lt_aix_libpath_sed=' |
/Import File Strings/,/^$/ { |
/^0/ { |
s/^0 *\(.*\)$/\1/ |
p |
} |
}' |
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
# Check for a 64-bit object if we didn't find anything. |
if test -z "$aix_libpath"; then |
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
fi],[]) |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
if test "${lt_cv_aix_libpath+set}" = set; then |
aix_libpath=$lt_cv_aix_libpath |
else |
AC_CACHE_VAL([_LT_TAGVAR([lt_cv_aix_libpath_], [$1])], |
[AC_LINK_IFELSE([AC_LANG_PROGRAM],[ |
lt_aix_libpath_sed='[ |
/Import File Strings/,/^$/ { |
/^0/ { |
s/^0 *\([^ ]*\) *$/\1/ |
p |
} |
}]' |
_LT_TAGVAR([lt_cv_aix_libpath_], [$1])=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
# Check for a 64-bit object if we didn't find anything. |
if test -z "$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])"; then |
_LT_TAGVAR([lt_cv_aix_libpath_], [$1])=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
fi],[]) |
if test -z "$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])"; then |
_LT_TAGVAR([lt_cv_aix_libpath_], [$1])="/usr/lib:/lib" |
fi |
]) |
aix_libpath=$_LT_TAGVAR([lt_cv_aix_libpath_], [$1]) |
fi |
])# _LT_SYS_MODULE_PATH_AIX |
|
|
1041,173 → 1114,101
# _LT_SHELL_INIT(ARG) |
# ------------------- |
m4_define([_LT_SHELL_INIT], |
[ifdef([AC_DIVERSION_NOTICE], |
[AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)], |
[AC_DIVERT_PUSH(NOTICE)]) |
$1 |
AC_DIVERT_POP |
])# _LT_SHELL_INIT |
[m4_divert_text([M4SH-INIT], [$1 |
])])# _LT_SHELL_INIT |
|
|
|
# _LT_PROG_ECHO_BACKSLASH |
# ----------------------- |
# Add some code to the start of the generated configure script which |
# will find an echo command which doesn't interpret backslashes. |
# Find how we can fake an echo command that does not interpret backslash. |
# In particular, with Autoconf 2.60 or later we add some code to the start |
# of the generated configure script which will find a shell with a builtin |
# printf (which we can use as an echo command). |
m4_defun([_LT_PROG_ECHO_BACKSLASH], |
[_LT_SHELL_INIT([ |
# Check that we are running under the correct shell. |
SHELL=${CONFIG_SHELL-/bin/sh} |
[ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO |
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO |
|
case X$lt_ECHO in |
X*--fallback-echo) |
# Remove one level of quotation (which was required for Make). |
ECHO=`echo "$lt_ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','` |
;; |
esac |
|
ECHO=${lt_ECHO-echo} |
if test "X[$]1" = X--no-reexec; then |
# Discard the --no-reexec flag, and continue. |
shift |
elif test "X[$]1" = X--fallback-echo; then |
# Avoid inline document here, it may be left over |
: |
elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then |
# Yippee, $ECHO works! |
: |
AC_MSG_CHECKING([how to print strings]) |
# Test print first, because it will be a builtin if present. |
if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ |
test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then |
ECHO='print -r --' |
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then |
ECHO='printf %s\n' |
else |
# Restart under the correct shell. |
exec $SHELL "[$]0" --no-reexec ${1+"[$]@"} |
# Use this function as a fallback that always works. |
func_fallback_echo () |
{ |
eval 'cat <<_LTECHO_EOF |
$[]1 |
_LTECHO_EOF' |
} |
ECHO='func_fallback_echo' |
fi |
|
if test "X[$]1" = X--fallback-echo; then |
# used as fallback echo |
shift |
cat <<_LT_EOF |
[$]* |
_LT_EOF |
exit 0 |
fi |
# func_echo_all arg... |
# Invoke $ECHO with all args, space-separated. |
func_echo_all () |
{ |
$ECHO "$*" |
} |
|
# The HP-UX ksh and POSIX shell print the target directory to stdout |
# if CDPATH is set. |
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
case "$ECHO" in |
printf*) AC_MSG_RESULT([printf]) ;; |
print*) AC_MSG_RESULT([print -r]) ;; |
*) AC_MSG_RESULT([cat]) ;; |
esac |
|
if test -z "$lt_ECHO"; then |
if test "X${echo_test_string+set}" != Xset; then |
# find a string as large as possible, as long as the shell can cope with it |
for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do |
# expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ... |
if { echo_test_string=`eval $cmd`; } 2>/dev/null && |
{ test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null |
then |
break |
fi |
done |
fi |
m4_ifdef([_AS_DETECT_SUGGESTED], |
[_AS_DETECT_SUGGESTED([ |
test -n "${ZSH_VERSION+set}${BASH_VERSION+set}" || ( |
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO |
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO |
PATH=/empty FPATH=/empty; export PATH FPATH |
test "X`printf %s $ECHO`" = "X$ECHO" \ |
|| test "X`print -r -- $ECHO`" = "X$ECHO" )])]) |
|
if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' && |
echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` && |
test "X$echo_testing_string" = "X$echo_test_string"; then |
: |
else |
# The Solaris, AIX, and Digital Unix default echo programs unquote |
# backslashes. This makes it impossible to quote backslashes using |
# echo "$something" | sed 's/\\/\\\\/g' |
# |
# So, first we look for a working echo in the user's PATH. |
_LT_DECL([], [SHELL], [1], [Shell to use when invoking shell scripts]) |
_LT_DECL([], [ECHO], [1], [An echo program that protects backslashes]) |
])# _LT_PROG_ECHO_BACKSLASH |
|
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR |
for dir in $PATH /usr/ucb; do |
IFS="$lt_save_ifs" |
if (test -f $dir/echo || test -f $dir/echo$ac_exeext) && |
test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' && |
echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && |
test "X$echo_testing_string" = "X$echo_test_string"; then |
ECHO="$dir/echo" |
break |
fi |
done |
IFS="$lt_save_ifs" |
|
if test "X$ECHO" = Xecho; then |
# We didn't find a better echo, so look for alternatives. |
if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' && |
echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` && |
test "X$echo_testing_string" = "X$echo_test_string"; then |
# This shell has a builtin print -r that does the trick. |
ECHO='print -r' |
elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } && |
test "X$CONFIG_SHELL" != X/bin/ksh; then |
# If we have ksh, try running configure again with it. |
ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} |
export ORIGINAL_CONFIG_SHELL |
CONFIG_SHELL=/bin/ksh |
export CONFIG_SHELL |
exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"} |
else |
# Try using printf. |
ECHO='printf %s\n' |
if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' && |
echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` && |
test "X$echo_testing_string" = "X$echo_test_string"; then |
# Cool, printf works |
: |
elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` && |
test "X$echo_testing_string" = 'X\t' && |
echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` && |
test "X$echo_testing_string" = "X$echo_test_string"; then |
CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL |
export CONFIG_SHELL |
SHELL="$CONFIG_SHELL" |
export SHELL |
ECHO="$CONFIG_SHELL [$]0 --fallback-echo" |
elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` && |
test "X$echo_testing_string" = 'X\t' && |
echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` && |
test "X$echo_testing_string" = "X$echo_test_string"; then |
ECHO="$CONFIG_SHELL [$]0 --fallback-echo" |
else |
# maybe with a smaller string... |
prev=: |
# _LT_WITH_SYSROOT |
# ---------------- |
AC_DEFUN([_LT_WITH_SYSROOT], |
[AC_MSG_CHECKING([for sysroot]) |
AC_ARG_WITH([sysroot], |
[ --with-sysroot[=DIR] Search for dependent libraries within DIR |
(or the compiler's sysroot if not specified).], |
[], [with_sysroot=no]) |
|
for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do |
if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null |
then |
break |
fi |
prev="$cmd" |
done |
dnl lt_sysroot will always be passed unquoted. We quote it here |
dnl in case the user passed a directory name. |
lt_sysroot= |
case ${with_sysroot} in #( |
yes) |
if test "$GCC" = yes; then |
lt_sysroot=`$CC --print-sysroot 2>/dev/null` |
fi |
;; #( |
/*) |
lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` |
;; #( |
no|'') |
;; #( |
*) |
AC_MSG_RESULT([${with_sysroot}]) |
AC_MSG_ERROR([The sysroot must be an absolute path.]) |
;; |
esac |
|
if test "$prev" != 'sed 50q "[$]0"'; then |
echo_test_string=`eval $prev` |
export echo_test_string |
exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"} |
else |
# Oops. We lost completely, so just stick with echo. |
ECHO=echo |
fi |
fi |
fi |
fi |
fi |
fi |
AC_MSG_RESULT([${lt_sysroot:-no}]) |
_LT_DECL([], [lt_sysroot], [0], [The root where to search for ]dnl |
[dependent libraries, and in which our libraries should be installed.])]) |
|
# Copy echo and quote the copy suitably for passing to libtool from |
# the Makefile, instead of quoting the original, which is used later. |
lt_ECHO=$ECHO |
if test "X$lt_ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then |
lt_ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo" |
fi |
|
AC_SUBST(lt_ECHO) |
]) |
_LT_DECL([], [SHELL], [1], [Shell to use when invoking shell scripts]) |
_LT_DECL([], [ECHO], [1], |
[An echo program that does not interpret backslashes]) |
])# _LT_PROG_ECHO_BACKSLASH |
|
|
# _LT_ENABLE_LOCK |
# --------------- |
m4_defun([_LT_ENABLE_LOCK], |
1236,7 → 1237,7
;; |
*-*-irix6*) |
# Find out which ABI we are using. |
echo '[#]line __oline__ "configure"' > conftest.$ac_ext |
echo '[#]line '$LINENO' "configure"' > conftest.$ac_ext |
if AC_TRY_EVAL(ac_compile); then |
if test "$lt_cv_prog_gnu_ld" = yes; then |
case `/usr/bin/file conftest.$ac_objext` in |
1354,14 → 1355,47
])# _LT_ENABLE_LOCK |
|
|
# _LT_PROG_AR |
# ----------- |
m4_defun([_LT_PROG_AR], |
[AC_CHECK_TOOLS(AR, [ar], false) |
: ${AR=ar} |
: ${AR_FLAGS=cru} |
_LT_DECL([], [AR], [1], [The archiver]) |
_LT_DECL([], [AR_FLAGS], [1], [Flags to create an archive]) |
|
AC_CACHE_CHECK([for archiver @FILE support], [lt_cv_ar_at_file], |
[lt_cv_ar_at_file=no |
AC_COMPILE_IFELSE([AC_LANG_PROGRAM], |
[echo conftest.$ac_objext > conftest.lst |
lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&AS_MESSAGE_LOG_FD' |
AC_TRY_EVAL([lt_ar_try]) |
if test "$ac_status" -eq 0; then |
# Ensure the archiver fails upon bogus file names. |
rm -f conftest.$ac_objext libconftest.a |
AC_TRY_EVAL([lt_ar_try]) |
if test "$ac_status" -ne 0; then |
lt_cv_ar_at_file=@ |
fi |
fi |
rm -f conftest.* libconftest.a |
]) |
]) |
|
if test "x$lt_cv_ar_at_file" = xno; then |
archiver_list_spec= |
else |
archiver_list_spec=$lt_cv_ar_at_file |
fi |
_LT_DECL([], [archiver_list_spec], [1], |
[How to feed a file listing to the archiver]) |
])# _LT_PROG_AR |
|
|
# _LT_CMD_OLD_ARCHIVE |
# ------------------- |
m4_defun([_LT_CMD_OLD_ARCHIVE], |
[AC_CHECK_TOOL(AR, ar, false) |
test -z "$AR" && AR=ar |
test -z "$AR_FLAGS" && AR_FLAGS=cru |
_LT_DECL([], [AR], [1], [The archiver]) |
_LT_DECL([], [AR_FLAGS], [1]) |
[_LT_PROG_AR |
|
AC_CHECK_TOOL(STRIP, strip, :) |
test -z "$STRIP" && STRIP=: |
1388,10 → 1422,19
esac |
old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" |
fi |
|
case $host_os in |
darwin*) |
lock_old_archive_extraction=yes ;; |
*) |
lock_old_archive_extraction=no ;; |
esac |
_LT_DECL([], [old_postinstall_cmds], [2]) |
_LT_DECL([], [old_postuninstall_cmds], [2]) |
_LT_TAGDECL([], [old_archive_cmds], [2], |
[Commands used to build an old-style archive]) |
_LT_DECL([], [lock_old_archive_extraction], [0], |
[Whether to use a lock for old archive extraction]) |
])# _LT_CMD_OLD_ARCHIVE |
|
|
1416,15 → 1459,15
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
-e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's:$: $lt_compiler_flag:'` |
(eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD) |
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&AS_MESSAGE_LOG_FD) |
(eval "$lt_compile" 2>conftest.err) |
ac_status=$? |
cat conftest.err >&AS_MESSAGE_LOG_FD |
echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD |
echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD |
if (exit $ac_status) && test -s "$ac_outfile"; then |
# The compiler can only warn and ignore the option if not recognized |
# So say no if there are warnings other than the usual output. |
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp |
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp |
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then |
$2=yes |
1464,7 → 1507,7
if test -s conftest.err; then |
# Append any errors to the config.log. |
cat conftest.err 1>&AS_MESSAGE_LOG_FD |
$ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp |
$ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp |
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
if diff conftest.exp conftest.er2 >/dev/null; then |
$2=yes |
1527,6 → 1570,11
lt_cv_sys_max_cmd_len=8192; |
;; |
|
mint*) |
# On MiNT this can take a long time and run out of memory. |
lt_cv_sys_max_cmd_len=8192; |
;; |
|
amigaos*) |
# On AmigaOS with pdksh, this test takes hours, literally. |
# So we just punt and use a minimum line length of 8192. |
1591,8 → 1639,8
# If test is not a shell built-in, we'll probably end up computing a |
# maximum length that is only half of the actual maximum length, but |
# we can't tell. |
while { test "X"`$SHELL [$]0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \ |
= "XX$teststring$teststring"; } >/dev/null 2>&1 && |
while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \ |
= "X$teststring$teststring"; } >/dev/null 2>&1 && |
test $i != 17 # 1/2 MB should be enough |
do |
i=`expr $i + 1` |
1643,7 → 1691,7
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
lt_status=$lt_dlunknown |
cat > conftest.$ac_ext <<_LT_EOF |
[#line __oline__ "configure" |
[#line $LINENO "configure" |
#include "confdefs.h" |
|
#if HAVE_DLFCN_H |
1684,7 → 1732,13
# endif |
#endif |
|
void fnord() { int i=42;} |
/* When -fvisbility=hidden is used, assume the code has been annotated |
correspondingly for the symbols needed. */ |
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) |
int fnord () __attribute__((visibility("default"))); |
#endif |
|
int fnord () { return 42; } |
int main () |
{ |
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); |
1693,7 → 1747,11
if (self) |
{ |
if (dlsym (self,"fnord")) status = $lt_dlno_uscore; |
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; |
else |
{ |
if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; |
else puts (dlerror ()); |
} |
/* dlclose (self); */ |
} |
else |
1869,16 → 1927,16
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
-e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's:$: $lt_compiler_flag:'` |
(eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD) |
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&AS_MESSAGE_LOG_FD) |
(eval "$lt_compile" 2>out/conftest.err) |
ac_status=$? |
cat out/conftest.err >&AS_MESSAGE_LOG_FD |
echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD |
echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
then |
# The compiler can only warn and ignore the option if not recognized |
# So say no if there are warnings |
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp |
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp |
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 |
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then |
_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes |
2037,6 → 2095,7
m4_require([_LT_FILEUTILS_DEFAULTS])dnl |
m4_require([_LT_DECL_OBJDUMP])dnl |
m4_require([_LT_DECL_SED])dnl |
m4_require([_LT_CHECK_SHELL_FEATURES])dnl |
AC_MSG_CHECKING([dynamic linker characteristics]) |
m4_if([$1], |
[], [ |
2045,16 → 2104,23
darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; |
*) lt_awk_arg="/^libraries:/" ;; |
esac |
lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"` |
if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then |
case $host_os in |
mingw* | cegcc*) lt_sed_strip_eq="s,=\([[A-Za-z]]:\),\1,g" ;; |
*) lt_sed_strip_eq="s,=/,/,g" ;; |
esac |
lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` |
case $lt_search_path_spec in |
*\;*) |
# if the path contains ";" then we assume it to be the separator |
# otherwise default to the standard path separator (i.e. ":") - it is |
# assumed that no part of a normal pathname contains ";" but that should |
# okay in the real world where ";" in dirpaths is itself problematic. |
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'` |
else |
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` |
fi |
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` |
;; |
*) |
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` |
;; |
esac |
# Ok, now we have the path, separated by spaces, we can step through it |
# and add multilib dir if necessary. |
lt_tmp_lt_search_path_spec= |
2067,7 → 2133,7
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" |
fi |
done |
lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk ' |
lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' |
BEGIN {RS=" "; FS="/|\n";} { |
lt_foo=""; |
lt_count=0; |
2087,7 → 2153,13
if (lt_foo != "") { lt_freq[[lt_foo]]++; } |
if (lt_freq[[lt_foo]] == 1) { print lt_foo; } |
}'` |
sys_lib_search_path_spec=`$ECHO $lt_search_path_spec` |
# AWK program above erroneously prepends '/' to C:/dos/paths |
# for these hosts. |
case $host_os in |
mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ |
$SED 's,/\([[A-Za-z]]:\),\1,g'` ;; |
esac |
sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` |
else |
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" |
fi]) |
2175,7 → 2247,7
m68k) |
library_names_spec='$libname.ixlibrary $libname.a' |
# Create ${libname}_ixlibrary.a entries in /sys/libs. |
finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''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' |
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' |
;; |
esac |
;; |
2206,8 → 2278,9
need_version=no |
need_lib_prefix=no |
|
case $GCC,$host_os in |
yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*) |
case $GCC,$cc_basename in |
yes,*) |
# gcc |
library_names_spec='$libname.dll.a' |
# DLL is installed to $(libdir)/../bin by postinstall_cmds |
postinstall_cmds='base_file=`basename \${file}`~ |
2228,23 → 2301,12
cygwin*) |
# Cygwin DLLs use 'cyg' prefix rather than 'lib' |
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' |
sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" |
m4_if([$1], [],[ |
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"]) |
;; |
mingw* | cegcc*) |
# MinGW DLLs use traditional 'lib' prefix |
soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' |
sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` |
if $ECHO "$sys_lib_search_path_spec" | [$GREP ';[c-zC-Z]:/' >/dev/null]; then |
# It is most probably a Windows format PATH printed by |
# mingw gcc, but we are running on Cygwin. Gcc prints its search |
# path with ; separators, and with drive letters. We can handle the |
# drive letters (cygwin fileutils understands them), so leave them, |
# especially as we might pass files found there to a mingw objdump, |
# which wouldn't understand a cygwinified path. Ahh. |
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` |
else |
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` |
fi |
;; |
pw32*) |
# pw32 DLLs use 'pw' prefix rather than 'lib' |
2251,13 → 2313,71
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' |
;; |
esac |
dynamic_linker='Win32 ld.exe' |
;; |
|
*,cl*) |
# Native MSVC |
libname_spec='$name' |
soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' |
library_names_spec='${libname}.dll.lib' |
|
case $build_os in |
mingw*) |
sys_lib_search_path_spec= |
lt_save_ifs=$IFS |
IFS=';' |
for lt_path in $LIB |
do |
IFS=$lt_save_ifs |
# Let DOS variable expansion print the short 8.3 style file name. |
lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` |
sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" |
done |
IFS=$lt_save_ifs |
# Convert to MSYS style. |
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([[a-zA-Z]]\\):| /\\1|g' -e 's|^ ||'` |
;; |
cygwin*) |
# Convert to unix form, then to dos form, then back to unix form |
# but this time dos style (no spaces!) so that the unix form looks |
# like /cygdrive/c/PROGRA~1:/cygdr... |
sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` |
sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` |
sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` |
;; |
*) |
sys_lib_search_path_spec="$LIB" |
if $ECHO "$sys_lib_search_path_spec" | [$GREP ';[c-zC-Z]:/' >/dev/null]; then |
# It is most probably a Windows format PATH. |
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` |
else |
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` |
fi |
# FIXME: find the short name or the path components, as spaces are |
# common. (e.g. "Program Files" -> "PROGRA~1") |
;; |
esac |
|
# DLL is installed to $(libdir)/../bin by postinstall_cmds |
postinstall_cmds='base_file=`basename \${file}`~ |
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ |
dldir=$destdir/`dirname \$dlpath`~ |
test -d \$dldir || mkdir -p \$dldir~ |
$install_prog $dir/$dlname \$dldir/$dlname' |
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ |
dlpath=$dir/\$dldll~ |
$RM \$dlpath' |
shlibpath_overrides_runpath=yes |
dynamic_linker='Win32 link.exe' |
;; |
|
*) |
# Assume MSVC wrapper |
library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib' |
dynamic_linker='Win32 ld.exe' |
;; |
esac |
dynamic_linker='Win32 ld.exe' |
# FIXME: first we should search . and the directory the executable is in |
shlibpath_var=PATH |
;; |
2344,6 → 2464,19
hardcode_into_libs=yes |
;; |
|
haiku*) |
version_type=linux |
need_lib_prefix=no |
need_version=no |
dynamic_linker="$host_os runtime_loader" |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' |
soname_spec='${libname}${release}${shared_ext}$major' |
shlibpath_var=LIBRARY_PATH |
shlibpath_overrides_runpath=yes |
sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' |
hardcode_into_libs=yes |
;; |
|
hpux9* | hpux10* | hpux11*) |
# Give a soname corresponding to the major version so that dld.sl refuses to |
# link against other versions. |
2386,8 → 2519,10
soname_spec='${libname}${release}${shared_ext}$major' |
;; |
esac |
# HP-UX runs *really* slowly unless shared libraries are mode 555. |
# HP-UX runs *really* slowly unless shared libraries are mode 555, ... |
postinstall_cmds='chmod 555 $lib' |
# or fails outright, so override atomically: |
install_override_mode=555 |
;; |
|
interix[[3-9]]*) |
2445,7 → 2580,7
;; |
|
# This must be Linux ELF. |
linux* | k*bsd*-gnu) |
linux* | k*bsd*-gnu | kopensolaris*-gnu) |
version_type=linux |
need_lib_prefix=no |
need_version=no |
2454,16 → 2589,21
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' |
shlibpath_var=LD_LIBRARY_PATH |
shlibpath_overrides_runpath=no |
|
# Some binutils ld are patched to set DT_RUNPATH |
save_LDFLAGS=$LDFLAGS |
save_libdir=$libdir |
eval "libdir=/foo; wl=\"$_LT_TAGVAR(lt_prog_compiler_wl, $1)\"; \ |
LDFLAGS=\"\$LDFLAGS $_LT_TAGVAR(hardcode_libdir_flag_spec, $1)\"" |
AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])], |
[AS_IF([ ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null], |
[shlibpath_overrides_runpath=yes])]) |
LDFLAGS=$save_LDFLAGS |
libdir=$save_libdir |
AC_CACHE_VAL([lt_cv_shlibpath_overrides_runpath], |
[lt_cv_shlibpath_overrides_runpath=no |
save_LDFLAGS=$LDFLAGS |
save_libdir=$libdir |
eval "libdir=/foo; wl=\"$_LT_TAGVAR(lt_prog_compiler_wl, $1)\"; \ |
LDFLAGS=\"\$LDFLAGS $_LT_TAGVAR(hardcode_libdir_flag_spec, $1)\"" |
AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])], |
[AS_IF([ ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null], |
[lt_cv_shlibpath_overrides_runpath=yes])]) |
LDFLAGS=$save_LDFLAGS |
libdir=$save_libdir |
]) |
shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath |
|
# This implies no fast_install, which is unacceptable. |
# Some rework will be needed to allow for fast_install |
2470,10 → 2610,14
# before this can be enabled. |
hardcode_into_libs=yes |
|
# Add ABI-specific directories to the system library path. |
sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib" |
|
# Append ld.so.conf contents to the search path |
if test -f /etc/ld.so.conf; then |
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;/^$/d' | tr '\n' ' '` |
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" |
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' ' '` |
sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra" |
|
fi |
|
# We used to test for /lib/ld.so.1 and disable shared libraries on |
2485,18 → 2629,6
dynamic_linker='GNU/Linux ld.so' |
;; |
|
netbsdelf*-gnu) |
version_type=linux |
need_lib_prefix=no |
need_version=no |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
soname_spec='${libname}${release}${shared_ext}$major' |
shlibpath_var=LD_LIBRARY_PATH |
shlibpath_overrides_runpath=no |
hardcode_into_libs=yes |
dynamic_linker='NetBSD ld.elf_so' |
;; |
|
netbsd*) |
version_type=sunos |
need_lib_prefix=no |
2717,6 → 2849,8
The last name is the one that the linker finds with -lNAME]]) |
_LT_DECL([], [soname_spec], [1], |
[[The coded name of the library, if different from the real name]]) |
_LT_DECL([], [install_override_mode], [1], |
[Permission mode override for installation of shared libraries]) |
_LT_DECL([], [postinstall_cmds], [2], |
[Command to use after installation of a shared archive]) |
_LT_DECL([], [postuninstall_cmds], [2], |
2829,6 → 2963,7
AC_REQUIRE([AC_CANONICAL_BUILD])dnl |
m4_require([_LT_DECL_SED])dnl |
m4_require([_LT_DECL_EGREP])dnl |
m4_require([_LT_PROG_ECHO_BACKSLASH])dnl |
|
AC_ARG_WITH([gnu-ld], |
[AS_HELP_STRING([--with-gnu-ld], |
2950,6 → 3085,11
esac |
reload_cmds='$LD$reload_flag -o $output$reload_objs' |
case $host_os in |
cygwin* | mingw* | pw32* | cegcc*) |
if test "$GCC" != yes; then |
reload_cmds=false |
fi |
;; |
darwin*) |
if test "$GCC" = yes; then |
reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' |
2958,8 → 3098,8
fi |
;; |
esac |
_LT_DECL([], [reload_flag], [1], [How to create reloadable object files])dnl |
_LT_DECL([], [reload_cmds], [2])dnl |
_LT_TAGDECL([], [reload_flag], [1], [How to create reloadable object files])dnl |
_LT_TAGDECL([], [reload_cmds], [2])dnl |
])# _LT_CMD_RELOAD |
|
|
3011,16 → 3151,18
# Base MSYS/MinGW do not provide the 'file' command needed by |
# func_win32_libid shell function, so use a weaker test based on 'objdump', |
# unless we find 'file', for example because we are cross-compiling. |
if ( file / ) >/dev/null 2>&1; then |
# func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin. |
if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then |
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' |
lt_cv_file_magic_cmd='func_win32_libid' |
else |
lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' |
# Keep this pattern in sync with the one in func_win32_libid. |
lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' |
lt_cv_file_magic_cmd='$OBJDUMP -f' |
fi |
;; |
|
cegcc) |
cegcc*) |
# use the weaker test based on 'objdump'. See mingw*. |
lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' |
lt_cv_file_magic_cmd='$OBJDUMP -f' |
3050,6 → 3192,10
lt_cv_deplibs_check_method=pass_all |
;; |
|
haiku*) |
lt_cv_deplibs_check_method=pass_all |
;; |
|
hpux10.20* | hpux11*) |
lt_cv_file_magic_cmd=/usr/bin/file |
case $host_cpu in |
3058,11 → 3204,11
lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so |
;; |
hppa*64*) |
[lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'] |
[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]'] |
lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl |
;; |
*) |
lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library' |
lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]]\.[[0-9]]) shared library' |
lt_cv_file_magic_test_file=/usr/lib/libc.sl |
;; |
esac |
3084,11 → 3230,11
;; |
|
# This must be Linux ELF. |
linux* | k*bsd*-gnu) |
linux* | k*bsd*-gnu | kopensolaris*-gnu) |
lt_cv_deplibs_check_method=pass_all |
;; |
|
netbsd* | netbsdelf*-gnu) |
netbsd*) |
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then |
lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$' |
else |
3162,6 → 3308,21
;; |
esac |
]) |
|
file_magic_glob= |
want_nocaseglob=no |
if test "$build" = "$host"; then |
case $host_os in |
mingw* | pw32*) |
if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then |
want_nocaseglob=yes |
else |
file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[[\1]]\/[[\1]]\/g;/g"` |
fi |
;; |
esac |
fi |
|
file_magic_cmd=$lt_cv_file_magic_cmd |
deplibs_check_method=$lt_cv_deplibs_check_method |
test -z "$deplibs_check_method" && deplibs_check_method=unknown |
3169,7 → 3330,11
_LT_DECL([], [deplibs_check_method], [1], |
[Method to check whether dependent libraries are shared objects]) |
_LT_DECL([], [file_magic_cmd], [1], |
[Command to use when deplibs_check_method == "file_magic"]) |
[Command to use when deplibs_check_method = "file_magic"]) |
_LT_DECL([], [file_magic_glob], [1], |
[How to find potential files when deplibs_check_method = "file_magic"]) |
_LT_DECL([], [want_nocaseglob], [1], |
[Find potential files using nocaseglob when deplibs_check_method = "file_magic"]) |
])# _LT_CHECK_MAGIC_METHOD |
|
|
3226,7 → 3391,19
NM="$lt_cv_path_NM" |
else |
# Didn't find any BSD compatible name lister, look for dumpbin. |
AC_CHECK_TOOLS(DUMPBIN, ["dumpbin -symbols" "link -dump -symbols"], :) |
if test -n "$DUMPBIN"; then : |
# Let the user override the test. |
else |
AC_CHECK_TOOLS(DUMPBIN, [dumpbin "link -dump"], :) |
case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in |
*COFF*) |
DUMPBIN="$DUMPBIN -symbols" |
;; |
*) |
DUMPBIN=: |
;; |
esac |
fi |
AC_SUBST([DUMPBIN]) |
if test "$DUMPBIN" != ":"; then |
NM="$DUMPBIN" |
3239,13 → 3416,13
AC_CACHE_CHECK([the name lister ($NM) interface], [lt_cv_nm_interface], |
[lt_cv_nm_interface="BSD nm" |
echo "int some_variable = 0;" > conftest.$ac_ext |
(eval echo "\"\$as_me:__oline__: $ac_compile\"" >&AS_MESSAGE_LOG_FD) |
(eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&AS_MESSAGE_LOG_FD) |
(eval "$ac_compile" 2>conftest.err) |
cat conftest.err >&AS_MESSAGE_LOG_FD |
(eval echo "\"\$as_me:__oline__: $NM \\\"conftest.$ac_objext\\\"\"" >&AS_MESSAGE_LOG_FD) |
(eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&AS_MESSAGE_LOG_FD) |
(eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) |
cat conftest.err >&AS_MESSAGE_LOG_FD |
(eval echo "\"\$as_me:__oline__: output\"" >&AS_MESSAGE_LOG_FD) |
(eval echo "\"\$as_me:$LINENO: output\"" >&AS_MESSAGE_LOG_FD) |
cat conftest.out >&AS_MESSAGE_LOG_FD |
if $GREP 'External.*some_variable' conftest.out > /dev/null; then |
lt_cv_nm_interface="MS dumpbin" |
3260,7 → 3437,68
dnl AC_DEFUN([AM_PROG_NM], []) |
dnl AC_DEFUN([AC_PROG_NM], []) |
|
# _LT_CHECK_SHAREDLIB_FROM_LINKLIB |
# -------------------------------- |
# how to determine the name of the shared library |
# associated with a specific link library. |
# -- PORTME fill in with the dynamic library characteristics |
m4_defun([_LT_CHECK_SHAREDLIB_FROM_LINKLIB], |
[m4_require([_LT_DECL_EGREP]) |
m4_require([_LT_DECL_OBJDUMP]) |
m4_require([_LT_DECL_DLLTOOL]) |
AC_CACHE_CHECK([how to associate runtime and link libraries], |
lt_cv_sharedlib_from_linklib_cmd, |
[lt_cv_sharedlib_from_linklib_cmd='unknown' |
|
case $host_os in |
cygwin* | mingw* | pw32* | cegcc*) |
# two different shell functions defined in ltmain.sh |
# decide which to use based on capabilities of $DLLTOOL |
case `$DLLTOOL --help 2>&1` in |
*--identify-strict*) |
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib |
;; |
*) |
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback |
;; |
esac |
;; |
*) |
# fallback: assume linklib IS sharedlib |
lt_cv_sharedlib_from_linklib_cmd="$ECHO" |
;; |
esac |
]) |
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd |
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO |
|
_LT_DECL([], [sharedlib_from_linklib_cmd], [1], |
[Command to associate shared and link libraries]) |
])# _LT_CHECK_SHAREDLIB_FROM_LINKLIB |
|
|
# _LT_PATH_MANIFEST_TOOL |
# ---------------------- |
# locate the manifest tool |
m4_defun([_LT_PATH_MANIFEST_TOOL], |
[AC_CHECK_TOOL(MANIFEST_TOOL, mt, :) |
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt |
AC_CACHE_CHECK([if $MANIFEST_TOOL is a manifest tool], [lt_cv_path_mainfest_tool], |
[lt_cv_path_mainfest_tool=no |
echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&AS_MESSAGE_LOG_FD |
$MANIFEST_TOOL '-?' 2>conftest.err > conftest.out |
cat conftest.err >&AS_MESSAGE_LOG_FD |
if $GREP 'Manifest Tool' conftest.out > /dev/null; then |
lt_cv_path_mainfest_tool=yes |
fi |
rm -f conftest*]) |
if test "x$lt_cv_path_mainfest_tool" != xyes; then |
MANIFEST_TOOL=: |
fi |
_LT_DECL([], [MANIFEST_TOOL], [1], [Manifest tool])dnl |
])# _LT_PATH_MANIFEST_TOOL |
|
|
# LT_LIB_M |
# -------- |
# check for math library |
3268,7 → 3506,7
[AC_REQUIRE([AC_CANONICAL_HOST])dnl |
LIBM= |
case $host in |
*-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*) |
*-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*) |
# These system don't have libm, or don't need it |
;; |
*-ncr-sysv4.3*) |
3296,7 → 3534,12
_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)= |
|
if test "$GCC" = yes; then |
_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' |
case $cc_basename in |
nvcc*) |
_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -Xcompiler -fno-builtin' ;; |
*) |
_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' ;; |
esac |
|
_LT_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions], |
lt_cv_prog_compiler_rtti_exceptions, |
3313,6 → 3556,7
m4_defun([_LT_CMD_GLOBAL_SYMBOLS], |
[AC_REQUIRE([AC_CANONICAL_HOST])dnl |
AC_REQUIRE([AC_PROG_CC])dnl |
AC_REQUIRE([AC_PROG_AWK])dnl |
AC_REQUIRE([LT_PATH_NM])dnl |
AC_REQUIRE([LT_PATH_LD])dnl |
m4_require([_LT_DECL_SED])dnl |
3380,8 → 3624,8
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" |
|
# Transform an extracted symbol line into symbol name and symbol address |
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (void *) \&\2},/p'" |
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'" |
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\)[[ ]]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (void *) \&\2},/p'" |
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'" |
|
# Handle CRLF in mingw tool chain |
opt_cr= |
3417,6 → 3661,7
else |
lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" |
fi |
lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" |
|
# Check to see that the pipe works correctly. |
pipe_works=no |
3438,7 → 3683,7
if AC_TRY_EVAL(ac_compile); then |
# Now try to grab the symbols. |
nlist=conftest.nm |
if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) && test -s "$nlist"; then |
if AC_TRY_EVAL(NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) && test -s "$nlist"; then |
# Try sorting and uniquifying the output. |
if sort "$nlist" | uniq > "$nlist"T; then |
mv -f "$nlist"T "$nlist" |
3450,6 → 3695,18
if $GREP ' nm_test_var$' "$nlist" >/dev/null; then |
if $GREP ' nm_test_func$' "$nlist" >/dev/null; then |
cat <<_LT_EOF > conftest.$ac_ext |
/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ |
#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE) |
/* DATA imports from DLLs on WIN32 con't be const, because runtime |
relocations are performed -- see ld's documentation on pseudo-relocs. */ |
# define LT@&t@_DLSYM_CONST |
#elif defined(__osf__) |
/* This system does not cope well with relocations in const data. */ |
# define LT@&t@_DLSYM_CONST |
#else |
# define LT@&t@_DLSYM_CONST const |
#endif |
|
#ifdef __cplusplus |
extern "C" { |
#endif |
3461,7 → 3718,7
cat <<_LT_EOF >> conftest.$ac_ext |
|
/* The mapping between symbol names and symbols. */ |
const struct { |
LT@&t@_DLSYM_CONST struct { |
const char *name; |
void *address; |
} |
3487,15 → 3744,15
_LT_EOF |
# Now try linking the two files. |
mv conftest.$ac_objext conftstm.$ac_objext |
lt_save_LIBS="$LIBS" |
lt_save_CFLAGS="$CFLAGS" |
lt_globsym_save_LIBS=$LIBS |
lt_globsym_save_CFLAGS=$CFLAGS |
LIBS="conftstm.$ac_objext" |
CFLAGS="$CFLAGS$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)" |
if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext}; then |
pipe_works=yes |
fi |
LIBS="$lt_save_LIBS" |
CFLAGS="$lt_save_CFLAGS" |
LIBS=$lt_globsym_save_LIBS |
CFLAGS=$lt_globsym_save_CFLAGS |
else |
echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD |
fi |
3528,6 → 3785,13
AC_MSG_RESULT(ok) |
fi |
|
# Response file support. |
if test "$lt_cv_nm_interface" = "MS dumpbin"; then |
nm_file_list_spec='@' |
elif $NM --help 2>/dev/null | grep '[[@]]FILE' >/dev/null; then |
nm_file_list_spec='@' |
fi |
|
_LT_DECL([global_symbol_pipe], [lt_cv_sys_global_symbol_pipe], [1], |
[Take the output of nm and produce a listing of raw symbols and C names]) |
_LT_DECL([global_symbol_to_cdecl], [lt_cv_sys_global_symbol_to_cdecl], [1], |
3538,6 → 3802,8
_LT_DECL([global_symbol_to_c_name_address_lib_prefix], |
[lt_cv_sys_global_symbol_to_c_name_address_lib_prefix], [1], |
[Transform the output of nm in a C name address pair when lib prefix is needed]) |
_LT_DECL([], [nm_file_list_spec], [1], |
[Specify filename containing input files for $NM]) |
]) # _LT_CMD_GLOBAL_SYMBOLS |
|
|
3549,7 → 3815,6
_LT_TAGVAR(lt_prog_compiler_pic, $1)= |
_LT_TAGVAR(lt_prog_compiler_static, $1)= |
|
AC_MSG_CHECKING([for $compiler option to produce PIC]) |
m4_if([$1], [CXX], [ |
# C++ specific cases for pic, static, wl, etc. |
if test "$GXX" = yes; then |
3600,6 → 3865,11
# DJGPP does not support shared libraries at all |
_LT_TAGVAR(lt_prog_compiler_pic, $1)= |
;; |
haiku*) |
# PIC is the default for Haiku. |
# The "-static" flag exists, but is broken. |
_LT_TAGVAR(lt_prog_compiler_static, $1)= |
;; |
interix[[3-9]]*) |
# Interix 3.x gcc -fpic/-fPIC options generate broken code. |
# Instead, we relocate shared libraries at runtime. |
3649,6 → 3919,12
;; |
esac |
;; |
mingw* | cygwin* | os2* | pw32* | cegcc*) |
# This hack is so that the source file can tell whether it is being |
# built for inclusion in a dll (and should export symbols for example). |
m4_if([$1], [GCJ], [], |
[_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT']) |
;; |
dgux*) |
case $cc_basename in |
ec++*) |
3705,7 → 3981,7
;; |
esac |
;; |
linux* | k*bsd*-gnu) |
linux* | k*bsd*-gnu | kopensolaris*-gnu) |
case $cc_basename in |
KCC*) |
# KAI C++ Compiler |
3738,8 → 4014,8
_LT_TAGVAR(lt_prog_compiler_pic, $1)= |
_LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' |
;; |
xlc* | xlC*) |
# IBM XL 8.0 on PPC |
xlc* | xlC* | bgxl[[cC]]* | mpixl[[cC]]*) |
# IBM XL 8.0, 9.0 on PPC and BlueGene |
_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' |
_LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic' |
_LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink' |
3769,7 → 4045,7
;; |
esac |
;; |
netbsd* | netbsdelf*-gnu) |
netbsd*) |
;; |
*qnx* | *nto*) |
# QNX uses GNU C++, but need to define -shared option too, otherwise |
3801,7 → 4077,7
;; |
solaris*) |
case $cc_basename in |
CC*) |
CC* | sunCC*) |
# Sun C++ 4.2, 5.x and Centerline C++ |
_LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' |
_LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' |
3905,6 → 4181,12
_LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common' |
;; |
|
haiku*) |
# PIC is the default for Haiku. |
# The "-static" flag exists, but is broken. |
_LT_TAGVAR(lt_prog_compiler_static, $1)= |
;; |
|
hpux*) |
# PIC is the default for 64-bit PA HP-UX, but not for 32-bit |
# PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag |
3947,6 → 4229,13
_LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' |
;; |
esac |
|
case $cc_basename in |
nvcc*) # Cuda Compiler Driver 2.2 |
_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Xlinker ' |
_LT_TAGVAR(lt_prog_compiler_pic, $1)='-Xcompiler -fPIC' |
;; |
esac |
else |
# PORTME Check for flag to pass linker flags through the system compiler. |
case $host_os in |
3989,7 → 4278,7
_LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' |
;; |
|
linux* | k*bsd*-gnu) |
linux* | k*bsd*-gnu | kopensolaris*-gnu) |
case $cc_basename in |
# old Intel for x86_64 which still supported -KPIC. |
ecc*) |
4010,7 → 4299,13
_LT_TAGVAR(lt_prog_compiler_pic, $1)='--shared' |
_LT_TAGVAR(lt_prog_compiler_static, $1)='--static' |
;; |
pgcc* | pgf77* | pgf90* | pgf95*) |
nagfor*) |
# NAG Fortran compiler |
_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,-Wl,,' |
_LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC' |
_LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' |
;; |
pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) |
# Portland Group compilers (*not* the Pentium gcc compiler, |
# which looks to be a dead project) |
_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' |
4022,8 → 4317,8
# All Alpha code is PIC. |
_LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' |
;; |
xl*) |
# IBM XL C 8.0/Fortran 10.1 on PPC |
xl* | bgxl* | bgf* | mpixl*) |
# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene |
_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' |
_LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic' |
_LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink' |
4030,6 → 4325,12
;; |
*) |
case `$CC -V 2>&1 | sed 5q` in |
*Sun\ F* | *Sun*Fortran*) |
# Sun Fortran 8.3 passes all unrecognized flags to the linker |
_LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' |
_LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' |
_LT_TAGVAR(lt_prog_compiler_wl, $1)='' |
;; |
*Sun\ C*) |
# Sun C 5.9 |
_LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' |
4036,12 → 4337,6
_LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' |
_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' |
;; |
*Sun\ F*) |
# Sun Fortran 8.3 passes all unrecognized flags to the linker |
_LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' |
_LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' |
_LT_TAGVAR(lt_prog_compiler_wl, $1)='' |
;; |
esac |
;; |
esac |
4072,7 → 4367,7
_LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' |
_LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' |
case $cc_basename in |
f77* | f90* | f95*) |
f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) |
_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';; |
*) |
_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';; |
4129,10 → 4424,12
_LT_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])" |
;; |
esac |
AC_MSG_RESULT([$_LT_TAGVAR(lt_prog_compiler_pic, $1)]) |
_LT_TAGDECL([wl], [lt_prog_compiler_wl], [1], |
[How to pass a linker flag through the compiler]) |
|
AC_CACHE_CHECK([for $compiler option to produce PIC], |
[_LT_TAGVAR(lt_cv_prog_compiler_pic, $1)], |
[_LT_TAGVAR(lt_cv_prog_compiler_pic, $1)=$_LT_TAGVAR(lt_prog_compiler_pic, $1)]) |
_LT_TAGVAR(lt_prog_compiler_pic, $1)=$_LT_TAGVAR(lt_cv_prog_compiler_pic, $1) |
|
# |
# Check to make sure the PIC flag actually works. |
# |
4150,6 → 4447,8
_LT_TAGDECL([pic_flag], [lt_prog_compiler_pic], [1], |
[Additional compiler flags for building library objects]) |
|
_LT_TAGDECL([wl], [lt_prog_compiler_wl], [1], |
[How to pass a linker flag through the compiler]) |
# |
# Check to make sure the static flag actually works. |
# |
4170,6 → 4469,7
m4_defun([_LT_LINKER_SHLIBS], |
[AC_REQUIRE([LT_PATH_LD])dnl |
AC_REQUIRE([LT_PATH_NM])dnl |
m4_require([_LT_PATH_MANIFEST_TOOL])dnl |
m4_require([_LT_FILEUTILS_DEFAULTS])dnl |
m4_require([_LT_DECL_EGREP])dnl |
m4_require([_LT_DECL_SED])dnl |
4178,12 → 4478,15
AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries]) |
m4_if([$1], [CXX], [ |
_LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' |
_LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'] |
case $host_os in |
aix[[4-9]]*) |
# If we're using GNU nm, then we don't want the "-C" option. |
# -C means demangle to AIX nm, but means don't demangle with GNU nm |
# Also, AIX nm treats weak defined symbols like other global defined |
# symbols, whereas GNU nm marks them as "W". |
if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then |
_LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' |
_LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' |
else |
_LT_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' |
fi |
4190,18 → 4493,20
;; |
pw32*) |
_LT_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds" |
;; |
;; |
cygwin* | mingw* | cegcc*) |
_LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;/^.*[[ ]]__nm__/s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.* //'\'' | sort | uniq > $export_symbols' |
;; |
linux* | k*bsd*-gnu) |
_LT_TAGVAR(link_all_deplibs, $1)=no |
;; |
case $cc_basename in |
cl*) ;; |
*) |
_LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.* //'\'' | sort | uniq > $export_symbols' |
_LT_TAGVAR(exclude_expsyms, $1)=['[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'] |
;; |
esac |
;; |
*) |
_LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' |
;; |
;; |
esac |
_LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'] |
], [ |
runpath_var= |
_LT_TAGVAR(allow_undefined_flag, $1)= |
4261,13 → 4566,36
openbsd*) |
with_gnu_ld=no |
;; |
linux* | k*bsd*-gnu) |
_LT_TAGVAR(link_all_deplibs, $1)=no |
;; |
esac |
|
_LT_TAGVAR(ld_shlibs, $1)=yes |
|
# On some targets, GNU ld is compatible enough with the native linker |
# that we're better off using the native interface for both. |
lt_use_gnu_ld_interface=no |
if test "$with_gnu_ld" = yes; then |
case $host_os in |
aix*) |
# The AIX port of GNU ld has always aspired to compatibility |
# with the native linker. However, as the warning in the GNU ld |
# block says, versions before 2.19.5* couldn't really create working |
# shared libraries, regardless of the interface used. |
case `$LD -v 2>&1` in |
*\ \(GNU\ Binutils\)\ 2.19.5*) ;; |
*\ \(GNU\ Binutils\)\ 2.[[2-9]]*) ;; |
*\ \(GNU\ Binutils\)\ [[3-9]]*) ;; |
*) |
lt_use_gnu_ld_interface=yes |
;; |
esac |
;; |
*) |
lt_use_gnu_ld_interface=yes |
;; |
esac |
fi |
|
if test "$lt_use_gnu_ld_interface" = yes; then |
# If archive_cmds runs LD, not CC, wlarc should be empty |
wlarc='${wl}' |
|
4285,6 → 4613,7
fi |
supports_anon_versioning=no |
case `$LD -v 2>&1` in |
*GNU\ gold*) supports_anon_versioning=yes ;; |
*\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11 |
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... |
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... |
4300,11 → 4629,12
_LT_TAGVAR(ld_shlibs, $1)=no |
cat <<_LT_EOF 1>&2 |
|
*** Warning: the GNU linker, at least up to release 2.9.1, is reported |
*** Warning: the GNU linker, at least up to release 2.19, is reported |
*** to be unable to reliably create shared libraries on AIX. |
*** Therefore, libtool is disabling shared libraries support. If you |
*** really care for shared libraries, you may want to modify your PATH |
*** so that a non-GNU linker is found, and then restart. |
*** really care for shared libraries, you may want to install binutils |
*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. |
*** You will then need to restart the configuration process. |
|
_LT_EOF |
fi |
4340,10 → 4670,12
# _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless, |
# as there is no search path for DLLs. |
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' |
_LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-all-symbols' |
_LT_TAGVAR(allow_undefined_flag, $1)=unsupported |
_LT_TAGVAR(always_export_symbols, $1)=no |
_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes |
_LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/'\'' | $SED -e '\''/^[[AITW]][[ ]]/s/.*[[ ]]//'\'' | sort | uniq > $export_symbols' |
_LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.* //'\'' | sort | uniq > $export_symbols' |
_LT_TAGVAR(exclude_expsyms, $1)=['[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'] |
|
if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then |
_LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' |
4361,6 → 4693,11
fi |
;; |
|
haiku*) |
_LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
_LT_TAGVAR(link_all_deplibs, $1)=yes |
;; |
|
interix[[3-9]]*) |
_LT_TAGVAR(hardcode_direct, $1)=no |
_LT_TAGVAR(hardcode_shlibpath_var, $1)=no |
4376,7 → 4713,7
_LT_TAGVAR(archive_expsym_cmds, $1)='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' |
;; |
|
gnu* | linux* | tpf* | k*bsd*-gnu) |
gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) |
tmp_diet=no |
if test "$host_os" = linux-dietlibc; then |
case $cc_basename in |
4386,15 → 4723,16
if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ |
&& test "$tmp_diet" = no |
then |
tmp_addflag= |
tmp_addflag=' $pic_flag' |
tmp_sharedflag='-shared' |
case $cc_basename,$host_cpu in |
pgcc*) # Portland Group C compiler |
_LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive' |
_LT_TAGVAR(whole_archive_flag_spec, $1)='${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' |
tmp_addflag=' $pic_flag' |
;; |
pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers |
_LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive' |
pgf77* | pgf90* | pgf95* | pgfortran*) |
# Portland Group f77 and f90 compilers |
_LT_TAGVAR(whole_archive_flag_spec, $1)='${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' |
tmp_addflag=' $pic_flag -Mnomain' ;; |
ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 |
tmp_addflag=' -i_dynamic' ;; |
4405,13 → 4743,17
lf95*) # Lahey Fortran 8.1 |
_LT_TAGVAR(whole_archive_flag_spec, $1)= |
tmp_sharedflag='--shared' ;; |
xl[[cC]]*) # IBM XL C 8.0 on PPC (deal with xlf below) |
xl[[cC]]* | bgxl[[cC]]* | mpixl[[cC]]*) # IBM XL C 8.0 on PPC (deal with xlf below) |
tmp_sharedflag='-qmkshrobj' |
tmp_addflag= ;; |
nvcc*) # Cuda Compiler Driver 2.2 |
_LT_TAGVAR(whole_archive_flag_spec, $1)='${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' |
_LT_TAGVAR(compiler_needs_object, $1)=yes |
;; |
esac |
case `$CC -V 2>&1 | sed 5q` in |
*Sun\ C*) # Sun C 5.9 |
_LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive' |
_LT_TAGVAR(whole_archive_flag_spec, $1)='${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' |
_LT_TAGVAR(compiler_needs_object, $1)=yes |
tmp_sharedflag='-G' ;; |
*Sun\ F*) # Sun Fortran 8.3 |
4427,17 → 4769,17
fi |
|
case $cc_basename in |
xlf*) |
xlf* | bgf* | bgxlf* | mpixlf*) |
# IBM XL Fortran 10.1 on PPC cannot create shared libs itself |
_LT_TAGVAR(whole_archive_flag_spec, $1)='--whole-archive$convenience --no-whole-archive' |
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)= |
_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir' |
_LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib' |
_LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' |
if test "x$supports_anon_versioning" = xyes; then |
_LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~ |
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ |
echo "local: *; };" >> $output_objdir/$libname.ver~ |
$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' |
$LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' |
fi |
;; |
esac |
4446,13 → 4788,13
fi |
;; |
|
netbsd* | netbsdelf*-gnu) |
netbsd*) |
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then |
_LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' |
wlarc= |
else |
_LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
fi |
;; |
|
4470,8 → 4812,8
|
_LT_EOF |
elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then |
_LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
else |
_LT_TAGVAR(ld_shlibs, $1)=no |
fi |
4517,8 → 4859,8
|
*) |
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then |
_LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
else |
_LT_TAGVAR(ld_shlibs, $1)=no |
fi |
4558,8 → 4900,10
else |
# If we're using GNU nm, then we don't want the "-C" option. |
# -C means demangle to AIX nm, but means don't demangle with GNU nm |
# Also, AIX nm treats weak defined symbols like other global |
# defined symbols, whereas GNU nm marks them as "W". |
if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then |
_LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' |
_LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' |
else |
_LT_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' |
fi |
4621,7 → 4965,6
if test "$aix_use_runtimelinking" = yes; then |
shared_flag="$shared_flag "'${wl}-G' |
fi |
_LT_TAGVAR(link_all_deplibs, $1)=no |
else |
# not using gcc |
if test "$host_cpu" = ia64; then |
4647,9 → 4990,9
_LT_TAGVAR(allow_undefined_flag, $1)='-berok' |
# Determine the default libpath from the value encoded in an |
# empty executable. |
_LT_SYS_MODULE_PATH_AIX |
_LT_SYS_MODULE_PATH_AIX([$1]) |
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" |
_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" |
_LT_TAGVAR(archive_expsym_cmds, $1)='$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" |
else |
if test "$host_cpu" = ia64; then |
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib' |
4658,14 → 5001,19
else |
# Determine the default libpath from the value encoded in an |
# empty executable. |
_LT_SYS_MODULE_PATH_AIX |
_LT_SYS_MODULE_PATH_AIX([$1]) |
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" |
# Warning - without using the other run time loading flags, |
# -berok will link without error, but may produce a broken library. |
_LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok' |
_LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok' |
# Exported symbols can be pulled into shared objects from archives |
_LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience' |
if test "$with_gnu_ld" = yes; then |
# We only use this code for GNU lds that support --whole-archive. |
_LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive' |
else |
# Exported symbols can be pulled into shared objects from archives |
_LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience' |
fi |
_LT_TAGVAR(archive_cmds_need_lc, $1)=yes |
# This is similar to how AIX traditionally builds its shared libraries. |
_LT_TAGVAR(archive_expsym_cmds, $1)="\$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' |
4697,20 → 5045,63
# Microsoft Visual C++. |
# hardcode_libdir_flag_spec is actually meaningless, as there is |
# no search path for DLLs. |
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' ' |
_LT_TAGVAR(allow_undefined_flag, $1)=unsupported |
# Tell ltmain to make .lib files, not .a files. |
libext=lib |
# Tell ltmain to make .dll files, not .so files. |
shrext_cmds=".dll" |
# FIXME: Setting linknames here is a bad hack. |
_LT_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames=' |
# The linker will automatically build a .lib file if we build a DLL. |
_LT_TAGVAR(old_archive_from_new_cmds, $1)='true' |
# FIXME: Should let the user specify the lib program. |
_LT_TAGVAR(old_archive_cmds, $1)='lib -OUT:$oldlib$oldobjs$old_deplibs' |
_LT_TAGVAR(fix_srcfile_path, $1)='`cygpath -w "$srcfile"`' |
_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes |
case $cc_basename in |
cl*) |
# Native MSVC |
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' ' |
_LT_TAGVAR(allow_undefined_flag, $1)=unsupported |
_LT_TAGVAR(always_export_symbols, $1)=yes |
_LT_TAGVAR(file_list_spec, $1)='@' |
# Tell ltmain to make .lib files, not .a files. |
libext=lib |
# Tell ltmain to make .dll files, not .so files. |
shrext_cmds=".dll" |
# FIXME: Setting linknames here is a bad hack. |
_LT_TAGVAR(archive_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames=' |
_LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then |
sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp; |
else |
sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp; |
fi~ |
$CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ |
linknames=' |
# The linker will not automatically build a static lib if we build a DLL. |
# _LT_TAGVAR(old_archive_from_new_cmds, $1)='true' |
_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes |
_LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1,DATA/'\'' | $SED -e '\''/^[[AITW]][[ ]]/s/.*[[ ]]//'\'' | sort | uniq > $export_symbols' |
# Don't use ranlib |
_LT_TAGVAR(old_postinstall_cmds, $1)='chmod 644 $oldlib' |
_LT_TAGVAR(postlink_cmds, $1)='lt_outputfile="@OUTPUT@"~ |
lt_tool_outputfile="@TOOL_OUTPUT@"~ |
case $lt_outputfile in |
*.exe|*.EXE) ;; |
*) |
lt_outputfile="$lt_outputfile.exe" |
lt_tool_outputfile="$lt_tool_outputfile.exe" |
;; |
esac~ |
if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then |
$MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; |
$RM "$lt_outputfile.manifest"; |
fi' |
;; |
*) |
# Assume MSVC wrapper |
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' ' |
_LT_TAGVAR(allow_undefined_flag, $1)=unsupported |
# Tell ltmain to make .lib files, not .a files. |
libext=lib |
# Tell ltmain to make .dll files, not .so files. |
shrext_cmds=".dll" |
# FIXME: Setting linknames here is a bad hack. |
_LT_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' |
# The linker will automatically build a .lib file if we build a DLL. |
_LT_TAGVAR(old_archive_from_new_cmds, $1)='true' |
# FIXME: Should let the user specify the lib program. |
_LT_TAGVAR(old_archive_cmds, $1)='lib -OUT:$oldlib$oldobjs$old_deplibs' |
_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes |
;; |
esac |
;; |
|
darwin* | rhapsody*) |
4748,7 → 5139,7
|
# FreeBSD 3 and greater uses gcc -shared to do shared libraries. |
freebsd* | dragonfly*) |
_LT_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' |
_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' |
_LT_TAGVAR(hardcode_direct, $1)=yes |
_LT_TAGVAR(hardcode_shlibpath_var, $1)=no |
4756,7 → 5147,7
|
hpux9*) |
if test "$GCC" = yes; then |
_LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' |
_LT_TAGVAR(archive_cmds, $1)='$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' |
else |
_LT_TAGVAR(archive_cmds, $1)='$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' |
fi |
4771,8 → 5162,8
;; |
|
hpux10*) |
if test "$GCC" = yes -a "$with_gnu_ld" = no; then |
_LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
if test "$GCC" = yes && test "$with_gnu_ld" = no; then |
_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
else |
_LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' |
fi |
4790,16 → 5181,16
;; |
|
hpux11*) |
if test "$GCC" = yes -a "$with_gnu_ld" = no; then |
if test "$GCC" = yes && test "$with_gnu_ld" = no; then |
case $host_cpu in |
hppa*64*) |
_LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
;; |
ia64*) |
_LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' |
_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' |
;; |
*) |
_LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
;; |
esac |
else |
4811,7 → 5202,14
_LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' |
;; |
*) |
_LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
m4_if($1, [], [ |
# Older versions of the 11.00 compiler do not understand -b yet |
# (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) |
_LT_LINKER_OPTION([if $CC understands -b], |
_LT_TAGVAR(lt_cv_prog_compiler__b, $1), [-b], |
[_LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'], |
[_LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'])], |
[_LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags']) |
;; |
esac |
fi |
4839,19 → 5237,34
|
irix5* | irix6* | nonstopux*) |
if test "$GCC" = yes; then |
_LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' |
_LT_TAGVAR(archive_cmds, $1)='$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' |
# Try to use the -exported_symbol ld option, if it does not |
# work, assume that -exports_file does not work either and |
# implicitly export all symbols. |
save_LDFLAGS="$LDFLAGS" |
LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" |
AC_LINK_IFELSE(int foo(void) {}, |
_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib' |
) |
LDFLAGS="$save_LDFLAGS" |
# This should be the same for all languages, so no per-tag cache variable. |
AC_CACHE_CHECK([whether the $host_os linker accepts -exported_symbol], |
[lt_cv_irix_exported_symbol], |
[save_LDFLAGS="$LDFLAGS" |
LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" |
AC_LINK_IFELSE( |
[AC_LANG_SOURCE( |
[AC_LANG_CASE([C], [[int foo (void) { return 0; }]], |
[C++], [[int foo (void) { return 0; }]], |
[Fortran 77], [[ |
subroutine foo |
end]], |
[Fortran], [[ |
subroutine foo |
end]])])], |
[lt_cv_irix_exported_symbol=yes], |
[lt_cv_irix_exported_symbol=no]) |
LDFLAGS="$save_LDFLAGS"]) |
if test "$lt_cv_irix_exported_symbol" = yes; then |
_LT_TAGVAR(archive_expsym_cmds, $1)='$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' |
fi |
else |
_LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' |
_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib' |
_LT_TAGVAR(archive_cmds, $1)='$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' |
_LT_TAGVAR(archive_expsym_cmds, $1)='$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' |
fi |
_LT_TAGVAR(archive_cmds_need_lc, $1)='no' |
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' |
4860,7 → 5273,7
_LT_TAGVAR(link_all_deplibs, $1)=yes |
;; |
|
netbsd* | netbsdelf*-gnu) |
netbsd*) |
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then |
_LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out |
else |
4913,7 → 5326,7
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' |
_LT_TAGVAR(hardcode_minus_L, $1)=yes |
_LT_TAGVAR(allow_undefined_flag, $1)=unsupported |
_LT_TAGVAR(archive_cmds, $1)='$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' |
_LT_TAGVAR(archive_cmds, $1)='$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' |
_LT_TAGVAR(old_archive_from_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' |
;; |
|
4920,10 → 5333,10
osf3*) |
if test "$GCC" = yes; then |
_LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' |
_LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' |
_LT_TAGVAR(archive_cmds, $1)='$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' |
else |
_LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' |
_LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' |
_LT_TAGVAR(archive_cmds, $1)='$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' |
fi |
_LT_TAGVAR(archive_cmds_need_lc, $1)='no' |
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' |
4933,13 → 5346,13
osf4* | osf5*) # as osf3* with the addition of -msym flag |
if test "$GCC" = yes; then |
_LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' |
_LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' |
_LT_TAGVAR(archive_cmds, $1)='$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' |
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' |
else |
_LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' |
_LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' |
_LT_TAGVAR(archive_cmds, $1)='$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' |
_LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~ |
$CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp' |
$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' |
|
# Both c and cxx compiler support -rpath directly |
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' |
4952,9 → 5365,9
_LT_TAGVAR(no_undefined_flag, $1)=' -z defs' |
if test "$GCC" = yes; then |
wlarc='${wl}' |
_LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
_LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ |
$CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' |
$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' |
else |
case `$CC -V 2>&1` in |
*"Compilers 5.0"*) |
5130,36 → 5543,38
# Test whether the compiler implicitly links with -lc since on some |
# systems, -lgcc has to come before -lc. If gcc already passes -lc |
# to ld, don't add -lc before -lgcc. |
AC_MSG_CHECKING([whether -lc should be explicitly linked in]) |
$RM conftest* |
echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
AC_CACHE_CHECK([whether -lc should be explicitly linked in], |
[lt_cv_]_LT_TAGVAR(archive_cmds_need_lc, $1), |
[$RM conftest* |
echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
|
if AC_TRY_EVAL(ac_compile) 2>conftest.err; then |
soname=conftest |
lib=conftest |
libobjs=conftest.$ac_objext |
deplibs= |
wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1) |
pic_flag=$_LT_TAGVAR(lt_prog_compiler_pic, $1) |
compiler_flags=-v |
linker_flags=-v |
verstring= |
output_objdir=. |
libname=conftest |
lt_save_allow_undefined_flag=$_LT_TAGVAR(allow_undefined_flag, $1) |
_LT_TAGVAR(allow_undefined_flag, $1)= |
if AC_TRY_EVAL(_LT_TAGVAR(archive_cmds, $1) 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) |
then |
_LT_TAGVAR(archive_cmds_need_lc, $1)=no |
else |
_LT_TAGVAR(archive_cmds_need_lc, $1)=yes |
fi |
_LT_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag |
else |
cat conftest.err 1>&5 |
fi |
$RM conftest* |
AC_MSG_RESULT([$_LT_TAGVAR(archive_cmds_need_lc, $1)]) |
if AC_TRY_EVAL(ac_compile) 2>conftest.err; then |
soname=conftest |
lib=conftest |
libobjs=conftest.$ac_objext |
deplibs= |
wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1) |
pic_flag=$_LT_TAGVAR(lt_prog_compiler_pic, $1) |
compiler_flags=-v |
linker_flags=-v |
verstring= |
output_objdir=. |
libname=conftest |
lt_save_allow_undefined_flag=$_LT_TAGVAR(allow_undefined_flag, $1) |
_LT_TAGVAR(allow_undefined_flag, $1)= |
if AC_TRY_EVAL(_LT_TAGVAR(archive_cmds, $1) 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) |
then |
lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1)=no |
else |
lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1)=yes |
fi |
_LT_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag |
else |
cat conftest.err 1>&5 |
fi |
$RM conftest* |
]) |
_LT_TAGVAR(archive_cmds_need_lc, $1)=$lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1) |
;; |
esac |
fi |
5224,8 → 5639,6
to runtime path list]) |
_LT_TAGDECL([], [link_all_deplibs], [0], |
[Whether libtool must link a program against all its dependency libraries]) |
_LT_TAGDECL([], [fix_srcfile_path], [1], |
[Fix the shell variable $srcfile for the compiler]) |
_LT_TAGDECL([], [always_export_symbols], [0], |
[Set to "yes" if exported symbols are required]) |
_LT_TAGDECL([], [export_symbols_cmds], [2], |
5236,6 → 5649,8
[Symbols that must always be exported]) |
_LT_TAGDECL([], [prelink_cmds], [2], |
[Commands necessary for linking programs (against libraries) with templates]) |
_LT_TAGDECL([], [postlink_cmds], [2], |
[Commands necessary for finishing linking programs]) |
_LT_TAGDECL([], [file_list_spec], [1], |
[Specify filename containing input files]) |
dnl FIXME: Not yet implemented |
5329,14 → 5744,15
])# _LT_LANG_C_CONFIG |
|
|
# _LT_PROG_CXX |
# ------------ |
# Since AC_PROG_CXX is broken, in that it returns g++ if there is no c++ |
# compiler, we have our own version here. |
m4_defun([_LT_PROG_CXX], |
[ |
pushdef([AC_MSG_ERROR], [_lt_caught_CXX_error=yes]) |
AC_PROG_CXX |
# _LT_LANG_CXX_CONFIG([TAG]) |
# -------------------------- |
# Ensure that the configuration variables for a C++ compiler are suitably |
# defined. These variables are subsequently used by _LT_CONFIG to write |
# the compiler configuration to `libtool'. |
m4_defun([_LT_LANG_CXX_CONFIG], |
[m4_require([_LT_FILEUTILS_DEFAULTS])dnl |
m4_require([_LT_DECL_EGREP])dnl |
m4_require([_LT_PATH_MANIFEST_TOOL])dnl |
if test -n "$CXX" && ( test "X$CXX" != "Xno" && |
( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || |
(test "X$CXX" != "Xg++"))) ; then |
5344,23 → 5760,7
else |
_lt_caught_CXX_error=yes |
fi |
popdef([AC_MSG_ERROR]) |
])# _LT_PROG_CXX |
|
dnl aclocal-1.4 backwards compatibility: |
dnl AC_DEFUN([_LT_PROG_CXX], []) |
|
|
# _LT_LANG_CXX_CONFIG([TAG]) |
# -------------------------- |
# Ensure that the configuration variables for a C++ compiler are suitably |
# defined. These variables are subsequently used by _LT_CONFIG to write |
# the compiler configuration to `libtool'. |
m4_defun([_LT_LANG_CXX_CONFIG], |
[AC_REQUIRE([_LT_PROG_CXX])dnl |
m4_require([_LT_FILEUTILS_DEFAULTS])dnl |
m4_require([_LT_DECL_EGREP])dnl |
|
AC_LANG_PUSH(C++) |
_LT_TAGVAR(archive_cmds_need_lc, $1)=no |
_LT_TAGVAR(allow_undefined_flag, $1)= |
5381,6 → 5781,8
_LT_TAGVAR(module_expsym_cmds, $1)= |
_LT_TAGVAR(link_all_deplibs, $1)=unknown |
_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds |
_LT_TAGVAR(reload_flag, $1)=$reload_flag |
_LT_TAGVAR(reload_cmds, $1)=$reload_cmds |
_LT_TAGVAR(no_undefined_flag, $1)= |
_LT_TAGVAR(whole_archive_flag_spec, $1)= |
_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no |
5412,6 → 5814,7
|
# Allow CC to be a program name with arguments. |
lt_save_CC=$CC |
lt_save_CFLAGS=$CFLAGS |
lt_save_LD=$LD |
lt_save_GCC=$GCC |
GCC=$GXX |
5429,6 → 5832,7
fi |
test -z "${LDCXX+set}" || LD=$LDCXX |
CC=${CXX-"c++"} |
CFLAGS=$CXXFLAGS |
compiler=$CC |
_LT_TAGVAR(compiler, $1)=$CC |
_LT_CC_BASENAME([$compiler]) |
5450,8 → 5854,8
# Check if GNU C++ uses GNU ld as the underlying linker, since the |
# archiving commands below assume that GNU ld is being used. |
if test "$with_gnu_ld" = yes; then |
_LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' |
_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
_LT_TAGVAR(archive_cmds, $1)='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' |
_LT_TAGVAR(archive_expsym_cmds, $1)='$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' |
|
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' |
_LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' |
5483,7 → 5887,7
# Commands to make compiler produce verbose output that lists |
# what "hidden" libraries, object files and flags are used when |
# linking a shared library. |
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"' |
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' |
|
else |
GXX=no |
5592,10 → 5996,10
_LT_TAGVAR(allow_undefined_flag, $1)='-berok' |
# Determine the default libpath from the value encoded in an empty |
# executable. |
_LT_SYS_MODULE_PATH_AIX |
_LT_SYS_MODULE_PATH_AIX([$1]) |
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" |
|
_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" |
_LT_TAGVAR(archive_expsym_cmds, $1)='$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" |
else |
if test "$host_cpu" = ia64; then |
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib' |
5604,14 → 6008,19
else |
# Determine the default libpath from the value encoded in an |
# empty executable. |
_LT_SYS_MODULE_PATH_AIX |
_LT_SYS_MODULE_PATH_AIX([$1]) |
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" |
# Warning - without using the other run time loading flags, |
# -berok will link without error, but may produce a broken library. |
_LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok' |
_LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok' |
# Exported symbols can be pulled into shared objects from archives |
_LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience' |
if test "$with_gnu_ld" = yes; then |
# We only use this code for GNU lds that support --whole-archive. |
_LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive' |
else |
# Exported symbols can be pulled into shared objects from archives |
_LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience' |
fi |
_LT_TAGVAR(archive_cmds_need_lc, $1)=yes |
# This is similar to how AIX traditionally builds its shared |
# libraries. |
5641,28 → 6050,75
;; |
|
cygwin* | mingw* | pw32* | cegcc*) |
# _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless, |
# as there is no search path for DLLs. |
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' |
_LT_TAGVAR(allow_undefined_flag, $1)=unsupported |
_LT_TAGVAR(always_export_symbols, $1)=no |
_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes |
case $GXX,$cc_basename in |
,cl* | no,cl*) |
# Native MSVC |
# hardcode_libdir_flag_spec is actually meaningless, as there is |
# no search path for DLLs. |
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' ' |
_LT_TAGVAR(allow_undefined_flag, $1)=unsupported |
_LT_TAGVAR(always_export_symbols, $1)=yes |
_LT_TAGVAR(file_list_spec, $1)='@' |
# Tell ltmain to make .lib files, not .a files. |
libext=lib |
# Tell ltmain to make .dll files, not .so files. |
shrext_cmds=".dll" |
# FIXME: Setting linknames here is a bad hack. |
_LT_TAGVAR(archive_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames=' |
_LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then |
$SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp; |
else |
$SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp; |
fi~ |
$CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ |
linknames=' |
# The linker will not automatically build a static lib if we build a DLL. |
# _LT_TAGVAR(old_archive_from_new_cmds, $1)='true' |
_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes |
# Don't use ranlib |
_LT_TAGVAR(old_postinstall_cmds, $1)='chmod 644 $oldlib' |
_LT_TAGVAR(postlink_cmds, $1)='lt_outputfile="@OUTPUT@"~ |
lt_tool_outputfile="@TOOL_OUTPUT@"~ |
case $lt_outputfile in |
*.exe|*.EXE) ;; |
*) |
lt_outputfile="$lt_outputfile.exe" |
lt_tool_outputfile="$lt_tool_outputfile.exe" |
;; |
esac~ |
func_to_tool_file "$lt_outputfile"~ |
if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then |
$MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; |
$RM "$lt_outputfile.manifest"; |
fi' |
;; |
*) |
# g++ |
# _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless, |
# as there is no search path for DLLs. |
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' |
_LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-all-symbols' |
_LT_TAGVAR(allow_undefined_flag, $1)=unsupported |
_LT_TAGVAR(always_export_symbols, $1)=no |
_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes |
|
if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then |
_LT_TAGVAR(archive_cmds, $1)='$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' |
# If the export-symbols file already is a .def file (1st line |
# is EXPORTS), use it as is; otherwise, prepend... |
_LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then |
cp $export_symbols $output_objdir/$soname.def; |
else |
echo EXPORTS > $output_objdir/$soname.def; |
cat $export_symbols >> $output_objdir/$soname.def; |
fi~ |
$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' |
else |
_LT_TAGVAR(ld_shlibs, $1)=no |
fi |
;; |
if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then |
_LT_TAGVAR(archive_cmds, $1)='$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' |
# If the export-symbols file already is a .def file (1st line |
# is EXPORTS), use it as is; otherwise, prepend... |
_LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then |
cp $export_symbols $output_objdir/$soname.def; |
else |
echo EXPORTS > $output_objdir/$soname.def; |
cat $export_symbols >> $output_objdir/$soname.def; |
fi~ |
$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' |
else |
_LT_TAGVAR(ld_shlibs, $1)=no |
fi |
;; |
esac |
;; |
darwin* | rhapsody*) |
_LT_DARWIN_LINKER_FEATURES($1) |
;; |
5704,6 → 6160,11
gnu*) |
;; |
|
haiku*) |
_LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
_LT_TAGVAR(link_all_deplibs, $1)=yes |
;; |
|
hpux9*) |
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' |
_LT_TAGVAR(hardcode_libdir_separator, $1)=: |
5728,11 → 6189,11
# explicitly linking system object files so we need to strip them |
# from the output so that they don't get included in the library |
# dependencies. |
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; $ECHO "X$list" | $Xsed' |
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"' |
;; |
*) |
if test "$GXX" = yes; then |
_LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${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' |
_LT_TAGVAR(archive_cmds, $1)='$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' |
else |
# FIXME: insert proper C++ library support |
_LT_TAGVAR(ld_shlibs, $1)=no |
5793,7 → 6254,7
# explicitly linking system object files so we need to strip them |
# from the output so that they don't get included in the library |
# dependencies. |
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; $ECHO "X$list" | $Xsed' |
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"' |
;; |
*) |
if test "$GXX" = yes; then |
5803,10 → 6264,10
_LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' |
;; |
ia64*) |
_LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' |
_LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' |
;; |
*) |
_LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' |
_LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' |
;; |
esac |
fi |
5836,7 → 6297,7
case $cc_basename in |
CC*) |
# SGI C++ |
_LT_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' |
_LT_TAGVAR(archive_cmds, $1)='$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' |
|
# Archives containing C++ object files must be created using |
# "CC -ar", where "CC" is the IRIX C++ compiler. This is |
5847,9 → 6308,9
*) |
if test "$GXX" = yes; then |
if test "$with_gnu_ld" = no; then |
_LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' |
_LT_TAGVAR(archive_cmds, $1)='$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' |
else |
_LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` -o $lib' |
_LT_TAGVAR(archive_cmds, $1)='$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' |
fi |
fi |
_LT_TAGVAR(link_all_deplibs, $1)=yes |
5860,7 → 6321,7
_LT_TAGVAR(inherit_rpath, $1)=yes |
;; |
|
linux* | k*bsd*-gnu) |
linux* | k*bsd*-gnu | kopensolaris*-gnu) |
case $cc_basename in |
KCC*) |
# Kuck and Associates, Inc. (KAI) C++ Compiler |
5878,7 → 6339,7
# explicitly linking system object files so we need to strip them |
# from the output so that they don't get included in the library |
# dependencies. |
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; $ECHO "X$list" | $Xsed' |
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"' |
|
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' |
_LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' |
5915,26 → 6376,26
pgCC* | pgcpp*) |
# Portland Group C++ compiler |
case `$CC -V` in |
*pgCC\ [[1-5]]* | *pgcpp\ [[1-5]]*) |
*pgCC\ [[1-5]].* | *pgcpp\ [[1-5]].*) |
_LT_TAGVAR(prelink_cmds, $1)='tpldir=Template.dir~ |
rm -rf $tpldir~ |
$CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~ |
compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"' |
compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"' |
_LT_TAGVAR(old_archive_cmds, $1)='tpldir=Template.dir~ |
rm -rf $tpldir~ |
$CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~ |
$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~ |
$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~ |
$RANLIB $oldlib' |
_LT_TAGVAR(archive_cmds, $1)='tpldir=Template.dir~ |
rm -rf $tpldir~ |
$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ |
$CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' |
$CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' |
_LT_TAGVAR(archive_expsym_cmds, $1)='tpldir=Template.dir~ |
rm -rf $tpldir~ |
$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ |
$CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib' |
$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' |
;; |
*) # Version 6 will use weak symbols |
*) # Version 6 and above use weak symbols |
_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' |
_LT_TAGVAR(archive_expsym_cmds, $1)='$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' |
;; |
5942,7 → 6403,7
|
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir' |
_LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' |
_LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive' |
_LT_TAGVAR(whole_archive_flag_spec, $1)='${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' |
;; |
cxx*) |
# Compaq C++ |
5961,9 → 6422,9
# explicitly linking system object files so we need to strip them |
# from the output so that they don't get included in the library |
# dependencies. |
output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed' |
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' |
;; |
xl*) |
xl* | mpixl* | bgxl*) |
# IBM XL 8.0 on PPC, with GNU ld |
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' |
_LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' |
5983,13 → 6444,13
_LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' |
_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols' |
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' |
_LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive' |
_LT_TAGVAR(whole_archive_flag_spec, $1)='${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' |
_LT_TAGVAR(compiler_needs_object, $1)=yes |
|
# Not sure whether something based on |
# $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 |
# would be better. |
output_verbose_link_cmd='echo' |
output_verbose_link_cmd='func_echo_all' |
|
# Archives containing C++ object files must be created using |
# "CC -xar", where "CC" is the Sun C++ compiler. This is |
6058,7 → 6519,7
_LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' |
_LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' |
fi |
output_verbose_link_cmd=echo |
output_verbose_link_cmd=func_echo_all |
else |
_LT_TAGVAR(ld_shlibs, $1)=no |
fi |
6093,15 → 6554,15
case $host in |
osf3*) |
_LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' |
_LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && $ECHO "X${wl}-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' |
_LT_TAGVAR(archive_cmds, $1)='$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' |
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' |
;; |
*) |
_LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' |
_LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' |
_LT_TAGVAR(archive_cmds, $1)='$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' |
_LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ |
echo "-hidden">> $lib.exp~ |
$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 "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~ |
$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~ |
$RM $lib.exp' |
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' |
;; |
6117,7 → 6578,7
# explicitly linking system object files so we need to strip them |
# from the output so that they don't get included in the library |
# dependencies. |
output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed' |
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"' |
;; |
*) |
if test "$GXX" = yes && test "$with_gnu_ld" = no; then |
6124,10 → 6585,10
_LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' |
case $host in |
osf3*) |
_LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' |
_LT_TAGVAR(archive_cmds, $1)='$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' |
;; |
*) |
_LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' |
_LT_TAGVAR(archive_cmds, $1)='$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' |
;; |
esac |
|
6137,7 → 6598,7
# Commands to make compiler produce verbose output that lists |
# what "hidden" libraries, object files and flags are used when |
# linking a shared library. |
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"' |
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' |
|
else |
# FIXME: insert proper C++ library support |
6173,7 → 6634,7
|
solaris*) |
case $cc_basename in |
CC*) |
CC* | sunCC*) |
# Sun C++ 4.2, 5.x and Centerline C++ |
_LT_TAGVAR(archive_cmds_need_lc,$1)=yes |
_LT_TAGVAR(no_undefined_flag, $1)=' -zdefs' |
6194,7 → 6655,7
esac |
_LT_TAGVAR(link_all_deplibs, $1)=yes |
|
output_verbose_link_cmd='echo' |
output_verbose_link_cmd='func_echo_all' |
|
# Archives containing C++ object files must be created using |
# "CC -xar", where "CC" is the Sun C++ compiler. This is |
6214,14 → 6675,14
if test "$GXX" = yes && test "$with_gnu_ld" = no; then |
_LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-z ${wl}defs' |
if $CC --version | $GREP -v '^2\.7' > /dev/null; then |
_LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' |
_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' |
_LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ |
$CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' |
$CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' |
|
# Commands to make compiler produce verbose output that lists |
# what "hidden" libraries, object files and flags are used when |
# linking a shared library. |
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"' |
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' |
else |
# g++ 2.7 appears to require `-G' NOT `-shared' on this |
# platform. |
6232,7 → 6693,7
# Commands to make compiler produce verbose output that lists |
# what "hidden" libraries, object files and flags are used when |
# linking a shared library. |
output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"' |
output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' |
fi |
|
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir' |
6286,6 → 6747,10
CC*) |
_LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
_LT_TAGVAR(old_archive_cmds, $1)='$CC -Tprelink_objects $oldobjs~ |
'"$_LT_TAGVAR(old_archive_cmds, $1)" |
_LT_TAGVAR(reload_cmds, $1)='$CC -Tprelink_objects $reload_objs~ |
'"$_LT_TAGVAR(reload_cmds, $1)" |
;; |
*) |
_LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
6341,6 → 6806,7
fi # test -n "$compiler" |
|
CC=$lt_save_CC |
CFLAGS=$lt_save_CFLAGS |
LDCXX=$LD |
LD=$lt_save_LD |
GCC=$lt_save_GCC |
6355,6 → 6821,29
])# _LT_LANG_CXX_CONFIG |
|
|
# _LT_FUNC_STRIPNAME_CNF |
# ---------------------- |
# func_stripname_cnf prefix suffix name |
# strip PREFIX and SUFFIX off of NAME. |
# PREFIX and SUFFIX must not contain globbing or regex special |
# characters, hashes, percent signs, but SUFFIX may contain a leading |
# dot (in which case that matches only a dot). |
# |
# This function is identical to the (non-XSI) version of func_stripname, |
# except this one can be used by m4 code that may be executed by configure, |
# rather than the libtool script. |
m4_defun([_LT_FUNC_STRIPNAME_CNF],[dnl |
AC_REQUIRE([_LT_DECL_SED]) |
AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH]) |
func_stripname_cnf () |
{ |
case ${2} in |
.*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;; |
*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;; |
esac |
} # func_stripname_cnf |
])# _LT_FUNC_STRIPNAME_CNF |
|
# _LT_SYS_HIDDEN_LIBDEPS([TAGNAME]) |
# --------------------------------- |
# Figure out "hidden" library dependencies from verbose |
6363,6 → 6852,7
# objects, libraries and library flags. |
m4_defun([_LT_SYS_HIDDEN_LIBDEPS], |
[m4_require([_LT_FILEUTILS_DEFAULTS])dnl |
AC_REQUIRE([_LT_FUNC_STRIPNAME_CNF])dnl |
# Dependencies to place before and after the object being linked: |
_LT_TAGVAR(predep_objects, $1)= |
_LT_TAGVAR(postdep_objects, $1)= |
6413,6 → 6903,13
}; |
_LT_EOF |
]) |
|
_lt_libdeps_save_CFLAGS=$CFLAGS |
case "$CC $CFLAGS " in #( |
*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;; |
*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;; |
esac |
|
dnl Parse the compiler output and extract the necessary |
dnl objects, libraries and library flags. |
if AC_TRY_EVAL(ac_compile); then |
6424,7 → 6921,7
pre_test_object_deps_done=no |
|
for p in `eval "$output_verbose_link_cmd"`; do |
case $p in |
case ${prev}${p} in |
|
-L* | -R* | -l*) |
# Some compilers place space between "-{L,R}" and the path. |
6433,13 → 6930,22
test $p = "-R"; then |
prev=$p |
continue |
else |
prev= |
fi |
|
# Expand the sysroot to ease extracting the directories later. |
if test -z "$prev"; then |
case $p in |
-L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;; |
-R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;; |
-l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;; |
esac |
fi |
case $p in |
=*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;; |
esac |
if test "$pre_test_object_deps_done" = no; then |
case $p in |
-L* | -R*) |
case ${prev} in |
-L | -R) |
# Internal compiler library paths should come after those |
# provided the user. The postdeps already come after the |
# user supplied libs so there is no need to process them. |
6459,8 → 6965,10
_LT_TAGVAR(postdeps, $1)="${_LT_TAGVAR(postdeps, $1)} ${prev}${p}" |
fi |
fi |
prev= |
;; |
|
*.lto.$objext) ;; # Ignore GCC LTO objects |
*.$objext) |
# This assumes that the test object file only shows up |
# once in the compiler output. |
6496,6 → 7004,7
fi |
|
$RM -f confest.$objext |
CFLAGS=$_lt_libdeps_save_CFLAGS |
|
# PORTME: override above test on systems where it is broken |
m4_if([$1], [CXX], |
6532,7 → 7041,7
|
solaris*) |
case $cc_basename in |
CC*) |
CC* | sunCC*) |
# The more standards-conforming stlport4 library is |
# incompatible with the Cstd library. Avoid specifying |
# it if it's in CXXFLAGS. Ignore libCrun as |
6576,24 → 7085,6
])# _LT_SYS_HIDDEN_LIBDEPS |
|
|
# _LT_PROG_F77 |
# ------------ |
# Since AC_PROG_F77 is broken, in that it returns the empty string |
# if there is no fortran compiler, we have our own version here. |
m4_defun([_LT_PROG_F77], |
[ |
pushdef([AC_MSG_ERROR], [_lt_disable_F77=yes]) |
AC_PROG_F77 |
if test -z "$F77" || test "X$F77" = "Xno"; then |
_lt_disable_F77=yes |
fi |
popdef([AC_MSG_ERROR]) |
])# _LT_PROG_F77 |
|
dnl aclocal-1.4 backwards compatibility: |
dnl AC_DEFUN([_LT_PROG_F77], []) |
|
|
# _LT_LANG_F77_CONFIG([TAG]) |
# -------------------------- |
# Ensure that the configuration variables for a Fortran 77 compiler are |
6600,8 → 7091,10
# suitably defined. These variables are subsequently used by _LT_CONFIG |
# to write the compiler configuration to `libtool'. |
m4_defun([_LT_LANG_F77_CONFIG], |
[AC_REQUIRE([_LT_PROG_F77])dnl |
AC_LANG_PUSH(Fortran 77) |
[AC_LANG_PUSH(Fortran 77) |
if test -z "$F77" || test "X$F77" = "Xno"; then |
_lt_disable_F77=yes |
fi |
|
_LT_TAGVAR(archive_cmds_need_lc, $1)=no |
_LT_TAGVAR(allow_undefined_flag, $1)= |
6620,6 → 7113,8
_LT_TAGVAR(module_expsym_cmds, $1)= |
_LT_TAGVAR(link_all_deplibs, $1)=unknown |
_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds |
_LT_TAGVAR(reload_flag, $1)=$reload_flag |
_LT_TAGVAR(reload_cmds, $1)=$reload_cmds |
_LT_TAGVAR(no_undefined_flag, $1)= |
_LT_TAGVAR(whole_archive_flag_spec, $1)= |
_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no |
6659,7 → 7154,9
# Allow CC to be a program name with arguments. |
lt_save_CC="$CC" |
lt_save_GCC=$GCC |
lt_save_CFLAGS=$CFLAGS |
CC=${F77-"f77"} |
CFLAGS=$FFLAGS |
compiler=$CC |
_LT_TAGVAR(compiler, $1)=$CC |
_LT_CC_BASENAME([$compiler]) |
6713,6 → 7210,7
|
GCC=$lt_save_GCC |
CC="$lt_save_CC" |
CFLAGS="$lt_save_CFLAGS" |
fi # test "$_lt_disable_F77" != yes |
|
AC_LANG_POP |
6719,24 → 7217,6
])# _LT_LANG_F77_CONFIG |
|
|
# _LT_PROG_FC |
# ----------- |
# Since AC_PROG_FC is broken, in that it returns the empty string |
# if there is no fortran compiler, we have our own version here. |
m4_defun([_LT_PROG_FC], |
[ |
pushdef([AC_MSG_ERROR], [_lt_disable_FC=yes]) |
AC_PROG_FC |
if test -z "$FC" || test "X$FC" = "Xno"; then |
_lt_disable_FC=yes |
fi |
popdef([AC_MSG_ERROR]) |
])# _LT_PROG_FC |
|
dnl aclocal-1.4 backwards compatibility: |
dnl AC_DEFUN([_LT_PROG_FC], []) |
|
|
# _LT_LANG_FC_CONFIG([TAG]) |
# ------------------------- |
# Ensure that the configuration variables for a Fortran compiler are |
6743,9 → 7223,12
# suitably defined. These variables are subsequently used by _LT_CONFIG |
# to write the compiler configuration to `libtool'. |
m4_defun([_LT_LANG_FC_CONFIG], |
[AC_REQUIRE([_LT_PROG_FC])dnl |
AC_LANG_PUSH(Fortran) |
[AC_LANG_PUSH(Fortran) |
|
if test -z "$FC" || test "X$FC" = "Xno"; then |
_lt_disable_FC=yes |
fi |
|
_LT_TAGVAR(archive_cmds_need_lc, $1)=no |
_LT_TAGVAR(allow_undefined_flag, $1)= |
_LT_TAGVAR(always_export_symbols, $1)=no |
6763,6 → 7246,8
_LT_TAGVAR(module_expsym_cmds, $1)= |
_LT_TAGVAR(link_all_deplibs, $1)=unknown |
_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds |
_LT_TAGVAR(reload_flag, $1)=$reload_flag |
_LT_TAGVAR(reload_cmds, $1)=$reload_cmds |
_LT_TAGVAR(no_undefined_flag, $1)= |
_LT_TAGVAR(whole_archive_flag_spec, $1)= |
_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no |
6802,7 → 7287,9
# Allow CC to be a program name with arguments. |
lt_save_CC="$CC" |
lt_save_GCC=$GCC |
lt_save_CFLAGS=$CFLAGS |
CC=${FC-"f95"} |
CFLAGS=$FCFLAGS |
compiler=$CC |
GCC=$ac_cv_fc_compiler_gnu |
|
6858,7 → 7345,8
fi # test -n "$compiler" |
|
GCC=$lt_save_GCC |
CC="$lt_save_CC" |
CC=$lt_save_CC |
CFLAGS=$lt_save_CFLAGS |
fi # test "$_lt_disable_FC" != yes |
|
AC_LANG_POP |
6895,10 → 7383,12
_LT_LINKER_BOILERPLATE |
|
# Allow CC to be a program name with arguments. |
lt_save_CC="$CC" |
lt_save_CC=$CC |
lt_save_CFLAGS=$CFLAGS |
lt_save_GCC=$GCC |
GCC=yes |
CC=${GCJ-"gcj"} |
CFLAGS=$GCJFLAGS |
compiler=$CC |
_LT_TAGVAR(compiler, $1)=$CC |
_LT_TAGVAR(LD, $1)="$LD" |
6908,6 → 7398,8
_LT_TAGVAR(archive_cmds_need_lc, $1)=no |
|
_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds |
_LT_TAGVAR(reload_flag, $1)=$reload_flag |
_LT_TAGVAR(reload_cmds, $1)=$reload_cmds |
|
## CAVEAT EMPTOR: |
## There is no encapsulation within the following macros, do not change |
6927,7 → 7419,8
AC_LANG_RESTORE |
|
GCC=$lt_save_GCC |
CC="$lt_save_CC" |
CC=$lt_save_CC |
CFLAGS=$lt_save_CFLAGS |
])# _LT_LANG_GCJ_CONFIG |
|
|
6962,9 → 7455,11
|
# Allow CC to be a program name with arguments. |
lt_save_CC="$CC" |
lt_save_CFLAGS=$CFLAGS |
lt_save_GCC=$GCC |
GCC= |
CC=${RC-"windres"} |
CFLAGS= |
compiler=$CC |
_LT_TAGVAR(compiler, $1)=$CC |
_LT_CC_BASENAME([$compiler]) |
6977,7 → 7472,8
|
GCC=$lt_save_GCC |
AC_LANG_RESTORE |
CC="$lt_save_CC" |
CC=$lt_save_CC |
CFLAGS=$lt_save_CFLAGS |
])# _LT_LANG_RC_CONFIG |
|
|
7036,6 → 7532,15
AC_SUBST([OBJDUMP]) |
]) |
|
# _LT_DECL_DLLTOOL |
# ---------------- |
# Ensure DLLTOOL variable is set. |
m4_defun([_LT_DECL_DLLTOOL], |
[AC_CHECK_TOOL(DLLTOOL, dlltool, false) |
test -z "$DLLTOOL" && DLLTOOL=dlltool |
_LT_DECL([], [DLLTOOL], [1], [DLL creation program]) |
AC_SUBST([DLLTOOL]) |
]) |
|
# _LT_DECL_SED |
# ------------ |
7129,8 → 7634,8
# Try some XSI features |
xsi_shell=no |
( _lt_dummy="a/b/c" |
test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \ |
= c,a/b,, \ |
test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \ |
= c,a/b,b/c, \ |
&& eval 'test $(( 1 + 1 )) -eq 2 \ |
&& test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ |
&& xsi_shell=yes |
7169,208 → 7674,162
])# _LT_CHECK_SHELL_FEATURES |
|
|
# _LT_PROG_XSI_SHELLFNS |
# --------------------- |
# Bourne and XSI compatible variants of some useful shell functions. |
m4_defun([_LT_PROG_XSI_SHELLFNS], |
[case $xsi_shell in |
yes) |
cat << \_LT_EOF >> "$cfgfile" |
# _LT_PROG_FUNCTION_REPLACE (FUNCNAME, REPLACEMENT-BODY) |
# ------------------------------------------------------ |
# In `$cfgfile', look for function FUNCNAME delimited by `^FUNCNAME ()$' and |
# '^} FUNCNAME ', and replace its body with REPLACEMENT-BODY. |
m4_defun([_LT_PROG_FUNCTION_REPLACE], |
[dnl { |
sed -e '/^$1 ()$/,/^} # $1 /c\ |
$1 ()\ |
{\ |
m4_bpatsubsts([$2], [$], [\\], [^\([ ]\)], [\\\1]) |
} # Extended-shell $1 implementation' "$cfgfile" > $cfgfile.tmp \ |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
test 0 -eq $? || _lt_function_replace_fail=: |
]) |
|
# func_dirname file append nondir_replacement |
# Compute the dirname of FILE. If nonempty, add APPEND to the result, |
# otherwise set result to NONDIR_REPLACEMENT. |
func_dirname () |
{ |
case ${1} in |
*/*) func_dirname_result="${1%/*}${2}" ;; |
* ) func_dirname_result="${3}" ;; |
esac |
} |
|
# func_basename file |
func_basename () |
{ |
func_basename_result="${1##*/}" |
} |
# _LT_PROG_REPLACE_SHELLFNS |
# ------------------------- |
# Replace existing portable implementations of several shell functions with |
# equivalent extended shell implementations where those features are available.. |
m4_defun([_LT_PROG_REPLACE_SHELLFNS], |
[if test x"$xsi_shell" = xyes; then |
_LT_PROG_FUNCTION_REPLACE([func_dirname], [dnl |
case ${1} in |
*/*) func_dirname_result="${1%/*}${2}" ;; |
* ) func_dirname_result="${3}" ;; |
esac]) |
|
# func_dirname_and_basename file append nondir_replacement |
# perform func_basename and func_dirname in a single function |
# call: |
# dirname: Compute the dirname of FILE. If nonempty, |
# add APPEND to the result, otherwise set result |
# to NONDIR_REPLACEMENT. |
# value returned in "$func_dirname_result" |
# basename: Compute filename of FILE. |
# value retuned in "$func_basename_result" |
# Implementation must be kept synchronized with func_dirname |
# and func_basename. For efficiency, we do not delegate to |
# those functions but instead duplicate the functionality here. |
func_dirname_and_basename () |
{ |
case ${1} in |
*/*) func_dirname_result="${1%/*}${2}" ;; |
* ) func_dirname_result="${3}" ;; |
esac |
func_basename_result="${1##*/}" |
} |
_LT_PROG_FUNCTION_REPLACE([func_basename], [dnl |
func_basename_result="${1##*/}"]) |
|
# func_stripname prefix suffix name |
# strip PREFIX and SUFFIX off of NAME. |
# PREFIX and SUFFIX must not contain globbing or regex special |
# characters, hashes, percent signs, but SUFFIX may contain a leading |
# dot (in which case that matches only a dot). |
func_stripname () |
{ |
# pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are |
# positional parameters, so assign one to ordinary parameter first. |
func_stripname_result=${3} |
func_stripname_result=${func_stripname_result#"${1}"} |
func_stripname_result=${func_stripname_result%"${2}"} |
} |
_LT_PROG_FUNCTION_REPLACE([func_dirname_and_basename], [dnl |
case ${1} in |
*/*) func_dirname_result="${1%/*}${2}" ;; |
* ) func_dirname_result="${3}" ;; |
esac |
func_basename_result="${1##*/}"]) |
|
# func_opt_split |
func_opt_split () |
{ |
func_opt_split_opt=${1%%=*} |
func_opt_split_arg=${1#*=} |
} |
_LT_PROG_FUNCTION_REPLACE([func_stripname], [dnl |
# pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are |
# positional parameters, so assign one to ordinary parameter first. |
func_stripname_result=${3} |
func_stripname_result=${func_stripname_result#"${1}"} |
func_stripname_result=${func_stripname_result%"${2}"}]) |
|
# func_lo2o object |
func_lo2o () |
{ |
case ${1} in |
*.lo) func_lo2o_result=${1%.lo}.${objext} ;; |
*) func_lo2o_result=${1} ;; |
esac |
} |
_LT_PROG_FUNCTION_REPLACE([func_split_long_opt], [dnl |
func_split_long_opt_name=${1%%=*} |
func_split_long_opt_arg=${1#*=}]) |
|
# func_xform libobj-or-source |
func_xform () |
{ |
func_xform_result=${1%.*}.lo |
} |
_LT_PROG_FUNCTION_REPLACE([func_split_short_opt], [dnl |
func_split_short_opt_arg=${1#??} |
func_split_short_opt_name=${1%"$func_split_short_opt_arg"}]) |
|
# func_arith arithmetic-term... |
func_arith () |
{ |
func_arith_result=$(( $[*] )) |
} |
_LT_PROG_FUNCTION_REPLACE([func_lo2o], [dnl |
case ${1} in |
*.lo) func_lo2o_result=${1%.lo}.${objext} ;; |
*) func_lo2o_result=${1} ;; |
esac]) |
|
# func_len string |
# STRING may not start with a hyphen. |
func_len () |
{ |
func_len_result=${#1} |
} |
_LT_PROG_FUNCTION_REPLACE([func_xform], [ func_xform_result=${1%.*}.lo]) |
|
_LT_EOF |
;; |
*) # Bourne compatible functions. |
cat << \_LT_EOF >> "$cfgfile" |
_LT_PROG_FUNCTION_REPLACE([func_arith], [ func_arith_result=$(( $[*] ))]) |
|
# func_dirname file append nondir_replacement |
# Compute the dirname of FILE. If nonempty, add APPEND to the result, |
# otherwise set result to NONDIR_REPLACEMENT. |
func_dirname () |
{ |
# Extract subdirectory from the argument. |
func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"` |
if test "X$func_dirname_result" = "X${1}"; then |
func_dirname_result="${3}" |
else |
func_dirname_result="$func_dirname_result${2}" |
fi |
} |
_LT_PROG_FUNCTION_REPLACE([func_len], [ func_len_result=${#1}]) |
fi |
|
# func_basename file |
func_basename () |
{ |
func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"` |
} |
if test x"$lt_shell_append" = xyes; then |
_LT_PROG_FUNCTION_REPLACE([func_append], [ eval "${1}+=\\${2}"]) |
|
dnl func_dirname_and_basename |
dnl A portable version of this function is already defined in general.m4sh |
dnl so there is no need for it here. |
_LT_PROG_FUNCTION_REPLACE([func_append_quoted], [dnl |
func_quote_for_eval "${2}" |
dnl m4 expansion turns \\\\ into \\, and then the shell eval turns that into \ |
eval "${1}+=\\\\ \\$func_quote_for_eval_result"]) |
|
# func_stripname prefix suffix name |
# strip PREFIX and SUFFIX off of NAME. |
# PREFIX and SUFFIX must not contain globbing or regex special |
# characters, hashes, percent signs, but SUFFIX may contain a leading |
# dot (in which case that matches only a dot). |
# func_strip_suffix prefix name |
func_stripname () |
{ |
case ${2} in |
.*) func_stripname_result=`$ECHO "X${3}" \ |
| $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;; |
*) func_stripname_result=`$ECHO "X${3}" \ |
| $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;; |
esac |
} |
# Save a `func_append' function call where possible by direct use of '+=' |
sed -e 's%func_append \([[a-zA-Z_]]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \ |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
test 0 -eq $? || _lt_function_replace_fail=: |
else |
# Save a `func_append' function call even when '+=' is not available |
sed -e 's%func_append \([[a-zA-Z_]]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \ |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
test 0 -eq $? || _lt_function_replace_fail=: |
fi |
|
# sed scripts: |
my_sed_long_opt='1s/^\(-[[^=]]*\)=.*/\1/;q' |
my_sed_long_arg='1s/^-[[^=]]*=//' |
if test x"$_lt_function_replace_fail" = x":"; then |
AC_MSG_WARN([Unable to substitute extended shell functions in $ofile]) |
fi |
]) |
|
# func_opt_split |
func_opt_split () |
{ |
func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"` |
func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"` |
} |
|
# func_lo2o object |
func_lo2o () |
{ |
func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"` |
} |
|
# func_xform libobj-or-source |
func_xform () |
{ |
func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[[^.]]*$/.lo/'` |
} |
|
# func_arith arithmetic-term... |
func_arith () |
{ |
func_arith_result=`expr "$[@]"` |
} |
|
# func_len string |
# STRING may not start with a hyphen. |
func_len () |
{ |
func_len_result=`expr "$[1]" : ".*" 2>/dev/null || echo $max_cmd_len` |
} |
|
_LT_EOF |
# _LT_PATH_CONVERSION_FUNCTIONS |
# ----------------------------- |
# Determine which file name conversion functions should be used by |
# func_to_host_file (and, implicitly, by func_to_host_path). These are needed |
# for certain cross-compile configurations and native mingw. |
m4_defun([_LT_PATH_CONVERSION_FUNCTIONS], |
[AC_REQUIRE([AC_CANONICAL_HOST])dnl |
AC_REQUIRE([AC_CANONICAL_BUILD])dnl |
AC_MSG_CHECKING([how to convert $build file names to $host format]) |
AC_CACHE_VAL(lt_cv_to_host_file_cmd, |
[case $host in |
*-*-mingw* ) |
case $build in |
*-*-mingw* ) # actually msys |
lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 |
;; |
*-*-cygwin* ) |
lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 |
;; |
* ) # otherwise, assume *nix |
lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 |
;; |
esac |
;; |
*-*-cygwin* ) |
case $build in |
*-*-mingw* ) # actually msys |
lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin |
;; |
*-*-cygwin* ) |
lt_cv_to_host_file_cmd=func_convert_file_noop |
;; |
* ) # otherwise, assume *nix |
lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin |
;; |
esac |
;; |
* ) # unhandled hosts (and "normal" native builds) |
lt_cv_to_host_file_cmd=func_convert_file_noop |
;; |
esac |
]) |
to_host_file_cmd=$lt_cv_to_host_file_cmd |
AC_MSG_RESULT([$lt_cv_to_host_file_cmd]) |
_LT_DECL([to_host_file_cmd], [lt_cv_to_host_file_cmd], |
[0], [convert $build file names to $host format])dnl |
|
case $lt_shell_append in |
yes) |
cat << \_LT_EOF >> "$cfgfile" |
|
# func_append var value |
# Append VALUE to the end of shell variable VAR. |
func_append () |
{ |
eval "$[1]+=\$[2]" |
} |
_LT_EOF |
AC_MSG_CHECKING([how to convert $build file names to toolchain format]) |
AC_CACHE_VAL(lt_cv_to_tool_file_cmd, |
[#assume ordinary cross tools, or native build. |
lt_cv_to_tool_file_cmd=func_convert_file_noop |
case $host in |
*-*-mingw* ) |
case $build in |
*-*-mingw* ) # actually msys |
lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 |
;; |
esac |
;; |
*) |
cat << \_LT_EOF >> "$cfgfile" |
|
# func_append var value |
# Append VALUE to the end of shell variable VAR. |
func_append () |
{ |
eval "$[1]=\$$[1]\$[2]" |
} |
|
_LT_EOF |
;; |
esac |
esac |
]) |
to_tool_file_cmd=$lt_cv_to_tool_file_cmd |
AC_MSG_RESULT([$lt_cv_to_tool_file_cmd]) |
_LT_DECL([to_tool_file_cmd], [lt_cv_to_tool_file_cmd], |
[0], [convert $build files to toolchain format])dnl |
])# _LT_PATH_CONVERSION_FUNCTIONS |
/test-code-or1k/m4/ltversion.m4
7,17 → 7,17
# unlimited permission to copy and/or distribute it, with or without |
# modifications, as long as this notice is preserved. |
|
# Generated from ltversion.in. |
# @configure_input@ |
|
# serial 3017 ltversion.m4 |
# serial 3293 ltversion.m4 |
# This file is part of GNU Libtool |
|
m4_define([LT_PACKAGE_VERSION], [2.2.6b]) |
m4_define([LT_PACKAGE_REVISION], [1.3017]) |
m4_define([LT_PACKAGE_VERSION], [2.4]) |
m4_define([LT_PACKAGE_REVISION], [1.3293]) |
|
AC_DEFUN([LTVERSION_VERSION], |
[macro_version='2.2.6b' |
macro_revision='1.3017' |
[macro_version='2.4' |
macro_revision='1.3293' |
_LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?]) |
_LT_DECL(, macro_revision, 0) |
]) |
/test-code-or1k/m4/lt~obsolete.m4
1,6 → 1,6
# lt~obsolete.m4 -- aclocal satisfying obsolete definitions. -*-Autoconf-*- |
# |
# Copyright (C) 2004, 2005, 2007 Free Software Foundation, Inc. |
# Copyright (C) 2004, 2005, 2007, 2009 Free Software Foundation, Inc. |
# Written by Scott James Remnant, 2004. |
# |
# This file is free software; the Free Software Foundation gives |
7,7 → 7,7
# unlimited permission to copy and/or distribute it, with or without |
# modifications, as long as this notice is preserved. |
|
# serial 4 lt~obsolete.m4 |
# serial 5 lt~obsolete.m4 |
|
# These exist entirely to fool aclocal when bootstrapping libtool. |
# |
77,7 → 77,6
m4_ifndef([_LT_AC_LANG_CXX], [AC_DEFUN([_LT_AC_LANG_CXX])]) |
m4_ifndef([_LT_AC_LANG_F77], [AC_DEFUN([_LT_AC_LANG_F77])]) |
m4_ifndef([_LT_AC_LANG_GCJ], [AC_DEFUN([_LT_AC_LANG_GCJ])]) |
m4_ifndef([AC_LIBTOOL_RC], [AC_DEFUN([AC_LIBTOOL_RC])]) |
m4_ifndef([AC_LIBTOOL_LANG_C_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG])]) |
m4_ifndef([_LT_AC_LANG_C_CONFIG], [AC_DEFUN([_LT_AC_LANG_C_CONFIG])]) |
m4_ifndef([AC_LIBTOOL_LANG_CXX_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG])]) |
90,3 → 89,10
m4_ifndef([_LT_AC_LANG_RC_CONFIG], [AC_DEFUN([_LT_AC_LANG_RC_CONFIG])]) |
m4_ifndef([AC_LIBTOOL_CONFIG], [AC_DEFUN([AC_LIBTOOL_CONFIG])]) |
m4_ifndef([_LT_AC_FILE_LTDLL_C], [AC_DEFUN([_LT_AC_FILE_LTDLL_C])]) |
m4_ifndef([_LT_REQUIRED_DARWIN_CHECKS], [AC_DEFUN([_LT_REQUIRED_DARWIN_CHECKS])]) |
m4_ifndef([_LT_AC_PROG_CXXCPP], [AC_DEFUN([_LT_AC_PROG_CXXCPP])]) |
m4_ifndef([_LT_PREPARE_SED_QUOTE_VARS], [AC_DEFUN([_LT_PREPARE_SED_QUOTE_VARS])]) |
m4_ifndef([_LT_PROG_ECHO_BACKSLASH], [AC_DEFUN([_LT_PROG_ECHO_BACKSLASH])]) |
m4_ifndef([_LT_PROG_F77], [AC_DEFUN([_LT_PROG_F77])]) |
m4_ifndef([_LT_PROG_FC], [AC_DEFUN([_LT_PROG_FC])]) |
m4_ifndef([_LT_PROG_CXX], [AC_DEFUN([_LT_PROG_CXX])]) |
/test-code-or1k/m4/ltoptions.m4
1,6 → 1,7
# Helper functions for option handling. -*- Autoconf -*- |
# |
# Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc. |
# Copyright (C) 2004, 2005, 2007, 2008, 2009 Free Software Foundation, |
# Inc. |
# Written by Gary V. Vaughan, 2004 |
# |
# This file is free software; the Free Software Foundation gives |
7,7 → 8,7
# unlimited permission to copy and/or distribute it, with or without |
# modifications, as long as this notice is preserved. |
|
# serial 6 ltoptions.m4 |
# serial 7 ltoptions.m4 |
|
# This is to help aclocal find these macros, as it can't see m4_define. |
AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])]) |
125,7 → 126,7
[enable_win32_dll=yes |
|
case $host in |
*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*) |
*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*) |
AC_CHECK_TOOL(AS, as, false) |
AC_CHECK_TOOL(DLLTOOL, dlltool, false) |
AC_CHECK_TOOL(OBJDUMP, objdump, false) |
133,13 → 134,13
esac |
|
test -z "$AS" && AS=as |
_LT_DECL([], [AS], [0], [Assembler program])dnl |
_LT_DECL([], [AS], [1], [Assembler program])dnl |
|
test -z "$DLLTOOL" && DLLTOOL=dlltool |
_LT_DECL([], [DLLTOOL], [0], [DLL creation program])dnl |
_LT_DECL([], [DLLTOOL], [1], [DLL creation program])dnl |
|
test -z "$OBJDUMP" && OBJDUMP=objdump |
_LT_DECL([], [OBJDUMP], [0], [Object dumper program])dnl |
_LT_DECL([], [OBJDUMP], [1], [Object dumper program])dnl |
])# win32-dll |
|
AU_DEFUN([AC_LIBTOOL_WIN32_DLL], |
/test-code-or1k/configure
1,6 → 1,6
#! /bin/sh |
# Guess values for system-dependent variables and create Makefiles. |
# Generated by GNU Autoconf 2.68 for or1ksim-testsuite 2011-08-15. |
# Generated by GNU Autoconf 2.68 for or1ksim-testsuite 2012-03-21. |
# |
# Report bugs to <openrisc@opencores.org>. |
# |
174,6 → 174,14
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO |
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && |
test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 |
|
test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || ( |
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO |
ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO |
PATH=/empty FPATH=/empty; export PATH FPATH |
test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\ |
|| test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1 |
test \$(( 1 + 1 )) = 2 || exit 1" |
if (eval "$as_required") 2>/dev/null; then : |
as_have_required=yes |
536,156 → 544,9
# Sed expression to map a string onto a valid variable name. |
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
|
|
|
# Check that we are running under the correct shell. |
SHELL=${CONFIG_SHELL-/bin/sh} |
|
case X$lt_ECHO in |
X*--fallback-echo) |
# Remove one level of quotation (which was required for Make). |
ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','` |
;; |
esac |
|
ECHO=${lt_ECHO-echo} |
if test "X$1" = X--no-reexec; then |
# Discard the --no-reexec flag, and continue. |
shift |
elif test "X$1" = X--fallback-echo; then |
# Avoid inline document here, it may be left over |
: |
elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then |
# Yippee, $ECHO works! |
: |
else |
# Restart under the correct shell. |
exec $SHELL "$0" --no-reexec ${1+"$@"} |
fi |
|
if test "X$1" = X--fallback-echo; then |
# used as fallback echo |
shift |
cat <<_LT_EOF |
$* |
_LT_EOF |
exit 0 |
fi |
|
# The HP-UX ksh and POSIX shell print the target directory to stdout |
# if CDPATH is set. |
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
|
if test -z "$lt_ECHO"; then |
if test "X${echo_test_string+set}" != Xset; then |
# find a string as large as possible, as long as the shell can cope with it |
for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do |
# expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ... |
if { echo_test_string=`eval $cmd`; } 2>/dev/null && |
{ test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null |
then |
break |
fi |
done |
fi |
|
if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' && |
echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` && |
test "X$echo_testing_string" = "X$echo_test_string"; then |
: |
else |
# The Solaris, AIX, and Digital Unix default echo programs unquote |
# backslashes. This makes it impossible to quote backslashes using |
# echo "$something" | sed 's/\\/\\\\/g' |
# |
# So, first we look for a working echo in the user's PATH. |
|
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR |
for dir in $PATH /usr/ucb; do |
IFS="$lt_save_ifs" |
if (test -f $dir/echo || test -f $dir/echo$ac_exeext) && |
test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' && |
echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && |
test "X$echo_testing_string" = "X$echo_test_string"; then |
ECHO="$dir/echo" |
break |
fi |
done |
IFS="$lt_save_ifs" |
|
if test "X$ECHO" = Xecho; then |
# We didn't find a better echo, so look for alternatives. |
if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' && |
echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` && |
test "X$echo_testing_string" = "X$echo_test_string"; then |
# This shell has a builtin print -r that does the trick. |
ECHO='print -r' |
elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } && |
test "X$CONFIG_SHELL" != X/bin/ksh; then |
# If we have ksh, try running configure again with it. |
ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} |
export ORIGINAL_CONFIG_SHELL |
CONFIG_SHELL=/bin/ksh |
export CONFIG_SHELL |
exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"} |
else |
# Try using printf. |
ECHO='printf %s\n' |
if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' && |
echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` && |
test "X$echo_testing_string" = "X$echo_test_string"; then |
# Cool, printf works |
: |
elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && |
test "X$echo_testing_string" = 'X\t' && |
echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && |
test "X$echo_testing_string" = "X$echo_test_string"; then |
CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL |
export CONFIG_SHELL |
SHELL="$CONFIG_SHELL" |
export SHELL |
ECHO="$CONFIG_SHELL $0 --fallback-echo" |
elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && |
test "X$echo_testing_string" = 'X\t' && |
echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && |
test "X$echo_testing_string" = "X$echo_test_string"; then |
ECHO="$CONFIG_SHELL $0 --fallback-echo" |
else |
# maybe with a smaller string... |
prev=: |
|
for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do |
if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null |
then |
break |
fi |
prev="$cmd" |
done |
|
if test "$prev" != 'sed 50q "$0"'; then |
echo_test_string=`eval $prev` |
export echo_test_string |
exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"} |
else |
# Oops. We lost completely, so just stick with echo. |
ECHO=echo |
fi |
fi |
fi |
fi |
fi |
fi |
|
# Copy echo and quote the copy suitably for passing to libtool from |
# the Makefile, instead of quoting the original, which is used later. |
lt_ECHO=$ECHO |
if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then |
lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo" |
fi |
|
|
|
|
test -n "$DJDIR" || exec 7<&0 </dev/null |
exec 6>&1 |
|
709,8 → 570,8
# Identity of this package. |
PACKAGE_NAME='or1ksim-testsuite' |
PACKAGE_TARNAME='or1ksim-testsuite' |
PACKAGE_VERSION='2011-08-15' |
PACKAGE_STRING='or1ksim-testsuite 2011-08-15' |
PACKAGE_VERSION='2012-03-21' |
PACKAGE_STRING='or1ksim-testsuite 2012-03-21' |
PACKAGE_BUGREPORT='openrisc@opencores.org' |
PACKAGE_URL='' |
|
778,7 → 639,6
AMTAR |
am__leading_dot |
SET_MAKE |
AWK |
mkdir_p |
MKDIR_P |
INSTALL_STRIP_PROGRAM |
801,10 → 661,13
LIPO |
NMEDIT |
DSYMUTIL |
lt_ECHO |
MANIFEST_TOOL |
AWK |
RANLIB |
STRIP |
ac_ct_AR |
AR |
DLLTOOL |
OBJDUMP |
LN_S |
NM |
877,6 → 740,7
with_pic |
enable_fast_install |
with_gnu_ld |
with_sysroot |
enable_libtool_lock |
enable_dependency_tracking |
enable_silent_rules |
1436,7 → 1300,7
# Omit some internal or obsolete options to make the list less imposing. |
# This message is too long to be a string in the A/UX 3.1 sh. |
cat <<_ACEOF |
\`configure' configures or1ksim-testsuite 2011-08-15 to adapt to many kinds of systems. |
\`configure' configures or1ksim-testsuite 2012-03-21 to adapt to many kinds of systems. |
|
Usage: $0 [OPTION]... [VAR=VALUE]... |
|
1507,7 → 1371,7
|
if test -n "$ac_init_help"; then |
case $ac_init_help in |
short | recursive ) echo "Configuration of or1ksim-testsuite 2011-08-15:";; |
short | recursive ) echo "Configuration of or1ksim-testsuite 2012-03-21:";; |
esac |
cat <<\_ACEOF |
|
1535,6 → 1399,8
--with-pic try to use only PIC/non-PIC objects [default=use |
both] |
--with-gnu-ld assume the C compiler uses GNU ld [default=no] |
--with-sysroot=DIR Search for dependent libraries within DIR |
(or the compiler's sysroot if not specified). |
|
Some influential environment variables: |
CC C compiler command |
1614,7 → 1480,7
test -n "$ac_init_help" && exit $ac_status |
if $ac_init_version; then |
cat <<\_ACEOF |
or1ksim-testsuite configure 2011-08-15 |
or1ksim-testsuite configure 2012-03-21 |
generated by GNU Autoconf 2.68 |
|
Copyright (C) 2010 Free Software Foundation, Inc. |
2037,7 → 1903,7
This file contains any messages produced by compilers while |
running configure, to aid debugging if configure makes a mistake. |
|
It was created by or1ksim-testsuite $as_me 2011-08-15, which was |
It was created by or1ksim-testsuite $as_me 2012-03-21, which was |
generated by GNU Autoconf 2.68. Invocation command line was |
|
$ $0 $@ |
2387,31 → 2253,6
|
|
|
case `pwd` in |
*\ * | *\ *) |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 |
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; |
esac |
|
|
|
macro_version='2.2.6b' |
macro_revision='1.3017' |
|
|
|
|
|
|
|
|
|
|
|
|
|
ltmain="$ac_aux_dir/ltmain.sh" |
|
ac_aux_dir= |
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
if test -f "$ac_dir/install-sh"; then |
2441,6 → 2282,31
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. |
|
|
case `pwd` in |
*\ * | *\ *) |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 |
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; |
esac |
|
|
|
macro_version='2.4' |
macro_revision='1.3293' |
|
|
|
|
|
|
|
|
|
|
|
|
|
ltmain="$ac_aux_dir/ltmain.sh" |
|
# Make sure we can run config.sub. |
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || |
as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 |
2512,6 → 2378,75
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac |
|
|
# Backslashify metacharacters that are still active within |
# double-quoted strings. |
sed_quote_subst='s/\(["`$\\]\)/\\\1/g' |
|
# Same as above, but do not quote variable references. |
double_quote_subst='s/\(["`\\]\)/\\\1/g' |
|
# Sed substitution to delay expansion of an escaped shell variable in a |
# double_quote_subst'ed string. |
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' |
|
# Sed substitution to delay expansion of an escaped single quote. |
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' |
|
# Sed substitution to avoid accidental globbing in evaled expressions |
no_glob_subst='s/\*/\\\*/g' |
|
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO |
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 |
$as_echo_n "checking how to print strings... " >&6; } |
# Test print first, because it will be a builtin if present. |
if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ |
test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then |
ECHO='print -r --' |
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then |
ECHO='printf %s\n' |
else |
# Use this function as a fallback that always works. |
func_fallback_echo () |
{ |
eval 'cat <<_LTECHO_EOF |
$1 |
_LTECHO_EOF' |
} |
ECHO='func_fallback_echo' |
fi |
|
# func_echo_all arg... |
# Invoke $ECHO with all args, space-separated. |
func_echo_all () |
{ |
$ECHO "" |
} |
|
case "$ECHO" in |
printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 |
$as_echo "printf" >&6; } ;; |
print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 |
$as_echo "print -r" >&6; } ;; |
*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 |
$as_echo "cat" >&6; } ;; |
esac |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ac_ext=c |
ac_cpp='$CPP $CPPFLAGS' |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3767,8 → 3702,11
NM="$lt_cv_path_NM" |
else |
# Didn't find any BSD compatible name lister, look for dumpbin. |
if test -n "$ac_tool_prefix"; then |
for ac_prog in "dumpbin -symbols" "link -dump -symbols" |
if test -n "$DUMPBIN"; then : |
# Let the user override the test. |
else |
if test -n "$ac_tool_prefix"; then |
for ac_prog in dumpbin "link -dump" |
do |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
3812,7 → 3750,7
fi |
if test -z "$DUMPBIN"; then |
ac_ct_DUMPBIN=$DUMPBIN |
for ac_prog in "dumpbin -symbols" "link -dump -symbols" |
for ac_prog in dumpbin "link -dump" |
do |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
set dummy $ac_prog; ac_word=$2 |
3867,6 → 3805,15
fi |
fi |
|
case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in |
*COFF*) |
DUMPBIN="$DUMPBIN -symbols" |
;; |
*) |
DUMPBIN=: |
;; |
esac |
fi |
|
if test "$DUMPBIN" != ":"; then |
NM="$DUMPBIN" |
3886,13 → 3833,13
else |
lt_cv_nm_interface="BSD nm" |
echo "int some_variable = 0;" > conftest.$ac_ext |
(eval echo "\"\$as_me:3889: $ac_compile\"" >&5) |
(eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) |
(eval "$ac_compile" 2>conftest.err) |
cat conftest.err >&5 |
(eval echo "\"\$as_me:3892: $NM \\\"conftest.$ac_objext\\\"\"" >&5) |
(eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) |
(eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) |
cat conftest.err >&5 |
(eval echo "\"\$as_me:3895: output\"" >&5) |
(eval echo "\"\$as_me:$LINENO: output\"" >&5) |
cat conftest.out >&5 |
if $GREP 'External.*some_variable' conftest.out > /dev/null; then |
lt_cv_nm_interface="MS dumpbin" |
3949,6 → 3896,11
lt_cv_sys_max_cmd_len=8192; |
;; |
|
mint*) |
# On MiNT this can take a long time and run out of memory. |
lt_cv_sys_max_cmd_len=8192; |
;; |
|
amigaos*) |
# On AmigaOS with pdksh, this test takes hours, literally. |
# So we just punt and use a minimum line length of 8192. |
4013,8 → 3965,8
# If test is not a shell built-in, we'll probably end up computing a |
# maximum length that is only half of the actual maximum length, but |
# we can't tell. |
while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \ |
= "XX$teststring$teststring"; } >/dev/null 2>&1 && |
while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \ |
= "X$teststring$teststring"; } >/dev/null 2>&1 && |
test $i != 17 # 1/2 MB should be enough |
do |
i=`expr $i + 1` |
4056,8 → 4008,8
# Try some XSI features |
xsi_shell=no |
( _lt_dummy="a/b/c" |
test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \ |
= c,a/b,, \ |
test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \ |
= c,a/b,b/c, \ |
&& eval 'test $(( 1 + 1 )) -eq 2 \ |
&& test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ |
&& xsi_shell=yes |
4106,6 → 4058,80
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 |
$as_echo_n "checking how to convert $build file names to $host format... " >&6; } |
if ${lt_cv_to_host_file_cmd+:} false; then : |
$as_echo_n "(cached) " >&6 |
else |
case $host in |
*-*-mingw* ) |
case $build in |
*-*-mingw* ) # actually msys |
lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 |
;; |
*-*-cygwin* ) |
lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 |
;; |
* ) # otherwise, assume *nix |
lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 |
;; |
esac |
;; |
*-*-cygwin* ) |
case $build in |
*-*-mingw* ) # actually msys |
lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin |
;; |
*-*-cygwin* ) |
lt_cv_to_host_file_cmd=func_convert_file_noop |
;; |
* ) # otherwise, assume *nix |
lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin |
;; |
esac |
;; |
* ) # unhandled hosts (and "normal" native builds) |
lt_cv_to_host_file_cmd=func_convert_file_noop |
;; |
esac |
|
fi |
|
to_host_file_cmd=$lt_cv_to_host_file_cmd |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 |
$as_echo "$lt_cv_to_host_file_cmd" >&6; } |
|
|
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 |
$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } |
if ${lt_cv_to_tool_file_cmd+:} false; then : |
$as_echo_n "(cached) " >&6 |
else |
#assume ordinary cross tools, or native build. |
lt_cv_to_tool_file_cmd=func_convert_file_noop |
case $host in |
*-*-mingw* ) |
case $build in |
*-*-mingw* ) # actually msys |
lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 |
;; |
esac |
;; |
esac |
|
fi |
|
to_tool_file_cmd=$lt_cv_to_tool_file_cmd |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 |
$as_echo "$lt_cv_to_tool_file_cmd" >&6; } |
|
|
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 |
$as_echo_n "checking for $LD option to reload object files... " >&6; } |
if ${lt_cv_ld_reload_flag+:} false; then : |
4122,6 → 4148,11
esac |
reload_cmds='$LD$reload_flag -o $output$reload_objs' |
case $host_os in |
cygwin* | mingw* | pw32* | cegcc*) |
if test "$GCC" != yes; then |
reload_cmds=false |
fi |
;; |
darwin*) |
if test "$GCC" = yes; then |
reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' |
4285,16 → 4316,18
# Base MSYS/MinGW do not provide the 'file' command needed by |
# func_win32_libid shell function, so use a weaker test based on 'objdump', |
# unless we find 'file', for example because we are cross-compiling. |
if ( file / ) >/dev/null 2>&1; then |
# func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin. |
if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then |
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' |
lt_cv_file_magic_cmd='func_win32_libid' |
else |
lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' |
# Keep this pattern in sync with the one in func_win32_libid. |
lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' |
lt_cv_file_magic_cmd='$OBJDUMP -f' |
fi |
;; |
|
cegcc) |
cegcc*) |
# use the weaker test based on 'objdump'. See mingw*. |
lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' |
lt_cv_file_magic_cmd='$OBJDUMP -f' |
4324,6 → 4357,10
lt_cv_deplibs_check_method=pass_all |
;; |
|
haiku*) |
lt_cv_deplibs_check_method=pass_all |
;; |
|
hpux10.20* | hpux11*) |
lt_cv_file_magic_cmd=/usr/bin/file |
case $host_cpu in |
4332,11 → 4369,11
lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so |
;; |
hppa*64*) |
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]' |
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]' |
lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl |
;; |
*) |
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library' |
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' |
lt_cv_file_magic_test_file=/usr/lib/libc.sl |
;; |
esac |
4358,11 → 4395,11
;; |
|
# This must be Linux ELF. |
linux* | k*bsd*-gnu) |
linux* | k*bsd*-gnu | kopensolaris*-gnu) |
lt_cv_deplibs_check_method=pass_all |
;; |
|
netbsd* | netbsdelf*-gnu) |
netbsd*) |
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then |
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' |
else |
4439,6 → 4476,21
fi |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 |
$as_echo "$lt_cv_deplibs_check_method" >&6; } |
|
file_magic_glob= |
want_nocaseglob=no |
if test "$build" = "$host"; then |
case $host_os in |
mingw* | pw32*) |
if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then |
want_nocaseglob=yes |
else |
file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` |
fi |
;; |
esac |
fi |
|
file_magic_cmd=$lt_cv_file_magic_cmd |
deplibs_check_method=$lt_cv_deplibs_check_method |
test -z "$deplibs_check_method" && deplibs_check_method=unknown |
4454,11 → 4506,165
|
|
|
|
|
|
|
|
|
|
|
|
|
if test -n "$ac_tool_prefix"; then |
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. |
set dummy ${ac_tool_prefix}ar; ac_word=$2 |
# Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. |
set dummy ${ac_tool_prefix}dlltool; ac_word=$2 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
$as_echo_n "checking for $ac_word... " >&6; } |
if ${ac_cv_prog_DLLTOOL+:} false; then : |
$as_echo_n "(cached) " >&6 |
else |
if test -n "$DLLTOOL"; then |
ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. |
else |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
for as_dir in $PATH |
do |
IFS=$as_save_IFS |
test -z "$as_dir" && as_dir=. |
for ac_exec_ext in '' $ac_executable_extensions; do |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
break 2 |
fi |
done |
done |
IFS=$as_save_IFS |
|
fi |
fi |
DLLTOOL=$ac_cv_prog_DLLTOOL |
if test -n "$DLLTOOL"; then |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 |
$as_echo "$DLLTOOL" >&6; } |
else |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
$as_echo "no" >&6; } |
fi |
|
|
fi |
if test -z "$ac_cv_prog_DLLTOOL"; then |
ac_ct_DLLTOOL=$DLLTOOL |
# Extract the first word of "dlltool", so it can be a program name with args. |
set dummy dlltool; ac_word=$2 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
$as_echo_n "checking for $ac_word... " >&6; } |
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : |
$as_echo_n "(cached) " >&6 |
else |
if test -n "$ac_ct_DLLTOOL"; then |
ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. |
else |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
for as_dir in $PATH |
do |
IFS=$as_save_IFS |
test -z "$as_dir" && as_dir=. |
for ac_exec_ext in '' $ac_executable_extensions; do |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
ac_cv_prog_ac_ct_DLLTOOL="dlltool" |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
break 2 |
fi |
done |
done |
IFS=$as_save_IFS |
|
fi |
fi |
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL |
if test -n "$ac_ct_DLLTOOL"; then |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 |
$as_echo "$ac_ct_DLLTOOL" >&6; } |
else |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
$as_echo "no" >&6; } |
fi |
|
if test "x$ac_ct_DLLTOOL" = x; then |
DLLTOOL="false" |
else |
case $cross_compiling:$ac_tool_warned in |
yes:) |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
ac_tool_warned=yes ;; |
esac |
DLLTOOL=$ac_ct_DLLTOOL |
fi |
else |
DLLTOOL="$ac_cv_prog_DLLTOOL" |
fi |
|
test -z "$DLLTOOL" && DLLTOOL=dlltool |
|
|
|
|
|
|
|
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 |
$as_echo_n "checking how to associate runtime and link libraries... " >&6; } |
if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : |
$as_echo_n "(cached) " >&6 |
else |
lt_cv_sharedlib_from_linklib_cmd='unknown' |
|
case $host_os in |
cygwin* | mingw* | pw32* | cegcc*) |
# two different shell functions defined in ltmain.sh |
# decide which to use based on capabilities of $DLLTOOL |
case `$DLLTOOL --help 2>&1` in |
*--identify-strict*) |
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib |
;; |
*) |
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback |
;; |
esac |
;; |
*) |
# fallback: assume linklib IS sharedlib |
lt_cv_sharedlib_from_linklib_cmd="$ECHO" |
;; |
esac |
|
fi |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 |
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } |
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd |
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO |
|
|
|
|
|
|
|
|
if test -n "$ac_tool_prefix"; then |
for ac_prog in ar |
do |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
$as_echo_n "checking for $ac_word... " >&6; } |
if ${ac_cv_prog_AR+:} false; then : |
$as_echo_n "(cached) " >&6 |
else |
4472,7 → 4678,7
test -z "$as_dir" && as_dir=. |
for ac_exec_ext in '' $ac_executable_extensions; do |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
ac_cv_prog_AR="${ac_tool_prefix}ar" |
ac_cv_prog_AR="$ac_tool_prefix$ac_prog" |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
break 2 |
fi |
4492,11 → 4698,15
fi |
|
|
test -n "$AR" && break |
done |
fi |
if test -z "$ac_cv_prog_AR"; then |
if test -z "$AR"; then |
ac_ct_AR=$AR |
# Extract the first word of "ar", so it can be a program name with args. |
set dummy ar; ac_word=$2 |
for ac_prog in ar |
do |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
set dummy $ac_prog; ac_word=$2 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
$as_echo_n "checking for $ac_word... " >&6; } |
if ${ac_cv_prog_ac_ct_AR+:} false; then : |
4512,7 → 4722,7
test -z "$as_dir" && as_dir=. |
for ac_exec_ext in '' $ac_executable_extensions; do |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
ac_cv_prog_ac_ct_AR="ar" |
ac_cv_prog_ac_ct_AR="$ac_prog" |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
break 2 |
fi |
4531,6 → 4741,10
$as_echo "no" >&6; } |
fi |
|
|
test -n "$ac_ct_AR" && break |
done |
|
if test "x$ac_ct_AR" = x; then |
AR="false" |
else |
4542,12 → 4756,10
esac |
AR=$ac_ct_AR |
fi |
else |
AR="$ac_cv_prog_AR" |
fi |
|
test -z "$AR" && AR=ar |
test -z "$AR_FLAGS" && AR_FLAGS=cru |
: ${AR=ar} |
: ${AR_FLAGS=cru} |
|
|
|
4559,6 → 4771,64
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 |
$as_echo_n "checking for archiver @FILE support... " >&6; } |
if ${lt_cv_ar_at_file+:} false; then : |
$as_echo_n "(cached) " >&6 |
else |
lt_cv_ar_at_file=no |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
/* end confdefs.h. */ |
|
int |
main () |
{ |
|
; |
return 0; |
} |
_ACEOF |
if ac_fn_c_try_compile "$LINENO"; then : |
echo conftest.$ac_objext > conftest.lst |
lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' |
{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 |
(eval $lt_ar_try) 2>&5 |
ac_status=$? |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
test $ac_status = 0; } |
if test "$ac_status" -eq 0; then |
# Ensure the archiver fails upon bogus file names. |
rm -f conftest.$ac_objext libconftest.a |
{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 |
(eval $lt_ar_try) 2>&5 |
ac_status=$? |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
test $ac_status = 0; } |
if test "$ac_status" -ne 0; then |
lt_cv_ar_at_file=@ |
fi |
fi |
rm -f conftest.* libconftest.a |
|
fi |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
fi |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 |
$as_echo "$lt_cv_ar_at_file" >&6; } |
|
if test "x$lt_cv_ar_at_file" = xno; then |
archiver_list_spec= |
else |
archiver_list_spec=$lt_cv_ar_at_file |
fi |
|
|
|
|
|
|
|
if test -n "$ac_tool_prefix"; then |
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
set dummy ${ac_tool_prefix}strip; ac_word=$2 |
4774,6 → 5044,12
old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" |
fi |
|
case $host_os in |
darwin*) |
lock_old_archive_extraction=yes ;; |
*) |
lock_old_archive_extraction=no ;; |
esac |
|
|
|
4795,9 → 5071,47
|
|
|
for ac_prog in gawk mawk nawk awk |
do |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
set dummy $ac_prog; ac_word=$2 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
$as_echo_n "checking for $ac_word... " >&6; } |
if ${ac_cv_prog_AWK+:} false; then : |
$as_echo_n "(cached) " >&6 |
else |
if test -n "$AWK"; then |
ac_cv_prog_AWK="$AWK" # Let the user override the test. |
else |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
for as_dir in $PATH |
do |
IFS=$as_save_IFS |
test -z "$as_dir" && as_dir=. |
for ac_exec_ext in '' $ac_executable_extensions; do |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
ac_cv_prog_AWK="$ac_prog" |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
break 2 |
fi |
done |
done |
IFS=$as_save_IFS |
|
fi |
fi |
AWK=$ac_cv_prog_AWK |
if test -n "$AWK"; then |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 |
$as_echo "$AWK" >&6; } |
else |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
$as_echo "no" >&6; } |
fi |
|
|
test -n "$AWK" && break |
done |
|
|
|
4807,6 → 5121,16
|
|
|
|
|
|
|
|
|
|
|
|
|
# If no C compiler was specified, use CC. |
LTCC=${LTCC-"$CC"} |
|
4881,8 → 5205,8
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" |
|
# Transform an extracted symbol line into symbol name and symbol address |
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'" |
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'" |
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'" |
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'" |
|
# Handle CRLF in mingw tool chain |
opt_cr= |
4918,6 → 5242,7
else |
lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" |
fi |
lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" |
|
# Check to see that the pipe works correctly. |
pipe_works=no |
4943,8 → 5268,8
test $ac_status = 0; }; then |
# Now try to grab the symbols. |
nlist=conftest.nm |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5 |
(eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 |
(eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5 |
ac_status=$? |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
test $ac_status = 0; } && test -s "$nlist"; then |
4959,6 → 5284,18
if $GREP ' nm_test_var$' "$nlist" >/dev/null; then |
if $GREP ' nm_test_func$' "$nlist" >/dev/null; then |
cat <<_LT_EOF > conftest.$ac_ext |
/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ |
#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE) |
/* DATA imports from DLLs on WIN32 con't be const, because runtime |
relocations are performed -- see ld's documentation on pseudo-relocs. */ |
# define LT_DLSYM_CONST |
#elif defined(__osf__) |
/* This system does not cope well with relocations in const data. */ |
# define LT_DLSYM_CONST |
#else |
# define LT_DLSYM_CONST const |
#endif |
|
#ifdef __cplusplus |
extern "C" { |
#endif |
4970,7 → 5307,7
cat <<_LT_EOF >> conftest.$ac_ext |
|
/* The mapping between symbol names and symbols. */ |
const struct { |
LT_DLSYM_CONST struct { |
const char *name; |
void *address; |
} |
4996,8 → 5333,8
_LT_EOF |
# Now try linking the two files. |
mv conftest.$ac_objext conftstm.$ac_objext |
lt_save_LIBS="$LIBS" |
lt_save_CFLAGS="$CFLAGS" |
lt_globsym_save_LIBS=$LIBS |
lt_globsym_save_CFLAGS=$CFLAGS |
LIBS="conftstm.$ac_objext" |
CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 |
5007,8 → 5344,8
test $ac_status = 0; } && test -s conftest${ac_exeext}; then |
pipe_works=yes |
fi |
LIBS="$lt_save_LIBS" |
CFLAGS="$lt_save_CFLAGS" |
LIBS=$lt_globsym_save_LIBS |
CFLAGS=$lt_globsym_save_CFLAGS |
else |
echo "cannot find nm_test_func in $nlist" >&5 |
fi |
5045,6 → 5382,12
$as_echo "ok" >&6; } |
fi |
|
# Response file support. |
if test "$lt_cv_nm_interface" = "MS dumpbin"; then |
nm_file_list_spec='@' |
elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then |
nm_file_list_spec='@' |
fi |
|
|
|
5067,6 → 5410,48
|
|
|
|
|
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 |
$as_echo_n "checking for sysroot... " >&6; } |
|
# Check whether --with-sysroot was given. |
if test "${with_sysroot+set}" = set; then : |
withval=$with_sysroot; |
else |
with_sysroot=no |
fi |
|
|
lt_sysroot= |
case ${with_sysroot} in #( |
yes) |
if test "$GCC" = yes; then |
lt_sysroot=`$CC --print-sysroot 2>/dev/null` |
fi |
;; #( |
/*) |
lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` |
;; #( |
no|'') |
;; #( |
*) |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5 |
$as_echo "${with_sysroot}" >&6; } |
as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 |
;; |
esac |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 |
$as_echo "${lt_sysroot:-no}" >&6; } |
|
|
|
|
|
# Check whether --enable-libtool-lock was given. |
if test "${enable_libtool_lock+set}" = set; then : |
enableval=$enable_libtool_lock; |
5098,7 → 5483,7
;; |
*-*-irix6*) |
# Find out which ABI we are using. |
echo '#line 5101 "configure"' > conftest.$ac_ext |
echo '#line '$LINENO' "configure"' > conftest.$ac_ext |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
(eval $ac_compile) 2>&5 |
ac_status=$? |
5260,7 → 5645,124
|
need_locks="$enable_libtool_lock" |
|
if test -n "$ac_tool_prefix"; then |
# Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. |
set dummy ${ac_tool_prefix}mt; ac_word=$2 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
$as_echo_n "checking for $ac_word... " >&6; } |
if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : |
$as_echo_n "(cached) " >&6 |
else |
if test -n "$MANIFEST_TOOL"; then |
ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. |
else |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
for as_dir in $PATH |
do |
IFS=$as_save_IFS |
test -z "$as_dir" && as_dir=. |
for ac_exec_ext in '' $ac_executable_extensions; do |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
break 2 |
fi |
done |
done |
IFS=$as_save_IFS |
|
fi |
fi |
MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL |
if test -n "$MANIFEST_TOOL"; then |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 |
$as_echo "$MANIFEST_TOOL" >&6; } |
else |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
$as_echo "no" >&6; } |
fi |
|
|
fi |
if test -z "$ac_cv_prog_MANIFEST_TOOL"; then |
ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL |
# Extract the first word of "mt", so it can be a program name with args. |
set dummy mt; ac_word=$2 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
$as_echo_n "checking for $ac_word... " >&6; } |
if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : |
$as_echo_n "(cached) " >&6 |
else |
if test -n "$ac_ct_MANIFEST_TOOL"; then |
ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. |
else |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
for as_dir in $PATH |
do |
IFS=$as_save_IFS |
test -z "$as_dir" && as_dir=. |
for ac_exec_ext in '' $ac_executable_extensions; do |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
break 2 |
fi |
done |
done |
IFS=$as_save_IFS |
|
fi |
fi |
ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL |
if test -n "$ac_ct_MANIFEST_TOOL"; then |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 |
$as_echo "$ac_ct_MANIFEST_TOOL" >&6; } |
else |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
$as_echo "no" >&6; } |
fi |
|
if test "x$ac_ct_MANIFEST_TOOL" = x; then |
MANIFEST_TOOL=":" |
else |
case $cross_compiling:$ac_tool_warned in |
yes:) |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
ac_tool_warned=yes ;; |
esac |
MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL |
fi |
else |
MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" |
fi |
|
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 |
$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } |
if ${lt_cv_path_mainfest_tool+:} false; then : |
$as_echo_n "(cached) " >&6 |
else |
lt_cv_path_mainfest_tool=no |
echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 |
$MANIFEST_TOOL '-?' 2>conftest.err > conftest.out |
cat conftest.err >&5 |
if $GREP 'Manifest Tool' conftest.out > /dev/null; then |
lt_cv_path_mainfest_tool=yes |
fi |
rm -f conftest* |
fi |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 |
$as_echo "$lt_cv_path_mainfest_tool" >&6; } |
if test "x$lt_cv_path_mainfest_tool" != xyes; then |
MANIFEST_TOOL=: |
fi |
|
|
|
|
|
|
case $host_os in |
rhapsody* | darwin*) |
if test -n "$ac_tool_prefix"; then |
5810,6 → 6312,38
fi |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 |
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 |
$as_echo_n "checking for -force_load linker flag... " >&6; } |
if ${lt_cv_ld_force_load+:} false; then : |
$as_echo_n "(cached) " >&6 |
else |
lt_cv_ld_force_load=no |
cat > conftest.c << _LT_EOF |
int forced_loaded() { return 2;} |
_LT_EOF |
echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 |
$LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 |
echo "$AR cru libconftest.a conftest.o" >&5 |
$AR cru libconftest.a conftest.o 2>&5 |
echo "$RANLIB libconftest.a" >&5 |
$RANLIB libconftest.a 2>&5 |
cat > conftest.c << _LT_EOF |
int main() { return 0;} |
_LT_EOF |
echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 |
$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err |
_lt_result=$? |
if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then |
lt_cv_ld_force_load=yes |
else |
cat conftest.err >&5 |
fi |
rm -f conftest.err libconftest.a conftest conftest.c |
rm -rf conftest.dSYM |
|
fi |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 |
$as_echo "$lt_cv_ld_force_load" >&6; } |
case $host_os in |
rhapsody* | darwin1.[012]) |
_lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; |
5837,7 → 6371,7
else |
_lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' |
fi |
if test "$DSYMUTIL" != ":"; then |
if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then |
_lt_dsymutil='~$DSYMUTIL $lib || :' |
else |
_lt_dsymutil= |
6127,6 → 6661,8
|
|
|
|
|
# Set options |
|
|
6279,6 → 6815,7
|
|
|
|
test -z "$LN_S" && LN_S="ln -s" |
|
|
6328,19 → 6865,6
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
case $host_os in |
aix3*) |
# AIX sometimes has problems with the GCC collect2 program. For some |
6353,23 → 6877,6
;; |
esac |
|
# Sed substitution that helps us do robust quoting. It backslashifies |
# metacharacters that are still active within double-quoted strings. |
sed_quote_subst='s/\(["`$\\]\)/\\\1/g' |
|
# Same as above, but do not quote variable references. |
double_quote_subst='s/\(["`\\]\)/\\\1/g' |
|
# Sed substitution to delay expansion of an escaped shell variable in a |
# double_quote_subst'ed string. |
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' |
|
# Sed substitution to delay expansion of an escaped single quote. |
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' |
|
# Sed substitution to avoid accidental globbing in evaled expressions |
no_glob_subst='s/\*/\\\*/g' |
|
# Global variables: |
ofile=libtool |
can_build_shared=yes |
6398,7 → 6905,7
*) break;; |
esac |
done |
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` |
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` |
|
|
# Only perform the check for file, if the check method requires it |
6607,7 → 7114,12
lt_prog_compiler_no_builtin_flag= |
|
if test "$GCC" = yes; then |
lt_prog_compiler_no_builtin_flag=' -fno-builtin' |
case $cc_basename in |
nvcc*) |
lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; |
*) |
lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; |
esac |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 |
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } |
6627,15 → 7139,15
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's:$: $lt_compiler_flag:'` |
(eval echo "\"\$as_me:6630: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) |
(eval "$lt_compile" 2>conftest.err) |
ac_status=$? |
cat conftest.err >&5 |
echo "$as_me:6634: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
# The compiler can only warn and ignore the option if not recognized |
# So say no if there are warnings other than the usual output. |
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp |
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp |
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then |
lt_cv_prog_compiler_rtti_exceptions=yes |
6664,8 → 7176,6
lt_prog_compiler_pic= |
lt_prog_compiler_static= |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 |
$as_echo_n "checking for $compiler option to produce PIC... " >&6; } |
|
if test "$GCC" = yes; then |
lt_prog_compiler_wl='-Wl,' |
6713,6 → 7223,12
lt_prog_compiler_pic='-fno-common' |
;; |
|
haiku*) |
# PIC is the default for Haiku. |
# The "-static" flag exists, but is broken. |
lt_prog_compiler_static= |
;; |
|
hpux*) |
# PIC is the default for 64-bit PA HP-UX, but not for 32-bit |
# PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag |
6755,6 → 7271,13
lt_prog_compiler_pic='-fPIC' |
;; |
esac |
|
case $cc_basename in |
nvcc*) # Cuda Compiler Driver 2.2 |
lt_prog_compiler_wl='-Xlinker ' |
lt_prog_compiler_pic='-Xcompiler -fPIC' |
;; |
esac |
else |
# PORTME Check for flag to pass linker flags through the system compiler. |
case $host_os in |
6796,7 → 7319,7
lt_prog_compiler_static='-non_shared' |
;; |
|
linux* | k*bsd*-gnu) |
linux* | k*bsd*-gnu | kopensolaris*-gnu) |
case $cc_basename in |
# old Intel for x86_64 which still supported -KPIC. |
ecc*) |
6817,7 → 7340,13
lt_prog_compiler_pic='--shared' |
lt_prog_compiler_static='--static' |
;; |
pgcc* | pgf77* | pgf90* | pgf95*) |
nagfor*) |
# NAG Fortran compiler |
lt_prog_compiler_wl='-Wl,-Wl,,' |
lt_prog_compiler_pic='-PIC' |
lt_prog_compiler_static='-Bstatic' |
;; |
pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) |
# Portland Group compilers (*not* the Pentium gcc compiler, |
# which looks to be a dead project) |
lt_prog_compiler_wl='-Wl,' |
6829,8 → 7358,8
# All Alpha code is PIC. |
lt_prog_compiler_static='-non_shared' |
;; |
xl*) |
# IBM XL C 8.0/Fortran 10.1 on PPC |
xl* | bgxl* | bgf* | mpixl*) |
# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene |
lt_prog_compiler_wl='-Wl,' |
lt_prog_compiler_pic='-qpic' |
lt_prog_compiler_static='-qstaticlink' |
6837,6 → 7366,12
;; |
*) |
case `$CC -V 2>&1 | sed 5q` in |
*Sun\ F* | *Sun*Fortran*) |
# Sun Fortran 8.3 passes all unrecognized flags to the linker |
lt_prog_compiler_pic='-KPIC' |
lt_prog_compiler_static='-Bstatic' |
lt_prog_compiler_wl='' |
;; |
*Sun\ C*) |
# Sun C 5.9 |
lt_prog_compiler_pic='-KPIC' |
6843,12 → 7378,6
lt_prog_compiler_static='-Bstatic' |
lt_prog_compiler_wl='-Wl,' |
;; |
*Sun\ F*) |
# Sun Fortran 8.3 passes all unrecognized flags to the linker |
lt_prog_compiler_pic='-KPIC' |
lt_prog_compiler_static='-Bstatic' |
lt_prog_compiler_wl='' |
;; |
esac |
;; |
esac |
6879,7 → 7408,7
lt_prog_compiler_pic='-KPIC' |
lt_prog_compiler_static='-Bstatic' |
case $cc_basename in |
f77* | f90* | f95*) |
f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) |
lt_prog_compiler_wl='-Qoption ld ';; |
*) |
lt_prog_compiler_wl='-Wl,';; |
6936,14 → 7465,18
lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" |
;; |
esac |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5 |
$as_echo "$lt_prog_compiler_pic" >&6; } |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 |
$as_echo_n "checking for $compiler option to produce PIC... " >&6; } |
if ${lt_cv_prog_compiler_pic+:} false; then : |
$as_echo_n "(cached) " >&6 |
else |
lt_cv_prog_compiler_pic=$lt_prog_compiler_pic |
fi |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 |
$as_echo "$lt_cv_prog_compiler_pic" >&6; } |
lt_prog_compiler_pic=$lt_cv_prog_compiler_pic |
|
|
|
|
|
# |
# Check to make sure the PIC flag actually works. |
# |
6966,15 → 7499,15
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's:$: $lt_compiler_flag:'` |
(eval echo "\"\$as_me:6969: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) |
(eval "$lt_compile" 2>conftest.err) |
ac_status=$? |
cat conftest.err >&5 |
echo "$as_me:6973: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
# The compiler can only warn and ignore the option if not recognized |
# So say no if there are warnings other than the usual output. |
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp |
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp |
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then |
lt_cv_prog_compiler_pic_works=yes |
7003,6 → 7536,11
|
|
|
|
|
|
|
|
# |
# Check to make sure the static flag actually works. |
# |
7022,7 → 7560,7
if test -s conftest.err; then |
# Append any errors to the config.log. |
cat conftest.err 1>&5 |
$ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp |
$ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp |
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
if diff conftest.exp conftest.er2 >/dev/null; then |
lt_cv_prog_compiler_static_works=yes |
7071,16 → 7609,16
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's:$: $lt_compiler_flag:'` |
(eval echo "\"\$as_me:7074: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) |
(eval "$lt_compile" 2>out/conftest.err) |
ac_status=$? |
cat out/conftest.err >&5 |
echo "$as_me:7078: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
then |
# The compiler can only warn and ignore the option if not recognized |
# So say no if there are warnings |
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp |
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp |
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 |
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then |
lt_cv_prog_compiler_c_o=yes |
7126,16 → 7664,16
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's:$: $lt_compiler_flag:'` |
(eval echo "\"\$as_me:7129: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) |
(eval "$lt_compile" 2>out/conftest.err) |
ac_status=$? |
cat out/conftest.err >&5 |
echo "$as_me:7133: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
then |
# The compiler can only warn and ignore the option if not recognized |
# So say no if there are warnings |
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp |
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp |
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 |
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then |
lt_cv_prog_compiler_c_o=yes |
7245,13 → 7783,36
openbsd*) |
with_gnu_ld=no |
;; |
linux* | k*bsd*-gnu) |
link_all_deplibs=no |
;; |
esac |
|
ld_shlibs=yes |
|
# On some targets, GNU ld is compatible enough with the native linker |
# that we're better off using the native interface for both. |
lt_use_gnu_ld_interface=no |
if test "$with_gnu_ld" = yes; then |
case $host_os in |
aix*) |
# The AIX port of GNU ld has always aspired to compatibility |
# with the native linker. However, as the warning in the GNU ld |
# block says, versions before 2.19.5* couldn't really create working |
# shared libraries, regardless of the interface used. |
case `$LD -v 2>&1` in |
*\ \(GNU\ Binutils\)\ 2.19.5*) ;; |
*\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; |
*\ \(GNU\ Binutils\)\ [3-9]*) ;; |
*) |
lt_use_gnu_ld_interface=yes |
;; |
esac |
;; |
*) |
lt_use_gnu_ld_interface=yes |
;; |
esac |
fi |
|
if test "$lt_use_gnu_ld_interface" = yes; then |
# If archive_cmds runs LD, not CC, wlarc should be empty |
wlarc='${wl}' |
|
7269,6 → 7830,7
fi |
supports_anon_versioning=no |
case `$LD -v 2>&1` in |
*GNU\ gold*) supports_anon_versioning=yes ;; |
*\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 |
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... |
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... |
7284,11 → 7846,12
ld_shlibs=no |
cat <<_LT_EOF 1>&2 |
|
*** Warning: the GNU linker, at least up to release 2.9.1, is reported |
*** Warning: the GNU linker, at least up to release 2.19, is reported |
*** to be unable to reliably create shared libraries on AIX. |
*** Therefore, libtool is disabling shared libraries support. If you |
*** really care for shared libraries, you may want to modify your PATH |
*** so that a non-GNU linker is found, and then restart. |
*** really care for shared libraries, you may want to install binutils |
*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. |
*** You will then need to restart the configuration process. |
|
_LT_EOF |
fi |
7324,10 → 7887,12
# _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, |
# as there is no search path for DLLs. |
hardcode_libdir_flag_spec='-L$libdir' |
export_dynamic_flag_spec='${wl}--export-all-symbols' |
allow_undefined_flag=unsupported |
always_export_symbols=no |
enable_shared_with_static_runtimes=yes |
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' |
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' |
exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' |
|
if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' |
7345,6 → 7910,11
fi |
;; |
|
haiku*) |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
link_all_deplibs=yes |
;; |
|
interix[3-9]*) |
hardcode_direct=no |
hardcode_shlibpath_var=no |
7360,7 → 7930,7
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' |
;; |
|
gnu* | linux* | tpf* | k*bsd*-gnu) |
gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) |
tmp_diet=no |
if test "$host_os" = linux-dietlibc; then |
case $cc_basename in |
7370,15 → 7940,16
if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ |
&& test "$tmp_diet" = no |
then |
tmp_addflag= |
tmp_addflag=' $pic_flag' |
tmp_sharedflag='-shared' |
case $cc_basename,$host_cpu in |
pgcc*) # Portland Group C compiler |
whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive' |
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' |
tmp_addflag=' $pic_flag' |
;; |
pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers |
whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive' |
pgf77* | pgf90* | pgf95* | pgfortran*) |
# Portland Group f77 and f90 compilers |
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' |
tmp_addflag=' $pic_flag -Mnomain' ;; |
ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 |
tmp_addflag=' -i_dynamic' ;; |
7389,13 → 7960,17
lf95*) # Lahey Fortran 8.1 |
whole_archive_flag_spec= |
tmp_sharedflag='--shared' ;; |
xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) |
xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) |
tmp_sharedflag='-qmkshrobj' |
tmp_addflag= ;; |
nvcc*) # Cuda Compiler Driver 2.2 |
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' |
compiler_needs_object=yes |
;; |
esac |
case `$CC -V 2>&1 | sed 5q` in |
*Sun\ C*) # Sun C 5.9 |
whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive' |
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' |
compiler_needs_object=yes |
tmp_sharedflag='-G' ;; |
*Sun\ F*) # Sun Fortran 8.3 |
7411,17 → 7986,17
fi |
|
case $cc_basename in |
xlf*) |
xlf* | bgf* | bgxlf* | mpixlf*) |
# IBM XL Fortran 10.1 on PPC cannot create shared libs itself |
whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' |
hardcode_libdir_flag_spec= |
hardcode_libdir_flag_spec_ld='-rpath $libdir' |
archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib' |
archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' |
if test "x$supports_anon_versioning" = xyes; then |
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ |
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ |
echo "local: *; };" >> $output_objdir/$libname.ver~ |
$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' |
$LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' |
fi |
;; |
esac |
7430,13 → 8005,13
fi |
;; |
|
netbsd* | netbsdelf*-gnu) |
netbsd*) |
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then |
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' |
wlarc= |
else |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
fi |
;; |
|
7454,8 → 8029,8
|
_LT_EOF |
elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
else |
ld_shlibs=no |
fi |
7501,8 → 8076,8
|
*) |
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
else |
ld_shlibs=no |
fi |
7542,8 → 8117,10
else |
# If we're using GNU nm, then we don't want the "-C" option. |
# -C means demangle to AIX nm, but means don't demangle with GNU nm |
# Also, AIX nm treats weak defined symbols like other global |
# defined symbols, whereas GNU nm marks them as "W". |
if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then |
export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' |
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' |
else |
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' |
fi |
7605,7 → 8182,6
if test "$aix_use_runtimelinking" = yes; then |
shared_flag="$shared_flag "'${wl}-G' |
fi |
link_all_deplibs=no |
else |
# not using gcc |
if test "$host_cpu" = ia64; then |
7631,7 → 8207,13
allow_undefined_flag='-berok' |
# Determine the default libpath from the value encoded in an |
# empty executable. |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
if test "${lt_cv_aix_libpath+set}" = set; then |
aix_libpath=$lt_cv_aix_libpath |
else |
if ${lt_cv_aix_libpath_+:} false; then : |
$as_echo_n "(cached) " >&6 |
else |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
/* end confdefs.h. */ |
|
int |
7644,25 → 8226,32
_ACEOF |
if ac_fn_c_try_link "$LINENO"; then : |
|
lt_aix_libpath_sed=' |
/Import File Strings/,/^$/ { |
/^0/ { |
s/^0 *\(.*\)$/\1/ |
p |
} |
}' |
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
# Check for a 64-bit object if we didn't find anything. |
if test -z "$aix_libpath"; then |
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
lt_aix_libpath_sed=' |
/Import File Strings/,/^$/ { |
/^0/ { |
s/^0 *\([^ ]*\) *$/\1/ |
p |
} |
}' |
lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
# Check for a 64-bit object if we didn't find anything. |
if test -z "$lt_cv_aix_libpath_"; then |
lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
fi |
fi |
fi |
rm -f core conftest.err conftest.$ac_objext \ |
conftest$ac_exeext conftest.$ac_ext |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
if test -z "$lt_cv_aix_libpath_"; then |
lt_cv_aix_libpath_="/usr/lib:/lib" |
fi |
|
fi |
|
aix_libpath=$lt_cv_aix_libpath_ |
fi |
|
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" |
archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" |
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" |
else |
if test "$host_cpu" = ia64; then |
hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' |
7671,7 → 8260,13
else |
# Determine the default libpath from the value encoded in an |
# empty executable. |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
if test "${lt_cv_aix_libpath+set}" = set; then |
aix_libpath=$lt_cv_aix_libpath |
else |
if ${lt_cv_aix_libpath_+:} false; then : |
$as_echo_n "(cached) " >&6 |
else |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
/* end confdefs.h. */ |
|
int |
7684,30 → 8279,42
_ACEOF |
if ac_fn_c_try_link "$LINENO"; then : |
|
lt_aix_libpath_sed=' |
/Import File Strings/,/^$/ { |
/^0/ { |
s/^0 *\(.*\)$/\1/ |
p |
} |
}' |
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
# Check for a 64-bit object if we didn't find anything. |
if test -z "$aix_libpath"; then |
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
lt_aix_libpath_sed=' |
/Import File Strings/,/^$/ { |
/^0/ { |
s/^0 *\([^ ]*\) *$/\1/ |
p |
} |
}' |
lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
# Check for a 64-bit object if we didn't find anything. |
if test -z "$lt_cv_aix_libpath_"; then |
lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
fi |
fi |
fi |
rm -f core conftest.err conftest.$ac_objext \ |
conftest$ac_exeext conftest.$ac_ext |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
if test -z "$lt_cv_aix_libpath_"; then |
lt_cv_aix_libpath_="/usr/lib:/lib" |
fi |
|
fi |
|
aix_libpath=$lt_cv_aix_libpath_ |
fi |
|
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" |
# Warning - without using the other run time loading flags, |
# -berok will link without error, but may produce a broken library. |
no_undefined_flag=' ${wl}-bernotok' |
allow_undefined_flag=' ${wl}-berok' |
# Exported symbols can be pulled into shared objects from archives |
whole_archive_flag_spec='$convenience' |
if test "$with_gnu_ld" = yes; then |
# We only use this code for GNU lds that support --whole-archive. |
whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive' |
else |
# Exported symbols can be pulled into shared objects from archives |
whole_archive_flag_spec='$convenience' |
fi |
archive_cmds_need_lc=yes |
# This is similar to how AIX traditionally builds its shared libraries. |
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' |
7739,20 → 8346,63
# Microsoft Visual C++. |
# hardcode_libdir_flag_spec is actually meaningless, as there is |
# no search path for DLLs. |
hardcode_libdir_flag_spec=' ' |
allow_undefined_flag=unsupported |
# Tell ltmain to make .lib files, not .a files. |
libext=lib |
# Tell ltmain to make .dll files, not .so files. |
shrext_cmds=".dll" |
# FIXME: Setting linknames here is a bad hack. |
archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames=' |
# The linker will automatically build a .lib file if we build a DLL. |
old_archive_from_new_cmds='true' |
# FIXME: Should let the user specify the lib program. |
old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' |
fix_srcfile_path='`cygpath -w "$srcfile"`' |
enable_shared_with_static_runtimes=yes |
case $cc_basename in |
cl*) |
# Native MSVC |
hardcode_libdir_flag_spec=' ' |
allow_undefined_flag=unsupported |
always_export_symbols=yes |
file_list_spec='@' |
# Tell ltmain to make .lib files, not .a files. |
libext=lib |
# Tell ltmain to make .dll files, not .so files. |
shrext_cmds=".dll" |
# FIXME: Setting linknames here is a bad hack. |
archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames=' |
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then |
sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp; |
else |
sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp; |
fi~ |
$CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ |
linknames=' |
# The linker will not automatically build a static lib if we build a DLL. |
# _LT_TAGVAR(old_archive_from_new_cmds, )='true' |
enable_shared_with_static_runtimes=yes |
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' |
# Don't use ranlib |
old_postinstall_cmds='chmod 644 $oldlib' |
postlink_cmds='lt_outputfile="@OUTPUT@"~ |
lt_tool_outputfile="@TOOL_OUTPUT@"~ |
case $lt_outputfile in |
*.exe|*.EXE) ;; |
*) |
lt_outputfile="$lt_outputfile.exe" |
lt_tool_outputfile="$lt_tool_outputfile.exe" |
;; |
esac~ |
if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then |
$MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; |
$RM "$lt_outputfile.manifest"; |
fi' |
;; |
*) |
# Assume MSVC wrapper |
hardcode_libdir_flag_spec=' ' |
allow_undefined_flag=unsupported |
# Tell ltmain to make .lib files, not .a files. |
libext=lib |
# Tell ltmain to make .dll files, not .so files. |
shrext_cmds=".dll" |
# FIXME: Setting linknames here is a bad hack. |
archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' |
# The linker will automatically build a .lib file if we build a DLL. |
old_archive_from_new_cmds='true' |
# FIXME: Should let the user specify the lib program. |
old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' |
enable_shared_with_static_runtimes=yes |
;; |
esac |
;; |
|
darwin* | rhapsody*) |
7762,7 → 8412,11
hardcode_direct=no |
hardcode_automatic=yes |
hardcode_shlibpath_var=unsupported |
whole_archive_flag_spec='' |
if test "$lt_cv_ld_force_load" = "yes"; then |
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\"`' |
else |
whole_archive_flag_spec='' |
fi |
link_all_deplibs=yes |
allow_undefined_flag="$_lt_dar_allow_undefined" |
case $cc_basename in |
7770,7 → 8424,7
*) _lt_dar_can_shared=$GCC ;; |
esac |
if test "$_lt_dar_can_shared" = "yes"; then |
output_verbose_link_cmd=echo |
output_verbose_link_cmd=func_echo_all |
archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" |
module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" |
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}" |
7813,7 → 8467,7
|
# FreeBSD 3 and greater uses gcc -shared to do shared libraries. |
freebsd* | dragonfly*) |
archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' |
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
hardcode_libdir_flag_spec='-R$libdir' |
hardcode_direct=yes |
hardcode_shlibpath_var=no |
7821,7 → 8475,7
|
hpux9*) |
if test "$GCC" = yes; then |
archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' |
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' |
else |
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' |
fi |
7836,8 → 8490,8
;; |
|
hpux10*) |
if test "$GCC" = yes -a "$with_gnu_ld" = no; then |
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
if test "$GCC" = yes && test "$with_gnu_ld" = no; then |
archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
else |
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' |
fi |
7855,16 → 8509,16
;; |
|
hpux11*) |
if test "$GCC" = yes -a "$with_gnu_ld" = no; then |
if test "$GCC" = yes && test "$with_gnu_ld" = no; then |
case $host_cpu in |
hppa*64*) |
archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
;; |
ia64*) |
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' |
archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' |
;; |
*) |
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
;; |
esac |
else |
7876,7 → 8530,46
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' |
;; |
*) |
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
|
# Older versions of the 11.00 compiler do not understand -b yet |
# (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 |
$as_echo_n "checking if $CC understands -b... " >&6; } |
if ${lt_cv_prog_compiler__b+:} false; then : |
$as_echo_n "(cached) " >&6 |
else |
lt_cv_prog_compiler__b=no |
save_LDFLAGS="$LDFLAGS" |
LDFLAGS="$LDFLAGS -b" |
echo "$lt_simple_link_test_code" > conftest.$ac_ext |
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then |
# The linker can only warn and ignore the option if not recognized |
# So say no if there are warnings |
if test -s conftest.err; then |
# Append any errors to the config.log. |
cat conftest.err 1>&5 |
$ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp |
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
if diff conftest.exp conftest.er2 >/dev/null; then |
lt_cv_prog_compiler__b=yes |
fi |
else |
lt_cv_prog_compiler__b=yes |
fi |
fi |
$RM -r conftest* |
LDFLAGS="$save_LDFLAGS" |
|
fi |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 |
$as_echo "$lt_cv_prog_compiler__b" >&6; } |
|
if test x"$lt_cv_prog_compiler__b" = xyes; then |
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
else |
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' |
fi |
|
;; |
esac |
fi |
7904,26 → 8597,39
|
irix5* | irix6* | nonstopux*) |
if test "$GCC" = yes; then |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' |
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' |
# Try to use the -exported_symbol ld option, if it does not |
# work, assume that -exports_file does not work either and |
# implicitly export all symbols. |
save_LDFLAGS="$LDFLAGS" |
LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
# This should be the same for all languages, so no per-tag cache variable. |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 |
$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } |
if ${lt_cv_irix_exported_symbol+:} false; then : |
$as_echo_n "(cached) " >&6 |
else |
save_LDFLAGS="$LDFLAGS" |
LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
/* end confdefs.h. */ |
int foo(void) {} |
int foo (void) { return 0; } |
_ACEOF |
if ac_fn_c_try_link "$LINENO"; then : |
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib' |
|
lt_cv_irix_exported_symbol=yes |
else |
lt_cv_irix_exported_symbol=no |
fi |
rm -f core conftest.err conftest.$ac_objext \ |
conftest$ac_exeext conftest.$ac_ext |
LDFLAGS="$save_LDFLAGS" |
LDFLAGS="$save_LDFLAGS" |
fi |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 |
$as_echo "$lt_cv_irix_exported_symbol" >&6; } |
if test "$lt_cv_irix_exported_symbol" = yes; then |
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' |
fi |
else |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' |
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib' |
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' |
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' |
fi |
archive_cmds_need_lc='no' |
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
7932,7 → 8638,7
link_all_deplibs=yes |
;; |
|
netbsd* | netbsdelf*-gnu) |
netbsd*) |
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then |
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out |
else |
7985,7 → 8691,7
hardcode_libdir_flag_spec='-L$libdir' |
hardcode_minus_L=yes |
allow_undefined_flag=unsupported |
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' |
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' |
old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' |
;; |
|
7992,10 → 8698,10
osf3*) |
if test "$GCC" = yes; then |
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' |
archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' |
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' |
else |
allow_undefined_flag=' -expect_unresolved \*' |
archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' |
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' |
fi |
archive_cmds_need_lc='no' |
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
8005,13 → 8711,13
osf4* | osf5*) # as osf3* with the addition of -msym flag |
if test "$GCC" = yes; then |
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' |
archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' |
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' |
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
else |
allow_undefined_flag=' -expect_unresolved \*' |
archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' |
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' |
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~ |
$CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp' |
$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' |
|
# Both c and cxx compiler support -rpath directly |
hardcode_libdir_flag_spec='-rpath $libdir' |
8024,9 → 8730,9
no_undefined_flag=' -z defs' |
if test "$GCC" = yes; then |
wlarc='${wl}' |
archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ |
$CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' |
$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' |
else |
case `$CC -V 2>&1` in |
*"Compilers 5.0"*) |
8214,44 → 8920,50
# to ld, don't add -lc before -lgcc. |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 |
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } |
$RM conftest* |
echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
if ${lt_cv_archive_cmds_need_lc+:} false; then : |
$as_echo_n "(cached) " >&6 |
else |
$RM conftest* |
echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
|
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
(eval $ac_compile) 2>&5 |
ac_status=$? |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
test $ac_status = 0; } 2>conftest.err; then |
soname=conftest |
lib=conftest |
libobjs=conftest.$ac_objext |
deplibs= |
wl=$lt_prog_compiler_wl |
pic_flag=$lt_prog_compiler_pic |
compiler_flags=-v |
linker_flags=-v |
verstring= |
output_objdir=. |
libname=conftest |
lt_save_allow_undefined_flag=$allow_undefined_flag |
allow_undefined_flag= |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 |
soname=conftest |
lib=conftest |
libobjs=conftest.$ac_objext |
deplibs= |
wl=$lt_prog_compiler_wl |
pic_flag=$lt_prog_compiler_pic |
compiler_flags=-v |
linker_flags=-v |
verstring= |
output_objdir=. |
libname=conftest |
lt_save_allow_undefined_flag=$allow_undefined_flag |
allow_undefined_flag= |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 |
(eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 |
ac_status=$? |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
test $ac_status = 0; } |
then |
archive_cmds_need_lc=no |
else |
archive_cmds_need_lc=yes |
fi |
allow_undefined_flag=$lt_save_allow_undefined_flag |
else |
cat conftest.err 1>&5 |
fi |
$RM conftest* |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5 |
$as_echo "$archive_cmds_need_lc" >&6; } |
then |
lt_cv_archive_cmds_need_lc=no |
else |
lt_cv_archive_cmds_need_lc=yes |
fi |
allow_undefined_flag=$lt_save_allow_undefined_flag |
else |
cat conftest.err 1>&5 |
fi |
$RM conftest* |
|
fi |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 |
$as_echo "$lt_cv_archive_cmds_need_lc" >&6; } |
archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc |
;; |
esac |
fi |
8422,16 → 9134,23
darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; |
*) lt_awk_arg="/^libraries:/" ;; |
esac |
lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"` |
if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then |
case $host_os in |
mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;; |
*) lt_sed_strip_eq="s,=/,/,g" ;; |
esac |
lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` |
case $lt_search_path_spec in |
*\;*) |
# if the path contains ";" then we assume it to be the separator |
# otherwise default to the standard path separator (i.e. ":") - it is |
# assumed that no part of a normal pathname contains ";" but that should |
# okay in the real world where ";" in dirpaths is itself problematic. |
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'` |
else |
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` |
fi |
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` |
;; |
*) |
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` |
;; |
esac |
# Ok, now we have the path, separated by spaces, we can step through it |
# and add multilib dir if necessary. |
lt_tmp_lt_search_path_spec= |
8444,7 → 9163,7
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" |
fi |
done |
lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk ' |
lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' |
BEGIN {RS=" "; FS="/|\n";} { |
lt_foo=""; |
lt_count=0; |
8464,7 → 9183,13
if (lt_foo != "") { lt_freq[lt_foo]++; } |
if (lt_freq[lt_foo] == 1) { print lt_foo; } |
}'` |
sys_lib_search_path_spec=`$ECHO $lt_search_path_spec` |
# AWK program above erroneously prepends '/' to C:/dos/paths |
# for these hosts. |
case $host_os in |
mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ |
$SED 's,/\([A-Za-z]:\),\1,g'` ;; |
esac |
sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` |
else |
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" |
fi |
8552,7 → 9277,7
m68k) |
library_names_spec='$libname.ixlibrary $libname.a' |
# Create ${libname}_ixlibrary.a entries in /sys/libs. |
finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''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' |
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' |
;; |
esac |
;; |
8583,8 → 9308,9
need_version=no |
need_lib_prefix=no |
|
case $GCC,$host_os in |
yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*) |
case $GCC,$cc_basename in |
yes,*) |
# gcc |
library_names_spec='$libname.dll.a' |
# DLL is installed to $(libdir)/../bin by postinstall_cmds |
postinstall_cmds='base_file=`basename \${file}`~ |
8605,23 → 9331,12
cygwin*) |
# Cygwin DLLs use 'cyg' prefix rather than 'lib' |
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" |
|
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" |
;; |
mingw* | cegcc*) |
# MinGW DLLs use traditional 'lib' prefix |
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` |
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then |
# It is most probably a Windows format PATH printed by |
# mingw gcc, but we are running on Cygwin. Gcc prints its search |
# path with ; separators, and with drive letters. We can handle the |
# drive letters (cygwin fileutils understands them), so leave them, |
# especially as we might pass files found there to a mingw objdump, |
# which wouldn't understand a cygwinified path. Ahh. |
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` |
else |
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` |
fi |
;; |
pw32*) |
# pw32 DLLs use 'pw' prefix rather than 'lib' |
8628,13 → 9343,71
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
;; |
esac |
dynamic_linker='Win32 ld.exe' |
;; |
|
*,cl*) |
# Native MSVC |
libname_spec='$name' |
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
library_names_spec='${libname}.dll.lib' |
|
case $build_os in |
mingw*) |
sys_lib_search_path_spec= |
lt_save_ifs=$IFS |
IFS=';' |
for lt_path in $LIB |
do |
IFS=$lt_save_ifs |
# Let DOS variable expansion print the short 8.3 style file name. |
lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` |
sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" |
done |
IFS=$lt_save_ifs |
# Convert to MSYS style. |
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` |
;; |
cygwin*) |
# Convert to unix form, then to dos form, then back to unix form |
# but this time dos style (no spaces!) so that the unix form looks |
# like /cygdrive/c/PROGRA~1:/cygdr... |
sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` |
sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` |
sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` |
;; |
*) |
sys_lib_search_path_spec="$LIB" |
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then |
# It is most probably a Windows format PATH. |
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` |
else |
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` |
fi |
# FIXME: find the short name or the path components, as spaces are |
# common. (e.g. "Program Files" -> "PROGRA~1") |
;; |
esac |
|
# DLL is installed to $(libdir)/../bin by postinstall_cmds |
postinstall_cmds='base_file=`basename \${file}`~ |
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ |
dldir=$destdir/`dirname \$dlpath`~ |
test -d \$dldir || mkdir -p \$dldir~ |
$install_prog $dir/$dlname \$dldir/$dlname' |
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ |
dlpath=$dir/\$dldll~ |
$RM \$dlpath' |
shlibpath_overrides_runpath=yes |
dynamic_linker='Win32 link.exe' |
;; |
|
*) |
# Assume MSVC wrapper |
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' |
dynamic_linker='Win32 ld.exe' |
;; |
esac |
dynamic_linker='Win32 ld.exe' |
# FIXME: first we should search . and the directory the executable is in |
shlibpath_var=PATH |
;; |
8721,6 → 9494,19
hardcode_into_libs=yes |
;; |
|
haiku*) |
version_type=linux |
need_lib_prefix=no |
need_version=no |
dynamic_linker="$host_os runtime_loader" |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' |
soname_spec='${libname}${release}${shared_ext}$major' |
shlibpath_var=LIBRARY_PATH |
shlibpath_overrides_runpath=yes |
sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' |
hardcode_into_libs=yes |
;; |
|
hpux9* | hpux10* | hpux11*) |
# Give a soname corresponding to the major version so that dld.sl refuses to |
# link against other versions. |
8763,8 → 9549,10
soname_spec='${libname}${release}${shared_ext}$major' |
;; |
esac |
# HP-UX runs *really* slowly unless shared libraries are mode 555. |
# HP-UX runs *really* slowly unless shared libraries are mode 555, ... |
postinstall_cmds='chmod 555 $lib' |
# or fails outright, so override atomically: |
install_override_mode=555 |
;; |
|
interix[3-9]*) |
8822,7 → 9610,7
;; |
|
# This must be Linux ELF. |
linux* | k*bsd*-gnu) |
linux* | k*bsd*-gnu | kopensolaris*-gnu) |
version_type=linux |
need_lib_prefix=no |
need_version=no |
8831,12 → 9619,17
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' |
shlibpath_var=LD_LIBRARY_PATH |
shlibpath_overrides_runpath=no |
|
# Some binutils ld are patched to set DT_RUNPATH |
save_LDFLAGS=$LDFLAGS |
save_libdir=$libdir |
eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ |
LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
if ${lt_cv_shlibpath_overrides_runpath+:} false; then : |
$as_echo_n "(cached) " >&6 |
else |
lt_cv_shlibpath_overrides_runpath=no |
save_LDFLAGS=$LDFLAGS |
save_libdir=$libdir |
eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ |
LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
/* end confdefs.h. */ |
|
int |
8849,23 → 9642,31
_ACEOF |
if ac_fn_c_try_link "$LINENO"; then : |
if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : |
shlibpath_overrides_runpath=yes |
lt_cv_shlibpath_overrides_runpath=yes |
fi |
fi |
rm -f core conftest.err conftest.$ac_objext \ |
conftest$ac_exeext conftest.$ac_ext |
LDFLAGS=$save_LDFLAGS |
libdir=$save_libdir |
LDFLAGS=$save_LDFLAGS |
libdir=$save_libdir |
|
fi |
|
shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath |
|
# This implies no fast_install, which is unacceptable. |
# Some rework will be needed to allow for fast_install |
# before this can be enabled. |
hardcode_into_libs=yes |
|
# Add ABI-specific directories to the system library path. |
sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib" |
|
# Append ld.so.conf contents to the search path |
if test -f /etc/ld.so.conf; then |
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;/^$/d' | tr '\n' ' '` |
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" |
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' ' '` |
sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra" |
|
fi |
|
# We used to test for /lib/ld.so.1 and disable shared libraries on |
8877,18 → 9678,6
dynamic_linker='GNU/Linux ld.so' |
;; |
|
netbsdelf*-gnu) |
version_type=linux |
need_lib_prefix=no |
need_version=no |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
soname_spec='${libname}${release}${shared_ext}$major' |
shlibpath_var=LD_LIBRARY_PATH |
shlibpath_overrides_runpath=no |
hardcode_into_libs=yes |
dynamic_linker='NetBSD ld.elf_so' |
;; |
|
netbsd*) |
version_type=sunos |
need_lib_prefix=no |
9179,6 → 9968,11
|
|
|
|
|
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 |
$as_echo_n "checking how to hardcode library paths into programs... " >&6; } |
hardcode_action= |
9509,7 → 10303,7
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
lt_status=$lt_dlunknown |
cat > conftest.$ac_ext <<_LT_EOF |
#line 9512 "configure" |
#line $LINENO "configure" |
#include "confdefs.h" |
|
#if HAVE_DLFCN_H |
9550,7 → 10344,13
# endif |
#endif |
|
void fnord() { int i=42;} |
/* When -fvisbility=hidden is used, assume the code has been annotated |
correspondingly for the symbols needed. */ |
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) |
int fnord () __attribute__((visibility("default"))); |
#endif |
|
int fnord () { return 42; } |
int main () |
{ |
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); |
9559,7 → 10359,11
if (self) |
{ |
if (dlsym (self,"fnord")) status = $lt_dlno_uscore; |
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; |
else |
{ |
if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; |
else puts (dlerror ()); |
} |
/* dlclose (self); */ |
} |
else |
9605,7 → 10409,7
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
lt_status=$lt_dlunknown |
cat > conftest.$ac_ext <<_LT_EOF |
#line 9608 "configure" |
#line $LINENO "configure" |
#include "confdefs.h" |
|
#if HAVE_DLFCN_H |
9646,7 → 10450,13
# endif |
#endif |
|
void fnord() { int i=42;} |
/* When -fvisbility=hidden is used, assume the code has been annotated |
correspondingly for the symbols needed. */ |
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) |
int fnord () __attribute__((visibility("default"))); |
#endif |
|
int fnord () { return 42; } |
int main () |
{ |
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); |
9655,7 → 10465,11
if (self) |
{ |
if (dlsym (self,"fnord")) status = $lt_dlno_uscore; |
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; |
else |
{ |
if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; |
else puts (dlerror ()); |
} |
/* dlclose (self); */ |
} |
else |
10166,48 → 10980,6
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; |
esac |
|
for ac_prog in gawk mawk nawk awk |
do |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
set dummy $ac_prog; ac_word=$2 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
$as_echo_n "checking for $ac_word... " >&6; } |
if ${ac_cv_prog_AWK+:} false; then : |
$as_echo_n "(cached) " >&6 |
else |
if test -n "$AWK"; then |
ac_cv_prog_AWK="$AWK" # Let the user override the test. |
else |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
for as_dir in $PATH |
do |
IFS=$as_save_IFS |
test -z "$as_dir" && as_dir=. |
for ac_exec_ext in '' $ac_executable_extensions; do |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
ac_cv_prog_AWK="$ac_prog" |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
break 2 |
fi |
done |
done |
IFS=$as_save_IFS |
|
fi |
fi |
AWK=$ac_cv_prog_AWK |
if test -n "$AWK"; then |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 |
$as_echo "$AWK" >&6; } |
else |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
$as_echo "no" >&6; } |
fi |
|
|
test -n "$AWK" && break |
done |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
set x ${MAKE-make} |
10332,7 → 11104,7
|
# Define the identity of the package. |
PACKAGE='or1ksim-testsuite' |
VERSION='2011-08-15' |
VERSION='2012-03-21' |
|
|
cat >>confdefs.h <<_ACEOF |
11784,7 → 12556,7
# report actual input values of CONFIG_FILES etc. instead of their |
# values after options handling. |
ac_log=" |
This file was extended by or1ksim-testsuite $as_me 2011-08-15, which was |
This file was extended by or1ksim-testsuite $as_me 2012-03-21, which was |
generated by GNU Autoconf 2.68. Invocation command line was |
|
CONFIG_FILES = $CONFIG_FILES |
11850,7 → 12622,7
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
ac_cs_version="\\ |
or1ksim-testsuite config.status 2011-08-15 |
or1ksim-testsuite config.status 2012-03-21 |
configured by $0, generated by GNU Autoconf 2.68, |
with options \\"\$ac_cs_config\\" |
|
11978,131 → 12750,153
sed_quote_subst='$sed_quote_subst' |
double_quote_subst='$double_quote_subst' |
delay_variable_subst='$delay_variable_subst' |
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`' |
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`' |
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`' |
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`' |
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`' |
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`' |
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`' |
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`' |
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`' |
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`' |
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`' |
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`' |
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`' |
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`' |
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`' |
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`' |
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`' |
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`' |
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`' |
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`' |
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`' |
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`' |
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`' |
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`' |
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`' |
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`' |
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`' |
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`' |
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`' |
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`' |
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`' |
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`' |
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`' |
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`' |
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`' |
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`' |
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`' |
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`' |
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`' |
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`' |
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`' |
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`' |
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`' |
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`' |
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`' |
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`' |
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`' |
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`' |
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`' |
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`' |
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`' |
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`' |
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`' |
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`' |
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`' |
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`' |
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`' |
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`' |
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`' |
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`' |
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' |
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' |
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`' |
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`' |
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`' |
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`' |
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' |
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`' |
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`' |
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`' |
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`' |
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`' |
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`' |
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`' |
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`' |
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`' |
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`' |
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`' |
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`' |
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`' |
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`' |
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`' |
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`' |
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`' |
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`' |
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`' |
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`' |
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`' |
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`' |
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`' |
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`' |
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`' |
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`' |
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`' |
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`' |
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`' |
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`' |
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`' |
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`' |
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`' |
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`' |
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' |
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' |
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' |
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' |
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' |
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' |
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' |
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' |
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' |
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' |
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' |
build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' |
build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' |
build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' |
SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' |
Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' |
GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' |
EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' |
FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' |
LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' |
NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' |
LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' |
max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' |
ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' |
exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' |
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' |
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' |
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' |
lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' |
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' |
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' |
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' |
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' |
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' |
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' |
file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' |
want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' |
DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' |
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' |
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' |
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' |
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' |
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' |
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' |
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' |
old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' |
old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' |
lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' |
CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' |
CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' |
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' |
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' |
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' |
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' |
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' |
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"`' |
nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' |
lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' |
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' |
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' |
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' |
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' |
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' |
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' |
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' |
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' |
MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' |
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' |
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' |
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' |
OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' |
OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' |
libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' |
shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' |
extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' |
archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' |
enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' |
export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' |
whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' |
compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' |
old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' |
old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' |
archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' |
archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' |
module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' |
module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' |
with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' |
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' |
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' |
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' |
hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`' |
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' |
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' |
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' |
hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' |
hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' |
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' |
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' |
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' |
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' |
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' |
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' |
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' |
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' |
postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' |
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' |
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' |
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' |
need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' |
version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' |
runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' |
shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' |
shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' |
libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' |
library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' |
soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' |
install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' |
postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' |
postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' |
finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' |
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' |
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' |
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' |
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`' |
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' |
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' |
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' |
enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' |
old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' |
striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' |
|
LTCC='$LTCC' |
LTCFLAGS='$LTCFLAGS' |
compiler='$compiler_DEFAULT' |
|
# A function that is used when there is no print builtin or printf. |
func_fallback_echo () |
{ |
eval 'cat <<_LTECHO_EOF |
\$1 |
_LTECHO_EOF' |
} |
|
# Quote evaled strings. |
for var in SED \ |
for var in SHELL \ |
ECHO \ |
SED \ |
GREP \ |
EGREP \ |
FGREP \ |
12115,8 → 12909,13
OBJDUMP \ |
deplibs_check_method \ |
file_magic_cmd \ |
file_magic_glob \ |
want_nocaseglob \ |
DLLTOOL \ |
sharedlib_from_linklib_cmd \ |
AR \ |
AR_FLAGS \ |
archiver_list_spec \ |
STRIP \ |
RANLIB \ |
CC \ |
12126,14 → 12925,14
lt_cv_sys_global_symbol_to_cdecl \ |
lt_cv_sys_global_symbol_to_c_name_address \ |
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ |
SHELL \ |
ECHO \ |
nm_file_list_spec \ |
lt_prog_compiler_no_builtin_flag \ |
lt_prog_compiler_pic \ |
lt_prog_compiler_wl \ |
lt_prog_compiler_pic \ |
lt_prog_compiler_static \ |
lt_cv_prog_compiler_c_o \ |
need_locks \ |
MANIFEST_TOOL \ |
DSYMUTIL \ |
NMEDIT \ |
LIPO \ |
12149,7 → 12948,6
hardcode_libdir_flag_spec \ |
hardcode_libdir_flag_spec_ld \ |
hardcode_libdir_separator \ |
fix_srcfile_path \ |
exclude_expsyms \ |
include_expsyms \ |
file_list_spec \ |
12157,12 → 12955,13
libname_spec \ |
library_names_spec \ |
soname_spec \ |
install_override_mode \ |
finish_eval \ |
old_striplib \ |
striplib; do |
case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in |
case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in |
*[\\\\\\\`\\"\\\$]*) |
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" |
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" |
;; |
*) |
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" |
12184,14 → 12983,15
module_expsym_cmds \ |
export_symbols_cmds \ |
prelink_cmds \ |
postlink_cmds \ |
postinstall_cmds \ |
postuninstall_cmds \ |
finish_cmds \ |
sys_lib_search_path_spec \ |
sys_lib_dlsearch_path_spec; do |
case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in |
case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in |
*[\\\\\\\`\\"\\\$]*) |
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" |
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" |
;; |
*) |
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" |
12199,12 → 12999,6
esac |
done |
|
# Fix-up fallback echo if it was mangled by the above quoting rules. |
case \$lt_ECHO in |
*'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\` |
;; |
esac |
|
ac_aux_dir='$ac_aux_dir' |
xsi_shell='$xsi_shell' |
lt_shell_append='$lt_shell_append' |
12892,7 → 13686,8
# NOTE: Changes made to this file will be lost: look at ltmain.sh. |
# |
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, |
# 2006, 2007, 2008 Free Software Foundation, Inc. |
# 2006, 2007, 2008, 2009, 2010 Free Software Foundation, |
# Inc. |
# Written by Gordon Matzigkeit, 1996 |
# |
# This file is part of GNU Libtool. |
12940,6 → 13735,12
# Whether or not to optimize for fast installation. |
fast_install=$enable_fast_install |
|
# Shell to use when invoking shell scripts. |
SHELL=$lt_SHELL |
|
# An echo program that protects backslashes. |
ECHO=$lt_ECHO |
|
# The host system. |
host_alias=$host_alias |
host=$host |
12989,10 → 13790,12
# turn newlines into spaces. |
NL2SP=$lt_lt_NL2SP |
|
# How to create reloadable object files. |
reload_flag=$lt_reload_flag |
reload_cmds=$lt_reload_cmds |
# convert \$build file names to \$host format. |
to_host_file_cmd=$lt_cv_to_host_file_cmd |
|
# convert \$build files to toolchain format. |
to_tool_file_cmd=$lt_cv_to_tool_file_cmd |
|
# An object symbol dumper. |
OBJDUMP=$lt_OBJDUMP |
|
12999,13 → 13802,30
# Method to check whether dependent libraries are shared objects. |
deplibs_check_method=$lt_deplibs_check_method |
|
# Command to use when deplibs_check_method == "file_magic". |
# Command to use when deplibs_check_method = "file_magic". |
file_magic_cmd=$lt_file_magic_cmd |
|
# How to find potential files when deplibs_check_method = "file_magic". |
file_magic_glob=$lt_file_magic_glob |
|
# Find potential files using nocaseglob when deplibs_check_method = "file_magic". |
want_nocaseglob=$lt_want_nocaseglob |
|
# DLL creation program. |
DLLTOOL=$lt_DLLTOOL |
|
# Command to associate shared and link libraries. |
sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd |
|
# The archiver. |
AR=$lt_AR |
|
# Flags to create an archive. |
AR_FLAGS=$lt_AR_FLAGS |
|
# How to feed a file listing to the archiver. |
archiver_list_spec=$lt_archiver_list_spec |
|
# A symbol stripping program. |
STRIP=$lt_STRIP |
|
13014,6 → 13834,9
old_postinstall_cmds=$lt_old_postinstall_cmds |
old_postuninstall_cmds=$lt_old_postuninstall_cmds |
|
# Whether to use a lock for old archive extraction. |
lock_old_archive_extraction=$lock_old_archive_extraction |
|
# A C compiler. |
LTCC=$lt_CC |
|
13032,15 → 13855,15
# Transform the output of nm in a C name address pair when lib prefix is needed. |
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix |
|
# Specify filename containing input files for \$NM. |
nm_file_list_spec=$lt_nm_file_list_spec |
|
# The root where to search for dependent libraries,and in which our libraries should be installed. |
lt_sysroot=$lt_sysroot |
|
# The name of the directory that contains temporary libtool files. |
objdir=$objdir |
|
# Shell to use when invoking shell scripts. |
SHELL=$lt_SHELL |
|
# An echo program that does not interpret backslashes. |
ECHO=$lt_ECHO |
|
# Used to examine libraries when file_magic_cmd begins with "file". |
MAGIC_CMD=$MAGIC_CMD |
|
13047,6 → 13870,9
# Must we lock files when doing compilation? |
need_locks=$lt_need_locks |
|
# Manifest tool. |
MANIFEST_TOOL=$lt_MANIFEST_TOOL |
|
# Tool to manipulate archived DWARF debug symbol files on Mac OS X. |
DSYMUTIL=$lt_DSYMUTIL |
|
13103,6 → 13929,9
# The coded name of the library, if different from the real name. |
soname_spec=$lt_soname_spec |
|
# Permission mode override for installation of shared libraries. |
install_override_mode=$lt_install_override_mode |
|
# Command to use after installation of a shared archive. |
postinstall_cmds=$lt_postinstall_cmds |
|
13142,6 → 13971,10
# The linker used to build libraries. |
LD=$lt_LD |
|
# How to create reloadable object files. |
reload_flag=$lt_reload_flag |
reload_cmds=$lt_reload_cmds |
|
# Commands used to build an old-style archive. |
old_archive_cmds=$lt_old_archive_cmds |
|
13154,12 → 13987,12
# Compiler flag to turn off builtin functions. |
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag |
|
# Additional compiler flags for building library objects. |
pic_flag=$lt_lt_prog_compiler_pic |
|
# How to pass a linker flag through the compiler. |
wl=$lt_lt_prog_compiler_wl |
|
# Additional compiler flags for building library objects. |
pic_flag=$lt_lt_prog_compiler_pic |
|
# Compiler flag to prevent dynamic linking. |
link_static_flag=$lt_lt_prog_compiler_static |
|
13246,9 → 14079,6
# Whether libtool must link a program against all its dependency libraries. |
link_all_deplibs=$link_all_deplibs |
|
# Fix the shell variable \$srcfile for the compiler. |
fix_srcfile_path=$lt_fix_srcfile_path |
|
# Set to "yes" if exported symbols are required. |
always_export_symbols=$always_export_symbols |
|
13264,6 → 14094,9
# Commands necessary for linking programs (against libraries) with templates. |
prelink_cmds=$lt_prelink_cmds |
|
# Commands necessary for finishing linking programs. |
postlink_cmds=$lt_postlink_cmds |
|
# Specify filename containing input files. |
file_list_spec=$lt_file_list_spec |
|
13296,212 → 14129,169
# if finds mixed CR/LF and LF-only lines. Since sed operates in |
# text mode, it properly converts lines to CR/LF. This bash problem |
# is reportedly fixed, but why not run on old versions too? |
sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \ |
|| (rm -f "$cfgfile"; exit 1) |
sed '$q' "$ltmain" >> "$cfgfile" \ |
|| (rm -f "$cfgfile"; exit 1) |
|
case $xsi_shell in |
yes) |
cat << \_LT_EOF >> "$cfgfile" |
if test x"$xsi_shell" = xyes; then |
sed -e '/^func_dirname ()$/,/^} # func_dirname /c\ |
func_dirname ()\ |
{\ |
\ case ${1} in\ |
\ */*) func_dirname_result="${1%/*}${2}" ;;\ |
\ * ) func_dirname_result="${3}" ;;\ |
\ esac\ |
} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \ |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
test 0 -eq $? || _lt_function_replace_fail=: |
|
# func_dirname file append nondir_replacement |
# Compute the dirname of FILE. If nonempty, add APPEND to the result, |
# otherwise set result to NONDIR_REPLACEMENT. |
func_dirname () |
{ |
case ${1} in |
*/*) func_dirname_result="${1%/*}${2}" ;; |
* ) func_dirname_result="${3}" ;; |
esac |
} |
|
# func_basename file |
func_basename () |
{ |
func_basename_result="${1##*/}" |
} |
sed -e '/^func_basename ()$/,/^} # func_basename /c\ |
func_basename ()\ |
{\ |
\ func_basename_result="${1##*/}"\ |
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \ |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
test 0 -eq $? || _lt_function_replace_fail=: |
|
# func_dirname_and_basename file append nondir_replacement |
# perform func_basename and func_dirname in a single function |
# call: |
# dirname: Compute the dirname of FILE. If nonempty, |
# add APPEND to the result, otherwise set result |
# to NONDIR_REPLACEMENT. |
# value returned in "$func_dirname_result" |
# basename: Compute filename of FILE. |
# value retuned in "$func_basename_result" |
# Implementation must be kept synchronized with func_dirname |
# and func_basename. For efficiency, we do not delegate to |
# those functions but instead duplicate the functionality here. |
func_dirname_and_basename () |
{ |
case ${1} in |
*/*) func_dirname_result="${1%/*}${2}" ;; |
* ) func_dirname_result="${3}" ;; |
esac |
func_basename_result="${1##*/}" |
} |
|
# func_stripname prefix suffix name |
# strip PREFIX and SUFFIX off of NAME. |
# PREFIX and SUFFIX must not contain globbing or regex special |
# characters, hashes, percent signs, but SUFFIX may contain a leading |
# dot (in which case that matches only a dot). |
func_stripname () |
{ |
# pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are |
# positional parameters, so assign one to ordinary parameter first. |
func_stripname_result=${3} |
func_stripname_result=${func_stripname_result#"${1}"} |
func_stripname_result=${func_stripname_result%"${2}"} |
} |
sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\ |
func_dirname_and_basename ()\ |
{\ |
\ case ${1} in\ |
\ */*) func_dirname_result="${1%/*}${2}" ;;\ |
\ * ) func_dirname_result="${3}" ;;\ |
\ esac\ |
\ func_basename_result="${1##*/}"\ |
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \ |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
test 0 -eq $? || _lt_function_replace_fail=: |
|
# func_opt_split |
func_opt_split () |
{ |
func_opt_split_opt=${1%%=*} |
func_opt_split_arg=${1#*=} |
} |
|
# func_lo2o object |
func_lo2o () |
{ |
case ${1} in |
*.lo) func_lo2o_result=${1%.lo}.${objext} ;; |
*) func_lo2o_result=${1} ;; |
esac |
} |
sed -e '/^func_stripname ()$/,/^} # func_stripname /c\ |
func_stripname ()\ |
{\ |
\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\ |
\ # positional parameters, so assign one to ordinary parameter first.\ |
\ func_stripname_result=${3}\ |
\ func_stripname_result=${func_stripname_result#"${1}"}\ |
\ func_stripname_result=${func_stripname_result%"${2}"}\ |
} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \ |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
test 0 -eq $? || _lt_function_replace_fail=: |
|
# func_xform libobj-or-source |
func_xform () |
{ |
func_xform_result=${1%.*}.lo |
} |
|
# func_arith arithmetic-term... |
func_arith () |
{ |
func_arith_result=$(( $* )) |
} |
sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\ |
func_split_long_opt ()\ |
{\ |
\ func_split_long_opt_name=${1%%=*}\ |
\ func_split_long_opt_arg=${1#*=}\ |
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \ |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
test 0 -eq $? || _lt_function_replace_fail=: |
|
# func_len string |
# STRING may not start with a hyphen. |
func_len () |
{ |
func_len_result=${#1} |
} |
|
_LT_EOF |
;; |
*) # Bourne compatible functions. |
cat << \_LT_EOF >> "$cfgfile" |
sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\ |
func_split_short_opt ()\ |
{\ |
\ func_split_short_opt_arg=${1#??}\ |
\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\ |
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \ |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
test 0 -eq $? || _lt_function_replace_fail=: |
|
# func_dirname file append nondir_replacement |
# Compute the dirname of FILE. If nonempty, add APPEND to the result, |
# otherwise set result to NONDIR_REPLACEMENT. |
func_dirname () |
{ |
# Extract subdirectory from the argument. |
func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"` |
if test "X$func_dirname_result" = "X${1}"; then |
func_dirname_result="${3}" |
else |
func_dirname_result="$func_dirname_result${2}" |
fi |
} |
|
# func_basename file |
func_basename () |
{ |
func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"` |
} |
sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\ |
func_lo2o ()\ |
{\ |
\ case ${1} in\ |
\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\ |
\ *) func_lo2o_result=${1} ;;\ |
\ esac\ |
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \ |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
test 0 -eq $? || _lt_function_replace_fail=: |
|
|
# func_stripname prefix suffix name |
# strip PREFIX and SUFFIX off of NAME. |
# PREFIX and SUFFIX must not contain globbing or regex special |
# characters, hashes, percent signs, but SUFFIX may contain a leading |
# dot (in which case that matches only a dot). |
# func_strip_suffix prefix name |
func_stripname () |
{ |
case ${2} in |
.*) func_stripname_result=`$ECHO "X${3}" \ |
| $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;; |
*) func_stripname_result=`$ECHO "X${3}" \ |
| $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;; |
esac |
} |
sed -e '/^func_xform ()$/,/^} # func_xform /c\ |
func_xform ()\ |
{\ |
func_xform_result=${1%.*}.lo\ |
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \ |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
test 0 -eq $? || _lt_function_replace_fail=: |
|
# sed scripts: |
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q' |
my_sed_long_arg='1s/^-[^=]*=//' |
|
# func_opt_split |
func_opt_split () |
{ |
func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"` |
func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"` |
} |
sed -e '/^func_arith ()$/,/^} # func_arith /c\ |
func_arith ()\ |
{\ |
func_arith_result=$(( $* ))\ |
} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \ |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
test 0 -eq $? || _lt_function_replace_fail=: |
|
# func_lo2o object |
func_lo2o () |
{ |
func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"` |
} |
|
# func_xform libobj-or-source |
func_xform () |
{ |
func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'` |
} |
sed -e '/^func_len ()$/,/^} # func_len /c\ |
func_len ()\ |
{\ |
func_len_result=${#1}\ |
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \ |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
test 0 -eq $? || _lt_function_replace_fail=: |
|
# func_arith arithmetic-term... |
func_arith () |
{ |
func_arith_result=`expr "$@"` |
} |
fi |
|
# func_len string |
# STRING may not start with a hyphen. |
func_len () |
{ |
func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len` |
} |
if test x"$lt_shell_append" = xyes; then |
sed -e '/^func_append ()$/,/^} # func_append /c\ |
func_append ()\ |
{\ |
eval "${1}+=\\${2}"\ |
} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \ |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
test 0 -eq $? || _lt_function_replace_fail=: |
|
_LT_EOF |
esac |
|
case $lt_shell_append in |
yes) |
cat << \_LT_EOF >> "$cfgfile" |
sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\ |
func_append_quoted ()\ |
{\ |
\ func_quote_for_eval "${2}"\ |
\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\ |
} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \ |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
test 0 -eq $? || _lt_function_replace_fail=: |
|
# func_append var value |
# Append VALUE to the end of shell variable VAR. |
func_append () |
{ |
eval "$1+=\$2" |
} |
_LT_EOF |
;; |
*) |
cat << \_LT_EOF >> "$cfgfile" |
|
# func_append var value |
# Append VALUE to the end of shell variable VAR. |
func_append () |
{ |
eval "$1=\$$1\$2" |
} |
# Save a `func_append' function call where possible by direct use of '+=' |
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \ |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
test 0 -eq $? || _lt_function_replace_fail=: |
else |
# Save a `func_append' function call even when '+=' is not available |
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \ |
&& mv -f "$cfgfile.tmp" "$cfgfile" \ |
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
test 0 -eq $? || _lt_function_replace_fail=: |
fi |
|
_LT_EOF |
;; |
esac |
if test x"$_lt_function_replace_fail" = x":"; then |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5 |
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;} |
fi |
|
|
sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \ |
|| (rm -f "$cfgfile"; exit 1) |
|
mv -f "$cfgfile" "$ofile" || |
mv -f "$cfgfile" "$ofile" || |
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") |
chmod +x "$ofile" |
|
/test-code-or1k/basic/Makefile.in
140,6 → 140,7
CYGPATH_W = @CYGPATH_W@ |
DEFS = @DEFS@ |
DEPDIR = @DEPDIR@ |
DLLTOOL = @DLLTOOL@ |
DSYMUTIL = @DSYMUTIL@ |
DUMPBIN = @DUMPBIN@ |
ECHO_C = @ECHO_C@ |
163,6 → 164,7
LN_S = @LN_S@ |
LTLIBOBJS = @LTLIBOBJS@ |
MAKEINFO = @MAKEINFO@ |
MANIFEST_TOOL = @MANIFEST_TOOL@ |
MKDIR_P = @MKDIR_P@ |
NM = @NM@ |
NMEDIT = @NMEDIT@ |
189,6 → 191,7
abs_srcdir = @abs_srcdir@ |
abs_top_builddir = @abs_top_builddir@ |
abs_top_srcdir = @abs_top_srcdir@ |
ac_ct_AR = @ac_ct_AR@ |
ac_ct_CC = @ac_ct_CC@ |
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ |
am__include = @am__include@ |
221,7 → 224,6
libexecdir = @libexecdir@ |
localedir = @localedir@ |
localstatedir = @localstatedir@ |
lt_ECHO = @lt_ECHO@ |
mandir = @mandir@ |
mkdir_p = @mkdir_p@ |
oldincludedir = @oldincludedir@ |
/test-code-or1k/Makefile.in
157,6 → 157,7
CYGPATH_W = @CYGPATH_W@ |
DEFS = @DEFS@ |
DEPDIR = @DEPDIR@ |
DLLTOOL = @DLLTOOL@ |
DSYMUTIL = @DSYMUTIL@ |
DUMPBIN = @DUMPBIN@ |
ECHO_C = @ECHO_C@ |
180,6 → 181,7
LN_S = @LN_S@ |
LTLIBOBJS = @LTLIBOBJS@ |
MAKEINFO = @MAKEINFO@ |
MANIFEST_TOOL = @MANIFEST_TOOL@ |
MKDIR_P = @MKDIR_P@ |
NM = @NM@ |
NMEDIT = @NMEDIT@ |
206,6 → 208,7
abs_srcdir = @abs_srcdir@ |
abs_top_builddir = @abs_top_builddir@ |
abs_top_srcdir = @abs_top_srcdir@ |
ac_ct_AR = @ac_ct_AR@ |
ac_ct_CC = @ac_ct_CC@ |
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ |
am__include = @am__include@ |
238,7 → 241,6
libexecdir = @libexecdir@ |
localedir = @localedir@ |
localstatedir = @localstatedir@ |
lt_ECHO = @lt_ECHO@ |
mandir = @mandir@ |
mkdir_p = @mkdir_p@ |
oldincludedir = @oldincludedir@ |
/test-code-or1k/cbasic/Makefile.in
131,6 → 131,7
CYGPATH_W = @CYGPATH_W@ |
DEFS = @DEFS@ |
DEPDIR = @DEPDIR@ |
DLLTOOL = @DLLTOOL@ |
DSYMUTIL = @DSYMUTIL@ |
DUMPBIN = @DUMPBIN@ |
ECHO_C = @ECHO_C@ |
154,6 → 155,7
LN_S = @LN_S@ |
LTLIBOBJS = @LTLIBOBJS@ |
MAKEINFO = @MAKEINFO@ |
MANIFEST_TOOL = @MANIFEST_TOOL@ |
MKDIR_P = @MKDIR_P@ |
NM = @NM@ |
NMEDIT = @NMEDIT@ |
180,6 → 182,7
abs_srcdir = @abs_srcdir@ |
abs_top_builddir = @abs_top_builddir@ |
abs_top_srcdir = @abs_top_srcdir@ |
ac_ct_AR = @ac_ct_AR@ |
ac_ct_CC = @ac_ct_CC@ |
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ |
am__include = @am__include@ |
212,7 → 215,6
libexecdir = @libexecdir@ |
localedir = @localedir@ |
localstatedir = @localstatedir@ |
lt_ECHO = @lt_ECHO@ |
mandir = @mandir@ |
mkdir_p = @mkdir_p@ |
oldincludedir = @oldincludedir@ |
/test-code-or1k/mc-common/Makefile.in
137,6 → 137,7
CYGPATH_W = @CYGPATH_W@ |
DEFS = @DEFS@ |
DEPDIR = @DEPDIR@ |
DLLTOOL = @DLLTOOL@ |
DSYMUTIL = @DSYMUTIL@ |
DUMPBIN = @DUMPBIN@ |
ECHO_C = @ECHO_C@ |
160,6 → 161,7
LN_S = @LN_S@ |
LTLIBOBJS = @LTLIBOBJS@ |
MAKEINFO = @MAKEINFO@ |
MANIFEST_TOOL = @MANIFEST_TOOL@ |
MKDIR_P = @MKDIR_P@ |
NM = @NM@ |
NMEDIT = @NMEDIT@ |
186,6 → 188,7
abs_srcdir = @abs_srcdir@ |
abs_top_builddir = @abs_top_builddir@ |
abs_top_srcdir = @abs_top_srcdir@ |
ac_ct_AR = @ac_ct_AR@ |
ac_ct_CC = @ac_ct_CC@ |
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ |
am__include = @am__include@ |
218,7 → 221,6
libexecdir = @libexecdir@ |
localedir = @localedir@ |
localstatedir = @localstatedir@ |
lt_ECHO = @lt_ECHO@ |
mandir = @mandir@ |
mkdir_p = @mkdir_p@ |
oldincludedir = @oldincludedir@ |
/test-code-or1k/except/Makefile.in
137,6 → 137,7
CYGPATH_W = @CYGPATH_W@ |
DEFS = @DEFS@ |
DEPDIR = @DEPDIR@ |
DLLTOOL = @DLLTOOL@ |
DSYMUTIL = @DSYMUTIL@ |
DUMPBIN = @DUMPBIN@ |
ECHO_C = @ECHO_C@ |
160,6 → 161,7
LN_S = @LN_S@ |
LTLIBOBJS = @LTLIBOBJS@ |
MAKEINFO = @MAKEINFO@ |
MANIFEST_TOOL = @MANIFEST_TOOL@ |
MKDIR_P = @MKDIR_P@ |
NM = @NM@ |
NMEDIT = @NMEDIT@ |
186,6 → 188,7
abs_srcdir = @abs_srcdir@ |
abs_top_builddir = @abs_top_builddir@ |
abs_top_srcdir = @abs_top_srcdir@ |
ac_ct_AR = @ac_ct_AR@ |
ac_ct_CC = @ac_ct_CC@ |
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ |
am__include = @am__include@ |
218,7 → 221,6
libexecdir = @libexecdir@ |
localedir = @localedir@ |
localstatedir = @localstatedir@ |
lt_ECHO = @lt_ECHO@ |
mandir = @mandir@ |
mkdir_p = @mkdir_p@ |
oldincludedir = @oldincludedir@ |
/test-code-or1k/tick/Makefile.in
131,6 → 131,7
CYGPATH_W = @CYGPATH_W@ |
DEFS = @DEFS@ |
DEPDIR = @DEPDIR@ |
DLLTOOL = @DLLTOOL@ |
DSYMUTIL = @DSYMUTIL@ |
DUMPBIN = @DUMPBIN@ |
ECHO_C = @ECHO_C@ |
154,6 → 155,7
LN_S = @LN_S@ |
LTLIBOBJS = @LTLIBOBJS@ |
MAKEINFO = @MAKEINFO@ |
MANIFEST_TOOL = @MANIFEST_TOOL@ |
MKDIR_P = @MKDIR_P@ |
NM = @NM@ |
NMEDIT = @NMEDIT@ |
180,6 → 182,7
abs_srcdir = @abs_srcdir@ |
abs_top_builddir = @abs_top_builddir@ |
abs_top_srcdir = @abs_top_srcdir@ |
ac_ct_AR = @ac_ct_AR@ |
ac_ct_CC = @ac_ct_CC@ |
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ |
am__include = @am__include@ |
212,7 → 215,6
libexecdir = @libexecdir@ |
localedir = @localedir@ |
localstatedir = @localstatedir@ |
lt_ECHO = @lt_ECHO@ |
mandir = @mandir@ |
mkdir_p = @mkdir_p@ |
oldincludedir = @oldincludedir@ |
/test-code-or1k/functest/Makefile.in
131,6 → 131,7
CYGPATH_W = @CYGPATH_W@ |
DEFS = @DEFS@ |
DEPDIR = @DEPDIR@ |
DLLTOOL = @DLLTOOL@ |
DSYMUTIL = @DSYMUTIL@ |
DUMPBIN = @DUMPBIN@ |
ECHO_C = @ECHO_C@ |
154,6 → 155,7
LN_S = @LN_S@ |
LTLIBOBJS = @LTLIBOBJS@ |
MAKEINFO = @MAKEINFO@ |
MANIFEST_TOOL = @MANIFEST_TOOL@ |
MKDIR_P = @MKDIR_P@ |
NM = @NM@ |
NMEDIT = @NMEDIT@ |
180,6 → 182,7
abs_srcdir = @abs_srcdir@ |
abs_top_builddir = @abs_top_builddir@ |
abs_top_srcdir = @abs_top_srcdir@ |
ac_ct_AR = @ac_ct_AR@ |
ac_ct_CC = @ac_ct_CC@ |
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ |
am__include = @am__include@ |
212,7 → 215,6
libexecdir = @libexecdir@ |
localedir = @localedir@ |
localstatedir = @localstatedir@ |
lt_ECHO = @lt_ECHO@ |
mandir = @mandir@ |
mkdir_p = @mkdir_p@ |
oldincludedir = @oldincludedir@ |
/test-code-or1k/mem-test/Makefile.in
131,6 → 131,7
CYGPATH_W = @CYGPATH_W@ |
DEFS = @DEFS@ |
DEPDIR = @DEPDIR@ |
DLLTOOL = @DLLTOOL@ |
DSYMUTIL = @DSYMUTIL@ |
DUMPBIN = @DUMPBIN@ |
ECHO_C = @ECHO_C@ |
154,6 → 155,7
LN_S = @LN_S@ |
LTLIBOBJS = @LTLIBOBJS@ |
MAKEINFO = @MAKEINFO@ |
MANIFEST_TOOL = @MANIFEST_TOOL@ |
MKDIR_P = @MKDIR_P@ |
NM = @NM@ |
NMEDIT = @NMEDIT@ |
180,6 → 182,7
abs_srcdir = @abs_srcdir@ |
abs_top_builddir = @abs_top_builddir@ |
abs_top_srcdir = @abs_top_srcdir@ |
ac_ct_AR = @ac_ct_AR@ |
ac_ct_CC = @ac_ct_CC@ |
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ |
am__include = @am__include@ |
212,7 → 215,6
libexecdir = @libexecdir@ |
localedir = @localedir@ |
localstatedir = @localstatedir@ |
lt_ECHO = @lt_ECHO@ |
mandir = @mandir@ |
mkdir_p = @mkdir_p@ |
oldincludedir = @oldincludedir@ |
/test-code-or1k/ext/Makefile.in
140,6 → 140,7
CYGPATH_W = @CYGPATH_W@ |
DEFS = @DEFS@ |
DEPDIR = @DEPDIR@ |
DLLTOOL = @DLLTOOL@ |
DSYMUTIL = @DSYMUTIL@ |
DUMPBIN = @DUMPBIN@ |
ECHO_C = @ECHO_C@ |
163,6 → 164,7
LN_S = @LN_S@ |
LTLIBOBJS = @LTLIBOBJS@ |
MAKEINFO = @MAKEINFO@ |
MANIFEST_TOOL = @MANIFEST_TOOL@ |
MKDIR_P = @MKDIR_P@ |
NM = @NM@ |
NMEDIT = @NMEDIT@ |
189,6 → 191,7
abs_srcdir = @abs_srcdir@ |
abs_top_builddir = @abs_top_builddir@ |
abs_top_srcdir = @abs_top_srcdir@ |
ac_ct_AR = @ac_ct_AR@ |
ac_ct_CC = @ac_ct_CC@ |
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ |
am__include = @am__include@ |
221,7 → 224,6
libexecdir = @libexecdir@ |
localedir = @localedir@ |
localstatedir = @localstatedir@ |
lt_ECHO = @lt_ECHO@ |
mandir = @mandir@ |
mkdir_p = @mkdir_p@ |
oldincludedir = @oldincludedir@ |
/test-code-or1k/kbdtest/Makefile.in
131,6 → 131,7
CYGPATH_W = @CYGPATH_W@ |
DEFS = @DEFS@ |
DEPDIR = @DEPDIR@ |
DLLTOOL = @DLLTOOL@ |
DSYMUTIL = @DSYMUTIL@ |
DUMPBIN = @DUMPBIN@ |
ECHO_C = @ECHO_C@ |
154,6 → 155,7
LN_S = @LN_S@ |
LTLIBOBJS = @LTLIBOBJS@ |
MAKEINFO = @MAKEINFO@ |
MANIFEST_TOOL = @MANIFEST_TOOL@ |
MKDIR_P = @MKDIR_P@ |
NM = @NM@ |
NMEDIT = @NMEDIT@ |
180,6 → 182,7
abs_srcdir = @abs_srcdir@ |
abs_top_builddir = @abs_top_builddir@ |
abs_top_srcdir = @abs_top_srcdir@ |
ac_ct_AR = @ac_ct_AR@ |
ac_ct_CC = @ac_ct_CC@ |
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ |
am__include = @am__include@ |
212,7 → 215,6
libexecdir = @libexecdir@ |
localedir = @localedir@ |
localstatedir = @localstatedir@ |
lt_ECHO = @lt_ECHO@ |
mandir = @mandir@ |
mkdir_p = @mkdir_p@ |
oldincludedir = @oldincludedir@ |
/test-code-or1k/mycompress/Makefile.in
131,6 → 131,7
CYGPATH_W = @CYGPATH_W@ |
DEFS = @DEFS@ |
DEPDIR = @DEPDIR@ |
DLLTOOL = @DLLTOOL@ |
DSYMUTIL = @DSYMUTIL@ |
DUMPBIN = @DUMPBIN@ |
ECHO_C = @ECHO_C@ |
154,6 → 155,7
LN_S = @LN_S@ |
LTLIBOBJS = @LTLIBOBJS@ |
MAKEINFO = @MAKEINFO@ |
MANIFEST_TOOL = @MANIFEST_TOOL@ |
MKDIR_P = @MKDIR_P@ |
NM = @NM@ |
NMEDIT = @NMEDIT@ |
180,6 → 182,7
abs_srcdir = @abs_srcdir@ |
abs_top_builddir = @abs_top_builddir@ |
abs_top_srcdir = @abs_top_srcdir@ |
ac_ct_AR = @ac_ct_AR@ |
ac_ct_CC = @ac_ct_CC@ |
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ |
am__include = @am__include@ |
212,7 → 215,6
libexecdir = @libexecdir@ |
localedir = @localedir@ |
localstatedir = @localstatedir@ |
lt_ECHO = @lt_ECHO@ |
mandir = @mandir@ |
mkdir_p = @mkdir_p@ |
oldincludedir = @oldincludedir@ |
/test-code-or1k/upcalls/Makefile.in
140,6 → 140,7
CYGPATH_W = @CYGPATH_W@ |
DEFS = @DEFS@ |
DEPDIR = @DEPDIR@ |
DLLTOOL = @DLLTOOL@ |
DSYMUTIL = @DSYMUTIL@ |
DUMPBIN = @DUMPBIN@ |
ECHO_C = @ECHO_C@ |
163,6 → 164,7
LN_S = @LN_S@ |
LTLIBOBJS = @LTLIBOBJS@ |
MAKEINFO = @MAKEINFO@ |
MANIFEST_TOOL = @MANIFEST_TOOL@ |
MKDIR_P = @MKDIR_P@ |
NM = @NM@ |
NMEDIT = @NMEDIT@ |
189,6 → 191,7
abs_srcdir = @abs_srcdir@ |
abs_top_builddir = @abs_top_builddir@ |
abs_top_srcdir = @abs_top_srcdir@ |
ac_ct_AR = @ac_ct_AR@ |
ac_ct_CC = @ac_ct_CC@ |
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ |
am__include = @am__include@ |
221,7 → 224,6
libexecdir = @libexecdir@ |
localedir = @localedir@ |
localstatedir = @localstatedir@ |
lt_ECHO = @lt_ECHO@ |
mandir = @mandir@ |
mkdir_p = @mkdir_p@ |
oldincludedir = @oldincludedir@ |
/test-code-or1k/cache/Makefile.in
140,6 → 140,7
CYGPATH_W = @CYGPATH_W@ |
DEFS = @DEFS@ |
DEPDIR = @DEPDIR@ |
DLLTOOL = @DLLTOOL@ |
DSYMUTIL = @DSYMUTIL@ |
DUMPBIN = @DUMPBIN@ |
ECHO_C = @ECHO_C@ |
163,6 → 164,7
LN_S = @LN_S@ |
LTLIBOBJS = @LTLIBOBJS@ |
MAKEINFO = @MAKEINFO@ |
MANIFEST_TOOL = @MANIFEST_TOOL@ |
MKDIR_P = @MKDIR_P@ |
NM = @NM@ |
NMEDIT = @NMEDIT@ |
189,6 → 191,7
abs_srcdir = @abs_srcdir@ |
abs_top_builddir = @abs_top_builddir@ |
abs_top_srcdir = @abs_top_srcdir@ |
ac_ct_AR = @ac_ct_AR@ |
ac_ct_CC = @ac_ct_CC@ |
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ |
am__include = @am__include@ |
221,7 → 224,6
libexecdir = @libexecdir@ |
localedir = @localedir@ |
localstatedir = @localstatedir@ |
lt_ECHO = @lt_ECHO@ |
mandir = @mandir@ |
mkdir_p = @mkdir_p@ |
oldincludedir = @oldincludedir@ |
/test-code-or1k/configure.ac
23,7 → 23,7
# Configure script for the OpenRISC 1000 simulator test suite OR1K code |
# directory. This uses a different tool chain, so has its own configuration |
# script. Process this file with autoconf to produce a configure script. |
AC_INIT([or1ksim-testsuite], [2011-08-15], [openrisc@opencores.org]) |
AC_INIT([or1ksim-testsuite], [2012-03-21], [openrisc@opencores.org]) |
AC_CONFIG_MACRO_DIR([m4]) |
|
AC_PROG_LIBTOOL |
/test-code-or1k/testfloat/Makefile.in
160,6 → 160,7
CYGPATH_W = @CYGPATH_W@ |
DEFS = @DEFS@ |
DEPDIR = @DEPDIR@ |
DLLTOOL = @DLLTOOL@ |
DSYMUTIL = @DSYMUTIL@ |
DUMPBIN = @DUMPBIN@ |
ECHO_C = @ECHO_C@ |
183,6 → 184,7
LN_S = @LN_S@ |
LTLIBOBJS = @LTLIBOBJS@ |
MAKEINFO = @MAKEINFO@ |
MANIFEST_TOOL = @MANIFEST_TOOL@ |
MKDIR_P = @MKDIR_P@ |
NM = @NM@ |
NMEDIT = @NMEDIT@ |
209,6 → 211,7
abs_srcdir = @abs_srcdir@ |
abs_top_builddir = @abs_top_builddir@ |
abs_top_srcdir = @abs_top_srcdir@ |
ac_ct_AR = @ac_ct_AR@ |
ac_ct_CC = @ac_ct_CC@ |
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ |
am__include = @am__include@ |
241,7 → 244,6
libexecdir = @libexecdir@ |
localedir = @localedir@ |
localstatedir = @localstatedir@ |
lt_ECHO = @lt_ECHO@ |
mandir = @mandir@ |
mkdir_p = @mkdir_p@ |
oldincludedir = @oldincludedir@ |
/test-code-or1k/fp/Makefile.in
140,6 → 140,7
CYGPATH_W = @CYGPATH_W@ |
DEFS = @DEFS@ |
DEPDIR = @DEPDIR@ |
DLLTOOL = @DLLTOOL@ |
DSYMUTIL = @DSYMUTIL@ |
DUMPBIN = @DUMPBIN@ |
ECHO_C = @ECHO_C@ |
163,6 → 164,7
LN_S = @LN_S@ |
LTLIBOBJS = @LTLIBOBJS@ |
MAKEINFO = @MAKEINFO@ |
MANIFEST_TOOL = @MANIFEST_TOOL@ |
MKDIR_P = @MKDIR_P@ |
NM = @NM@ |
NMEDIT = @NMEDIT@ |
189,6 → 191,7
abs_srcdir = @abs_srcdir@ |
abs_top_builddir = @abs_top_builddir@ |
abs_top_srcdir = @abs_top_srcdir@ |
ac_ct_AR = @ac_ct_AR@ |
ac_ct_CC = @ac_ct_CC@ |
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ |
am__include = @am__include@ |
221,7 → 224,6
libexecdir = @libexecdir@ |
localedir = @localedir@ |
localstatedir = @localstatedir@ |
lt_ECHO = @lt_ECHO@ |
mandir = @mandir@ |
mkdir_p = @mkdir_p@ |
oldincludedir = @oldincludedir@ |
/test-code-or1k/int-logger/Makefile.in
131,6 → 131,7
CYGPATH_W = @CYGPATH_W@ |
DEFS = @DEFS@ |
DEPDIR = @DEPDIR@ |
DLLTOOL = @DLLTOOL@ |
DSYMUTIL = @DSYMUTIL@ |
DUMPBIN = @DUMPBIN@ |
ECHO_C = @ECHO_C@ |
154,6 → 155,7
LN_S = @LN_S@ |
LTLIBOBJS = @LTLIBOBJS@ |
MAKEINFO = @MAKEINFO@ |
MANIFEST_TOOL = @MANIFEST_TOOL@ |
MKDIR_P = @MKDIR_P@ |
NM = @NM@ |
NMEDIT = @NMEDIT@ |
180,6 → 182,7
abs_srcdir = @abs_srcdir@ |
abs_top_builddir = @abs_top_builddir@ |
abs_top_srcdir = @abs_top_srcdir@ |
ac_ct_AR = @ac_ct_AR@ |
ac_ct_CC = @ac_ct_CC@ |
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ |
am__include = @am__include@ |
212,7 → 215,6
libexecdir = @libexecdir@ |
localedir = @localedir@ |
localstatedir = @localstatedir@ |
lt_ECHO = @lt_ECHO@ |
mandir = @mandir@ |
mkdir_p = @mkdir_p@ |
oldincludedir = @oldincludedir@ |
/test-code-or1k/loop/Makefile.in
145,6 → 145,7
CYGPATH_W = @CYGPATH_W@ |
DEFS = @DEFS@ |
DEPDIR = @DEPDIR@ |
DLLTOOL = @DLLTOOL@ |
DSYMUTIL = @DSYMUTIL@ |
DUMPBIN = @DUMPBIN@ |
ECHO_C = @ECHO_C@ |
168,6 → 169,7
LN_S = @LN_S@ |
LTLIBOBJS = @LTLIBOBJS@ |
MAKEINFO = @MAKEINFO@ |
MANIFEST_TOOL = @MANIFEST_TOOL@ |
MKDIR_P = @MKDIR_P@ |
NM = @NM@ |
NMEDIT = @NMEDIT@ |
194,6 → 196,7
abs_srcdir = @abs_srcdir@ |
abs_top_builddir = @abs_top_builddir@ |
abs_top_srcdir = @abs_top_srcdir@ |
ac_ct_AR = @ac_ct_AR@ |
ac_ct_CC = @ac_ct_CC@ |
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ |
am__include = @am__include@ |
226,7 → 229,6
libexecdir = @libexecdir@ |
localedir = @localedir@ |
localstatedir = @localstatedir@ |
lt_ECHO = @lt_ECHO@ |
mandir = @mandir@ |
mkdir_p = @mkdir_p@ |
oldincludedir = @oldincludedir@ |
/test-code-or1k/mc-dram/Makefile.in
132,6 → 132,7
CYGPATH_W = @CYGPATH_W@ |
DEFS = @DEFS@ |
DEPDIR = @DEPDIR@ |
DLLTOOL = @DLLTOOL@ |
DSYMUTIL = @DSYMUTIL@ |
DUMPBIN = @DUMPBIN@ |
ECHO_C = @ECHO_C@ |
155,6 → 156,7
LN_S = @LN_S@ |
LTLIBOBJS = @LTLIBOBJS@ |
MAKEINFO = @MAKEINFO@ |
MANIFEST_TOOL = @MANIFEST_TOOL@ |
MKDIR_P = @MKDIR_P@ |
NM = @NM@ |
NMEDIT = @NMEDIT@ |
181,6 → 183,7
abs_srcdir = @abs_srcdir@ |
abs_top_builddir = @abs_top_builddir@ |
abs_top_srcdir = @abs_top_srcdir@ |
ac_ct_AR = @ac_ct_AR@ |
ac_ct_CC = @ac_ct_CC@ |
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ |
am__include = @am__include@ |
213,7 → 216,6
libexecdir = @libexecdir@ |
localedir = @localedir@ |
localstatedir = @localstatedir@ |
lt_ECHO = @lt_ECHO@ |
mandir = @mandir@ |
mkdir_p = @mkdir_p@ |
oldincludedir = @oldincludedir@ |
/test-code-or1k/mc-ssram/Makefile.in
132,6 → 132,7
CYGPATH_W = @CYGPATH_W@ |
DEFS = @DEFS@ |
DEPDIR = @DEPDIR@ |
DLLTOOL = @DLLTOOL@ |
DSYMUTIL = @DSYMUTIL@ |
DUMPBIN = @DUMPBIN@ |
ECHO_C = @ECHO_C@ |
155,6 → 156,7
LN_S = @LN_S@ |
LTLIBOBJS = @LTLIBOBJS@ |
MAKEINFO = @MAKEINFO@ |
MANIFEST_TOOL = @MANIFEST_TOOL@ |
MKDIR_P = @MKDIR_P@ |
NM = @NM@ |
NMEDIT = @NMEDIT@ |
181,6 → 183,7
abs_srcdir = @abs_srcdir@ |
abs_top_builddir = @abs_top_builddir@ |
abs_top_srcdir = @abs_top_srcdir@ |
ac_ct_AR = @ac_ct_AR@ |
ac_ct_CC = @ac_ct_CC@ |
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ |
am__include = @am__include@ |
213,7 → 216,6
libexecdir = @libexecdir@ |
localedir = @localedir@ |
localstatedir = @localstatedir@ |
lt_ECHO = @lt_ECHO@ |
mandir = @mandir@ |
mkdir_p = @mkdir_p@ |
oldincludedir = @oldincludedir@ |
/test-code-or1k/acv-uart/Makefile.in
133,6 → 133,7
CYGPATH_W = @CYGPATH_W@ |
DEFS = @DEFS@ |
DEPDIR = @DEPDIR@ |
DLLTOOL = @DLLTOOL@ |
DSYMUTIL = @DSYMUTIL@ |
DUMPBIN = @DUMPBIN@ |
ECHO_C = @ECHO_C@ |
156,6 → 157,7
LN_S = @LN_S@ |
LTLIBOBJS = @LTLIBOBJS@ |
MAKEINFO = @MAKEINFO@ |
MANIFEST_TOOL = @MANIFEST_TOOL@ |
MKDIR_P = @MKDIR_P@ |
NM = @NM@ |
NMEDIT = @NMEDIT@ |
182,6 → 184,7
abs_srcdir = @abs_srcdir@ |
abs_top_builddir = @abs_top_builddir@ |
abs_top_srcdir = @abs_top_srcdir@ |
ac_ct_AR = @ac_ct_AR@ |
ac_ct_CC = @ac_ct_CC@ |
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ |
am__include = @am__include@ |
214,7 → 217,6
libexecdir = @libexecdir@ |
localedir = @localedir@ |
localstatedir = @localstatedir@ |
lt_ECHO = @lt_ECHO@ |
mandir = @mandir@ |
mkdir_p = @mkdir_p@ |
oldincludedir = @oldincludedir@ |
/test-code-or1k/inst-set-test/Makefile.in
251,6 → 251,7
CYGPATH_W = @CYGPATH_W@ |
DEFS = @DEFS@ |
DEPDIR = @DEPDIR@ |
DLLTOOL = @DLLTOOL@ |
DSYMUTIL = @DSYMUTIL@ |
DUMPBIN = @DUMPBIN@ |
ECHO_C = @ECHO_C@ |
274,6 → 275,7
LN_S = @LN_S@ |
LTLIBOBJS = @LTLIBOBJS@ |
MAKEINFO = @MAKEINFO@ |
MANIFEST_TOOL = @MANIFEST_TOOL@ |
MKDIR_P = @MKDIR_P@ |
NM = @NM@ |
NMEDIT = @NMEDIT@ |
300,6 → 302,7
abs_srcdir = @abs_srcdir@ |
abs_top_builddir = @abs_top_builddir@ |
abs_top_srcdir = @abs_top_srcdir@ |
ac_ct_AR = @ac_ct_AR@ |
ac_ct_CC = @ac_ct_CC@ |
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ |
am__include = @am__include@ |
332,7 → 335,6
libexecdir = @libexecdir@ |
localedir = @localedir@ |
localstatedir = @localstatedir@ |
lt_ECHO = @lt_ECHO@ |
mandir = @mandir@ |
mkdir_p = @mkdir_p@ |
oldincludedir = @oldincludedir@ |
/test-code-or1k/fbtest/Makefile.in
131,6 → 131,7
CYGPATH_W = @CYGPATH_W@ |
DEFS = @DEFS@ |
DEPDIR = @DEPDIR@ |
DLLTOOL = @DLLTOOL@ |
DSYMUTIL = @DSYMUTIL@ |
DUMPBIN = @DUMPBIN@ |
ECHO_C = @ECHO_C@ |
154,6 → 155,7
LN_S = @LN_S@ |
LTLIBOBJS = @LTLIBOBJS@ |
MAKEINFO = @MAKEINFO@ |
MANIFEST_TOOL = @MANIFEST_TOOL@ |
MKDIR_P = @MKDIR_P@ |
NM = @NM@ |
NMEDIT = @NMEDIT@ |
180,6 → 182,7
abs_srcdir = @abs_srcdir@ |
abs_top_builddir = @abs_top_builddir@ |
abs_top_srcdir = @abs_top_srcdir@ |
ac_ct_AR = @ac_ct_AR@ |
ac_ct_CC = @ac_ct_CC@ |
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ |
am__include = @am__include@ |
212,7 → 215,6
libexecdir = @libexecdir@ |
localedir = @localedir@ |
localstatedir = @localstatedir@ |
lt_ECHO = @lt_ECHO@ |
mandir = @mandir@ |
mkdir_p = @mkdir_p@ |
oldincludedir = @oldincludedir@ |
/test-code-or1k/ChangeLog
1,3 → 1,9
2012-03-21 Jeremy Bennett <jeremy.bennett@embecosm.com> |
|
* configure: Regenerated. |
* configure.ac: Updated version. Added AM_SILENT_RULES for nicer |
builds. |
|
2011-08-15 Jeremy Bennett <jeremy.bennett@embecosm.com> |
|
* configure: Regenerated. |
/test-code-or1k/pcu/Makefile.in
138,6 → 138,7
CYGPATH_W = @CYGPATH_W@ |
DEFS = @DEFS@ |
DEPDIR = @DEPDIR@ |
DLLTOOL = @DLLTOOL@ |
DSYMUTIL = @DSYMUTIL@ |
DUMPBIN = @DUMPBIN@ |
ECHO_C = @ECHO_C@ |
161,6 → 162,7
LN_S = @LN_S@ |
LTLIBOBJS = @LTLIBOBJS@ |
MAKEINFO = @MAKEINFO@ |
MANIFEST_TOOL = @MANIFEST_TOOL@ |
MKDIR_P = @MKDIR_P@ |
NM = @NM@ |
NMEDIT = @NMEDIT@ |
187,6 → 189,7
abs_srcdir = @abs_srcdir@ |
abs_top_builddir = @abs_top_builddir@ |
abs_top_srcdir = @abs_top_srcdir@ |
ac_ct_AR = @ac_ct_AR@ |
ac_ct_CC = @ac_ct_CC@ |
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ |
am__include = @am__include@ |
219,7 → 222,6
libexecdir = @libexecdir@ |
localedir = @localedir@ |
localstatedir = @localstatedir@ |
lt_ECHO = @lt_ECHO@ |
mandir = @mandir@ |
mkdir_p = @mkdir_p@ |
oldincludedir = @oldincludedir@ |
/test-code-or1k/local-global/Makefile.in
132,6 → 132,7
CYGPATH_W = @CYGPATH_W@ |
DEFS = @DEFS@ |
DEPDIR = @DEPDIR@ |
DLLTOOL = @DLLTOOL@ |
DSYMUTIL = @DSYMUTIL@ |
DUMPBIN = @DUMPBIN@ |
ECHO_C = @ECHO_C@ |
155,6 → 156,7
LN_S = @LN_S@ |
LTLIBOBJS = @LTLIBOBJS@ |
MAKEINFO = @MAKEINFO@ |
MANIFEST_TOOL = @MANIFEST_TOOL@ |
MKDIR_P = @MKDIR_P@ |
NM = @NM@ |
NMEDIT = @NMEDIT@ |
181,6 → 183,7
abs_srcdir = @abs_srcdir@ |
abs_top_builddir = @abs_top_builddir@ |
abs_top_srcdir = @abs_top_srcdir@ |
ac_ct_AR = @ac_ct_AR@ |
ac_ct_CC = @ac_ct_CC@ |
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ |
am__include = @am__include@ |
213,7 → 216,6
libexecdir = @libexecdir@ |
localedir = @localedir@ |
localstatedir = @localstatedir@ |
lt_ECHO = @lt_ECHO@ |
mandir = @mandir@ |
mkdir_p = @mkdir_p@ |
oldincludedir = @oldincludedir@ |
/test-code-or1k/mul/Makefile.in
131,6 → 131,7
CYGPATH_W = @CYGPATH_W@ |
DEFS = @DEFS@ |
DEPDIR = @DEPDIR@ |
DLLTOOL = @DLLTOOL@ |
DSYMUTIL = @DSYMUTIL@ |
DUMPBIN = @DUMPBIN@ |
ECHO_C = @ECHO_C@ |
154,6 → 155,7
LN_S = @LN_S@ |
LTLIBOBJS = @LTLIBOBJS@ |
MAKEINFO = @MAKEINFO@ |
MANIFEST_TOOL = @MANIFEST_TOOL@ |
MKDIR_P = @MKDIR_P@ |
NM = @NM@ |
NMEDIT = @NMEDIT@ |
180,6 → 182,7
abs_srcdir = @abs_srcdir@ |
abs_top_builddir = @abs_top_builddir@ |
abs_top_srcdir = @abs_top_srcdir@ |
ac_ct_AR = @ac_ct_AR@ |
ac_ct_CC = @ac_ct_CC@ |
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ |
am__include = @am__include@ |
212,7 → 215,6
libexecdir = @libexecdir@ |
localedir = @localedir@ |
localstatedir = @localstatedir@ |
lt_ECHO = @lt_ECHO@ |
mandir = @mandir@ |
mkdir_p = @mkdir_p@ |
oldincludedir = @oldincludedir@ |
/test-code-or1k/mmu/Makefile.in
140,6 → 140,7
CYGPATH_W = @CYGPATH_W@ |
DEFS = @DEFS@ |
DEPDIR = @DEPDIR@ |
DLLTOOL = @DLLTOOL@ |
DSYMUTIL = @DSYMUTIL@ |
DUMPBIN = @DUMPBIN@ |
ECHO_C = @ECHO_C@ |
163,6 → 164,7
LN_S = @LN_S@ |
LTLIBOBJS = @LTLIBOBJS@ |
MAKEINFO = @MAKEINFO@ |
MANIFEST_TOOL = @MANIFEST_TOOL@ |
MKDIR_P = @MKDIR_P@ |
NM = @NM@ |
NMEDIT = @NMEDIT@ |
189,6 → 191,7
abs_srcdir = @abs_srcdir@ |
abs_top_builddir = @abs_top_builddir@ |
abs_top_srcdir = @abs_top_srcdir@ |
ac_ct_AR = @ac_ct_AR@ |
ac_ct_CC = @ac_ct_CC@ |
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ |
am__include = @am__include@ |
221,7 → 224,6
libexecdir = @libexecdir@ |
localedir = @localedir@ |
localstatedir = @localstatedir@ |
lt_ECHO = @lt_ECHO@ |
mandir = @mandir@ |
mkdir_p = @mkdir_p@ |
oldincludedir = @oldincludedir@ |
/test-code-or1k/cfg/Makefile.in
140,6 → 140,7
CYGPATH_W = @CYGPATH_W@ |
DEFS = @DEFS@ |
DEPDIR = @DEPDIR@ |
DLLTOOL = @DLLTOOL@ |
DSYMUTIL = @DSYMUTIL@ |
DUMPBIN = @DUMPBIN@ |
ECHO_C = @ECHO_C@ |
163,6 → 164,7
LN_S = @LN_S@ |
LTLIBOBJS = @LTLIBOBJS@ |
MAKEINFO = @MAKEINFO@ |
MANIFEST_TOOL = @MANIFEST_TOOL@ |
MKDIR_P = @MKDIR_P@ |
NM = @NM@ |
NMEDIT = @NMEDIT@ |
189,6 → 191,7
abs_srcdir = @abs_srcdir@ |
abs_top_builddir = @abs_top_builddir@ |
abs_top_srcdir = @abs_top_srcdir@ |
ac_ct_AR = @ac_ct_AR@ |
ac_ct_CC = @ac_ct_CC@ |
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ |
am__include = @am__include@ |
221,7 → 224,6
libexecdir = @libexecdir@ |
localedir = @localedir@ |
localstatedir = @localstatedir@ |
lt_ECHO = @lt_ECHO@ |
mandir = @mandir@ |
mkdir_p = @mkdir_p@ |
oldincludedir = @oldincludedir@ |
/test-code-or1k/dmatest/Makefile.in
131,6 → 131,7
CYGPATH_W = @CYGPATH_W@ |
DEFS = @DEFS@ |
DEPDIR = @DEPDIR@ |
DLLTOOL = @DLLTOOL@ |
DSYMUTIL = @DSYMUTIL@ |
DUMPBIN = @DUMPBIN@ |
ECHO_C = @ECHO_C@ |
154,6 → 155,7
LN_S = @LN_S@ |
LTLIBOBJS = @LTLIBOBJS@ |
MAKEINFO = @MAKEINFO@ |
MANIFEST_TOOL = @MANIFEST_TOOL@ |
MKDIR_P = @MKDIR_P@ |
NM = @NM@ |
NMEDIT = @NMEDIT@ |
180,6 → 182,7
abs_srcdir = @abs_srcdir@ |
abs_top_builddir = @abs_top_builddir@ |
abs_top_srcdir = @abs_top_srcdir@ |
ac_ct_AR = @ac_ct_AR@ |
ac_ct_CC = @ac_ct_CC@ |
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ |
am__include = @am__include@ |
212,7 → 215,6
libexecdir = @libexecdir@ |
localedir = @localedir@ |
localstatedir = @localstatedir@ |
lt_ECHO = @lt_ECHO@ |
mandir = @mandir@ |
mkdir_p = @mkdir_p@ |
oldincludedir = @oldincludedir@ |
/test-code-or1k/except-test/Makefile.in
140,6 → 140,7
CYGPATH_W = @CYGPATH_W@ |
DEFS = @DEFS@ |
DEPDIR = @DEPDIR@ |
DLLTOOL = @DLLTOOL@ |
DSYMUTIL = @DSYMUTIL@ |
DUMPBIN = @DUMPBIN@ |
ECHO_C = @ECHO_C@ |
163,6 → 164,7
LN_S = @LN_S@ |
LTLIBOBJS = @LTLIBOBJS@ |
MAKEINFO = @MAKEINFO@ |
MANIFEST_TOOL = @MANIFEST_TOOL@ |
MKDIR_P = @MKDIR_P@ |
NM = @NM@ |
NMEDIT = @NMEDIT@ |
189,6 → 191,7
abs_srcdir = @abs_srcdir@ |
abs_top_builddir = @abs_top_builddir@ |
abs_top_srcdir = @abs_top_srcdir@ |
ac_ct_AR = @ac_ct_AR@ |
ac_ct_CC = @ac_ct_CC@ |
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ |
am__include = @am__include@ |
221,7 → 224,6
libexecdir = @libexecdir@ |
localedir = @localedir@ |
localstatedir = @localstatedir@ |
lt_ECHO = @lt_ECHO@ |
mandir = @mandir@ |
mkdir_p = @mkdir_p@ |
oldincludedir = @oldincludedir@ |
/test-code-or1k/acv-gpio/Makefile.in
133,6 → 133,7
CYGPATH_W = @CYGPATH_W@ |
DEFS = @DEFS@ |
DEPDIR = @DEPDIR@ |
DLLTOOL = @DLLTOOL@ |
DSYMUTIL = @DSYMUTIL@ |
DUMPBIN = @DUMPBIN@ |
ECHO_C = @ECHO_C@ |
156,6 → 157,7
LN_S = @LN_S@ |
LTLIBOBJS = @LTLIBOBJS@ |
MAKEINFO = @MAKEINFO@ |
MANIFEST_TOOL = @MANIFEST_TOOL@ |
MKDIR_P = @MKDIR_P@ |
NM = @NM@ |
NMEDIT = @NMEDIT@ |
182,6 → 184,7
abs_srcdir = @abs_srcdir@ |
abs_top_builddir = @abs_top_builddir@ |
abs_top_srcdir = @abs_top_srcdir@ |
ac_ct_AR = @ac_ct_AR@ |
ac_ct_CC = @ac_ct_CC@ |
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ |
am__include = @am__include@ |
214,7 → 217,6
libexecdir = @libexecdir@ |
localedir = @localedir@ |
localstatedir = @localstatedir@ |
lt_ECHO = @lt_ECHO@ |
mandir = @mandir@ |
mkdir_p = @mkdir_p@ |
oldincludedir = @oldincludedir@ |
/test-code-or1k/dhry/Makefile.in
131,6 → 131,7
CYGPATH_W = @CYGPATH_W@ |
DEFS = @DEFS@ |
DEPDIR = @DEPDIR@ |
DLLTOOL = @DLLTOOL@ |
DSYMUTIL = @DSYMUTIL@ |
DUMPBIN = @DUMPBIN@ |
ECHO_C = @ECHO_C@ |
154,6 → 155,7
LN_S = @LN_S@ |
LTLIBOBJS = @LTLIBOBJS@ |
MAKEINFO = @MAKEINFO@ |
MANIFEST_TOOL = @MANIFEST_TOOL@ |
MKDIR_P = @MKDIR_P@ |
NM = @NM@ |
NMEDIT = @NMEDIT@ |
180,6 → 182,7
abs_srcdir = @abs_srcdir@ |
abs_top_builddir = @abs_top_builddir@ |
abs_top_srcdir = @abs_top_srcdir@ |
ac_ct_AR = @ac_ct_AR@ |
ac_ct_CC = @ac_ct_CC@ |
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ |
am__include = @am__include@ |
212,7 → 215,6
libexecdir = @libexecdir@ |
localedir = @localedir@ |
localstatedir = @localstatedir@ |
lt_ECHO = @lt_ECHO@ |
mandir = @mandir@ |
mkdir_p = @mkdir_p@ |
oldincludedir = @oldincludedir@ |
/test-code-or1k/uos/Makefile.in
143,6 → 143,7
CYGPATH_W = @CYGPATH_W@ |
DEFS = @DEFS@ |
DEPDIR = @DEPDIR@ |
DLLTOOL = @DLLTOOL@ |
DSYMUTIL = @DSYMUTIL@ |
DUMPBIN = @DUMPBIN@ |
ECHO_C = @ECHO_C@ |
166,6 → 167,7
LN_S = @LN_S@ |
LTLIBOBJS = @LTLIBOBJS@ |
MAKEINFO = @MAKEINFO@ |
MANIFEST_TOOL = @MANIFEST_TOOL@ |
MKDIR_P = @MKDIR_P@ |
NM = @NM@ |
NMEDIT = @NMEDIT@ |
192,6 → 194,7
abs_srcdir = @abs_srcdir@ |
abs_top_builddir = @abs_top_builddir@ |
abs_top_srcdir = @abs_top_srcdir@ |
ac_ct_AR = @ac_ct_AR@ |
ac_ct_CC = @ac_ct_CC@ |
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ |
am__include = @am__include@ |
224,7 → 227,6
libexecdir = @libexecdir@ |
localedir = @localedir@ |
localstatedir = @localstatedir@ |
lt_ECHO = @lt_ECHO@ |
mandir = @mandir@ |
mkdir_p = @mkdir_p@ |
oldincludedir = @oldincludedir@ |
/test-code-or1k/int-test/Makefile.in
140,6 → 140,7
CYGPATH_W = @CYGPATH_W@ |
DEFS = @DEFS@ |
DEPDIR = @DEPDIR@ |
DLLTOOL = @DLLTOOL@ |
DSYMUTIL = @DSYMUTIL@ |
DUMPBIN = @DUMPBIN@ |
ECHO_C = @ECHO_C@ |
163,6 → 164,7
LN_S = @LN_S@ |
LTLIBOBJS = @LTLIBOBJS@ |
MAKEINFO = @MAKEINFO@ |
MANIFEST_TOOL = @MANIFEST_TOOL@ |
MKDIR_P = @MKDIR_P@ |
NM = @NM@ |
NMEDIT = @NMEDIT@ |
189,6 → 191,7
abs_srcdir = @abs_srcdir@ |
abs_top_builddir = @abs_top_builddir@ |
abs_top_srcdir = @abs_top_srcdir@ |
ac_ct_AR = @ac_ct_AR@ |
ac_ct_CC = @ac_ct_CC@ |
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ |
am__include = @am__include@ |
221,7 → 224,6
libexecdir = @libexecdir@ |
localedir = @localedir@ |
localstatedir = @localstatedir@ |
lt_ECHO = @lt_ECHO@ |
mandir = @mandir@ |
mkdir_p = @mkdir_p@ |
oldincludedir = @oldincludedir@ |
/test-code-or1k/flag/Makefile.in
140,6 → 140,7
CYGPATH_W = @CYGPATH_W@ |
DEFS = @DEFS@ |
DEPDIR = @DEPDIR@ |
DLLTOOL = @DLLTOOL@ |
DSYMUTIL = @DSYMUTIL@ |
DUMPBIN = @DUMPBIN@ |
ECHO_C = @ECHO_C@ |
163,6 → 164,7
LN_S = @LN_S@ |
LTLIBOBJS = @LTLIBOBJS@ |
MAKEINFO = @MAKEINFO@ |
MANIFEST_TOOL = @MANIFEST_TOOL@ |
MKDIR_P = @MKDIR_P@ |
NM = @NM@ |
NMEDIT = @NMEDIT@ |
189,6 → 191,7
abs_srcdir = @abs_srcdir@ |
abs_top_builddir = @abs_top_builddir@ |
abs_top_srcdir = @abs_top_srcdir@ |
ac_ct_AR = @ac_ct_AR@ |
ac_ct_CC = @ac_ct_CC@ |
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ |
am__include = @am__include@ |
221,7 → 224,6
libexecdir = @libexecdir@ |
localedir = @localedir@ |
localstatedir = @localstatedir@ |
lt_ECHO = @lt_ECHO@ |
mandir = @mandir@ |
mkdir_p = @mkdir_p@ |
oldincludedir = @oldincludedir@ |
/test-code-or1k/exit/Makefile.in
131,6 → 131,7
CYGPATH_W = @CYGPATH_W@ |
DEFS = @DEFS@ |
DEPDIR = @DEPDIR@ |
DLLTOOL = @DLLTOOL@ |
DSYMUTIL = @DSYMUTIL@ |
DUMPBIN = @DUMPBIN@ |
ECHO_C = @ECHO_C@ |
154,6 → 155,7
LN_S = @LN_S@ |
LTLIBOBJS = @LTLIBOBJS@ |
MAKEINFO = @MAKEINFO@ |
MANIFEST_TOOL = @MANIFEST_TOOL@ |
MKDIR_P = @MKDIR_P@ |
NM = @NM@ |
NMEDIT = @NMEDIT@ |
180,6 → 182,7
abs_srcdir = @abs_srcdir@ |
abs_top_builddir = @abs_top_builddir@ |
abs_top_srcdir = @abs_top_srcdir@ |
ac_ct_AR = @ac_ct_AR@ |
ac_ct_CC = @ac_ct_CC@ |
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ |
am__include = @am__include@ |
212,7 → 215,6
libexecdir = @libexecdir@ |
localedir = @localedir@ |
localstatedir = @localstatedir@ |
lt_ECHO = @lt_ECHO@ |
mandir = @mandir@ |
mkdir_p = @mkdir_p@ |
oldincludedir = @oldincludedir@ |
/test-code-or1k/mc-sync/Makefile.in
132,6 → 132,7
CYGPATH_W = @CYGPATH_W@ |
DEFS = @DEFS@ |
DEPDIR = @DEPDIR@ |
DLLTOOL = @DLLTOOL@ |
DSYMUTIL = @DSYMUTIL@ |
DUMPBIN = @DUMPBIN@ |
ECHO_C = @ECHO_C@ |
155,6 → 156,7
LN_S = @LN_S@ |
LTLIBOBJS = @LTLIBOBJS@ |
MAKEINFO = @MAKEINFO@ |
MANIFEST_TOOL = @MANIFEST_TOOL@ |
MKDIR_P = @MKDIR_P@ |
NM = @NM@ |
NMEDIT = @NMEDIT@ |
181,6 → 183,7
abs_srcdir = @abs_srcdir@ |
abs_top_builddir = @abs_top_builddir@ |
abs_top_srcdir = @abs_top_srcdir@ |
ac_ct_AR = @ac_ct_AR@ |
ac_ct_CC = @ac_ct_CC@ |
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ |
am__include = @am__include@ |
213,7 → 216,6
libexecdir = @libexecdir@ |
localedir = @localedir@ |
localstatedir = @localstatedir@ |
lt_ECHO = @lt_ECHO@ |
mandir = @mandir@ |
mkdir_p = @mkdir_p@ |
oldincludedir = @oldincludedir@ |
/test-code-or1k/mc-async/Makefile.in
132,6 → 132,7
CYGPATH_W = @CYGPATH_W@ |
DEFS = @DEFS@ |
DEPDIR = @DEPDIR@ |
DLLTOOL = @DLLTOOL@ |
DSYMUTIL = @DSYMUTIL@ |
DUMPBIN = @DUMPBIN@ |
ECHO_C = @ECHO_C@ |
155,6 → 156,7
LN_S = @LN_S@ |
LTLIBOBJS = @LTLIBOBJS@ |
MAKEINFO = @MAKEINFO@ |
MANIFEST_TOOL = @MANIFEST_TOOL@ |
MKDIR_P = @MKDIR_P@ |
NM = @NM@ |
NMEDIT = @NMEDIT@ |
181,6 → 183,7
abs_srcdir = @abs_srcdir@ |
abs_top_builddir = @abs_top_builddir@ |
abs_top_srcdir = @abs_top_srcdir@ |
ac_ct_AR = @ac_ct_AR@ |
ac_ct_CC = @ac_ct_CC@ |
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ |
am__include = @am__include@ |
213,7 → 216,6
libexecdir = @libexecdir@ |
localedir = @localedir@ |
localstatedir = @localstatedir@ |
lt_ECHO = @lt_ECHO@ |
mandir = @mandir@ |
mkdir_p = @mkdir_p@ |
oldincludedir = @oldincludedir@ |
/test-code-or1k/support/Makefile.in
128,6 → 128,7
CYGPATH_W = @CYGPATH_W@ |
DEFS = @DEFS@ |
DEPDIR = @DEPDIR@ |
DLLTOOL = @DLLTOOL@ |
DSYMUTIL = @DSYMUTIL@ |
DUMPBIN = @DUMPBIN@ |
ECHO_C = @ECHO_C@ |
151,6 → 152,7
LN_S = @LN_S@ |
LTLIBOBJS = @LTLIBOBJS@ |
MAKEINFO = @MAKEINFO@ |
MANIFEST_TOOL = @MANIFEST_TOOL@ |
MKDIR_P = @MKDIR_P@ |
NM = @NM@ |
NMEDIT = @NMEDIT@ |
177,6 → 179,7
abs_srcdir = @abs_srcdir@ |
abs_top_builddir = @abs_top_builddir@ |
abs_top_srcdir = @abs_top_srcdir@ |
ac_ct_AR = @ac_ct_AR@ |
ac_ct_CC = @ac_ct_CC@ |
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ |
am__include = @am__include@ |
209,7 → 212,6
libexecdir = @libexecdir@ |
localedir = @localedir@ |
localstatedir = @localstatedir@ |
lt_ECHO = @lt_ECHO@ |
mandir = @mandir@ |
mkdir_p = @mkdir_p@ |
oldincludedir = @oldincludedir@ |
/test-code-or1k/aclocal.m4
19,105 → 19,6
If you have problems, you may need to regenerate the build system entirely. |
To do so, use the procedure documented by the package, typically `autoreconf'.])]) |
|
# lt~obsolete.m4 -- aclocal satisfying obsolete definitions. -*-Autoconf-*- |
# |
# Copyright (C) 2004, 2005, 2007, 2009 Free Software Foundation, Inc. |
# Written by Scott James Remnant, 2004. |
# |
# This file is free software; the Free Software Foundation gives |
# unlimited permission to copy and/or distribute it, with or without |
# modifications, as long as this notice is preserved. |
|
# serial 5 lt~obsolete.m4 |
|
# These exist entirely to fool aclocal when bootstrapping libtool. |
# |
# In the past libtool.m4 has provided macros via AC_DEFUN (or AU_DEFUN) |
# which have later been changed to m4_define as they aren't part of the |
# exported API, or moved to Autoconf or Automake where they belong. |
# |
# The trouble is, aclocal is a bit thick. It'll see the old AC_DEFUN |
# in /usr/share/aclocal/libtool.m4 and remember it, then when it sees us |
# using a macro with the same name in our local m4/libtool.m4 it'll |
# pull the old libtool.m4 in (it doesn't see our shiny new m4_define |
# and doesn't know about Autoconf macros at all.) |
# |
# So we provide this file, which has a silly filename so it's always |
# included after everything else. This provides aclocal with the |
# AC_DEFUNs it wants, but when m4 processes it, it doesn't do anything |
# because those macros already exist, or will be overwritten later. |
# We use AC_DEFUN over AU_DEFUN for compatibility with aclocal-1.6. |
# |
# Anytime we withdraw an AC_DEFUN or AU_DEFUN, remember to add it here. |
# Yes, that means every name once taken will need to remain here until |
# we give up compatibility with versions before 1.7, at which point |
# we need to keep only those names which we still refer to. |
|
# This is to help aclocal find these macros, as it can't see m4_define. |
AC_DEFUN([LTOBSOLETE_VERSION], [m4_if([1])]) |
|
m4_ifndef([AC_LIBTOOL_LINKER_OPTION], [AC_DEFUN([AC_LIBTOOL_LINKER_OPTION])]) |
m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC_PROG_EGREP])]) |
m4_ifndef([_LT_AC_PROG_ECHO_BACKSLASH], [AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH])]) |
m4_ifndef([_LT_AC_SHELL_INIT], [AC_DEFUN([_LT_AC_SHELL_INIT])]) |
m4_ifndef([_LT_AC_SYS_LIBPATH_AIX], [AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX])]) |
m4_ifndef([_LT_PROG_LTMAIN], [AC_DEFUN([_LT_PROG_LTMAIN])]) |
m4_ifndef([_LT_AC_TAGVAR], [AC_DEFUN([_LT_AC_TAGVAR])]) |
m4_ifndef([AC_LTDL_ENABLE_INSTALL], [AC_DEFUN([AC_LTDL_ENABLE_INSTALL])]) |
m4_ifndef([AC_LTDL_PREOPEN], [AC_DEFUN([AC_LTDL_PREOPEN])]) |
m4_ifndef([_LT_AC_SYS_COMPILER], [AC_DEFUN([_LT_AC_SYS_COMPILER])]) |
m4_ifndef([_LT_AC_LOCK], [AC_DEFUN([_LT_AC_LOCK])]) |
m4_ifndef([AC_LIBTOOL_SYS_OLD_ARCHIVE], [AC_DEFUN([AC_LIBTOOL_SYS_OLD_ARCHIVE])]) |
m4_ifndef([_LT_AC_TRY_DLOPEN_SELF], [AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF])]) |
m4_ifndef([AC_LIBTOOL_PROG_CC_C_O], [AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O])]) |
m4_ifndef([AC_LIBTOOL_SYS_HARD_LINK_LOCKS], [AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS])]) |
m4_ifndef([AC_LIBTOOL_OBJDIR], [AC_DEFUN([AC_LIBTOOL_OBJDIR])]) |
m4_ifndef([AC_LTDL_OBJDIR], [AC_DEFUN([AC_LTDL_OBJDIR])]) |
m4_ifndef([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH], [AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH])]) |
m4_ifndef([AC_LIBTOOL_SYS_LIB_STRIP], [AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP])]) |
m4_ifndef([AC_PATH_MAGIC], [AC_DEFUN([AC_PATH_MAGIC])]) |
m4_ifndef([AC_PROG_LD_GNU], [AC_DEFUN([AC_PROG_LD_GNU])]) |
m4_ifndef([AC_PROG_LD_RELOAD_FLAG], [AC_DEFUN([AC_PROG_LD_RELOAD_FLAG])]) |
m4_ifndef([AC_DEPLIBS_CHECK_METHOD], [AC_DEFUN([AC_DEPLIBS_CHECK_METHOD])]) |
m4_ifndef([AC_LIBTOOL_PROG_COMPILER_NO_RTTI], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI])]) |
m4_ifndef([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE], [AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE])]) |
m4_ifndef([AC_LIBTOOL_PROG_COMPILER_PIC], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC])]) |
m4_ifndef([AC_LIBTOOL_PROG_LD_SHLIBS], [AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS])]) |
m4_ifndef([AC_LIBTOOL_POSTDEP_PREDEP], [AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP])]) |
m4_ifndef([LT_AC_PROG_EGREP], [AC_DEFUN([LT_AC_PROG_EGREP])]) |
m4_ifndef([LT_AC_PROG_SED], [AC_DEFUN([LT_AC_PROG_SED])]) |
m4_ifndef([_LT_CC_BASENAME], [AC_DEFUN([_LT_CC_BASENAME])]) |
m4_ifndef([_LT_COMPILER_BOILERPLATE], [AC_DEFUN([_LT_COMPILER_BOILERPLATE])]) |
m4_ifndef([_LT_LINKER_BOILERPLATE], [AC_DEFUN([_LT_LINKER_BOILERPLATE])]) |
m4_ifndef([_AC_PROG_LIBTOOL], [AC_DEFUN([_AC_PROG_LIBTOOL])]) |
m4_ifndef([AC_LIBTOOL_SETUP], [AC_DEFUN([AC_LIBTOOL_SETUP])]) |
m4_ifndef([_LT_AC_CHECK_DLFCN], [AC_DEFUN([_LT_AC_CHECK_DLFCN])]) |
m4_ifndef([AC_LIBTOOL_SYS_DYNAMIC_LINKER], [AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER])]) |
m4_ifndef([_LT_AC_TAGCONFIG], [AC_DEFUN([_LT_AC_TAGCONFIG])]) |
m4_ifndef([AC_DISABLE_FAST_INSTALL], [AC_DEFUN([AC_DISABLE_FAST_INSTALL])]) |
m4_ifndef([_LT_AC_LANG_CXX], [AC_DEFUN([_LT_AC_LANG_CXX])]) |
m4_ifndef([_LT_AC_LANG_F77], [AC_DEFUN([_LT_AC_LANG_F77])]) |
m4_ifndef([_LT_AC_LANG_GCJ], [AC_DEFUN([_LT_AC_LANG_GCJ])]) |
m4_ifndef([AC_LIBTOOL_LANG_C_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG])]) |
m4_ifndef([_LT_AC_LANG_C_CONFIG], [AC_DEFUN([_LT_AC_LANG_C_CONFIG])]) |
m4_ifndef([AC_LIBTOOL_LANG_CXX_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG])]) |
m4_ifndef([_LT_AC_LANG_CXX_CONFIG], [AC_DEFUN([_LT_AC_LANG_CXX_CONFIG])]) |
m4_ifndef([AC_LIBTOOL_LANG_F77_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG])]) |
m4_ifndef([_LT_AC_LANG_F77_CONFIG], [AC_DEFUN([_LT_AC_LANG_F77_CONFIG])]) |
m4_ifndef([AC_LIBTOOL_LANG_GCJ_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG])]) |
m4_ifndef([_LT_AC_LANG_GCJ_CONFIG], [AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG])]) |
m4_ifndef([AC_LIBTOOL_LANG_RC_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG])]) |
m4_ifndef([_LT_AC_LANG_RC_CONFIG], [AC_DEFUN([_LT_AC_LANG_RC_CONFIG])]) |
m4_ifndef([AC_LIBTOOL_CONFIG], [AC_DEFUN([AC_LIBTOOL_CONFIG])]) |
m4_ifndef([_LT_AC_FILE_LTDLL_C], [AC_DEFUN([_LT_AC_FILE_LTDLL_C])]) |
m4_ifndef([_LT_REQUIRED_DARWIN_CHECKS], [AC_DEFUN([_LT_REQUIRED_DARWIN_CHECKS])]) |
m4_ifndef([_LT_AC_PROG_CXXCPP], [AC_DEFUN([_LT_AC_PROG_CXXCPP])]) |
m4_ifndef([_LT_PREPARE_SED_QUOTE_VARS], [AC_DEFUN([_LT_PREPARE_SED_QUOTE_VARS])]) |
m4_ifndef([_LT_PROG_ECHO_BACKSLASH], [AC_DEFUN([_LT_PROG_ECHO_BACKSLASH])]) |
m4_ifndef([_LT_PROG_F77], [AC_DEFUN([_LT_PROG_F77])]) |
m4_ifndef([_LT_PROG_FC], [AC_DEFUN([_LT_PROG_FC])]) |
m4_ifndef([_LT_PROG_CXX], [AC_DEFUN([_LT_PROG_CXX])]) |
|
# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. |
# |
# This file is free software; the Free Software Foundation |
/Makefile.in
151,6 → 151,7
DEFS = @DEFS@ |
DEJAGNU = @DEJAGNU@ |
DEPDIR = @DEPDIR@ |
DLLTOOL = @DLLTOOL@ |
DSYMUTIL = @DSYMUTIL@ |
DUMPBIN = @DUMPBIN@ |
ECHO_C = @ECHO_C@ |
178,6 → 179,7
LOCAL_LDFLAGS = @LOCAL_LDFLAGS@ |
LTLIBOBJS = @LTLIBOBJS@ |
MAKEINFO = @MAKEINFO@ |
MANIFEST_TOOL = @MANIFEST_TOOL@ |
MKDIR_P = @MKDIR_P@ |
NM = @NM@ |
NMEDIT = @NMEDIT@ |
207,6 → 209,7
abs_srcdir = @abs_srcdir@ |
abs_top_builddir = @abs_top_builddir@ |
abs_top_srcdir = @abs_top_srcdir@ |
ac_ct_AR = @ac_ct_AR@ |
ac_ct_CC = @ac_ct_CC@ |
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ |
am__include = @am__include@ |
239,7 → 242,6
libexecdir = @libexecdir@ |
localedir = @localedir@ |
localstatedir = @localstatedir@ |
lt_ECHO = @lt_ECHO@ |
mandir = @mandir@ |
mkdir_p = @mkdir_p@ |
oldincludedir = @oldincludedir@ |
274,6 → 276,10
|
# Setup for DejaGNU |
AUTOMAKE_OPTIONS = dejagnu |
|
# Without the "--status" flag, TCL syntax or runtime errors yield a zero exit |
# code, which is then taken as an indication of success (!). |
AM_RUNTESTFLAGS = --status |
DEJATOOL = libsim \ |
or1ksim |
|
/config/Makefile.in
108,6 → 108,7
DEFS = @DEFS@ |
DEJAGNU = @DEJAGNU@ |
DEPDIR = @DEPDIR@ |
DLLTOOL = @DLLTOOL@ |
DSYMUTIL = @DSYMUTIL@ |
DUMPBIN = @DUMPBIN@ |
ECHO_C = @ECHO_C@ |
135,6 → 136,7
LOCAL_LDFLAGS = @LOCAL_LDFLAGS@ |
LTLIBOBJS = @LTLIBOBJS@ |
MAKEINFO = @MAKEINFO@ |
MANIFEST_TOOL = @MANIFEST_TOOL@ |
MKDIR_P = @MKDIR_P@ |
NM = @NM@ |
NMEDIT = @NMEDIT@ |
164,6 → 166,7
abs_srcdir = @abs_srcdir@ |
abs_top_builddir = @abs_top_builddir@ |
abs_top_srcdir = @abs_top_srcdir@ |
ac_ct_AR = @ac_ct_AR@ |
ac_ct_CC = @ac_ct_CC@ |
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ |
am__include = @am__include@ |
196,7 → 199,6
libexecdir = @libexecdir@ |
localedir = @localedir@ |
localstatedir = @localstatedir@ |
lt_ECHO = @lt_ECHO@ |
mandir = @mandir@ |
mkdir_p = @mkdir_p@ |
oldincludedir = @oldincludedir@ |
/lib/Makefile.in
108,6 → 108,7
DEFS = @DEFS@ |
DEJAGNU = @DEJAGNU@ |
DEPDIR = @DEPDIR@ |
DLLTOOL = @DLLTOOL@ |
DSYMUTIL = @DSYMUTIL@ |
DUMPBIN = @DUMPBIN@ |
ECHO_C = @ECHO_C@ |
135,6 → 136,7
LOCAL_LDFLAGS = @LOCAL_LDFLAGS@ |
LTLIBOBJS = @LTLIBOBJS@ |
MAKEINFO = @MAKEINFO@ |
MANIFEST_TOOL = @MANIFEST_TOOL@ |
MKDIR_P = @MKDIR_P@ |
NM = @NM@ |
NMEDIT = @NMEDIT@ |
164,6 → 166,7
abs_srcdir = @abs_srcdir@ |
abs_top_builddir = @abs_top_builddir@ |
abs_top_srcdir = @abs_top_srcdir@ |
ac_ct_AR = @ac_ct_AR@ |
ac_ct_CC = @ac_ct_CC@ |
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ |
am__include = @am__include@ |
196,7 → 199,6
libexecdir = @libexecdir@ |
localedir = @localedir@ |
localstatedir = @localstatedir@ |
lt_ECHO = @lt_ECHO@ |
mandir = @mandir@ |
mkdir_p = @mkdir_p@ |
oldincludedir = @oldincludedir@ |
/or1ksim.tests/Makefile.in
108,6 → 108,7
DEFS = @DEFS@ |
DEJAGNU = @DEJAGNU@ |
DEPDIR = @DEPDIR@ |
DLLTOOL = @DLLTOOL@ |
DSYMUTIL = @DSYMUTIL@ |
DUMPBIN = @DUMPBIN@ |
ECHO_C = @ECHO_C@ |
135,6 → 136,7
LOCAL_LDFLAGS = @LOCAL_LDFLAGS@ |
LTLIBOBJS = @LTLIBOBJS@ |
MAKEINFO = @MAKEINFO@ |
MANIFEST_TOOL = @MANIFEST_TOOL@ |
MKDIR_P = @MKDIR_P@ |
NM = @NM@ |
NMEDIT = @NMEDIT@ |
164,6 → 166,7
abs_srcdir = @abs_srcdir@ |
abs_top_builddir = @abs_top_builddir@ |
abs_top_srcdir = @abs_top_srcdir@ |
ac_ct_AR = @ac_ct_AR@ |
ac_ct_CC = @ac_ct_CC@ |
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ |
am__include = @am__include@ |
196,7 → 199,6
libexecdir = @libexecdir@ |
localedir = @localedir@ |
localstatedir = @localstatedir@ |
lt_ECHO = @lt_ECHO@ |
mandir = @mandir@ |
mkdir_p = @mkdir_p@ |
oldincludedir = @oldincludedir@ |
/ChangeLog
1,3 → 1,10
2012-03-21 Jeremy Bennett <jeremy.bennett@embecosm.com> |
|
Patch from R Diez <rdiezmail-openrisc@yahoo.de> |
|
* Makefile.am: Add AM_RUNTESTFLAGS to trigger correct error |
behaviour. |
|
2011-08-15 Jeremy Bennett <jeremy.bennett@embecosm.com> |
|
* or1skim.tests/Makefile.am: Added pcu.cfg to EXTRA_DIST. |
104,7 → 111,7
|
* or1ksim.tests/eth.cfg: Ethernet section, commented out sockif setting, |
added dummy_crc set to false. |
|
|
2010-11-26 Jeremy Bennett <jeremy.bennett@embecosm.com> |
|
* libsim.tests/default.cfg: Updated Ethernet rtx_type parameter. |
/test-code/Makefile.in
147,6 → 147,7
DEFS = @DEFS@ |
DEJAGNU = @DEJAGNU@ |
DEPDIR = @DEPDIR@ |
DLLTOOL = @DLLTOOL@ |
DSYMUTIL = @DSYMUTIL@ |
DUMPBIN = @DUMPBIN@ |
ECHO_C = @ECHO_C@ |
174,6 → 175,7
LOCAL_LDFLAGS = @LOCAL_LDFLAGS@ |
LTLIBOBJS = @LTLIBOBJS@ |
MAKEINFO = @MAKEINFO@ |
MANIFEST_TOOL = @MANIFEST_TOOL@ |
MKDIR_P = @MKDIR_P@ |
NM = @NM@ |
NMEDIT = @NMEDIT@ |
203,6 → 205,7
abs_srcdir = @abs_srcdir@ |
abs_top_builddir = @abs_top_builddir@ |
abs_top_srcdir = @abs_top_srcdir@ |
ac_ct_AR = @ac_ct_AR@ |
ac_ct_CC = @ac_ct_CC@ |
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ |
am__include = @am__include@ |
235,7 → 238,6
libexecdir = @libexecdir@ |
localedir = @localedir@ |
localstatedir = @localstatedir@ |
lt_ECHO = @lt_ECHO@ |
mandir = @mandir@ |
mkdir_p = @mkdir_p@ |
oldincludedir = @oldincludedir@ |
/test-code/lib-iftest/Makefile.in
137,6 → 137,7
DEFS = @DEFS@ |
DEJAGNU = @DEJAGNU@ |
DEPDIR = @DEPDIR@ |
DLLTOOL = @DLLTOOL@ |
DSYMUTIL = @DSYMUTIL@ |
DUMPBIN = @DUMPBIN@ |
ECHO_C = @ECHO_C@ |
164,6 → 165,7
LOCAL_LDFLAGS = @LOCAL_LDFLAGS@ |
LTLIBOBJS = @LTLIBOBJS@ |
MAKEINFO = @MAKEINFO@ |
MANIFEST_TOOL = @MANIFEST_TOOL@ |
MKDIR_P = @MKDIR_P@ |
NM = @NM@ |
NMEDIT = @NMEDIT@ |
193,6 → 195,7
abs_srcdir = @abs_srcdir@ |
abs_top_builddir = @abs_top_builddir@ |
abs_top_srcdir = @abs_top_srcdir@ |
ac_ct_AR = @ac_ct_AR@ |
ac_ct_CC = @ac_ct_CC@ |
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ |
am__include = @am__include@ |
225,7 → 228,6
libexecdir = @libexecdir@ |
localedir = @localedir@ |
localstatedir = @localstatedir@ |
lt_ECHO = @lt_ECHO@ |
mandir = @mandir@ |
mkdir_p = @mkdir_p@ |
oldincludedir = @oldincludedir@ |
/test-code/lib-upcalls/Makefile.in
134,6 → 134,7
DEFS = @DEFS@ |
DEJAGNU = @DEJAGNU@ |
DEPDIR = @DEPDIR@ |
DLLTOOL = @DLLTOOL@ |
DSYMUTIL = @DSYMUTIL@ |
DUMPBIN = @DUMPBIN@ |
ECHO_C = @ECHO_C@ |
161,6 → 162,7
LOCAL_LDFLAGS = @LOCAL_LDFLAGS@ |
LTLIBOBJS = @LTLIBOBJS@ |
MAKEINFO = @MAKEINFO@ |
MANIFEST_TOOL = @MANIFEST_TOOL@ |
MKDIR_P = @MKDIR_P@ |
NM = @NM@ |
NMEDIT = @NMEDIT@ |
190,6 → 192,7
abs_srcdir = @abs_srcdir@ |
abs_top_builddir = @abs_top_builddir@ |
abs_top_srcdir = @abs_top_srcdir@ |
ac_ct_AR = @ac_ct_AR@ |
ac_ct_CC = @ac_ct_CC@ |
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ |
am__include = @am__include@ |
222,7 → 225,6
libexecdir = @libexecdir@ |
localedir = @localedir@ |
localstatedir = @localstatedir@ |
lt_ECHO = @lt_ECHO@ |
mandir = @mandir@ |
mkdir_p = @mkdir_p@ |
oldincludedir = @oldincludedir@ |
/test-code/lib-jtag/Makefile.in
137,6 → 137,7
DEFS = @DEFS@ |
DEJAGNU = @DEJAGNU@ |
DEPDIR = @DEPDIR@ |
DLLTOOL = @DLLTOOL@ |
DSYMUTIL = @DSYMUTIL@ |
DUMPBIN = @DUMPBIN@ |
ECHO_C = @ECHO_C@ |
164,6 → 165,7
LOCAL_LDFLAGS = @LOCAL_LDFLAGS@ |
LTLIBOBJS = @LTLIBOBJS@ |
MAKEINFO = @MAKEINFO@ |
MANIFEST_TOOL = @MANIFEST_TOOL@ |
MKDIR_P = @MKDIR_P@ |
NM = @NM@ |
NMEDIT = @NMEDIT@ |
193,6 → 195,7
abs_srcdir = @abs_srcdir@ |
abs_top_builddir = @abs_top_builddir@ |
abs_top_srcdir = @abs_top_srcdir@ |
ac_ct_AR = @ac_ct_AR@ |
ac_ct_CC = @ac_ct_CC@ |
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ |
am__include = @am__include@ |
225,7 → 228,6
libexecdir = @libexecdir@ |
localedir = @localedir@ |
localstatedir = @localstatedir@ |
lt_ECHO = @lt_ECHO@ |
mandir = @mandir@ |
mkdir_p = @mkdir_p@ |
oldincludedir = @oldincludedir@ |
/test-code/lib-inttest/Makefile.in
134,6 → 134,7
DEFS = @DEFS@ |
DEJAGNU = @DEJAGNU@ |
DEPDIR = @DEPDIR@ |
DLLTOOL = @DLLTOOL@ |
DSYMUTIL = @DSYMUTIL@ |
DUMPBIN = @DUMPBIN@ |
ECHO_C = @ECHO_C@ |
161,6 → 162,7
LOCAL_LDFLAGS = @LOCAL_LDFLAGS@ |
LTLIBOBJS = @LTLIBOBJS@ |
MAKEINFO = @MAKEINFO@ |
MANIFEST_TOOL = @MANIFEST_TOOL@ |
MKDIR_P = @MKDIR_P@ |
NM = @NM@ |
NMEDIT = @NMEDIT@ |
190,6 → 192,7
abs_srcdir = @abs_srcdir@ |
abs_top_builddir = @abs_top_builddir@ |
abs_top_srcdir = @abs_top_srcdir@ |
ac_ct_AR = @ac_ct_AR@ |
ac_ct_CC = @ac_ct_CC@ |
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ |
am__include = @am__include@ |
222,7 → 225,6
libexecdir = @libexecdir@ |
localedir = @localedir@ |
localstatedir = @localstatedir@ |
lt_ECHO = @lt_ECHO@ |
mandir = @mandir@ |
mkdir_p = @mkdir_p@ |
oldincludedir = @oldincludedir@ |
/Makefile.am
41,6 → 41,10
# Setup for DejaGNU |
AUTOMAKE_OPTIONS = dejagnu |
|
# Without the "--status" flag, TCL syntax or runtime errors yield a zero exit |
# code, which is then taken as an indication of success (!). |
AM_RUNTESTFLAGS = --status |
|
export DEJAGNU |
|
DEJATOOL = libsim \ |