]> git.ipfire.org Git - thirdparty/libtool.git/log
thirdparty/libtool.git
21 years ago* Makefile.am (config/ltmain.sh): Note the dependency on the
Gary V. Vaughan [Tue, 25 Nov 2003 16:41:44 +0000 (16:41 +0000)] 
* Makefile.am (config/ltmain.sh): Note the dependency on the
timestamp in ChangeLog so we don't ship libtools that report the
wrong version number :-/

21 years ago* bootstrap: Explain automake and autoconf version dependencies
Gary V. Vaughan [Tue, 25 Nov 2003 15:48:23 +0000 (15:48 +0000)] 
* bootstrap: Explain automake and autoconf version dependencies
truthfully, and the difference between bootstrap and user
dependencies.
* configure.ac (AM_INIT_AUTOMAKE): List AUTOMAKE_OPTIONS here.
* Makefile.am, doc/Makefile.am, tests/Makefile.am
(AUTOMAKE_OPTIONS): Removed from here.

21 years ago* tests/defs (func_configure): cdemo, demo and mdemo are shows
Gary V. Vaughan [Mon, 24 Nov 2003 15:26:56 +0000 (15:26 +0000)] 
* tests/defs (func_configure): cdemo, demo and mdemo are shows
signs of indeterminacy for some users.  Be more verbose during
failure to help track down the cause.

21 years ago* ltmain.in: Test $old_striplib before using it, not $striplib.
Peter O'Gorman [Sat, 22 Nov 2003 14:12:57 +0000 (14:12 +0000)] 
* ltmain.in: Test $old_striplib before using it, not $striplib.

21 years ago* tests/demo-hardcode.test: Call ./libtool not libtool.
Peter O'Gorman [Sat, 22 Nov 2003 14:09:14 +0000 (14:09 +0000)] 
* tests/demo-hardcode.test: Call ./libtool not libtool.

21 years ago* ltmain.in: Move eval to after command separation to allow ~ in paths.
Peter O'Gorman [Sat, 22 Nov 2003 14:03:35 +0000 (14:03 +0000)] 
* ltmain.in: Move eval to after command separation to allow ~ in paths.

21 years ago* ltmain.in: Check for module_cmds if max_cmd_len is exceeded too.
Peter O'Gorman [Sat, 22 Nov 2003 13:58:35 +0000 (13:58 +0000)] 
* ltmain.in: Check for module_cmds if max_cmd_len is exceeded too.

21 years ago* configure.ac (LASTRELEASE): Calculate it as best as we can from
Gary V. Vaughan [Sat, 22 Nov 2003 10:03:13 +0000 (10:03 +0000)] 
* configure.ac (LASTRELEASE): Calculate it as best as we can from
AC_PACKAGE_VERSION.
* Makefile.am (distdir): Remove dependency on timestamps so that
it is possible to roll a dist without contacting the cvs server.
Use `make cvs-release' for that.
(cvs-news): Extracted from cvs-dist.
(cvs-dist): Depend on cvs-news.
(CHECK_LASTRELEASE): Check LASTRELEASE has been set.
(prev-tarball): New rule.  Use LASTRELEASE to make sure the
previous release tarball is present.
(cvs-diff): Use CHECK_LASTRELEASE.
(xdelta): Ditto.
(cvs-release): Depend on prev-tarball, timestamps, cvs-news and
fetch. Provided you set LASTRELEASE appropriately, making a full
cvs release is just a matter of `make cvs-release', and submitting
the files to ftp-upload.

21 years ago* m4/libtool.m4 (_LT_PROG_LTMAIN): Ensure config.status has a
Gary V. Vaughan [Wed, 19 Nov 2003 17:58:40 +0000 (17:58 +0000)] 
* m4/libtool.m4 (_LT_PROG_LTMAIN): Ensure config.status has a
value for `ac_aux_dir' when automake is not used.
Reported by Patrick Welche <prlw1@newn.cam.ac.uk>.

21 years ago* configure.ac (AC_PREREQ): AS_HELP_STRING was introduced after
Gary V. Vaughan [Wed, 19 Nov 2003 12:55:47 +0000 (12:55 +0000)] 
* configure.ac (AC_PREREQ): AS_HELP_STRING was introduced after
autoconf-2.57 was released.

21 years ago* libltdl/ltdl.c (lt_dlhandle_find): New function to find a handle
Gary V. Vaughan [Tue, 18 Nov 2003 22:39:39 +0000 (22:39 +0000)] 
* libltdl/ltdl.c (lt_dlhandle_find): New function to find a handle
by module name.
* libltdl/ltdl.h (lt_dlhandle_find): Declare it.
* doc/libtool.texi (User defined module data): Document it.
* NEWS: Updated.

21 years ago* m4/libtool.m4 (AC_LIBTOOL_SETUP): Uncomment call to
Gary V. Vaughan [Mon, 17 Nov 2003 17:20:09 +0000 (17:20 +0000)] 
* m4/libtool.m4 (AC_LIBTOOL_SETUP): Uncomment call to
_LT_CONFIG_COMMANDS.
(_LT_AC_TAG_CONFIG, AC_LIBTOOL_CONFIG): Accumulate tag generation
for `config.status' using _LT_CONFIG_SAVE_COMMANDS.  Remove
AC_MSG_NOTICE noise now that libtool is generated by a single
config.status tag.
* Makefile.am (libtool): Specify CONFIG_COMMANDS properly now that
libtool is generated in one pass.

21 years ago* configure.ac (CONF_SUBDIRS): Make these relative to
Gary V. Vaughan [Mon, 17 Nov 2003 15:49:06 +0000 (15:49 +0000)] 
* configure.ac (CONF_SUBDIRS): Make these relative to
tests/Makefile.am.
(DIST_MAKEFILE_LIST): Adjust to compensate for having removed the
`tests/' part in CONF_SUBDIRS.
* tests/Makefile.am (DIST_SUBDIRS): Distribute these directories.
(SUBDIRS): Set to `.', a NOP, to workaround an automake bug which
ignores DIST_SUBDIRS unless SUBDIRS is also set.
* Makefile.am (DIST_SUBDIRS): Don't try to distribute the tests
subdirectories from here, since the recursive automake dist rule
only works with direct child directories.  Defer to
tests/Makefile.am in this case.

