Commit Graph

2629 Commits

Author SHA1 Message Date
Ralf Wildenhues
cba6430b31 * libltdl/m4/libtool.m4 (_LT_LANG_CXX_CONFIG)
<hardcode_shlibpath_var>: Initialize, to `unsupported'.
2005-12-18 12:56:16 +00:00
Marc Espie
a71c53ae8b * libltdl/m4/libtool.m4 (AC_LIBTOOL_SYS_DYNAMIC_LINKER)
[ openbsd ] <sys_lib_dlsearch_path_spec>: Set to `/usr/lib'
only.
2005-12-18 12:06:51 +00:00
Ralf Wildenhues
07ca8d2bb8 * tests/old-m4-iface.at: Require Autoconf-2.50, so that
Debian's autoconf wrapper will not cause 2.13 to barf over
`--force'.
Reported by Kurt Roeckx <kurt@roeckx.be>.
2005-12-16 17:57:34 +00:00
Ralf Wildenhues
398c9a2121 * README.alpha (Reporting bugs): Suggest to also bootstrap the
libltdl subdirectory -- the Makefile will enforce it anyway.
(The Test Suite): Renamed to..
(The Test Suites): ..this.  Introduce the new Autotest test
suite, how to run each one individually, and what to report.
* README (The Test Suite): Likewise.
2005-12-16 16:50:00 +00:00
Ralf Wildenhues
1269486389 In the subpackage case, we do not install Makefile.inc. Since
we have to be correct for this case, remove `Makefile.inc' from
EXTRA_DIST.  Recursive mode does not use it either.  Since
nonrecursive mode requires an Automake >= 1.7 anyway, and those
versions automatically distribute included makefile fragments,
we don't need to cater for that one either.

