Commit Graph

2341 Commits

Author SHA1 Message Date
Ralf Wildenhues
a1b162fcd5 * doc/libtool.texi (LT_INIT): s/libtool 1.6/libtool 2.0/.
(Invoking libtoolize): Fix typo.
2004-11-23 09:37:06 +00:00
Gary V. Vaughan
62a363718f * config/ltmain.m4sh (func_mode_install): Now that func_mktempdir
has been improved, the default directory template is perfectly
fine.
2004-11-22 22:36:16 +00:00
Gary V. Vaughan
7b5fea6fe2 * doc/libtool.texi (Invoking libtoolize): Improve documentation
for use of ACLOCAL_AMFLAGS and AC_CONFIG_MACRO_DIR.
2004-11-22 21:53:15 +00:00
Ralf Wildenhues
d4d7f8b45b * m4/libtool.m4 (_LT_TAG_COMPILER): Document that with_gcc is
tag-dependent.
2004-11-22 15:52:22 +00:00
Ralf Wildenhues
e2984dc45e * m4/libtool.m4, tests/demo-nopic.test: Undo bogus commit. 2004-11-22 15:48:32 +00:00
Ralf Wildenhues
3e437f3043 * config/ltmain.m4sh (func_mode_link), tests/objectlist.test:
Make sure the argument to `-objectlist' may contain spaces.
2004-11-22 15:43:44 +00:00
Gary V. Vaughan
83eaf5a14d * config/m4general.m4sh, config/mailnotify.m4sh,
clcommit.m4sh: Updated from cvs-utils--tla--1.0 to allow
parallel commits, and use safer tmpfiles.
2004-11-19 17:04:22 +00:00
Ralf Wildenhues
12d1213e34 * doc/libtool.texi (Libltdl interface): Typos. 2004-11-19 11:33:26 +00:00
Ralf Wildenhues
5745e5a13f * doc/libtool.texi (Libltdl interface): Document public macros
LT_PATHSEP_CHAR, LT_DIRSEP_CHAR, use in path descriptions.
2004-11-19 07:26:25 +00:00
Daniel Reed
30ab30e06a * m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER) [linux]: Interpret
`include' statements in toplevel ld.so.conf file.
2004-11-19 07:18:30 +00:00
Ralf Wildenhues
5f07f593a8 * m4/libtool.m4 (_LT_LINKER_SHLIBS) [cygwin/mingw/pw32]:
tag-protect setting of ld_shlibs.
2004-11-19 07:01:48 +00:00
Ralf Wildenhues
db13b15323 * doc/libtool.texi (Libltdl interface): The path separator
is system-dependent.
2004-11-17 17:49:44 +00:00
Ralf Wildenhues
de11090898 * doc/libtool.texi (Linking static libraries): Typo. 2004-11-17 17:47:22 +00:00
Ralf Wildenhues
e080898fc4 * m4/libtool.m4 (_LT_LINKER_SHLIBS, _LT_LANG_CXX_CONFIG)
[aix4/aix5 !ia64]: Set whole_archive_flag_spec to '$convenience'
so convenience libs are really added to the link cmdline.
2004-11-17 15:24:03 +00:00
Mats Rynge
09d37d85d5 * libtool.m4 [linux]: Use only the CC basename in case statment
when checking for icc/ecc. Allows for setting CC to the full path
to the compiler.
2004-11-17 14:06:50 +00:00
Mats Rynge
db04779e4e * libtool.m4 [solaris]: Added missing 'with linker' flags to
-z allextract ... -z defaultextract flags
2004-11-17 14:02:54 +00:00
Gary V. Vaughan
4e71dfc351 * m4/libtool.m4 (_LT_LINKER_SHLIBS): Typo: s/--rpath/-rpath/g.
(_LT_LANG_CXX_CONFIG): Ditto.
2004-11-15 01:18:22 +00:00
Gary V. Vaughan
ef758b513c * configure.ac (APIVERSION): New substituted variable.
(pkgvdatadir): Ditto.  Versioned data directory.
(pkgvmacrodir): Ditto.  Versioned aclocal directory.
(LN): New check for LN command.
* Makefile.am (aclocal_DATA): Replaced with...
(pkgvmacro_DATA): ...this.
(install-data-local): Remove old shared resources.
(install-exec-hook): Make versioned links to executables.
(uninstall-hook): Remove versioned files.
* libltdl/Makefile.am (ltdldatadir): Redefine in terms of
pkgvdatadir.
* libltdl/loaders/Makefile.am (ltdldatadir): Ditto.
* libtoolize.m4sh: Copy macro files from versioned macro directory
instead of shared aclocal directory.
* doc/libtool.texi: Document it.
* NEWS: Updated.
2004-11-15 01:03:14 +00:00
Gary V. Vaughan
25946db755 From James Henstridge <james@jamesh.id.au>:
* m4/libtool.m4, m4/ltdl.m4, m4/ltoptions.m4: Added commented out
empty macro definitions to match each AU_DEFUN to help aclocal
from automake-1.4 regexps find the right libtool macro files.
2004-11-10 13:27:21 +00:00
James E Wilson
95b4514791 * config/ltmain.m4sh (func_mode_link), tests/Makefile.am,
Fix error message with `-objectlist' file that does not exist.
tests/objectlist.test:  New test for this.
2004-11-10 10:14:12 +00:00
James E Wilson
806ec5d7dc * Makefile.am: config/ltmain.sh is generated by config/ltmain.m4sh. 2004-11-10 10:07:56 +00:00
Ralf Wildenhues
493cb23a95 * doc/libtool.texi (Compile mode, Link mode,
Libltdl interface, Test descriptions, libtool script
contents): Some quote cleanup, more use of texinfo types.
2004-11-09 19:21:27 +00:00
Ralf Wildenhues
27c30aa6ed * doc/libtool.texi (libtool script contents):
echo is now ECHO; mention argument restriction.
2004-11-09 19:16:57 +00:00
Ralf Wildenhues
52a1da572a * doc/libtool.texi (Multiple dependencies): Minor rewording. 2004-11-09 19:13:06 +00:00
Ralf Wildenhues
17597b9080 * doc/libtool.texi (User defined module data, References):
indentation and word-wrap cleanup.
2004-11-09 19:09:46 +00:00
Ralf Wildenhues
71efd805df * doc/libtool.texi (all over): White space cleanup:
two spaces at start of sentence, no TABs.
2004-11-09 19:05:38 +00:00
Ralf Wildenhues
0afb0d1e7b * doc/libtool.texi (libtool script contents): Fix description
of need_lib_prefix.
2004-11-09 16:22:57 +00:00
Peter Ekberg
e5d7f88100 * config/ltmain.m4sh (func_mode_link): forward thread
related flags to dependent applications and libraries
by adding them to `inherited_linker_flags'.
2004-11-08 15:19:45 +00:00
Ralf Wildenhues
87501d96cd * m4/ltoptions.m4: Change all references of LT_LIBTOOL_INIT
to LT_INIT.
2004-11-07 13:24:51 +00:00
Peter Ekberg
81ac758669 * ltmain.m4sh (cwrappersource): clean up other warning on MinGW. 2004-11-05 18:04:39 +00:00
Bernhard Fischer
7a25f1b366 * m4/ltdl.m4 (LT_SYS_DLOPEN_DEPLIBS), m4/ltoptions.m4
(_LT_SET_OPTIONS), README, README.alpha: Typos.
2004-11-04 11:57:41 +00:00
Ralf Wildenhues
4d4230a3a6 * libtldl/ltdl.c (parse_dotla_file): Fix memleak. 2004-11-03 14:13:24 +00:00
Ralf Wildenhues
93b5b6e02f * ltmain.m4sh (cwrappersource): Cast isalpha arguments correctly. 2004-11-03 14:11:52 +00:00
Peter Ekberg
2f06b761c4 * ltmain.m4sh (cwrappersource): clean up warnings and
#include errors on MinGW.
2004-11-03 14:10:32 +00:00
Peter Ekberg
9097c9c8e9 * config/ltmain.m4sh (cwrappersource): clean up warnings and
#include errors.
2004-11-01 18:22:54 +00:00
Peter Ekberg
f862366c5f Sometimes, a wrapper script is generated for an executable that,
itself, does not link against an uninstalled library.  It appears
that this can happen if you are building a project where:

  (1) there is a library
  (2) there is an executable that does not, itself, link against
      that library

