]> git.ipfire.org Git - thirdparty/libtool.git/log
thirdparty/libtool.git
21 years agoKeywords:
Gary V. Vaughan [Thu, 8 Apr 2004 12:01:58 +0000 (12:01 +0000)] 
Keywords:

* libltdl/ltdl.h (LT_PARAMS): Removed.  Changed all users to
ANSI prototypes.
(lt_ptr): Keep backwards compatibility stub.
* libtldl/ltdl.c, libltdl/ltdl.h: Use ANSI function declarations
throughout.  s/lt_ptr/void */g.

21 years ago* m4/ltdl.m4: Rename shrext to shrext_cmds here too.
Fredrik Estreen [Thu, 8 Apr 2004 00:15:48 +0000 (00:15 +0000)] 
* m4/ltdl.m4: Rename shrext to shrext_cmds here too.

21 years agoKeywords:
Gary V. Vaughan [Tue, 6 Apr 2004 15:42:11 +0000 (15:42 +0000)] 
Keywords:

There was no clean separation of abstraction layers in libltdl.
The first step in fixing this is to factor out the memory
management abstraction, making a start on removing promiscuity
from the underlying portability layer:

* doc/libtool.texi (Libltdl interface): Remove lt_dlmalloc,
lt_dlrealloc and lt_dlfree references.  The memory management
layer used by libltdl is now private.
* libltdl/lt_system.h: New installed header for system portability
abstraction.
* libltdl/ltdl.h: Use it.
* libltdl/lt__alloc.c, libltdl/lt__alloc.h: New module above
system portability layer to abstract ltdl's memory management.
* libltdl/ltdl.c: Use lt__alloc.h.
(closedir): Use free.
(opendir): Use malloc/free.
(lt__xalloc_die_callback): Report memory failures through
lt_dlerror.
(lt_dlinit): Use it to initialise memory management.
(LT_DLMALLOC, LT_DLREALLOC, LT_DLFREE, LT_EMALLOC, LT_EREALLOC)
(rpl_strdup, rpl_realloc, lt_estrdup, lt_emalloc, lt_erealloc):
Removed in favour of...
(lt__strdup, lt__memdup, MALLOC, REALLOC, FREE): ...these calls
from libltdl/lt__alloc.h.  Changed all callers.
(rpl_argz_append, rpl_argz_create_sep, rpl_argz_insert): As part
of the portability layer, these functions no longer use libltdl
memory management API.
(free_vars): Factored out.
(LT_DLMEM_REASSIGN): While redoing memory handling, renamed...
* libltdl/lt__alloc.h (MEMREASSIGN): ...to this.
* libltdl/Makefile.am (AUTOMAKE_OPTIONS): Let automake track
dependencies automatically.
(pkgincludedir): Override from parent package's setting.
(pkginclude_HEADERS): Install lt_system.h.
(libltdl_la_SOURCES): Add new files.
* NEWS: Updated.
Reported by Dalibor Topic <robilad@kaffe.org>

21 years ago* NEWS: Add a news item about xlc support that I forgot yesterday.
Peter O'Gorman [Thu, 1 Apr 2004 04:43:56 +0000 (04:43 +0000)] 
* NEWS: Add a news item about xlc support that I forgot yesterday.

21 years ago* ltmain.in: Remove an extra eval concat_cmds that some idiot added.
Peter O'Gorman [Thu, 1 Apr 2004 04:38:11 +0000 (04:38 +0000)] 
* ltmain.in: Remove an extra eval concat_cmds that some idiot added.
Fixes double eval on AIX, reported by Albert Chin and Uwe Moeller.

21 years ago* m4/libtool.m4, ltmain.in (darwin): Support IBM's xlc and xlc++.
Peter O'Gorman [Wed, 31 Mar 2004 14:11:08 +0000 (14:11 +0000)] 
* m4/libtool.m4, ltmain.in (darwin): Support IBM's xlc and xlc++.

21 years ago* m4/libtool.m4 (_LT_LANG_C_CONFIG): If $compiler is not set, then
Gary V. Vaughan [Wed, 31 Mar 2004 08:12:59 +0000 (08:12 +0000)] 
* m4/libtool.m4 (_LT_LANG_C_CONFIG): If $compiler is not set, then
don't call the macros that test it.
(_LT_LANG_CXX_CONFIG): Ditto.
(_LT_LANG_F77_CONFIG): Ditto.
(_LT_LANG_GCJ_CONFIG): Ditto.
(_LT_LANG_RC_CONFIG): Ditto.

21 years ago* libtoolize.in (func_scan_files): sed BRE have no alternation, so
Gary V. Vaughan [Tue, 30 Mar 2004 09:38:29 +0000 (09:38 +0000)] 
* libtoolize.in (func_scan_files): sed BRE have no alternation, so
break LT_INIT matcher out.
(func_serial): Don't escape literal parens for grep BRE.

21 years ago* m4/libtool.m4 (LT_INIT): aclocal can't see AC_DEFUN_ONCE, so use
Gary V. Vaughan [Tue, 30 Mar 2004 08:29:52 +0000 (08:29 +0000)] 
* m4/libtool.m4 (LT_INIT): aclocal can't see AC_DEFUN_ONCE, so use
AC_DEFUN and m4_define.
* libtoolize.in (func_serial): No longer accept AC_DEFUN_ONCE...
(func_grep): ...so mere grep is sufficient again...
(EGREP): ...and this is no longer required.

21 years ago* m4/libtool.m4: Use LT_INIT as #serial tag.
Gary V. Vaughan [Mon, 29 Mar 2004 12:43:37 +0000 (12:43 +0000)] 
* m4/libtool.m4: Use LT_INIT as #serial tag.
* libtoolize.in: Grok LT_INIT!  Pass A[CM]_PROG_LIBTOOL to...
(func_serial_update): ...here, we now take an additional parameter
containing another regex to match ancient serialed files.
(func_serial): Accept AC_DEFUN_ONCE of the #serial tag...
(func_grep): ...which requires egrep...
(EGREP): ...substituted by config.status.
(func_scan_files): Set seen_libtool if LT_INIT goes by.

21 years ago* Makefile.am (pkgmacro_DATA): Install ltoptions.m4.
Gary V. Vaughan [Mon, 29 Mar 2004 12:03:29 +0000 (12:03 +0000)] 
* Makefile.am (pkgmacro_DATA): Install ltoptions.m4.