21 years ago* ltmain.in: In compile mode, delay parsing of -shared, -static,
Scott James Remnant [Mon, 17 Nov 2003 11:19:07 +0000 (11:19 +0000)] 
* ltmain.in: In compile mode, delay parsing of -shared, -static,
-prefer-pic and -prefer-non-pic until after tagged configuration
has been read.  In link mode, read tagged configuration before
parsing any arguments.  These arguments will now work when using
a non-C compiler.

21 years ago* NEWS: Mention AC_LIBTOOL_TAGS.
Gary V. Vaughan [Fri, 14 Nov 2003 17:33:04 +0000 (17:33 +0000)] 
* NEWS: Mention AC_LIBTOOL_TAGS.

21 years ago* Makefile.am (EXTRA_DIST): List ChangeLog files correctly.
Gary V. Vaughan [Fri, 14 Nov 2003 17:31:23 +0000 (17:31 +0000)] 
* Makefile.am (EXTRA_DIST): List ChangeLog files correctly.

21 years ago* tests/cdemo/configure.ac, tests/demo/configure.ac,
Gary V. Vaughan [Fri, 14 Nov 2003 17:28:29 +0000 (17:28 +0000)] 
* tests/cdemo/configure.ac, tests/demo/configure.ac,
tests/depdemo/configure.ac, tests/f77demo/configure.ac,
tests/mdemo/configure.ac, tests/mdemo2/configure.ac,
tests/pdemo/configure.ac, tests/tagdemo/configure.ac: Declare just
the tags we need using AC_LIBTOOL_TAGS, reducing the size of the
configure script by 50% in most cases.

21 years ago* doc/libtool.texi (Libltdl interface): libltdl does in fact load
Marius Vollmer [Fri, 14 Nov 2003 15:14:11 +0000 (15:14 +0000)] 
* doc/libtool.texi (Libltdl interface): libltdl does in fact load
dependency libs for lt_dlopen()ed modules.

21 years agoRun our configure.ac files through Autoconf 2.59's autoupdate, and
Gary V. Vaughan [Fri, 14 Nov 2003 11:12:22 +0000 (11:12 +0000)] 
Run our configure.ac files through Autoconf 2.59's autoupdate, and
then tweak the results by hand:

* m4/libtool.m4 (AC_PROG_LD): In common with all the other
AC_PROG_ macros, AC_SUBST the discovered LD.
(AC_PROG_NM): Similarly for NM.
(LT_AC_PROG_SED): Similarly for SED.
* configure.ac: No need to SUBST NM and LD manually any more.
(AC_PREREQ): Conservatively downgrade from 2.59 to 2.54.
* tests/cdemo/configure.ac, tests/demo/configure.ac,
tests/depdemo/configure.ac, tests/f77demo/configure.ac,
tests/mdemo/configure.ac, tests/mdemo2/configure.ac,
tests/pdemo/configure.ac, tests/tagdemo/configure.ac: Ditto.
* m4/libtool.m4 (AM_PROG_LIBTOOL, AM_ENABLE_SHARED,
AM_ENABLE_STATIC, AM_DISABLE_SHARED, AM_DISABLE_STATIC,
AM_PROG_LD, AM_PROG_NM): AU_DEFUN these macros so autoupdate can
use the newer definitions.

21 years agoThe rules for uploading releases to gnu.org have been updated, and
Gary V. Vaughan [Wed, 12 Nov 2003 18:37:26 +0000 (18:37 +0000)] 
The rules for uploading releases to gnu.org have been updated, and
are in fact now rather complicated.  This delta updates the
release instructions to the describe the new process, and updates
the maintainer rules to help automate many of the steps:

* README-alpha: Updated release instructions.
* Makefile.am (GPG): Name of the program for generating signatures
for files to be uploaded.
(XDELTA, XDELTA_OPTIONS): Invocation of xdelta.
(cvs-dist): Run distcheck before tagging the cvs tree incase
distcheck fails, and then generate the gpg signature files.
(cvs-diff): Generate the gpg signature files for the diff.
(xdelta): New rule for generating the xdelta diffs and associated
gpg signature files.
(cvs-release): New rule to do all of the above, if you don't mind
typing your gpg passphrase over and over again. :-)
(fetch): New rule inspired by automakes similar rule for updating
files maintained outside the project.
* config/config.guess, config/config.sub: Updated with the new
fetch rule.

21 years ago* libltdl/ltdl.c (lt_dlinit): Save a function call for each loader
Gary V. Vaughan [Tue, 11 Nov 2003 16:53:31 +0000 (16:53 +0000)] 
* libltdl/ltdl.c (lt_dlinit): Save a function call for each loader
added to the list, in exchange for appending loaders to the list
with O(N) rather than O(1).  The longest the loader list can ever
get is 4 (on cygwin with dld installed) so it probably constitutes
a small speedup, in addition to making the code much more readable.

21 years ago* m4/libtool.m4 (AC_LIBTOOL_SETUP): Don't define the value for
Gary V. Vaughan [Tue, 11 Nov 2003 16:49:32 +0000 (16:49 +0000)] 
* m4/libtool.m4 (AC_LIBTOOL_SETUP): Don't define the value for
ltmain unconditionally.
(_LT_PROG_LTMAIN): New macro to ensure that the
shell variable `ltmain' actually points at a suitable `ltmain.sh'.
(_AC_PROG_LIBTOOL): Require it.
(AC_LIBTOOL_CONFIG, _LT_AC_TAG_CONFIG): Invoke it.
* Makefile.am (libtool): ltmain.sh is in the build tree.
* libltdl/configure.ac: Ditto.

21 years ago* ltmain.in: Add -pthread and similar to $deplibs ($compile_deplibs
Scott James Remnant [Mon, 10 Nov 2003 21:06:49 +0000 (21:06 +0000)] 
* ltmain.in: Add -pthread and similar to $deplibs ($compile_deplibs
and $finalize_deplibs for programs) when found on the command line
or in a .la file's dependency_libs (but don't place them there) so
they are honoured when linking both programs and libraries.

