Commit Graph

2672 Commits

Author SHA1 Message Date
Ralf Wildenhues
8b1c9b9190 * tests/stresstest.at: Use `allow_undefined_flag' instead of
host_os setting.
2005-10-11 06:23:29 +00:00
Gary V. Vaughan
76466c93ad * libltdl/m4/ltdl.m4 (_LT_ENABLE_INSTALL): Remove bogus extra
closing brackets.
2005-10-10 17:28:58 +00:00
Gary V. Vaughan
db78393b63 * libltdl/m4/ltdl.m4 (LTDL_CONVENIENCE, LTDL_INSTALLABLE): Remove
AC_SUBST of LIBLTDL, LTDLINCL, and all mention of INCLTDL.
(LT_WITH_LTDL): Due to order constraints between LTDL_CONVENIENCE,
LTDL_INSTALLABLE, LT_WITH_LTDL & LTDL_INIT, we can safely AC_SUBST
LIBLTDL and LTDLINCL here.  Also, remember to synch INCLTDL.
2005-10-10 17:20:10 +00:00
Ralf Wildenhues
e6f894bd1c * tests/stresstest.at [ aix3, beos, os2 ]: Always use
`-no-undefined'.
2005-10-10 16:25:09 +00:00
Christian Biesinger
3ce310b7b5 * libltdl/m4/libtool.m4 (_LT_LANG_CXX_CONFIG) [ beos ]:
Initial shared library support for C++.
2005-10-09 06:25:03 +00:00
Ralf Wildenhues
cefa1b074c * configure.ac (abs_top_builddir, abs_top_srcdir): always
substitute.
* Makefile.am (BUILDCHECK_ENVIRONMENT)
(INSTALLCHECK_ENVIRONMENT): New macros.  Set _lt_pkgdatadir,
LIBTOOL, LIBTOOLIZE accordingly, by using above, and
program_transform_name.
* tests/testsuite.at (TESTS_PREPARE): Do not set them anymore.
Set $unset.
(LT_AT_MAKE): Use to unset LIBTOOL and LIBTOOLIZE.
2005-10-07 08:52:10 +00:00
Gary V. Vaughan
37bff2141f * tests/subproject.at: Commit the right file this time. 2005-10-05 16:45:09 +00:00
Ralf Wildenhues
0b56662f5c * libltdl/m4/libtool.m4 (_LT_LANG_CXX_CONFIG): Fix m4 quoting
for lt_simple_link_test_code.
Reported by Nicolas Joly <njoly@pasteur.fr>.
2005-10-05 15:57:05 +00:00
Gary V. Vaughan
1b04e31422 * tests/subproject.at: Forgot to cvs add. 2005-10-05 15:04:50 +00:00
Gary V. Vaughan
c1b31f316c * tests/subproject.at: New tests for libltdl as a subproject with
its own configuration.
* tests/testsuite.at: Use it.
* Makefile.am (TESTSUITE_AT): Depend on it.
2005-10-05 15:02:54 +00:00
Ralf Wildenhues
0b2908f836 * Makefile.am: Simplify. Do not use abs_top_srcdir.
Reported by Gary V. Vaughan <gary@gnu.org>.
2005-10-05 14:33:02 +00:00
Gary V. Vaughan
e3ab6c9f4f * libltdl/m4/ltdl.m4 (_LT_CONFIG_LTDL_DIR): Spurious './' prefixes
upset BSD pmake, don't set lt_ltdl_dir in this case.
(LTDL_CONVENIENCE, LTDL_INSTALLABLE): Adjust.
2005-10-05 09:42:41 +00:00
Ralf Wildenhues
9086d5c9fa * Makefile.am (BUILDCHECK_ENVIRONMENT)
(INSTALLCHECK_ENVIRONMENT): New macros.
(check-local, installcheck-local): Use them.
* tests/testsuite.at (PREPARE_TESTS): Extract host_alias, ECHO.
Set configure_options appropriately.
(LT_AT_CONFIGURE, LT_AT_AUTORECONF, LT_AT_MAKE): New macros.
(LT_AT_BOOTSTRAP): Use them.
* tests/am-subdir.at, tests/early-libtool.at,
tests/old-m4-iface.at, tests/standalone.at: Likewise.
* tests/link-order.test: Do not extract ECHO any more.
2005-10-05 08:58:19 +00:00
Ralf Wildenhues
26ed90e060 * libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER): Require
AC_CANONICAL_HOST and _LT_DECL_SED.
2005-10-05 08:54:25 +00:00
Gary V. Vaughan
9f6099490a * libltdl/m4/ltdl.m4: Bump serial as we are changing the
interface.
(LT_CONFIG_LTDL_DIR): New macro to centralise setting the
subdirectory used for libltdl.
(LTDL_CONVENIENCE): Continue backwards compatibility support for
declaring the libltdl source subdirectory with an argument, but
defer to LT_CONFIG_LTDL_DIR.
(AC_LIBLTDL_CONVENIENCE): Adjust to upgrade to the new style.
(LTDL_INSTALLABLE, AC_LIBLTDL_INSTALLABLE): Ditto.
(LTDL_INIT): lt_ltdl_dir is set by LT_CONFIG_LTDL_DIR now, and
even `./' needs trailing slashes trimming!  If the user didn't
upgrade their configure.ac yet, call LT_CONFIG_LTDL_DIR for them.
* libtoolize.m4sh (func_scan_files): If --ltdl option is given
without a directory argument, use the value from
LT_CONFIG_LTDL_DIR; if the argument is given, and there is also a
value in LT_CONFIG_LTDL_DIR, ensure they are the same.
* libltdl/configure.ac: Use it.
* NEWS: Updated.
2005-10-03 15:45:47 +00:00
Ralf Wildenhues
96fe8ab8da * tests/old-m4-iface.at (Makefile.in): Do not reconfigure
libltdl directory.
2005-10-02 08:54:03 +00:00
Ralf Wildenhues
4ca867a96c * tests/deplibs-ident.at: New file with XFAIL test to expose
wrong multiple listing of a deplib on the command line.
* Makefile.am, tests/testsuite.at: Updated.
Reported by Brian Barrett <brbarret@open-mpi.org>.
2005-09-30 16:00:23 +00:00
Ralf Wildenhues
28a654e1c2 * tests/old-m4-iface.at: Define top_srcdir, work around current
ltdl.m4 bug.
2005-09-30 10:09:58 +00:00
Ralf Wildenhues
35f5001e2c * tests/old-m4-iface.at: Forgot to 'cvs add' this file. 2005-09-30 09:56:50 +00:00
Ralf Wildenhues
24bb783732 * libltdl/config/ltmain.m4sh (func_mode_link):
Fix wrong logic introduced in last commit.
2005-09-30 08:41:48 +00:00
Gary V. Vaughan
4732e6e6b0 * tests/libtoolize.at: Add a new test to catch a regression I
almost introduced with respect to copying macro files when
AC_CONFIG_MACRO_DIR is shared with libltdl subproject.
2005-09-30 01:13:38 +00:00
Gary V. Vaughan
2f89a87c91 * tests/old-m4-iface.at: Start of a new test series for m4
interface backwards compatibility.
* tests/testsuite.at: Use it.
(macrodir): Declare the location of uninstalled libtool m4 macros.
* Makefile.am (TESTSUITE_AT): Depend on it.
2005-09-30 00:46:52 +00:00
Tim Rice
9cea697ba3 * tests/early-libtool.at (Makefile.in): Set $(SHELL). 2005-09-29 18:00:06 +00:00
Peter Ekberg
96ce07aaa6 * libltdl/config/ltmain.m4sh (func_mode_link): Don't modify
user provided symbols file. Adjust removal of temporary files
and also remove temporary files used during symbols file
filtering.
2005-09-29 16:59:43 +00:00
Ralf Wildenhues
db7359dd32 * libtoolize.m4sh (func_included_files): Do not recurse
non-existent files.
2005-09-29 16:36:17 +00:00
Gary V. Vaughan
48266b26be * libtoolize.m4sh (func_scan_files): Support projects that have
upgraded libtool, but still use an old autoconf.  When the libtool
macros are not copied (because of missing ACLOCAL_AMFLAGS and
AC_CONFIG_MACRO_DIR ), point them at the libtoolize master tree
for files to manually copy into acinclude.m4 or aclocal.m4.
2005-09-27 13:09:20 +00:00
Gary V. Vaughan
014be8a112 * libltdl/lt_error.c (lt__last_error, lt__error_strings): The lt__
prefix is used to indicate internal symbols that are only exported
for use by other parts of libltdl.  These are now static, so...
(last_error, error_strings): ...renamed to this.  Changed all
callers.
2005-09-27 13:01:51 +00:00
Gary V. Vaughan
6db2a8ba58 * libltdl/ltdl.h (lt_dlmutex_register, lt_dlmutex_lock)
(lt_dlmutex_unlock, lt_dlmutex_seterror, lt_dlmutex_geterror)
(lt_dlmalloc, lt_dlrealloc, lt_dlfree): Remove deprecated APIs.
* doc/libtool.tex: Updated.
* NEWS: Updated.
2005-09-27 10:41:07 +00:00
Gary V. Vaughan
9d4089fbbb * libltdl/ltdl.c (lt_dlcaller_register): Renamed to avoid problems
with module visibilty when linked with programs written for the
old API.
(lt_dlinterface_register): New name.
* Makefile.am (VERSION_INFO): Bumped.
* doc/libtool.texi (User defined module data): Updated.
2005-09-27 10:03:51 +00:00
Tim Rice
121d473ead * tests/defs.m4sh, tests/testsuite.at (PREPARE_TESTS)
<AUTORECONF>: Allow variable override.
2005-09-27 06:48:22 +00:00
Ralf Wildenhues
edb1925ca2 * HACKING: Only update libltdl version info before release. 2005-09-26 12:21:53 +00:00
Tim Rice
846f197922 * configure.ac <AUTOM4TE>: Allow variable override. 2005-09-26 12:04:46 +00:00
Alan W. Irwin
d3d8151e28 * libltdl/config/ltmain.m4sh (func_win32_libid)
[ cygwin, mingw ]: Robustify sed script to determine
win32_libid_type.
(func_mode_link) [ mingw ]: Ignore `-lm'.
2005-09-25 07:35:58 +00:00
Peter Ekberg
5b25bb1115 * libltdl/libltdl/lt__private.h, libltdl/lt_error.c:
Don't export the lt__last_error and lt__error_strings
variables. Define lt__error_strings so that no relocations
are needed.
* libltdl/libltdl/lt__private.h (LT__STRERROR, LT__GETERROR)
(LT__SETERRORSTR): Adjust to not use the above variables,
instead use the following functions...
* libltdl/lt_error.c: (lt__error_string, lt__get_last_error)
(lt__set_last_error): Reimplement the functionality in
these functions instead.
* libltdl/libltdl/lt_error.h: Add LT_ERROR_LEN_MAX define for
max error string length.
(lt_dlerror_table): Append explicit nul terminators so that
compilers warn more reliably if the above define is too small.
2005-09-25 07:01:29 +00:00
Ralf Wildenhues
369dc0d1a9 * tests/link-order.at [ aix* ]: skip path syntax grep. 2005-09-23 16:48:14 +00:00
Peter Ekberg
0122010ceb * libltdl/m4/libtool.m4 (_LT_CMD_GLOBAL_SYMBOLS): Fix awk
script to be a single line so that the cache variable isn't
multiline.
2005-09-23 10:33:34 +00:00
Eric Blake
8f2721209f * libltdl/loaders/loadlibrary.c (vm_open): Silence gcc warnings.
[__CYGWIN__]: Include <sys/cygwin.h> for prototype.
2005-09-23 07:58:42 +00:00
Gary V. Vaughan
e728e151db * bootstrap: Don't clobber the working copy metadata in
./{arch}/libtool during bootstrap.
2005-09-22 13:42:05 +00:00
Peter Ekberg
86b15c9d24 * libltdl/config/ltmain.m4sh (func_mode_link): Filter
user supplied symfile to tag relevant symbols as data
symbols. Fixes segfault in stresstest.at on Cygwin and
makes the test pass.
2005-09-22 07:46:08 +00:00
Peter Ekberg
0278b137e1 * tests/link-order.test: Clean up the uninstalled libraries
before linking the test executables so that they don't pick
up the dlls from the current dir on Cygwin and MinGW.
2005-09-22 06:44:24 +00:00
Tim Rice
a95fd21401 * libltdl/m4/libtool.m4 (LT_PATH_NM, _LT_LINKER_SHLIBS)
(_LT_LANG_CXX_CONFIG, _LT_SYS_HIDDEN_LIBDEPS):
Add missing `;;' after case list.
2005-09-22 06:03:59 +00:00
Peter Ekberg
914ca45e9a * libltdl/m4/libtool.m4 (_LT_CMD_GLOBAL_SYMBOLS, _LT_COMPILER_PIC)
(_LT_LINKER_SHLIBS): Require _LT_TAG_COMPILER to make sure that
$compiler is assigned. Fixes crippled configure output.
2005-09-22 04:53:14 +00:00
Peter Ekberg
f8af770f96 * libltdl/m4/libtool.m4 (LT_PATH_NM): Fix autodetection of
dumpbin and also check for "link -dump -symbols" as a synonym
for "dumpbin -symbols".
2005-09-21 16:50:18 +00:00
Peter Ekberg
9eb92b0d31 * libltdl/config/ltmain.m4sh (func_mode_uninstall): Clean
up $dlname as well when cleaning a uninstalled libtool
library. Fixes -mode=clean on Cygwin and MinGW to actually
remove the dll when cleaning up an uninstalled library.
2005-09-21 12:32:43 +00:00
Peter Ekberg
a34da7bbd7 * libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS, _LT_LANG_CXX_CONFIG):
Split up --out-implib option for linker in separate args so that
the MSYS path translation can do its magic on the provided path
to the import library. Fixes problem in stresstest.at on MinGW.
2005-09-20 12:12:23 +00:00
Ralf Wildenhues
209a17208a * Makefile.am (ltdldatafiles): Fix installation order to match
dependency order.
(libltdl/Makefile.in): Use $(srcdir) for non-GNU make.
2005-09-18 22:08:14 +00:00
Ralf Wildenhues
815e595f9e * libltdl/config/ltmain.m4sh (func_mode_link): Allow some
ARM gcc ABI flags through.
Reported by Andrés Moré <more.andres@gmail.com>.
2005-09-17 07:38:28 +00:00
Ralf Wildenhues
712d8c54bd * Makefile.am (all-local): Rebuild libltdl/Makefile.in. 2005-09-17 07:31:39 +00:00
Ralf Wildenhues
609c71cc50 * libltdl/m4/ltdl.m4 (LTDL_INIT) <CONFIG_H>: Rename to..
<LT_CONFIG_H>: this, to contain the name of the config
header.
* Makefile.am <DEFS>: Use it to define LT_CONFIG_H.
* HACKING, libltdl/argz.c, libltdl/lt__alloc.c,
libltdl/libltdl/lt__dirent.h, libltdl/libltdl/lt__glibc.h,
libltdl/libltdl/lt__private.h, libltdl/libltdl/lt__strl.h:
Adjusted.
2005-09-17 07:29:03 +00:00
Peter Ekberg
38599480fc * tests/testsuite.at (LT_AT_EXEC_CHECK): Make sure
that the exit status of the tested program is
propagated as the exit status of the expression
fed to AT_CHECK.
2005-09-16 08:33:24 +00:00