Commit Graph

1332 Commits

Author SHA1 Message Date
Gary V. Vaughan
72407c2200 * configure.in (AC_OUTPUT): ltmain.sh must be generated in the
source tree since this is where it would be found in a freshly
unrolled tarball.
2000-09-16 00:56:06 +00:00
Gary V. Vaughan
f7493a7484 * configure.in: Replace dnl' comments with #' comments for
more conformity with cvs autoconf.
Removed emacs hack-local-variables, since there is now a
proper Autoconf major mode.
Removed a couple of changequote()s.
2000-09-16 00:52:20 +00:00
Gary V. Vaughan
404e0dbcab * bootstrap (ltconfig): When bootstrapping libtool with a
stock automake (i.e. without the README patch applied),
references to ltconfig are manually removed from the generated
Makefile.in files.
2000-09-16 00:33:37 +00:00
Gary V. Vaughan
2235e08e8a * doc/libtool.texi: Removes references to ltconfig, and a small
amount of tidying up to compensate.
2000-09-15 17:04:04 +00:00
Nick Hudson
c574383205 * libtool.m4 (netbsd): Improved support. 2000-09-15 16:44:44 +00:00
Gary V. Vaughan
24773fc37c * ltmain.in (version_type): Use "-iface" as the windows
versioning scheme, where iface is the number of the oldest
interface supported.
2000-09-15 02:26:04 +00:00
Gary V. Vaughan
a051edc63d From Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
* libtool.m4 (pw32): Initial support for pw32, assuming that
libtool's behaviour in this environment is identical to under
cygwin.
* ltmain.in (pw32): ditto.
* NEWS: Updated.
2000-09-15 02:10:27 +00:00
Gary V. Vaughan
5a6065a3a6 * libtool.m4 (changequote): An audit of changequote and m4
quote usage -- all changequotes (except a few with non-nesting
square brackets) have been removed.
2000-09-14 21:29:24 +00:00
Gary V. Vaughan
d6e6eab7ac * Makefile.am (EXTRA_DIST): The bootstrap script should be
distributed with libtool.
2000-09-14 20:51:43 +00:00
Gary V. Vaughan
aaacba9209 libtool.m4 (_LT_AC_LTCONFIG_HACK): Oh man! Third time lucky.
I just discovered that '&' needs to be escaped inside
AC_TRY_EVAL.
2000-09-13 01:31:15 +00:00
Michael Matz
568b6f4983 * ltmain.in: Be careful about filenames with multiple `.'s in
them when calculating file extensions.
Reported by Joel Reed <jreed@support.ddiworld.com>
2000-09-12 23:26:49 +00:00
Gary V. Vaughan
2b5fa736e6 libtool.m4 (AC_PROG_LIBTOOL): Removed, as it was triggering a
bug in Autoconf-2.13 AC_REQUIRE implementation which inserted
some of the expanded tests too early in the generaated configure.
(_AC_PROG_LIBTOOL): renamed to AC_PROG_LIBTOOL, and defines
itself to an empty expansion to prevent multiple expansions.
configure.in (AC_LIBTOOL_SETUP): Replaced by a call to
AC_PROG_LIBTOOL now that the AC_REQUIRE bug has been worked
around.
2000-09-12 20:02:16 +00:00
Gary V. Vaughan
660a7f7ac4 subversions was poorly over the weekend -- this ci fixes a half
accepted commit and resychronises the repository with my tree.
2000-09-11 07:41:35 +00:00
Gary V. Vaughan
f3c00d0365 libtool.m4 (_LT_AC_LTCONFIG_HACK): Forgot to escape the
redirections inside AC_TRY_EVAL in the need_lc tests. Doh!
2000-09-09 12:55:38 +00:00
Gary V. Vaughan
c81edc957e Got one of these last time I tried to commit:
cvs [server aborted]: out of memory; can not reallocate 206092 bytes
trying again...
2000-09-09 12:24:56 +00:00
Gary V. Vaughan
71d30262af libtool.m4 (_LT_AC_LTCONFIG_HACK): Forgot to redirect the
output of grep to /dev/null in the need_lc tests.
2000-09-09 12:22:38 +00:00
Gary V. Vaughan
7591310948 configure.in (AC_PROG_LIBTOOL): Using this in libtools own
configure.in interacts badly with the AC_PROVIDE calls and
results in several tests being inserted into configure too
early.  Use AC_LIBTOOL_SETUP instead.
2000-09-09 12:12:56 +00:00
Gary V. Vaughan
58a5a82054 libtool.m4 (_LT_AC_LTCONFIG_HACK): The ltconfig.in code I
ported from ltconfig.in was incomplete -- this is a backport
of the missing code taken from the multi-language branch.
2000-09-08 17:04:24 +00:00
Pavel Roskin
2c293643f7 * libtool.m4 (_LT_AC_LTCONFIG_HACK): Fixed incorrect use of
changequote
2000-09-07 21:35:16 +00:00
Gary V. Vaughan
2c72b9c977 * NEWS: Updated.
* TODO:  Add a reminder to get rid of ltconfig in mlb.
* README: Until things even out, I have added a note and a
patch to make the installed automake cooperate with the new
ltconfig free libtool.
2000-09-07 21:25:03 +00:00
Gary V. Vaughan
1529b47e2b * libtool.m4 (_LT_AC_LTCONFIG_HACK): with_gcc is only useful in
ltmain.sh as it has not yet been set in libtool.m4.  Use
$ac_cv_prog_gcc instead.
2000-09-07 20:14:45 +00:00
Gary V. Vaughan
0e6d7942ca * doc/PLATFORMS: Updated. 2000-09-07 07:28:39 +00:00
Gary V. Vaughan
9ec7ae4279 * configure.in (AC_PROG_AWK): Removed -- no longer required by
the build process.
* lineno: ditto.
2000-09-07 07:25:39 +00:00
Gary V. Vaughan
25af77ddc4 * libtoolize.in (files): Don't try to install ltconfig -- it
doesn't exist!!
* bootstrap: Fake an ltconfig incase the installed automake
calls an installed libtoolize (as part of its --add-missing
process) which thinks ltconfig should be there.
2000-09-07 00:38:04 +00:00
Gary V. Vaughan
4cd778d127 * Makefile.am (ltmain.sh): Make this depend on TSDEPS again
so that the Changelog timestamp is used for ltmain.sh at `make
dist' time.
2000-09-07 00:34:07 +00:00
Gary V. Vaughan
f8d415aeef * libtool.m4 (_LT_AC_LTCONFIG_HACK): Deleted a vital `;;'
terminator from a case statement by mistake.
2000-09-06 23:19:18 +00:00
Gary V. Vaughan
e927e43114 libtool.m4 now contains a version of the code that used to run
from ltconfig, so that ltmain.sh and then libtool are
generated at configure time.

* Makefile.am:  Don't generate ltmain.sh or ltconfig anymore.
* bootstrap: ltconfig is no more!
* configure.in: Call AC_PROG_LIBTOOL directly.
(AC_OUTPUT): Generate tmain.sh.
* libtool.m4: Don't build an argument list for ltconfig.
(_LT_AC_LTCONFIG_HACK):  Refactoring of the former contents of
ltconfig.in to take advantage of the m4 macros from autoconf.
* ltmain.in: Don't do a version check against ltconfig.
* tests/assign.test: Remove reference to ltconfig.
* tests/hardcode.test: ditto.
* tests/sh.test: ditto.
2000-09-06 17:31:09 +00:00
Alexandre Oliva
ce4a397e19 * depdemo/main.c: Support -alt.
* tests/build-relink2.test: Try it.
2000-09-05 12:54:02 +00:00
Alexandre Oliva
03d0740c11 * ltconfig.in: Removed all references to what used to be
hardcode_into_libs=all.  2000-09-03's patch was wrong.
* ltmain.in: Likewise.
* tests/build-relink.test, tests/build-relink2.test: Adjust.
* mdemo/Makefile.am (lib_LTLIBRARIES): Move libsub.la before
libfoo2.la, so that they're installed in the right order.
2000-09-05 11:03:06 +00:00
Alexandre Oliva
916ce7a372 * tests/dryrun.test: Build libsub.la along with the object files,
since it is needed by libfoo2.la.
2000-09-04 08:20:02 +00:00
Alexandre Oliva
61e1e15004 * mdemo/Makefile.am: Mark only libfoo2 as -no-undefined.
Explicitly link it with libsub.la.
2000-09-04 08:10:02 +00:00
Alexandre Oliva
85583b7577 * ltconfig.in (need_lc): Preserve allow_undefined_flag. 2000-09-04 08:05:27 +00:00
Alexandre Oliva
bd95e0f762 * tests/*.test (CONFIG_SITE): Ultrix's /bin/sh fails on
`. /dev/null'.  Set CONFIG_SITE to /dev/null/config/site, to make
sure we pick a non-existent file.
2000-09-04 07:46:01 +00:00
Alexandre Oliva
467ffde098 * Makefile.am (libtool, clibtool): Pass CONFIG_SHELL along with
ECHO down to ltconfig.
2000-09-04 07:30:48 +00:00
Alexandre Oliva
ef224f974f * ltconfig.in (hardcode_libdir_flag_spec, export_dynamic_flag_spec):
Use ${wl}, not ${wlarc}.
2000-09-04 07:06:51 +00:00
Alexandre Oliva
5526adb017 * ltmain.in (compile, need_lock): Don't create nor remove lock
files in dry runs.
2000-09-04 06:29:21 +00:00
Alexandre Oliva
6aa6b1b1d9 * libltdl/ltdl.c (load_deplibs): Don't append shlib_ext; use
lt_dlopenext() instead.
2000-09-04 06:09:25 +00:00
Alexandre Oliva
c4c91b5984 * ltmain.in (link -static): Don't add $link_static_flag; only
-all-static should do that.
* mdemo/configure.in: Revert part of the previous delta.
2000-09-04 05:10:30 +00:00
Alexandre Oliva
3244d1b086 * mdemo/configure.in: Don't use -static on AIX4.1.
* mdemo/Makefile.am: Likewise.
2000-09-04 04:33:51 +00:00
Alexandre Oliva
5d15db14ac * ltconfig.in: Get rid of hardcode_into_libs=all; use
hardcode_into_libs=yes && shlibpath_overrides_runpath!=yes
instead.
[FreeBSD 3.[01]] (shlibpath_overrides_runpath): Set to no.
* ltmain.in: Likewise.
* tests/build-relink.test, tests/build-relink2.test: Adjust.
2000-09-04 04:00:48 +00:00
Alexandre Oliva
de70b3ad0c * libtool.m4: Fix typo I introduced in yesterday's patch. 2000-09-04 02:08:51 +00:00
Alexandre Oliva
c82ec3eb1c * libltdl/ltdl.c (lt_dlopen): Set dlname from library_names if
dlname is empty.
2000-09-04 01:52:34 +00:00
Alexandre Oliva
4281dfe395 * ltdl.m4 (HAVE_LIBDL): Look for dlopen in -lsvld.
* ltconfig.in: Likewise.
2000-09-04 01:41:59 +00:00
Alexandre Oliva
39791a20c8 * tests/mdemo-exec.test: Modify failure message. 2000-09-04 01:20:16 +00:00
Alexandre Oliva
19b19ba7ae * ltmain.in (newdlprefiles): Use dlname if it's available and
old_library isn't; use linklib only if dlname is not available.
2000-09-04 01:18:13 +00:00
Alexandre Oliva
f4ae56e298 * ltconfig.in (enable_dlopen): Set to no when lt_cv_dlopen is no. 2000-09-04 01:12:47 +00:00
Alexandre Oliva
deaa5c5eec * libtool.m4: Don't quote CONFIG_SHELL nor ORIGINAL_CONFIG_SHELL.
Quote $@ properly so that the shell expands it, not m4.
2000-09-03 23:02:25 +00:00
Alexandre Oliva
76a616e4fb * libtool.m4: Don't quote SHELL when `re-exec'ing, so that SHELL
can be `/path/to/shell -x'.
2000-09-03 21:53:03 +00:00
Alexandre Oliva
51edf45910 * tests/quote.test: Move the match test out of case statements, to
work around bug in /bin/sh of several OSs.
2000-09-03 21:37:32 +00:00
Alexandre Oliva
dc692acce6 * ltmain.in (variables_saved_for_relink): Attempt to unset them
instead of setting them to an empty string.
2000-09-03 03:13:56 +00:00