Commit Graph

2105 Commits

Author SHA1 Message Date
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
Gary V. Vaughan
e7a9d306f6 * clcommit.m4sh, config/mailnotify.m4sh: Updated from
cvs-utils--tla--1.0 to fix quoting of metachars in patch names.
2004-10-22 12:10:31 +00:00
Gary V. Vaughan
128f90e9ff * HACKING: Updated: .in' files are now .m4sh'; document some
more coding standards for these files.
2004-10-22 10:32:13 +00:00
Gary V. Vaughan
6b55376125 * config/general.m4sh (sed_double_backslash): Undo an
over-optimisation.
2004-10-22 07:58:24 +00:00
Gary V. Vaughan
8d2d20248a * AUTHORS: Reformatted to better reflect the current state of
Libtool maintainership.
* THANKS: Reformatted to give maintainers a quick way to look
up who has supplied FSF paperwork.
2004-10-22 07:11:46 +00:00
Noah Misch
443bae7dd9 * config/general.m4sh (sed_double_backslash): Improve this sed
expression to correct left anchored $ input to
double_quote_subst, as well as backslash escaped $ preceded by
any odd-numbered amount of  characters.
2004-10-21 16:54:54 +00:00
Gary V. Vaughan
ff7eac153d * config/general.m4sh (sed_double_backslash): New sed expression
to escape $ properly in combination with double_quote_subst.
(func_quote_for_eval): Four space indent margin for functions!
(func_quote_for_expand): Use $sed_double_backslash.
(func_show_eval): New function that echos an escaped but variable
expanded command, and then evaluates it.
2004-10-20 20:43:58 +00:00
Noah Misch
ba1e69caa4 * m4/libtool.m4 (sed_quote_subst): Remove superfluous backslashes
from the match character set.
(double_quote_subst): Ditto.
* lib/general.m4sh (sed_quote_subst): Ditto.
(double_quote_subst): New variable, copied from
m4/libtool.m4. Much the same as sed_quote_subst, but variable
references are not quoted.
(func_quote_for_eval): Given any $foo; $bar and
$foo must be identical after the following commands:
    func_quote_for_eval "$foo"
    eval "bar=$func_quote_for_eval_result"
