Commit Graph

2269 Commits

Author SHA1 Message Date
Ralf Wildenhues
622c4abcb5 * libltdl/configure.ac: Update version; require Autoconf >= 2.59. 2005-03-15 17:30:00 +00:00
Ralf Wildenhues
a4d7bff6d1 * bootstrap: Allow to override tools. 2005-03-15 12:58:40 +00:00
Gary V. Vaughan
cff8c06c8c * libtoolize.m4sh (func_massage_pkgvmacro_DATA): New function
to calculate the macro filenames to be copied by libtoolize.
* Makefile.am (edit): Substitute pkgvmacro_DATA.
2005-03-15 11:49:59 +00:00
Gary V. Vaughan
31db034b00 * bootstrap: Need to generate tests/package.m4 from Makefile.am
before generating tests/testsuite from tests/Makefile.am, or
else bootstrap of a fresh checkout fails.
2005-03-15 11:47:36 +00:00
Ralf Wildenhues
285149dfbc * m4/libtool.m4 (_LT_COPYING): Update Copyright year. 2005-03-14 15:02:23 +00:00
Ralf Wildenhues
23c671d222 * m4/libtool.m4 (_LT_LINKER_SHLIBS) [linux]: Remove MAIN_
dependency when creating shared libraries with Portland pgf77.
2005-03-14 11:10:26 +00:00
Ralf Wildenhues
756e8e0f25 * configure.ac: stamp-vcl is in $top_srcdir, not $top_builddir. 2005-03-12 18:16:49 +00:00
Per Bothner
85ad7692fb Allow special characters in source file names. Will break unless
`-o target' is also given, which must not contain special characters.
En passant, fix source file quoting broken for cygwin/MSVC.
2005-03-12 08:49:04 +00:00
Ralf Wildenhues
c523f9b268 * config/ltmain.m4sh (func_mode_link): Reword double negation in
error message.  Reported by Jesper Louis Andersen <jlouis@mongers.org>.
2005-03-12 08:42:18 +00:00
Ralf Wildenhues
27bdc11a6e * bootstrap: really remove bogus files Makefile tests/Makefile. 2005-03-12 08:36:02 +00:00
Ralf Wildenhues
65204d702d * doc/libtool.texi: Replace wicked whiches by thats or other
better-sounding constructs.
2005-03-12 08:14:44 +00:00
Ralf Wildenhues
7eb2c6a5d4 * tests/Makefile (clean-local): Ignore testsuite cleanup
failures.
2005-03-11 13:31:44 +00:00
Per Bothner
2b78876d4c * tests/Makefile (clean-local): Only run the testsuite cleanup
if the testsuite has been generated.
2005-03-11 11:39:28 +00:00
Gary V. Vaughan
b2e8ac266b * libltdl/Makefile.am (install-data-local): Don't force v7 tar
format with the `o' flag in create mode.
Set the umask to 0 when untarring to avoid copied files taking
their mode from the installer's umask.
* libltdl/loaders/Makefile.am (install-data-local): Ditto.
* libtoolize.m4sh (func_copy_cb): Ditto.
Ignore errors from failed `cd' in the tar processes, since we
may be running in dryrun mode.
Reported by Noah Misch <noah@cs.caltech.edu>,
	Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
2005-03-10 17:25:29 +00:00
Ralf Wildenhues
ba2945ae21 * libltdl/Makefile.am: $(builddir) is not defined, replace by `.'. 2005-03-10 13:49:58 +00:00
Albert Chin-A-Young
eac1a34572 * m4/libtool.m4 (_LT_LINKER_SHLIBS, _LT_LANG_CXX_CONFIG)
[irix*, osf*]: Output -update_registry information to
${output_objdir} directory, not ${objdir}. ${output_objdir}
will work when a project has a single Makefile and performs
builds in subdirectories. ${objdir} expects the source in
the current directory, breaking single-Makefile builds.
2005-03-08 16:24:38 +00:00
Ralf Wildenhues
56fc6cee39 * tests/stresstest.at: Remove multiple variable definition. 2005-03-08 13:44:32 +00:00
Ralf Wildenhues
15d32b6b2c * TODO: Update. 2005-03-08 09:36:39 +00:00
Ralf Wildenhues
527b6cddaf * THANKS: Update. 2005-03-08 09:22:49 +00:00
Gary V. Vaughan
2bf6c9ba8f * libtoolize.m4sh (func_copy_cb): Use tar chof to avoid symlink
attacks.
* libltdl/Makefile.am, libltdl/loaders/Makefile.am
(install-data-local): Ditto.
2005-03-02 10:36:43 +00:00
Gary V. Vaughan
9615c930ba In branch-2-0 (and in time, others) ltversion.m4 has a dot
delimited serial number that didn't used to be processed
correctly by libtoolize.  This changeset fixes that, and
leverages those changes to check versions of ltmain.sh and
config.sub, config.guess before overwriting when --force is
not given:

