Commit Graph

1414 Commits

Author SHA1 Message Date
Gary V. Vaughan
d79ab06e59 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.
2003-11-12 18:37:26 +00:00
Gary V. Vaughan
e15eb25258 * 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.
2003-11-11 16:53:31 +00:00
Gary V. Vaughan
c866b386af * 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.
2003-11-11 16:49:32 +00:00
Scott James Remnant
503555927d * 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.
2003-11-10 21:06:49 +00:00
Scott James Remnant
0e3f750735 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 2003-11-10 21:05:26 +00:00
Scott James Remnant
45706c9614 * m4/libtool.m4 (AC_LIBTOOL_SYS_DYNAMIC_LINKER) [linux]: Include
directories found in /etc/ld.so.conf in sys_lib_dlsearch_path_spec.
2003-11-10 21:04:48 +00:00
Peter O'Gorman
b735ac56a8 * 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.
2003-11-09 14:54:52 +00:00
Gary V. Vaughan
2512e6ad67 * 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 :-$
2003-11-07 16:25:57 +00:00
Gary V. Vaughan
d9dfb4bf2f * 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'.
2003-11-07 16:08:53 +00:00
Gary V. Vaughan
6aca7d9c1f * Makefile.am (install-data-local): Wipe out old installation
pkgdatadir before installing new files.
* NEWS: Updated.
2003-11-07 15:11:51 +00:00
Gary V. Vaughan
41a42100c6 * 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.
2003-11-07 14:04:16 +00:00
Robert Millan
b9ddab90b7 * m4/libtool.m4 (AC_DEPLIBS_CHECK_METHOD) [GNU/KNetBSD]: Detect
inter-library dependencies.
2003-11-07 03:18:16 +00:00
Scott James Remnant
32712359af 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.
2003-11-07 03:14:10 +00:00
Gary V. Vaughan
d6aadb9059 * m4/libtool.m4 (_LT_AC_FILE_LTDLL_C): Removed; no longer in use. 2003-11-06 18:52:01 +00:00
Gary V. Vaughan
a2db96af06 * 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.
2003-11-06 18:50:24 +00:00
Gary V. Vaughan
d85043d90a * 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.
2003-11-06 18:34:22 +00:00
Scott James Remnant
b240d132dd * 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.
2003-11-06 17:28:31 +00:00
Scott James Remnant
fb5e6cda96 * m4/libtool.m4: Include James Henstridge's patch to fix the
-export-symbols and -export-symbols-regex options under Linux.
2003-11-06 17:27:37 +00:00
Scott James Remnant
5c05f55cde * tests/demo-nopic.test: Skip test on hppa, which don't like
non-PIC shared libraries.
2003-11-06 17:26:24 +00:00
Charles Wilson
24ed9eea92 * 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.
2003-11-06 14:42:46 +00:00
Charles Wilson
a351cf7e5e * 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.
2003-11-06 14:21:15 +00:00
Charles Wilson
a0ab76a9a2 * NEWS: Updated. 2003-11-06 14:04:20 +00:00
Charles Wilson
38f1ad3d3a * 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.
2003-11-06 13:57:25 +00:00
Charles Wilson
8762788555 * 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.
2003-11-06 13:41:52 +00:00
Gary V. Vaughan
84ba5fad62 * 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.
2003-11-06 12:31:00 +00:00
Gary V. Vaughan
54d8a61dcd * README-alpha: Mention autotools-announce@gnu.org, and update release
note templates.
2003-11-05 13:14:56 +00:00
Scott James Remnant
c75128d25d * 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.
2003-11-01 15:03:09 +00:00
Peter O'Gorman
30f1b71195 * tests/mdemo2/Makefile.am: Let mdemo2 find ltdl.h again. 2003-11-01 14:26:33 +00:00
Peter O'Gorman
3678ec3f5f Correct date 2003-10-30 14:40:11 +00:00
Peter O'Gorman
a73b2a626e * 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.
2003-10-30 14:28:00 +00:00
Gary V. Vaughan
b28de94488 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.
2003-10-21 15:03:57 +00:00
Gary V. Vaughan
2070fbb78c * 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.
2003-10-21 13:32:53 +00:00
Gary V. Vaughan
2d38c0a17d * 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.
2003-10-21 10:56:24 +00:00
Gary V. Vaughan
c02170c147 * bootstrap (reconfdirs): Same as yesterday, only with portable
bourne shell syntax.  :-/
2003-10-21 09:28:38 +00:00
Gary V. Vaughan
d592d617bd * 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!
2003-10-20 13:45:51 +00:00
Kevin P. Fleming
e0da307341 * 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.
2003-10-20 13:36:10 +00:00
Charles Wilson
8e0e00900a * libtoolize.in: protect sed expression against
AC_CONFIG_AUX_DIR_DEFAULT.
2003-10-20 13:22:58 +00:00
Bob Friesenhahn
bd775af882 * 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.
2003-10-17 03:52:01 +00:00
Bob Friesenhahn
e508b62dbe * 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.
2003-10-15 16:02:04 +00:00
Gary V. Vaughan
06e40b3415 * libtoolize.in: Typo when copying config.sub.
From Patrick Welche <prlw1@newn.cam.ac.uk>
2003-10-15 13:19:02 +00:00
Gary V. Vaughan
97b6e19e2f * 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.
2003-10-15 11:01:12 +00:00
Gary V. Vaughan
a63ccdea08 * 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.
2003-10-15 09:27:54 +00:00
Gary V. Vaughan
36d68ad0d6 * configure.ac (AC_CONFIG_TESTDIR, AC_CONFIG_TESTFILES): Comment
this out for now, the autotest testsuite rewrite is not ready
yet.
2003-10-15 08:44:52 +00:00
Gary V. Vaughan
3e9ab5eb18 * 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.
2003-10-15 08:09:07 +00:00
Gary V. Vaughan
457332be04 * libtoolize.in (func_mkdir_p): Synch with tests/defs; if there
are no more directories in the stack, break out of the loop.
2003-10-14 22:52:57 +00:00
Gary V. Vaughan
755a452d10 * tests/Makefile.am (COMMON_TESTS): Remove pdemo-unst.test, which
isn't a real test.
2003-10-14 21:52:27 +00:00
Gary V. Vaughan
73263db76b 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.
2003-10-14 21:45:03 +00:00
Peter O'Gorman
884ec923bd * m4/libtool.m4: Speed up max_cmd_len check. 2003-10-11 16:51:46 +00:00
Gary V. Vaughan
438422eaf8 * libtoolize.in: AC_CONFIG_M4_DIR has landed in CVS autoconf.
Only it's called AC_CONFIG_MACRO_DIR.  Search and replace.
Grumble. ;-)
2003-10-08 14:09:02 +00:00
Scott James Remnant
1bbeb14f36 * libltdl/ltdl.c (lt_dlerror): change return value when
no error has occured to NULL to match documentation.
(Debian Bug #157229)
2003-10-07 22:29:05 +00:00