(func_quote_for_expand): In a similar vein to to func_quote_for_eval,
except that variable expansions are not protected when quoting the
command for subsequent display.
* config/ltmain.m4sh: Factor away use of $sed_quote_subst now that
it has been subsumed into func_quote_for_eval.
(func_mode_link): Instead of `2004-10-14 Peter O'Gorman' below,
use func_quote_for_expand so that ${wl} is expanded properly in
the $show expression.
2004-10-20 08:45:10 +00:00
Gary V. Vaughan
f5eb2e88c3 * config/ltmain.m4sh (func_mode_finish): solaris-2.6 also has
crle(1).
Reported by Albert Chin-A-Young <china@thewrittenword.com>
2004-10-16 15:02:05 +00:00
Gary V. Vaughan
fd13e4f5ca Add some new tests for Libtool's support of Automake
subdir-objects builds.  This marks the beginning of a move to an
Autotest driven test framework, which will eventually allow us to
trim away many of the generated files in the current test demo
subdirectories:

* configure.ac (AC_CONFIG_TESTDIR): Re-enable commented out
Autotest macros.
(AUTOTEST, M4SH): Use --language long hand.
* bootstrap: Generate tests/testsuite, and by implication
tests/package.m4.
* Makefile.am (edit): Add substitutions needed to generate
tests/package.m4 from bootstrap.
(check-recursive): Add tests/testsuite.
(TESTSUITE): The new Autotest testsuite target.
(TESTSUITE_AT): The Autotest sources.
(EXTRA_DIST): Distribute the generated testsuite and sources.
(tests/package.m4): Use $(edit) to propagate package metadata to
the new tests.
(tests/testsuite): Build the testsuite.
(tests/atconfig): How to regenerate the file.
(check-local): Hook Autotest into `make check'.
(installcheck-local): Run the testsuite on the installed tree.
(clean-local): Tidy our file droppings.
* tests/Makefile.am: Remove bitrotted code from Autotest
experiments in Autoconf 2.52 era.  Updated the rest and moved into
Makefile.am.
* tests/testsuite.at: New container for Autotest test groups.
* tests/am-subdir.at: New test group for compatibility with
Automake's subdir-objects builds.  Currently holds two tests, one
for a C project and another similar project in C++.
* TODO: Add an entry to remind us that these new tests expose a
bug in libtool.
* NEWS: Updated.
2004-10-16 14:43:48 +00:00
Peter O'Gorman
609e9db7f0 * config/ltmain.m4sh: Revert most of my last commit, only eval
$show "$cmds", and only when building a library. I'm a wimp.
Thanks Gary for pointing out errors in previous commit.
2004-10-14 14:13:43 +00:00
Gary V. Vaughan
a6949eb270 * config/ltmain.m4sh (func_mode_finish): Mention crle(1) on
solaris 2.7 and higher in the finalisation notes.
Reported by Kurt J. Lidl <lidl@pix.net>
2004-10-13 16:06:49 +00:00
Gary V. Vaughan
0af561f564 * tests/cdemo-undef.test: New test for hosts that allow shared
libraries with undefined symbols, but have no C++ compiler
installed.
* tests/Makefile.am (COMMON_TESTS): Add it.
2004-10-13 16:01:01 +00:00
Peter O'Gorman
274b26c703 * config/ltmain.m4sh: Make sure that we $show what we will $run,
use eval $show if we do $run eval.
2004-10-13 14:55:59 +00:00
Charles Wilson
9a2bd4eb89 * config/ltmain.m4sh: add foo/bin for every foo/lib
in dllsearchpath when creating wrapper script.  Fixes
depdemo-relink test failure.


* config/ltmain.m4sh (func_mode_link): don't relink
on cygwin/mingw; no need.  But do ensure that wrappers
are created unless doing a purely static build.
2004-10-13 13:48:23 +00:00
Gary V. Vaughan
2a68cdb140 * tests/tagdemo-undef.test: New test for hosts that allow shared
libraries with undefined symbols.
* tests/Makefile.am (CXX_TESTS): Add it.
2004-10-13 07:15:02 +00:00
Charles Wilson
8a28ed97bf * tests/link.test: Fix check for use of libnlsut.a under
Cygwin.


* tests/quote.test: Do not look for $preargs in the output,
because libtool may change them.
2004-10-11 15:15:00 +00:00
Charles Wilson
c57c62b12e * config/ltmain.m4sh: Really don't require versions of GNU
sed newer than 3.02 for Cygwin and MinGW, and don't break
dryrun mode.
2004-10-11 04:15:43 +00:00
Bob Friesenhahn
2d21f9adc3 * config/getopt.m4sh: Under MinGW, reported paths may include ':'
so ':' should not be used as the sed delimiter.  Use '*' instead
since it is very unlikely to appear in a path.
2004-10-10 23:27:24 +00:00
Albert Chin-A-Young
c9ac8fcb3b * config/ltmain.m4sh: Don't require versions of GNU sed newer than
3.02 for Cygwin and MinGW.
2004-10-10 22:15:09 +00:00
Bob Friesenhahn
cf835b450f * tests/pdemo-inst.test: Correction for mis-application of
Charles Wilson's earlier patch.
2004-10-10 15:18:24 +00:00
Gary V. Vaughan
4573926c18 * m4/libtool.m4 (_LT_LANG_F77_CONFIG): Make sure the save and
restore code for CC is nested at the same depth.
(_LT_LANG_CXX_CONFIG): Ditto, but for several variables.
2004-10-09 20:51:55 +00:00
Gary V. Vaughan
c87d8b383b Update to the latest commit and mailnotify scripts from
gary@gnu.org--2004/cvs-utils--tla--1.0:

* commit, config/mailnotify: Removed.  Now built from...
* clcommit.m4sh, config/mailnotify.m4sh: ...these new sources.
* Makefile.maint (commit, config/mailnotify): How to build them.
* bootstrap: If we have a checked out tree (i.e. clcommit.m4sh
is present), then build them.
2004-10-08 21:56:10 +00:00
Gary V. Vaughan
20c92bbee3 Fix some issues that mangled the reexecution path to a script,
and thus prevented it from finding itself:

* config/general.m4sh (progname): Don't actually change the name
of the script if it begins with a `-', just prepend `./'.
(progpath): Add a new clause that first searches the execution
PATH, and then finally assumes this script is in the current
working directory if $progname has no directory separators (e.g
when invoked as `$SHELL progname').
2004-10-08 17:01:49 +00:00
Gary V. Vaughan
d7c85ee5b0 * config/general.m4sh (func_verbose): Work around a bash bug in
shell functions.
2004-10-08 16:39:55 +00:00
Charles Wilson
56295ae2e9 * tests/pdemo-inst.test: pdemo-inst should depend on pdemo-make.
* config/ltmain.m4sh: Windows and Cygwin reserve the .lnk
extension to represent shortcuts.  Use the extension ".lnkscript"
rather than ".lnk" for the piecewise linking ld script in order to
avoid the conflict.
2004-10-08 16:16:10 +00:00
Ralf Wildenhues
567c9626d9 * libltdl/ltdl.c (lt_dlexit, lt_dlpath_insertdir): Fix memleaks,
free user_search_path on lt_dlexit.
2004-10-08 14:10:33 +00:00
Ralf Wildenhues
bce1dbff48 * tests/sh.test: Remove tests which fail on AS_SHELL_SANITIZE
from autoconf >= 2.59.
2004-10-07 13:01:36 +00:00
Ralf Wildenhues
c5f6b34782 * TODO: Remove item: no need for a libltdl without stdio. 2004-10-07 05:53:44 +00:00
Gary V. Vaughan
1152908b90 * tests/defs.m4sh (scripts): Actually scan the generated ltmain.sh
for shell portability problems.
2004-10-07 03:07:13 +00:00
Gary V. Vaughan
90ecb87640 * m4/libtool.m4 (_LT_FORMAT_COMMENT): Shell meta-characters in
_LT_DECL descriptions were not being escaped before injection into
TAG CONFIG here documents in config.status.
2004-10-07 02:53:45 +00:00
Peter O'Gorman
be4a0532ad * m4/libtool.m4 (_LT_PROG_CXX, _LT_PROG_F77): New macros to work
around the deficiencies in AC_PROG_CXX and AC_PROG_F77.
* configure.ac: Cleaned up, having moved the checks for compilers
which do not exist to libtool.m4.
2004-10-06 13:49:22 +00:00
Ralf Wildenhues
ba0dac4a9d * libltdl/ltdl.c (try_dlopen): Move .la file parsing
part.. (parse_dotla_file): ..here.  Adjust.
2004-10-05 12:48:55 +00:00
Ralf Wildenhues
c3d2ada3c6 * libltdl/ltdl.c (load_deplibs, try_dlopen): Revert unnecessary casts
to int from my patch from 2004-10-01.
2004-10-05 12:42:45 +00:00
Ralf Wildenhues
c66aec3a0d * AUTHORS: Add myself. 2004-10-05 12:38:52 +00:00
Peter O'Gorman
96786b270c * config/ltmain.m4sh [darwin]: Make the -dylib_file flag work on
older darwins too. Reported by Christoph Egger.
2004-10-05 04:16:10 +00:00
Gary V. Vaughan
2fc0e2fe16 * configure.ac: Bumped version to 2.1a. 2004-10-05 01:00:39 +00:00