21 years ago* libltdl/Makefile.am (AM_CPPFLAGS): Also check $top_builddir for
Gary V. Vaughan [Mon, 29 Mar 2004 09:41:37 +0000 (09:41 +0000)] 
* libltdl/Makefile.am (AM_CPPFLAGS): Also check $top_builddir for
config.h.
(ltdl.o): config.h is in $top_builddir.

21 years ago* NEWS: Explain more fully why we no longer load libraries
Scott James Remnant [Wed, 24 Mar 2004 14:23:18 +0000 (14:23 +0000)] 
* NEWS: Explain more fully why we no longer load libraries
with global symbol resolution.
* doc/libtool.texi (libtool script contents): Add missing
documentation for 'inherit_rpath' variable.

21 years ago* configure.ac: Catch errors during calls to AC_PROG_CXX,
Scott James Remnant [Wed, 24 Mar 2004 14:10:25 +0000 (14:10 +0000)] 
* configure.ac: Catch errors during calls to AC_PROG_CXX,
AC_PROG_CXXCPP and AC_PROG_F77 before LT_INIT.  Only set the
HAVE_CXX and HAVE_F77 conditions to true if an error didn't
occur (AC_PROG_CXX leaves CXX="g++" even if it didn't find one).
Set HAVE_GCJ and HAVE_RC to true correctly as well.
* m4/libtool.m4 (LT_PROG_GCJ): If AC_PROG_GCJ or AM_PROG_GCJ are
defined, expand to the definition of those instead of our own.
Define GCJ to '' instead of 'no' if not found.
(LT_PROG_RC) Define RC to '' instead of 'no' if not found.
(_LT_LANG_GCJ_CONFIG): Require LT_PROG_GCJ to be expanded first.
(_LT_LANG_RC_CONFIG): Require LT_PROG_RC to be expanded first.

21 years ago* libltdl/ltdl.c (sys_dl_open): Don't load libraries with global
Scott James Remnant [Wed, 24 Mar 2004 04:00:46 +0000 (04:00 +0000)] 
* libltdl/ltdl.c (sys_dl_open): Don't load libraries with global
symbol resolution.
* NEWS: Updated.

21 years agofix whitespace
Albert Chin-A-Young [Wed, 24 Mar 2004 03:59:44 +0000 (03:59 +0000)] 
fix whitespace

21 years ago* m4/libtool.m4: Add new variable, inherit_rpath, if the
Albert Chin-A-Young [Wed, 24 Mar 2004 03:12:21 +0000 (03:12 +0000)] 
* m4/libtool.m4: Add new variable, inherit_rpath, if the

* m4/libtool.m4: When linking convenience libraries on Solaris

21 years ago* libtool.m4: When linking convenience libraries on Solaris
Albert Chin-A-Young [Wed, 24 Mar 2004 03:06:48 +0000 (03:06 +0000)] 
* libtool.m4: When linking convenience libraries on Solaris
with the Sun C++ compiler, pass convenience libraries through
to the linker with -Qoption between allextract/defaultextract.
The Sun C++ compiler bundles -Qoption arguments so
convenience libraries are linked with defaultextract
otherwise.
* tagdemo/Makefile.am, tagdemo/main.cpp, tagdemo/conv.h,
tagdemo/conv.cpp: Augment tagdemo test to link a convenience
library with a libtool library.

21 years ago* ltmain.in: Piecewise linking doesn't work when the output
Albert Chin-A-Young [Wed, 24 Mar 2004 03:03:05 +0000 (03:03 +0000)] 
* ltmain.in: Piecewise linking doesn't work when the output
file is an absolute path, use the basename only instead.

21 years ago* ltmain.in: When a library is installed, dependent on a
Albert Chin-A-Young [Wed, 24 Mar 2004 02:59:28 +0000 (02:59 +0000)] 
* ltmain.in: When a library is installed, dependent on a
convenience library, and it involves relinking, the object
files extracted from the convenience library are not removed
after the relink. This is a problem if you build as non-root,
install as root, then try to remove the build directory as
non-root; Clean up properly if relink fails; Change
"$realname"U to ${realname}T to be consistent.

21 years ago* ltmain.in <prog linkmode>: Always add -L options to
Scott James Remnant [Wed, 24 Mar 2004 02:35:33 +0000 (02:35 +0000)] 
* ltmain.in <prog linkmode>: Always add -L options to
$newlib_search_path instead of just in scan mode to ensure that
non-libtool libraries in user-specified directories can be found.

21 years ago* m4/libtool.m4 (_LT_CONFIG): Remove unneeded else condition
Scott James Remnant [Tue, 23 Mar 2004 00:28:29 +0000 (00:28 +0000)] 
* m4/libtool.m4 (_LT_CONFIG): Remove unneeded else condition
code, now the support determination is done in m4.
(_LT_LANG): Correct comment, unexpected leak from keybuk-lt-tag.patch.

21 years ago* libltdl/Makefile.am (libltdl_la_LDFLAGS): Increment CURRENT
Scott James Remnant [Sun, 21 Mar 2004 16:06:55 +0000 (16:06 +0000)] 
* libltdl/Makefile.am (libltdl_la_LDFLAGS): Increment CURRENT
and AGE of libltdl, warranted by the addition of lt_dlhandle_find()
since 1.5.2.

21 years agoFurther sweeping changes to the user interface to libtool from
Scott James Remnant [Sun, 21 Mar 2004 16:05:28 +0000 (16:05 +0000)] 
Further sweeping changes to the user interface to libtool from
`configure.ac' to allow users to better control the list of
supported languages.  Three LT_INIT options 'no-lang', 'all-lang'
and 'auto-lang' (the default) control the initial list and others
may be added with LT_LANG.

* m4/libtool.m4 (_LT_CONFIG): Renamed AC_LIBTOOL_CONFIG to _LT_CONFIG
which is more consistent with our own namespace and gets us further out
of Autoconf's.
(_LT_LIBTOOL_TAGS): Output available_tags variable based entirely
on the value of _LT_TAGS.
(_LT_COPYING): Call _LT_LIBTOOL_TAGS to output available tags,
always append tag configuration if the tag is available.
(LT_LANG): New macro to enable support for a language that accepts
tag names (eg. "CXX") or human language names (eg. "C++").
(_LT_LANG): Internal support macro for above that appends the
tag to _LT_TAGS and calls the appropriate config macro.
(LT_INIT): Ensure that LT_LANG is not called before LT_INIT.
(AC_LIBTOOL_TAGS): Removed, call LT_LANG for each language now.
(_LT_AC_TAG_CHECK): Removed, _LT_LANG handles duplicate calls.
(_LT_LANG_DEFAULT_CONFIG): Macro to set initial language support
based on options passed to LT_INIT.
(_LT_SETUP): Call _LT_LANG_DEFAULT_CONFIG.
(_LT_AC_TAG_CONFIG): Removed, handled by _LT_LANG_DEFAULT_CONFIG.
(_LT_AC_LANG_CXX, _LT_AC_LANG_F77, _LT_AC_LANG_GCJ): Removed,
automatic language support inclusion now handled by
_LT_LANG_DEFAULT_CONFIG.
(AC_LIBTOOL_CXX): Obsolete macro, update to LT_LANG(C++).
(AC_LIBTOOL_F77): Obsolete macro, update to LT_LANG(Fortran 77).
(AC_LIBTOOL_GCJ): Obsolete macro, update to LT_LANG(Java).
(AC_LIBTOOL_LANG_C_CONFIG_: Removed.
(_LT_AC_LANG_C_CONFIG): Renamed to _LT_LANG_C_CONFIG, call
_LT_CONFIG instead of AC_LIBTOOL_CONFIG.
(_LT_SETUP): Replace call to AC_LIBTOOL_LANG_C_CONFIG with call to
new _LT_LANG_C_CONFIG macro.
(AC_LIBTOOL_LANG_CXX_CONFIG): Removed.
(_LT_AC_LANG_CXX_CONFIG): Renamed to _LT_LANG_CXX_CONFIG, call
_LT_CONFIG instead of AC_LIBTOOL_CONFIG.
(AC_LIBTOOL_LANG_F77_CONFIG): Removed.
(_LT_AC_LANG_F77_CONFIG): Renamed to _LT_LANG_F77_CONFIG, call
_LT_CONFIG instead of AC_LIBTOOL_CONFIG.
(AC_LIBTOOL_LANG_GCJ_CONFIG): Removed.
(_LT_AC_LANG_GCJ_CONFIG): Renamed to _LT_LANG_GCJ_CONFIG, call
_LT_CONFIG instead of AC_LIBTOOL_CONFIG.
(AC_LIBTOOL_LANG_RC_CONFIG): Removed.
(_LT_AC_LANG_RC_CONFIG): Renamed to _LT_LANG_RC_CONFIG, call
_LT_CONFIG instead of AC_LIBTOOL_CONFIG.
(LT_AC_PROG_GCJ): Renamed to LT_PROG_GCJ.
(LT_AC_PROG_RC): Renamed to LT_PROG_RC.
* m4/ltoptions.m4: Define new 'no-lang', 'auto-lang' and 'all-lang'
options which set the default for _LT_LANG_DEFAULT_CONFIG.
* m4/lt~obsolete.m4: Removed AC_LIBTOOL_CONFIG, _LT_AC_LANG_C_CONFIG,
_LT_AC_LANG_GCJ_CONFIG, _LT_AC_LANG_RC_CONFIG; all of which are no
long referenced in any way.
* configure.ac: Enable all languages.
* tests/cdemo/configure.ac, tests/demo/configure,ac,
tests/depdemo/configure.ac, tests/f77demo/configure.ac,
tests/mdemo/configure.ac, tests/pdemo/configure,ac,
tests/tagdemo/configure.ac: Remove calls to AC_LIBTOOL_TAGS,
the default 'auto-lang' mode now does the right thing.
* doc/libtool.texi (The LT_INIT macro): Add documentation for
new LT_INIT options and the LT_LANG macro, replacing the old
documentation of AC_LIBTOOL_TAGS which is no more.
* NEWS: Updated.

21 years ago* m4/libtool.m4: Removed AC_BEFORE references to AC_LIBTOOL_SETUP
Scott James Remnant [Wed, 17 Mar 2004 23:32:37 +0000 (23:32 +0000)] 
* m4/libtool.m4: Removed AC_BEFORE references to AC_LIBTOOL_SETUP
which is no more.
* m4/lt~obsolete.m4: As AC_LIBTOOL_SETUP is no longer referenced,
it can be removed from this file.  Remove _AC_PROG_LIBTOOL also.

21 years ago* m4/libtool.m4: Remove newlines from lt_ld_extra, so
Ralf Wildenhues [Sun, 14 Mar 2004 15:05:37 +0000 (15:05 +0000)] 
* m4/libtool.m4: Remove newlines from lt_ld_extra, so
variable can safely be stored in config.cache.

21 years ago* m4/libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS0 [irix]: Define
Michael Pruett [Sun, 14 Mar 2004 14:48:33 +0000 (14:48 +0000)] 
* m4/libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS0 [irix]: Define
archive_expsym_cmds so that --export-symbols will work.

21 years ago* ltmain.in (link_all_deplibs,darwin): Link libraries in the
Peter O'Gorman [Sun, 14 Mar 2004 14:36:54 +0000 (14:36 +0000)] 
* ltmain.in (link_all_deplibs,darwin): Link libraries in the
correct order. Bug from Zachary Pincus <zpincus@stanford.edu>.

21 years ago* m4/ltmain.in: Only check precious_files_regex if it is not empty.
Scott James Remnant [Sun, 14 Mar 2004 14:14:32 +0000 (14:14 +0000)] 
* m4/ltmain.in: Only check precious_files_regex if it is not empty.

21 years ago* doc/libtool.texi (Autoconf and LTLIBOBJS): The correct version
Gary V. Vaughan [Sun, 14 Mar 2004 10:14:32 +0000 (10:14 +0000)] 
* doc/libtool.texi (Autoconf and LTLIBOBJS): The correct version
of Autoconf is 2.54.
From Alexandre Duret-Lutz  <adl@src.lip6.fr>

21 years ago* doc/libtool.texi (Using Automake): Cite correct Automake version
Gary V. Vaughan [Sun, 14 Mar 2004 03:53:50 +0000 (03:53 +0000)] 
* doc/libtool.texi (Using Automake): Cite correct Automake version
for -dlopen quoting.
(Autoconf and LTLIBOBJS): Cite correct Autoconf versions
throughout.
(Distributing libltdl): Use AM_CPPFLAGS; INCLUDES is deprecated.
From Alexandre Duret-Lutz  <adl@src.lip6.fr>

21 years ago* m4/libtool.m4: Disable building static libraries if building
David Edelsohn [Fri, 5 Mar 2004 20:39:21 +0000 (20:39 +0000)] 
* m4/libtool.m4: Disable building static libraries if building
shared libraries on AIX 5L.

21 years ago* libtoolize.in: Remove --ltdl-tar. It doesn't work with the
Gary V. Vaughan [Fri, 5 Mar 2004 17:34:25 +0000 (17:34 +0000)] 
* libtoolize.in: Remove --ltdl-tar.  It doesn't work with the
current implementation, and seems more or less pointless.
* doc/libtool.texi (Invoking libtoolize): Updated.
* NEWS: Updated.

21 years ago* doc/libtool.texi: This manual has not been maintained properly
Gary V. Vaughan [Fri, 5 Mar 2004 12:06:02 +0000 (12:06 +0000)] 
* doc/libtool.texi: This manual has not been maintained properly
for a number of years.  Much of what it said was outdated, or
plain wrong with reference to modern autotools.  This change
represents a first pass edit to clean up the obviously wrong.

21 years ago* bootstrap: Prune out my arch mirror dir before running
Gary V. Vaughan [Thu, 4 Mar 2004 17:45:43 +0000 (17:45 +0000)] 
* bootstrap: Prune out my arch mirror dir before running
amok through the tree with 'rm -rf'!

21 years ago* doc/libtool.texi (LT_INIT): Dumb typos fixed.
Patrick Welche [Tue, 2 Mar 2004 13:49:38 +0000 (13:49 +0000)] 
* doc/libtool.texi (LT_INIT): Dumb typos fixed.

21 years ago* ltmain.in <install mode>: Add missing --help doc for
Gary V. Vaughan [Mon, 23 Feb 2004 16:59:14 +0000 (16:59 +0000)] 
* ltmain.in <install mode>: Add missing --help doc for
-inst-prefix option.

21 years ago* ltmain.in <link mode>: Add missing --help doc for -shrext
Gary V. Vaughan [Mon, 23 Feb 2004 16:43:42 +0000 (16:43 +0000)] 
* ltmain.in <link mode>: Add missing --help doc for -shrext
option.

21 years ago* ltmain.in (IFS): Move '\n' to beginning of IFS so that emacs
Gary V. Vaughan [Mon, 23 Feb 2004 16:00:37 +0000 (16:00 +0000)] 
* ltmain.in (IFS): Move '\n' to beginning of IFS so that emacs
doesn't offer to strip trailing ' \t' on every save.

21 years ago* ltmain.in: Add missing --help doc for --preserve-dup-deps.
Gary V. Vaughan [Mon, 23 Feb 2004 15:52:18 +0000 (15:52 +0000)] 
* ltmain.in: Add missing --help doc for --preserve-dup-deps.

21 years ago* Makefile.maint (web-manual): Generate the web manual carefully
Gary V. Vaughan [Sun, 22 Feb 2004 16:12:15 +0000 (16:12 +0000)] 
* Makefile.maint (web-manual): Generate the web manual carefully
so that links will still work when it is uploaded to gnu.org.
* README-alpha: Note that this rule should be used at release
time.

21 years agoSweeping changes to the user interface to libtool from
Gary V. Vaughan [Sun, 22 Feb 2004 11:13:45 +0000 (11:13 +0000)] 
Sweeping changes to the user interface to libtool from
`configure.ac' to be more like AC_INIT and accept a space
delimited list of options.  Instead of calling `AC_LIBTOOL_DLOPEN;
AC_PROG_LIBTOOL', we now recommend `LT_INIT([dlopen])':

* m4/libtool.m4 (AC_PROG_LIBTOOL, _AC_PROG_LIBTOOL)
(AC_LIBTOOL_SETUP): Removed.  Added AU_DEFUNs.
(LT_INIT): Replace with an Autoconf like interface which accepts a
version number as a minimum required libtool release at configure
time.
* m4/ltoptions.m4: New file inspired by automake/m4/amoptions.m4,
which additionally flags an error if the configuring libtool
macros are not new enough according to LT_INIT.
(LT_OPTION_DEFINE): New macro to declare option handlers.
(dlopen, win32-dll, shared, disable-shared, static)
(disable-static, fast-install, disable-fast-install, pic-only)
(no-pic): Newly LT_OPTION_DEFINEd option handlers that use...
(_LT_ENABLE_SHARED, _LT_ENABLE_STATIC, _LT_ENABLE_FAST_INSTALL)
(_LT_WITH_PIC, _LT_WIN32_DLL): New macros to handle
LT_LIBTOOL_INIT options...
* m4/libtool.m4 (AC_ENABLE_SHARED, AC_ENABLE_STATIC)
(AC_ENABLE_FAST_INSTALL, AC_LIBTOOL_DLOPEN, AC_LIBTOOL_WIN32_DLL):
...to replace these user interface macros, now defined as
AU_DEFUNs.
(AC_DISABLE_SHARED, AC_DISABLE_STATIC, AC_DISABLE_FAST_INSTALL):
Removed.  No longer required with LT_INIT_LIBTOOL interface.
Added AU_DEFUNs.
(AM_ENABLE_SHARED, AM_DISABLE_SHARED, AM_ENABLE_STATIC)
(AM_DISABLE_STATIC): Changed AU_DEFUNs to match new interface.
(_LT_SETUP): Internal to LT_INIT, replaces AC_LIBTOOL_SETUP.
* m4/lt~obsolete.m4 (AC_LIBTOOL_SETUP, _AC_PROG_LIBTOOL)
(_LT_PROG_LTMAIN):  More AC_DEFUNs that have been retracted.
* configure.ac: Use new interface.
* doc/libtool.texi: Document new interface.
* NEWS: Updated.

21 years ago* commit (SHELL): Set it explicitly, incase some madman is using
Gary V. Vaughan [Wed, 18 Feb 2004 09:55:53 +0000 (09:55 +0000)] 
* commit (SHELL): Set it explicitly, incase some madman is using
tcsh as their login shell :-b

21 years ago* Makefile.am (m4/ltversion.m4): Generate serial number by
Scott James Remnant [Sun, 15 Feb 2004 17:57:31 +0000 (17:57 +0000)] 
* Makefile.am (m4/ltversion.m4): Generate serial number by
removing initial '1.' from the revision, replace @MACRO_SERIAL@
with this new variable.
* m4/ltversion.in: Use @MACRO_SERIAL@ for the serial number
as some shells don't like a '.' when using test.

21 years ago* m4/ltversion.in: Add a serial number to this file otherwise
Scott James Remnant [Sun, 15 Feb 2004 17:46:37 +0000 (17:46 +0000)] 
* m4/ltversion.in: Add a serial number to this file otherwise
libtoolize will refuse to copy it into $pkgdatadir, where it
is needed by m4/libtool.m4.

21 years ago* m4/libtool.m4, ltmain.in: Rename shrext to shrext_cmds.
Peter O'Gorman [Sun, 15 Feb 2004 13:30:01 +0000 (13:30 +0000)] 
* m4/libtool.m4, ltmain.in: Rename shrext to shrext_cmds.

21 years ago* ltmain.in, libtoolize.in, commit, config/mailnotify: Correctly
Scott James Remnant [Fri, 13 Feb 2004 07:26:08 +0000 (07:26 +0000)] 
* ltmain.in, libtoolize.in, commit, config/mailnotify: Correctly
quote usage of $basename and $dirname to avoid (unlikely) path
expansion.

21 years ago* tests/sh.test: Test the config/ltmain.sh and libtoolize in the
Scott James Remnant [Fri, 13 Feb 2004 01:57:52 +0000 (01:57 +0000)] 
* tests/sh.test: Test the config/ltmain.sh and libtoolize in the
build directory not the source directory, where they won't exist
during 'make distcheck'.
* ltmain.in: Revert one line of previous intendation clean-up
to enable one of the sh.test checks to pass.

21 years ago* tests/cdemo/configure.ac: Drop AC_PREREQ back to 2.54, this
Scott James Remnant [Fri, 13 Feb 2004 00:57:30 +0000 (00:57 +0000)] 
* tests/cdemo/configure.ac: Drop AC_PREREQ back to 2.54, this
was debris from Gary's cvsapply going mad and wasn't backed
out.

21 years ago* Makefile.am (pkgmacro_DATA): We have to distribute
Scott James Remnant [Fri, 13 Feb 2004 00:40:37 +0000 (00:40 +0000)] 
* Makefile.am (pkgmacro_DATA): We have to distribute
m4/ltversion.m4 because it can be needed before the Makefile
that generates it exists.

21 years ago* commit (MKSTAMP): Look for mkstamp in the right place.
Gary V. Vaughan [Fri, 13 Feb 2004 00:37:00 +0000 (00:37 +0000)] 
* commit (MKSTAMP): Look for mkstamp in the right place.

21 years ago* Makefile.maint, Makefile: Move rules intended for Libtool
Scott James Remnant [Thu, 12 Feb 2004 23:50:56 +0000 (23:50 +0000)] 
* Makefile.maint, Makefile: Move rules intended for Libtool
maintainers only out of the Makefile we distribute and into one
that we only need keep in CVS.
* README-alpha: Add -fMakefile.maint to the instructions where
needed.

21 years agoScott James Remnant <scott@netsplit.com>
Albert Chin-A-Young [Thu, 12 Feb 2004 23:47:46 +0000 (23:47 +0000)] 
Scott James Remnant  <scott@netsplit.com>

* ltmain.in: Fix typo: duplcations -> duplications,
Fix indentation of a handful of badly indented blocks,
Fix last remaining use of 'grep' to $GREP,
Remove unnecessary trailing slash where we break a line on a
command separator.
* m4/libtool.m4: Also remove unnecessary trailing slash where
we break a line on a command separator.

21 years ago* m4/ltoptions.m4: This got committed by an over-keen Gary,
Scott James Remnant [Thu, 12 Feb 2004 23:37:28 +0000 (23:37 +0000)] 
* m4/ltoptions.m4: This got committed by an over-keen Gary,
but the support for this isn't ready yet and if aclocal decides
to m4_include this (which it will) you'll get a non-functioning
libtool.  Removed.

21 years ago* ltmain.in: Remove duplicated version checking block.
Scott James Remnant [Thu, 12 Feb 2004 22:32:01 +0000 (22:32 +0000)] 
* ltmain.in: Remove duplicated version checking block.

21 years ago* bootstrap, m4/libtool.m4: Argh, Gary went crazy after cvsapply
Scott James Remnant [Thu, 12 Feb 2004 21:57:07 +0000 (21:57 +0000)] 
* bootstrap, m4/libtool.m4: Argh, Gary went crazy after cvsapply
went crazy and backed out more than he should've.  This patch puts
some of it back again.

21 years ago* ltmain.in, libtoolize.in, commit, config/mailnotify: Remove
Scott James Remnant [Thu, 12 Feb 2004 19:22:28 +0000 (19:22 +0000)] 
* ltmain.in, libtoolize.in, commit, config/mailnotify: Remove
$SED from definitions of $dirname and $basename and prefix each
use with it instead.  Some shells (zsh) treat the expansion as
a single command instead of a command with arguments.

21 years ago* config/mailnotify (func_sendmail): Look for sendmail in a
Scott James Remnant [Thu, 12 Feb 2004 19:02:28 +0000 (19:02 +0000)] 
* config/mailnotify (func_sendmail): Look for sendmail in a
couple of common non-PATH locations as well.

21 years ago* ltmain.in: Fix typo: macro's -> macros.
Scott James Remnant [Thu, 12 Feb 2004 18:41:26 +0000 (18:41 +0000)] 
* ltmain.in: Fix typo: macro's -> macros.

21 years ago* ltmain.in: Correct definition of basename sed expression to
Scott James Remnant [Thu, 12 Feb 2004 18:37:14 +0000 (18:37 +0000)] 
* ltmain.in: Correct definition of basename sed expression to
not include single quotes.

21 years ago* libtoolize.in: Use $progpath as for ltmain.in to work around the
Gary V. Vaughan [Thu, 12 Feb 2004 13:18:52 +0000 (13:18 +0000)] 
* libtoolize.in: Use $progpath as for ltmain.in to work around the
IRIX bug described below.
* commit, config/mailnotify: Ditto. Resynch with cvs-utils HEAD.

21 years ago* ltmain.in (progpath): Work around backward compatibility issue
Albert Chin-A-Young [Thu, 12 Feb 2004 12:27:46 +0000 (12:27 +0000)] 
* ltmain.in (progpath): Work around backward compatibility issue
on IRIX 6.5. On IRIX 6.4+, sh is ksh but when the shell is invoked
as "sh" and the current value of the _XPG environment variable is
not equal to 1 (one), the special positional parameter $0, within
a function call, is the name of the function. So, rather than
using "$0" in functions, we set $progpath in the body and use that
everywhere instead (incase of code refactoring later).
(EXIT_SUCCESS, EXIT_FAILURE, EXIT_MISMATCH): For clarity.

21 years ago* Makefile.am (EXTRA_DIST): Remove config/mailnotify after all; it
Gary V. Vaughan [Thu, 12 Feb 2004 00:17:00 +0000 (00:17 +0000)] 
* Makefile.am (EXTRA_DIST): Remove config/mailnotify after all; it
is of no use in a distribution tarball.

21 years ago* commit: Fix location of mkstamp script,
Gary V. Vaughan [Wed, 11 Feb 2004 15:40:40 +0000 (15:40 +0000)] 
* commit: Fix location of mkstamp script,

21 years ago* commit: Fix cut-n-paste error.
Gary V. Vaughan [Wed, 11 Feb 2004 15:21:11 +0000 (15:21 +0000)] 
* commit: Fix cut-n-paste error.

21 years ago* commit: Completely change CVS/Root->name sed script to actually
Gary V. Vaughan [Wed, 11 Feb 2004 15:04:34 +0000 (15:04 +0000)] 
* commit: Completely change CVS/Root->name sed script to actually
work when :ext: is not shown.

21 years ago* commit: Improve CVS/Root->name sed script to work when :ext: is
Gary V. Vaughan [Wed, 11 Feb 2004 13:29:09 +0000 (13:29 +0000)] 
* commit: Improve CVS/Root->name sed script to work when :ext: is
not shown.

21 years ago* m4/libtool.m4: Fix typo: testring -> teststring.
Albert Chin-A-Young [Wed, 11 Feb 2004 12:55:52 +0000 (12:55 +0000)] 
* m4/libtool.m4: Fix typo: testring -> teststring.

21 years ago* commit: Mail a nicer commit notification.
Gary V. Vaughan [Wed, 11 Feb 2004 12:51:02 +0000 (12:51 +0000)] 
* commit: Mail a nicer commit notification.

21 years agofile mailnotify was initially added on branch branch-1-5.
Gary V. Vaughan [Wed, 11 Feb 2004 12:24:59 +0000 (12:24 +0000)] 
file mailnotify was initially added on branch branch-1-5.

21 years ago* NEWS, bootstrap, configure.ac, ltmain.in, m4/libtool.m4:
Gary V. Vaughan [Tue, 10 Feb 2004 20:45:41 +0000 (20:45 +0000)] 
* NEWS, bootstrap, configure.ac, ltmain.in, m4/libtool.m4:
* m4/lt~obsolete.m4, tests/cdemo/configure.ac: Arghh.  cvsapply just
went crazy and committed a bunch of stuff that shouldn't have been
in the last changeset.  The patch backs it all out.

21 years ago* config/mailnotify: New file for mailing commit notifications,
Gary V. Vaughan [Tue, 10 Feb 2004 19:47:00 +0000 (19:47 +0000)] 
* config/mailnotify: New file for mailing commit notifications,
imported from cvs-utils.
* commit: Updated from cvs-utils and tweaked for libtool.
* Makefile.am (EXTRA_DIST): Add config/mailnotify.

21 years ago* bootstrap: Remove vcl.tmp, otherwise it can interfere with make.
Gary V. Vaughan [Fri, 6 Feb 2004 18:15:15 +0000 (18:15 +0000)] 
* bootstrap: Remove vcl.tmp, otherwise it can interfere with make.
* Makefile.am (vcl.tmp): Move comment out of multi-line command,
as this rule is called from bootstrap as if it were a Makefile.

21 years ago* m4/ltversion.in: New file to capture what version number macros
Gary V. Vaughan [Fri, 6 Feb 2004 17:23:40 +0000 (17:23 +0000)] 
* m4/ltversion.in: New file to capture what version number macros
are being used.
* Makefile.am (m4/ltversion.m4): New rule to create it from
m4/ltversion.in.
(nodist_pkgmacro_DATA): Add m4/ltversion.m4.
(EXTRA_DIST): Add m4/ltversion.in.
* m4/libtool.m4 (AC_LIBTOOL_SETUP): AC_REQUIRE LTVERSION_VERSION
from ltversion.m4.
* bootstrap: Call the Makefile.am to create an initial
m4/ltversion.m4.
* ltmain.in: Diagnose version mismatches of various flavours.
* TODO: Remove mismatch item.
* NEWS: Updated.

21 years ago* Makefile.am ($(top_builddir)/config.status): Removed.
Gary V. Vaughan [Fri, 6 Feb 2004 16:11:26 +0000 (16:11 +0000)] 
* Makefile.am ($(top_builddir)/config.status): Removed.
* configure.ac (CONFIG_STATUS_DEPENDENCIES): This substitution is
how automake-1.8 now informs all Makefiles when config.status
needs to be rebuilt.
Reported by Alexandre Duret-Lutz <adl@src.lip6.fr>

21 years ago* configure.ac (AC_CONFIG_FILES): Generate libtoolize from here.
Gary V. Vaughan [Fri, 6 Feb 2004 14:51:56 +0000 (14:51 +0000)] 
* configure.ac (AC_CONFIG_FILES): Generate libtoolize from here.
* Makefile.am (libtool, libtoolize): These rules are redundant.
Automake generates better rules for remaking these files.

21 years ago* m4/libtool.m4 (AC_LIBTOOL_SETUP): Catch unexpanded macros with
Gary V. Vaughan [Fri, 6 Feb 2004 14:38:56 +0000 (14:38 +0000)] 
* m4/libtool.m4 (AC_LIBTOOL_SETUP): Catch unexpanded macros with
beginning with LT_ and _LT_.
* configure.ac (LT_MAJOR, LT_MINOR, LT_MICRO, LT_ALPHA): Renamed
to lt_major, lt_minor, lt_micro, lt_alpha to save triggering the
unexpanded macros error.

21 years ago* m4/libtool.m4 (AC_PROVIDE_IFELSE): Removed. We now require
Gary V. Vaughan [Fri, 6 Feb 2004 14:12:10 +0000 (14:12 +0000)] 
* m4/libtool.m4 (AC_PROVIDE_IFELSE): Removed.  We now require
Autoconf 2.58, which ships this macro anyway.

21 years ago* Makefile.am: Comment typo.
Gary V. Vaughan [Fri, 6 Feb 2004 14:03:52 +0000 (14:03 +0000)] 
* Makefile.am: Comment typo.

21 years ago* m4/libtool.m4 (LT_PREREQ): Declare the minimum release number
Gary V. Vaughan [Fri, 6 Feb 2004 13:58:06 +0000 (13:58 +0000)] 
* m4/libtool.m4 (LT_PREREQ): Declare the minimum release number
that is required for the calling code.
* doc/libtool.texi (AC_PROG_LIBTOOL): Document it.
* NEWS: Updated.

21 years ago* ltmain.in (infer_tag, win32_libid): Style changes. Rename
Peter O'Gorman [Thu, 5 Feb 2004 14:53:16 +0000 (14:53 +0000)] 
* ltmain.in (infer_tag, win32_libid): Style changes. Rename
infer_tag to func_infer_tag and win32_libid to func_win32_libid.
* m4/libtool.m4 (cygwin): rename win32_libid to func_win32_libid.

21 years ago* ltmain.in (infer_tag): Move tag inferrence to a shell function.
Peter O'Gorman [Wed, 4 Feb 2004 14:39:02 +0000 (14:39 +0000)] 
* ltmain.in (infer_tag): Move tag inferrence to a shell function.
Also test $base_compile against $CC with escaped arguments. Bug
reported by Geoff Keating <geoffk@apple.com>.

21 years ago* Makefile.am (install-data-hook): Manually make config.guess
Scott James Remnant [Tue, 3 Feb 2004 22:05:07 +0000 (22:05 +0000)] 
* Makefile.am (install-data-hook): Manually make config.guess
and config.sub executable after they are installed as _DATA.
We can't use _SCRIPTS because the various program name
transforms may be applied to them.
(dist_pkgdata_DATA): List config.guess and config.sub here
(pkgdata_SCRIPTS): instead of here.

21 years ago* ltmain.in: Create temporary directory under a strict umask
Scott James Remnant [Tue, 3 Feb 2004 22:02:51 +0000 (22:02 +0000)] 
* ltmain.in: Create temporary directory under a strict umask
rather than running chmod afterwards, preventing a race
condition where the directory could be replaced with a symbolic
link in the time between the two commands.

21 years ago* m4/libtool.m4 (_LT_CONFIG_STATUS_DECLARE): Change `echo to
Peter O'Gorman [Sat, 31 Jan 2004 12:03:29 +0000 (12:03 +0000)] 
* m4/libtool.m4 (_LT_CONFIG_STATUS_DECLARE): Change `echo to
`$echo, causes problems when builtin echo is broken. Reported
by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>.

21 years agoThis fixes release procedure problems discovered whilst making
Scott James Remnant [Tue, 27 Jan 2004 12:38:47 +0000 (12:38 +0000)] 
This fixes release procedure problems discovered whilst making
the 1.5.2 release.

* Makefile.am (cvs-dist): Because we check whether ChangeLog
has been committed, this rule can't be run with uncommitted
source so we can't run 'commit' and don't need to run
'make dist' a second time.  Fix CVS tag as it should be
"release-X" not "Release-X".
(cvs_commit): New rule for the cvs-release chain that runs
'commit'
(cvs-release): Depend on cvs-commit, depend on deltas instead of
cvs-diff and xdelta.
(cvs-diff): Removed, replaced with delta-diff.
(delta-diff): Unpack and diff the old and new tarballs rather
than using CVS, so we get a genuinely complete diff.
(xdelta): Removed, replaced with delta-xdelta.
(got-xdelta): New rule for improved reading.
(delta-xdiff): Copied and cleaned up version of old xdelta rule.
(deltas): Depends on delta-diff and delta-xdelta (make deltas).
(cvs-news): Don't depend on timestamps, cvs-dist itself does now.
(prev-tarball): This is the only place we need a LASTRELEASE check
so copy the code here and remove the CHECK_RELEASE variable.
(new-tarball): Check there's a new tarball (did cvs-dist work?)
(FETCHFILES): Remove obsolete libltdl mentions.
* README-alpha: Update CVS instructions as everything's changed
on Savannah.
(Release procedure): Update NEWS and ChangeLog after changing
the version number (both times); Run 'make fetch' after running
'configure' (difficult to do it beforehand); Require 'commit'
before 'make cvs-dist' as that checks ChangeLog is committed;
'make deltas' instead of 'cvs-diff' and 'xdelta', pass LASTRELEASE
to make instead of OLDVERSION (and it's mandatory); Clean up
uploading paragraph; Clearer announcement sending instruction;
Removed ftp-upload@gnu.org mail as that's not necessary now;
Make web page updating instructions a bit clearer; Add an instruction
to update the manual for non-alphas.
(Alpha release note template): Add a Subject; update CVS instructions.
(Full release note template): Add a Subject; update CVS instructions.
* configure.ac: Add dist-bzip2 to AM_INIT_AUTOMAKE as we talk
about bz2 files in our release announcements; remove old reference
to OLDVERSION.

21 years ago* NEWS: Include 1.5.2 release information.
Scott James Remnant [Sun, 25 Jan 2004 13:41:21 +0000 (13:41 +0000)] 
* NEWS: Include 1.5.2 release information.

21 years agoThis fixes a bug in the libtoolize ltdl source installation rules,
Gary V. Vaughan [Thu, 22 Jan 2004 22:25:43 +0000 (22:25 +0000)] 
This fixes a bug in the libtoolize ltdl source installation rules,
which were copying Makefile.in from the libtool tree into the
package running libtoolize.  Now we explicitly list the files to
copy to force the package to generate its own Makefile.in:

* libltdl/Makefile.am (libltdl_la_SOURCES, libltdlc_la_SOURCES):
Add ltdl.h.
(ltdldatadir): New variable for installation directory of
libtoolize --ltdl files.
(ltdldata_DATA): Tell automake what files to copy there at install
time (and remove at unistall time!).
(local-install-files): Removed.  This hack is not required
anymore, the automake generated install rules are much more
advanced than this.
* Makefile.am (install-data-hook, uninstall-local): Removed.
Libltdl files for libtoolize are installed by their own Makefile
now.

21 years ago* m4/libtool.m4 (AC_LIBTOOL_PROG_CC_C_O): Some compilers
Jeff Squyres [Thu, 22 Jan 2004 19:01:19 +0000 (19:01 +0000)] 
* m4/libtool.m4 (AC_LIBTOOL_PROG_CC_C_O): Some compilers
(e.g. Intel Linux icc compiler) write temporary files to the current
directory. These compilers do support -c and -o simultaneously but
wrongly fail the test due to the failure to create temporary
files. It is incorrect to penalize compilers which write temporary
files to the current directory so the 'chmod -w .' is therefore
removed.

21 years ago* m4/libtool.m4 (LT_AC_PROG_EGREP): Wrapper for AC_PROG_GREP.
Gary V. Vaughan [Thu, 22 Jan 2004 15:27:25 +0000 (15:27 +0000)] 
* m4/libtool.m4 (LT_AC_PROG_EGREP): Wrapper for AC_PROG_GREP.
AIX has a brain-dead grep that only handles lines < 2048
characters.  Default GREP incase we are not using a future
autoconf that sets it for us :-)  Changed all callers to use $GREP
instead of grep, and to AC_REQUIRE LT_AC_PROG_EGREP.
Declare GREP as a libtool config var.
* ltmain.in: Use it.
* tests/sh.test (scripts): Accept `if $GREP "^foo=bar"' by
tightening the regexp.
Reported by Albert Chin-A-Young  <china@thewrittenword.com>

21 years ago* m4/libtool.m4 (AC_LIBTOOL_SYS_DYNAMIC_LINKER) [netbsd*]: Remove
Nick Hudson [Wed, 21 Jan 2004 14:38:54 +0000 (14:38 +0000)] 
* m4/libtool.m4 (AC_LIBTOOL_SYS_DYNAMIC_LINKER) [netbsd*]: Remove
gratuitous ${libname}${release}${shared_ext} from
library_names_spec.

21 years ago* m4/libtool.m4 (AC_PROG_LD_RELOAD_FLAG): On darwin change the
Peter O'Gorman [Wed, 21 Jan 2004 14:16:34 +0000 (14:16 +0000)] 
* m4/libtool.m4 (AC_PROG_LD_RELOAD_FLAG): On darwin change the
reload_cmds to use $CC, otherwise ld will thin out any fat
objects.

21 years ago* ltmain.in: Fix handling of frameworks in search paths. Also
Benjamin Reed [Mon, 19 Jan 2004 04:57:26 +0000 (04:57 +0000)] 
* ltmain.in: Fix handling of frameworks in search paths.  Also
a one-liner fix to eval shrext in the libtool library search.

21 years ago* configure.ac (AM_INIT_AUTOMAKE): Require 1.8 for bootstrap, or
Gary V. Vaughan [Fri, 16 Jan 2004 22:42:26 +0000 (22:42 +0000)] 
* configure.ac (AM_INIT_AUTOMAKE): Require 1.8 for bootstrap, or
else aclocal.m4 is huge, and m4 directory is not distributed.

21 years ago* configure.ac (AC_CONFIG_HEADERS): Create config.h in
Gary V. Vaughan [Fri, 16 Jan 2004 22:03:19 +0000 (22:03 +0000)] 
* configure.ac (AC_CONFIG_HEADERS): Create config.h in
$top_srcdir.
* m4/ltdl.m4 (AC_LIB_LTDL): Run AC_CONFIG_HEADERS for the user if
necessary. Calculate filename from first argument to
AC_CONFIG_HEADERS, and substitute as CONFIG_H.
* libltdl/Makefile.am (AM_CPPFLAGS): Make sure we are searching in
$top_srcdir for headers.
(DEFS): Override the default HAVE_CONFIG_H with the config.h
filename.
(ltdl.lo): Reference config.h via $(CONFIG_H).
* libltdl/ltdl.c (HAVE_CONFIG_H): Ditto.

21 years ago* m4/lt~obsolete.m4: Add a file containing aclocal-fooling
Scott James Remnant [Thu, 15 Jan 2004 19:16:51 +0000 (19:16 +0000)] 
* m4/lt~obsolete.m4: Add a file containing aclocal-fooling
macro definitions which stop the contents of an installed
libtool.m4 ending up in our aclocal.m4 when we bootstrap.
* Makefile.am (pkgmacro_DATA): Note that we don't need to add
lt~obsolete.m4 to this list.

* m4/libtool.m4 (_LT_COPYING): Factor out copyright message so it

21 years ago(AC_LIBTOOL_CONFIG): Refactor to be more readable. Only add
Gary V. Vaughan [Thu, 15 Jan 2004 08:36:48 +0000 (08:36 +0000)] 
(AC_LIBTOOL_CONFIG): Refactor to be more readable.  Only add
tags if a compiler was found; ie if you have no gcj compiler,
don't tack the GCJ tag onto the generated libtool script.

21 years ago* m4/libtool.m4: Quote shrext as it is evaled in ltmain.
Peter O'Gorman [Tue, 13 Jan 2004 12:24:52 +0000 (12:24 +0000)] 
* m4/libtool.m4: Quote shrext as it is evaled in ltmain.

21 years ago* ltmain.in: new -precious-files-regex link mode option
Scott James Remnant [Mon, 12 Jan 2004 02:32:50 +0000 (02:32 +0000)] 
* ltmain.in: new -precious-files-regex link mode option
to prevent removal of matching files from the temporary
output directory.
(Debian Bug #221420)
* doc/libtool.texi: document the new option.
* NEWS: announce the new option.

21 years ago* libtoolize.in (func_copy_all_files): s/xfunc_copy/Xfunc_copy.
Gary V. Vaughan [Sun, 11 Jan 2004 23:24:02 +0000 (23:24 +0000)] 
* libtoolize.in (func_copy_all_files): s/xfunc_copy/Xfunc_copy.
Now the test can actually succeed sometimes.