21 years agoI got this right ... then I went back to revert the change and make sure it applied...
Scott James Remnant [Mon, 10 Nov 2003 21:05:26 +0000 (21:05 +0000)] 
I got this right ... then I went back to revert the change and make sure it applied again and forgot to change the data again, oops

21 years ago* m4/libtool.m4 (AC_LIBTOOL_SYS_DYNAMIC_LINKER) [linux]: Include
Scott James Remnant [Mon, 10 Nov 2003 21:04:48 +0000 (21:04 +0000)] 
* m4/libtool.m4  (AC_LIBTOOL_SYS_DYNAMIC_LINKER) [linux]: Include
directories found in /etc/ld.so.conf in sys_lib_dlsearch_path_spec.

21 years ago* ltmain.in (linkalldeplibs,darwin): Fix a bug reported by Idar
Peter O'Gorman [Sun, 9 Nov 2003 14:54:52 +0000 (14:54 +0000)] 
* ltmain.in (linkalldeplibs,darwin): Fix a bug reported by Idar
Tollefsen where a dir could be added to the link line with no '-L'
on darwin.

21 years ago* config/config.guess, config/config.sub: Doh! Accidentally overwrote
Gary V. Vaughan [Fri, 7 Nov 2003 16:27:51 +0000 (16:27 +0000)] 
* config/config.guess, config/config.sub: Doh! Accidentally overwrote
these again with the last commit.  Restored.

21 years ago* tests/cdemo/configure.ac, tests/demo/configure.ac,
Gary V. Vaughan [Fri, 7 Nov 2003 16:25:57 +0000 (16:25 +0000)] 
* tests/cdemo/configure.ac, tests/demo/configure.ac,
tests/depdemo/configure.ac, tests/f77demo/configure.ac,
tests/mdemo/configure.ac, tests/mdemo2/configure.ac,
tests/pdemo/configure.ac, tests/tagdemo/configure.ac:
s/AM_PROG_LIBTOOL/AC_PROG_LIBTOOL/. Marching boldly into the 21th
century :-$

21 years ago* m4/libtool.m4 (AC_LIBTOOL_TAGS, AC_ENABLE_SHARED,
Gary V. Vaughan [Fri, 7 Nov 2003 16:08:53 +0000 (16:08 +0000)] 
* m4/libtool.m4 (AC_LIBTOOL_TAGS, AC_ENABLE_SHARED,
AC_DISABLE_SHARED, AC_ENABLE_STATIC, AC_DISABLE_STATIC,
AC_ENABLE_FAST_INSTALL, AC_DISABLE_FAST_INSTALL, AM_PROG_LIBTOOL,
AM_ENABLE_SHARED, AM_ENABLE_STATIC, AM_DISABLE_SHARED,
AM_DISABLE_STATIC): These macros must be AC_DEFUNed after all,
otherwise aclocal can't find them when it tries to construct
`aclocal.m4'.

21 years ago* Makefile.am (install-data-local): Wipe out old installation
Gary V. Vaughan [Fri, 7 Nov 2003 15:11:51 +0000 (15:11 +0000)] 
* Makefile.am (install-data-local): Wipe out old installation
pkgdatadir before installing new files.
* NEWS: Updated.

21 years ago* m4/libtoolize.in (func_scan_files): If libtoolize is run before
Gary V. Vaughan [Fri, 7 Nov 2003 14:04:16 +0000 (14:04 +0000)] 
* m4/libtoolize.in (func_scan_files): If libtoolize is run before
automake has created install-sh and configure.ac does not mention
AC_CONFIG_AUX_DIR, fall back to the current directory for auxdir.

21 years ago* m4/libtool.m4 (AC_DEPLIBS_CHECK_METHOD) [GNU/KNetBSD]: Detect
Robert Millan [Fri, 7 Nov 2003 03:18:16 +0000 (03:18 +0000)] 
* m4/libtool.m4 (AC_DEPLIBS_CHECK_METHOD) [GNU/KNetBSD]: Detect
inter-library dependencies.

21 years agoRetro-actively go back and fix the mistakes I made on my first commits...
Scott James Remnant [Fri, 7 Nov 2003 03:14:10 +0000 (03:14 +0000)] 
Retro-actively go back and fix the mistakes I made on my first commits...

 * Adjust ChangeLog dates to be when I committed, not when I posted
   the patches.
 * Adjust name/e-mail in ChangeLog to be the authors of the patches.
 * Add missing NEWS entry for Owen's patch.

21 years ago* m4/libtool.m4 (_LT_AC_FILE_LTDLL_C): Removed; no longer in use.
Gary V. Vaughan [Thu, 6 Nov 2003 18:52:01 +0000 (18:52 +0000)] 
* m4/libtool.m4 (_LT_AC_FILE_LTDLL_C): Removed; no longer in use.

21 years ago* m4/libtool.m4: s/ifelse(/m4_if(/g
Gary V. Vaughan [Thu, 6 Nov 2003 18:50:24 +0000 (18:50 +0000)] 
* m4/libtool.m4: s/ifelse(/m4_if(/g
(_LT_AC_SYS_LIBPATH_AIX, _LT_AC_SHELL_INIT,
_LT_AC_PROG_ECHO_BACKSLASH, AC_LIBTOOL_LINKER_OPTION,
AC_LIBTOOL_TAGS, _LT_AC_TAG_CHECK, _LT_AC_TAG_CONFIG,
AC_ENABLE_SHARED, AC_DISABLE_SHARED, AC_ENABLE_STATIC,
AC_DISABLE_STATIC, AC_ENABLE_FAST_INSTALL,
AC_DISABLE_FAST_INSTALL, _LT_AC_LANG_C_CONFIG,
_LT_AC_LANG_GCJ_CONFIG, _LT_AC_LANG_RC_CONFIG, AC_LIBTOOL_CONFIG,
_LT_AC_TAGVAR, AM_PROG_LIBTOOL, AM_ENABLE_SHARED,
AM_ENABLE_STATIC, AM_DISABLE_SHARED, AM_DISABLE_STATIC): Use
m4_define instead of AC_DEFUN for internal macros that do not
AC_PROVIDE or AC_REQUIRE, and documented user macros that cannot
be AC_REQUIREd because they need arguments, or because that would
violate the documented API.

21 years ago* m4/libtool.m4 (AC_LIBTOOL_SETUP): Add a new
Gary V. Vaughan [Thu, 6 Nov 2003 18:34:22 +0000 (18:34 +0000)] 
* m4/libtool.m4 (AC_LIBTOOL_SETUP): Add a new
delay_single_quote_subst sed script to quote single quotes in
variables that are copied to `config.status'.
(_LT_CONFIG_STATUS_DECLARE): New macro to apply
delay_single_quote_subst to a named variable.
(AC_LIBTOOL_CONFIG): Use _LT_CONFIG_STATUS_DECLARE to declare all
`configure' variables that are copied to `config.status'.
(AC_LIBTOOL_PROG_COMPILER_PIC): Fix a quoting bug exposed by
_LT_CONFIG_STATUS_DECLARE using the null quadrigraph in the
rvalues of lt_prog_compiler_pic.

21 years ago* m4/libtool.m4: Include Owen Taylor's patch to recognise the 'R'
Scott James Remnant [Thu, 6 Nov 2003 17:28:31 +0000 (17:28 +0000)] 
* m4/libtool.m4: Include Owen Taylor's patch to recognise the 'R'
symbol type so read-only symbols can be exported when combining
GCC and Solaris LD.

21 years ago* m4/libtool.m4: Include James Henstridge's patch to fix the
Scott James Remnant [Thu, 6 Nov 2003 17:27:37 +0000 (17:27 +0000)] 
* m4/libtool.m4: Include James Henstridge's patch to fix the
-export-symbols and -export-symbols-regex options under Linux.

21 years ago* tests/demo-nopic.test: Skip test on hppa, which don't like
Scott James Remnant [Thu, 6 Nov 2003 17:26:24 +0000 (17:26 +0000)] 
* tests/demo-nopic.test: Skip test on hppa, which don't like
non-PIC shared libraries.

21 years ago* tests/depdemo/configure.ac, tests/mdemo/configure.ac,
Charles Wilson [Thu, 6 Nov 2003 14:42:46 +0000 (14:42 +0000)] 
* tests/depdemo/configure.ac, tests/mdemo/configure.ac,
tests/mdemo2/configure.ac: process 'libtool --features'
from Makefile, not configure -- because libtool doesn't
exist at configure time.

21 years ago* ltmain.in (find_executable, check_executable) [cygwin*, mingw*]:
Charles Wilson [Thu, 6 Nov 2003 14:21:15 +0000 (14:21 +0000)] 
* ltmain.in (find_executable, check_executable) [cygwin*, mingw*]:
binary wrapper used with uninstalled executables breaks when
invoked via execlp/execvp (that is, via $PATH).  Handle that case.
(fnqualify): Subsumed into find_executable.

21 years ago* NEWS: Updated.
Charles Wilson [Thu, 6 Nov 2003 14:04:20 +0000 (14:04 +0000)] 
* NEWS: Updated.

21 years ago* m4/libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS) [cygwin*, mingw*]:
Charles Wilson [Thu, 6 Nov 2003 13:57:25 +0000 (13:57 +0000)] 
* m4/libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS) [cygwin*, mingw*]:
when extracting symbols from an import lib (occurs if
--enable-shared --disable-static), the output of
$global_symbol_pipe is not the same as  when extracting from a
static library (the default case). Add extra filters to
$export_symbols_cmds to process this sort of output in addition to
'normal' static-lib output.

