Commit Graph

2708 Commits

Author SHA1 Message Date
Ralf Wildenhues
580906de04 * Makefile.am: `2>&1' as suggested by Albert Chin.
* libltdl/m4/libtool.m4, libltdl/m4/ltdl.m4:
Two newlines before each macro, fix underlines.
2005-11-06 11:37:25 +00:00
Kean Johnston
f750a60289 * libltdl/config/ltmain.m4sh (func_mode_link) [*-*-sco3.2v5*]:
Don't pass through -lc, nor add it to deplibs.
[*-*-sysv5*]: Ditto.
[*-*-openbsd*, *-*-freebsd*, *-*-dragonfly*]: Remove bogus
`$arg'.
2005-11-05 11:19:53 +00:00
Ralf Wildenhues
6352e6effa * THANKS: Updated. 2005-11-04 16:45:52 +00:00
Gary V. Vaughan
3bbc1ae280 forgot cvs add 2005-11-02 17:45:59 +00:00
Gary V. Vaughan
0c25422a6c * tests/nonrecursive.at: New tests for libltdl as a subdirectory,
configured and compiled from the toplevel project.
* tests/testsuite.at: Use it.
(LT_AT_AUTOHEADER): New macro.
* Makefile.am (TESTSUITE_AT): Depend on nonrecursive.at.
2005-11-02 17:43:51 +00:00
Ralf Wildenhues
6ece64c09f * libltdl/m4/libtool.m4 (_LT_ENABLE_LOCK) [ solaris ]: Add `-64'
to $LD if necessary, to permit combining of several convenience
libs without any further objects added.
Reported by Brian Barrett <brbarret@open-mpi.org>.
2005-11-01 16:24:10 +00:00
Kean Johnston
41520bf0e0 * libltdl/m4/libtool.m4 (LT_SYS_DLOPEN_SELF): Use
`lt_prog_compile_static', not `link_static_flag'.  Expand `$wl'
so expansion of `export_dynamic_flag_spec' works.
(_LT_TRY_DLOPEN_SELF): Show dlerror() in case of failure.
(_LT_LINKER_SHLIBS) [ aix3 ]: Likewise.
(_LT_COMPILER_PIC) [ hpux* ]: Use `${wl}'.
2005-11-01 16:08:48 +00:00
Ralf Wildenhues
71899651a3 * THANKS: Updated. 2005-11-01 15:57:16 +00:00
Gary V. Vaughan
e8c879bb97 * libltdl/m4/ltdl.m4 (LTDL_INIT): Call _LT_ENABLE_INSTALL directly
instead of m4_requiring it, as it relies on enable_ltdl_install
and enable_ltdl_convenience to have been initialised first.
2005-11-01 14:32:18 +00:00
Gary V. Vaughan
c215fede13 * libtoolize.m4sh: Use serial tags to locate the correct serial
numbers when deciding whether to update.
(func_serial): Allow for macro_regex argument to be originating
file name.
(func_serial_update): Use NL2SP to flatten list of extracted
m4_include files.
* tests/libtoolize.at: More tests for old-style verbatim copying
of macros into aclocal.m4.
2005-11-01 14:28:20 +00:00
Gary V. Vaughan
d89d82ff6c * libltdl/m4/argz.m4, libltdl/m4/ltoptions.m4, libltdl/ltsugar.m4,
libltdl/m4/ltversion.in: Add serial number tags, and bump serial
number.
2005-11-01 14:26:38 +00:00
Kean Johnston
2fa760964e * libltdl/m4/libtool.m4 (LT_CMD_MAX_LEN): Set correctly for SCO. 2005-10-31 18:53:39 +00:00
Kean Johnston
4a312c762f * libltdl/m4/libtool.m4 (_LT_CMD_GLOBAL_SYMBOLS): Set correct
symcode values for the native nm on SCO platforms.
2005-10-31 09:58:38 +00:00
Kean Johnston
00ede62b4c * libltdl/m4/ltdl.m4 (LT_SYS_DLOPEN_DEPLIBS): All SCO platforms
open dependency libraries when you dlopen a module.
2005-10-31 09:44:28 +00:00
Albert Chin-A-Young
0f34a7c48e * libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS, _LT_LANG_CXX_CONFIG)
[ aix ]: Remove duplicate always_export_symbols=yes for AIX.
2005-10-31 08:37:26 +00:00
Howard Chu
01f0aa7662 * libltdl/config/ltmain.m4sh (func_mode_link):
With `-static', only link statically against uninstalled
libtool libraries.  Fixes 1.5.x regression to match documented
behavior.
* NEWS: Updated.
2005-10-29 14:21:02 +00:00
Stepan Kasal
6e177b3087 * HACKING: Update note about use of `$#' in m4 macros. 2005-10-27 13:34:07 +00:00
Ralf Wildenhues
60f1724476 * tests/tagtrace.test: Allow `$AUTOCONF' to contain arguments.
Skip if the running `autoconf' version is older than the one
used to bootstrap Libtool.
2005-10-27 13:17:05 +00:00
Eric Blake
a95ceab95a * Makefile.am (vcl-tmp): Avoid warnings from diff.
* bootstrap: Avoid warnings from find.
(lt_tab): Use to prevent editor whitespace "cleanup".
2005-10-26 14:26:35 +00:00
Gary V. Vaughan
59dc86631d * libtoolize.m4sh: Put back the func_serial_update callback for
func_copy_some_files so that the testsuite passes again.  We'll
have to find a better way of handling serial numbers in libtool
macro files.
2005-10-26 14:21:01 +00:00
Gary V. Vaughan
e1454ec7b4 * libltdl/Makefile.inc: New file, factored out of Makefile.am for
use in non-recursive libltdl installations.
* bootstrap: Adjust.
* Makefile.am: include it.
(libltdl/Makefile.am): Adjust to build from the new
libltdl/Makefile.inc.
(SUBDIR_LIBOBJS): Renamed from this...
(LTDL_SUBDIR_LIBOBJS): ...to this.
* configure.ac: Adjust.
* doc/libtool.texi (Invoking libtoolize): Document the new modes
and libtoolize option to select them.
* libtoolize.m4sh: Parse new options, --nonrecursive, --recursive
and --subproject.  Install the appropriate files with --ltdl
according to the selected mode.
(func_scan_files): If --subproject, --recursive or --nonrecursive
options were not given, use the value from LT_CONFIG_LTDL_DIR; if
a mode was given, and there is also an argument to
LT_CONFIG_LTDL_DIR, ensure they are the same.
* NEWS: Updated.
2005-10-26 10:42:05 +00:00
Gary V. Vaughan
58f074beb4 * libtoolize.m4sh: Don't use func_serial_update as a copy
function for libtool m4 files with no macro_regex.  If the
files are copied directly into aclocal.m4, because
AC_CONFIG_MACRO_DIR isn't set for example, there is no way
to tell what serial number goes with what source file.
(func_serial_update): For future-proofing, only make the second
serial number check if the destination file wasn't m4_included
into aclocal.m4 (and hence updated automatically by the cat of
copying a new version to the dest directory).
2005-10-26 10:36:31 +00:00
Gary V. Vaughan
22a4e6efdd * libtoolize.m4sh: Move the consistency checks...
(func_check_macros): ...into here.  Also suggest LT_WITH_LTDL if
appropriate.
2005-10-26 10:34:08 +00:00
Gary V. Vaughan
5077c38ae0 * libtoolize.m4sh: Copying just libtool.m4 for hand maintained
aclocal.m4 doesn't work.  List all required files in that case,
using the files from installed libltdl if available.  Also, list
the additional files required when using libltdl.
Reported by Patrick Welche <prlw1@newn.cam.ac.uk>.
2005-10-26 10:31:51 +00:00
Gary V. Vaughan
04edc7871c * libltdl/ltdl.h, libltdl/ltdl.c (lt_dlhandle_first): Removed.
* libltdl/ltdl.h, libltdl/ltdl.c (lt_dlhandle_next)
(lt_dlhandle_find, lt_dlforeach): Removed...
(lt_dlhandle_iterate, lt_dlhandle_fetch, lt_dlhandle_map): Similar
functions that are multi-loader safe, and require a registered
interface validator argument.
* doc/libtool.texi: Updated.
* NEWS: Updated.
2005-10-26 10:26:48 +00:00
Gary V. Vaughan
41ffa5624b * libtoolize.m4sh: Always copy pkgconfig_files for --ltdl, incase
ltdl needs additional things not found by automake when looking at
the parent project configury.
* tests/libtoolize.at: Adjust.
2005-10-26 09:20:45 +00:00
Ralf Wildenhues
387a8e8f26 * libltdl/config/ltmain.m4sh [darwin]: Don't check for "bundle"
in file path.
Reported by Christoph Egger <Christoph_Egger@gmx.de>.
2005-10-17 14:06:36 +00:00
Gary V. Vaughan
16ef6d9b8e * libltdl/m4/ltdl.m4 (LT_WITH_LTDL): Don't nest AC_MSG_CHECKING/
AC_MSG_RESULT pairs.
2005-10-14 15:43:08 +00:00
Gary V. Vaughan
13cbbc4fe9 * tests/subproject.at: Move 'touch config.h.in' invocation. 2005-10-14 13:23:01 +00:00
Gary V. Vaughan
89eddeb5cf * tests/subproject.at: Removed 'touch config.h.in' workaround for
bug now fixed.
2005-10-14 12:31:03 +00:00
Gary V. Vaughan
6a6b5a0884 * tests/subproject.at (_LTDL_SETUP): Use pushdef/popdef to
simulate file-local scope.  Empty source file compilation is not
portable, so add minimal code to generated foo.c file.
2005-10-14 10:43:45 +00:00
Ralf Wildenhues
6eb353954c * libltdl/m4/libtool.m4 (LT_PATH_NM): End test source with
newline.
Reported by Charles Wilson <cygwin@cwilson.fastmail.fm>.
2005-10-13 13:22:55 +00:00
Peter O'Gorman
2dcd12a856 * libltdl/ltdl.c (find_module): Check that dir is set.
(load_deplibs): Don't free the user search paths too early.
2005-10-13 04:48:36 +00:00
Ralf Wildenhues
bb32a2aa50 * tests/testsuite.at (LT_AT_AUTOMAKE): New macro.
* tests/subproject.at: Use it.  Do not call `autoreconf' in
tests, since it will try to reconfigure `sub/ltdl', which
breaks `make check' during `distcheck' because of a readonly
source tree.
2005-10-11 16:51:50 +00:00
Ralf Wildenhues
0ea91b1940 * libltdl/m4/ltdl.m4 (LT_WITH_LTDL): Also set INCLTDL. 2005-10-11 11:27:56 +00:00
Ralf Wildenhues
35fc3630d8 * libltdl/m4/ltdl.m4 (LTDL_CONVENIENCE, LTDL_INSTALLABLE)
(LT_WITH_LTDL): Revert Gary's 2005-10-10 patch.
2005-10-11 11:25:08 +00:00
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