In this case, notinst_deplibs is empty, and when the wrapper
script is loaded by libtool during ./libtool mode=install, there
is a check for "is notinst_deplibs empty".  In this case, it is,
so libtool reports an error.

I don't think it is wrong to have a wrapper script for an exe that
*technically* doesn't need it.  But instead of checking for
notinst_deplib nonempty as a proxy for "did wrapper script get
sourced into my environment properly" a different var should be
used.

* config/ltmain.m4sh (func_mode_install): set new variable
`generated_by_libtool_version' in wrapper script when using
libtool_install_magic.  When verifying that wrapper script was
properly sourced, check that `generated_by_libtool_version' is
non-empty, instead of using notinst_deplibs.
2004-11-01 17:28:30 +00:00
Charles Wilson
5817d126bf * config/ltmain.m4sh (func_mode_install): On Windows based hosts,
ensure that import libraries don't get stripped.
* m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER): On Windows based hosts,
use postinstall_cmds to strip DLL (not import lib!) when symbol
stripped installation was requested.
2004-11-01 16:29:15 +00:00
Ralf Wildenhues
cfd90b5373 * libltdl/ltdl.c (loader_init_callback): Back out broken cast. 2004-11-01 14:04:29 +00:00
Ralf Wildenhues
d8df98d4c5 * libltdl/ltdl.c (loader_init_callback, lt_dlexit): Add casts to
target type.
2004-11-01 11:26:29 +00:00
Ralf Wildenhues
8024c55497 * tests/defs.m4sh (func_exec): `shift'ing when there is nothing
to shift is non-portable.
2004-11-01 11:09:41 +00:00
Patrick Welche
1174721b33 * Makefile.am, Makefile.maint: Use path for dependencies built
in the source tree, to cater for BSD make.
2004-10-29 08:25:25 +00:00
Noah Misch
4d01904ca5 * config/ltmain.m4sh (func_lalib_p, func_ltwrapper_p): New
functions that abstract .la sanity checking.
(func_mode_execute, func_mode_install, func_mode_link)
(func_mode_uninstall): Use them.
2004-10-24 16:34:29 +00:00
Gary V. Vaughan
17e61a7564 * config/ltmain.m4sh (opt_silent): Whether --silent was given.
(run, show): Deleted.  All callers converted to opt_dry_run,
opt_silent or calls to func_show_eval.
* tests/mdemo-dryrun.test: Adjust.
2004-10-24 15:17:23 +00:00
Gary V. Vaughan
23f809f600 * HACKING: Fix a typo in the gpg --verify instructions. 2004-10-24 15:10:52 +00:00
Gary V. Vaughan
1c2e1f9bd7 * Makefile.maint (cvs-dist): Generate signatures and directives
for bz2 upload.
2004-10-24 15:08:53 +00:00
Peter O'Gorman
596e2489bd * config/ltmain.m4sh (func_mode_link): Make Gary's new tests
pass. When the output wrapper script is not in the current
directory, we can not use an rpath which is relative to the
current directory. Use an absolute path instead.
2004-10-23 12:04:34 +00:00
Gary V. Vaughan
7bcbdbbc55 * clcommit.m4sh: Add --rcfile option. 2004-10-22 18:05:29 +00:00
Gary V. Vaughan
5681c0f12c * clcommit.m4sh: Updated again, to support file list limited
commits to CVS, and to fix another occurence of the bash bug
that was preventing non-tla users from sending a commit mail.
2004-10-22 17:37:42 +00:00
Ralf Wildenhues
e40add4994 * TODO, libltdl/lt_error.h, libltdl/ltdl.c, libltdl/ltdl.h:
Undo accidental commit.
2004-10-22 13:07:44 +00:00
Ralf Wildenhues
ee81aed37d * Makefile.maint: Fix typo. 2004-10-22 13:02:53 +00:00