* libltdl/Makefile.inc (EXTRA_DIST): Remove Makefile.inc.
Reorder other entries.
2005-12-16 16:36:20 +00:00
Ralf Wildenhues
3301a4a74c * Makefile.am (libltdl/Makefile.in): also depend on
libltdl/aclocal.m4, so that we guarantee timestamp consistency.
(libltdl/stamp-mk): New target, to fix `libltdl/Makefile.in'.
(EXTRA_DIST): Distribute `libltdl/stamp-mk'.
(all-local): Ensure the stamp files is up to date.
(libltdl/aclocal.m4): New target, to ensure timestamp
consistency.  Depend on all m4 files.
* HACKING: Updated.
2005-12-16 16:28:29 +00:00
Ralf Wildenhues
a33d6a8916 * tests/testsuite.at (PREPARE_TESTS): New variable `tst_dist',
default to empty.
* tests/nonrecursive.at, tests/recursive.at,
tests/standalone.at, tests/subproject.at: Use it in
LT_AT_BOOTSTRAP or LT_AT_MAKE, so that you can optionally test
redistribution within the tests.
2005-12-16 16:15:32 +00:00
Ralf Wildenhues
8f31b780b5 * libltdl/m4/lt~obsolete.m4: Update documentation for aclocal
versions before 1.7.  Change all macros to use AC_DEFUN instead
of AU_DEFUN.
* (_AC_PROG_LIBTOOL, AC_LIBTOOL_SETUP, _LT_AC_CHECK_DLFCN)
(AC_LIBTOOL_SYS_DYNAMIC_LINKER, _LT_AC_TAGCONFIG)
(AC_DISABLE_FAST_INSTALL, _LT_AC_LANG_CXX, _LT_AC_LANG_F77)
(_LT_AC_LANG_GCJ, AC_LIBTOOL_RC, AC_LIBTOOL_LANG_C_CONFIG)
(_LT_AC_LANG_C_CONFIG, AC_LIBTOOL_LANG_CXX_CONFIG)
(_LT_AC_LANG_CXX_CONFIG, AC_LIBTOOL_LANG_F77_CONFIG)
(_LT_AC_LANG_F77_CONFIG, AC_LIBTOOL_LANG_GCJ_CONFIG)
(_LT_AC_LANG_GCJ_CONFIG, AC_LIBTOOL_LANG_RC_CONFIG)
(_LT_AC_LANG_RC_CONFIG, AC_LIBTOOL_CONFIG)
(_LT_AC_FILE_LTDLL_C): Add new fake macros for these, they
were used at one time in libtool.m4.
2005-12-16 16:02:43 +00:00
Ralf Wildenhues
4a8cf0e75a * tests/am-subdir.at (Makefile.am): Put automake options here,
in AUTOMAKE_OPTIONS.  Require 1.6 because of the newer
`AC_INIT(pkgname,version) AM_INIT_AUTOMAKE' scheme.
* tests/nonrecursive.at, tests/recursive.at: Require 1.7,
because libltdl rules use `+=' in conditionals.
* tests/testsuite.at (LT_AT_AUTOMAKE): Fix indenting.
(LT_AT_AUTORECONF): also detect too old Automake.
2005-12-16 15:57:22 +00:00
Eric Blake
7e895363ef * libltdl/libltdl/lt__alloc.h (FREE): Cast away constness of
argument to `free' to avoid compiler warning.
2005-12-08 17:27:09 +00:00
Peter O'Gorman
436146c7db * libltdl/m4/libtool.m4 (_LT_LANG_CXX_CONFIG, _LT_LINKER_SHLIBS)
[darwin]: Use $LTCC $LTCFLAGS to check for -single_module.
Reported by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2005-12-08 04:17:02 +00:00
Ralf Wildenhues
cd53187a8c * bootstrap: always remove Makefile, to avoid triggering the
autotools rebuild rules before autoreconf builds these.
Reported by Bob Friesenhahn <bfriesen@simple.dallas.tx.us>.
2005-12-07 20:46:54 +00:00
Peter O'Gorman
8a3f305377 * libltdl/config/ltmain.m4sh, libltdl/m4/libtool.m4 [darwin]:
Use -single_module by default when linking shared libraries. Can
be overridden by specifying -multi-module or by setting the env
var LT_MULTI_MODULE before configure.
* libltdl/m4/libtool.m4 (archive_expsyms_cmds) [darwin]:
Simplify.
Reported by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2005-12-07 13:23:14 +00:00
Ralf Wildenhues
a21d04b3d4 * doc/libtool.texi (References): Do not use `@/' for the benefit
of older `makeinfo', break lines instead.
2005-12-04 17:57:46 +00:00
Ralf Wildenhues
666de04f3b * Makefile.am (install-data-local): No continuation here.
(dist-hook): Fix copying of README.alpha to README.
* tests/early-libtool.at (configure.ac): Remove
`AM_INIT_AUTOMAKE', we do not use automake in these tests.
2005-12-04 14:48:09 +00:00
Ralf Wildenhues
12ad69c1ea * README, README.alpha, libtoolize.m4sh: Typos.
* tests/am-subdir.at, tests/duplicate_members.at: Make all
banners end with a dot, for symmetry.
2005-12-04 14:40:44 +00:00
Ralf Wildenhues
e6bbf31717 * libtoolize.m4sh (func_copy_all_files)
(glob_exclude_pkgaux_files): Removed, since unused.
2005-12-04 14:37:39 +00:00
Ralf Wildenhues
3778afd824 * libtoolize.m4sh (func_copy_cb, func_copy_some_files)
(func_serial_update, func_keyword_update): Fail immediately
if some file we may install does not exist.
Reported by Troy Benjegerdes <hozer@hozed.org>.
2005-12-04 14:34:03 +00:00
Ralf Wildenhues
22f27f6693 * TODO: A bunch of items fixed. :) 2005-12-03 17:36:15 +00:00
Ralf Wildenhues
a8b078ce15 * tests/convenience.at: Updated to expose more corner cases. 2005-12-03 11:52:36 +00:00
Ralf Wildenhues
a3d6011b61 * doc/libtool.texi (Invoking libtoolize): Remove mention of
the nonrecursive restriction to name the directory `libltdl'.
2005-12-03 08:56:57 +00:00
Ralf Wildenhues
8a48a49aa5 * libtoolize.m4sh (func_fixup_Makefile_inc): New function.
(main): Call it in nonrecursive mode to mangle Makefile.inc.
* tests/nonrecursive.at: adjusted to test this.
2005-12-03 08:49:48 +00:00
Ralf Wildenhues
33c0290e19 Basic support for PIE (position-independent executables).
* libltdl/config/ltmain.m4sh (func_generate_dlsyms):
Don't pass PIE flag for compilation of the symbol file object.
* NEWS: Updated.
2005-12-03 08:48:15 +00:00
Ralf Wildenhues
1ef097dbf6 * libltdl/config/general.m4sh (func_show_eval):
Rewrite use the failure expression, because the exit status of
the previous command may not be preserved in the next `eval' by
some shells, such as pdksh.
* libltdl/config/ltmain.m4sh (func_extract_an_archive):
Use func_show_eval correctly.
(func_mode_link): Likewise.  Also, do not use `$status'.
* tests/fail.at: New set of tests to ensure libtool fails.
* Makefile.am, tests/testsuite.at: Adjusted.
2005-12-03 08:33:48 +00:00
Peter O'Gorman
efbbaaaf16 * libltdl/m4/libtool.m4 [darwin]: Use $LTCC $LTCFLAGS to create
reloadable objects.
2005-11-27 15:18:09 +00:00
Ralf Wildenhues
fe39aca14e * libltdl/Makefile.inc (libltdl/argz.h): Create libltdl
directory if it does not exist yet.  Take care that munging
of the file will not mess up the build rule.
Reported by Peter O'Gorman <peter@pogma.com>.
2005-11-25 18:54:08 +00:00
Eric Blake
794a900c74 * libltdl/loaders/loadlibrary.c (iface_id): New variable.
(get_vtable): Get an `iface_id' from `lt_dlinterface_register'.
(get_vtable): Rewrite to catch up with lt_dlhandle_iterate
interface change.  Append dot only after w32 path conversion
so it works on cygwin managed mounts.
2005-11-25 18:44:43 +00:00
Eric Blake
a0d0a9adc0 * libltdl/ltdl.h, libltdl/ltdl.c (lt_dlinterface_free): New
function.
* doc/libtool.texi (User defined module data): Document it.
2005-11-25 18:42:28 +00:00
Ralf Wildenhues
96a89e9c51 * libltdl/m4/libtool.m4 [aix] <archive_expsym_cmds>
(_LT_LINKER_SHLIBS, _LT_LANG_CXX_CONFIG): Always move -bnoentry
before $compiler_flags, so it can be overridden.
2005-11-25 18:17:49 +00:00
Ralf Wildenhues
d90ab8c89c * libltdl/config/ltmain.m4sh (func_mode_link): Allow GCC
response files through.
2005-11-25 18:13:53 +00:00
Peter O'Gorman
36e0337870 * libltdl/config/ltmain.m4sh (link mode): Pass through -isysroot
for cross architecture builds on darwin.
2005-11-25 12:50:54 +00:00
Ralf Wildenhues
2b5012fda1 * libltdl/config/ltmain.m4sh (func_mode_uninstall): In clean
mode, don't remove non-existent libfoo.lai.
2005-11-24 16:00:27 +00:00
Ralf Wildenhues
1ecf2190b7 * Makefile.am (aclocalfiles): Also install lt~obsolete.m4.
* libtoolize.m4sh (func_check_macros): Updated.
* tests/libtoolize.at: Adjusted.
2005-11-20 10:33:27 +00:00
Eric Blake
c689cdac6c * bootstrap (--help): Provide some help. 2005-11-20 09:14:51 +00:00
Todd Vierling
7389434efe * libltdl/m4/libtool.m4 (LT_CMD_MAX_LEN, _LT_SYS_DYNAMIC_LINKER)
(_LT_CHECK_MAGIC_METHOD, _LT_COMPILER_PIC, _LT_LINKER_SHLIBS)
(_LT_LANG_CXX_CONFIG) [ interix3 ]: Support for Interix/Microsoft
Services for Unix.
* libltdl/m4/ltdl.m4 (LT_SYS_DLOPEN_DEPLIBS): Likewise.
* NEWS: Updated.
2005-11-20 08:45:54 +00:00
Ralf Wildenhues
5b3175a401 * tests/link-order.at [ interix ]: Skip command line grep.
* tests/deplibs-ident.at [ interix ]: Not broken here.
Reported by Thorsten Glaser <tg@66h.42h.de>.
2005-11-20 08:17:22 +00:00
Ralf Wildenhues
b5ae8b1212 * libtoolize.m4sh (func_copy_all_files)
(func_massage_aclocal_DATA, func_massage_pkgltdl_files)
(func_massage_pkgconfig_files): Work around ksh limitation.
Reported by Thorsten Glaser <tg@66h.42h.de>.
2005-11-18 17:37:40 +00:00
Albert Chin
320cf1412f * libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS, _LT_LANG_CXX_CONFIG)
[ hpux11 ]: Pass +nodefaultrpath when linking on ia64*.
2005-11-14 22:49:57 +00:00
Ralf Wildenhues
bbfe62c669 Testsuite portability update round.
* tests/inherited_flags: skip when shared libs are disabled.
* tests/deplibs-ident.at [ aix ]: No unexpected failure here.
* tests/libtoolize.at: Fix for distcheck (readonly sources).
* tests/nonrecursive.at, tests/recursive.at, tests/subproject.at
(foo.c): Actually export a symbol, for AIX.
* tests/old-m4-iface.at: Use AC_LIBTOOL_DLOPEN, for AIX.
* tests/nonrecursive.at: Set foo_la_SOURCES, for automake-1.7.
* tests/subproject.at: Require automake-1.9, we use indirect
subdirs.
* tests/am-subdir.at: Move AT_KEYWORDS settings..
* tests/testsuite.at: ..here, in respective macros.
(LT_AT_AUTOMAKE): Skip if we detect failure due to old version.
(PREPARE_TESTS): Set autotool variables to `no' if not present.
(LT_AT_ACLOCAL, LT_AT_AUTOCONF, LT_AT_AUTOMAKE)
(LT_AT_AUTOHEADER, LT_AT_AUTORECONF): Use to XFAIL tests.
Reported by Tim Rice <tim@multitalents.net>.
(LT_AT_MAKE): Do not use `make -e'.
(_LTDL_PROJECT_FILES): Adjust sub-make call.  Work around `make'
which does not set `MAKE' or `SHELL'.  Fix for user-set
`CONFIG_SHELL'.
Reported by Charles Wilson <cygwin@cwilson.fastmail.fm>.
2005-11-14 22:19:40 +00:00
Ralf Wildenhues
7f20fac17f * libltdl/m4/lt~obsolete.m4 (_LT_CC_BASENAME)
(_LT_COMPILER_BOILERPLATE, _LT_LINKER_BOILERPLATE):
Added because they were added to branch-1-5 AC_DEFUNed.
* HACKING: Add note about lt~obsolete.m4.
2005-11-14 20:48:15 +00:00
Ralf Wildenhues
7ddbaa343a * Makefile.am, libltdl/Makefile.inc (INSTALL_LTDL):
For nonrecursive mode, add to include_HEADERS as well.
* doc/libtool.texi (Invoking libtoolize, Distributing libltdl),
tests/nonrecursive.at: Adjusted, and removed TABS from .texi.
2005-11-14 20:39:27 +00:00
Ralf Wildenhues
8b84e7e3d3 * libtoolize.m4sh: Revert use of `$tst_aclocaldir'. 2005-11-14 20:33:55 +00:00
Eric Blake
67e7c9e8e1 * libltdl/ltdl.c (lt_dlhandle_iterate): Fix endless loop.
(lt_dlinterface_register): Fail if lt__strdup did.
2005-11-13 21:59:54 +00:00
Ralf Wildenhues
1a8774d4f1 * libltdl/m4/libtool.m4 (_LT_LANG_C_CONFIG):
Removed `lt_prog_cc_shlib' cruft, not needed any more.
2005-11-13 19:35:43 +00:00
Kean Johnston
779e67e773 * libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER)
(_LT_CHECK_MAGIC_METHOD, _LT_COMPILER_PIC, _LT_LINKER_SHLIBS)
(_LT_LANG_C_CONFIG, _LT_LANG_CXX_CONFIG)
[ sco3.2v5, sysv4, sysv4.3, sysv5, sco3.2v5, sco5v6, unixware,
OpenUNIX, sysv4*uw2 ]: Complete overhaul of SCO support.
* THANKS: Updated.
2005-11-13 19:04:42 +00:00
Ralf Wildenhues
c0674ddfdd * tests/quote.test: Do not fail on harmless shell bug present
in some ksh88 versions.
Reported by Tim Rice <tim@multitalents.net> and others.
2005-11-13 15:15:50 +00:00
Ralf Wildenhues
8dda99be58 * libltdl/m4/ltoptions.m4 (_LT_SET_OPTION): Use m4_warning
instead of m4_warn.
2005-11-12 12:08:14 +00:00
Ralf Wildenhues
a239315342 * libltdl/m4/libtool.m4 (_LT_COMPILER_PIC): `wl' is tagged here. 2005-11-12 11:54:13 +00:00
Ralf Wildenhues
edef0a4297 * libltdl/m4/libtool.m4 (LT_SYS_DLOPEN_SELF, _LT_COMPILER_PIC):
Make sure `$wl' is properly expanded for tests involving
`export_dynamic_flag_spec', `lt_prog_compiler_static'.
2005-11-12 10:41:09 +00:00
Ralf Wildenhues
cf0824decb * tests/defs.m4sh (func_configure_nofail): Actually pass
options (like --disable-shared) to func_configure.
2005-11-12 09:16:56 +00:00