Commit Graph

2298 Commits

Author SHA1 Message Date
Ralf Wildenhues
1c205030b4 * tests/template.at: New Autotest tests for C++ with templates.
First test provided by Markus Christen <markus@igc.phys.chem.ethz.ch>.
* tests/Makefile.am, tests/testsuite.at: Use and distribute.
2005-04-04 17:09:29 +00:00
Gary V. Vaughan
6cd7ea085f * libtoolize.m4sh (func_serial_update): Replace missing
destination serial calculation line, presumably lost due to a bad
merge.
2005-04-04 14:03:25 +00:00
Gary V. Vaughan
3f1d9569a7 * libltdl/loaders/Makefile.am: Removed actually. 2005-04-04 12:55:29 +00:00
Gary V. Vaughan
0aa2e304c6 Getting the value of ltdldatafiles from a submake was not
portable, and had problems with GNU make-3.80 at least.  This
changeset pulls the installation rules for libtoolize's copy of
the libltdl sources out of libltdl/Makefile.am so that
ltdldatafiles is defined in the same Makefile that uses it.  Also,
this makes a start at cleaning up libltdl/Makefile.am so that it
is useful in a package that uses `libtoolize --ltdl':

* libltdl/loaders/Makefile.am: Removed entirely.
* libltdl/Makefile.am (dlopen.la, dld_link.la, dyld.la)
(load_add_on.la, loadlibrary.la, shl_load.la): All built from here
now that the loaders submake has gone.
(show-ltdldatafiles): Removed.  No longer required.
(ltdldatadir, ltdldatafiles, install-local): Moved from here...
* Makefile.am (ltdldatadir, ltdldatafiles, install-local): ..to
here.
(libtoolize): Substitute $(ltdldatafiles) directly without calling
make to get the value from libltdl/Makefile.
2005-04-04 12:12:25 +00:00
Gary V. Vaughan
e083314267 * Makefile.am (libtoolize): Substitute $(nobase_pkgvdata_DATA).
pkgvmacro_DATA is no longer set in the makefile.
* libtoolize.m4sh (func_massage_pkgvmacro_DATA): Use it and, for
consistency, renamed from this...
(func_massage_nobase_pkgvdata_DATA): ...to this.  Adjust all
callers.
2005-04-01 15:03:23 +00:00
Gary V. Vaughan
64d4932b7d Fix problems with serial comparison sed scripts, and factor out
common code from similar serial comparison functions:

* libtoolize.m4sh (func_keyword_update): Common code factored out
of func_ltmain_update and func_config_update.
(func_ltmain_update, func_config_update): Adjust, and fix sed
expressions to not use unportable ? modifier.
(func_install_update): New serial number based file updater keyed
off 'scriptversion' variable in install-sh.  Adjust all callers.
2005-04-01 12:27:56 +00:00
Gary V. Vaughan
86a2d89ea5 Most of the hair introduced ostensibly to enable testing of
uninstalled libtoolize isn't necessary if we allow overriding of
the libtool master copy directory:

* configure.ac (pkvmacrodir): No need to substitute this.
* Makefile.am (edit): No need to substitute pkgvmacrodir.
(dist_pkgvdata_DATA): Use nobase_ prefix so that these files are
installed to $(pkgvdatadir)/config.
(pkgvmacro_DATA): Renamed to...
(nobase_pkgvdata_DATA): ...this, so that files are installed to
$(pkgvdatadir)/m4.
(install-data-hook): Adjust.
* libtoolize.m4sh: Remove -I processing.
(func_filename_path_search): No longer required without -I.
Adjust all callers.
(pkgvltdldirs, pkgvmacrodirs): Deleted.
(pkgvdatadir): Allow overriding from the environment so that we
can write tests for uninstalled libtoolize.
(func_serial_update, func_ltmain_update, func_config_update):
Rename srcdirs parameter to srcdir, and don't call the path_search
function anymore.  Adjust all callers.
(--install): Don't blindly copy all config files.
2005-04-01 12:23:55 +00:00
Mike Stump
d92270911a * m4/libtool.m4 (LT_CMD_MAX_LEN) [ netbsd, freebsd, openbsd,
darwin, dragonfly]: Use 3/4 of argmax, instead of 1/4.
2005-04-01 09:27:17 +00:00
Ralf Wildenhues
8637ab4420 * m4/libtool.m4 (_LT_LANG_GCJ_CONFIG, _LT_LANG_RC_CONFIG):
Set $cc_basename.
2005-03-28 09:32:59 +00:00
Ralf Wildenhues
9aeeec04dc * HACKING: echo vs $ECHO. 2005-03-28 09:20:53 +00:00
Ralf Wildenhues
82c1a1c274 * doc/libtool.texi: Minor formatting cleanups. 2005-03-28 09:15:09 +00:00
Gary V. Vaughan
073c1cef5a * libtoolize.m4sh: Propogate --debug flag to sub-libtoolizes. 2005-03-24 13:19:02 +00:00
Gary V. Vaughan
b8ffb80224 * libtoolize.m4sh: Fix a typo, s/pkgvltdldirs/pkgvdatadirs/.
When using -I to test an uninstalled libtoolize, we need to add
the config subdirectory to the search path so that ltmain.sh can
be found in the source tree.
2005-03-24 13:15:54 +00:00
Gary V. Vaughan
7d7dd1b66f * libtoolize.m4sh (func_copy_some_files): IFS needs to be set to
path delimiter for all inner loop iterations.
Once a matching file has been copied, no need to keep searching
the path for another -- move on to the next file!
2005-03-24 13:05:03 +00:00
Gary V. Vaughan
91768e82cc * libtoolize.m4sh: For verbose mode, explain why macro files are
not installed without an AC_CONFIG_MACRO_DIR declaration.
2005-03-24 13:02:04 +00:00
Gary V. Vaughan
53ee133dbd As a prerequisite for being able to test an uninstalled libtoolize
for copying files correctly from the source tree, we must know
exactly which files should be copied by the --ltdl option to avoid
accidentally picking up compilation objects and other noise when
$builddir == $srcdir:

* libltdl/loaders/Makefile.am (ltdldatadir, ltdldatafiles)
(install-data-local): Removed...
* libltdl/Makefile.am (ltdldatafiles): ...and consolidated here.
(show-ltdldatafiles): New rule...
* Makefile.am (ltdldatafiles, libtoolize): ...used to substitute
exactly which files are installed by libtoolize --ltdl.
(edit): Move pkgvmacro_DATA substitution expression...
(libtoolize): ...to here.
* libtoolize.m4sh: Use func_copy_some_files() instead of
func_copy_all_from_path() to copy the --ltdl option installed
files.
(pkgvltdldirs): New path variable to search for	files installed by
--ltdl option.
(func_massage_pkgvltdl_files): New function to calculate the list
of ltdl installation files.
2005-03-24 11:38:25 +00:00
Ralf Wildenhues
1652028e3b * m4/libtool.m4, m4/ltdl.m4: Indentation and quoting cleanup. 2005-03-22 16:55:14 +00:00
Ralf Wildenhues
dcfa05980f * m4/libtool.m4 (_LT_LINKER_SHLIBS) [solaris]: Use ${wlarc}
and set to empty when using $LD for linking.  Fixes regression
introduced in 2004-11-17.
Reported by Ralf Menzel <menzel@ls6.cs.uni-dortmund.de> and
Пухальский Юрий Андреевич <pooh@cryptopro.ru>.
2005-03-22 07:39:44 +00:00
Ralf Wildenhues
2803fc9eeb * m4/libtool.m4 (_LT_SETUP, _LT_LANG_CXX_CONFIG, * _LT_LANG_F77_CONFIG):
For matching compiler names: Pick only first word, allow leading white
space..
* tests/sh.test: ..and test for missing `*' at end of patterns.
2005-03-21 17:59:39 +00:00
Ralf Wildenhues
56e58cf3af * TODO: Update. 2005-03-21 08:02:55 +00:00
Peter Ekberg
7d29c2d785 * m4/libtool.m4 (_LT_LINKER_SHLIBS) [ irix5, irix6, nonstopux ]:
Test if it is possible to use the -exports_file linker option on
irix with gcc, as the gcc specs file may include a -hidden_symbol
option that is clashing with the -exports_file option.
See this gcc bugzilla entry for further details:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15288
* THANKS: Update.
2005-03-20 07:15:21 +00:00
Ralf Wildenhues
327c658555 Update .cvsignore files. 2005-03-19 20:09:36 +00:00
Ralf Wildenhues
5e8b6a4246 * tests/demo-nopic.test: Enhance status output
noted by Tom Burger <tvburger@few.vu.nl>.
2005-03-19 19:53:49 +00:00
Ralf Wildenhues
bc01d9dafa * config/ltmain.m4sh, tests/defs.m4sh: Typos. 2005-03-18 15:57:17 +00:00
Peter O'Gorman
30e36fa5a9 * m4/libtool.m4: The compiler can be a program name with args, so
always check cc_basename against compiler name and a wildcard.
Also, drop unnecessary quotes in `case' argument.
2005-03-18 15:32:14 +00:00
Ralf Wildenhues
da1641c30a * Makefile.am: tests/defs.in depends on config/general.m4sh. 2005-03-16 17:43:51 +00:00
Ralf Wildenhues
b4501c381d * config/general.m4sh: unconditionally set IFS, and set it
to the one true right sequence: space, tab, newline.
* m4/libtool.m4: remove IFS setting and as_* namespace infringement.
2005-03-16 17:27:35 +00:00
Ralf Wildenhues
dd9a6330c7 * m4/libtool.m4 (_LT_CONFIG): Reset IFS to fix failure with ash. 2005-03-16 10:07:36 +00:00
Ralf Wildenhues
6c7ad0c8a9 * configure.ac, libltdl/configure.ac: s/##/dnl/ for comments
that are meaningless in configure.
Reported by Alexandre Duret-Lutz <adl@src.lip6.fr>.
2005-03-16 10:04:52 +00:00
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