21 years agoforgot to commit with last change
Charles Wilson [Thu, 6 Nov 2003 13:43:15 +0000 (13:43 +0000)] 
forgot to commit with last change

21 years ago* libltdl/ltdl.c (LT_USE_POSIX_DIRENT): Factored out.
Charles Wilson [Thu, 6 Nov 2003 13:41:52 +0000 (13:41 +0000)] 
* libltdl/ltdl.c (LT_USE_POSIX_DIRENT): Factored out.
(LT_USE_WINDOWS_DIRENT_EMULATION): Move to after include "ltdl.h",
as they are affected by __WINDOWS__ definition.
(LT_READTEXT_MODE): Use textmode to read .la files.
(lt_dlinit): Use LoadLibrary loader as a fallback on cygwin.

21 years ago* libltdl/ltdl.h (__WINDOWS__): Define this if _WIN32 or WIN32 are
Gary V. Vaughan [Thu, 6 Nov 2003 12:31:00 +0000 (12:31 +0000)] 
* libltdl/ltdl.h (__WINDOWS__): Define this if _WIN32 or WIN32 are
defined, unless __CYGWIN__ or __CYGWIN32__ are defined.
(LT_SCOPE): Now set without reference to __CYGWIN__ definition,
since __WINDOWS__ now implies !__CYGWIN__ after canonicalisation.
(LT_PARAMS, lt_ptr): Use canonicalised __WINDOWS__ to determine
which values to set these macros to.

21 years ago* README-alpha: Mention autotools-announce@gnu.org, and update release
Gary V. Vaughan [Wed, 5 Nov 2003 13:14:56 +0000 (13:14 +0000)] 
* README-alpha: Mention autotools-announce@gnu.org, and update release
note templates.

21 years ago"Test CVS commit by adding [myself] to the AUTHORS file"
Scott James Remnant [Tue, 4 Nov 2003 22:51:31 +0000 (22:51 +0000)] 
"Test CVS commit by adding [myself] to the AUTHORS file"

21 years ago* ltmain.in: When relinking, place the -L parameter containing
Scott James Remnant [Sat, 1 Nov 2003 15:03:09 +0000 (15:03 +0000)] 
* ltmain.in: When relinking, place the -L parameter containing
the installation prefix directory after the intended destination,
so we don't accidentally link against an older installed library.

21 years ago* tests/mdemo2/Makefile.am: Let mdemo2 find ltdl.h again.
Peter O'Gorman [Sat, 1 Nov 2003 14:26:33 +0000 (14:26 +0000)] 
* tests/mdemo2/Makefile.am: Let mdemo2 find ltdl.h again.

21 years agoCorrect date
Peter O'Gorman [Thu, 30 Oct 2003 14:40:11 +0000 (14:40 +0000)] 
Correct date