* libtoolize.m4sh: Don't overwrite pkgaux files with --force
unless --install is given too.
(func_serial): Fix underquoting in regexp.
(func_serial_max): New function to compare serial numbers.
(func_serial_update_check): New function factored out of
func_serial_update().
(func_serial_update): Bail if SRCFILE is missing.
Don't display both 'already up to date' and 'use --force to
update' messages for the same file.
Use func_serial_max to cope with `.' delimited serial numbers.
(func_ltmain_update): Use func_serial_update_check and
func_serial_max to do version checking with $package_revision.
(func_config_update): Ditto with $timestamp.
2005-02-27 21:19:51 +00:00
Gary V. Vaughan
ceb8d350f4 * libltdl/Makefile.am (install-data-local): cd to $(srcdir) before
tarring up the files for installation to $(DESTDIR)$(ltdldatadir).
Don't remove the destination directory, since that interacts badly
with the multi-Makefile installation.
* libltdl/loaders/Makefile.am (install-data-local): Ditto.
2005-02-27 00:00:42 +00:00
Gary V. Vaughan
e3582515cc I assume that it is okay to have undefined symbols in convenience
libraries that will be used as modules -- the pic objects are
built normally, and are not expected to resolve all their symbols
until they are linked into a library; convenience libraries are
then rolled using 'ar' and 'ranlib' (or equivalent) which also do
not check whether symbols are resolved.  We now build each of the
loaders as a convenience library module under these assumptions,
and link libltdl.la with selected modules, at which time all of
the symbols *are* resolved:

* TODO: Remove item addressed by this changeset.
* libltdl/Makefile.am (lib_LTLIBRARIES): Remove libdlloader.la.
(libdlloader_la_SOURCES): Declaration removed.  Changed all
clients.  Source files..
(libltdl_la_SOURCES): ...added back in here.
(libdlloader_LDFLAGS, libdlloader_la_LIBADD): Removed.
(libltdl_la_LIBADD): Remove libdlloader.la; add $(LTLIBOBJS).
* libltdl/loaders/Makefile.am: Removed all references to
libdlloader.la.
2005-02-26 14:44:34 +00:00
Gary V. Vaughan
ae43cbad91 * libtoolize.m4sh (func_copy): Split arguments to func_copy_cb
calls across lines so that quote.test doesn't misdiagnose nested
quotes.
2005-02-25 17:50:23 +00:00
Gary V. Vaughan
ca2959fea1 * m4/libtool.m4 (_LT_LANG_CXX_CONFIG, _LT_COMPILER_PIC):
Fix some typos -- s/_LT_AC_TAGVAR/_LT_TAGVAR/g.
2005-02-25 17:46:50 +00:00
Peter O'Gorman
6a7510021b * m4/libtool.m4 (_LT_LINKER_SHLIBS): The Portland group's
compiler does not pass --whole-archive. Move gnu ld check for
the flag to the top so it can be overridden.
(_LT_LANG_CXX_CONFIG, _LT_COMPILER_PIC): Unset
whole_archive_flag_spec for the portland group's c++ compiler too.
Reported by Jeff Squyres <jsquyres@lam-mpi.org>
2005-02-25 14:19:58 +00:00
Gary V. Vaughan
7687d52ee1 * libltdl/loaders/Makefile.am (install-data-local): Ditto. 2005-02-23 15:57:15 +00:00
Gary V. Vaughan
1e25bb10f1 * libltdl/Makefile.am (install-data-local): Don't forget about
$(DESTDIR).
2005-02-23 15:45:03 +00:00
Gary V. Vaughan
b09356c92d Preserving the installed timestamps for libltdl sources from
`libtoolize --ltdl --copy' is pointless if they are not preserved
from the libtool source tree at install time:

* libltdl/Makefile.am, libltdl/loaders/Makefile.am
(nobase_ltdldata_DATA): Renamed to...
(ltdldatafiles): ...this.
(install-data-local): New rule to install libltdl tree with tar to
preserve timestamps.
2005-02-23 14:40:38 +00:00
Christoph Egger
2f15fc7d18 * config/ltmain.m4sh (func_mode_link): Add -pthread like flags to
inherited_linker_flags.
2005-02-23 03:30:30 +00:00
Gary V. Vaughan
d6ca58cc97 * libtoolize.m4sh (func_copy_cb): self.leg->shoot_off() :-/
Let's not redirect stdout to null when sending tar output to a
pipe.
2005-02-22 17:19:49 +00:00
Gary V. Vaughan
99c29a17c4 Using `libtoolize --copy --ltdl' was not preserving timestamps, so
parts of the autoconf bootstrap would be rerun spuriously after
the files had been copied into the source tree:

* libtoolize.m4sh (TAR): New default tar command.
(func_copy_cb): Move the core copying internals to here, using
$TAR to transfer files if possible when --copy was specified.
(func_copy): Adjust to call func_copy_cb.
* TODO: Remember to refactor this fix in due course.
Reported by Jeff Squyres <jsquyres@lam-mpi.org>
2005-02-22 15:27:07 +00:00
Peter O'Gorman
6408a706d7 * config/ltmain.m4sh (func_extract_archives) [darwin]: This didn't
actually work on a real fat archive, should do now.
* tests/functests.at [darwin]: remove darwin fat tests which
did not actually work.
2005-02-21 13:47:45 +00:00
Peter O'Gorman
d2485c3371 * config/ltmain.m4sh: Add -pthread like flags when linking
executables too.
Reported by Andreas Schwab <schwab@suse.de>
2005-02-07 14:17:15 +00:00
Ralf Wildenhues
95de4ffd50 * config/ltmain.m4sh (func_mode_link): Allow five digits in
version-info.
2005-02-04 16:12:11 +00:00
Ralf Wildenhues
c2930cb393 * NEWS: s/Linux/GNU &/. 2005-02-04 15:47:40 +00:00
Ralf Wildenhues
aa991e9203 * tests/Makefile.am, tests/testsuite.at, tests/stresstest.at:
New test.  Stresses several combinations of link flags and
path specifications.  Uses several data types to test linkage
against symbols in all kinds of (e.g., ELF) sections.
2005-02-04 14:51:53 +00:00
Reid Spencer
0937049824 * config/ltmain.m4sh (func_generate_dlsyms): Fix broken subdir
path computation, exposed by using `-dlopen self'.  Fix broken
sed script exposed by additionally using `-export-symbols FILE'.
2005-02-03 16:31:02 +00:00
Ralf Wildenhues
5442ee01e0 * THANKS: Update. 2005-02-03 13:00:12 +00:00
Ralf Wildenhues
ae1367cf14 * THANKS: Update. 2005-02-03 07:43:33 +00:00
Peter O'Gorman
6c304c9d89 * config/ltmain.m4sh [darwin]: Don't add installed libs to
temp_rpath when building executables on darwin, or other systems
which use hardcode_automatic. It may break our wrapper scripts.
2005-02-03 03:53:12 +00:00
Ralf Wildenhues
f6c870a584 * config/getopt.m4sh (func_version, func_usage, func_help,
* config/ltmain.m4sh (func_mode_help, func_config, func_features):
Exit with nonzero status on write failures.
2005-02-02 22:15:02 +00:00
Ralf Wildenhues
e2495da66f * tests/sh.test: Check for preferred function definition layout. 2005-02-02 12:16:45 +00:00
Ralf Wildenhues
1068a87435 * m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER)
[ pw32, freebsd3.[01], freebsdelf3.[01] ]
(_LT_LINKER_SHLIBS) [ linux with GNU ld < 2.11, aix4.[012]* ]
(_LT_LANG_CXX_CONFIG) [ aix4.[012]*, freebsd[12], solaris2.[0-5] ]
(_LT_LANG_GCJ_CONFIG): Fix [] quoting.  Should fix various spurious
failures.
2005-02-01 17:43:58 +00:00
Ralf Wildenhues
fcfc76bd7c * tests/Makefile.am: Add `atconfig' to DISTCLEANFILES. 2005-02-01 15:09:46 +00:00
Ralf Wildenhues
7a846170a8 * clcommit.m4sh: Test whether the shell understands `read -r'. Use as
`$read_r' if available, so `\' is preserved in commit notices.
2005-02-01 12:31:16 +00:00
Ralf Wildenhues
37a552884d * HACKING (Editing `.m4sh' Files): Document preferred function
header layout.
* config/ltmain.m4sh (func_win32_libid, func_infer_tag)
(func_generate_dlsyms, func_extract_an_archive, func_extract_archives):
adjust to fit.
2005-02-01 07:34:34 +00:00
Ralf Wildenhues
62fae08f57 * m4/libtool.m4 (_LT_CMD_GLOBAL_SYMBOLS): Unicos 9 sed rejects
empty parentheses as in 's/x()/1/'.
(_LT_COMPILER_PIC) [unicos*]: wl=-Wl,.
* tests/sh.test: Not all sed's like '/.*n.*/' (Unicos 9 sed
loops endlessly).
2005-01-31 17:30:47 +00:00
Ralf Wildenhues
c9d4e5ec5c * tests/quote.test: Match link quoting against "$wl"', not -Wl,'. 2005-01-31 17:25:22 +00:00
Ralf Wildenhues
50170fa221 * tests/quote.test: Check for `--no-reexec' in $1 to avoid one reexec. 2005-01-31 17:20:47 +00:00