21 years ago* m4/libtool.m4 (Darwin): Fix stupidities for darwin tags support.
Peter O'Gorman [Thu, 30 Oct 2003 14:28:00 +0000 (14:28 +0000)] 
* m4/libtool.m4 (Darwin): Fix stupidities for darwin tags support.
Makes it work again if AC_LIBTOOL_TAGS is specified in configure.ac.
Bug reported by Joe Orton and Christian Schaffner.

21 years ago* config/config.guess, config/config.sub: Revert accidental commit
Gary V. Vaughan [Tue, 21 Oct 2003 15:08:03 +0000 (15:08 +0000)] 
* config/config.guess, config/config.sub: Revert accidental commit

21 years agoStart to eliminate the double run of configure in a fresh CVS
Gary V. Vaughan [Tue, 21 Oct 2003 15:03:57 +0000 (15:03 +0000)] 
Start to eliminate the double run of configure in a fresh CVS
checkout by generating ltmain.sh, using that to create libtool,
and then adding the tags to that, all from config.status.

* configure.ac (AC_CONFIG_FILES): Make config/ltmain.sh, and copy
it to libltdl.
* Makefile.am ($(srcdir)/config/ltmain.sh): This file is now
created by config.status.  Adjust this rule.
(libtoolize): Set CONFIG_COMMANDS to empty to prevent regenerating
the libtool script as a side effect of running this rule.
* libtool.m4: Bump serial number.  Fix comment typos.
(_LT_CONFIG_LIBTOOL_INIT, _LT_CONFIG_LIBTOOL,
_LT_CONFIG_SAVE_COMMANDS, _LT_CONFIG_COMMANDS: New macros.  They
don't work for some reason - the variable value quoting in the
init section is all wrong.  Not used at the moment.
(AC_LIBTOOL_CONFIG): Generate libtool from config.status.
(_LT_AC_TAG_CONFIG): Add the tags in config.status.
(compiler_DEFAULT): Save the compiler value for the DEFAULT tag,
or it gets overwritten by the other macros.
(EOF): Globally replace with _LT_EOF to avoid namespace pollution.
* tests/demo/configure.ac (STATIC): Check $enable_static instead
of running ./libtool which doesn't exist yet.
(BINARY_HELLDL): Check $lt_cv_sys_global_symbol_pipe with case
instead of grepping ./libtool which doesn't exist yet.
* tests/pdemo/configure.ac (STATIC, BINARY_HELLDL): Ditto.
* doc/libtool.texi (AC_PROG_LIBTOOL): Add some notes about trying
to get config details from `libtool --config'.
* NEWS: Updated.

21 years ago* tests/f77demo/config.h: Generated file removed from cvs.
Gary V. Vaughan [Tue, 21 Oct 2003 13:45:49 +0000 (13:45 +0000)] 
* tests/f77demo/config.h: Generated file removed from cvs.

21 years ago* ChangeLog, ChangeLog.0, ChangeLog.1: Refactored...
Gary V. Vaughan [Tue, 21 Oct 2003 13:32:53 +0000 (13:32 +0000)] 
* ChangeLog, ChangeLog.0, ChangeLog.1: Refactored...
* ChangeLog, ChangeLog.2002, ChangeLog.2001, ChangeLog.2000,
ChangeLog.1999, ChangeLog.1998, ChangeLog.1997, ChangeLog.1996:
...into entries by year for easier copyright confirmation.

21 years ago* configure.ac, libltdl/configure.ac, tests/cdemo/configure.ac,
Gary V. Vaughan [Tue, 21 Oct 2003 10:56:24 +0000 (10:56 +0000)] 
* configure.ac, libltdl/configure.ac, tests/cdemo/configure.ac,
tests/demo/configure.ac, tests/depdemo/configure.ac,
tests/f77demo/configure.ac, tests/mdemo/configure.ac,
tests/mdemo2/configure.ac, tests/pdemo/configure.ac,
tests/tagdemo/configure.ac (AM_INIT_AUTOMAKE): Remove redundant
arguments.
* libltdl/configure.ac: Use quadrigraphs to escape macronames.

21 years ago* bootstrap (reconfdirs): Same as yesterday, only with portable
Gary V. Vaughan [Tue, 21 Oct 2003 09:28:38 +0000 (09:28 +0000)] 
* bootstrap (reconfdirs): Same as yesterday, only with portable
bourne shell syntax.  :-/

21 years ago* bootstrap (reconfdirs): Overridable top dirs for bootstrap, for
Gary V. Vaughan [Mon, 20 Oct 2003 13:45:51 +0000 (13:45 +0000)] 
* bootstrap (reconfdirs): Overridable top dirs for bootstrap, for
those times when you don't want to wait for all of the test
directories to be rebootstrapped!

21 years ago* ltmain.in: include --tag options, if specified, in the
Kevin P. Fleming [Mon, 20 Oct 2003 13:36:10 +0000 (13:36 +0000)] 
* ltmain.in: include --tag options, if specified, in the
relink_command in uninstalled .la files.  Also, preserve --silent,
--debug options when libtool re-execs itself.
* NEWS: Updated.

21 years ago* libtoolize.in: protect sed expression against
Charles Wilson [Mon, 20 Oct 2003 13:22:58 +0000 (13:22 +0000)] 
* libtoolize.in: protect sed expression against
AC_CONFIG_AUX_DIR_DEFAULT.

21 years ago* m4/libtool.m4 (AC_DEPLIBS_CHECK_METHOD): For MinGW, reverted DLL
Bob Friesenhahn [Fri, 17 Oct 2003 03:52:01 +0000 (03:52 +0000)] 
* m4/libtool.m4 (AC_DEPLIBS_CHECK_METHOD): For MinGW, reverted DLL
check method back to a working objdump-based test.  This is not as
concrete a test as using the 'file' command, but it does not
require that the 'file' command be available.

21 years ago* doc/libtool.texi (AC_LIBTOOL_TAGS): Incorporate documentation
Bob Friesenhahn [Wed, 15 Oct 2003 16:02:04 +0000 (16:02 +0000)] 
* doc/libtool.texi (AC_LIBTOOL_TAGS): Incorporate documentation
for AC_LIBTOOL_TAGS macro to specifify libtool tags. The now
defunct --with-tags option was never documented.

* m4/libtool.m4: Restrict the list of tags that can be created
with a new AC_LIBTOOL_TAGS([tag1 tag2 ...]) macro. Deprecate
--with-tags.

21 years ago* libtoolize.in: Typo when copying config.sub.
Gary V. Vaughan [Wed, 15 Oct 2003 13:19:02 +0000 (13:19 +0000)] 
* libtoolize.in: Typo when copying config.sub.
From Patrick Welche <prlw1@newn.cam.ac.uk>

21 years ago* demo/Makefile.am (libhell0_a_SOURCES): Do not name sources
Gary V. Vaughan [Wed, 15 Oct 2003 11:01:12 +0000 (11:01 +0000)] 
* demo/Makefile.am (libhell0_a_SOURCES): Do not name sources
already built with libtool...
(libhell0_a_LIBADD): ...instead name the objects directly.  This
prevents a long standing warning from automake 1.7+.
* pdemo/Makefile.am (libhell0_a_SOURCES, libhell0_a_LIBADD):
Ditto.

21 years ago* bootstrap: Make the fake files valid shell scripts with a
Gary V. Vaughan [Wed, 15 Oct 2003 09:27:54 +0000 (09:27 +0000)] 
* bootstrap: Make the fake files valid shell scripts with a
comment incase they get left around.
(LIBTOOLIZE): Use a dummy script to prevent the installed
`libtoolize' from trashing the distributed libtool.m4,
config.guess and config.sub.

21 years ago* configure.ac (AC_CONFIG_TESTDIR, AC_CONFIG_TESTFILES): Comment
Gary V. Vaughan [Wed, 15 Oct 2003 08:44:52 +0000 (08:44 +0000)] 
* configure.ac (AC_CONFIG_TESTDIR, AC_CONFIG_TESTFILES): Comment
this out for now, the autotest testsuite rewrite is not ready
yet.

21 years ago* tests/cdemo/Makefile.am, tests/demo/Makefile.am,
Gary V. Vaughan [Wed, 15 Oct 2003 08:09:07 +0000 (08:09 +0000)] 
* tests/cdemo/Makefile.am, tests/demo/Makefile.am,
tests/depdemo/Makefile.am, tests/f77demo/Makefile.am,
tests/mdemo/Makefile.am, tests/mdemo2/Makefile.am,
tests/pdemo/Makefile.am, tests/tagdemo/Makefile.am (top_distdir):
Removed. `autoreconf' needs literals in ACLOCAL_AMFLAGS.

21 years ago* libtoolize.in (func_mkdir_p): Synch with tests/defs; if there
Gary V. Vaughan [Tue, 14 Oct 2003 22:52:57 +0000 (22:52 +0000)] 
* libtoolize.in (func_mkdir_p): Synch with tests/defs; if there
are no more directories in the stack, break out of the loop.

21 years ago* tests/Makefile.am (COMMON_TESTS): Remove pdemo-unst.test, which
Gary V. Vaughan [Tue, 14 Oct 2003 21:52:27 +0000 (21:52 +0000)] 
* tests/Makefile.am (COMMON_TESTS): Remove pdemo-unst.test, which
isn't a real test.

21 years agospurious commit abort earlier :-(
Gary V. Vaughan [Tue, 14 Oct 2003 21:46:13 +0000 (21:46 +0000)] 
spurious commit abort earlier :-(

21 years agoRefactor all the test case common code into shell functions in
Gary V. Vaughan [Tue, 14 Oct 2003 21:45:03 +0000 (21:45 +0000)] 
Refactor all the test case common code into shell functions in
tests/defs, and move the various demo directories out of
$top_srcdir, and into tests too.  The refactoring showed up a
number of inconsistencies and latent bugs, as well as fixing (I
think!!) the long-standing annoyance with some of the tests giving
spurious failures intermittently.  While I was here, emacs kindly
removed a lot of bogus whitespace and added copyright notices for
us:

* cdemo, demo, depdemo, f77demo, mdemo, mdemo2, pdemo, tagdemo:
Moved from here...
* tests/cdemo, tests/demo, tests/depdemo, tests/f77demo,
tests/mdemo, tests/mdemo2, tests/pdemo, tests/tagdemo: ...to
here.
* tests/defs: Factor much common functionality from the test
scripts into shell functions.  Added a copyright notice.
* tests/assign.test, tests/cdemo-conf.test, tests/cdemo-exec.test,
tests/cdemo-make.test, tests/cdemo-shared.test,
tests/cdemo-static.test, tests/demo-conf.test,
tests/demo-deplibs.test, tests/demo-exec.test,
tests/demo-inst.test, tests/demo-make.test,
tests/demo-nofast.test, tests/demo-nopic.test,
tests/demo-pic.test, tests/demo-shared.test,
tests/demo-static.test, tests/demo-unst.test,
tests/depdemo-conf.test, tests/depdemo-exec.test,
tests/depdemo-inst.test, tests/depdemo-make.test,
tests/depdemo-nofast.test, tests/depdemo-shared.test,
tests/depdemo-static.test, tests/depdemo-unst.test,
tests/f77demo-conf.test, tests/f77demo-exec.test,
tests/f77demo-make.test, tests/f77demo-shared.test,
tests/f77demo-static.test, tests/link-2.test, tests/link.test,
tests/mdemo-conf.test, tests/mdemo-exec.test,
tests/mdemo-inst.test, tests/mdemo-make.test,
tests/mdemo-shared.test, tests/mdemo-static.test,
tests/mdemo-unst.test, tests/mdemo2-conf.test,
tests/mdemo2-exec.test, tests/mdemo2-make.test, tests/nomode.test,
tests/pdemo-conf.test, tests/pdemo-exec.test,
tests/pdemo-inst.test, tests/pdemo-make.test,
tests/pdemo-unst.test, tests/quote.test, tests/sh.test,
tests/suffix.test, tests/tagdemo-conf.test,
tests/tagdemo-exec.test, tests/tagdemo-make.test,
tests/tagdemo-shared.test, tests/tagdemo-static.test: Refactored
to use new functions in tests/defs.  Added a copyright notice.
* tests/hardcode.test, noinst-link.test,
tests/relink.test, tests/relink.test,
tests/mdryrun.test: Ditto.  Moved from here...
* tests/demo-hardcode.test, demo-noinst-link.test,
tests/demo-relink.test, tests/depdemo-relink.test,
tests/mdemo-dryrun.test: ...to here respectively.
* Makefile.am: Added a copyright notice.
* tests/sh.test: Check libtoolize.in for non-portabilities too.
* libtoolize.in: Fix non-portabilities found by tests/sh.test.

21 years ago* m4/libtool.m4: Speed up max_cmd_len check.
Peter O'Gorman [Sat, 11 Oct 2003 16:51:46 +0000 (16:51 +0000)] 
* m4/libtool.m4: Speed up max_cmd_len check.

21 years ago* libtoolize.in: AC_CONFIG_M4_DIR has landed in CVS autoconf.
Gary V. Vaughan [Wed, 8 Oct 2003 14:09:02 +0000 (14:09 +0000)] 
* libtoolize.in: AC_CONFIG_M4_DIR has landed in CVS autoconf.
Only it's called AC_CONFIG_MACRO_DIR.  Search and replace.
Grumble. ;-)

21 years ago* libltdl/ltdl.c (lt_dlerror): change return value when
Scott James Remnant [Tue, 7 Oct 2003 22:29:05 +0000 (22:29 +0000)] 
* libltdl/ltdl.c (lt_dlerror): change return value when
no error has occured to NULL to match documentation.
(Debian Bug #157229)

21 years ago* ltmain.in: Don't suppress output of PIC mode compile if
Gary V. Vaughan [Tue, 7 Oct 2003 17:13:42 +0000 (17:13 +0000)] 
* ltmain.in: Don't suppress output of PIC mode compile if
-no-suppress option is given.
* doc/libtool.texi (Invoking libtool): Document it.
* NEWS: Updated.

21 years ago* m4/libtool.m4 [amigaos-ppc, amigaos-m68k]: Differentiate between
Marcus Comstedt [Tue, 7 Oct 2003 17:03:15 +0000 (17:03 +0000)] 
* m4/libtool.m4 [amigaos-ppc, amigaos-m68k]: Differentiate between
amigaos on ppc and m68k.
* NEWS: Updated.

21 years ago* ltmain.in: Do not create `.o' objects when `-shared' is
Ralph Schleicher [Tue, 7 Oct 2003 16:48:23 +0000 (16:48 +0000)] 
* ltmain.in: Do not create `.o' objects when `-shared' is
specified in compile mode.
Do not make a static library when `-shared' is specified in link
mode.
* doc/libtool.texi (Compile mode): Document it.
* NEWS: Updated.

21 years ago* doc/libtool.texi (Compile mode): Be more specific about the
Ralph Schleicher [Tue, 7 Oct 2003 16:32:58 +0000 (16:32 +0000)] 
* doc/libtool.texi (Compile mode): Be more specific about the
effect of `-static'.
* ltmain.in: Do not create `.lo' objects when `-static' is
specified.
* NEWS: Updated.

21 years ago* doc/libtool.texi (Invoking libtool): Updated.
Gary V. Vaughan [Tue, 7 Oct 2003 14:51:06 +0000 (14:51 +0000)] 
* doc/libtool.texi (Invoking libtool): Updated.
* ltmain.in: Add missing clean and finish modes to the shorthand
options.

21 years ago* ltmain.in: Typo in the --mode shorthand.
Gary V. Vaughan [Tue, 7 Oct 2003 14:34:45 +0000 (14:34 +0000)] 
* ltmain.in: Typo in the --mode shorthand.

21 years ago* m4/libtool.m4 (AC_DEPLIBS_CHECK_METHOD): Remove dead code
Scott James Remnant [Tue, 7 Oct 2003 14:18:24 +0000 (14:18 +0000)] 
* m4/libtool.m4 (AC_DEPLIBS_CHECK_METHOD): Remove dead code
for platforms that have been using pass_all for some time now.

21 years ago* libtoolize.in: Completely rewritten.
Gary V. Vaughan [Tue, 7 Oct 2003 11:12:16 +0000 (11:12 +0000)] 
* libtoolize.in: Completely rewritten.
* Makefile.am (AUTOMAKE_OPTIONS): Reduced to 1.7.  The 1.8
requirement just made the distribution much smaller due to
m4_includes.  1.7 will bootstrap libtool just fine.
* NEWS: Updated.

21 years ago* ltmain.in: Specifying -allow-undefined is now an error.
Peter O'Gorman [Sun, 5 Oct 2003 15:27:34 +0000 (15:27 +0000)] 
* ltmain.in: Specifying -allow-undefined is now an error.

21 years ago* ltmain.in: Remove inferrence of mode, add shorthand for mode
Peter O'Gorman [Sun, 5 Oct 2003 14:50:14 +0000 (14:50 +0000)] 
* ltmain.in: Remove inferrence of mode, add shorthand for mode
choice.

21 years ago* m4/libtool.m4 (AC_DEPLIBS_CHECK_METHOD): Use pass_all for linux*
Scott James Remnant [Mon, 29 Sep 2003 11:54:45 +0000 (11:54 +0000)] 
* m4/libtool.m4 (AC_DEPLIBS_CHECK_METHOD): Use pass_all for linux*
solving many build problems on ARM, and hopefully preventing any
future ones.
(Debian Bug #191133 and #190569)

21 years ago* libltdl/ltdl.c: Only include malloc.h if stdlib.h can not be
Bob Friesenhahn [Mon, 29 Sep 2003 10:57:57 +0000 (10:57 +0000)] 
* libltdl/ltdl.c: Only include malloc.h if stdlib.h can not be
found.

21 years ago* mdemo2/Makefile.am (INCLUDES): Include `$(top_srcdir)/../libltdl'
Alfred M. Szmidt [Fri, 26 Sep 2003 12:52:31 +0000 (12:52 +0000)] 
* mdemo2/Makefile.am (INCLUDES): Include `$(top_srcdir)/../libltdl'
instead of `../libltdl'.

21 years ago* bootstrap: Rewritten to use autoreconf.
Gary V. Vaughan [Thu, 25 Sep 2003 11:22:29 +0000 (11:22 +0000)] 
* bootstrap: Rewritten to use autoreconf.
* config.guess, config.sub, mkstamp:  Moved from here...
* config/config.guess, config/config.sub, config/mkstamp: ...to
here, respectively.
* libtool.m4, ltdl.m4: Moved from here...
* m4/libtool.m4, m4/ltdl.m4: ...to here, respectively.
* configure.ac: Removed various acinclude.m4 hackery, as these
files are no longer needed with automake 1.8.
* Makefile.am: Removed various acinclude.m4 hackery, as these
files are no longer needed with automake 1.8.
(AUTOMAKE_OPTIONS): Require CVS automake.
(CONF_SUBDIRS, CFLAGS, CPPFLAGS, LDFLAGS, LIBS, FFLAGS, FLIBS):
Automake now makes a Make variable from every AC_SUBST, so these
are NOP.
(aclocal_macros): These files are now in their own m4 subdir.
Changed all clients.
(EXTRA_DIST): mkstamp has moved to the new config subdir.  Changed
all clients.
(pkgdata_SCRIPTS): Ditto wrt config.guess and config.sub.
(pkgdata_DATA): Ditto wrt ltmain.sh.
* f77demo/configure.ac, libltdl/configure.ac (AM_CONFIG_HEADER):
Is deprecated in favour of AC_CONFIG_HEADERS.  Updated to the
latter.
* Makefile.am, cdemo/Makefile.am, demo/Makefile.am,
depdemo/Makefile.am, f77demo/Makefile.am, mdemo/Makefile.am,
mdemo2/Makefile.am, pdemo/Makefile.am, tagdemo/Makefile.am
(EXTRA_DIST): Remove acinclude.m4.
(ACLOCAL_AMFLAGS): Search new `m4' macro directory.
* configure.ac, cdemo/configure.ac, demo/configure.ac,
depdemo/configure.ac, f77demo/configure.ac, mdemo/configure.ac,
mdemo2/configure.ac, pdemo/configure.ac, tagdemo/configure.ac
(AC_CONFIG_AUX_DIR): Declare that config helper scripts are now
kept in the new config subdir.
* libltdl/configure.ac (AC_CONFIG_AUX_DIR): Removed.  Defaults to
`.' anyway.

21 years agoUpdated to reflect upcoming autoconf 2.58 and automake 1.8 help
Robert Millan [Wed, 24 Sep 2003 17:03:27 +0000 (17:03 +0000)] 
Updated to reflect upcoming autoconf 2.58 and automake 1.8

21 years ago* libtool.m4: Add GNU/KNetBSD support.
Robert Millan [Sun, 21 Sep 2003 12:50:48 +0000 (12:50 +0000)] 
* libtool.m4: Add GNU/KNetBSD support.
* ltdl.m4: Likewise.

21 years ago* libtool.m4: allow STRIP to contain spaces and additional
Scott James Remnant [Sat, 13 Sep 2003 12:02:04 +0000 (12:02 +0000)] 
* libtool.m4: allow STRIP to contain spaces and additional
arguments.  (Debian Bug #183055)
* ltmain.in: include newline in "sensible default" for IFS.
(Debian Bug #98492 and #95447)

21 years agoAdded myself to AUTHORS, removed from THANKS.
Peter O'Gorman [Thu, 11 Sep 2003 12:43:30 +0000 (12:43 +0000)] 
Added myself to AUTHORS, removed from THANKS.

21 years ago* mdemo2/configure.ac: Use AC_LIBTOOL_DLOPEN.
Peter O'Gorman [Wed, 10 Sep 2003 15:13:36 +0000 (15:13 +0000)] 
* mdemo2/configure.ac: Use AC_LIBTOOL_DLOPEN.
* mdemo2/main.c: Use LTDL_SET_PRELOADED_SYMBOLS().
* mdemo2/Makefile.am: Set INCLUDES properly and add -dlopen force
to make sure the symbols file is included in the link line.

21 years ago* ltmain.in: Accept -framework for darwin and put it in
Peter O'Gorman [Wed, 10 Sep 2003 08:40:42 +0000 (08:40 +0000)] 
* ltmain.in: Accept -framework for darwin and put it in
dependency_libs. For non-installed .la's try to avoid having
./.libs/.libs/libfoo.so on the link line.

21 years ago* libtool.m4 [openbsd]: openbsd 3.x needs versioning information.
Arne Woerner [Wed, 10 Sep 2003 07:48:02 +0000 (07:48 +0000)] 
* libtool.m4 [openbsd]: openbsd 3.x needs versioning information.

21 years ago* bootstrap: Typo.
Gary V. Vaughan [Fri, 29 Aug 2003 17:07:17 +0000 (17:07 +0000)] 
* bootstrap: Typo.

21 years ago* libtool.m4 (_LT_AC_LANG_C_CONFIG): Fix unquoted call to
Alexandre Duret-Lutz [Fri, 29 Aug 2003 14:09:50 +0000 (14:09 +0000)] 
* libtool.m4 (_LT_AC_LANG_C_CONFIG): Fix unquoted call to
_LT_AC_LANG_C_CONFIG.
(AC_PROG_EGREP): Remove, now that Libtool requires Autoconf 2.56.
* bootstrap: Issue an upgrade warning.

21 years ago* libtool.m4 (_LT_AC_CHECK_DLFCN): Use the interrim new
Gary V. Vaughan [Wed, 27 Aug 2003 16:24:44 +0000 (16:24 +0000)] 
* libtool.m4 (_LT_AC_CHECK_DLFCN): Use the interrim new
AC_CHECK_HEADER with compiler rather than preprocessor.
(AC_LIBTOOL_SETUP): ...which was introduced in autoconf-2.56, so
we AC_PREREQ that version.
* ltdl.m4 (AC_WITH_LTDL, AC_LIB_LTDL, AC_LTDL_FUNC_ARGZ): Ditto.

21 years agoWork around a bug in AU_ALIAS in CVS Autoconf that inserts a
Gary V. Vaughan [Wed, 27 Aug 2003 14:56:07 +0000 (14:56 +0000)] 
Work around a bug in AU_ALIAS in CVS Autoconf that inserts a
newline just before AC_FD_CC, by hand updating:

* ltdl.m4 (AC_LTDL_SYMBOL_USCORE): s/AC_FD_CC/AS_MESSAGE_LOG_FD/g.